Linearity is an important structural property of differential equations. A general nth-order linear ODE can be written as aₙ(x)y⁽ⁿ⁾ + aₙ₋₁(x)y⁽ⁿ⁻¹⁾ + ... + a₁(x)y' + a₀(x)y = g(x), where the coefficients depend only on the independent variable. The unknown function and each derivative appear only to the first power and are not multiplied by one another. A linear equation may be homogeneous or nonhomogeneous depending on whether g(x) is zero. A nonlinear equation may contain terms such as y², yy', sin(y), or (y')². Linear equations often have useful superposition properties, while nonlinear equations generally do not. The classification is based on how the unknown function and its derivatives appear, not on whether the coefficients are constant.
Linear and Nonlinear Differential Equations
A differential equation is linear when the unknown function and its derivatives appear linearly, with coefficients that may depend on the independent variables. It is nonlinear when the unknown function or its derivatives occur in nonlinear combinations such as powers, products, or nonlinear functions.
Linear nth-order ODE: aₙ(x)y⁽ⁿ⁾ + ... + a₁(x)y' + a₀(x)y = g(x)
Linear first-order ODE: dy/dx + P(x)y = Q(x)
Nonlinear example: dy/dx + y² = 0
Explanation
Variables
x: independent variable
y: unknown dependent function
a₀(x), a₁(x), ..., aₙ(x): coefficient functions
g(x): forcing function
P(x): coefficient of y in a first-order linear equation
Q(x): nonhomogeneous term
Example or application
The equation y'' + 3y' + 2y = 0 is linear because y, y', and y'' appear only to the first power. The equation y'' + y² = 0 is nonlinear because the unknown function appears squared.
Definition
A differential equation is linear if the unknown function and its derivatives occur only to the first power, are not multiplied together, and have coefficients depending only on independent variables. Otherwise, it is nonlinear.
Purpose
To classify equations by their dependence on the unknown function and derivatives and determine which solution theories and methods may be applicable.
Importance
Linearity makes many equations easier to analyse and gives access to superposition, standard solution methods, and established existence and uniqueness results. Nonlinear equations are essential for realistic models but may exhibit more complicated behaviour, including multiple equilibria and nonlinear oscillations.
Learning Objectives
Define linear and nonlinear differential equations.
Recognise the standard form of a linear ODE.
Classify equations by inspecting the unknown function and its derivatives.
Explain the significance of superposition for linear homogeneous equations.
Identify common nonlinear terms.
Key Concepts
Linearity
Nonlinearity
Coefficient functions
Superposition principle
Forcing function
Linear homogeneous equation
Working Principle
A linear differential operator combines the unknown function and its derivatives through addition and multiplication by coefficient functions. It does not contain products or nonlinear functions of the unknown function and its derivatives. Nonlinear equations violate one or more of these conditions.
Process
Identify the unknown function and all its derivatives.
Check the powers of the unknown function and derivatives.
Check whether any two unknown terms are multiplied together.
Check whether nonlinear functions such as sin(y) or eʸ appear.
Confirm that coefficients depend only on independent variables.
Classify the equation as linear or nonlinear.
Applications
Linear equations in electrical circuit analysis.
Small oscillation models in mechanics.
Linear heat and diffusion models.
Nonlinear population interaction models.
Nonlinear fluid dynamics and chemical reaction models.
Worked Example
Classify three equations. (1) y'' + 4y' + 3y = eˣ is linear because the unknown function and derivatives appear linearly. (2) y'' + y³ = 0 is nonlinear because y is cubed. (3) yy' + x = 0 is nonlinear because y and y' are multiplied together.
Common Misconceptions
A linear equation can have variable coefficients; constant coefficients are not required.
An equation containing a product of an independent variable and y may still be linear, such as xy' + y = 0.
A linear equation can be nonhomogeneous.
The presence of a nonlinear function of the independent variable alone does not make an equation nonlinear.
Practice Questions
Classify y' + 5y = x².
Classify y'' + y² = 0.
Classify xy' + 3y = 0.
Why is yy' + 1 = 0 nonlinear?
Write the general form of a linear nth-order ODE.
Key Takeaway
Linearity depends on how the unknown function and its derivatives appear, not on whether the equation contains complicated independent-variable coefficients.
Prerequisites
Algebraic expressions
Function notation
Derivative notation
Order of a differential equation
Reference
William E. Boyce, Richard C. DiPrima and Douglas B. Meade, Elementary Differential Equations and Boundary Value Problems.
Dennis G. Zill, A First Course in Differential Equations with Modeling Applications.
Related Topics
SCI-MAT-008-010
SCI-MAT-008-011
SCI-MAT-008-013
SCI-MAT-008-016
Sources and verification
Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.
- Source verification pending; check an authoritative textbook, university, standards body, or peer-reviewed source.
Suggest a correction or source · More in Differential Equations