### Key Concepts

### 7.1 Second-Order Linear 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 ${y}_{1}(x)$ and ${y}_{2}(x)$ are linearly independent solutions to a second-order, linear, homogeneous differential equation, then the general solution is given by

$$y(x)={c}_{1}{y}_{1}(x)+{c}_{2}{y}_{2}(x).$$ - 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.

### 7.2 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 ${y}_{p}(x)$ be any particular solution to the nonhomogeneous linear differential equation

$${a}_{2}\left(x\right)y\text{\u2033}+{a}_{1}\left(x\right){y}^{\prime}+{a}_{0}\left(x\right)y=r\left(x\right),$$

and let ${c}_{1}{y}_{1}(x)+{c}_{2}{y}_{2}(x)$ denote the general solution to the complementary equation. Then, the general solution to the nonhomogeneous equation is given by

$$y(x)={c}_{1}{y}_{1}(x)+{c}_{2}{y}_{2}(x)+{y}_{p}(x\text{).}$$ - When $r(x)$ 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 $r(x),$ multiplying by
*x*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 $r(x)$ 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 ${u}^{\prime}(x)$ and ${v}^{\prime}(x)$ satisfying

$$\begin{array}{ccc}\hfill {u}^{\prime}{y}_{1}+{v}^{\prime}{y}_{2}& =\hfill & 0\hfill \\ \hfill {u}^{\prime}{y}_{1}{}^{\prime}+{v}^{\prime}{y}_{2}{}^{\prime}& =\hfill & r(x\text{).}\hfill \end{array}$$

Then, ${y}_{p}(x)=u(x){y}_{1}(x)+v(x){y}_{2}(x)$ is a particular solution to the differential equation.

### 7.3 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

$$mx\text{\u2033}+b{x}^{\prime}+kx=f(t),$$

where $m$ represents the mass, $b$ is the coefficient of the damping force, $k$ is the spring constant, and $f(t)$ represents any net external forces on the system. - If $b=0,$ there is no damping force acting on the system, and simple harmonic motion results. If $b\ne 0,$ the behavior of the system depends on whether ${b}^{2}-4mk>0,$ ${b}^{2}-4mk=0,$ or ${b}^{2}-4mk<0.$
- If ${b}^{2}-4mk>0,$ the system is overdamped and does not exhibit oscillatory behavior.
- If ${b}^{2}-4mk=0,$ the system is critically damped. It does not exhibit oscillatory behavior, but any slight reduction in the damping would result in oscillatory behavior.
- If ${b}^{2}-4mk<0,$ the system is underdamped. It exhibits oscillatory behavior, but the amplitude of the oscillations decreases over time.
- If $f(t)\ne 0,$ 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
*RLC*series circuit can also be modeled with a second-order constant-coefficient differential equation of the form

$$L\frac{{d}^{2}q}{d{t}^{2}}+R\frac{dq}{dt}+\frac{1}{C}q=E(t),$$

where*L*is the inductance,*R*is the resistance,*C*is the capacitance, and $E(t)$ is the voltage source.

### 7.4 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.