Linear Differential Equation — Definition, Formula & Example
A linear differential equation is a differential equation in which the unknown function and its derivatives appear only to the first power. They are never multiplied by each other and never placed inside functions such as or . The coefficients may still depend freely on the independent variable .
An th-order ordinary differential equation is linear if it can be written as , where and . The operator satisfies for all constants . The equation is homogeneous when and nonhomogeneous otherwise.
Key Formula
Where:
- = The unknown function of x that you are solving for
- = Coefficient functions that depend only on x. The leading coefficient is not identically zero.
- = The forcing term, a function of x only. When it is zero for every x, the equation is homogeneous.
- = The order of the equation, which is the highest derivative that appears
Worked Example
Problem: For , you are told that and both solve . Use linearity to solve the initial value problem , , .
Step 1: Classify the equation and combine the homogeneous solutions. The coefficients and depend only on , and and each appear to the first power, so the equation is linear. Check : . Check : . By superposition, every combination of the two is also a homogeneous solution.
Step 2: Find one particular solution. Try the constant . Then , so the left side is , which matches. Linearity says the general solution is .
Step 3: Apply the initial conditions, using . Adding the two equations gives , so and .
Answer: for . Check: and .
Why It Matters
Differential equations in general have no single solution strategy. Linear ones are special, because every solution has the structure . That structure is why linear equations dominate a first ODE course. It is also why engineers model spring-mass systems and RLC circuits with them: the response to two inputs is the sum of the responses to each input alone.
Common Mistakes
Mistake: Calling an equation nonlinear because its coefficients contain , as in . The opposite error is calling or linear.
Correction: Linearity is about and its derivatives, not about . Terms like or are fine. Terms like , , , or make the equation nonlinear.
