Linear equation: dy/dx + y = x
A dog chases a jogger on a straight path. Wherever the dog starts, it closes in on the jogger's line and then runs beside it.
y = x − 1 + Ce^(−x) y = x - 1 + c e^(-x)
Drag to move · pinch or scroll to zoom · tap to read a point
gap from the line y = x − 1: Ce^(−x)1.1
integrating factor eˣ at P2.72
Step by step
- dy/dx + y = x is linear: y and dy/dx appear only to the first power. Here P = 1 and Q = x.
- Multiply by the integrating factor e^(∫P dx) = eˣ. The left side becomes d(y eˣ)/dx = x eˣ.
- Integrate: y eˣ = (x − 1)eˣ + C, so y = x − 1 + Ce^(−x).
- Move P to the right. The dashed gap Ce^(−x) shrinks: every solution closes in on the line y = x − 1.
- Move C. It sets the gap at x = 0. C = 0 is the line itself.
Try this
- Find the solution through (0, 0). What is C?
- Make the curve start below the line.
- How far right must P go before the gap is less than 0.1 when C = 3?
Practise this
Problems on Differential Equations with checks, marks and help from Sir are on the exam site (sign in). Practise Differential Equations on the exam site →