13.1 Introduction to Differential Equations
OCR A-level Maths Year 2 · H240 · Chapter 13: Differential Equations
What is in the full lesson (8 activities)
Every item below opens free in the course.
- Video: Solving Differential Equations example 1
- Video: Solving Differential Equations example 2
- Notes: Lesson notes: Introduction to Differential Equations
- Interactive lesson: Interactive lesson: Differential Equations Lab
- Interactive lesson: Interactive practice: Differential Equations Practice
- Practice questions: Practice questions (8 questions, 14 marks)
- Worksheet: Worksheet: Introduction to Differential Equations
- Answers: Answers and mark scheme of the Worksheet: Introduction to Differential Equations
A free OCR A-level Maths Year 2 lesson for OCR A Level Mathematics A (H240) from OBA School: what a differential equation is, general and particular solutions, and writing equations from rates (OCR H240: 1.07t). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Check that a given function satisfies a differential equation
- Solve equations of the form dy/dx = f(x) by integrating, giving the general solution
- Use a boundary condition to find a particular solution, and interpret the family of solution curves
- Construct a differential equation from a statement about a rate of change, including "proportional to"
Key words
- Differential equation: An equation that contains a derivative such as dy/dx or dN/dt.
- General solution: A solution containing an arbitrary constant c; it describes a whole family of curves.
- Particular solution: The single member of the family that fits a given condition.
- Boundary (initial) condition: A known pair of values, such as y = 5 when x = 0, used to find c.
- Proportional to: "The rate is proportional to N" means dN/dt = kN for a constant k.
What is a differential equation?
A differential equation links a function with one or more of its derivatives. Solving it means finding the function itself. To check a proposed solution, differentiate it and substitute into both sides.
Worked example: verifying a solution
Show that y = 3e²ˣ is a solution of dy/dx = 2y.
dy/dx = 6e²ˣ and 2y = 2 × 3e²ˣ = 6e²ˣ.
Answer: both sides are equal for every x, so y = 3e²ˣ is a solution
Worked example: a solution with an unknown constant
Show that y = Ae⁻ˣ + x − 1 satisfies dy/dx + y = x for every constant A.
dy/dx = −Ae⁻ˣ + 1, so dy/dx + y = −Ae⁻ˣ + 1 + Ae⁻ˣ + x − 1 = x
Answer: true for all A: this is the general solution
General and particular solutions
If dy/dx = f(x), integrate both sides: y = ∫ f(x) dx. The constant of integration means there are infinitely many solutions, all with the same shape but translated vertically. A boundary condition picks out one of them.
Worked example: finding the particular solution
Find the particular solution of dy/dx = 2x − 2 that passes through (3, 4).
General solution: y = x² − 2x + c. Substitute x = 3, y = 4: 4 = 9 − 6 + c, so c = 1.
Answer: y = x² − 2x + 1
Worked example: an exponential
Solve dy/dx = 6e³ˣ − 4, given that y = 7 when x = 0.
y = 2e³ˣ − 4x + c. x = 0: 7 = 2 + c, so c = 5.
Answer: y = 2e³ˣ − 4x + 5
Rearranging before integrating
Sometimes the derivative is multiplied by a function of x. Divide through first so that dy/dx is on its own, simplify, and then integrate. Watch for a logarithm when you divide.
Worked example: dividing by x
Find the particular solution of x(dy/dx) = 3x² + 2, x > 0, with y = 2 when x = 1.
dy/dx = 3x + 2/x, so y = 3x²/2 + 2 ln x + c
x = 1: 2 = 3/2 + 0 + c, so c = 1/2
Answer: y = (3/2)x² + 2 ln x + 1/2
Worked example: spotting a logarithm
Solve (x² + 1)(dy/dx) = 2x, given y = 3 when x = 0.
dy/dx = 2x/(x² + 1): the top is the derivative of the bottom, so y = ln (x² + 1) + c, and c = 3.
Answer: y = ln (x² + 1) + 3
Constructing differential equations
Many models start with a sentence about a rate of change. Translate it word by word: "rate of change of N" is dN/dt, "proportional to" means "equals a constant times", and "decreasing" needs a minus sign (with k > 0).
- The population N grows at a rate proportional to N; Differential equation dN/dt = kN
- The mass m decreases at a rate proportional to the square of m; Differential equation dm/dt = −km²
- The temperature T falls at a rate proportional to its excess over 20 °C; Differential equation dT/dt = −k(T − 20)
- The volume V decreases at a rate inversely proportional to t; Differential equation dV/dt = −k/t
Worked example: using a connected rate
The area A of a circular stain increases at a rate inversely proportional to its radius r. Show that dr/dt = k/r² for some constant k.
dA/dt = c/r and A = π r², so dA/dt = 2π r(dr/dt)
2π r(dr/dt) = c/r, so dr/dt = c/(2π r²)
Answer: dr/dt = k/r² with k = c/2π
Worked example: finding the constant from data
A particle slows down so that dv/dt = −kv. When v = 8 m/s, the deceleration is 2 m s⁻². Find k.
−2 = −k × 8
Answer: k = 0.25, so dv/dt = −0.25v
Common mistakes
- Leaving out the constant of integration, so the general solution is incomplete.
- Substituting the boundary condition into dy/dx instead of into the integrated equation.
- Integrating before dividing through: x(dy/dx) = 3x² + 2 does not give xy = x³ + 2x + c.
- Missing the minus sign for a quantity that decreases, or writing "proportional to" without a constant k.
- Mixing up variables: a rate "with respect to time" needs a derivative with respect to t.
Revision questions
Try these, then check your answers below each one.
Question 1. Which is the general solution of dy/dx = 6x²? (Choose from: y = 2x³ + c; y = 2x³; y = 12x + c; y = 6x³ + c.)
Answer: y = 2x³ + c
Working: y = ∫ 6x² dx = 2x³ + c. Without c it is only one particular solution.
Question 2. The particular solution of dy/dx = 4x − 3 through (2, 5) is y = 2x² − 3x + c. Find c.
Answer: 3
Working: 5 = 8 − 6 + c, so c = 3.
Question 3. y = e⁻²ˣ is a solution of dy/dx + 2y = 0.
Answer: True
Working: True. dy/dx = −2e⁻²ˣ and −2e⁻²ˣ + 2e⁻²ˣ = 0.
Related lessons
- Previous lesson: 12.4 More Complicated Areas
- Next lesson: 13.2 Separable Differential Equations
- In this chapter: 13.3 Modelling with Differential Equations
Continue in the full course
This lesson is section 13.1 of our free OCR A-level Maths Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.
Continue lesson 13.1 in the free course →