Second-Order Differential Equations: Cheat Sheet

Essential Concepts

Linear Homogeneous Equations

  • Second-order differential equations can be classified as linear or nonlinear, homogeneous or nonhomogeneous.
  • To find a general solution for a homogeneous second-order differential equation, we must find two linearly independent solutions. If [latex]y_{1}(x)[/latex] and [latex]y_{2}(x)[/latex] are linearly independent solutions to a second-order, linear, homogeneous differential equation, then the general solution is given by [latex]y(x)=c_{1}y_{1}(x)+c_{2}y_{2}(x)[/latex].
  • To solve homogeneous second-order differential equations with constant coefficients, find the roots of the characteristic equation. The form of the general solution varies depending on whether the characteristic equation has distinct, real roots; a single, repeated real root; or complex conjugate roots.
  • Initial conditions or boundary conditions can then be used to find the specific solution to a differential equation that satisfies those conditions, except when there is no solution or infinitely many solutions.

Nonhomogeneous Linear Equations

  • To solve a nonhomogeneous linear second-order differential equation, first find the general solution to the complementary equation, then find a particular solution to the nonhomogeneous equation.
  • Let [latex]y_{p}(x)[/latex] be any particular solution to the nonhomogeneous linear differential equation [latex]a_{2}(x)y^{\prime\prime}+a_{1}(x)y^{\prime}+a_{0}(x)y=r(x)[/latex], and let [latex]c_{1}y_{1}(x)+c_{2}y_{2}(x)[/latex] denote the general solution to the complementary equation. Then, the general solution to the nonhomogeneous equation is given by [latex]y(x)=c_{1}y_{1}(x)+c_{2}y_{2}(x)+y_{p}(x)[/latex].
  • When [latex]r(x)[/latex] is a combination of polynomials, exponential functions, sines, and cosines, use the method of undetermined coefficients to find the particular solution. To use this method, assume a solution in the same form as [latex]r(x)[/latex], multiplying by [latex]x[/latex] as necessary until the assumed solution is linearly independent of the general solution to the complementary equation. Then, substitute the assumed solution into the differential equation to find values for the coefficients.
  • When [latex]r(x)[/latex] is not a combination of polynomials, exponential functions, or sines and cosines, use the method of variation of parameters to find the particular solution. This method involves using Cramer’s rule or another suitable technique to find functions [latex]u^{\prime}(x)[/latex] and [latex]v^{\prime}(x)[/latex] satisfying [latex]\begin{array}{c} \hfill u^{\prime}y_{1}+v^{\prime}y_{2} &= 0 \hfill \\u^{\prime}y_{1}^{\prime}+v^{\prime}y_{2}^{\prime} &= r(x) \hfill\end{array}[/latex]. Then, [latex]y_{p}(x)=u(x)y_{1}(x)+v(x)y_{2}(x)[/latex] is a particular solution to the differential equation.

Applications

  • Second-order constant-coefficient differential equations can be used to model spring-mass systems.
  • An examination of the forces on a spring-mass system results in a differential equation of the form [latex]mx^{\prime\prime}+bx^{\prime}+kx=f(t)[/latex], where [latex]m[/latex] represents the mass, [latex]b[/latex] is the coefficient of the damping force, [latex]k[/latex] is the spring constant, and [latex]f(t)[/latex] represents any net external forces on the system.
  • If [latex]b=0[/latex], there is no damping force acting on the system, and simple harmonic motion results. If [latex]b\ne{0}[/latex], the behavior of the system depends on whether [latex]b^{2}-4mk>0[/latex], [latex]b^{2}-4mk=0[/latex], or [latex]b^{2}-4mk<0[/latex].
  • If [latex]b^2-4mk>0[/latex], the system is overdamped and does not exhibit oscillatory behavior.
  • If [latex]b^2-4mk=0[/latex], the system is critically damped. It does not exhibit oscillatory behavior, but any slight reduction in the damping would result in oscillatory behavior.
  • If [latex]b^2-4mk<0[/latex], the system is underdamped. It exhibits oscillatory behavior, but the amplitude of the oscillations decreases over time.
  • If [latex]f(t)\ne{0}[/latex], the solution to the differential equation is the sum of a transient solution and a steady-state solution. The steady-state solution governs the long-term behavior of the system.
  • The charge on the capacitor in an [latex]RLC[/latex] series circuit can also be modeled with a second-order constant-coefficient differential equation of the form [latex]L\frac{d^{2}q}{dt^{2}}+R\frac{dq}{dt}+\frac{1}{C}q=E(t)[/latex], where [latex]L[/latex] is the inductance, [latex]R[/latex] is the resistance, [latex]C[/latex] is the capacitance, and [latex]E(t)[/latex] is the voltage source.

Series Solutions of Differential Equations

  • Power series representations of functions can sometimes be used to find solutions to differential equations.
  • Differentiate the power series term by term and substitute into the differential equation to find relationships between the power series coefficients.

Key Equations

  • Linear second-order differential equation
    [latex]a_{2}(x)y^{\prime\prime}+a_{1}(x)y^{\prime}+a_{0}(x)y=r(x)[/latex]
  • Second-order equation with constant coefficients
    [latex]ay^{\prime\prime}+by^{\prime}+cy=0[/latex]
  • Complementary equation
    [latex]a_{2}(x)y^{\prime\prime}+a_{1}(x)y^{\prime}+a_{0}(x)y=0[/latex]
  • General solution to a nonhomogeneous linear differential equation
    [latex]y(x)=c_{1}y_{1}(x)+c_{2}y_{2}(x)+y_{p}(x)[/latex]
  • Equation of simple harmonic motion
    [latex]x^{\prime\prime}+\omega^{2}x=0[/latex]
  • Solution for simple harmonic motion
    [latex]x(t)=c_{1}\cos{(\omega{t})}+c_{2}\sin{(\omega{t})}[/latex]
  • Alternative form of solution for SHM
    [latex]x(t)=A\sin{(\omega{t}+\phi)}[/latex]
  • Forced harmonic motion
    [latex]mx^{\prime\prime}+bx^{\prime}+kx=f(t)[/latex]
  • Charge in a RLC series circuit
    [latex]L\frac{d^{2}q}{dt^{2}}+R\frac{dq}{dt}+\frac{1}{C}q=E(t)[/latex]

Glossary

boundary conditions
the conditions that give the state of a system at different times, such as the position of a spring-mass system at two different times
boundary-value problem
a differential equation with associated boundary conditions
characteristic equation
the equation [latex]a\lambda^{2}+b\lambda+c=0[/latex] for the differential equation [latex]ay^{\prime\prime}+by^{\prime}+cy=0[/latex]
complementary equation
for the nonhomogeneous linear differential equation [latex]a_{2}(x)y^{\prime\prime}+a_{1}(x)y^{\prime}+a_{0}(x)y=r(x)[/latex] the associated homogeneous equation, called the complementary equation, is [latex]a_{2}(x)y^{\prime\prime}+a_{1}(x)y^{\prime}+a_{0}(x)y=0[/latex]
homogeneous linear equation
a second-order differential equation that can be written in the form [latex]a_{2}(x)y^{\prime\prime}+a_{1}(x)y^{\prime}+a_{0}(x)y=r(x)[/latex] but [latex]r(x)=0[/latex] for every value of [latex]x[/latex]
linearly dependent
a set of function [latex]f_{1}(x),f_{2}(x),\ldots f_{n}(x)[/latex] for which there are constants [latex]c_{1},c_{2},\ldots c_{n}[/latex], not all zero, such that [latex]c_{1}f_{1}(x) + c_{2}f_{2}(x) + {\cdots}+c_{n}f_{n}(x) = 0[/latex] for all [latex]x[/latex] in the interval of interest
linearly independent
a set of function [latex]f_{1}(x),f_{2}(x),\ldots f_{n}(x)[/latex] for which there are no constants, such that [latex]c_{1},c_{2},\ldots c_{n}[/latex], such that [latex]c_{1}f_{1}(x) + c_{2}f_{2}(x) + {\cdots}+c_{n}f_{n}(x) = 0[/latex] for all [latex]x[/latex] in the interval of interest
method of undetermined coefficients
a method that involves making a guess about the form of the particular solution, then solving for the coefficients in the guess
method of variation of parameters
a method that involves looking for particular solutions in the form [latex]y_{p}(x)=u(x)y_{1}(x)+v(x)y_{2}(x)[/latex], where [latex]y_{1}[/latex] and [latex]y_{2}[/latex] are linearly independent solutions to the complementary equations, and then solving a system of equations to find [latex]u(x)[/latex] and [latex]v(x)[/latex].
nonhomogeneous linear equation
a second-order differential equation that can be written in the form [latex]a_{2}(x)y^{\prime\prime}+a_{1}(x)y^{\prime}+a_{0}(x)y=r(x)[/latex] but [latex]r(x)\ne 0[/latex] for some value of [latex]x[/latex]
particular solution
a solution [latex]y_{p}(x)[/latex] of a differential equation that contains no arbitrary constants
RLC series circuit
a complete electrical path consisting of a resistor, an inductor, and a capacitor; a second-order, constant-coefficient differential equation can be used to model the charge on the capacitor in an RLC series circuit
simple harmonic motion
motion described by the equation [latex]x(t)=c_{1}\cos{(\omega{t})}+c_{2}\sin{(\omega{t})}[/latex] as exhibited by an undamped spring-mass system in which the mass continues to oscillate indefinitely
steady-state solution
a solution to a nonhomogeneous differential equation related to the forcing function; in the long term, the solution approaches the steady-state solution