Differential equations AI HL
A differential equation links a quantity to its rate of change, and the question decides the tool: separate the variables when an exact solution is wanted, use Euler's method when an approximate value is wanted, read a slope field to see the gradient at a point, and use the eigenvalues of a coupled system to describe where its solutions go. The calculator does the arithmetic and finds the eigenvalues, so the marks are for setting the equation up, choosing the method and interpreting the result. Work through the sections in order, because the later sections use the gradient function from the first.
Formulas at a glance
Euler's method (for one equation and for a coupled pair), the exact solution of a coupled linear system and the percentage error formula are in the formula booklet. Separation of variables and the eigenvalue rules for phase portraits are not, so learn them.
Separation of variables
Not in the bookletGrowth or decay proportional to the amount
Not in the bookletEuler's method, one equation
In the bookletEuler's method, coupled system
In the bookletPercentage error of an estimate
In the bookletExact solution of a coupled linear system with distinct real eigenvalues
In the bookletWhich method to use
Look at what the question asks for: an exact formula, an approximate value, the gradient at a point, or the long-term behaviour of a pair of equations.
| The question has | Use | Notes |
|---|---|---|
| A rate of change proportional to a quantity, or an equation where the right side splits into an part times a part, and an exact solution is wanted | Separate the variables, integrate both sides, then use the starting values to find the constant | A general solution has a constant; a starting value turns it into a particular solution |
| An equation , a starting point and a step size, and an approximate value is wanted | Euler's method: and | Use the gradient at the point you are leaving, not the point you are reaching |
| A pair of equations for and with starting values and a step size | Euler's method on both variables, adding to each step | Both new values come from the old values of , and |
| A slope field, and the gradient at a point, or whether is increasing or decreasing | Substitute the coordinates of the point into | The sign of the result gives the direction; no solving is needed |
| A request for constant solutions or for where the segments are horizontal | Solve , with the calculator's equation solver if needed | Check the sign of the gradient either side to decide whether solutions move towards or away |
| , and a question on the type or stability of the equilibrium | Find the eigenvalues of the matrix of coefficients with the calculator, then apply the eigenvalue rules | Real with different signs gives a saddle point; complex gives a spiral; imaginary gives a circle or ellipse |
| The same system with real distinct eigenvalues and a particular solution wanted | The exact solution from the booklet, with the eigenvalues and eigenvectors from the calculator | Use the starting values to find the constants and |
Section 1 of 4 AHL5.14
Separable differential equations
A first-order differential equation is separable when it can be written as , so the terms can be moved to one side and the terms to the other. Integrate each side, then use an initial condition to find the constant. It covers general and particular solutions and growth models.
The method
There is no formula-booklet entry for this - it's a technique you apply, not a formula you look up.
Separate
Every (and ) moves to one side, every (and ) to the other, before either side is integrated.
Solve for the constant
General solution substitute a given point particular solution
A general solution has an unknown constant . An initial condition such as turns it into one specific, particular solution.
Key terms
What is a general solution?
A general solution contains an arbitrary constant, so it describes a whole family of curves. Each value of the constant gives one curve in the family.
e.g. The general solution of is .
What is a particular solution?
A particular solution has a specific value of the constant, found by substituting an initial condition into the general solution.
e.g. For with , substituting gives , so .
What does separating the variables mean?
It means rearranging by multiplying and dividing so that every term and is on one side, and every term and is on the other.
e.g. becomes .
How do you write "proportional to" as a differential equation?
If the rate of change of a quantity is proportional to , then , where is a constant. The sign of shows whether the quantity grows or decays.
e.g. If the growth of algae is proportional to , then with .
Worked example, step by step
The question Calculator needed [6 marks]
The mass mg of a drug in a patient's bloodstream, hours after an injection, decreases at a rate proportional to , so that The mass is 80 mg at and 50 mg at .
(a) Solve the differential equation to show that .
(b) Find the value of .
(c) Find the time, in hours, taken for the mass to fall to 20 mg.
Worked solution: worked example
Answer: (a) (b) (c) hours
Step 1 - Separate the variables and integrate.
Move every term to one side and every term to the other: The mass is positive, so no modulus is needed. M1 - Separate the variables and integrate both sides to
Why? The equation has the form " terms times equals terms times ", so it is separable. The constant of integration is written in straight away.
Step 2 - Use the starting value.
At , , so and . Then A1 - Use at to reach
Why? The starting value turns the general solution into the particular solution, and this is the form the question asked for.
Step 3 - Find .
Substitute and : , so and On the calculator, enter on the home screen and store the unrounded result. M1 - Substitute and and solve for A1 -
Why? Taking natural logarithms undoes the exponential. Keep the unrounded value of for the next part, so that rounding does not build up.
Step 4 - Find the time to reach 20 mg.
Set , so and Alternatively, graph and and read the intersection. M1 - Set with their A1 - hours
Why? Using the stored value of gives . The rounded value would give , which is why the unrounded value is kept.
Step 5 - Check.
At , mg, and at the mass is mg.
Why? Both given values are reproduced, and the mass falls over time, as a model with should.
M1 Separate the variables and integrate both sides to
A1 Use at to reach
M1 Substitute and and solve for
A1
M1 Set with their
A1 hours
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 14 marks
Calculator steps: Solve an equation numerically (including multiple solutions)
Common mistakes
- Dropping the constant of integration. Every separable equation needs a written in as soon as you integrate - without it there's nothing for the initial condition to solve for, and you can't reach a particular solution.
- Forgetting the modulus in . When is integrated the result is , not . Dropping the absolute value can quietly produce a solution that's undefined for the values you actually need.
- Splitting the exponential wrongly. From , the next line is , not . Substituting the starting value straight after integrating, as in the worked example, finds before this step and avoids the slip.
Section 2 of 4 AHL5.16
Euler's method
Euler's method approximates the solution of by stepping along the tangent line at each point. From a known starting point, increase by the step size , add times the current gradient to , and repeat. It covers the update formulas, coupled systems and how the step size affects accuracy.
The update-step formula
Spreadsheets or lists should be used to generate approximate solutions; in exams, values are generated using permitted technology.
Euler update step
This is in the formula booklet. is the step size and is the gradient at the current point, the one you are stepping from, not the point you are stepping to.
Comparing to an exact solution
This formula is in the formula booklet. It is useful when a question asks how good an Euler estimate is, with the exact solution as the true value.
Key terms
What is the step size?
The step size is the fixed amount by which increases at each step. A smaller needs more steps to cover the same interval.
e.g. Going from to with takes steps.
What is the starting point in Euler's method?
The starting point comes from the initial condition given in the question. Every later value is built from it.
e.g. The condition gives and .
How do you update x at each step?
Add the step size to the previous value: . This is done alongside the update of , and the new is used in the next gradient.
e.g. With and , the values are and .
How is Euler's method used for a coupled system?
Each variable is updated using its own rate of change, and every rate is calculated from the old values. Time also increases by at each step.
e.g. For and with , , : and .
Worked example, step by step
The question Calculator needed [6 marks]
The populations of rabbits and foxes in a woodland are modelled by where and are the numbers of rabbits and foxes in hundreds and is the time in years. At , and .
Use Euler's method with step size to estimate and when .
Worked solution: worked example
Answer: and
Step 1 - Write the update steps.
For a coupled system both variables are updated from the old values, and goes up by : Here and .
Why? The booklet gives these steps. Going from to with takes steps.
Step 2 - First step, from to .
With and : So M1 - Substitute and into both Euler updates A1 - A1 -
Why? Both gradients use and . Neither new value is used until the step is complete.
Step 3 - Second step, from to .
With and : So On the calculator, enter each right-hand side on the home screen using the stored values, or fill a list or spreadsheet row by row. M1 - Use and in both updates for the second step A1 - A1 -
Why? The second step starts from the values just found. Using and again is the commonest mistake in a coupled system.
Step 4 - State the estimates.
At , (about 433 rabbits) and (about 245 foxes). Both populations are rising, which agrees with both gradients being positive at the start.
Why? Euler's method is an approximation, because each gradient is treated as constant across a whole step. A smaller step size would give a closer estimate.
M1 Substitute and into both Euler updates
A1
A1
M1 Use and in both updates for the second step
A1
A1
Now you try: enter your answers to be marked
Find the approximate value of after one step.
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 9 marks
Calculator steps: Enter a calculation on the home screen, Step a recurrence forward (loans, Markov, growth)
Common mistakes
- Using the updated -value too early. Each step evaluates using the value from the previous step, not a value you've already updated within the same step.
- Losing track of as well as . increases by at every step too - forgetting to update it means you evaluate the gradient at the wrong point on the second and later iterations.
- Rounding intermediate values too early. Carry full precision through each step and only round the final answer - rounding before computing compounds the error over multiple steps.
Section 3 of 4 AHL5.15
Slope fields
A slope field is a diagram of short line segments, each showing the gradient at one point of a grid. Substitute the coordinates of a point into to get the gradient there, then follow the segments to see where a solution goes. It covers reading and interpreting slope fields.
Reading a slope field
Students will be required to use and interpret slope fields. There's no booklet formula to learn here - the skill is substitution and reading a diagram.
Gradient at a point
Substitute the coordinates of any point into - the result is the gradient of the tangent segment drawn there, whether or not you can solve the equation itself.
Following a solution curve
Start at the given initial point and move along the segments, so that the path stays tangent to the local segments at every point it passes through.
The path flows with the direction of the segments and never cuts across one at an angle.
Key terms
What is a solution curve?
A solution curve is a curve that touches the segments of the slope field along its whole length. Different starting points give different solution curves.
e.g. For , both and follow the same slope field.
What does a horizontal segment mean?
A horizontal segment means the gradient is zero, so at that point. Solving locates all such points.
e.g. For , the segments are horizontal where , such as at .
What is an equilibrium solution?
An equilibrium solution is a constant solution for which at every . In the slope field it is a horizontal line of horizontal segments.
e.g. For , the equilibrium solutions are and .
How do you draw a slope field?
Choose a grid of points, substitute each into , and draw a short segment with that gradient. Large positive values give steep upward segments, and negative values slope downwards.
e.g. For , the gradient is at , at and at .
Worked example, step by step
The question Calculator needed [6 marks]
The population thousand of a species in a reserve, years after monitoring begins, satisfies A slope field for this equation has a short segment at each grid point , with gradient .
(a) Find the gradient of the segment at the point where and .
(b) Find the values of for which every segment is horizontal.
(c) At , . Describe how changes as increases, giving a reason.
Worked solution: worked example
Answer: (a) (b) and (c) increases towards thousand
Step 1 - Find the gradient at the point.
The gradient depends only on , so substitute : The value of is not needed. M1 - Substitute into A1 -
Why? The segment at a point has the gradient of the equation at that point. Every segment on the same horizontal line of the grid is parallel, because does not appear.
Step 2 - Find where the segments are horizontal.
A horizontal segment has gradient zero, so solve , which gives The calculator's equation solver gives the same two values. M1 - Set the gradient equal to zero A1 - and
Why? The product is zero when a factor is zero. These two values of are the constant solutions, where the population does not change.
Step 3 - Decide the direction of change.
For , both and are positive, so the gradient is positive. At the gradient is , so is increasing. R1 - The gradient is positive for , so increases
Why? The sign of the gradient on the row of the grid where the solution starts shows whether the solution rises or falls.
Step 4 - Describe the long-term behaviour.
The segments are horizontal at , so the solution cannot cross that row. It rises, with a gradient that shrinks as approaches 6, and so increases towards 6 thousand without exceeding it. A1 - increases towards thousand and does not exceed it
Why? Solutions follow the segments, and a solution cannot cut across a row of horizontal segments. The population levels off at the constant solution above its starting value.
M1 Substitute into
A1
M1 Set the gradient equal to zero
A1 and
R1 The gradient is positive for , so increases
A1 increases towards thousand and does not exceed it
Now you try: enter your answers to be marked
Find the value of at the point .
Worked solution: practice question 1
Worked solution: practice question 2
Use Euler's method with step size .
Worked solution: practice question 3
Your score so far: 0 out of 9 marks
Calculator steps: Solve an equation numerically (including multiple solutions)
Common mistakes
- Substituting and the wrong way round. A point is written - swapping the coordinates before substituting into gives a gradient for the wrong point entirely.
- Treating the slope field as the solution curve itself. The diagram only shows local gradients; the actual solution through a given point is the path you get by following those segments, and different starting points give different paths.
- Ignoring the sign of the gradient. A positive gradient segment slopes up to the right and a negative one slopes down to the right, so the sign tells you whether is increasing or decreasing at that point, not just how steep the segment is.
Section 4 of 4 AHL5.17
Phase portraits and coupled differential equations
A phase portrait is a diagram in the -plane showing the paths followed by a coupled linear system , as time passes. The eigenvalues of the coefficient matrix decide whether paths move towards the origin, away from it, or loop around it. It covers classifying the equilibrium and describing the paths that solutions follow.
Reading stability from eigenvalues
These rules are not booklet entries: you apply them after finding the eigenvalues of the coefficient matrix. For real distinct eigenvalues the booklet does give the exact solution, in the formulas at the top of the page.
The system
Write the coefficients as a matrix and find its eigenvalues - they alone determine the shape and stability of the origin's equilibrium.
Stability rules
Positive, or complex with positive real part: all solutions move away from the origin. Negative, or complex with negative real part: all solutions move towards the origin. Complex: the solutions form a spiral. Imaginary: the solutions form a circle or ellipse, and the origin is then called a centre. Real with different signs (one positive, one negative): the origin is a saddle point.
Only the sign of a real eigenvalue, or of the real part of a complex one, decides whether solutions move towards the origin or away from it. The systems in the syllabus have distinct, non-zero eigenvalues.
Key terms
What is a phase portrait?
A phase portrait draws trajectories, the paths traced by the point as increases. Arrows show the direction of motion along each path.
e.g. The solution , traces a straight path towards the origin.
What is an equilibrium point?
An equilibrium point is a point where both rates of change are zero, so the system stays there. For a linear system of this form, the origin is an equilibrium point.
e.g. For and , the origin is an equilibrium because both rates are there.
What does stable mean?
An equilibrium is stable if trajectories move towards it as increases, and unstable if they move away from it. The signs of the eigenvalues, or of their real parts, decide which.
e.g. Eigenvalues and are both negative, so trajectories approach the origin and it is stable.
What is a saddle point?
A saddle point occurs when the eigenvalues are real with opposite signs. Trajectories approach along one direction and leave along another, so a saddle point is unstable.
e.g. Eigenvalues and give a saddle point at the origin.
Worked example, step by step
The question Calculator needed [6 marks]
Two quantities and , measured as differences from an equilibrium level, change with time according to
(a) Write the system in the form and find the eigenvalues of .
(b) Classify the equilibrium at the origin and state whether it is stable.
(c) The system has two straight-line trajectories through the origin. Find the gradient of the one along which solutions move away from the origin.
Worked solution: worked example
Answer: (a) and (b) saddle point, unstable (c) gradient
Step 1 - Write the matrix.
The coefficients give The rows come from the equations for and , and the columns from and .
Why? The eigenvalues of this matrix decide the behaviour of the origin. Entering the matrix on the calculator is the first step.
Step 2 - Find the eigenvalues.
Use the calculator's eigenvalue function on , or solve . The eigenvalues are M1 - Use the matrix to find the eigenvalues A1 - and
Why? The trace is and the determinant is , so the equation is , which gives the same two values and so checks the calculator.
Step 3 - Classify the equilibrium.
The eigenvalues are real with different signs, one positive and one negative, so the origin is a saddle point. It is unstable, because the solutions along the direction of the positive eigenvalue move away from the origin. R1 - The eigenvalues are real and of opposite signs A1 - Saddle point, unstable
Why? Real eigenvalues of opposite signs give a saddle point. A saddle point is always unstable, because one eigenvalue is positive.
Step 4 - Find the direction for .
Solve , or read the eigenvector from the calculator. The first row gives , so an eigenvector is . The gradient of the line is M1 - Find the eigenvector for A1 - Gradient
Why? Along the eigenvector for the solutions grow like , so this is the line the solutions leave along. The second row, , gives the same direction, which checks the calculation.
M1 Use the matrix to find the eigenvalues
A1 and
R1 The eigenvalues are real and of opposite signs
A1 Saddle point, unstable
M1 Find the eigenvector for
A1 Gradient
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 8 marks
Calculator steps: Eigenvalues and eigenvectors
Common mistakes
- Judging stability from the eigenvalues themselves, not their sign. A larger-magnitude eigenvalue doesn't mean "more unstable" - only the sign (or, for complex pairs, the sign of the real part) decides stable versus unstable.
- Forgetting the imaginary case. Imaginary eigenvalues give a circle or ellipse round a centre at the origin: solutions neither approach the origin nor leave it. Don't lump this in with the spiral case, where the real part is not zero.
- Mixing up the directions at a saddle point. Solutions move towards the origin along the eigenvector for the negative eigenvalue and away from it along the eigenvector for the positive one. Swapping them reverses the whole picture.
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Enter a calculation on the home screen
Used in: Euler's method
How to enter a calculation on a TI-84 Plus CE
Type a calculation and press enter | |
Go to the home screen: press 2nd mode (QUIT) from any menu or app. Press clear if the entry line is not empty. |
|
Type the calculation as you would write it, then press enter. For press 3 ( 2 . 4 ) x² − 5 × 1 . 8 enter. The calculator understands a number next to a bracket as a multiplication, so × is not needed in . If a fraction, square root or power template is on the screen, press ▶ to move out of it before you carry on typing. |
3(2.4)²-5*1.8 8.28 |
Use the last answer in the next calculation | |
To increase the answer by 15%, press × 1 . 1 5 enter on a blank line. The calculator puts Ans, the last answer, in front of the operator for you. You can also type Ans yourself, anywhere in a calculation: press 2nd (−) (ANS), for example 2nd (−) (ANS) × 1 . 1 5 enter. , which is to 3 significant figures. |
Ans*1.15 9.522 |
To use an earlier entry or answer, press ▲ to move up through the history, then enter to paste the highlighted one on the entry line. Press 2nd enter (ENTRY) to bring back your last entry and change it. |
|
Ans always holds the last answer that was worked out, so if you do a different calculation in between, Ans changes. Type a number you need later, or keep it on the screen, rather than relying on Ans for many steps.
The full guide: Enter a calculation on the home screen
Step a recurrence forward (loans, Markov, growth)
Used in: Euler's method
How to step a recurrence forward on a TI-84 Plus CE
Start value, then a rule in Ans | |
On the home screen type the first term and press enter. Here, 1 0 0 0 enter. The first term is now the last answer. |
1000 |
Type the rule using Ans for the previous term. Press 2nd (−) (ANS), then × 1 . 0 5 − 1 0 0, and press enter. This is the second term. . |
1000 Ans*1.05-100 950 |
For each further term press 2nd enter (ENTRY) to bring the rule back, then enter. Each time the rule uses the answer just given. Repeat until you have reached the term you need, counting as you go. , and . |
Ans*1.05-100 897.5 Ans*1.05-100 842.375 Ans*1.05-100 784.49375 |
Keep the full value | |
Every answer stays at full accuracy inside Ans, even though the screen shows ten digits. Round only the last term you are asked for. To keep a value for later, store it as in store a value and reuse it. | |
Count the terms. The start value is the first term, so the first time you press enter on the rule gives the second term.
The full guide: Step a recurrence forward (loans, Markov, growth)
Eigenvalues and eigenvectors
Used in: Phase portraits and coupled differential equations
How to find eigenvalues and eigenvectors on a TI-84 Plus CE
No eigenvalue command: characteristic equation and rref | |
Press 2nd x⁻¹ (MATRIX), press ▶ to the EDIT menu and choose 1:[A]. Enter the size, 2 enter 2 enter, then the entries row by row, pressing enter after each: 6, 2, 1, 5. Press 2nd mode (QUIT) to leave the editor. |
MATRIX[A] 2 ×2 [ 6 2 ] [ 1 5 ] |
The manual lists no eigenvalue or eigenvector command for this calculator, so the eigenvalues come from the characteristic equation. For a matrix it is . Here the trace is and the determinant is , so it is . Press apps and choose PlySmlt2, press any key, then choose 1:Polynomial Root Finder. Set ORDER to 2, press graph under NEXT, and enter the coefficients 1 enter, (−) 1 1 enter, 2 8 enter. Press graph under SOLVE. The eigenvalues are and . |
X1=4 X2=7 |
For an eigenvector, row-reduce . Quit the app, then on the home screen press 2nd x⁻¹ (MATRIX), ▶ to MATH, and choose B:rref(. Type [A] from 2nd x⁻¹ (MATRIX) 1:[A], then − 7 ×, and choose 5:identity( from the same MATH menu, followed by 2 ) ) and enter. This is rref([A]-7*identity(2)) for . Each row of the result is an equation in and . means , so and an eigenvector for is . Repeat with in place of : the result means , so an eigenvector is . |
rref([A]-7*identity(2)) [[1 -2] [0 0]] |
Any non-zero multiple of an eigenvector is also an eigenvector, so (2, 1) and (4, 2) are equally correct. The identity size must match the matrix: identity(2) for a 2 by 2.
The full guide: Eigenvalues and eigenvectors
Solve an equation numerically (including multiple solutions)
Used in: Separable differential equations, Slope fields
How to solve an equation numerically on a TI-84 Plus CE
Numeric Solver (one solution per starting value) | |
Press math, then ▲ to jump to the bottom of the menu, and choose C:Numeric Solver. |
|
Enter the equation as E1 = E2. Type X,T,θ,n ^ 3 − 3 X,T,θ,n for E1 and 1 for E2, then choose OK. The equation does not need rearranging to equal zero. |
E1=X^3-3X E2=1 |
Put the cursor on X and type a number close to the solution you want, for example 2. Leave the bounds as they are ({-1E99,1E99}) unless you want to search only a smaller interval. |
X=2 bound={-1E99,1E99} |
Press alpha enter (SOLVE). The solution is marked with a small square, and E1-E2 shows how far the two sides are apart: it should be 0 or a very small number. to 3 decimal places, which is to 3 significant figures. |
X=1.879385 E1-E2=0 |
The solver finds the solution nearest your starting value. For the others, start again with another value: (−) 1 finds and 0 finds . |
X=-1.532089 X=-0.347296 |
Another way: from the graph | |
Graph the left side as Y1 and the right side as Y2, then use 2nd trace 5:intersect at each crossing. The graph also shows how many solutions there are, which tells you how many starting values to try. The steps are in find where two graphs meet. | |
A starting value near the solution you want is what matters. If the solver gives a different solution from the one you expected, look at the graph and start closer.
The full guide: Solve an equation numerically (including multiple solutions)
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| AHL5.14 | Setting up a model/differential equation from a context. Example: The growth of an algae , at time , is proportional to . Solving by separation of variables. Example: An exponential model as a solution of . The term general solution. |
| AHL5.15 | Slope fields and their diagrams. Students will be required to use and interpret slope fields. |
| AHL5.16 | Euler's method for finding the approximate solution to first order differential equations. Numerical solution of . Numerical solution of the coupled system and . Spreadsheets should be used to find approximate solutions to differential equations. In examinations, values will be generated using permissible technology. Contexts could include predator-prey models. |
| AHL5.17 | Phase portrait for the solutions of coupled differential equations of the form , . Qualitative analysis of future paths for distinct, real, complex and imaginary eigenvalues. Sketching trajectories and using phase portraits to identify key features such as equilibrium points, stable populations and saddle points. Calculation of exact solutions is only required for the case of real distinct eigenvalues. Systems will have distinct, non-zero, eigenvalues. If the eigenvalues are: positive or complex with positive real part, all solutions move away from the origin; negative or complex with negative real part, all solutions move towards the origin; complex, the solutions form a spiral; imaginary, the solutions form a circle or ellipse; real with different signs (one positive, one negative) the origin is a saddle point. |
Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).
Quick questions
How do you solve a separable differential equation?
Rearrange the equation so every term (including ) is on one side and every term (including ) is on the other, then integrate both sides separately and add a constant of integration.
What is the formula for Euler's method?
, where is the step size and is the gradient at the current point.
What does a slope field show?
A slope field draws a short line segment at each grid point with gradient , for a differential equation . Following the segments from a starting point traces out an approximate solution curve without ever solving the equation algebraically.
How do eigenvalues determine the type of equilibrium?
Positive eigenvalues, or complex ones with positive real part, mean all solutions move away from the origin. Negative eigenvalues, or complex ones with negative real part, mean they move towards it. Complex eigenvalues give a spiral, imaginary eigenvalues give a circle or ellipse, and real eigenvalues of different signs give a saddle point.
How do you find the value of the constant C?
Substitute the given initial condition, such as , into the general solution, either straight after integrating or after rearranging, then solve the resulting equation for .
Does a smaller step size always give a better estimate?
Generally yes - a smaller reduces the truncation error at each step, giving a more accurate approximation, but it also means many more steps and more accumulated rounding error.
How do I find the gradient at a point on a slope field?
Substitute that point's and coordinates into from the differential equation . The result is the gradient of the tangent segment drawn at that point.
What is the general form of the coupled system?
and , where the coefficient matrix's eigenvalues determine the equilibrium type and stability at the origin.
Why do I divide by y before integrating?
Dividing moves every term to the side with . For , dividing by gives , which can then be integrated to give .
How do I carry out two steps of Euler's method?
Find the gradient at the current point, update and , then repeat from the new point. For , , : the gradient at is , so at . The gradient there is , so at .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.