The equation can be written in standard linear form as . What is ?
Opening subject page...
Loading your content
Differential Equations Quiz
Practice Identifying Linear First Order Odes in Differential Equations with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
Question 1 / 19
0 of 19 answered
The equation xdxdy+3xy=sin(x) can be written in standard linear form as dxdy+P(x)y=Q(x). What is P(x)?
This quiz focuses on Identifying Linear First Order Odes, giving you a quick way to practice the rules, question types, and explanations that matter most for Differential Equations.
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
The equation xdxdy+3xy=sin(x) can be written in standard linear form as dxdy+P(x)y=Q(x). What is P(x)?
Explanation: To convert to standard form, divide the entire equation by x: dxdy+x3xy=xsin(x), which simplifies to dxdy+3y=xsin(x). Therefore P(x)=3 for x=0. The equation is undefined at x=0 because we cannot divide by zero. Choice A incorrectly keeps the x factor. Choice C incorrectly involves sin(x) in the denominator. Choice D incorrectly suggests the equation behaves differently for positive versus negative x.
Three of the following equations are linear, while one is not. Which equation is nonlinear?
Explanation: A first-order ODE is linear if it can be written as a1(x)y′+a0(x)y=b(x). A. This equation is already in the standard linear form for r(θ). B. Dividing by dx gives xdxdy=x3+2y. Rearranging gives xdxdy−2y=x3, which is a linear equation. C. Rearranging gives y′−x+11y=1, which is a linear equation. D. The term (1+y2) multiplies the derivative dxdy. Since this coefficient depends on the dependent variable y, the equation is nonlinear. Linear equations require the coefficients of y and its derivatives to be functions of the independent variable only.
Consider the differential equation dxdy+xy=(k2−4)ln(y). For which set of real values of the parameter k is this equation linear?
Explanation: A first-order differential equation is linear if it can be expressed in the form dxdy+p(x)y=q(x). The given equation is dxdy+x1y=(k2−4)ln(y). The term (k2−4)ln(y) on the right-hand side makes the equation nonlinear because the dependent variable y appears inside a logarithmic function. For the equation to be linear, any such nonlinear term in y must vanish. This requires its coefficient to be zero. Therefore, we must have k2−4=0. Solving for k gives k2=4, which yields k=2 and k=−2. For these values of k, the equation becomes dxdy+xy=0, which is a linear homogeneous equation.
Which one of the following first-order differential equations is linear?
Explanation: A first-order ODE is linear if it can be written as a1(x)y′+a0(x)y=b(x). A. Rearranging gives (x+y)dxdy=x−y. The coefficient of dxdy is (x+y), which depends on y. Thus, it is nonlinear. B. The equation is sin(x)dxdy+(cosx)y=tan(x). This is in the linear form with a1(x)=sin(x), a0(x)=cos(x), and b(x)=tan(x). Note that the left side is the derivative of (ysinx). C. The term y makes the equation nonlinear as the dependent variable y is raised to the power of 1/2. This is a Bernoulli equation. D. This equation is nonlinear in y. However, if we make the substitution u=ey, then dxdu=eydxdy. The equation becomes dxdu+ux=x2, which is linear in u. But the original equation is nonlinear with respect to y.
A general first-order differential equation can be written as M(x,y)dx+N(x,y)dy=0. The equation is linear in y if it can be rearranged into the form y′+p(x)y=q(x). Which condition on M and N is sufficient to guarantee that the equation is linear in y?
Explanation: Let's analyze the condition in each option. A. If M(x,y)=M(x) and N(x,y)=N(y), we have M(x)dx+N(y)dy=0. This gives dxdy=−N(y)M(x), which is a separable equation. It is linear only if N(y) is a constant and M(x) is a linear function of y, which is not guaranteed. B. This is the condition for an exact equation, which is not equivalent to linearity. For example, (2xy)dx+(x2−y2)dy=0 is exact but not linear. C. If N(x,y)=N(x) and M(x,y)=f(x)y+g(x), the equation becomes (f(x)y+g(x))dx+N(x)dy=0. This can be written as N(x)dxdy+f(x)y+g(x)=0, or N(x)dxdy+f(x)y=−g(x). Assuming N(x)=0, we can divide by it to get dxdy+N(x)f(x)y=−N(x)g(x), which is the standard form of a linear equation. This condition is sufficient. D. If M=a(x)y+b(x) and N=c(x)y+d(x), the equation is (a(x)y+b(x))dx+(c(x)y+d(x))dy=0. This gives (c(x)y+d(x))dxdy=−(a(x)y+b(x)). The coefficient of dxdy depends on y, so the equation is generally not linear unless c(x)=0.
A tank initially contains 100 liters of pure water. A salt solution with a concentration of C(t)=2e−t/10 kg/L flows into the tank at a rate of 5 L/min. The mixture is kept uniform by stirring and flows out at the same rate. Let A(t) be the amount of salt in the tank at time t. The differential equation for A(t) is derived from the principle rate of change = rate in - rate out. Which statement correctly describes the resulting differential equation?
Explanation: Let's set up the differential equation. The rate of change of salt is dtdA. The rate of salt flowing in is (concentration in) × (flow rate in) = (2e−t/10 kg/L)×(5 L/min)=10e−t/10 kg/min. The volume of the tank is constant at 100 L because the inflow and outflow rates are equal. The concentration of salt in the tank at time t is 100A(t) kg/L. The rate of salt flowing out is (concentration in tank) × (flow rate out) = (100A(t) kg/L)×(5 L/min)=20A(t) kg/min. Therefore, the differential equation is dtdA=10e−t/10−20A. To classify this equation, we rearrange it: dtdA+201A=10e−t/10. This is in the standard form for a linear first-order ODE, dtdA+p(t)A=q(t), with p(t)=1/20 and q(t)=10e−t/10. The fact that q(t) is a function of t does not make the equation nonlinear. Thus, the equation is linear.
Consider the differential equation x2y′+xy=ln(x) for x>0. Which of the following statements provides the most precise classification of this equation?
Explanation: First, let's classify the equation based on linearity. We can divide by x2 to put it in standard form: y′+x1y=x2ln(x). This matches the form y′+p(x)y=q(x) with p(x)=1/x and q(x)=ln(x)/x2. Since it fits this form, the equation is linear. Because the term q(x) is not identically zero, the linear equation is non-homogeneous. So, statement A is correct. Statement B is incorrect because the equation is non-homogeneous. For statement C, we check if it is homogeneous-in-degree. The equation y′=x2ln(x)−xy=x2ln(x)−xy is not of the form f(y/x), so it is not homogeneous-in-degree. For statement D, we check for exactness. In the form M(x,y)dx+N(x,y)dy=0, the equation is (xy−ln(x))dx+x2dy=0. Here, M=xy−ln(x) and N=x2. We compute the partial derivatives: ∂y∂M=x and ∂x∂N=2x. Since ∂y∂M=∂x∂N, the equation is not exact. Thus, A is the only correct and precise classification.
A function y(t) is defined for t>0 by the integral equation y(t)=2+∫1tτ2τ−y(τ)dτ. By differentiating the integral equation with respect to t, one can obtain a differential equation for y(t). Which statement correctly classifies the resulting differential equation?
Explanation: To find the differential equation, we differentiate the given integral equation with respect to t. The derivative of the constant 2 is 0. By the Fundamental Theorem of Calculus, Part 1, the derivative of the integral is the integrand evaluated at t. So, dtdy=dtd(2+∫1tτ2τ−y(τ)dτ)=0+t2t−y(t). The resulting differential equation is dtdy=t2t−t2y(t), which simplifies to dtdy=t1−t2y(t). To check for linearity, we rearrange it into the standard form dtdy+p(t)y=q(t). This gives dtdy+t21y=t1. This is a first-order linear differential equation with p(t)=1/t2 and q(t)=1/t. Since q(t) is not identically zero, the equation is non-homogeneous. Therefore, it is a first-order linear non-homogeneous equation.
A first-order differential equation y′=F(x,y) is linear if and only if the function F(x,y) is a linear function of y for any fixed x. This is equivalent to the condition that ∂y2∂2F=0 for all relevant x and y. For which of the following functions F(x,y) is the equation y′=F(x,y) linear?
Explanation: We apply the test ∂y2∂2F=0 to each function. A. For F(x,y)=x2y−1, ∂y∂F=−x2y−2 and ∂y2∂2F=2x2y−3=0. This is nonlinear. B. For F(x,y)=xsin(y), ∂y∂F=xcos(y) and ∂y2∂2F=−xsin(y)=0. This is nonlinear. C. For F(x,y)=ysin(x)+x2, ∂y∂F=sin(x) and ∂y2∂2F=0. Since the second partial derivative with respect to y is zero, the equation is linear. The equation can be written as y′−(sinx)y=x2. D. For F(x,y)=y2cos(x), ∂y∂F=2ycos(x) and ∂y2∂2F=2cos(x)=0. This is nonlinear.
Which of the following first-order differential equations is linear?
Explanation: A first-order differential equation is linear if it can be written in the form dxdy+p(x)y=q(x). Let's analyze each option. A. dxdy+yx=cos(x) is nonlinear because the dependent variable y appears in the denominator. B. dxdy+y=x2 is nonlinear because y appears under a square root, which is equivalent to a power of 1/2. C. dxdy+yln(x)=yln(2) can be rearranged by moving the term on the right to the left side: dxdy+yln(x)−yln(2)=0. Factoring out y gives dxdy+(ln(x)−ln(2))y=0. This is in the standard linear form with p(x)=ln(x)−ln(2) and q(x)=0. D. dxdy+ysin(x)=sin(y) is nonlinear because of the sin(y) term. The dependent variable y must appear linearly, not as the argument of a nonlinear function like sine.
Consider the differential equation dxdy=x+cos(y)1. Which of the following statements is a correct classification of this equation?
Explanation: First, let's analyze the equation with y as the dependent variable, y(x). We can write it as (x+cos(y))dxdy=1. The coefficient of the derivative, (x+cos(y)), depends on y. Therefore, the equation is nonlinear in y(x). Next, let's consider x as the dependent variable, x(y). We can invert the derivative: dydx=x+cos(y). We can rearrange this to dydx−x=cos(y). This is in the standard linear form dydx+p(y)x=q(y), with p(y)=−1 and q(y)=cos(y). Thus, the equation is linear in x as a function of y. For exactness, we write the equation as 1dx−(x+cos(y))dy=0. Here M=1 and N=−(x+cos(y)). We check ∂y∂M=0 and ∂x∂N=−1. Since they are not equal, the equation is not exact.
A first-order ordinary differential equation for y(x) is linear if it can be expressed in the form a1(x)dxdy+a0(x)y=b(x). Which of the following equations can not be written in this form?
Explanation: We need to check if each equation can be arranged into the linear form a1(x)y′+a0(x)y=b(x). A. dxdy−y=xy can be rearranged to dxdy−y−xy=0, which is dxdy−(1+x)y=0. This is linear. B. y=x(dxdy−xcosx) expands to y=xdxdy−x2cosx. Rearranging gives xdxdy−y=x2cosx. This is linear. C. dxdy=(ytanx)+ex can be rearranged to dxdy−(tanx)y=ex. This is linear. D. (dxdy)3=x3(dxdy−y) expands to (dxdy)3=x3dxdy−x3y. Rearranging gives (dxdy)3−x3dxdy+x3y=0. This equation is nonlinear because the derivative dxdy is raised to the third power.
Consider the differential equation dxdy+P(x)y=Q(x)y2+R(x). Under which condition is this equation linear in y?
Explanation: A first-order linear ODE has the standard form dxdy+P(x)y=Q(x) where the dependent variable y appears only to the first power and its coefficient is 1. In the given equation, the term Q(x)y2 makes it nonlinear unless Q(x)=0, which eliminates the quadratic term entirely. Choice A is incorrect because continuity conditions don't affect linearity. Choice C is wrong because even if P(x) is constant, the y2 term still makes it nonlinear. Choice D is incorrect because setting R(x)=0 doesn't eliminate the problematic Q(x)y2 term.
Consider the equation dxdy+x−1y=(x−1)2y2. For what values of the initial condition y(2)=c does this reduce to a linear differential equation?
Explanation: When you encounter a differential equation that appears nonlinear, look for special conditions that might eliminate the nonlinear terms. This equation has the form dxdy+P(x)y=Q(x)y2, which is a Bernoulli equation due to the y2 term. The key insight is that if y(x)=0 is a solution, then the nonlinear term (x−1)2y2 vanishes identically, reducing the equation to the linear form dxdy+x−1y=0. To have y(x)=0 as a solution, you need the initial condition y(2)=0, which means c=0. You can verify this: if y(x)=0 for all x, then dxdy=0, and substituting gives 0+0=0, which is satisfied. For any other initial condition c=0, the solution will be nonzero in some neighborhood of x=2, making the y2 term nonzero and keeping the equation nonlinear. Answer A is wrong because linearity absolutely depends on the solution behavior, not just the equation's form. Answer B incorrectly suggests c=±1 are special—these values don't eliminate the nonlinear term. Answer C misunderstands the issue entirely; the sign of c doesn't determine whether the equation becomes linear, and negative values don't inherently cause complex solutions. Remember: for Bernoulli equations, the trivial solution y=0 always makes the equation linear by eliminating all nonlinear terms.
Which statement best describes when the equation a(x)dxdy+b(x)y=c(x) is considered a first-order linear ODE?
Explanation: A first-order linear ODE in the form a(x)dxdy+b(x)y=c(x) requires two conditions: (1) a(x)=0 so we can divide through to get standard form dxdy+P(x)y=Q(x), and (2) the coefficients a(x), b(x), and c(x) should be continuous to ensure existence and uniqueness of solutions. Choice A omits the crucial condition a(x)=0. Choice B doesn't require continuity, which is needed for solution theory. Choice D unnecessarily restricts a(x)=1 and has incorrect requirements for c(x).
The equation dxdy+P(x)y=Q(x)yn is called a Bernoulli equation. For which value of n is this equation linear in y?
Explanation: When you encounter a Bernoulli equation, you need to identify what makes a differential equation "linear in y." A linear differential equation has the dependent variable y and its derivatives appearing only to the first power, with no products or higher powers of y. The general form dxdy+P(x)y=Q(x)yn becomes linear when the right side doesn't introduce nonlinear terms in y. This happens when n=0, making yn=y0=1. The equation then becomes dxdy+P(x)y=Q(x), which is the standard first-order linear differential equation form. Option A correctly identifies this: when n=0, the yn term becomes just a constant multiplier, leaving you with the classic linear form where y appears only to the first power. Option B is incorrect because when n=1, you get dxdy+P(x)y=Q(x)y, which rearranges to dxdy=[Q(x)−P(x)]y. This is separable, not linear in the standard sense. Option C misunderstands the substitution method. While n=−1 does allow certain substitutions, the equation dxdy+P(x)y=yQ(x) is nonlinear because of the y1 term. Option D is wrong because n=2 gives dxdy+P(x)y=Q(x)y2, which is quadratic in y, not linear. Remember: linearity means the dependent variable appears only to the first power throughout the equation.
A physicist writes the equation mdtdv+kv=F(t) to model motion with air resistance, where v is velocity, m is mass, k is the drag coefficient, and F(t) is applied force. Under what conditions is this a linear differential equation in v?
Explanation: The equation mdtdv+kv=F(t) is linear in v when it can be written in the standard form dtdv+P(t)v=Q(t). If m and k are constants with m=0, we can divide by m to get dtdv+mkv=mF(t), which is linear regardless of the specific form of F(t). Choice B incorrectly suggests that F(t) must be linear in t for the ODE to be linear in v—these are different concepts. Choice C confuses the physical validity of the drag model with mathematical linearity. Choice D is incorrect because if m and k depend on v, the equation generally becomes nonlinear.
Consider the equation (1+x2)dxdy+2xy=1+y2y. Under what transformation does this become a linear equation?
Explanation: This equation is a Bernoulli-type equation, but the right-hand side 1+y2y cannot be handled by standard linearizing transformations. Let's check each option: Choice A with v=y2 gives dxdv=2ydxdy, but substituting this doesn't eliminate the 1+y2 term. Choice B with u=1+y2 gives dxdu=1+y2ydxdy, but this creates an even more complex relationship. Choice C with w=y1 is the standard transformation for Bernoulli equations, but it doesn't address the square root term. The presence of 1+y2 makes this equation genuinely nonlinear with no elementary linearizing transformation.
The differential equation sin(x)dxdy+cos(x)y=tan(x) is linear in y. On which interval is it guaranteed to have a unique solution through any given initial point?
Explanation: To apply existence and uniqueness theorems for linear ODEs, we need the coefficient of dxdy to be nonzero so we can divide by it to get standard form dxdy+P(x)y=Q(x). Dividing by sin(x) gives dxdy+sin(x)cos(x)y=sin(x)tan(x)=cos(x)1. We need sin(x)=0 for this division. The resulting P(x)=cot(x) and Q(x)=sec(x) must be continuous on the interval. cot(x) is continuous wherever sin(x)=0, and sec(x) is continuous wherever cos(x)=0. However, the primary constraint comes from the leading coefficient sin(x). Choice A incorrectly requires both sin(x)=0 and cos(x)=0. Choice B incorrectly restricts to positive values. Choice D focuses on the wrong conditions.