Skip to content

What is a Differential Equation?

You’ll learn what makes an equation “differential,” how to classify them, and why direction fields are one of the most useful tools for understanding them. By the end of this lesson you’ll be able to look at a differential equation and immediately understand what it’s asking about the real world.

A differential equation is any equation that contains one or more derivatives. While regular algebra equations ask “what number satisfies this?”, a differential equation asks “what function has this rate of change?”

The simplest example is:

dydx=2x\frac{dy}{dx} = 2x

This equation says the slope of the solution function at any point xx is twice the value of xx. Its solutions are parabolas of the form y=x2+Cy = x^2 + C.

Differential equations are classified in several ways:

  • Order: The highest derivative present (first-order, second-order, etc.)
  • Linear vs Nonlinear: Whether the function and its derivatives appear only to the first power with no products between them
  • Ordinary vs Partial: Whether they involve derivatives with respect to one variable or multiple

One of the best ways to build intuition is with a direction field (also called a slope field). At thousands of points in the plane, we draw a short line segment showing the slope that any solution curve must follow at that point.

The visual above shows the direction field for dydx=x+y\frac{dy}{dx} = x + y. Notice how the little line segments guide the possible solution curves through the plane.

Example 1: Classification

Classify the equation dydx=3x2y\frac{dy}{dx} = 3x - 2y by order and linearity.

Solution: This is a first-order equation because the highest derivative is dydx\frac{dy}{dx}. It is linear because yy and yy' appear only to the first power with no products between them.

Example 2: Writing a Differential Equation

Write a differential equation for the statement: “The rate of change of a population PP is proportional to the population itself.”

Solution: Let P(t)P(t) be the population at time tt. Then:

dPdt=kP\frac{dP}{dt} = kP

where kk is the constant of proportionality.

Example 3: Checking Solutions

Verify that y=e2xy = e^{2x} is a solution to dydx=2y\frac{dy}{dx} = 2y.

Solution: Left side: dydx=2e2x\frac{dy}{dx} = 2e^{2x} Right side: 2y=2e2x2y = 2e^{2x} Both sides match, so it is a solution.

Differential equations are the language of change. In video games they power realistic physics, cloth simulation, water flow, and smooth enemy AI all rely on solving differential equations in real time. In engineering they help design stable bridges and control systems for airplanes. Even your phone’s screen brightness adjustment or the way your GPS predicts arrival time uses ideas from differential equations.

A differential equation must contain:
The equation $y'' + 5y' + 6y = 0$ is what order?
Which of these is a first-order linear differential equation?
What does a direction field show?
The equation $\frac{dP}{dt} = kP$ describes: