Locating Roots by a Change of Sign, and When It Fails | OCR A Level Maths notes

Free preview: Locating Roots by a Change of Sign, and When It Fails

Why We Need Numerical Methods

Year 2 (A level only)

Watch: 1-minute explainer

Let's start with a problem algebra can't solve: ex=3x.

  • It mixes an exponential with a polynomial. Take ln and you get x=ln3x: x is still on both sides. No rearrangement gets x on its own.
  • Yet a sketch shows the curves y=ex and y=3x clearly cross. So the solutions exist. We just can't write them down exactly.
  • Engineers and scientists meet equations like this all the time. They use a numerical method: a way of finding an approximate value of a root, to any accuracy we want, using repeated calculations.

Roots and graphs

  • A root of the equation f(x) = 0 is a value of x that makes f(x) zero.
  • On a graph it is where y = f(x) crosses (or touches) the x-axis.
  • So solving ex=3x is the same as finding the roots of f(x)=ex−3x=0. Just move everything to one side.

The change of sign rule

f continuous on [a,b] and f(a), f(b) of opposite signs⇒a root lies between a and b

  • Continuous means the graph has no breaks or jumps between a and b: you could draw it without lifting your pen.
  • [a,b] means all the numbers from a to b.

💡 In plain words

  • If the curve is below the axis at a and above it at b (or the other way round), it must cross the axis somewhere in between.
  • One value negative, one positive, no gaps: there is a root.
  • Think of walking from one side of a river to the other without a bridge: at some point you must have been in the water.

The recipe: show a root lies in an interval

  1. Rearrange to f(x) = 0 and name f.
  2. Work out f(a) and f(b). Write the values down (2 s.f. is enough).
  3. Say the signs: one negative, one positive.
  4. Conclude: "change of sign and f is continuous, so there is a root between a and b".

Graph of y = e to the x minus 3x near x = 1.5, negative at 1.5 and positive at 1.6, crossing the axis at about 1.512

👀 Watch me do it: show that ex=3x has a root between 1.5 and 1.6

What I writeWhy I do it
Let f(x)=ex−3x.Step 1: everything on one side.
f(1.5)=e1.5−4.5=−0.0183Step 2: substitute into f, not into the original equation.
f(1.6)=e1.6−4.8=0.153
f(1.5) is negative and f(1.6) is positive.Step 3.
Change of sign and f is continuous (both ex and 3x are), so there is a root between 1.5 and 1.6.Step 4: the conclusion must mention continuity.

Following the graph

  • This is a close-up of y=ex−3x between x = 1.4 and x = 1.65.
  • f(1.5) is negative: the point is just below the axis. f(1.6) is positive: the point is above the axis.
  • The curve crosses the axis between 1.5 and 1.6. The root is α ≈ 1.512. (α, the Greek letter alpha, is the usual name for an exact root.)

✏️ YOUR TURN 1

Try this first:

Show that x3−2x−5=0 has a root between 2 and 3.

Answer:

  • Let f(x)=x3−2x−5.
  • f(2)=8−4−5=−1<0 and f(3)=27−6−5=16>0.
  • Change of sign and f is continuous (a polynomial), so there is a root between 2 and 3.

Showing a Root Is Correct to a Given Accuracy

Knowing a root is "between 1.5 and 1.6" is a start. Exam questions often go further: "show that the root is 1.51 correct to 2 decimal places". Let's think about what that really claims.

  • Which numbers round to 1.51? Everything from 1.505 up to 1.515.
  • These two ends are called the bounds. If α is between them, α rounds to 1.51.
  • So we need to trap the root between the bounds.

The method step by step

  1. Write down the bounds: half a unit of the last decimal place either side of the claimed answer.
  2. Work out f at both bounds. Write the values (2 s.f. is enough) and say whether each is positive or negative.
  3. Write a conclusion: "change of sign and f is continuous, so the root lies in this interval, so α = ... to ... d.p.".
  • Why the bounds and not 1.50 and 1.52? A root between 1.50 and 1.52 could be 1.502, which rounds to 1.50. The bounds pin it down.

👀 Watch me do it: show that the root of ex−3x=0 near 1.5 is 1.51 correct to 2 decimal places

What I writeWhy I do it
Bounds: 1.505 and 1.515.Step 1: half of 0.01 either side of 1.51.
f(1.505)=e1.505−4.515=−0.0108…<0Step 2.
f(1.515)=e1.515−4.545=0.00442…>0
Change of sign and f is continuous, so 1.505<α<1.515.Step 3.
Therefore α = 1.51 correct to 2 decimal places.Finish with the claim itself.

Diagram: The green band is every number that rounds to 1.51: from 1.505 to 1.515. The blue line is y = e^x - 3x close up.

What the picture shows

  • The green band is every number that rounds to 1.51: from 1.505 to 1.515. The blue line is y=ex−3x close up.
  • Wrong: f(1.50) is negative and f(1.52) is positive, so the root is somewhere from 1.50 to 1.52. That is wider than the band: the root could be 1.502, which rounds to 1.50.
  • Right: f(1.505) = −0.0108 and f(1.515) = 0.0044. The sign change is inside the band, so the root must round to 1.51.

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 Numerical Methods

  1. Locating Roots by a Change of Sign, and When It Fails
  2. Fixed-Point Iteration with Staircase and Cobweb Diagrams
  3. The Newton-Raphson Method and When Iterations Fail
  4. The Trapezium Rule: Estimates, Over or Under, and Bounds
  5. Choosing and Using Numerical Methods in Real Problems
  6. Move Up a Grade: A Level Maths Numerical Methods
  7. Tricky Bits: A Level Maths Numerical Methods

Video

What's inside for this topic

7 teacher notes, 186 practice questions, 60 flashcards, 7 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Fixed-Point Iteration with Staircase and Cobweb Diagrams

Locating Roots by a Change of Sign, and When It Fails on other exam boards

All OCR A Level Maths topics · A Level Maths