Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Applications and Interpretation
  3. ›5 Calculus
  4. ›5.18 Second-order differential equations

IB Mathematics: Applications and Interpretation · Topic 5 · Calculus

5.18 Second-order differential equations

Rewrite a second-order equation as a coupled system, apply Euler’s method to it, and interpret the resulting phase portrait in context.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
  • HL only
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A second-order equation involves the second derivative
  1. 1A second-order equation involves the second derivative
  2. 2A new variable turns one equation into two
  3. 3Euler’s method steps both variables forward together
  4. 4The eigenvalues show whether motion oscillates, decays or grows
  5. 5Phase portraits show how a model behaves in context
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A second-order equation involves the second derivative

A mass on a spring speeds up more when it is pulled further from rest. So its acceleration depends on its position. Acceleration is the rate of change of velocity.

A model such as d2xdt2=−4x\frac{d^2x}{dt^2}=-4xdt2d2x​=−4x is a second-order differential equation. Its highest derivative is the second derivative of xxx with respect to ttt.

Here xxx is the displacement from rest in metres, and ttt is the time in seconds. The constant 4 has units s−2\mathrm{s^{-2}}s−2. The equation says the acceleration always points back towards the rest position.

Key terms · tap one for its definition

second-order differential equation

A second-order differential equation is a differential equation whose highest derivative is a second derivative.

second derivative

The second derivative is the derivative of the first derivative.

Part 1 done

2

Part 2 of 5: A new variable turns one equation into two

The methods for pairs of equations cannot yet handle this model. A change of variable fixes that. Let yyy be the velocity, so y=dxdty=\frac{dx}{dt}y=dtdx​.

Then dydt=d2xdt2\frac{dy}{dt}=\frac{d^2x}{dt^2}dtdy​=dt2d2x​. For the spring model this gives dxdt=y\frac{dx}{dt}=ydtdx​=y and dydt=−4x\frac{dy}{dt}=-4xdtdy​=−4x. The two equations share xxx and yyy, so they form a coupled system.

The (x,y)(x,y)(x,y) plane is the phase plane, with displacement on one axis and velocity on the other.

Worked example

Writing a damped equation as a system

Write d2xdt2+3dxdt+2x=0\frac{d^2x}{dt^2}+3\frac{dx}{dt}+2x=0dt2d2x​+3dtdx​+2x=0 as a coupled system.
  1. 1
    Let y=dxdty=\frac{dx}{dt}y=dtdx​, so the first equation is dxdt=y\frac{dx}{dt}=ydtdx​=y.
  2. 2
    Then dydt=d2xdt2\frac{dy}{dt}=\frac{d^2x}{dt^2}dtdy​=dt2d2x​.
  3. 3
    Rearrange the original equation: d2xdt2=−3dxdt−2x\frac{d^2x}{dt^2}=-3\frac{dx}{dt}-2xdt2d2x​=−3dtdx​−2x.
  4. 4
    Replace dxdt\frac{dx}{dt}dtdx​ by yyy: dydt=−3y−2x\frac{dy}{dt}=-3y-2xdtdy​=−3y−2x.

Answer: The system is dxdt=y\frac{dx}{dt}=ydtdx​=y and dydt=−2x−3y\frac{dy}{dt}=-2x-3ydtdy​=−2x−3y.

Exam tip

Define the new variable first, for example let y=dxdty=\frac{dx}{dt}y=dtdx​. Then write both equations using only xxx and yyy.

Key terms · tap one for its definition

coupled system

A coupled system is a set of differential equations in which the rate of each variable depends on the other variables.

phase plane

The phase plane is the plane whose axes are the two dependent variables xxx and yyy of a system, with time as a hidden parameter.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the coupled system equivalent to d2xdt2=−5x\frac{d^2x}{dt^2}=-5xdt2d2x​=−5x, using y=dxdty=\frac{dx}{dt}y=dtdx​.
Show answer and explanation

Answer: B · Worked explanation

Since y=dxdty=\frac{dx}{dt}y=dtdx​, the first equation is dxdt=y\frac{dx}{dt}=ydtdx​=y. Then dydt=d2xdt2=−5x\frac{dy}{dt}=\frac{d^2x}{dt^2}=-5xdtdy​=dt2d2x​=−5x. Writing −5y-5y−5y confuses the velocity with the displacement. Swapping the two equations gives a different system that does not match the original model. Check each line by differentiating: the first equation must give back the definition of yyy.
3

Part 3 of 5: Euler’s method steps both variables forward together

A coupled system can be approximated numerically, one small step at a time. Euler’s method uses the rates at the start of each step to move forward. The step size hhh is the fixed increase in ttt for each step.

  • tn+1=tn+ht_{n+1}=t_n+htn+1​=tn​+h
  • xn+1=xn+h ynx_{n+1}=x_n+h\,y_nxn+1​=xn​+hyn​
  • yn+1=yn+h×dydty_{n+1}=y_n+h\times\frac{dy}{dt}yn+1​=yn​+h×dtdy​, with dydt\frac{dy}{dt}dtdy​ evaluated at (xn,yn)(x_n,y_n)(xn​,yn​)

Smaller steps usually give a more accurate approximation. They also need more steps to reach the same value of ttt.

Worked example

Three Euler steps for a spring model

A model has d2xdt2=−4x\frac{d^2x}{dt^2}=-4xdt2d2x​=−4x, with x(0)=1 mx(0)=1\,\mathrm{m}x(0)=1m and y(0)=0 m s−1y(0)=0\,\mathrm{m\,s^{-1}}y(0)=0ms−1, where y=dxdty=\frac{dx}{dt}y=dtdx​. Use Euler’s method with h=0.1h=0.1h=0.1 to estimate xxx and yyy at t=0.3t=0.3t=0.3.
  1. 1
    Write the system: dxdt=y\frac{dx}{dt}=ydtdx​=y and dydt=−4x\frac{dy}{dt}=-4xdtdy​=−4x.
  2. 2
    Step 1: x1=1+0.1×0=1.00x_1=1+0.1\times0=1.00x1​=1+0.1×0=1.00 and y1=0+0.1×(−4×1)=−0.40y_1=0+0.1\times(-4\times1)=-0.40y1​=0+0.1×(−4×1)=−0.40.
  3. 3
    Step 2: x2=1.00+0.1×(−0.40)=0.96x_2=1.00+0.1\times(-0.40)=0.96x2​=1.00+0.1×(−0.40)=0.96 and y2=−0.40+0.1×(−4×1.00)=−0.80y_2=-0.40+0.1\times(-4\times1.00)=-0.80y2​=−0.40+0.1×(−4×1.00)=−0.80.
  4. 4
    Step 3: x3=0.96+0.1×(−0.80)=0.88x_3=0.96+0.1\times(-0.80)=0.88x3​=0.96+0.1×(−0.80)=0.88 and y3=−0.80+0.1×(−4×0.96)=−1.184y_3=-0.80+0.1\times(-4\times0.96)=-1.184y3​=−0.80+0.1×(−4×0.96)=−1.184.

Answer: At t=0.3t=0.3t=0.3, x≈0.88 mx\approx0.88\,\mathrm{m}x≈0.88m and y≈−1.18 m s−1y\approx-1.18\,\mathrm{m\,s^{-1}}y≈−1.18ms−1.

Common mistake

Do not use the new xn+1x_{n+1}xn+1​ inside the update for yyy. Both updates must use values from the start of the step.

Key terms · tap one for its definition

Euler’s method

Euler’s method is a numerical method that approximates a solution by repeated steps of fixed size hhh, using rates at the start of each step.

step size

The step size hhh is the fixed increase in the independent variable ttt between successive Euler approximations.

Part 3 done

4

Part 4 of 5: The eigenvalues show whether motion oscillates, decays or grows

The coupled system is linear, so the eigenvalue idea applies again. For dxdt=ax+by\frac{dx}{dt}=ax+bydtdx​=ax+by and dydt=cx+dy\frac{dy}{dt}=cx+dydtdy​=cx+dy, each eigenvalue λ\lambdaλ solves λ2−(a+d)λ+(ad−bc)=0\lambda^2-(a+d)\lambda+(ad-bc)=0λ2−(a+d)λ+(ad−bc)=0. The real part of λ\lambdaλ sets growth or decay. The imaginary part sets oscillation.

Many spring models include damping, such as friction, which removes energy. Damping acts against the velocity, so it adds a negative multiple of yyy to dydt\frac{dy}{dt}dtdy​. Stronger damping changes the pattern from a spiral to a direct approach.

Four spring models and their motion

ModelEigenvaluesNameMotion
d2xdt2=−4x\frac{d^2x}{dt^2}=-4xdt2d2x​=−4x±2i\pm2\mathrm{i}±2iCentreOscillates with constant amplitude
d2xdt2+2dxdt+5x=0\frac{d^2x}{dt^2}+2\frac{dx}{dt}+5x=0dt2d2x​+2dtdx​+5x=0−1±2i-1\pm2\mathrm{i}−1±2iStable spiralOscillates with shrinking amplitude
d2xdt2+3dxdt+2x=0\frac{d^2x}{dt^2}+3\frac{dx}{dt}+2x=0dt2d2x​+3dtdx​+2x=0-1 and -2Stable nodeReturns to rest without oscillating
d2xdt2=4x\frac{d^2x}{dt^2}=4xdt2d2x​=4x2 and -2SaddleRuns away unless it starts on one special line
Model
d2xdt2=−4x\frac{d^2x}{dt^2}=-4xdt2d2x​=−4x
Eigenvalues
±2i\pm2\mathrm{i}±2i
Name
Centre
Motion
Oscillates with constant amplitude
Model
d2xdt2+2dxdt+5x=0\frac{d^2x}{dt^2}+2\frac{dx}{dt}+5x=0dt2d2x​+2dtdx​+5x=0
Eigenvalues
−1±2i-1\pm2\mathrm{i}−1±2i
Name
Stable spiral
Motion
Oscillates with shrinking amplitude
Model
d2xdt2+3dxdt+2x=0\frac{d^2x}{dt^2}+3\frac{dx}{dt}+2x=0dt2d2x​+3dtdx​+2x=0
Eigenvalues
-1 and -2
Name
Stable node
Motion
Returns to rest without oscillating
Model
d2xdt2=4x\frac{d^2x}{dt^2}=4xdt2d2x​=4x
Eigenvalues
2 and -2
Name
Saddle
Motion
Runs away unless it starts on one special line

For d2xdt2+Bdxdt+Cx=0\frac{d^2x}{dt^2}+B\frac{dx}{dt}+Cx=0dt2d2x​+Bdtdx​+Cx=0, the coefficients are a=0a=0a=0, b=1b=1b=1, c=−Cc=-Cc=−C and d=−Bd=-Bd=−B. This gives the shortcut λ2+Bλ+C=0\lambda^2+B\lambda+C=0λ2+Bλ+C=0. It saves forming the system when only the eigenvalues are needed.

Key terms · tap one for its definition

eigenvalue

An eigenvalue is a root λ\lambdaλ of the equation λ2−(a+d)λ+(ad−bc)=0\lambda^2-(a+d)\lambda+(ad-bc)=0λ2−(a+d)λ+(ad−bc)=0 built from the coefficients of a linear system.

damping

Damping is a resistive effect, such as friction, that removes energy from an oscillating system and acts against its velocity.

Part 4 done

Quick check

One question on the part you just read

Easy

A model has displacement xxx in metres and time ttt in seconds. Identify what y=dxdty=\frac{dx}{dt}y=dtdx​ represents.
Show answer and explanation

Answer: A · Worked explanation

The first derivative of displacement with respect to time is velocity, with units m s−1\mathrm{m\,s^{-1}}ms−1. Acceleration is the second derivative, which is the derivative of yyy. The step size is a fixed number chosen for Euler’s method and is not a derivative. Always match the symbol to its units to avoid this confusion.
5

Part 5 of 5: Phase portraits show how a model behaves in context

Now the pieces combine into a story about a real system. Plot displacement xxx horizontally and velocity yyy vertically.

For d2xdt2=−4x\frac{d^2x}{dt^2}=-4xdt2d2x​=−4x the trajectory is a closed loop around the origin. The mass oscillates for ever with constant amplitude. When y>0y>0y>0 the point moves right, and when y<0y<0y<0 it moves left. So the loop is traced clockwise.

Figure 1. The exact trajectory is a closed loop. The Euler points drift slightly outside it.

Exam tip

Each Euler step uses rates from the start of the step, so the point lands slightly outside the loop. This outward drift is an error of the method, not part of the model.

Damping changes the picture. A damped model that oscillates gives a spiral shrinking towards (0,0)(0,0)(0,0). That point means rest at the equilibrium position. Heavy damping gives a direct approach with no oscillation.

Go deeperWhy Euler’s method spirals outward

For d2xdt2=−4x\frac{d^2x}{dt^2}=-4xdt2d2x​=−4x, one Euler step multiplies the quantity 4x2+y24x^2+y^24x2+y2 by 1+4h21+4h^21+4h2. With h=0.1h=0.1h=0.1 the factor is 1.04.

The exact solution keeps 4x2+y24x^2+y^24x2+y2 constant, which is why its trajectory is a closed loop. The factor above is greater than 1, so Euler points creep outward at every step. A smaller hhh slows the drift but never removes it.

Note read

Check your recall[16 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Write down[2 marks]

    Write down the coupled system equivalent to d2xdt2=−9x\frac{d^2x}{dt^2}=-9xdt2d2x​=−9x, using y=dxdty=\frac{dx}{dt}y=dtdx​.

    Show mark schemeHide mark scheme

    Model answer

    dxdt=y\frac{dx}{dt}=ydtdx​=y and dydt=−9x\frac{dy}{dt}=-9xdtdy​=−9x.

    • 1 mark for writing dxdt=y\frac{dx}{dt}=ydtdx​=y
    • 1 mark for writing dydt=−9x\frac{dy}{dt}=-9xdtdy​=−9x
  2. 2.Calculate[4 marks]

    Calculate approximate values of xxx and yyy at t=0.4t=0.4t=0.4 for dxdt=y\frac{dx}{dt}=ydtdx​=y and dydt=−x\frac{dy}{dt}=-xdtdy​=−x, with x(0)=2x(0)=2x(0)=2, y(0)=0y(0)=0y(0)=0 and h=0.2h=0.2h=0.2, using Euler’s method.

    Show mark schemeHide mark scheme

    Model answer

    Step 1: x1=2+0.2×0=2.00x_1=2+0.2\times0=2.00x1​=2+0.2×0=2.00 and y1=0+0.2×(−2)=−0.40y_1=0+0.2\times(-2)=-0.40y1​=0+0.2×(−2)=−0.40. Step 2: x2=2.00+0.2×(−0.40)=1.92x_2=2.00+0.2\times(-0.40)=1.92x2​=2.00+0.2×(−0.40)=1.92 and y2=−0.40+0.2×(−2.00)=−0.80y_2=-0.40+0.2\times(-2.00)=-0.80y2​=−0.40+0.2×(−2.00)=−0.80. So x≈1.92x\approx1.92x≈1.92 and y≈−0.80y\approx-0.80y≈−0.80.

    • 1 mark for using xn+1=xn+hynx_{n+1}=x_n+hy_nxn+1​=xn​+hyn​ and yn+1=yn+h(−xn)y_{n+1}=y_n+h(-x_n)yn+1​=yn​+h(−xn​)
    • 1 mark for obtaining x1=2.00x_1=2.00x1​=2.00 and y1=−0.40y_1=-0.40y1​=−0.40
    • 1 mark for obtaining x2=1.92x_2=1.92x2​=1.92
    • 1 mark for obtaining y2=−0.80y_2=-0.80y2​=−0.80
  3. 3.Determine[3 marks]

    Determine the eigenvalues for d2xdt2+4dxdt+3x=0\frac{d^2x}{dt^2}+4\frac{dx}{dt}+3x=0dt2d2x​+4dtdx​+3x=0, and hence describe the motion.

    Show mark schemeHide mark scheme

    Model answer

    The eigenvalues solve λ2+4λ+3=0\lambda^2+4\lambda+3=0λ2+4λ+3=0, so λ=−1\lambda=-1λ=−1 and λ=−3\lambda=-3λ=−3. Both are real and negative, so the origin is a stable node. The mass returns to rest without oscillating.

    • 1 mark for forming λ2+4λ+3=0\lambda^2+4\lambda+3=0λ2+4λ+3=0
    • 1 mark for obtaining λ=−1\lambda=-1λ=−1 and λ=−3\lambda=-3λ=−3
    • 1 mark for stating that the motion returns to rest without oscillating
  4. 4.Explain[2 marks]

    Explain why the trajectory of d2xdt2=−4x\frac{d^2x}{dt^2}=-4xdt2d2x​=−4x in the phase plane is a closed loop.

    Show mark schemeHide mark scheme

    Model answer

    The eigenvalues are ±2i\pm2\mathrm{i}±2i, which are purely imaginary. So the motion repeats with constant amplitude and the trajectory returns to its starting point.

    • 1 mark for stating that the eigenvalues ±2i\pm2\mathrm{i}±2i are purely imaginary
    • 1 mark for linking this to repeated oscillation with constant amplitude, so the trajectory returns to its start
  5. 5.Suggest[2 marks]

    Suggest why an Euler approximation of an undamped oscillator can show growing amplitude.

    Show mark schemeHide mark scheme

    Model answer

    Each step uses rates from the start of the step, so the new point lands slightly outside the true loop. These small errors build up and push the points outward.

    • 1 mark for stating that each step uses rates from the start of the step, so the point lands outside the loop
    • 1 mark for stating that the errors accumulate and push the points outward
  6. 6.Distinguish[3 marks]

    Distinguish between motion with eigenvalues −1±2i-1\pm2\mathrm{i}−1±2i and motion with eigenvalues -1 and -2.

    Show mark schemeHide mark scheme

    Model answer

    A complex pair with negative real part gives oscillation with shrinking amplitude, which is a stable spiral. Two negative real eigenvalues give a return to rest without oscillating, which is a stable node. Both settle at the equilibrium.

    • 1 mark for identifying complex eigenvalues as oscillation with shrinking amplitude
    • 1 mark for identifying negative real eigenvalues as a return to rest without oscillating
    • 1 mark for stating that both settle at the equilibrium

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the Euler update for xxx when y=dxdty=\frac{dx}{dt}y=dtdx​ and the step size is hhh.
Show answer and explanation

Answer: D · Worked explanation

Euler’s method adds the step size multiplied by the rate at the start of the step. The rate of xxx is yyy, so the update uses yny_nyn​. The value yn+1y_{n+1}yn+1​ is not yet known, and xnx_nxn​ is not the rate of xxx.
4.

Medium·Calculate[2 marks]

A model has d2xdt2=−9x\frac{d^2x}{dt^2}=-9xdt2d2x​=−9x with x(0)=1x(0)=1x(0)=1 and y(0)=2y(0)=2y(0)=2, where y=dxdty=\frac{dx}{dt}y=dtdx​. Use Euler’s method with h=0.1h=0.1h=0.1 to calculate x1x_1x1​ and y1y_1y1​.
Show answer and explanation

Answer: C · Worked explanation

Here x1=1+0.1×2=1.2x_1=1+0.1\times2=1.2x1​=1+0.1×2=1.2 and y1=2+0.1×(−9×1)=1.1y_1=2+0.1\times(-9\times1)=1.1y1​=2+0.1×(−9×1)=1.1. The value y1=2.9y_1=2.9y1​=2.9 comes from a sign error, adding 0.9 instead of subtracting it. The value x1=3.0x_1=3.0x1​=3.0 comes from leaving out the step size hhh, which also makes the answer far too large for one small step.
5.

Medium·Determine[2 marks]

Determine the eigenvalues for d2xdt2+6dxdt+5x=0\frac{d^2x}{dt^2}+6\frac{dx}{dt}+5x=0dt2d2x​+6dtdx​+5x=0.
Show answer and explanation

Answer: D · Worked explanation

The eigenvalues solve λ2+6λ+5=0\lambda^2+6\lambda+5=0λ2+6λ+5=0, which factorises as (λ+1)(λ+5)=0(\lambda+1)(\lambda+5)=0(λ+1)(λ+5)=0. So λ=−1\lambda=-1λ=−1 or λ=−5\lambda=-5λ=−5. The pair -2 and -3 would solve λ2+5λ+6=0\lambda^2+5\lambda+6=0λ2+5λ+6=0, which swaps the two constants. The pair 1 and 5 ignores the signs. Always check that the sum of the eigenvalues equals the negative of the coefficient of dxdt\frac{dx}{dt}dtdx​.
6.

Medium·Predict[1 mark]

A model has d2xdt2+2dxdt+10x=0\frac{d^2x}{dt^2}+2\frac{dx}{dt}+10x=0dt2d2x​+2dtdx​+10x=0. Predict the behaviour of xxx over time.
Show answer and explanation

Answer: B · Worked explanation

The eigenvalues solve λ2+2λ+10=0\lambda^2+2\lambda+10=0λ2+2λ+10=0, giving λ=−1±3i\lambda=-1\pm3\mathrm{i}λ=−1±3i. The imaginary part makes xxx oscillate, and the negative real part makes the amplitude shrink. Constant amplitude would need a real part of zero. Reaching zero without oscillating would need two real eigenvalues, not a complex pair.
7.

Medium·Calculate[2 marks]

A damped model has dxdt=y\frac{dx}{dt}=ydtdx​=y and dydt=−x−2y\frac{dy}{dt}=-x-2ydtdy​=−x−2y, with x(0)=1x(0)=1x(0)=1 and y(0)=0y(0)=0y(0)=0. Use Euler’s method with h=0.5h=0.5h=0.5 to calculate x2x_2x2​.
Show answer and explanation

Answer: A · Worked explanation

Step 1 gives x1=1+0.5×0=1.00x_1=1+0.5\times0=1.00x1​=1+0.5×0=1.00 and y1=0+0.5×(−1−0)=−0.50y_1=0+0.5\times(-1-0)=-0.50y1​=0+0.5×(−1−0)=−0.50. Step 2 gives x2=1.00+0.5×(−0.50)=0.75x_2=1.00+0.5\times(-0.50)=0.75x2​=1.00+0.5×(−0.50)=0.75. The value 1.00 is x1x_1x1​, which stops one step early. The value 0.50 comes from leaving out hhh when finding y1y_1y1​. Each step needs both updates, so two steps need four calculations.
8.

Hard·Determine[2 marks]

For d2xdt2+Bdxdt+25x=0\frac{d^2x}{dt^2}+B\frac{dx}{dt}+25x=0dt2d2x​+Bdtdx​+25x=0 with B>0B>0B>0, determine which value of BBB gives oscillating motion.
Show answer and explanation

Answer: B · Worked explanation

The eigenvalues solve λ2+Bλ+25=0\lambda^2+B\lambda+25=0λ2+Bλ+25=0. Oscillation needs a complex pair, so B2−100<0B^2-100<0B2−100<0, which means B<10B<10B<10. For B=8B=8B=8, λ=−4±3i\lambda=-4\pm3\mathrm{i}λ=−4±3i. The value B=10B=10B=10 is tempting but gives a repeated real eigenvalue -5, so there is no oscillation. Larger values of BBB give two different negative real eigenvalues, which also means no oscillation.
9.

Hard·Determine[2 marks]

A model has d2xdt2=−4x\frac{d^2x}{dt^2}=-4xdt2d2x​=−4x with x(0)=1x(0)=1x(0)=1 and y(0)=0y(0)=0y(0)=0, where y=dxdty=\frac{dx}{dt}y=dtdx​. Use Euler’s method with h=0.2h=0.2h=0.2 to determine y2y_2y2​.
Show answer and explanation

Answer: C · Worked explanation

Step 1 gives x1=1+0.2×0=1.00x_1=1+0.2\times0=1.00x1​=1+0.2×0=1.00 and y1=0+0.2×(−4×1)=−0.80y_1=0+0.2\times(-4\times1)=-0.80y1​=0+0.2×(−4×1)=−0.80. Step 2 gives y2=−0.80+0.2×(−4×1.00)=−1.60y_2=-0.80+0.2\times(-4\times1.00)=-1.60y2​=−0.80+0.2×(−4×1.00)=−1.60. The value -1.47 wrongly uses the new x2=0.84x_2=0.84x2​=0.84 in the update, and -0.80 stops after one step. Using the latest value is a common slip, but each update must use values from the start of its own step.
10.

Hard·Determine[2 marks]

A system has dxdt=y\frac{dx}{dt}=ydtdx​=y and dydt=2x+y\frac{dy}{dt}=2x+ydtdy​=2x+y. Determine the pattern at the origin.
Show answer and explanation

Answer: A · Worked explanation

Here a=0a=0a=0, b=1b=1b=1, c=2c=2c=2 and d=1d=1d=1, so a+d=1a+d=1a+d=1 and ad−bc=−2ad-bc=-2ad−bc=−2. Then λ2−λ−2=0\lambda^2-\lambda-2=0λ2−λ−2=0, giving λ=2\lambda=2λ=2 and λ=−1\lambda=-1λ=−1. The opposite signs give a saddle. Seeing one negative eigenvalue does not make the origin stable, because the positive one makes most trajectories leave. A stable node would need both eigenvalues negative, but the sum a+d=1a+d=1a+d=1 is positive.

Keep going

Previous topic5.17 Phase portraits

More in Topic 5 · Calculus

  1. 5.10Second derivativesNotes · 10 questions· HL only
  2. 5.11Further integrationNotes · 10 questions· HL only
  3. 5.12Areas and volumes of revolutionNotes · 10 questions· HL only
  4. 5.13KinematicsNotes · 10 questions· HL only
  5. 5.14Setting up differential equationsNotes · 10 questions· HL only
  6. 5.15Slope fieldsNotes · 10 questions· HL only
  7. 5.16Euler's methodNotes · 10 questions· HL only
  8. 5.17Phase portraitsNotes · 10 questions· HL only
  9. 5.18Second-order differential equationsNotes · 10 questions· HL only

All IB Mathematics: Applications and Interpretation topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1A second-order equation involves the second derivative
  2. 2A new variable turns one equation into two
  3. 3Euler’s method steps both variables forward together
  4. 4The eigenvalues show whether motion oscillates, decays or grows
  5. 5Phase portraits show how a model behaves in context
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

Phase plane of a spring model

Velocity y (m s⁻¹)-1.5-1-0.500.511.5-2-1012Displacement x (m)
  • Exact loop
  • Euler points