Differential Equations Quiz: Identifying Linear First Order Odes
19 questions · exam conditions
0:00
Identifying Linear First Order OdesQuestion 1 of 19

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

dydx=xyx+y\frac{dy}{dx} = \frac{x-y}{x+y}
sin(x)dydx+ycos(x)=tan(x)\sin(x) \frac{dy}{dx} + y \cos(x) = \tan(x)
dydx+xy=y\frac{dy}{dx} + x y = \sqrt{y}
eydydx+eyx=x2e^y \frac{dy}{dx} + e^y x = x^2
← 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.

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

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

  1. dydx=xyx+y\frac{dy}{dx} = \frac{x-y}{x+y}
  2. sin(x)dydx+ycos(x)=tan(x)\sin(x) \frac{dy}{dx} + y \cos(x) = \tan(x) (correct answer)
  3. dydx+xy=y\frac{dy}{dx} + x y = \sqrt{y}
  4. eydydx+eyx=x2e^y \frac{dy}{dx} + e^y x = x^2
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). A. Rearranging gives (x+y)dydx=xy(x+y)\frac{dy}{dx} = x-y. The coefficient of dydx\frac{dy}{dx} is (x+y)(x+y), which depends on yy. Thus, it is nonlinear. B. The equation is sin(x)dydx+(cosx)y=tan(x)\sin(x) \frac{dy}{dx} + (\cos x)y = \tan(x). This is in the linear form with a1(x)=sin(x)a_1(x) = \sin(x), a0(x)=cos(x)a_0(x) = \cos(x), and b(x)=tan(x)b(x) = \tan(x). Note that the left side is the derivative of (ysinx)(y \sin x). C. The term y\sqrt{y} makes the equation nonlinear as the dependent variable yy is raised to the power of 1/21/2. This is a Bernoulli equation. D. This equation is nonlinear in yy. However, if we make the substitution u=eyu = e^y, then dudx=eydydx\frac{du}{dx} = e^y \frac{dy}{dx}. The equation becomes dudx+ux=x2\frac{du}{dx} + ux = x^2, which is linear in uu. But the original equation is nonlinear with respect to yy.

Question 2

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 = 0. The equation is linear in yy if it can be rearranged into the form y+p(x)y=q(x)y' + p(x)y = q(x). Which condition on MM and NN is sufficient to guarantee that the equation is linear in yy?

  1. M(x,y)M(x,y) is a function of xx only, and N(x,y)N(x,y) is a function of yy only.
  2. My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}
  3. N(x,y)N(x,y) is a function of xx only, and M(x,y)M(x,y) is of the form f(x)y+g(x)f(x)y + g(x). (correct answer)
  4. M(x,y)M(x,y) and N(x,y)N(x,y) are both linear functions of yy, i.e. 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).
Explanation: Let's analyze the condition in each option. A. If M(x,y)=M(x)M(x,y)=M(x) and N(x,y)=N(y)N(x,y)=N(y), we have M(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)}, which is a separable equation. It is linear only if N(y)N(y) is a constant and M(x)M(x) is a linear function of yy, which is not guaranteed. B. This is the condition for an exact equation, which is not equivalent to linearity. For example, (2xy)dx+(x2y2)dy=0(2xy)dx + (x^2 - y^2)dy=0 is exact but not linear. C. If 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), the equation becomes (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) = 0, or N(x)dydx+f(x)y=g(x)N(x)\frac{dy}{dx} + f(x)y = -g(x). Assuming N(x)0N(x) \neq 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)}, 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) and 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. 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)). The coefficient of dydx\frac{dy}{dx} depends on yy, so the equation is generally not linear unless c(x)=0c(x)=0.

Question 3

A tank initially contains 100 liters of pure water. A salt solution with a concentration of C(t)=2et/10C(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) be the amount of salt in the tank at time tt. The differential equation for 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=10et/10A20\frac{dA}{dt} = 10e^{-t/10} - \frac{A}{20}, which is a linear equation. (correct answer)
  2. The equation is dAdt=10et/10A2100\frac{dA}{dt} = 10e^{-t/10} - \frac{A^2}{100}, which is a nonlinear equation.
  3. The equation is dAdt=2et/10A100\frac{dA}{dt} = 2e^{-t/10} - \frac{A}{100}, which is a linear equation.
  4. The equation is dAdt=10et/10A20\frac{dA}{dt} = 10e^{-t/10} - \frac{A}{20}, but it is nonlinear because the input concentration 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}. The rate of salt flowing in is (concentration in) × (flow rate in) = (2et/10 kg/L)×(5 L/min)=10et/10(2e^{-t/10} \text{ kg/L}) \times (5 \text{ 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 tt is A(t)100\frac{A(t)}{100} 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} kg/min. Therefore, the differential equation is dAdt=10et/10A20\frac{dA}{dt} = 10e^{-t/10} - \frac{A}{20}. To classify this equation, we rearrange it: dAdt+120A=10et/10\frac{dA}{dt} + \frac{1}{20}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), with p(t)=1/20p(t) = 1/20 and q(t)=10et/10q(t) = 10e^{-t/10}. The fact that q(t)q(t) is a function of tt does not make the equation nonlinear. Thus, the equation is linear.

Question 4

A function y(t)y(t) is defined for t>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\tau. By differentiating the integral equation with respect to tt, one can obtain a differential equation for 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 tt. The derivative of the constant 22 is 00. By the Fundamental Theorem of Calculus, Part 1, the derivative of the integral is the integrand evaluated at tt. So, dydt=ddt(2+1tτy(τ)τ2dτ)=0+ty(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}. The resulting differential equation is dydt=tt2y(t)t2\frac{dy}{dt} = \frac{t}{t^2} - \frac{y(t)}{t^2}, which simplifies to dydt=1ty(t)t2\frac{dy}{dt} = \frac{1}{t} - \frac{y(t)}{t^2}. 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). This gives dydt+1t2y=1t\frac{dy}{dt} + \frac{1}{t^2}y = \frac{1}{t}. This is a first-order linear differential equation with p(t)=1/t2p(t) = 1/t^2 and q(t)=1/tq(t) = 1/t. Since q(t)q(t) is not identically zero, the equation is non-homogeneous. Therefore, it is a first-order linear non-homogeneous equation.

Question 5

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

  1. F(x,y)=x2yF(x,y) = \frac{x^2}{y}
  2. F(x,y)=xsin(y)F(x,y) = x \sin(y)
  3. F(x,y)=ysin(x)+x2F(x,y) = y \sin(x) + x^2 (correct answer)
  4. F(x,y)=y2cos(x)F(x,y) = y^2 \cos(x)
Explanation: We apply the test 2Fy2=0\frac{\partial^2 F}{\partial y^2} = 0 to each function. A. For F(x,y)=x2y1F(x,y) = x^2 y^{-1}, Fy=x2y2\frac{\partial F}{\partial y} = -x^2 y^{-2} and 2Fy2=2x2y30\frac{\partial^2 F}{\partial y^2} = 2x^2 y^{-3} \neq 0. This is nonlinear. B. For F(x,y)=xsin(y)F(x,y) = x \sin(y), Fy=xcos(y)\frac{\partial F}{\partial y} = x \cos(y) and 2Fy2=xsin(y)0\frac{\partial^2 F}{\partial y^2} = -x \sin(y) \neq 0. This is nonlinear. C. For F(x,y)=ysin(x)+x2F(x,y) = y \sin(x) + x^2, Fy=sin(x)\frac{\partial F}{\partial y} = \sin(x) and 2Fy2=0\frac{\partial^2 F}{\partial y^2} = 0. Since the second partial derivative with respect to yy is zero, the equation is linear. The equation can be written as y(sinx)y=x2y' - (\sin x)y = x^2. D. For F(x,y)=y2cos(x)F(x,y) = y^2 \cos(x), Fy=2ycos(x)\frac{\partial F}{\partial y} = 2y \cos(x) and 2Fy2=2cos(x)0\frac{\partial^2 F}{\partial y^2} = 2 \cos(x) \neq 0. This is nonlinear.

Question 6

A first-order ordinary differential equation for 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). Which of the following equations can not be written in this form?

  1. dydxy=xy\frac{dy}{dx} - y = xy
  2. y=x(dydxxcosx)y = x(\frac{dy}{dx} - x \cos x)
  3. dydx=(ytanx)+ex\frac{dy}{dx} = (y \tan x) + e^x
  4. (dydx)3=x3(dydxy)(\frac{dy}{dx})^3 = x^3 (\frac{dy}{dx} - 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). A. dydxy=xy\frac{dy}{dx} - y = xy can be rearranged to dydxyxy=0\frac{dy}{dx} - y - xy = 0, which is dydx(1+x)y=0\frac{dy}{dx} - (1+x)y = 0. This is linear. B. y=x(dydxxcosx)y = x(\frac{dy}{dx} - x \cos x) expands to y=xdydxx2cosxy = x \frac{dy}{dx} - x^2 \cos x. Rearranging gives xdydxy=x2cosxx \frac{dy}{dx} - y = x^2 \cos x. This is linear. C. dydx=(ytanx)+ex\frac{dy}{dx} = (y \tan x) + e^x can be rearranged to dydx(tanx)y=ex\frac{dy}{dx} - (\tan x)y = e^x. This is linear. D. (dydx)3=x3(dydxy)(\frac{dy}{dx})^3 = x^3 (\frac{dy}{dx} - y) expands to (dydx)3=x3dydxx3y(\frac{dy}{dx})^3 = x^3 \frac{dy}{dx} - x^3 y. Rearranging gives (dydx)3x3dydx+x3y=0(\frac{dy}{dx})^3 - x^3 \frac{dy}{dx} + x^3 y = 0. This equation is nonlinear because the derivative dydx\frac{dy}{dx} is raised to the third power.

Question 7

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

  1. When mm, kk are positive constants and F(t)F(t) is any continuous function of time (correct answer)
  2. Only when F(t)F(t) is a linear function of time, such as F(t)=at+bF(t) = at + b for constants aa and bb
  3. When the drag force model kvkv is valid, which requires vv to be small compared to terminal velocity
  4. Only when mm and kk are both functions of vv that maintain the linear structure of the equation
Explanation: The equation mdvdt+kv=F(t)m\frac{dv}{dt} + kv = F(t) is linear in vv when it can be written in the standard form dvdt+P(t)v=Q(t)\frac{dv}{dt} + P(t)v = Q(t). If mm and kk are constants with m0m \neq 0, we can divide by mm to get dvdt+kmv=F(t)m\frac{dv}{dt} + \frac{k}{m}v = \frac{F(t)}{m}, which is linear regardless of the specific form of F(t)F(t). Choice B incorrectly suggests that F(t)F(t) must be linear in tt for the ODE to be linear in vv—these are different concepts. Choice C confuses the physical validity of the drag model with mathematical linearity. Choice D is incorrect because if mm and kk depend on vv, the equation generally becomes nonlinear.

Question 8

The equation xdydx+3xy=sin(x)x\frac{dy}{dx} + 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). What is P(x)P(x)?

  1. P(x)=3xP(x) = 3x for all xx in the domain of the differential equation
  2. P(x)=3P(x) = 3 for x0x \neq 0, and the equation is undefined at x=0x = 0 (correct answer)
  3. P(x)=3x2sin(x)P(x) = \frac{3x^2}{\sin(x)} for all xx where sin(x)0\sin(x) \neq 0
  4. P(x)=3xP(x) = \frac{3}{x} for x>0x > 0, but the equation is nonlinear for x<0x < 0
Explanation: To convert to standard form, divide the entire equation by xx: dydx+3xyx=sin(x)x\frac{dy}{dx} + \frac{3xy}{x} = \frac{\sin(x)}{x}, which simplifies to dydx+3y=sin(x)x\frac{dy}{dx} + 3y = \frac{\sin(x)}{x}. Therefore P(x)=3P(x) = 3 for x0x \neq 0. The equation is undefined at x=0x = 0 because we cannot divide by zero. Choice A incorrectly keeps the xx factor. Choice C incorrectly involves sin(x)\sin(x) in the denominator. Choice D incorrectly suggests the equation behaves differently for positive versus negative xx.

Question 9

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)
  2. xdy=(x3+2y)dxx dy = (x^3 + 2y) dx
  3. y=1+yx+1y' = 1 + \frac{y}{x+1}
  4. (1+y2)dydx+xy=ex(1+y^2) \frac{dy}{dx} + xy = e^x (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). A. This equation is already in the standard linear form for r(θ)r(\theta). B. Dividing by dxdx gives xdydx=x3+2yx \frac{dy}{dx} = x^3 + 2y. Rearranging gives xdydx2y=x3x \frac{dy}{dx} - 2y = x^3, which is a linear equation. C. Rearranging gives y1x+1y=1y' - \frac{1}{x+1} y = 1, which is a linear equation. D. The term (1+y2)(1+y^2) multiplies the derivative dydx\frac{dy}{dx}. Since this coefficient depends on the dependent variable yy, the equation is nonlinear. Linear equations require the coefficients of yy and its derivatives to be functions of the independent variable only.

Question 10

Consider the differential equation dydx+yx=(k24)ln(y)\frac{dy}{dx} + \frac{y}{x} = (k^2-4) \ln(y). For which set of real values of the parameter kk 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). The given equation is dydx+1xy=(k24)ln(y)\frac{dy}{dx} + \frac{1}{x}y = (k^2-4) \ln(y). The term (k24)ln(y)(k^2-4) \ln(y) on the right-hand side makes the equation nonlinear because the dependent variable yy appears inside a logarithmic function. For the equation to be linear, any such nonlinear term in yy must vanish. This requires its coefficient to be zero. Therefore, we must have k24=0k^2 - 4 = 0. Solving for kk gives k2=4k^2 = 4, which yields k=2k = 2 and k=2k = -2. For these values of kk, the equation becomes dydx+yx=0\frac{dy}{dx} + \frac{y}{x} = 0, which is a linear homogeneous equation.

Question 11

Consider the differential equation x2y+xy=ln(x)x^2 y' + xy = \ln(x) for x>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^2 to put it in standard form: y+1xy=ln(x)x2y' + \frac{1}{x}y = \frac{\ln(x)}{x^2}. This matches the form y+p(x)y=q(x)y' + p(x)y = q(x) with p(x)=1/xp(x) = 1/x and q(x)=ln(x)/x2q(x) = \ln(x)/x^2. Since it fits this form, the equation is linear. Because the term 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)x2yxy' = \frac{\ln(x) - xy}{x^2} = \frac{\ln(x)}{x^2} - \frac{y}{x} is not of the form 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 = 0, the equation is (xyln(x))dx+x2dy=0(xy - \ln(x))dx + x^2 dy = 0. Here, M=xyln(x)M = xy - \ln(x) and N=x2N = x^2. We compute the partial derivatives: My=x\frac{\partial M}{\partial y} = x and Nx=2x\frac{\partial N}{\partial x} = 2x. Since MyNx\frac{\partial M}{\partial y} \neq \frac{\partial N}{\partial x}, the equation is not exact. Thus, A is the only correct and precise classification.

Question 12

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

  1. dydx+xy=cos(x)\frac{dy}{dx} + \frac{x}{y} = \cos(x)
  2. dydx+y=x2\frac{dy}{dx} + \sqrt{y} = x^2
  3. dydx+yln(x)=yln(2)\frac{dy}{dx} + y \ln(x) = y \ln(2) (correct answer)
  4. dydx+ysin(x)=sin(y)\frac{dy}{dx} + y\sin(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). Let's analyze each option. A. dydx+xy=cos(x)\frac{dy}{dx} + \frac{x}{y} = \cos(x) is nonlinear because the dependent variable yy appears in the denominator. B. dydx+y=x2\frac{dy}{dx} + \sqrt{y} = x^2 is nonlinear because yy appears under a square root, which is equivalent to a power of 1/21/2. C. dydx+yln(x)=yln(2)\frac{dy}{dx} + y \ln(x) = y \ln(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) = 0. Factoring out yy gives dydx+(ln(x)ln(2))y=0\frac{dy}{dx} + (\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) and q(x)=0q(x) = 0. D. dydx+ysin(x)=sin(y)\frac{dy}{dx} + y\sin(x) = \sin(y) is nonlinear because of the sin(y)\sin(y) term. The dependent variable yy must appear linearly, not as the argument of a nonlinear function like sine.

Question 13

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

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

Question 14

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). Under which condition is this equation linear in yy?

  1. When P(x)P(x) and R(x)R(x) are both continuous functions on the interval of interest
  2. When Q(x)=0Q(x) = 0 for all xx in the domain of the equation (correct answer)
  3. When P(x)P(x) is a constant function and Q(x)Q(x) is differentiable on the given interval
  4. When R(x)=0R(x) = 0 for all xx in the domain and 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) where the dependent variable yy appears only to the first power and its coefficient is 1. In the given equation, the term Q(x)y2Q(x)y^2 makes it nonlinear unless Q(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) is constant, the y2y^2 term still makes it nonlinear. Choice D is incorrect because setting R(x)=0R(x) = 0 doesn't eliminate the problematic Q(x)y2Q(x)y^2 term.

Question 15

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

  1. For any real value of cc, since linearity depends only on the form of the equation
  2. Only when c=±1c = \pm 1, which are the critical values for this type of equation
  3. Only when c>0c > 0, since negative initial values lead to complex-valued solutions
  4. Only when c=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^2, which is a Bernoulli equation due to the y2y^2 term. The key insight is that if y(x)=0y(x) = 0 is a solution, then the nonlinear term y2(x1)2\frac{y^2}{(x-1)^2} vanishes identically, reducing the equation to the linear form dydx+yx1=0\frac{dy}{dx} + \frac{y}{x-1} = 0. To have y(x)=0y(x) = 0 as a solution, you need the initial condition y(2)=0y(2) = 0, which means c=0c = 0. You can verify this: if y(x)=0y(x) = 0 for all xx, then dydx=0\frac{dy}{dx} = 0, and substituting gives 0+0=00 + 0 = 0, which is satisfied. For any other initial condition c0c \neq 0, the solution will be nonzero in some neighborhood of x=2x = 2, making the y2y^2 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 1 are special—these values don't eliminate the nonlinear term. Answer C misunderstands the issue entirely; the sign of cc 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 = 0 always makes the equation linear by eliminating all nonlinear terms.

Question 16

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) is considered a first-order linear ODE?

  1. When a(x)a(x), b(x)b(x), and c(x)c(x) are all continuous functions on the interval of interest
  2. When a(x)0a(x) \neq 0 on the interval and a(x)a(x), b(x)b(x), c(x)c(x) can be any functions
  3. When a(x)a(x), b(x)b(x), and c(x)c(x) are continuous and a(x)0a(x) \neq 0 on the given interval (correct answer)
  4. When a(x)=1a(x) = 1, b(x)b(x) is continuous, and 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) requires two conditions: (1) a(x)0a(x) \neq 0 so we can divide through to get standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), and (2) the coefficients a(x)a(x), b(x)b(x), and 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 0. Choice B doesn't require continuity, which is needed for solution theory. Choice D unnecessarily restricts a(x)=1a(x) = 1 and has incorrect requirements for c(x)c(x).

Question 17

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

  1. n=0n = 0, because the right side becomes Q(x)Q(x), giving the standard linear form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x) (correct answer)
  2. n=1n = 1, because the equation becomes dydx+P(x)y=Q(x)y\frac{dy}{dx} + P(x)y = Q(x)y, which can be rearranged to linear form
  3. n=1n = -1, because this allows the substitution v=y2v = y^2 to linearize the equation effectively
  4. n=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^n becomes linear when the right side doesn't introduce nonlinear terms in y. This happens when n=0n = 0, making yn=y0=1y^n = y^0 = 1. The equation then becomes dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), which is the standard first-order linear differential equation form. Option A correctly identifies this: when n=0n = 0, the yny^n 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 = 1, you get dydx+P(x)y=Q(x)y\frac{dy}{dx} + P(x)y = Q(x)y, which rearranges to dydx=[Q(x)P(x)]y\frac{dy}{dx} = [Q(x) - P(x)]y. This is separable, not linear in the standard sense. Option C misunderstands the substitution method. While n=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} is nonlinear because of the 1y\frac{1}{y} term. Option D is wrong because n=2n = 2 gives dydx+P(x)y=Q(x)y2\frac{dy}{dx} + P(x)y = Q(x)y^2, which is quadratic in y, not linear. Remember: linearity means the dependent variable appears only to the first power throughout the equation.

Question 18

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

  1. Let v=y2v = y^2, then the equation becomes linear in vv after substituting dvdx=2ydydx\frac{dv}{dx} = 2y\frac{dy}{dx}
  2. Let u=1+y2u = \sqrt{1 + y^2}, then the equation becomes linear in uu with appropriate substitutions
  3. Let w=1yw = \frac{1}{y}, then the equation becomes linear in ww through the standard reciprocal transformation
  4. No transformation can make this equation linear because the term y1+y2\frac{y}{\sqrt{1 + y^2}} 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}} cannot be handled by standard linearizing transformations. Let's check each option: Choice A with v=y2v = y^2 gives dvdx=2ydydx\frac{dv}{dx} = 2y\frac{dy}{dx}, but substituting this doesn't eliminate the 1+y2\sqrt{1 + y^2} term. Choice B with u=1+y2u = \sqrt{1 + y^2} gives dudx=y1+y2dydx\frac{du}{dx} = \frac{y}{\sqrt{1 + y^2}}\frac{dy}{dx}, but this creates an even more complex relationship. Choice C with w=1yw = \frac{1}{y} 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} 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) is linear in yy. 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 0 and cos(x)0\cos(x) \neq 0, ensuring all coefficients are well-defined
  2. On any interval where sin(x)>0\sin(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) = 0, such as (0,π)(0, \pi) (correct answer)
  4. On any interval where tan(x)\tan(x) is continuous and 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} 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). Dividing by 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)}. We need sin(x)0\sin(x) \neq 0 for this division. The resulting P(x)=cot(x)P(x) = \cot(x) and Q(x)=sec(x)Q(x) = \sec(x) must be continuous on the interval. cot(x)\cot(x) is continuous wherever sin(x)0\sin(x) \neq 0, and sec(x)\sec(x) is continuous wherever cos(x)0\cos(x) \neq 0. However, the primary constraint comes from the leading coefficient sin(x)\sin(x). Choice A incorrectly requires both sin(x)0\sin(x) \neq 0 and cos(x)0\cos(x) \neq 0. Choice B incorrectly restricts to positive values. Choice D focuses on the wrong conditions.