Intro to Differential Equations - Differential Equations

  1. An object's motion is modeled by a differential equation derived from Newton's second law, Fnet=maF_{net} = ma. The net force on the object depends on its position xx, velocity vv, and time tt. If the net force is given by Fnet=−kx−cv2+F0sin⁡(ωt)F_{net} = -k x - c v^2 + F_0 \sin(\omega t), where kk, cc, F0F_0, and ω\omega are positive constants, which of the following correctly describes the resulting differential equation for the position x(t)x(t)?
    Answer: Second-order and nonlinear Newton's second law is Fnet=maF_{net} = ma. The position is x(t)x(t), velocity is v=x′(t)v = x'(t), and acceleration is a=x′′(t)a = x''(t). Substituting the given force and the expressions for vv and aa into Newton's law gives: mx′′(t)=−kx(t)−c(x′(t))2+F0sin⁡(ωt)m x''(t) = -k x(t) - c (x'(t))^2 + F_0 \sin(\omega t). Rearranging gives mx′′+c(x′)2+kx=F0sin⁡(ωt)m x'' + c(x')^2 + kx = F_0 \sin(\omega t). The order of the equation is determined by the highest derivative present, which is x′′x'', so the equation is second-order. The linearity is determined by how the dependent variable xx and its derivatives appear. The term (x′)2(x')^2 is the square of the first derivative, which makes the equation nonlinear. Therefore, the differential equation is second-order and nonlinear.
  2. Consider the function y(x)=xsin⁡(x)y(x) = x \sin(x). Which statement accurately describes its relationship with the initial value problem y′′+y=2cos⁡(x)y'' + y = 2\cos(x), y(π/2)=π/2y(\pi/2) = \pi/2?
    Answer: It is a solution to the initial value problem. This is a two-step verification. First, check if the function solves the differential equation. Second, check if it satisfies the initial condition. Step 1: Find derivatives and substitute into the DE. y=xsin⁡(x)y = x \sin(x) y′=sin⁡(x)+xcos⁡(x)y' = \sin(x) + x \cos(x) y′′=cos⁡(x)+(cos⁡(x)−xsin⁡(x))=2cos⁡(x)−xsin⁡(x)y'' = \cos(x) + (\cos(x) - x \sin(x)) = 2\cos(x) - x \sin(x) Substitute into the DE: y′′+y=(2cos⁡(x)−xsin⁡(x))+(xsin⁡(x))=2cos⁡(x)y'' + y = (2\cos(x) - x \sin(x)) + (x \sin(x)) = 2\cos(x). The function satisfies the differential equation. Step 2: Check the initial condition. y(π/2)=(π/2)sin⁡(π/2)=(π/2)⋅1=π/2y(\pi/2) = (\pi/2) \sin(\pi/2) = (\pi/2) \cdot 1 = \pi/2. The initial condition is also satisfied. Since both parts are satisfied, the function is a solution to the initial value problem.
  3. For what positive value of the constant kk is the function family y=C1ekx+C2e−kxy = C_1 e^{kx} + C_2 e^{-kx} a general solution to the differential equation y′′−9y=0y'' - 9y = 0?
    Answer: k=3k=3 First, find the first and second derivatives of the proposed solution y=C1ekx+C2e−kxy = C_1 e^{kx} + C_2 e^{-kx}. y′=kC1ekx−kC2e−kxy' = kC_1 e^{kx} - kC_2 e^{-kx} y′′=k2C1ekx+k2C2e−kx=k2(C1ekx+C2e−kx)=k2yy'' = k^2 C_1 e^{kx} + k^2 C_2 e^{-kx} = k^2(C_1 e^{kx} + C_2 e^{-kx}) = k^2 y. Now, substitute y′′=k2yy'' = k^2 y into the differential equation: k2y−9y=0k^2 y - 9y = 0 (k2−9)y=0(k^2 - 9)y = 0 For this equation to hold true for any solution yy in the family, the coefficient must be zero: k2−9=0k^2 - 9 = 0. This gives k2=9k^2 = 9, so k=±3k = \pm 3. Since the question asks for the positive value of kk, the correct answer is k=3k=3.
  4. Consider the equation dydx=f(x,y)\frac{dy}{dx} = f(x,y) where f(x,y)=x+yx−yf(x,y) = \frac{x + y}{x - y}. A student claims this equation is undefined along the line y=xy = x and therefore has no solutions that cross this line. What is the most accurate assessment of this claim?
    Answer: The claim is correct; solutions cannot cross y=xy = x since the differential equation becomes undefined there The student's claim is correct. Where f(x,y)f(x,y) is undefined (along y=xy = x), the differential equation has no meaning, and solutions cannot exist. The line y=xy = x acts as a barrier that solutions cannot cross. Solutions may approach this line asymptotically from either side, but they cannot cross it because the slope dydx\frac{dy}{dx} becomes undefined there. This is different from saying y=xy = x is itself a solution.
  5. The relation x3+xy2−y3=Cx^3 + xy^2 - y^3 = C defines a family of implicit solutions to which of the following differential equations?
    Answer: y′=3x2+y23y2−2xyy' = \frac{3x^2+y^2}{3y^2-2xy} To find the differential equation, we differentiate the given relation implicitly with respect to xx. Remember to use the product rule for the xy2xy^2 term and the chain rule for terms involving yy. ddx(x3+xy2−y3)=ddx(C)\frac{d}{dx}(x^3 + xy^2 - y^3) = \frac{d}{dx}(C) 3x2+(1⋅y2+x⋅2yy′)−3y2y′=03x^2 + (1 \cdot y^2 + x \cdot 2y y') - 3y^2 y' = 0 3x2+y2+2xyy′−3y2y′=03x^2 + y^2 + 2xy y' - 3y^2 y' = 0 Now, isolate the terms with y′y': 2xyy′−3y2y′=−3x2−y22xy y' - 3y^2 y' = -3x^2 - y^2 y′(2xy−3y2)=−(3x2+y2)y'(2xy - 3y^2) = -(3x^2 + y^2) y′=−3x2+y22xy−3y2=3x2+y2−(2xy−3y2)=3x2+y23y2−2xyy' = -\frac{3x^2+y^2}{2xy - 3y^2} = \frac{3x^2+y^2}{-(2xy - 3y^2)} = \frac{3x^2+y^2}{3y^2-2xy}. This matches choice A.
  6. Consider the equation d2ydx2+xdydx=y3+sin⁡(x)\frac{d^2y}{dx^2} + x\frac{dy}{dx} = y^3 + \sin(x). If y1(x)=x2+1y_1(x) = x^2 + 1 and y2(x)=x2+1+e−xy_2(x) = x^2 + 1 + e^{-x} both fail to satisfy this equation, what can be concluded about the nature of this differential equation?
    Answer: The equation is nonlinear due to the y3y^3 term, and finding particular solutions requires specialized techniques beyond linear methods The equation is nonlinear due to the y3y^3 term. In a linear differential equation, the dependent variable and all its derivatives must appear to the first power only, with no products between them. The presence of y3y^3 makes this equation nonlinear, requiring specialized solution techniques. The order is determined by the highest derivative (second-order), and linearity is determined by how the dependent variable appears.
  7. Consider the differential equation y′′+exy′+yn=0y'' + e^x y' + y^n = 0, where nn is an integer. For which value(s) of nn is the equation linear?
    Answer: n=0n=0 and n=1n=1 For a differential equation to be linear, the dependent variable yy and its derivatives must appear to the first power. The terms y′′y'' and exy′e^x y' are consistent with a linear equation. The term yny^n determines whether the equation is linear. If n=1n=1, the term is y1=yy^1 = y, and the equation y′′+exy′+y=0y'' + e^x y' + y = 0 is linear. If n=0n=0, the term is y0=1y^0 = 1, and the equation y′′+exy′+1=0y'' + e^x y' + 1 = 0 is also linear (it is non-homogeneous). For any other integer value of nn (e.g., n=2,3,−1n=2, 3, -1), the term yny^n is a nonlinear function of yy. Therefore, the equation is linear only for n=0n=0 and n=1n=1.
  8. A student claims that y=Ce2x+3xy = Ce^{2x} + 3x is the general solution to the differential equation dydx−2y=−6x−3\frac{dy}{dx} - 2y = -6x - 3. To verify this claim, which step reveals the most critical error in the student's reasoning?
    Answer: Direct substitution yields 2Ce2x+3−2(Ce2x+3x)=3−6x≠−6x−32Ce^{2x} + 3 - 2(Ce^{2x} + 3x) = 3 - 6x \neq -6x - 3, showing the solution is incorrect Direct substitution reveals the error. Computing: dydx=2Ce2x+3\frac{dy}{dx} = 2Ce^{2x} + 3 and dydx−2y=2Ce2x+3−2(Ce2x+3x)=3−6x\frac{dy}{dx} - 2y = 2Ce^{2x} + 3 - 2(Ce^{2x} + 3x) = 3 - 6x. Since 3−6x≠−6x−33 - 6x \neq -6x - 3, the proposed solution doesn't satisfy the differential equation. The correct particular solution should be 3x+323x + \frac{3}{2}.
  9. Consider the differential equation ddx[p(x)y′]+q(x)y=cos⁡(x)\frac{d}{dx}[p(x)y'] + q(x)y = \cos(x). Assuming p(x)p(x) is a differentiable function, what are the order and linearity of this equation?
    Answer: Second-order, linear To determine the order, we must perform the differentiation indicated by the outer operator ddx\frac{d}{dx}. Applying the product rule to ddx[p(x)y′]\frac{d}{dx}[p(x)y'] gives p′(x)y′+p(x)y′′p'(x)y' + p(x)y''. The full differential equation is p(x)y′′+p′(x)y′+q(x)y=cos⁡(x)p(x)y'' + p'(x)y' + q(x)y = \cos(x). The highest derivative is y′′y'', so the equation is second-order. The equation is linear because the dependent variable yy and its derivatives y′y' and y′′y'' appear only to the first power, and their coefficients (p(x)p(x), p′(x)p'(x), and q(x)q(x)) are functions of the independent variable xx only.
  10. An engineering student encounters the system dxdt=x+y2\frac{dx}{dt} = x + y^2 and dydt=x2+y\frac{dy}{dt} = x^2 + y. When asked to classify this system, the student states: "This is a second-order linear system because there are two equations." What is the primary error in this classification?
    Answer: This is actually a first-order nonlinear system; the number of equations doesn't determine the order, and the quadratic terms make it nonlinear When classifying systems of differential equations, you need to consider two key characteristics: the order (highest derivative present) and linearity (whether variables appear raised to powers or multiplied together). This system contains only first derivatives (dxdt\frac{dx}{dt} and dydt\frac{dy}{dt}), making it first-order, not second-order. The student's reasoning that "two equations equals second-order" reflects a fundamental misunderstanding—the order depends on the highest derivative, not the number of equations. Additionally, the presence of y2y^2 and x2x^2 terms makes this system nonlinear, since the variables are raised to powers greater than one. Choice A correctly identifies both errors: this is a first-order nonlinear system because it involves only first derivatives but contains quadratic terms that violate linearity. Choice B incorrectly accepts the student's second-order classification. While it correctly identifies the nonlinearity, it fails to recognize the fundamental error about system order. Choice C introduces irrelevant concepts about matrix methods and confuses systems with single higher-order equations. Matrix methods can be used for linear systems, but they don't change how we classify the system's order and linearity. Choice D is completely wrong on multiple levels. The system is neither linear (due to the quadratic terms) nor separable into independent equations, since each equation contains both variables. Study tip: Always classify differential equation systems by asking two questions: "What's the highest derivative?" (determines order) and "Are variables raised to powers or multiplied together?" (determines linearity). The number of equations is irrelevant to the order.
  11. Which of the following differential equations is nonlinear?
    Answer: (cos⁡x)y′′+yy′=x2(\cos x)y'' + y y' = x^2 A differential equation is linear if the dependent variable yy and its derivatives appear only to the first power and are not part of other functions, and their coefficients depend only on the independent variable xx. (A) is a linear equation with constant coefficients. (B) is a linear equation (Bessel's equation) with variable coefficients. (C) can be expanded using the product rule to 1xy′+ln⁡(x)y′′+exy=x3\frac{1}{x}y' + \ln(x)y'' + e^x y = x^3. This is a second-order linear equation. (D) contains the term yy′y y', which is a product of the dependent variable and its derivative. This term makes the equation nonlinear.
  12. Consider the initial value problem y′=y2y' = y^2, with y(0)=1/2y(0) = 1/2. The function y(x)=12−xy(x) = \frac{1}{2-x} is proposed as a solution. Which statement is the most complete and accurate description of this proposed solution?
    Answer: The function is a solution to the IVP, but only on the interval (−∞,2)(-\infty, 2). First, verify if the function solves the DE. For y(x)=(2−x)−1y(x) = (2-x)^{-1}, the derivative is y′=−1(2−x)−2(−1)=1(2−x)2y' = -1(2-x)^{-2}(-1) = \frac{1}{(2-x)^2}. The term y2y^2 is (12−x)2=1(2−x)2(\frac{1}{2-x})^2 = \frac{1}{(2-x)^2}. Since y′=y2y'=y^2, the DE is satisfied. Second, verify the initial condition: y(0)=12−0=1/2y(0) = \frac{1}{2-0} = 1/2. The IC is also satisfied. However, a solution to a differential equation must be differentiable (and thus continuous) on its interval of existence. The function y(x)=12−xy(x) = \frac{1}{2-x} has a vertical asymptote at x=2x=2 and is not defined there. The initial condition is at x=0x=0. The largest interval containing x=0x=0 on which the solution is defined and continuous is (−∞,2)(-\infty, 2). Therefore, the function is a solution to the IVP on this specific interval.
  13. The temperature u(x,t)u(x, t) in a one-dimensional rod is governed by the partial differential equation ∂u∂t=α∂2u∂x2\frac{\partial u}{\partial t} = \alpha \frac{\partial^2 u}{\partial x^2}. If the system reaches a steady state, meaning the temperature no longer changes with time, what can be concluded about the equation governing the steady-state temperature profile U(x)U(x)?
    Answer: It becomes a second-order linear ordinary differential equation. A steady state implies that the temperature uu does not change with time tt. Mathematically, this means ∂u∂t=0\frac{\partial u}{\partial t} = 0. Since the steady-state temperature UU depends only on the position xx, the partial derivatives with respect to xx become ordinary derivatives. Substituting these conditions into the heat equation gives: 0=αd2Udx20 = \alpha \frac{d^2 U}{dx^2}. This simplifies to d2Udx2=0\frac{d^2 U}{dx^2} = 0. This is an ordinary differential equation (ODE) because it involves derivatives with respect to only one independent variable, xx. The highest derivative is the second derivative, so it is second-order. The equation is linear in UU. The solution is U(x)=C1x+C2U(x) = C_1 x + C_2, which represents a linear temperature profile, not necessarily a uniform (constant) temperature.
  14. Two students are debating whether d2ydx2+(dydx)2=sin⁡(x)\frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^2 = \sin(x) is linear or nonlinear. Student A argues it's linear because yy itself appears linearly. Student B argues it's nonlinear because of the squared derivative term. Which analysis is more mathematically sound?
    Answer: Student B is correct; the presence of (dydx)2\left(\frac{dy}{dx}\right)^2 makes the equation nonlinear regardless of how yy appears When you encounter questions about whether a differential equation is linear or nonlinear, you need to examine how the dependent variable and ALL of its derivatives appear throughout the equation. A differential equation is linear if the dependent variable and all its derivatives appear to the first power only, with no products between them. Let's analyze this equation systematically. For d2ydx2+(dydx)2=sin⁡(x)\frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^2 = \sin(x) to be linear, every term containing yy or its derivatives must be linear. While d2ydx2\frac{d^2y}{dx^2} appears linearly (first power), the term (dydx)2\left(\frac{dy}{dx}\right)^2 is the first derivative raised to the second power. This nonlinear term immediately disqualifies the equation from being linear. Answer A incorrectly focuses only on how yy itself appears, ignoring the derivatives entirely. Linearity requires examining the dependent variable AND all its derivatives together. Answer B misunderstands the concept by suggesting only the highest-order derivative matters—every derivative term must be examined. Answer C incorrectly categorizes this as quasilinear, but quasilinear equations have linear expressions in the highest-order derivative, which isn't the case here since we have a nonlinear first-derivative term. Answer D correctly identifies that the squared derivative term makes the entire equation nonlinear. Study tip: When determining linearity, scan every term containing the dependent variable or its derivatives. If any term has powers other than one, or if derivatives are multiplied together, the equation is nonlinear—no exceptions.
  15. The differential equation ddx(y2)+2xy2=4x\frac{d}{dx}(y^2) + 2x y^2 = 4x is nonlinear in terms of yy. However, by making the substitution u=y2u = y^2, the equation can be transformed into a new differential equation in terms of u(x)u(x). What are the properties of this transformed equation?
    Answer: First-order, linear Let u=y2u = y^2. The term ddx(y2)\frac{d}{dx}(y^2) is simply dudx\frac{du}{dx}. Substituting uu for y2y^2 throughout the given equation yields: dudx+2xu=4x\frac{du}{dx} + 2x u = 4x. This is the transformed differential equation for the new dependent variable u(x)u(x). We can now analyze its properties. The highest derivative is dudx\frac{du}{dx}, so it is a first-order equation. The equation is of the form u′+P(x)u=Q(x)u' + P(x)u = Q(x), where P(x)=2xP(x) = 2x and Q(x)=4xQ(x) = 4x. This is the standard form for a first-order linear differential equation. Thus, the transformed equation is first-order and linear.
  16. An experimenter observes that the function f(x)=x3+2xf(x) = x^3 + 2x satisfies some unknown differential equation when x>0x > 0, but fails to satisfy the same equation when x<0x < 0. What does this reveal about the nature of the differential equation?
    Answer: The equation is probably linear with variable coefficients that become undefined or exhibit discontinuities for x≤0x \leq 0 The fact that f(x)=x3+2xf(x) = x^3 + 2x (which is defined for all real xx) satisfies the equation only for x>0x > 0 suggests the differential equation itself has coefficients or terms that are undefined or discontinuous for x≤0x \leq 0. This is characteristic of linear equations with variable coefficients that may involve terms like 1x\frac{1}{x}, x\sqrt{x}, or ln⁡(x)\ln(x). The linearity/nonlinearity doesn't determine domain restrictions in this way.
  17. A physics student derives the equation md2xdt2+kx+ϵx3=F0cos⁡(ωt)m\frac{d^2x}{dt^2} + kx + \epsilon x^3 = F_0\cos(\omega t) for a nonlinear oscillator. When ϵ=0\epsilon = 0, the equation has well-known sinusoidal solutions. What happens to the solution structure when ϵ≠0\epsilon \neq 0 but is very small?
    Answer: The solutions are approximately sinusoidal but will exhibit small deviations that grow over time, potentially requiring perturbation methods for analysis When ϵ\epsilon is small but nonzero, the equation becomes nonlinear, and solutions will deviate from pure sinusoidal behavior. However, for small ϵ\epsilon, the solutions start approximately sinusoidal but accumulate small nonlinear effects over time. This is a classic scenario for perturbation methods, where the linear solution serves as a starting approximation. The equation remains second-order regardless of the nonlinearity.
  18. Given that d3ydx3+x2d2ydx2+(sin⁡x)y=0\frac{d^3y}{dx^3} + x^2\frac{d^2y}{dx^2} + (\sin x)y = 0 has solutions y1(x)y_1(x), y2(x)y_2(x), and y3(x)y_3(x), which statement about potential solution combinations is most accurate?
    Answer: The combination c1y1+c2y2+c3y3c_1y_1 + c_2y_2 + c_3y_3 forms the general solution only if the Wronskian W(y1,y2,y3)≠0W(y_1, y_2, y_3) \neq 0 over the domain For a third-order linear homogeneous equation, the general solution requires three linearly independent solutions. The combination c1y1+c2y2+c3y3c_1y_1 + c_2y_2 + c_3y_3 forms the general solution only if these three functions are linearly independent, which is verified by a non-zero Wronskian. Choice A ignores linear independence, C incorrectly states two solutions suffice for a third-order equation, and D misunderstands how the order determines the number of constants.
  19. Consider the differential equation xdydx+y=xy2x\frac{dy}{dx} + y = xy^2. A student attempts to solve this by first dividing both sides by xx to get dydx+yx=y2\frac{dy}{dx} + \frac{y}{x} = y^2. What is the most significant issue with this approach?
    Answer: This algebraic manipulation is valid everywhere except x=0x = 0, where the original equation may have singular behavior requiring separate analysis The division by xx is algebraically valid wherever x≠0x \neq 0, and it doesn't change the equation's order (both forms are first-order) or linearity (both are nonlinear due to y2y^2). However, the point x=0x = 0 requires special consideration since the original equation becomes y=0y = 0 there, which might represent singular behavior. The main caution is ensuring we don't lose solutions or miss singular points, but the manipulation itself is generally acceptable.
  20. The function y(x)=2e−3x+e2xy(x) = 2e^{-3x} + e^{2x} is a particular solution to which of the following initial value problems?
    Answer: y′′+y′−6y=0;y(0)=3,y′(0)=−4y'' + y' - 6y = 0; \quad y(0)=3, y'(0)=-4 This requires checking both the differential equation and the initial conditions for each option. First, find the derivatives of the given function and evaluate them at x=0x=0. y(x)=2e−3x+e2x  ⟹  y(0)=2e0+e0=3y(x) = 2e^{-3x} + e^{2x} \implies y(0) = 2e^0 + e^0 = 3. y′(x)=−6e−3x+2e2x  ⟹  y′(0)=−6e0+2e0=−4y'(x) = -6e^{-3x} + 2e^{2x} \implies y'(0) = -6e^0 + 2e^0 = -4. y′′(x)=18e−3x+4e2x  ⟹  y′′(0)=18e0+4e0=22y''(x) = 18e^{-3x} + 4e^{2x} \implies y''(0) = 18e^0 + 4e^0 = 22. The correct IVP must have initial conditions y(0)=3y(0)=3 and y′(0)=−4y'(0)=-4. This eliminates choice C. Now test the remaining DEs: (A) y′′+y′−6y=(18e−3x+4e2x)+(−6e−3x+2e2x)−6(2e−3x+e2x)=(18−6−12)e−3x+(4+2−6)e2x=0y'' + y' - 6y = (18e^{-3x} + 4e^{2x}) + (-6e^{-3x} + 2e^{2x}) - 6(2e^{-3x} + e^{2x}) = (18-6-12)e^{-3x} + (4+2-6)e^{2x} = 0. This DE is satisfied. (B) y′′−y′−6y=(18e−3x+4e2x)−(−6e−3x+2e2x)−6(2e−3x+e2x)=(18+6−12)e−3x+(4−2−6)e2x≠0y'' - y' - 6y = (18e^{-3x} + 4e^{2x}) - (-6e^{-3x} + 2e^{2x}) - 6(2e^{-3x} + e^{2x}) = (18+6-12)e^{-3x} + (4-2-6)e^{2x} \neq 0. (D) y′′−5y′+6y=(18e−3x+4e2x)−5(−6e−3x+2e2x)+6(2e−3x+e2x)=(18+30+12)e−3x+(4−10+6)e2x≠0y'' - 5y' + 6y = (18e^{-3x} + 4e^{2x}) - 5(-6e^{-3x} + 2e^{2x}) + 6(2e^{-3x} + e^{2x}) = (18+30+12)e^{-3x} + (4-10+6)e^{2x} \neq 0. Only choice A satisfies both the differential equation and the initial conditions.

Start this quiz