First order linear differential equations
Studying this course? Keep your progress in one place.
Key facts
- Standard form: , with the coefficient of equal to .
- The integrating factor is (no constant needed).
- Multiply every term by : . Integrate, add , then divide by .
- Use a given condition in the general solution to find .
- In mixing problems, .
The integrating factor
Write it in standard form, multiply by the integrating factor , and integrate the product.
A first order linear equation can be written . The integrating factor is . No constant is needed when finding , and it may be quoted without proof.
Multiplying by makes the left side the derivative of a product, . Integrate both sides, remembering the constant , then divide by .
- Multiply by
- 1
Standard form
Make the coefficient of equal to 1
- 2
Find I
- 3
Multiply
Multiply every term by
- 4
Integrate
, adding
- 5
Divide by I
Write in terms of
Worked example
Solve .
- 1
, so .
- 2
Multiply through: .
- 3
Integrate by parts: .
For , what is the integrating factor?
Standard form
Divide every term by the coefficient first, then read off .
The coefficient of must be . Divide every term by the coefficient first.
Useful identities for simplifying the integrating factor: and . When you may write instead of .
- 1
Divide every term by x
dy/dx + (3/x)y = x, so P = 3/x
- 2
Integrate P
∫(3/x) dx = 3 ln x
- 3
Integrating factor
I = e^(3 ln x) = x³
Worked example
Solve for .
- 1
Divide by : .
- 2
.
- 3
So and .
In , what is ?
Trigonometric coefficients
The same method works. Learn and .
These give and . Use the interval given for to remove modulus signs. On , .
Worked example
Solve for .
- 1
.
- 2
So .
- 3
Integrate: .
For with , what is ?
Particular solutions
Find the general solution first, then substitute the condition to find .
Use a given condition to find after you have the general solution.
The decaying term vanishes as , so for large . This long-term behaviour is the same for every value of .
Worked example
Solve with when .
- 1
The general solution is .
- 2
Substitute , : , so .
In , what does approach for large ?
Mixing and rates
Use , where the outflow concentration is .
Many problems have the form .
In evaluation, comment on the long-term value (inflow concentration times the volume) and on model assumptions such as instant uniform mixing.
Worked example
A tank holds litres of pure water. Brine with kg per litre enters at litres per minute, and the stirred mixture leaves at the same rate. Find the mass of salt at time .
- 1
Rate in kg per minute.
- 2
Rate out , so .
- 3
, so .
- 4
With at : .
In the tank example, what mass of salt is approached for large ?
Try an exam question
Find the general solution of for .
[4 marks]
- [1]Divides by : .
- [1]Integrating factor .
- [1], so .
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the integrating factor.
1 mark, marked against the mark scheme
Find the integrating factor.
1 mark, marked against the mark scheme