Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games


Sign up

Log in

Opening subject page...

Loading your content

Practice

  • All Subjects
  • Algebra Flashcards
  • SAT Math Practice Tests
  • Math Question of the Day
  • Live Classes
  • On-Demand Courses

Varsity Tutors

  • Find a Tutor
  • Test Prep
  • Online Classes
  • K-12 Learning
  • College Search
  • VarsityTutors.com

© 2026 Varsity Tutors. All rights reserved.

← Back to quizzes

Differential Equations Quiz

Differential Equations Quiz: Identifying Linear First Order Odes

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 xdydx+3xy=sin⁡(x)x\frac{dy}{dx} + 3xy = \sin(x)xdxdy​+3xy=sin(x) can be written in standard linear form as dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)dxdy​+P(x)y=Q(x). What is P(x)P(x)P(x)?

Select an answer to continue

What this quiz covers

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.

How to use this quiz

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.

All questions

Question 1

The equation xdydx+3xy=sin⁡(x)x\frac{dy}{dx} + 3xy = \sin(x)xdxdy​+3xy=sin(x) can be written in standard linear form as dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)dxdy​+P(x)y=Q(x). What is P(x)P(x)P(x)?

  1. P(x)=3xP(x) = 3xP(x)=3x for all xxx in the domain of the differential equation
  2. P(x)=3P(x) = 3P(x)=3 for x≠0x \neq 0x=0, and the equation is undefined at x=0x = 0x=0 (correct answer)
  3. P(x)=3x2sin⁡(x)P(x) = \frac{3x^2}{\sin(x)}P(x)=sin(x)3x2​ for all xxx where sin⁡(x)≠0\sin(x) \neq 0sin(x)=0
  4. P(x)=3xP(x) = \frac{3}{x}P(x)=x3​ for x>0x > 0x>0, but the equation is nonlinear for x<0x < 0x<0

Explanation: To convert to standard form, divide the entire equation by xxx: dydx+3xyx=sin⁡(x)x\frac{dy}{dx} + \frac{3xy}{x} = \frac{\sin(x)}{x}dxdy​+x3xy​=xsin(x)​, which simplifies to dydx+3y=sin⁡(x)x\frac{dy}{dx} + 3y = \frac{\sin(x)}{x}dxdy​+3y=xsin(x)​. Therefore P(x)=3P(x) = 3P(x)=3 for x≠0x \neq 0x=0. The equation is undefined at x=0x = 0x=0 because we cannot divide by zero. Choice A incorrectly keeps the xxx factor. Choice C incorrectly involves sin⁡(x)\sin(x)sin(x) in the denominator. Choice D incorrectly suggests the equation behaves differently for positive versus negative xxx.

Question 2

Three of the following equations are linear, while one is not. Which equation is nonlinear?

  1. drdθ+rtan⁡(θ)=sec⁡(θ)\frac{dr}{d\theta} + r \tan(\theta) = \sec(\theta)dθdr​+rtan(θ)=sec(θ)
  2. xdy=(x3+2y)dxx dy = (x^3 + 2y) dxxdy=(x3+2y)dx
  3. y′=1+yx+1y' = 1 + \frac{y}{x+1}y′=1+x+1y​
  4. (1+y2)dydx+xy=ex(1+y^2) \frac{dy}{dx} + xy = e^x(1+y2)dxdy​+xy=ex (correct answer)

Explanation: A first-order ODE is linear if it can be written as a1(x)y′+a0(x)y=b(x)a_1(x)y' + a_0(x)y = b(x)a1​(x)y′+a0​(x)y=b(x). A. This equation is already in the standard linear form for r(θ)r(\theta)r(θ). B. Dividing by dxdxdx gives xdydx=x3+2yx \frac{dy}{dx} = x^3 + 2yxdxdy​=x3+2y. Rearranging gives xdydx−2y=x3x \frac{dy}{dx} - 2y = x^3xdxdy​−2y=x3, which is a linear equation. C. Rearranging gives y′−1x+1y=1y' - \frac{1}{x+1} y = 1y′−x+11​y=1, which is a linear equation. D. The term (1+y2)(1+y^2)(1+y2) multiplies the derivative dydx\frac{dy}{dx}dxdy​. Since this coefficient depends on the dependent variable yyy, the equation is nonlinear. Linear equations require the coefficients of yyy and its derivatives to be functions of the independent variable only.

Question 3

Consider the differential equation dydx+yx=(k2−4)ln⁡(y)\frac{dy}{dx} + \frac{y}{x} = (k^2-4) \ln(y)dxdy​+xy​=(k2−4)ln(y). For which set of real values of the parameter kkk is this equation linear?

  1. k = 0
  2. k = -2 or k = 2 (correct answer)
  3. k > 2 or k < -2
  4. k = 2 only

Explanation: A first-order differential equation is linear if it can be expressed in the form dydx+p(x)y=q(x)\frac{dy}{dx} + p(x)y = q(x)dxdy​+p(x)y=q(x). The given equation is dydx+1xy=(k2−4)ln⁡(y)\frac{dy}{dx} + \frac{1}{x}y = (k^2-4) \ln(y)dxdy​+x1​y=(k2−4)ln(y). The term (k2−4)ln⁡(y)(k^2-4) \ln(y)(k2−4)ln(y) on the right-hand side makes the equation nonlinear because the dependent variable yyy appears inside a logarithmic function. For the equation to be linear, any such nonlinear term in yyy must vanish. This requires its coefficient to be zero. Therefore, we must have k2−4=0k^2 - 4 = 0k2−4=0. Solving for kkk gives k2=4k^2 = 4k2=4, which yields k=2k = 2k=2 and k=−2k = -2k=−2. For these values of kkk, the equation becomes dydx+yx=0\frac{dy}{dx} + \frac{y}{x} = 0dxdy​+xy​=0, which is a linear homogeneous equation.

Question 4

Which one of the following first-order differential equations is linear?

  1. dydx=x−yx+y\frac{dy}{dx} = \frac{x-y}{x+y}dxdy​=x+yx−y​
  2. sin⁡(x)dydx+ycos⁡(x)=tan⁡(x)\sin(x) \frac{dy}{dx} + y \cos(x) = \tan(x)sin(x)dxdy​+ycos(x)=tan(x) (correct answer)
  3. dydx+xy=y\frac{dy}{dx} + x y = \sqrt{y}dxdy​+xy=y​
  4. eydydx+eyx=x2e^y \frac{dy}{dx} + e^y x = x^2eydxdy​+eyx=x2

Explanation: A first-order ODE is linear if it can be written as a1(x)y′+a0(x)y=b(x)a_1(x)y' + a_0(x)y = b(x)a1​(x)y′+a0​(x)y=b(x). A. Rearranging gives (x+y)dydx=x−y(x+y)\frac{dy}{dx} = x-y(x+y)dxdy​=x−y. The coefficient of dydx\frac{dy}{dx}dxdy​ is (x+y)(x+y)(x+y), which depends on yyy. Thus, it is nonlinear. B. The equation is sin⁡(x)dydx+(cos⁡x)y=tan⁡(x)\sin(x) \frac{dy}{dx} + (\cos x)y = \tan(x)sin(x)dxdy​+(cosx)y=tan(x). This is in the linear form with a1(x)=sin⁡(x)a_1(x) = \sin(x)a1​(x)=sin(x), a0(x)=cos⁡(x)a_0(x) = \cos(x)a0​(x)=cos(x), and b(x)=tan⁡(x)b(x) = \tan(x)b(x)=tan(x). Note that the left side is the derivative of (ysin⁡x)(y \sin x)(ysinx). C. The term y\sqrt{y}y​ makes the equation nonlinear as the dependent variable yyy is raised to the power of 1/21/21/2. This is a Bernoulli equation. D. This equation is nonlinear in yyy. However, if we make the substitution u=eyu = e^yu=ey, then dudx=eydydx\frac{du}{dx} = e^y \frac{dy}{dx}dxdu​=eydxdy​. The equation becomes dudx+ux=x2\frac{du}{dx} + ux = x^2dxdu​+ux=x2, which is linear in uuu. But the original equation is nonlinear with respect to yyy.

Question 5

A general first-order differential equation can be written as M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy = 0M(x,y)dx+N(x,y)dy=0. The equation is linear in yyy if it can be rearranged into the form y′+p(x)y=q(x)y' + p(x)y = q(x)y′+p(x)y=q(x). Which condition on MMM and NNN is sufficient to guarantee that the equation is linear in yyy?

  1. M(x,y)M(x,y)M(x,y) is a function of xxx only, and N(x,y)N(x,y)N(x,y) is a function of yyy only.
  2. ∂M∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}∂y∂M​=∂x∂N​
  3. N(x,y)N(x,y)N(x,y) is a function of xxx only, and M(x,y)M(x,y)M(x,y) is of the form f(x)y+g(x)f(x)y + g(x)f(x)y+g(x). (correct answer)
  4. M(x,y)M(x,y)M(x,y) and N(x,y)N(x,y)N(x,y) are both linear functions of yyy, i.e. M=a(x)y+b(x)M = a(x)y+b(x)M=a(x)y+b(x) and N=c(x)y+d(x)N=c(x)y+d(x)N=c(x)y+d(x).

Explanation: Let's analyze the condition in each option. A. If M(x,y)=M(x)M(x,y)=M(x)M(x,y)=M(x) and N(x,y)=N(y)N(x,y)=N(y)N(x,y)=N(y), we have M(x)dx+N(y)dy=0M(x)dx + N(y)dy = 0M(x)dx+N(y)dy=0. This gives dydx=−M(x)N(y)\frac{dy}{dx} = -\frac{M(x)}{N(y)}dxdy​=−N(y)M(x)​, which is a separable equation. It is linear only if N(y)N(y)N(y) is a constant and M(x)M(x)M(x) is a linear function of yyy, 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(2xy)dx + (x^2 - y^2)dy=0(2xy)dx+(x2−y2)dy=0 is exact but not linear. C. If N(x,y)=N(x)N(x,y)=N(x)N(x,y)=N(x) and M(x,y)=f(x)y+g(x)M(x,y)=f(x)y+g(x)M(x,y)=f(x)y+g(x), the equation becomes (f(x)y+g(x))dx+N(x)dy=0(f(x)y+g(x))dx + N(x)dy = 0(f(x)y+g(x))dx+N(x)dy=0. This can be written as N(x)dydx+f(x)y+g(x)=0N(x)\frac{dy}{dx} + f(x)y + g(x) = 0N(x)dxdy​+f(x)y+g(x)=0, or N(x)dydx+f(x)y=−g(x)N(x)\frac{dy}{dx} + f(x)y = -g(x)N(x)dxdy​+f(x)y=−g(x). Assuming N(x)≠0N(x) \neq 0N(x)=0, we can divide by it to get dydx+f(x)N(x)y=−g(x)N(x)\frac{dy}{dx} + \frac{f(x)}{N(x)}y = -\frac{g(x)}{N(x)}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)M=a(x)y+b(x)M=a(x)y+b(x) and N=c(x)y+d(x)N=c(x)y+d(x)N=c(x)y+d(x), the equation is (a(x)y+b(x))dx+(c(x)y+d(x))dy=0(a(x)y+b(x))dx + (c(x)y+d(x))dy=0(a(x)y+b(x))dx+(c(x)y+d(x))dy=0. This gives (c(x)y+d(x))dydx=−(a(x)y+b(x))(c(x)y+d(x))\frac{dy}{dx} = -(a(x)y+b(x))(c(x)y+d(x))dxdy​=−(a(x)y+b(x)). The coefficient of dydx\frac{dy}{dx}dxdy​ depends on yyy, so the equation is generally not linear unless c(x)=0c(x)=0c(x)=0.

Question 6

A tank initially contains 100 liters of pure water. A salt solution with a concentration of C(t)=2e−t/10C(t) = 2e^{-t/10}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)A(t)A(t) be the amount of salt in the tank at time ttt. The differential equation for A(t)A(t)A(t) is derived from the principle rate of change = rate in - rate out. Which statement correctly describes the resulting differential equation?

  1. The equation is dAdt=10e−t/10−A20\frac{dA}{dt} = 10e^{-t/10} - \frac{A}{20}dtdA​=10e−t/10−20A​, which is a linear equation. (correct answer)
  2. The equation is dAdt=10e−t/10−A2100\frac{dA}{dt} = 10e^{-t/10} - \frac{A^2}{100}dtdA​=10e−t/10−100A2​, which is a nonlinear equation.
  3. The equation is dAdt=2e−t/10−A100\frac{dA}{dt} = 2e^{-t/10} - \frac{A}{100}dtdA​=2e−t/10−100A​, which is a linear equation.
  4. The equation is dAdt=10e−t/10−A20\frac{dA}{dt} = 10e^{-t/10} - \frac{A}{20}dtdA​=10e−t/10−20A​, but it is nonlinear because the input concentration C(t)C(t)C(t) is not constant.

Explanation: Let's set up the differential equation. The rate of change of salt is dAdt\frac{dA}{dt}dtdA​. The rate of salt flowing in is (concentration in) × (flow rate in) = (2e−t/10 kg/L)×(5 L/min)=10e−t/10(2e^{-t/10} \text{ kg/L}) \times (5 \text{ L/min}) = 10e^{-t/10}(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 ttt is A(t)100\frac{A(t)}{100}100A(t)​ kg/L. The rate of salt flowing out is (concentration in tank) × (flow rate out) = (A(t)100 kg/L)×(5 L/min)=A(t)20(\frac{A(t)}{100} \text{ kg/L}) \times (5 \text{ L/min}) = \frac{A(t)}{20}(100A(t)​ kg/L)×(5 L/min)=20A(t)​ kg/min. Therefore, the differential equation is dAdt=10e−t/10−A20\frac{dA}{dt} = 10e^{-t/10} - \frac{A}{20}dtdA​=10e−t/10−20A​. To classify this equation, we rearrange it: dAdt+120A=10e−t/10\frac{dA}{dt} + \frac{1}{20}A = 10e^{-t/10}dtdA​+201​A=10e−t/10. This is in the standard form for a linear first-order ODE, dAdt+p(t)A=q(t)\frac{dA}{dt} + p(t)A = q(t)dtdA​+p(t)A=q(t), with p(t)=1/20p(t) = 1/20p(t)=1/20 and q(t)=10e−t/10q(t) = 10e^{-t/10}q(t)=10e−t/10. The fact that q(t)q(t)q(t) is a function of ttt does not make the equation nonlinear. Thus, the equation is linear.

Question 7

Consider the differential equation x2y′+xy=ln⁡(x)x^2 y' + xy = \ln(x)x2y′+xy=ln(x) for x>0x>0x>0. Which of the following statements provides the most precise classification of this equation?

  1. The equation is a non-homogeneous linear equation. (correct answer)
  2. The equation is a homogeneous linear equation.
  3. The equation is a homogeneous-in-degree equation.
  4. The equation is an exact equation.

Explanation: First, let's classify the equation based on linearity. We can divide by x2x^2x2 to put it in standard form: y′+1xy=ln⁡(x)x2y' + \frac{1}{x}y = \frac{\ln(x)}{x^2}y′+x1​y=x2ln(x)​. This matches the form y′+p(x)y=q(x)y' + p(x)y = q(x)y′+p(x)y=q(x) with p(x)=1/xp(x) = 1/xp(x)=1/x and q(x)=ln⁡(x)/x2q(x) = \ln(x)/x^2q(x)=ln(x)/x2. Since it fits this form, the equation is linear. Because the term q(x)q(x)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′=ln⁡(x)−xyx2=ln⁡(x)x2−yxy' = \frac{\ln(x) - xy}{x^2} = \frac{\ln(x)}{x^2} - \frac{y}{x}y′=x2ln(x)−xy​=x2ln(x)​−xy​ is not of the form f(y/x)f(y/x)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=0M(x,y)dx + N(x,y)dy = 0M(x,y)dx+N(x,y)dy=0, the equation is (xy−ln⁡(x))dx+x2dy=0(xy - \ln(x))dx + x^2 dy = 0(xy−ln(x))dx+x2dy=0. Here, M=xy−ln⁡(x)M = xy - \ln(x)M=xy−ln(x) and N=x2N = x^2N=x2. We compute the partial derivatives: ∂M∂y=x\frac{\partial M}{\partial y} = x∂y∂M​=x and ∂N∂x=2x\frac{\partial N}{\partial x} = 2x∂x∂N​=2x. Since ∂M∂y≠∂N∂x\frac{\partial M}{\partial y} \neq \frac{\partial N}{\partial x}∂y∂M​=∂x∂N​, the equation is not exact. Thus, A is the only correct and precise classification.

Question 8

A function y(t)y(t)y(t) is defined for t>0t > 0t>0 by the integral equation y(t)=2+∫1tτ−y(τ)τ2dτy(t) = 2 + \int_1^t \frac{\tau - y(\tau)}{\tau^2} d\tauy(t)=2+∫1t​τ2τ−y(τ)​dτ. By differentiating the integral equation with respect to ttt, one can obtain a differential equation for y(t)y(t)y(t). Which statement correctly classifies the resulting differential equation?

  1. It is a first-order linear homogeneous equation.
  2. It is a first-order linear non-homogeneous equation. (correct answer)
  3. It is a first-order nonlinear equation.
  4. It is a second-order linear equation.

Explanation: To find the differential equation, we differentiate the given integral equation with respect to ttt. The derivative of the constant 222 is 000. By the Fundamental Theorem of Calculus, Part 1, the derivative of the integral is the integrand evaluated at ttt. So, dydt=ddt(2+∫1tτ−y(τ)τ2dτ)=0+t−y(t)t2\frac{dy}{dt} = \frac{d}{dt} \left( 2 + \int_1^t \frac{\tau - y(\tau)}{\tau^2} d\tau \right) = 0 + \frac{t - y(t)}{t^2}dtdy​=dtd​(2+∫1t​τ2τ−y(τ)​dτ)=0+t2t−y(t)​. The resulting differential equation is dydt=tt2−y(t)t2\frac{dy}{dt} = \frac{t}{t^2} - \frac{y(t)}{t^2}dtdy​=t2t​−t2y(t)​, which simplifies to dydt=1t−y(t)t2\frac{dy}{dt} = \frac{1}{t} - \frac{y(t)}{t^2}dtdy​=t1​−t2y(t)​. To check for linearity, we rearrange it into the standard form dydt+p(t)y=q(t)\frac{dy}{dt} + p(t)y = q(t)dtdy​+p(t)y=q(t). This gives dydt+1t2y=1t\frac{dy}{dt} + \frac{1}{t^2}y = \frac{1}{t}dtdy​+t21​y=t1​. This is a first-order linear differential equation with p(t)=1/t2p(t) = 1/t^2p(t)=1/t2 and q(t)=1/tq(t) = 1/tq(t)=1/t. Since q(t)q(t)q(t) is not identically zero, the equation is non-homogeneous. Therefore, it is a first-order linear non-homogeneous equation.

Question 9

A first-order differential equation y′=F(x,y)y' = F(x,y)y′=F(x,y) is linear if and only if the function F(x,y)F(x,y)F(x,y) is a linear function of yyy for any fixed xxx. This is equivalent to the condition that ∂2F∂y2=0\frac{\partial^2 F}{\partial y^2} = 0∂y2∂2F​=0 for all relevant xxx and yyy. For which of the following functions F(x,y)F(x,y)F(x,y) is the equation y′=F(x,y)y' = F(x,y)y′=F(x,y) linear?

  1. F(x,y)=x2yF(x,y) = \frac{x^2}{y}F(x,y)=yx2​
  2. F(x,y)=xsin⁡(y)F(x,y) = x \sin(y)F(x,y)=xsin(y)
  3. F(x,y)=ysin⁡(x)+x2F(x,y) = y \sin(x) + x^2F(x,y)=ysin(x)+x2 (correct answer)
  4. F(x,y)=y2cos⁡(x)F(x,y) = y^2 \cos(x)F(x,y)=y2cos(x)

Explanation: We apply the test ∂2F∂y2=0\frac{\partial^2 F}{\partial y^2} = 0∂y2∂2F​=0 to each function. A. For F(x,y)=x2y−1F(x,y) = x^2 y^{-1}F(x,y)=x2y−1, ∂F∂y=−x2y−2\frac{\partial F}{\partial y} = -x^2 y^{-2}∂y∂F​=−x2y−2 and ∂2F∂y2=2x2y−3≠0\frac{\partial^2 F}{\partial y^2} = 2x^2 y^{-3} \neq 0∂y2∂2F​=2x2y−3=0. This is nonlinear. B. For F(x,y)=xsin⁡(y)F(x,y) = x \sin(y)F(x,y)=xsin(y), ∂F∂y=xcos⁡(y)\frac{\partial F}{\partial y} = x \cos(y)∂y∂F​=xcos(y) and ∂2F∂y2=−xsin⁡(y)≠0\frac{\partial^2 F}{\partial y^2} = -x \sin(y) \neq 0∂y2∂2F​=−xsin(y)=0. This is nonlinear. C. For F(x,y)=ysin⁡(x)+x2F(x,y) = y \sin(x) + x^2F(x,y)=ysin(x)+x2, ∂F∂y=sin⁡(x)\frac{\partial F}{\partial y} = \sin(x)∂y∂F​=sin(x) and ∂2F∂y2=0\frac{\partial^2 F}{\partial y^2} = 0∂y2∂2F​=0. Since the second partial derivative with respect to yyy is zero, the equation is linear. The equation can be written as y′−(sin⁡x)y=x2y' - (\sin x)y = x^2y′−(sinx)y=x2. D. For F(x,y)=y2cos⁡(x)F(x,y) = y^2 \cos(x)F(x,y)=y2cos(x), ∂F∂y=2ycos⁡(x)\frac{\partial F}{\partial y} = 2y \cos(x)∂y∂F​=2ycos(x) and ∂2F∂y2=2cos⁡(x)≠0\frac{\partial^2 F}{\partial y^2} = 2 \cos(x) \neq 0∂y2∂2F​=2cos(x)=0. This is nonlinear.

Question 10

Which of the following first-order differential equations is linear?

  1. dydx+xy=cos⁡(x)\frac{dy}{dx} + \frac{x}{y} = \cos(x)dxdy​+yx​=cos(x)
  2. dydx+y=x2\frac{dy}{dx} + \sqrt{y} = x^2dxdy​+y​=x2
  3. dydx+yln⁡(x)=yln⁡(2)\frac{dy}{dx} + y \ln(x) = y \ln(2)dxdy​+yln(x)=yln(2) (correct answer)
  4. dydx+ysin⁡(x)=sin⁡(y)\frac{dy}{dx} + y\sin(x) = \sin(y)dxdy​+ysin(x)=sin(y)

Explanation: A first-order differential equation is linear if it can be written in the form dydx+p(x)y=q(x)\frac{dy}{dx} + p(x)y = q(x)dxdy​+p(x)y=q(x). Let's analyze each option. A. dydx+xy=cos⁡(x)\frac{dy}{dx} + \frac{x}{y} = \cos(x)dxdy​+yx​=cos(x) is nonlinear because the dependent variable yyy appears in the denominator. B. dydx+y=x2\frac{dy}{dx} + \sqrt{y} = x^2dxdy​+y​=x2 is nonlinear because yyy appears under a square root, which is equivalent to a power of 1/21/21/2. C. dydx+yln⁡(x)=yln⁡(2)\frac{dy}{dx} + y \ln(x) = y \ln(2)dxdy​+yln(x)=yln(2) can be rearranged by moving the term on the right to the left side: dydx+yln⁡(x)−yln⁡(2)=0\frac{dy}{dx} + y \ln(x) - y \ln(2) = 0dxdy​+yln(x)−yln(2)=0. Factoring out yyy gives dydx+(ln⁡(x)−ln⁡(2))y=0\frac{dy}{dx} + (\ln(x) - \ln(2))y = 0dxdy​+(ln(x)−ln(2))y=0. This is in the standard linear form with p(x)=ln⁡(x)−ln⁡(2)p(x) = \ln(x) - \ln(2)p(x)=ln(x)−ln(2) and q(x)=0q(x) = 0q(x)=0. D. dydx+ysin⁡(x)=sin⁡(y)\frac{dy}{dx} + y\sin(x) = \sin(y)dxdy​+ysin(x)=sin(y) is nonlinear because of the sin⁡(y)\sin(y)sin(y) term. The dependent variable yyy must appear linearly, not as the argument of a nonlinear function like sine.

Question 11

Consider the differential equation dydx=1x+cos⁡(y)\frac{dy}{dx} = \frac{1}{x + \cos(y)}dxdy​=x+cos(y)1​. Which of the following statements is a correct classification of this equation?

  1. The equation is linear in yyy as a function of xxx.
  2. The equation is linear in xxx as a function of yyy. (correct answer)
  3. The equation is an exact equation.
  4. The equation is nonlinear with respect to both y(x)y(x)y(x) and x(y)x(y)x(y).

Explanation: First, let's analyze the equation with yyy as the dependent variable, y(x)y(x)y(x). We can write it as (x+cos⁡(y))dydx=1(x + \cos(y))\frac{dy}{dx} = 1(x+cos(y))dxdy​=1. The coefficient of the derivative, (x+cos⁡(y))(x + \cos(y))(x+cos(y)), depends on yyy. Therefore, the equation is nonlinear in y(x)y(x)y(x). Next, let's consider xxx as the dependent variable, x(y)x(y)x(y). We can invert the derivative: dxdy=x+cos⁡(y)\frac{dx}{dy} = x + \cos(y)dydx​=x+cos(y). We can rearrange this to dxdy−x=cos⁡(y)\frac{dx}{dy} - x = \cos(y)dydx​−x=cos(y). This is in the standard linear form dxdy+p(y)x=q(y)\frac{dx}{dy} + p(y)x = q(y)dydx​+p(y)x=q(y), with p(y)=−1p(y) = -1p(y)=−1 and q(y)=cos⁡(y)q(y) = \cos(y)q(y)=cos(y). Thus, the equation is linear in xxx as a function of yyy. For exactness, we write the equation as 1dx−(x+cos⁡(y))dy=01 dx - (x+\cos(y))dy = 01dx−(x+cos(y))dy=0. Here M=1M=1M=1 and N=−(x+cos⁡(y))N=-(x+\cos(y))N=−(x+cos(y)). We check ∂M∂y=0\frac{\partial M}{\partial y} = 0∂y∂M​=0 and ∂N∂x=−1\frac{\partial N}{\partial x} = -1∂x∂N​=−1. Since they are not equal, the equation is not exact.

Question 12

A first-order ordinary differential equation for y(x)y(x)y(x) is linear if it can be expressed in the form a1(x)dydx+a0(x)y=b(x)a_1(x) \frac{dy}{dx} + a_0(x) y = b(x)a1​(x)dxdy​+a0​(x)y=b(x). Which of the following equations can not be written in this form?

  1. dydx−y=xy\frac{dy}{dx} - y = xydxdy​−y=xy
  2. y=x(dydx−xcos⁡x)y = x(\frac{dy}{dx} - x \cos x)y=x(dxdy​−xcosx)
  3. dydx=(ytan⁡x)+ex\frac{dy}{dx} = (y \tan x) + e^xdxdy​=(ytanx)+ex
  4. (dydx)3=x3(dydx−y)(\frac{dy}{dx})^3 = x^3 (\frac{dy}{dx} - y)(dxdy​)3=x3(dxdy​−y) (correct answer)

Explanation: We need to check if each equation can be arranged into the linear form a1(x)y′+a0(x)y=b(x)a_1(x) y' + a_0(x) y = b(x)a1​(x)y′+a0​(x)y=b(x). A. dydx−y=xy\frac{dy}{dx} - y = xydxdy​−y=xy can be rearranged to dydx−y−xy=0\frac{dy}{dx} - y - xy = 0dxdy​−y−xy=0, which is dydx−(1+x)y=0\frac{dy}{dx} - (1+x)y = 0dxdy​−(1+x)y=0. This is linear. B. y=x(dydx−xcos⁡x)y = x(\frac{dy}{dx} - x \cos x)y=x(dxdy​−xcosx) expands to y=xdydx−x2cos⁡xy = x \frac{dy}{dx} - x^2 \cos xy=xdxdy​−x2cosx. Rearranging gives xdydx−y=x2cos⁡xx \frac{dy}{dx} - y = x^2 \cos xxdxdy​−y=x2cosx. This is linear. C. dydx=(ytan⁡x)+ex\frac{dy}{dx} = (y \tan x) + e^xdxdy​=(ytanx)+ex can be rearranged to dydx−(tan⁡x)y=ex\frac{dy}{dx} - (\tan x)y = e^xdxdy​−(tanx)y=ex. This is linear. D. (dydx)3=x3(dydx−y)(\frac{dy}{dx})^3 = x^3 (\frac{dy}{dx} - y)(dxdy​)3=x3(dxdy​−y) expands to (dydx)3=x3dydx−x3y(\frac{dy}{dx})^3 = x^3 \frac{dy}{dx} - x^3 y(dxdy​)3=x3dxdy​−x3y. Rearranging gives (dydx)3−x3dydx+x3y=0(\frac{dy}{dx})^3 - x^3 \frac{dy}{dx} + x^3 y = 0(dxdy​)3−x3dxdy​+x3y=0. This equation is nonlinear because the derivative dydx\frac{dy}{dx}dxdy​ is raised to the third power.

Question 13

Consider the differential equation dydx+P(x)y=Q(x)y2+R(x)\frac{dy}{dx} + P(x)y = Q(x)y^2 + R(x)dxdy​+P(x)y=Q(x)y2+R(x). Under which condition is this equation linear in yyy?

  1. When P(x)P(x)P(x) and R(x)R(x)R(x) are both continuous functions on the interval of interest
  2. When Q(x)=0Q(x) = 0Q(x)=0 for all xxx in the domain of the equation (correct answer)
  3. When P(x)P(x)P(x) is a constant function and Q(x)Q(x)Q(x) is differentiable on the given interval
  4. When R(x)=0R(x) = 0R(x)=0 for all xxx in the domain and Q(x)Q(x)Q(x) is any continuous function

Explanation: A first-order linear ODE has the standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)dxdy​+P(x)y=Q(x) where the dependent variable yyy appears only to the first power and its coefficient is 1. In the given equation, the term Q(x)y2Q(x)y^2Q(x)y2 makes it nonlinear unless Q(x)=0Q(x) = 0Q(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)P(x)P(x) is constant, the y2y^2y2 term still makes it nonlinear. Choice D is incorrect because setting R(x)=0R(x) = 0R(x)=0 doesn't eliminate the problematic Q(x)y2Q(x)y^2Q(x)y2 term.

Question 14

Consider the equation dydx+yx−1=y2(x−1)2\frac{dy}{dx} + \frac{y}{x-1} = \frac{y^2}{(x-1)^2}dxdy​+x−1y​=(x−1)2y2​. For what values of the initial condition y(2)=cy(2) = cy(2)=c does this reduce to a linear differential equation?

  1. For any real value of ccc, since linearity depends only on the form of the equation
  2. Only when c=±1c = \pm 1c=±1, which are the critical values for this type of equation
  3. Only when c>0c > 0c>0, since negative initial values lead to complex-valued solutions
  4. Only when c=0c = 0c=0, which makes the nonlinear term vanish throughout the solution (correct answer)

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 dydx+P(x)y=Q(x)y2\frac{dy}{dx} + P(x)y = Q(x)y^2dxdy​+P(x)y=Q(x)y2, which is a Bernoulli equation due to the y2y^2y2 term. The key insight is that if y(x)=0y(x) = 0y(x)=0 is a solution, then the nonlinear term y2(x−1)2\frac{y^2}{(x-1)^2}(x−1)2y2​ vanishes identically, reducing the equation to the linear form dydx+yx−1=0\frac{dy}{dx} + \frac{y}{x-1} = 0dxdy​+x−1y​=0. To have y(x)=0y(x) = 0y(x)=0 as a solution, you need the initial condition y(2)=0y(2) = 0y(2)=0, which means c=0c = 0c=0. You can verify this: if y(x)=0y(x) = 0y(x)=0 for all xxx, then dydx=0\frac{dy}{dx} = 0dxdy​=0, and substituting gives 0+0=00 + 0 = 00+0=0, which is satisfied. For any other initial condition c≠0c \neq 0c=0, the solution will be nonzero in some neighborhood of x=2x = 2x=2, making the y2y^2y2 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=±1c = \pm 1c=±1 are special—these values don't eliminate the nonlinear term. Answer C misunderstands the issue entirely; the sign of ccc 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=0y = 0y=0 always makes the equation linear by eliminating all nonlinear terms.

Question 15

Which statement best describes when the equation a(x)dydx+b(x)y=c(x)a(x)\frac{dy}{dx} + b(x)y = c(x)a(x)dxdy​+b(x)y=c(x) is considered a first-order linear ODE?

  1. When a(x)a(x)a(x), b(x)b(x)b(x), and c(x)c(x)c(x) are all continuous functions on the interval of interest
  2. When a(x)≠0a(x) \neq 0a(x)=0 on the interval and a(x)a(x)a(x), b(x)b(x)b(x), c(x)c(x)c(x) can be any functions
  3. When a(x)a(x)a(x), b(x)b(x)b(x), and c(x)c(x)c(x) are continuous and a(x)≠0a(x) \neq 0a(x)=0 on the given interval (correct answer)
  4. When a(x)=1a(x) = 1a(x)=1, b(x)b(x)b(x) is continuous, and c(x)c(x)c(x) is any integrable function on the interval

Explanation: A first-order linear ODE in the form a(x)dydx+b(x)y=c(x)a(x)\frac{dy}{dx} + b(x)y = c(x)a(x)dxdy​+b(x)y=c(x) requires two conditions: (1) a(x)≠0a(x) \neq 0a(x)=0 so we can divide through to get standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)dxdy​+P(x)y=Q(x), and (2) the coefficients a(x)a(x)a(x), b(x)b(x)b(x), and c(x)c(x)c(x) should be continuous to ensure existence and uniqueness of solutions. Choice A omits the crucial condition a(x)≠0a(x) \neq 0a(x)=0. Choice B doesn't require continuity, which is needed for solution theory. Choice D unnecessarily restricts a(x)=1a(x) = 1a(x)=1 and has incorrect requirements for c(x)c(x)c(x).

Question 16

The equation dydx+P(x)y=Q(x)yn\frac{dy}{dx} + P(x)y = Q(x)y^ndxdy​+P(x)y=Q(x)yn is called a Bernoulli equation. For which value of nnn is this equation linear in yyy?

  1. n=0n = 0n=0, because the right side becomes Q(x)Q(x)Q(x), giving the standard linear form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)dxdy​+P(x)y=Q(x) (correct answer)
  2. n=1n = 1n=1, because the equation becomes dydx+P(x)y=Q(x)y\frac{dy}{dx} + P(x)y = Q(x)ydxdy​+P(x)y=Q(x)y, which can be rearranged to linear form
  3. n=−1n = -1n=−1, because this allows the substitution v=y2v = y^2v=y2 to linearize the equation effectively
  4. n=2n = 2n=2, because this creates a quadratic relationship that can be solved using linear algebraic methods

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 dydx+P(x)y=Q(x)yn\frac{dy}{dx} + P(x)y = Q(x)y^ndxdy​+P(x)y=Q(x)yn becomes linear when the right side doesn't introduce nonlinear terms in y. This happens when n=0n = 0n=0, making yn=y0=1y^n = y^0 = 1yn=y0=1. The equation then becomes dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)dxdy​+P(x)y=Q(x), which is the standard first-order linear differential equation form. Option A correctly identifies this: when n=0n = 0n=0, the yny^nyn 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=1n = 1n=1, you get dydx+P(x)y=Q(x)y\frac{dy}{dx} + P(x)y = Q(x)ydxdy​+P(x)y=Q(x)y, which rearranges to dydx=[Q(x)−P(x)]y\frac{dy}{dx} = [Q(x) - P(x)]ydxdy​=[Q(x)−P(x)]y. This is separable, not linear in the standard sense. Option C misunderstands the substitution method. While n=−1n = -1n=−1 does allow certain substitutions, the equation dydx+P(x)y=Q(x)y\frac{dy}{dx} + P(x)y = \frac{Q(x)}{y}dxdy​+P(x)y=yQ(x)​ is nonlinear because of the 1y\frac{1}{y}y1​ term. Option D is wrong because n=2n = 2n=2 gives dydx+P(x)y=Q(x)y2\frac{dy}{dx} + P(x)y = Q(x)y^2dxdy​+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.

Question 17

A physicist writes the equation mdvdt+kv=F(t)m\frac{dv}{dt} + kv = F(t)mdtdv​+kv=F(t) to model motion with air resistance, where vvv is velocity, mmm is mass, kkk is the drag coefficient, and F(t)F(t)F(t) is applied force. Under what conditions is this a linear differential equation in vvv?

  1. When mmm, kkk are positive constants and F(t)F(t)F(t) is any continuous function of time (correct answer)
  2. Only when F(t)F(t)F(t) is a linear function of time, such as F(t)=at+bF(t) = at + bF(t)=at+b for constants aaa and bbb
  3. When the drag force model kvkvkv is valid, which requires vvv to be small compared to terminal velocity
  4. Only when mmm and kkk are both functions of vvv that maintain the linear structure of the equation

Explanation: The equation mdvdt+kv=F(t)m\frac{dv}{dt} + kv = F(t)mdtdv​+kv=F(t) is linear in vvv when it can be written in the standard form dvdt+P(t)v=Q(t)\frac{dv}{dt} + P(t)v = Q(t)dtdv​+P(t)v=Q(t). If mmm and kkk are constants with m≠0m \neq 0m=0, we can divide by mmm to get dvdt+kmv=F(t)m\frac{dv}{dt} + \frac{k}{m}v = \frac{F(t)}{m}dtdv​+mk​v=mF(t)​, which is linear regardless of the specific form of F(t)F(t)F(t). Choice B incorrectly suggests that F(t)F(t)F(t) must be linear in ttt for the ODE to be linear in vvv—these are different concepts. Choice C confuses the physical validity of the drag model with mathematical linearity. Choice D is incorrect because if mmm and kkk depend on vvv, the equation generally becomes nonlinear.

Question 18

Consider the equation (1+x2)dydx+2xy=y1+y2(1 + x^2)\frac{dy}{dx} + 2xy = \frac{y}{\sqrt{1 + y^2}}(1+x2)dxdy​+2xy=1+y2​y​. Under what transformation does this become a linear equation?

  1. Let v=y2v = y^2v=y2, then the equation becomes linear in vvv after substituting dvdx=2ydydx\frac{dv}{dx} = 2y\frac{dy}{dx}dxdv​=2ydxdy​
  2. Let u=1+y2u = \sqrt{1 + y^2}u=1+y2​, then the equation becomes linear in uuu with appropriate substitutions
  3. Let w=1yw = \frac{1}{y}w=y1​, then the equation becomes linear in www through the standard reciprocal transformation
  4. No transformation can make this equation linear because the term y1+y2\frac{y}{\sqrt{1 + y^2}}1+y2​y​ is inherently nonlinear (correct answer)

Explanation: This equation is a Bernoulli-type equation, but the right-hand side y1+y2\frac{y}{\sqrt{1 + y^2}}1+y2​y​ cannot be handled by standard linearizing transformations. Let's check each option: Choice A with v=y2v = y^2v=y2 gives dvdx=2ydydx\frac{dv}{dx} = 2y\frac{dy}{dx}dxdv​=2ydxdy​, but substituting this doesn't eliminate the 1+y2\sqrt{1 + y^2}1+y2​ term. Choice B with u=1+y2u = \sqrt{1 + y^2}u=1+y2​ gives dudx=y1+y2dydx\frac{du}{dx} = \frac{y}{\sqrt{1 + y^2}}\frac{dy}{dx}dxdu​=1+y2​y​dxdy​, but this creates an even more complex relationship. Choice C with w=1yw = \frac{1}{y}w=y1​ is the standard transformation for Bernoulli equations, but it doesn't address the square root term. The presence of 1+y2\sqrt{1 + y^2}1+y2​ makes this equation genuinely nonlinear with no elementary linearizing transformation.

Question 19

The differential equation sin⁡(x)dydx+cos⁡(x)y=tan⁡(x)\sin(x)\frac{dy}{dx} + \cos(x)y = \tan(x)sin(x)dxdy​+cos(x)y=tan(x) is linear in yyy. On which interval is it guaranteed to have a unique solution through any given initial point?

  1. On any interval where sin⁡(x)≠0\sin(x) \neq 0sin(x)=0 and cos⁡(x)≠0\cos(x) \neq 0cos(x)=0, ensuring all coefficients are well-defined
  2. On any interval where sin⁡(x)>0\sin(x) > 0sin(x)>0 and the equation can be written in standard form
  3. On any open interval that does not contain points where sin⁡(x)=0\sin(x) = 0sin(x)=0, such as (0,π)(0, \pi)(0,π) (correct answer)
  4. On any interval where tan⁡(x)\tan(x)tan(x) is continuous and sin⁡(x)\sin(x)sin(x) maintains the same sign

Explanation: To apply existence and uniqueness theorems for linear ODEs, we need the coefficient of dydx\frac{dy}{dx}dxdy​ to be nonzero so we can divide by it to get standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)dxdy​+P(x)y=Q(x). Dividing by sin⁡(x)\sin(x)sin(x) gives dydx+cos⁡(x)sin⁡(x)y=tan⁡(x)sin⁡(x)=1cos⁡(x)\frac{dy}{dx} + \frac{\cos(x)}{\sin(x)}y = \frac{\tan(x)}{\sin(x)} = \frac{1}{\cos(x)}dxdy​+sin(x)cos(x)​y=sin(x)tan(x)​=cos(x)1​. We need sin⁡(x)≠0\sin(x) \neq 0sin(x)=0 for this division. The resulting P(x)=cot⁡(x)P(x) = \cot(x)P(x)=cot(x) and Q(x)=sec⁡(x)Q(x) = \sec(x)Q(x)=sec(x) must be continuous on the interval. cot⁡(x)\cot(x)cot(x) is continuous wherever sin⁡(x)≠0\sin(x) \neq 0sin(x)=0, and sec⁡(x)\sec(x)sec(x) is continuous wherever cos⁡(x)≠0\cos(x) \neq 0cos(x)=0. However, the primary constraint comes from the leading coefficient sin⁡(x)\sin(x)sin(x). Choice A incorrectly requires both sin⁡(x)≠0\sin(x) \neq 0sin(x)=0 and cos⁡(x)≠0\cos(x) \neq 0cos(x)=0. Choice B incorrectly restricts to positive values. Choice D focuses on the wrong conditions.