Euler's Method for Coupled Systems and Second-Order Equations | Applications and Interpretation IB Maths notes
Free preview: Euler's Method for Coupled Systems and Second-Order Equations
Euler's Method for Coupled Systems
Applications and interpretation: HL only (AHL 5.16 and AHL 5.18)
Let's start with a recap. For one equation , Euler's method (previous note) steps forward along the tangent:
Two quantities that affect each other
- Often two quantities change together, and the rate of each depends on both. Rabbits and foxes are the classic example: more rabbits feed more foxes, more foxes eat more rabbits.
- This gives a coupled system of differential equations: and .
- Most coupled systems cannot be solved exactly, so we step forward numerically.
Euler's method for a coupled system
Step both quantities forward at the same time, each with its own gradient:
๐ก In plain words
- New value = old value + step ร rate, for each quantity.
- Both rates are worked out from the old values. Never use the new x to find the new y.
๐ Watch me do it: rabbits and foxes. x hundred rabbits and y hundred foxes, t in years: , , with x = 4, y = 1 at t = 0. Use h = 0.5 to estimate x and y at t = 1.5
| What I write | Why I do it |
|---|---|
| , | Step 1: both rates from the old values (4, 1). |
| , | New value = old value + h ร rate, for each quantity. |
| , | Step 2: the old values are now (4.4, 1.05). |
| , | Keep full values; round only at the end. |
| , (t = 1.5) | Step 3, the same way. |
| After 1.5 years: about 524 rabbits and 123 foxes. | Back to the context: x and y are in hundreds. |
| n | t | x | y |
|---|---|---|---|
| 0 | 0 | 4 | 1 |
| 1 | 0.5 | 4.4 | 1.05 |
| 2 | 1 | 4.818 | 1.1235 |
| 3 | 1.5 | 5.240 | 1.226 |
๐ Here's the trap
- Right: work out both rates from the old values, then update both.
- Wrong: finding first and then using it inside g to find . That is a different (and wrong) method.
โ๏ธ YOUR TURN 1
Try this first:
Use Euler's method with h = 0.2 to estimate x and y at t = 0.4 for , , with x = 1, y = 2 at t = 0.
Answer:
- Step 1: , , so , .
- Step 2: , , so , .
- At t = 0.4: x โ 0.88, y โ 3.32.
โ๏ธ YOUR TURN 2
Try this first:
In the rabbits and foxes example, a student finds and then works out using . What value do they get, and what is wrong?
Answer:
- They get .
- Wrong: both rates must use the old values (4, 1), giving .
Using a Spreadsheet or Your GDC
- By hand, two or three steps are fine. For more, let technology repeat the step for you.
- Exam questions often say "use Euler's method with a step length of 0.1" and expect you to use technology and write down the final values.
On a spreadsheet
Put t, x and y in columns A, B and C. Row 2 holds the start values 0, 4, 1. Then in row 3:
| Cell | Formula | Meaning |
|---|---|---|
| A3 | =A2+0.5 | |
| B3 | =B2+0.5*(0.4*B2-0.2*B2*C2) | |
| C3 | =C2+0.5*(-0.3*C2+0.1*B2*C2) |
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
Log in ยท Subscribe ยท Start free trial
All notes in HL: Differential equations (AHL 5.14โ5.18)
- Solving Separable Differential Equations
- Forming Differential Equations from Rates of Change
- Differential Equations as Models: Interpreting Solutions in Context
- Euler's Method for Coupled Systems and Second-Order Equations
- Euler's Step-by-Step Method and Slope Fields
- Coupled Linear Differential Equations Solved with Eigenvectors
- Phase Portraits and Equilibrium Points
What's inside for this topic
7 teacher notes, 62 practice questions, 40 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Differential Equations as Models: Interpreting Solutions in Context Next note: Euler's Step-by-Step Method and Slope Fields
All Applications and Interpretation IB Maths topics ยท IB Maths