First-order differential equations
Linear first-order equations: the integrating factor 4.10
- Linear first-order equation: one that can be written .
- Integrating factor: , chosen so that .
- General solution: the family of all solutions, containing an arbitrary constant. A particular solution is the member fixed by a boundary condition.
- Multiplying by gives , so .
- This works because I'=PI, so the product rule gives (Iy)'=Iy'+PIy exactly.
- Divide through so the coefficient of is 1, and read off .
- Find and simplify it: , .
- Write , integrate, and include the constant before dividing by .
- Apply the boundary condition last, to the whole solution.
- No constant is needed in : it would only multiply by a constant that cancels.
- The constant of integration must be added before dividing by . Writing and adding at the end loses the term , which is the whole family of curves on the sheet.
- If the equation is also separable, either method works. If it is neither, the question will give a substitution that turns it into one of the two.
Choosing a method and using substitutions 4.10
- Separable: gives .
- Linear: , solved with an integrating factor.
- A given substitution, such as or , changes the dependent variable so that the new equation is separable or linear.
- For a substitution : differentiate with the product rule, , then replace both and so that only and remain.
- Solve for , then substitute back to give in terms of .
- When separating, dividing by can lose a constant solution with . Check whether it is needed.
- Always state the final answer in the requested form: explicit if asked for, not an implicit relation.
Worked examples
Worked example
Solve:
for , given that when .
Show worked solution
Divide by :
so:
and .
Then:
so:
At :
Hence:
Worked example
Solve:
given that when .
Show worked solution
, so:
and:
giving:
From ,
Second-order linear differential equations
Homogeneous second-order equations 4.10
- Homogeneous: , with constants , , .
- Auxiliary equation: , found by trying .
- Distinct real roots , : .
- Repeated root : .
- Complex roots : .
- Purely imaginary roots : , the special case .
- Write down the auxiliary equation and compute to identify the case.
- Write the general solution with two arbitrary constants.
- Use two conditions, usually and at , to find and .
- A second-order equation needs exactly two arbitrary constants. A repeated-root answer alone is incomplete.
- The complex case follows from ; real combinations of the two give the cosine and sine terms.
- In the sheet's example the sign of decides the behaviour: oscillates, is critical, creeps back.
Non-homogeneous equations: complementary function and particular integral 4.10
- Complementary function (CF): the general solution of the related homogeneous equation.
- Particular integral (PI): any one solution of the full equation ay''+by'+cy=f(x).
- General solution = CF + PI. The CF carries both arbitrary constants; the PI has none.
- Standard trial functions: for a polynomial of degree , a general polynomial of degree ; for , ; for or , .
- Find the CF first, because it decides the trial function.
- If the trial function, or part of it, already appears in the CF, multiply it by . If that also appears (a repeated root), multiply by .
- Substitute the trial function into the full equation and compare coefficients.
- Add CF and PI, then apply the initial conditions to the complete solution.
- Applying initial conditions to the CF before adding the PI is a common and costly error.
- For a trigonometric include both and in the trial, even if has only one. The y' term mixes them.
Worked examples
Worked example
Find the general solution of:
Show worked solution
CF: gives , so:
PI: try ; then:
so and , .
General solution:
Worked example
Find the general solution of:
Show worked solution
CF:
so:
The trial is in the CF, so try :
Substituting,
so .
General solution:
Simple harmonic motion and damping
Simple harmonic motion 4.10
- Simple harmonic motion (SHM): motion in which the acceleration is proportional to the displacement from a fixed point and directed towards it, .
- General solution: , equivalently with amplitude .
- Period , independent of the amplitude.
- Speed: , so the maximum speed is at .
- Maximum acceleration , at .
- Show a motion is SHM by deriving an equation of the form from Newton's second law, measuring from the equilibrium position.
- Use for speed questions and the explicit solution for timing questions.
- follows from writing and integrating, a useful derivation to know.
- Set the calculator to radians for any question involving .
Damped and forced oscillations 4.10
- Damping: a resistance proportional to velocity, giving with .
- Forcing: an external driving term on the right, .
- Heavy damping (): distinct real negative roots; no oscillation.
- Critical damping (): a repeated root; the fastest return without overshoot.
- Light damping (): complex roots; oscillation inside a decaying exponential envelope.
- With damping, the CF decays to zero, so in the long term the motion is the PI: the steady state.
- Form the equation from Newton's second law, with resistance and restoring forces opposite to velocity and displacement.
- Divide by the mass, classify with the discriminant, then solve as for any second-order equation.
- With and every CF term decays, whichever case applies; a growing solution signals a sign error in the model.
- When asked about long-term behaviour, say which terms vanish and why, then describe the PI.
Worked examples
Worked example
A system satisfies:
starting at rest with .
Find in terms of and describe the long-term motion.
Show worked solution
CF: gives , so:
PI: .
So:
gives .
gives:
Hence:
As , , so the oscillation dies away and , as on the sheet.
Worked example
A particle moves with SHM of amplitude 0.5 m and period s.
Find its greatest speed and its speed when 0.3 m from the centre.
Show worked solution
Greatest speed:
At :
so .
Systems of first-order equations
Coupled first-order systems 4.10
- Coupled system: two first-order equations in which the rate of change of each variable depends on both, such as , .
- Rearrange one equation for the variable to be eliminated, here .
- Differentiate the first equation: from , .
- Substitute for and then to obtain a second-order equation in alone, and solve it.
- Find from the rearranged equation, not by solving a second differential equation, so no extra constants appear.
- Coupled systems model predator and prey, competing species, mixing tanks and connected circuits.
- The final answer has exactly two arbitrary constants, shared between and .
Worked example
Worked example
Solve , , given that and when .
Show worked solution
From the first equation .
Differentiating it:
so:
and:
Then:
From : and:
so , .
Hence , .
Per disputationem veritatem quaerimus