Second Order Ordinary Differential Equation — Definition, Formula & Examples
A second order ordinary differential equation (ODE) is an equation that contains the second derivative of an unknown function with respect to a single independent variable, and no higher derivatives. It describes how a quantity's rate of change itself changes, which is why it appears naturally in problems involving acceleration, curvature, and oscillation.
A second order ODE is an equation of the form , where is the unknown function of the single independent variable , , and . The equation is called ordinary because depends on only one independent variable, and second order because is the highest-order derivative present.
Key Formula
Where:
- = Unknown function of x
- = First and second derivatives of y with respect to x
- = Constant (or variable) coefficients, with a ≠ 0
- = Forcing function; g(x) = 0 gives the homogeneous case
How It Works
To solve a second order ODE, you typically need two initial or boundary conditions because the general solution contains two arbitrary constants. For linear equations with constant coefficients, such as , you substitute to obtain a characteristic equation . The nature of the roots — real and distinct, repeated, or complex — determines whether the general solution involves exponentials, a polynomial factor, or sines and cosines. Non-homogeneous equations (right-hand side not zero) require an additional particular solution found via undetermined coefficients or variation of parameters.
Worked Example
Problem: Solve the second order ODE y'' − 5y' + 6y = 0.
Step 1: Assume a solution of the form y = e^(rx) and substitute into the equation to get the characteristic equation.
Step 2: Factor the characteristic equation to find the roots.
Step 3: Since the roots are real and distinct, the general solution is a linear combination of the two exponential solutions.
Answer: The general solution is , where and are arbitrary constants determined by initial or boundary conditions.
Why It Matters
Newton's second law is itself a second order ODE, making this equation type central to mechanics, electrical circuit analysis, and vibration engineering. Mastering these equations is essential in any introductory ODE or engineering mathematics course.
Common Mistakes
Mistake: Writing only one arbitrary constant in the general solution instead of two.
Correction: A second order ODE always requires two independent constants in its general solution, corresponding to the two initial/boundary conditions needed to specify a unique solution.
