A-level Maths

Locating Roots

Locating roots of f(x)=0\displaystyle f(x)=0 by sign change; understanding when sign change methods fail.

A-level Maths · Numerical Methods · A-level only

What it covers

Try these

Three of the 11 practice questions on this topic in the app, from easier to harder. Answer each one and check it, or show its answer and worked solution.

Question 1

f\displaystyle f is continuous on the interval from a\displaystyle a to b\displaystyle b, and f(a)\displaystyle f(a) and f(b)\displaystyle f(b) have opposite signs.

What does that establish about f(x)=0\displaystyle f(x) = 0 between a\displaystyle a and b\displaystyle b?

  1. there is exactly one root
  2. there is no root
  3. there is a maximum but no root
  4. there is at least one root
Worked solution

Step by step

  1. f(a)\displaystyle f(a) and f(b)\displaystyle f(b) have opposite signs, so the graph is on opposite sides of the axis at the two ends.
  2. f\displaystyle f is continuous, so its graph has no breaks between them.
  3. A graph with no breaks cannot get from one side of the axis to the other without meeting it.
  4. So f(x)=0\displaystyle f(x) = 0 at least once between a\displaystyle a and b\displaystyle b.
  5. It could also cross three or five times, so the count is not fixed.

The answer is D.

Mark scheme 2 marks

WorkingMarks
f(a)\displaystyle f(a) and f(b)\displaystyle f(b) have opposite signs, so the graph is on opposite sides of the axis at the two ends.
f\displaystyle f is continuous, so its graph has no breaks between them.
A graph with no breaks cannot get from one side of the axis to the other without meeting it.
So f(x)=0\displaystyle f(x) = 0 at least once between a\displaystyle a and b\displaystyle b.
B2 for saying f(x)=0\displaystyle f(x) = 0 has at least one root between a\displaystyle a and b\displaystyle b
Exactly one root does not get the marks: the curve could cross three or five times.
B2
It could also cross three or five times, so the count is not fixed.
Answer there is at least one root2
What does B mean?
  • B a mark on its own, for a right answer or reason.
  • B2 is worth 2 marks.

Question 2

A component's length, in centimetres, is the root of an equation, and the number line shows the interval that root is known to lie in. Interval bisection is used repeatedly until the interval containing the root is narrower than 0.05 cm\displaystyle 0.05\text{ cm}.

Work out the least number of bisections needed.

A number line marked from zero to five with a thick segment drawn between two filled circles, one at two and one at three.
Worked solution

Step by step

  1. The number line shows the interval from 2\displaystyle 2 to 3\displaystyle 3, which is 1 cm\displaystyle 1\text{ cm} wide.
  2. After n\displaystyle n bisections the width is 12n cm\displaystyle \frac{1}{2^{n}}\text{ cm}.
  3. n=4\displaystyle n = 4 gives 116=0.0625\displaystyle \frac{1}{16} = 0.0625, which is not below 0.05\displaystyle 0.05.
  4. n=5\displaystyle n = 5 gives 132=0.03125\displaystyle \frac{1}{32} = 0.03125, which is.
  5. So 5\displaystyle 5 bisections are needed.

Answer: 5\displaystyle 5

Mark scheme 3 marks

WorkingMarks
The number line shows the interval from 2\displaystyle 2 to 3\displaystyle 3, which is 1 cm\displaystyle 1\text{ cm} wide.
After n\displaystyle n bisections the width is 12n cm\displaystyle \frac{1}{2^{n}}\text{ cm}.
M1 for halving the 1 cm\displaystyle 1\text{ cm} width each time, to get 12n\displaystyle \frac{1}{2^{n}}
Listing the widths 0.5\displaystyle 0.5, 0.25\displaystyle 0.25, 0.125\displaystyle 0.125, and so on, is fine too.
M1
n=4\displaystyle n = 4 gives 116=0.0625\displaystyle \frac{1}{16} = 0.0625, which is not below 0.05\displaystyle 0.05.
n=5\displaystyle n = 5 gives 132=0.03125\displaystyle \frac{1}{32} = 0.03125, which is.
M1 for checking your widths for n=4\displaystyle n = 4 and n=5\displaystyle n = 5 against 0.05\displaystyle 0.05
Solving 12n<0.05\displaystyle \frac{1}{2^{n}} < 0.05 with logarithms is fine too.
Only if you got the M1 before it.
M1
So 5\displaystyle 5 bisections are needed.
A1 for the answer, 5\displaystyle 5
4\displaystyle 4 does not get the mark: 116=0.0625\displaystyle \frac{1}{16} = 0.0625 is still wider than 0.05\displaystyle 0.05.
A1
Answer 5\displaystyle 53
What do M and A mean?
  • M method mark: for the right method, even if a number goes wrong later.
  • A accuracy mark: for the right answer, once you have the method mark.
  • your a number you worked out earlier. If it was wrong, you still get the mark for using it the right way.

Question 3

A factory control program hunts for roots by evaluating a function and storing each value rounded to 2\displaystyle 2 decimal places. Forf(x)=0.001(x−4)3f(x) = 0.001(x - 4)^{3}it stores f(3.9)=0.00\displaystyle f(3.9) = 0.00 and f(4.1)=0.00\displaystyle f(4.1) = 0.00, sees no change of sign, and reports no root between 3.9\displaystyle 3.9 and 4.1\displaystyle 4.1.

Say why that report cannot be trusted.

  1. f\displaystyle f has no root anywhere near x=4\displaystyle x = 4, so the report happens to be correct
  2. the program should have tested a wider interval, because a sign change only shows up over a whole unit
  3. the two values really do have opposite signs, but rounding to 2\displaystyle 2 decimal places wipes the sign out before the test ever sees it
  4. f\displaystyle f has a break at x=4\displaystyle x = 4, so no change-of-sign test can be applied there
Worked solution

Step by step

  1. f(3.9)=0.001×(3.9−4)3=0.001×(−0.001)=−0.000001\displaystyle f(3.9) = 0.001 \times (3.9 - 4)^{3} = 0.001 \times (-0.001) = -0.000001.
  2. f(4.1)=0.001×(0.1)3=0.000001\displaystyle f(4.1) = 0.001 \times (0.1)^{3} = 0.000001.
  3. The two values have opposite signs, so there is a root between them, at x=4\displaystyle x = 4.
  4. Rounded to 2\displaystyle 2 decimal places, both are recorded as 0.00\displaystyle 0.00.
  5. The test compares the rounded values, so it cannot see the change of sign.

The answer is C.

Mark scheme 3 marks

WorkingMarks
f(3.9)=0.001×(3.9−4)3=0.001×(−0.001)=−0.000001\displaystyle f(3.9) = 0.001 \times (3.9 - 4)^{3} = 0.001 \times (-0.001) = -0.000001.
f(4.1)=0.001×(0.1)3=0.000001\displaystyle f(4.1) = 0.001 \times (0.1)^{3} = 0.000001.
The two values have opposite signs, so there is a root between them, at x=4\displaystyle x = 4.
Rounded to 2\displaystyle 2 decimal places, both are recorded as 0.00\displaystyle 0.00.
The test compares the rounded values, so it cannot see the change of sign.
B3 for saying rounding to 2\displaystyle 2 decimal places wipes out the opposite signs
B3
Answer the two values really do have opposite signs, but rounding to 2\displaystyle 2 decimal places wipes the sign out before the test ever sees it3
What does B mean?
  • B a mark on its own, for a right answer or reason.
  • B3 is worth 3 marks.

In the app

Start practising today

Free to start, with no ads and no account. Pay once for a course's exam papers, if you want them.

Get it on Google Play for Android phones & tablets
Get it on the App Store for iPhone & iPad