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.

Understanding Second-Order Linear ODE Reference

The two arbitrary constants in a second-order solution are not a technical detail. They represent the two pieces of starting information needed to identify one motion or one changing system from a whole family of possible outcomes. In a position problem, these are often the starting position and starting velocity.

A graph of position can begin at the same height in many different ways because its initial slope may differ. This is why a second-order equation needs two conditions.

Substitute the general solution into each condition only after differentiating carefully. Most errors here come from forgetting the chain rule in exponential, sine, or cosine terms, or from evaluating at zero before simplifying.

The characteristic roots reveal behavior before any constants are found. A positive real root produces a term that grows without bound as the input increases. A negative real root produces a term that fades away.

For complex roots, the real part controls whether the oscillation grows, shrinks, or keeps a steady size. The imaginary part controls how rapidly it oscillates. In a spring model, a negative real part describes damping from friction or air resistance.

A zero real part gives ideal undamped vibration, which is useful for learning but rarely exact in a real machine. Reading roots this way helps students connect algebra to the shape of a graph.

Finding a particular solution requires attention to overlap. A trial expression must be different from every expression already present in the complementary solution. For example, if the forcing term is an exponential and that same exponential already solves the homogeneous equation, the usual trial fails.

Multiplying the trial by the input variable creates a new form that can work. If it still overlaps because of a repeated root, multiply by the input variable again. This adjustment is not a memorized trick.

It prevents the trial from being absorbed into the part of the solution that is already free to vary through the constants. In physics, this overlap is connected to resonance, where an outside influence matches a natural pattern of the system.

Linearity makes these equations practical. If separate forcing inputs produce separate particular responses, their sum produces the response to the combined input. A circuit can have a battery input plus a repeating signal.

A vibrating structure can feel a steady load plus a periodic push. Students can split the forcing into manageable pieces, solve for each response, then add them. This only works for linear equations, where the unknown function and its derivatives are not multiplied together or raised to powers.

When checking a final answer, use three steps. Differentiate twice with care, substitute into the original equation, then verify that the left side becomes the required forcing term.

Finally check both initial conditions. A solution that looks familiar is not enough if it fails either check.