We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Boundless Calculus

Second-Order Linear Equations

Second-Order Linear Equations

A second-order linear differential equation has the form d2ydt2+A1(t)dydt+A2(t)y=f(t)\frac{d^2 y}{dt^2} + A_1(t)\frac{dy}{dt} + A_2(t)y = f(t), where A1(t)A_1(t), A2(t)A_2(t), and f(t)f(t) are continuous functions.

Learning Objectives

Distinguish homogeneous and nonhomogeneous second-order linear differential equations

Key Takeaways

Key Points

  • Linear differential equations are of the form L[y(t)]=f(t)L [y(t)] = f(t), where Ln(y)dnydtn+A1(t)dn1ydtn1++An1(t)dydt+An(t)yL_n(y) \equiv \frac{d^n y}{dt^n} + A_1(t)\frac{d^{n-1}y}{dt^{n-1}} + \cdots + A_{n-1}(t)\frac{dy}{dt} + A_n(t)y.
  • When f(t)=0f(t)=0, the equations are called homogeneous linear differential equations. (Otherwise, the equations are called nonhomogeneous equations).
  • Linear differential equations are differential equations that have solutions which can be added together to form other solutions.

Key Terms

  • linear: having the form of a line; straight
  • differential equation: an equation involving the derivatives of a function
Linear differential equations are of the form Ly=fLy = f, where the differential operator LL is a linear operator, yy is the unknown function (such as a function of time y(t)y(t)), and the right hand side ff is a given function of the same nature as yy (called the source term). For a function dependent on time, we may write the equation more expressly as Ly(t)=f(t)L y(t) = f(t) and, even more precisely, by bracketing L[y(t)]=f(t)L [y(t)] = f(t). The linear operator LL may be considered to be of the form: Ln(y)dnydtn+A1(t)dn1ydtn1++An1(t)dydt+An(t)y\displaystyle{L_n(y) \equiv \frac{d^n y}{dt^n} + A_1(t)\frac{d^{n-1}y}{dt^{n-1}} + \cdots + A_{n-1}(t)\frac{dy}{dt} + A_n(t)y} The linearity condition on LL rules out operations such as taking the square of the derivative of yy, but permits, for example, taking the second derivative of yy. It is convenient to rewrite this equation in an operator form: Ln(y)[Dn+A1(t)Dn1++An1(t)D+An(t)]y\displaystyle{L_n(y) \equiv \left[\,D^n + A_{1}(t)D^{n-1} + \cdots + A_{n-1}(t) D + A_n(t)\right] y} where DD is the differential operator ddt\frac{d}{dt} (i.e. Dy=yDy = y', D2y=yD^2y = y'', \cdots) that is involved.

Second-Order Linear Differential Equations

A second-order linear differential equation has the form: d2ydt2+A1(t)dydt+A2(t)y=f(t)\displaystyle{\frac{d^2 y}{dt^2} + A_1(t)\frac{dy}{dt} + A_2(t)y = f(t)} where A1(t)A_1(t), A2(t)A_2(t), and f(t)f(t) are continuous functions. When f(t)=0f(t)=0, the equations are called homogeneous second-order linear differential equations. (Otherwise, the equations are called nonhomogeneous equations.)
image

Simple Pendulum: A simple pendulum, under the conditions of no damping and small amplitude, is described by a equation of motion which is a second-order linear differential equation.

Nonhomogeneous Linear Equations

Nonhomogeneous second-order linear equation are of the the form: d2ydt2+A1(t)dydt+A2(t)y=f(t)\frac{d^2 y}{dt^2} + A_1(t)\frac{dy}{dt} + A_2(t)y = f(t), where f(t)f(t) is nonzero.

Learning Objectives

Identify when a second-order linear differential equation can be solved analytically

Key Takeaways

Key Points

  • Examples of homogeneous or nonhomogeneous second-order linear differential equation can be found in many different disciplines such as physics, economics, and engineering.
  • In simple cases, for example, where the coefficients A1(t)A_1(t) and A2(t)A_2(t) are constants, the equation can be analytically solved. In general, the solution of the differential equation can only be obtained numerically.
  • Linear differential equations are differential equations that have solutions which can be added together to form other solutions.

Key Terms

  • linearity: a relationship between several quantities which can be considered proportional and expressed in terms of linear algebra; any mathematical property of a relationship, operation, or function that is analogous to such proportionality, satisfying additivity and homogeneity
In the previous atom, we learned that a second-order linear differential equation has the form: d2ydt2+A1(t)dydt+A2(t)y=f(t)\displaystyle{\frac{d^2 y}{dt^2} + A_1(t)\frac{dy}{dt} + A_2(t)y = f(t)} where A1(t)A_1(t), A2(t)A_2(t), and f(t)f(t) are continuous functions. When f(t)=0f(t)=0, the equations are called homogeneous second-order linear differential equations. Otherwise, the equations are called nonhomogeneous equations. Examples of homogeneous or nonhomogeneous second-order linear differential equation can be found in many different disciplines such as physics, economics, and engineering.
image

Heat Transfer: Phenomena such as heat transfer can be described using nonhomogeneous second-order linear differential equations.

In simple cases, for example, where the coefficients A1(t)A_1(t) and A2(t)A_2(t) are constants, the equation can be analytically solved. (Either the method of undetermined coefficients or the method of variation of parameters can be adopted.) In general, the solution of the differential equation can only be obtained numerically. However, there is a very important property of the linear differential equation, which can be useful in finding solutions.

Linearity

Linear differential equations are differential equations that have solutions which can be added together to form other solutions. If y1(t)y_1(t) and y2(t)y_2(t) are both solutions of the second-order linear differential equation provided above and replicated here: d2ydt2+A1(t)dydt+A2(t)y=f(t)\displaystyle{\frac{d^2 y}{dt^2} + A_1(t)\frac{dy}{dt} + A_2(t)y = f(t)} then any arbitrary linear combination of y1(t)y_1(t) and y2(t)y_2(t) —that is, y(x)=c1y1(t)+c2y2(t)y(x) = c_1y_1(t) + c_2 y_2(t) for constants c1c_1 and c2c_2—is also a solution of that differential equation. This can be confirmed by substituting y(x)=c1y1(t)+c2y2(t)y(x) = c_1y_1(t) + c_2 y_2(t) into the equation and using the fact that both y1(t)y_1(t) and y2(t)y_2(t) are solutions of the equation.

Applications of Second-Order Differential Equations

A second-order linear differential equation can be commonly found in physics, economics, and engineering.

Learning Objectives

Identify problems that require solution of nonhomogeneous and homogeneous second-order linear differential equations

Key Takeaways

Key Points

  • An ideal spring with a spring constant kk is described by the simple harmonic oscillation, whose equation of motion is given in the form of a homogeneous second-order linear differential equation: md2xdt2+kx=0m \frac{\mathrm{d}^2x}{\mathrm{d}t^2} + k x = 0.
  • Adding the damping term in the equation of motion, the equation of motion is given as d2xdt2+2ζω0dxdt+ω02x=0\frac{\mathrm{d}^2x}{\mathrm{d}t^2} + 2\zeta\omega_0\frac{\mathrm{d}x}{\mathrm{d}t} + \omega_0^{\,2} x = 0.
  • Adding the external force term to the damped harmonic oscillator, we get an nonhomogeneous second-order linear differential equation:d2xdt2+2ζω0dxdt+ω02x=F(t)m\frac{\mathrm{d}^2x}{\mathrm{d}t^2} + 2\zeta\omega_0\frac{\mathrm{d}x}{\mathrm{d}t} + \omega_0^2 x = \frac{F(t)}{m}.

Key Terms

  • damping: the reduction in the magnitude of oscillations by the dissipation of energy
  • harmonic oscillator: a system which, when displaced from its equilibrium position, experiences a restoring force proportional to the displacement according to Hooke's law, where kk is a positive constant
Examples of homogeneous or nonhomogeneous second-order linear differential equation can be found in many different disciplines, such as physics, economics, and engineering. In this atom, we will learn about the harmonic oscillator, which is one of the simplest yet most important mechanical system in physics.

Harmonic oscillator

In classical mechanics, a harmonic oscillator is a system that, when displaced from its equilibrium position, experiences a restoring force, FF, proportional to the displacement, xx: F=kx\vec F = -k \vec x \,, where kk is a positive constant. The system under consideration could be an object attached to a spring, a pendulum, etc. Electronic circuits such as RLC circuits are also described by similar equations.

Simple harmonic oscillation

If FF is the only force acting on the system, the system is called a simple harmonic oscillator, and it undergoes simple harmonic motion: sinusoidal oscillations about the equilibrium point, with a constant amplitude and a constant frequency. The equation of motion is given as: F=ma=md2xdt2=kx\displaystyle{F = m a = m \frac{\mathrm{d}^2x}{\mathrm{d}t^2} = -k x} Therefore, we end up with a homogeneous second-order linear differential equation: md2xdt2+kx=0\displaystyle{m \frac{\mathrm{d}^2x}{\mathrm{d}t^2} + k x = 0} Note that the function x(t)=Acos(ω0t+ϕ)x(t) = A\cos\left( \omega_0 t+\phi\right) satisfies the equation where ω0=km=2πT\omega_0 = \sqrt{\frac{k}{m}} = \frac{2\pi}{T}. ω0\omega_0 is called angular velocity, and the constants AA and ϕ\phi are determined from initial conditions of the motion.

Damped harmonic oscillator

In real oscillators, friction (or damping) slows the motion of the system. In many vibrating systems the frictional force FfFf can be modeled as being proportional to the velocity v of the object: Ff=cvFf = −cv, where cc is called the viscous damping coefficient. Including this additional term, the equation of motion is given as: d2xdt2+2ζω0dxdt+ω02x=0\displaystyle{\frac{\mathrm{d}^2x}{\mathrm{d}t^2} + 2\zeta\omega_0\frac{\mathrm{d}x}{\mathrm{d}t} + \omega_0^{\,2} x = 0} where ζ=c2mk\zeta = \frac{c}{2 \sqrt{mk}} is called the "damping ratio."
image

Damped Harmonic Oscillators: A solution of damped harmonic oscillator. Curves in different colors show various responses depending on the damping ratio.

Driven harmonic oscillator: Driven harmonic oscillators are damped oscillators further affected by an externally applied force F(t)F(t). Newton's 2nd law (F=maF=ma) takes the form: F(t)kxcdxdt=md2xdt2\displaystyle{F(t)-kx-c\frac{\mathrm{d}x}{\mathrm{d}t}=m\frac{\mathrm{d}^2x}{\mathrm{d}t^2}} It is usually rewritten into the form: d2xdt2+2ζω0dxdt+ω02x=F(t)m\displaystyle{\frac{\mathrm{d}^2x}{\mathrm{d}t^2} + 2\zeta\omega_0\frac{\mathrm{d}x}{\mathrm{d}t} + \omega_0^2 x = \frac{F(t)}{m}} which is a nonhomogeneous second-order linear differential equation.

Series Solutions

The power series method is used to seek a power series solution to certain differential equations.

Learning Objectives

Identify the steps and describe the application of the power series method

Key Takeaways

Key Points

  • The power series method calls for the construction of a power series solution f=k=0Akzkf=\sum_{k=0}^\infty A_kz^k for a linear differential equation f+a1(z)a2(z)f+a0(z)a2(z)f=0f''+{a_1(z)\over a_2(z)}f'+{a_0(z)\over a_2(z)}f=0.
  • The method assumes a power series with unknown coefficients, then substitutes that solution into the differential equation to find a recurrence relation for the coefficients.
  • Hermit differential equation f2zf+λf=0;  λ=1f''-2zf'+\lambda f=0;\;\lambda=1 has the following power series solution: f=A0(1+12x2+18x4+7240x6+)+A1(x+16x3+124x5+1112x7+)f=A_0 \left(1+{-1\over 2}x^2+{-1 \over 8}x^4+{-7 \over 240}x^6+\cdots\right) + A_1\left(x+{1\over 6}x^3+{1 \over 24}x^5+{1 \over 112}x^7+\cdots\right).

Key Terms

  • recurrence relation: an equation that recursively defines a sequence; each term of the sequence is defined as a function of the preceding terms
  • analytic functions: a function that is locally given by a convergent power series
The power series method is used to seek a power series solution to certain differential equations. In general, such a solution assumes a power series with unknown coefficients, then substitutes that solution into the differential equation to find a recurrence relation for the coefficients.
image

Maclaurin Power Series of an Exponential Function: The exponential function (in blue), and the sum of the first n+1n+1 terms of its Maclaurin power series (in red). Using power series, a linear differential equation of a general form may be solved.

Method

Consider the second-order linear differential equation: a2(z)f(z)+a1(z)f(z)+a0(z)f(z)=0a_2(z)f''(z)+a_1(z)f'(z)+a_0(z)f(z)=0 Suppose a2a_2 is nonzero for all zz. Then we can divide throughout to obtain: f+a1(z)a2(z)f+a0(z)a2(z)f=0\displaystyle{f''+{a_1(z)\over a_2(z)}f'+{a_0(z)\over a_2(z)}f=0} Suppose further that a1a2\frac{a_1}{a_2} and a1a2\frac{a_1}{a_2} are analytic functions. The power series method calls for the construction of a power series solution: f=k=0Akzk\displaystyle{f= \sum_{k=0}^\infty A_kz^k} After substituting the power series form, recurrence relations for AkA_k is obtained, which can be used to reconstruct ff.

Example

Let us look at the case know as Hermit differential equation: f2zf+λf=0(λ=1)f''-2zf'+\lambda f=0\quad (\lambda=1) We can try to construct a series solution: f=k=0Akzk f=k=0kAkzk1 f=k=0k(k1)Akzk2\displaystyle{f= \sum_{k=0}^\infty A_kz^k \ f'= \sum_{k=0}^\infty kA_kz^{k-1} \ f''= \sum_{k=0}^\infty k(k-1)A_kz^{k-2}} substituting these in the differential equation: k=0k(k1)Akzk22zk=0kAkzk1+k=0Akzk=0=k=0k(k1)Akzk2k=02kAkzk+k=0Akzk\begin{align} & {} \sum_{k=0}^\infty k(k-1)A_kz^{k-2}-2z \sum_{k=0}^\infty kA_kz^{k-1}+ \sum_{k=0}^\infty A_kz^k=0 \\ & = \sum_{k=0}^\infty k(k-1)A_kz^{k-2}- \sum_{k=0}^\infty 2kA_kz^k+ \sum_{k=0}^\infty A_kz^k \end{align} making a shift on the first sum: =k+2=0(k+2)((k+2)1)Ak+2z(k+2)2k=02kAkzk+k=0Akzk=k=0(k+2)(k+1)Ak+2zkk=02kAkzk+k=0Akzk=k=0((k+2)(k+1)Ak+2+(2k+1)Ak)zk\begin{align} & = \sum_{k+2=0}^\infty (k+2)((k+2)-1)A_{k+2}z^{(k+2)-2}- \sum_{k=0}^\infty 2kA_kz^k+ \sum_{k=0}^\infty A_kz^k \\ & = \sum_{k=0}^\infty (k+2)(k+1)A_{k+2}z^k- \sum_{k=0}^\infty 2kA_kz^k+ \sum_{k=0}^\infty A_kz^k \\ & = \sum_{k=0}^\infty \left((k+2)(k+1)A_{k+2}+(-2k+1)A_k \right)z^k \end{align} If this series is a solution, then all these coefficients must be zero, so: (k+2)(k+1)Ak+2+(2k+1)Ak=0(k+2)(k+1)A_{k+2}+(-2k+1)A_k=0 We can rearrange this to get a recurrence relation for Ak+2A_{k+2}: Ak+2=(2k1)(k+2)(k+1)Ak\displaystyle{A_{k+2}={\frac{(2k-1)}{(k+2)(k+1)}A_k}} Now, we have: A2=1(2)(1)A0=12A0,A3=1(3)(2)A1=16A1\displaystyle{A_2 = {\frac{-1}{(2)(1)}}A_0={\frac{-1}{2}}A_0, A_3 = {\frac{1}{(3)(2)}} A_1={\frac{1}{6}}A_1} and all coefficients with larger indices can be similarly obtained using the recurrence relation. The series solution is: f=A0(1+12x2+18x4+7240x6+)+A1(x+16x3+124x5+1112x7+)\displaystyle{f=A_0 \left(1+\frac{-1}{2}x^2+\frac{-1}{8}x^4+\frac{-7}{240}x^6+ \cdots \right)\\ \,\quad + A_1 \left(x+\frac{1}{6}x^3+\frac{1}{24}x^5+\frac{1}{112}x^7+ \cdots \right)}

Licenses & Attributions