A second-order linear differential equation has the form dt2d2y+A1(t)dtdy+A2(t)y=f(t), where A1(t), A2(t), and 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), where Ln(y)≡dtndny+A1(t)dtn−1dn−1y+⋯+An−1(t)dtdy+An(t)y.
When f(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=f, where the differential operator L is a linear operator, y is the unknown function (such as a function of time y(t)), and the right hand side f is a given function of the same nature as y (called the source term). For a function dependent on time, we may write the equation more expressly as Ly(t)=f(t) and, even more precisely, by bracketing L[y(t)]=f(t).
The linear operator L may be considered to be of the form:
Ln(y)≡dtndny+A1(t)dtn−1dn−1y+⋯+An−1(t)dtdy+An(t)y
The linearity condition on L rules out operations such as taking the square of the derivative of y, but permits, for example, taking the second derivative of y. It is convenient to rewrite this equation in an operator form:
Ln(y)≡[Dn+A1(t)Dn−1+⋯+An−1(t)D+An(t)]y
where D is the differential operator dtd (i.e. Dy=y′, D2y=y′′, ⋯) that is involved.
Second-Order Linear Differential Equations
A second-order linear differential equation has the form:
dt2d2y+A1(t)dtdy+A2(t)y=f(t)
where A1(t), A2(t), and f(t) are continuous functions. When f(t)=0, the equations are called homogeneous second-order linear differential equations. (Otherwise, the equations are called nonhomogeneous equations.)
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: dt2d2y+A1(t)dtdy+A2(t)y=f(t), where 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) and A2(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:
dt2d2y+A1(t)dtdy+A2(t)y=f(t)
where A1(t), A2(t), and f(t) are continuous functions. When f(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.
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) and A2(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) and y2(t) are both solutions of the second-order linear differential equation provided above and replicated here:
dt2d2y+A1(t)dtdy+A2(t)y=f(t)
then any arbitrary linear combination of y1(t) and y2(t) —that is, y(x)=c1y1(t)+c2y2(t) for constants c1 and c2—is also a solution of that differential equation. This can be confirmed by substituting y(x)=c1y1(t)+c2y2(t) into the equation and using the fact that both y1(t) and y2(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 k is described by the simple harmonic oscillation, whose equation of motion is given in the form of a homogeneous second-order linear differential equation: mdt2d2x+kx=0.
Adding the damping term in the equation of motion, the equation of motion is given as dt2d2x+2ζω0dtdx+ω02x=0.
Adding the external force term to the damped harmonic oscillator, we get an nonhomogeneous second-order linear differential equation:dt2d2x+2ζω0dtdx+ω02x=mF(t).
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 k 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, F, proportional to the displacement, x: F=−kx, where k 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 F 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=mdt2d2x=−kx
Therefore, we end up with a homogeneous second-order linear differential equation:
mdt2d2x+kx=0
Note that the function x(t)=Acos(ω0t+ϕ) satisfies the equation where ω0=mk=T2π. ω0 is called angular velocity, and the constants A and ϕ 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 Ff can be modeled as being proportional to the velocity v of the object: Ff=−cv, where c is called the viscous damping coefficient. Including this additional term, the equation of motion is given as:
dt2d2x+2ζω0dtdx+ω02x=0
where ζ=2mkc is called the "damping ratio."
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). Newton's 2nd law (F=ma) takes the form:
F(t)−kx−cdtdx=mdt2d2x
It is usually rewritten into the form:
dt2d2x+2ζω0dtdx+ω02x=mF(t)
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=0∞Akzk for a linear differential equation f′′+a2(z)a1(z)f′+a2(z)a0(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 f′′−2zf′+λf=0;λ=1 has the following power series solution: f=A0(1+2−1x2+8−1x4+240−7x6+⋯)+A1(x+61x3+241x5+1121x7+⋯).
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.
Maclaurin Power Series of an Exponential Function: The exponential function (in blue), and the sum of the first n+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)=0
Suppose a2 is nonzero for all z. Then we can divide throughout to obtain:
f′′+a2(z)a1(z)f′+a2(z)a0(z)f=0
Suppose further that a2a1 and a2a1 are analytic functions. The power series method calls for the construction of a power series solution:
f=k=0∑∞Akzk
After substituting the power series form, recurrence relations for Ak is obtained, which can be used to reconstruct f.
Example
Let us look at the case know as Hermit differential equation:
f′′−2zf′+λf=0(λ=1)
We can try to construct a series solution:
f=k=0∑∞Akzkf′=k=0∑∞kAkzk−1f′′=k=0∑∞k(k−1)Akzk−2
substituting these in the differential equation:
k=0∑∞k(k−1)Akzk−2−2zk=0∑∞kAkzk−1+k=0∑∞Akzk=0=k=0∑∞k(k−1)Akzk−2−k=0∑∞2kAkzk+k=0∑∞Akzk
making a shift on the first sum:
=k+2=0∑∞(k+2)((k+2)−1)Ak+2z(k+2)−2−k=0∑∞2kAkzk+k=0∑∞Akzk=k=0∑∞(k+2)(k+1)Ak+2zk−k=0∑∞2kAkzk+k=0∑∞Akzk=k=0∑∞((k+2)(k+1)Ak+2+(−2k+1)Ak)zk
If this series is a solution, then all these coefficients must be zero, so:
(k+2)(k+1)Ak+2+(−2k+1)Ak=0
We can rearrange this to get a recurrence relation for Ak+2:
Ak+2=(k+2)(k+1)(2k−1)Ak
Now, we have:
A2=(2)(1)−1A0=2−1A0,A3=(3)(2)1A1=61A1
and all coefficients with larger indices can be similarly obtained using the recurrence relation. The series solution is:
f=A0(1+2−1x2+8−1x4+240−7x6+⋯)+A1(x+61x3+241x5+1121x7+⋯)
Linear differential equation.Provided by: WikipediaLocated at: https://en.wikipedia.org/wiki/Linear_differential_equation#Homogeneous_equations_with_constant_coefficients.License: CC BY-SA: Attribution-ShareAlike.