Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Second-order linear ordinary differential equations describe many systems whose rate of change depends on position, velocity, and outside forcing. This cheat sheet helps students recognize standard forms, solve constant-coefficient equations, and apply initial conditions efficiently. It is especially useful for calculus, physics, engineering, and modeling problems involving motion, springs, circuits, or oscillations.

The main form is ay+by+cy=g(x)ay'' + by' + cy = g(x), where the homogeneous equation uses g(x)=0g(x) = 0. For constant coefficients, the characteristic equation ar2+br+c=0ar^2 + br + c = 0 determines the complementary solution. A full solution usually has the form y=yc+ypy = y_c + y_p, where ycy_c solves the homogeneous equation and ypy_p is one particular solution.

Key Facts

  • A second-order linear ODE has the standard form a(x)y+b(x)y+c(x)y=g(x)a(x)y'' + b(x)y' + c(x)y = g(x), and it is homogeneous when g(x)=0g(x) = 0.
  • For ay+by+cy=0ay'' + by' + cy = 0, substitute y=erxy = e^{rx} to get the characteristic equation ar2+br+c=0ar^2 + br + c = 0.
  • If the characteristic equation has distinct real roots r1r_1 and r2r_2, then yc=C1er1x+C2er2xy_c = C_1e^{r_1x} + C_2e^{r_2x}.
  • If the characteristic equation has a repeated real root rr, then yc=C1erx+C2xerxy_c = C_1e^{rx} + C_2xe^{rx}.
  • If the characteristic roots are complex r=α±βir = \alpha \pm \beta i, then yc=eαx(C1cos(βx)+C2sin(βx))y_c = e^{\alpha x}(C_1\cos(\beta x) + C_2\sin(\beta x)).
  • For a nonhomogeneous equation, the general solution is y=yc+ypy = y_c + y_p, where ypy_p is any one particular solution.
  • The method of undetermined coefficients works best when g(x)g(x) is built from polynomials, exponentials, sines, or cosines.
  • Initial conditions such as y(0)=y0y(0) = y_0 and y(0)=v0y'(0) = v_0 are used after finding yy to solve for C1C_1 and C2C_2.

Vocabulary

Second-order ODE
A differential equation involving an unknown function and its derivatives up to the second derivative yy''.
Linear differential equation
An equation where yy, yy', and yy'' appear only to the first power and are not multiplied together.
Homogeneous equation
A linear differential equation with zero forcing term, such as ay+by+cy=0ay'' + by' + cy = 0.
Characteristic equation
The algebraic equation ar2+br+c=0ar^2 + br + c = 0 formed from a constant-coefficient homogeneous ODE.
Complementary solution
The general solution ycy_c of the associated homogeneous equation.
Particular solution
One specific solution ypy_p of a nonhomogeneous equation ay+by+cy=g(x)ay'' + by' + cy = g(x).

Common Mistakes to Avoid

  • Forgetting the xx factor for repeated roots is wrong because a repeated root rr gives yc=C1erx+C2xerxy_c = C_1e^{rx} + C_2xe^{rx}, not just two copies of erxe^{rx}.
  • Using the characteristic equation on a nonhomogeneous equation directly is wrong because ar2+br+c=0ar^2 + br + c = 0 only solves the associated homogeneous part.
  • Applying initial conditions before finding the full general solution is wrong because constants C1C_1 and C2C_2 should be determined only after y=yc+ypy = y_c + y_p is complete.
  • Choosing a trial particular solution that duplicates part of ycy_c is wrong because it will not produce a new independent solution, so the trial must be multiplied by xx as needed.
  • Dropping the exponential factor for complex roots is wrong because roots α±βi\alpha \pm \beta i require eαx(C1cos(βx)+C2sin(βx))e^{\alpha x}(C_1\cos(\beta x) + C_2\sin(\beta x)).

Practice Questions

  1. 1 Solve the homogeneous equation y5y+6y=0y'' - 5y' + 6y = 0.
  2. 2 Find the general solution of y+4y=0y'' + 4y = 0.
  3. 3 Solve y2y+y=0y'' - 2y' + y = 0 with y(0)=3y(0) = 3 and y(0)=5y'(0) = 5.
  4. 4 Explain why the general solution of a nonhomogeneous second-order linear ODE is written as y=yc+ypy = y_c + y_p instead of only using a particular solution.