Linear Differential Equation
Ever wondered how scientists model population growth or how a hot cup of coffee cools down? The secret lies in a special type of math equation that describes change. Welcome to the world of linear differential equations, a powerful tool for understanding the world around us.

What Is a Linear Differential Equation?
A linear differential equation is an equation that connects a function with its derivatives in a linear way. That might sound like a mouthful, but let's break it down. You're already familiar with equations like
Think about it this way:
- Equation: It has an equals sign, connecting two mathematical expressions.
- Differential: This part means it involves a special kind of rate called a derivative. A derivative is just a precise way of talking about slope or how fast something is changing at any given moment. If you think of your position on a road trip, your derivative is your speed on the speedometer.
- Linear: This is a crucial word. It means the function (let's call it
) and its derivatives (like or ) are not squared, cubed, or multiplied by each other. They behave like variables in a simple line equation, , with no tricky exponents.
So, a linear differential equation is a relationship that describes how the rate of change of a quantity is connected to the quantity itself, in a straightforward, non-complicated way.
Understanding the Building Blocks: What's a Derivative?
The heart of a differential equation is the derivative. The most common symbol for a derivative is
Let's use an example you already know: the equation of a line,
This equation tells us that the rate of change of
For a curve, like
What Makes a Differential Equation 'Linear'?
The term "linear" is very specific. It means that the variable representing our unknown function (we'll call it
The standard form for a first-order (meaning it only has the first derivative) linear differential equation is:
Here's what each part means:
is the first derivative of the unknown function . is a function that only involves . It's the coefficient of . is the unknown function we are trying to find. is another function that only involves . It's the term on the other side of the equation.
Let's see what's linear and what isn't with a table:
| Example Equation | Is it Linear? | Reason |
|---|---|---|
| Yes | It perfectly fits the form | |
| Yes | We can divide by | |
| No | The | |
| No | The function |
For the rest of this lesson, we will focus only on solving the linear ones!
How Do You Solve First-Order Linear Equations?
Solving a linear differential equation means finding the function
The process involves a special function called the integrating factor, usually denoted
Here is the step-by-step recipe:
- Standard Form: Make sure your equation is in the standard form:
. You must isolate . - Find P(x): Identify the function
that is being multiplied by . - Calculate Integrating Factor
: The formula for the integrating factor is:I(x) = e^{\int P(x) dx}This means you find the integral (or antiderivative) of , and then make that the exponent of . Don't worry about the constant of integration ( ) for this step. - Multiply: Multiply every term in the standard form equation by your integrating factor
. - Simplify and Integrate: The left side of your new equation will always simplify to
. So your equation becomes . Now you can integrate both sides with respect to . - Solve for y: After integrating, you'll have
. The final step is to divide by to get by itself. This time, you absolutely must include the constant of integration, .
Let's see it in action.
Solve the differential equation
Step 1: Standard Form. The equation is already in standard form
Step 2: Find P(x). Comparing our equation to the standard form, we see that
Step 3: Calculate Integrating Factor. We use the formula
Step 4: Multiply. We multiply the entire original equation by
Step 5: Simplify and Integrate. The left side is now the derivative of
Step 6: Solve for y. To get
How to Handle a More Complex Example
The previous example was straightforward because
Solve the differential equation
Step 1: Standard Form. The equation is not in standard form because of the
Step 2: Find P(x). From the standard form, we can see that
Step 3: Calculate Integrating Factor. We need to find
Step 4: Multiply. Multiply the standard form equation by
Step 5: Simplify and Integrate. The left side is
Step 6: Solve for y. Multiply by

Where Are These Used? A Real-World Example
Differential equations are essential in science and engineering. One classic example is Newton's Law of Cooling, which describes how an object's temperature changes over time.
The law states that the rate of change of an object's temperature is proportional to the difference between its own temperature and the temperature of its surroundings. We can write this as a differential equation:
Where
A pie is taken out of an oven at
Step 1: Get into Linear Form. First, distribute the
Step 2: Find the Integrating Factor.
Step 3: Multiply and Solve. Multiply the linear form by
Step 4: Isolate T. Divide by
Common Mistakes to Avoid
- Forgetting the Constant of Integration (C): This is the most common mistake. Every time you perform an indefinite integration, you must add
. This constant is what gives you the general solution. Without it, you only have one of infinitely many possible answers. - Incorrectly Identifying P(x): Always make sure the equation is in standard form
before you identify . If you have , you must divide the whole equation by 3 first. The coefficient of includes the sign, so if you have , then . - Errors in Integration: The method relies on correctly integrating
to find the integrating factor and later integrating . Be careful with your integration rules, especially for logarithms and exponential functions. - Logarithm/Exponent Rule Mistakes: Remember that
and . These are crucial for simplifying the integrating factor after you integrate . - Applying Initial Conditions Too Early: You must find the full general solution (with the
) before you plug in the initial conditions to solve for .
Quick Reference Guide
Here's a quick summary of the key steps for solving a first-order linear differential equation.
1. The Goal: Find the function
2. The Method: Integrating Factor
- Standard Form: Write the equation as
. - Find P(x): Identify the coefficient of the
term. - Find Integrating Factor
: Calculate . - Multiply: Multiply the standard form equation by
. - Recognize and Integrate: The equation becomes
. Integrate both sides. - Solve for y: Isolate
and don't forget the constant of integration, .
3. Key Formulas:
- Standard Form:
- Integrating Factor:
- After Multiplying:
Frequently Asked Questions
Is this calculus? It seems complicated for my grade level.
Yes, this topic is part of calculus. This lesson is a gentle introduction to the ideas, connecting them to algebra concepts you already know like slope and equations. We focus on the 'why' and 'how' without getting lost in complex theory.
What does the constant 'C' in the solution mean?
The constant of integration, 'C', represents a whole family of possible solution curves. To find a single, specific solution, you need an 'initial condition'—a known point
Why is it called a 'differential' equation?
It's named after the 'differentials' (like
Can a differential equation have more than one derivative?
Absolutely! An equation involving the second derivative (
Do I always have to use the integrating factor method?
No. For some simpler linear differential equations, a method called 'separation of variables' works and can be faster. However, the integrating factor method is more powerful because it can solve any first-order linear differential equation, which is why we focus on it.
What's the difference between P(x) and p(x)?
In mathematics, capitalization can sometimes be important, but in this context,
Are there non-linear differential equations?
Yes, many! Non-linear differential equations are those where the function or its derivatives are squared, multiplied together, or inside another function (like