How to Solve a Linear Second Order Differential Equation
Differential equations have many applications to physics and engineering. A second order linear differential equation has the form
y''(t) + ay'(t) + by(t) = 0,
where a and b are constants. If the equation has initial conditions y(0) = c and y'(0) = d, then the equation is called an "initial value problem" and it can be solved completely. That is, you can find an explicit equation for y(t).
The form of the equation depends on solution to the associated quadratic equation
z2 + az + b = 0
and there are three possible cases. You can use the method outlined below to solve these kinds of equations, or use the differential equation solver on the left.
Case I: a2 - 4b > 0
When a2 - 4b > 0, the equation has the formy(t) = k1ept + k2eqt,
where p = -0.5a + 0.5sqrt(a2 - 4b) and q = -0.5a - 0.5sqrt(a2 - 4b). The constants k1 and k2 depend on the initial conditions of the equation. When you plug in the initial conditions into y(t) and y'(t), it creates a system of two linear equations in the variables k1 and k2. Thus you can find the complete solution.
If one of p or q is zero, the solution equation simplifies to y(t) = k1ept + k2.
Case II: a2 - 4b = 0
When a2 - 4b = 0, the equation has the formy(t) = k1ept + k2tept,
where p = -0.5a. As before, the values of the constants k1 and k2 can be determined from the initial conditions.
Case III: a2 - 4b < 0
When a2 - 4b < 0, the equation has the formy(t) = ept(k1sin(rt) + k2cos(rt)),
where p = -0.5a and r = 0.5sqrt(4b - a2).
Degenerate Case
If both a and b equal zero, the differential equation solution has the formy(t) = k1t + k2.
© Had2Know 2010
