Intro to
Differential Equations
Learn what a differential equation is, how to classify them by order and linearity, and what it means for a function to be a solution.
What Is a Differential Equation?
A differential equation (DE) is any equation that contains one or more derivatives of an unknown function. Instead of solving for a number, you solve for a function.
Differential equations describe rates of change: how populations grow, how heat spreads, how springs oscillate. They are the language of dynamics.
Why Do DEs Matter?
ODE vs PDE
\(\dfrac{dy}{dx} + y = e^x\)
\(\dfrac{\partial u}{\partial t} = k\dfrac{\partial^2 u}{\partial x^2}\)
The Order of a DE
The order of a differential equation is the order of the highest derivative that appears in the equation.
Linear vs Nonlinear
A DE is linear if the unknown function \(y\) and all its derivatives appear to the first power and are not multiplied together. The coefficients may depend on \(x\).
\(x^2 y' + y = e^x\)
\((y')^2 + y = 1\) (squared derivative)
Visualizing: Slope Fields
A slope field plots tiny line segments whose slopes equal \(\dfrac{dy}{dx}\) at each point. Solution curves follow the flow of these segments.
What Is a Solution?
A solution to a DE is a function \(y = f(x)\) that, when substituted into the equation, makes it a true identity on some interval.
How to Verify a Solution
To check whether a proposed function is a solution, substitute it and its derivatives into the DE. If both sides match, it is a valid solution.
Order vs Degree
Students often confuse order (which derivative) with degree (the power on that derivative). These are independent properties.
| Equation | Order | Degree |
|---|---|---|
| \(\dfrac{dy}{dx} = x + 1\) | 1 | 1 |
| \(\left(\dfrac{dy}{dx}\right)^3 + y = 0\) | 1 | 3 |
| \(\dfrac{d^2y}{dx^2} + y = 0\) | 2 | 1 |
| \(\left(\dfrac{d^2y}{dx^2}\right)^2 = x\) | 2 | 2 |
How to Classify a DE
Example 1: Classify
Example 2: Nonlinear DE
Example 3: Verify a Solution
Common Mistakes
Summary at a Glance
| Property | Definition | Example |
|---|---|---|
| Differential Equation | Equation with derivatives of an unknown function | \(y' + y = 0\) |
| Order | Highest derivative present | \(y'' \Rightarrow\) order 2 |
| Degree | Power of the highest-order derivative | \((y')^3 \Rightarrow\) degree 3 |
| Linear | \(y\) and derivatives: first power, no products | \(y'' + 3y = x\) |
| Nonlinear | \(y\) or derivatives raised to powers or multiplied | \(y \cdot y' = 1\) |
| Solution | Function that satisfies the DE identically | \(y = Ce^{-x}\) |
Question 1 of 5
What is the order of the differential equation \(\dfrac{d^3y}{dx^3} + 2\dfrac{dy}{dx} = x^2\)?
Question 2 of 5
Which of the following is a nonlinear ODE?
Question 3 of 5
Is \(y = 2e^{5x}\) a solution to \(y' - 5y = 0\)?
Question 4 of 5
The general solution of a second-order ODE typically contains how many arbitrary constants?
Question 5 of 5
What is the degree of the DE \(\left(\dfrac{d^2y}{dx^2}\right)^4 + y' = 3x\)?