Linear Equations
Multiplying by the right function turns the left side into the derivative of a single product, . Once the left side is one derivative, you're back to just integrating both sides.
What the symbols mean
- Integrating factor
Chosen so that μy′ + μpy is exactly (μy)′ by the product rule.
- Constant
Fixed by the initial condition.
Explanation
A linear first-order equation is simply one where and each show up on their own, to the first power: never squared, multiplied together or tucked inside a function. "Linear" because the left side is a combination like , the same shape as in the equation of a line (here the coefficients may depend on ), and "first order" because the highest derivative is . These model anything with a steady input and a loss proportional to how much is there. The formulas look heavy, but they're just three moves: (a helper function, the integrating factor, that we multiply the equation by), (integrate what's left) and (divide the helper back out). Multiply, integrate, divide; bear with it.
In the last unit, equations like were easy because the left side was already a single derivative, so you could just integrate. An equation like doesn't look like that: the term mixes in itself. So what can we do now? Try to make the left side into one derivative.
Why it works. The product rule says . That has the same shape as our left side times , which is . The two match exactly if , and that equation is easy to solve: it gives (no constant needed, since any one that works is enough). After multiplying by , the equation reads , and the right side has no in it, so integrating finishes the job.
A common mistake. In , it's tempting to read off , because that's the number sitting next to . It isn't. The whole trick assumed the coefficient of is , so you have to divide by first, and then . Skip that step and the left side won't collapse into .
Steps:
- Put the equation in standard form ; divide by the coefficient of if necessary.
- Compute .
- Rewrite as and integrate both sides. This is where the goes, so don't forget it.
- Solve for , then apply the initial condition.
See it
Worked examples
Solve , .
- 1
Here , so and the equation becomes .
Solve , .
- 1
Divide by to get standard form: , so .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Solve , .
Solve , .
Find the integrating factor for (for ).
Solve , .
Solve , .
A resistor and a F capacitor, starting uncharged, are connected to a V battery at . The charge obeys . Find in coulombs.
Find the general solution of , where is a function of . Use for the constant.
Find the general solution of . Use for the constant.
Find the general solution of on . Use for the constant.
The hardest one here. Get it, and you've got this lesson.
The solutions of behave very differently depending on . Find the one starting value for which stays bounded as .
Where it's used
Linear first-order equations model anything with a steady input and proportional loss: a drug infusion, a charging capacitor (RC circuit), a lake with a pollutant flowing in and out.