A-level Mathematics

9.1 Locating roots by change of sign — Practise with help

Work each question closed book first. For every bracket, write down both values and say which sign each one has.

Warm-up: remember

  1. For f(x)=x3−2x−3f(x) = x^3 - 2x - 3, work out f(0)f(0) and f(2)f(2).
  2. The graph of y=x2−5y = x^2 - 5 crosses the xx-axis at two points. Write down the xx-coordinate of each point, using a square root.
Answers
  1. f(0)=−3f(0) = -3 and f(2)=8−4−3=1f(2) = 8 - 4 - 3 = 1.
  2. Set x2−5=0x^2 - 5 = 0, so x2=5x^2 = 5 and x=±5x = \pm\sqrt{5}. The points are (5,0)(\sqrt{5}, 0) and (−5,0)(-\sqrt{5}, 0).

If the first part was hard, revise substitution into a function in Section 2.9. If the second was hard, revise solving x2=kx^2 = k in Section 2.4.

Practise with help

1. Show that x3−2x−3=0x^3 - 2x - 3 = 0 has a root between 11 and 22.

Hint

Write the left side as f(x)f(x) and work out f(1)f(1) and f(2)f(2). One of them is negative and one is positive.

Next step

Compute f(1)=1−2−3=−4f(1) = 1 - 2 - 3 = -4 and f(2)=8−4−3=1f(2) = 8 - 4 - 3 = 1.

Full working

Let f(x)=x3−2x−3f(x) = x^3 - 2x - 3. Then

f(1)=−4<0,f(2)=1>0.f(1) = -4 < 0, \qquad f(2) = 1 > 0.

The function is continuous and the signs differ, so the graph crosses the axis between 11 and 22. The root lies in (1,2)(1, 2).

2. Show that x3+2x−5=0x^3 + 2x - 5 = 0 has a root between 11 and 22.

Hint

The whole expression is already equal to zero, so use the left side as f(x)f(x). Substitute x=1x = 1 and x=2x = 2.

Next step

Work out f(1)=1+2−5f(1) = 1 + 2 - 5 and f(2)=8+4−5f(2) = 8 + 4 - 5. One value is below zero and the other is above.

Full working

Let f(x)=x3+2x−5f(x) = x^3 + 2x - 5. Then

f(1)=1+2−5=−2<0,f(2)=8+4−5=7>0.f(1) = 1 + 2 - 5 = -2 < 0, \qquad f(2) = 8 + 4 - 5 = 7 > 0.

The signs are opposite, so a root lies in (1,2)(1, 2).

3. Show that the equation ex=4xe^x = 4x has a root between 00 and 11.

Hint

Bring every term to one side. The equation becomes ex−4x=0e^x - 4x = 0, so the function is f(x)=ex−4xf(x) = e^x - 4x.

Next step

Work out f(0)=1−0=1f(0) = 1 - 0 = 1 and f(1)=e−4f(1) = e - 4. Use e=2.718…e = 2.718\ldots

Full working

Let f(x)=ex−4xf(x) = e^x - 4x. Then

f(0)=1>0,f(1)=e−4=−1.2817…<0.f(0) = 1 > 0, \qquad f(1) = e - 4 = -1.2817\ldots < 0.

The signs are opposite, so a root lies in (0,1)(0, 1).

4. Locate the root of x3+2x−5=0x^3 + 2x - 5 = 0 to one decimal place.

Hint

Begin from the bracket (1,2)(1, 2) found in question 2. Test a value in the middle and keep the half that still contains the sign change.

Next step

Test x=1.5x = 1.5: the value is 3.375+3−5=1.3753.375 + 3 - 5 = 1.375, which is positive. The root lies in (1,1.5)(1, 1.5). Then test 1.31.3 and 1.41.4.

Full working

The bracket is (1,2)(1, 2). Test x=1.5x = 1.5:

f(1.5)=1.375>0,f(1.5) = 1.375 > 0,

so the root lies in (1,1.5)(1, 1.5). Test x=1.3x = 1.3 and x=1.4x = 1.4:

f(1.3)=2.197+2.6−5=−0.203<0,f(1.4)=2.744+2.8−5=0.544>0.f(1.3) = 2.197 + 2.6 - 5 = -0.203 < 0, \qquad f(1.4) = 2.744 + 2.8 - 5 = 0.544 > 0.

The root lies in (1.3,1.4)(1.3, 1.4). Test the midpoint, x=1.35x = 1.35:

f(1.35)=2.460375+2.7−5=0.160375>0.f(1.35) = 2.460375 + 2.7 - 5 = 0.160375 > 0.

Now the sign changes between 1.31.3 and 1.351.35, so the root is below 1.351.35 and rounds to 1.31.3 to one decimal place.

5. A function is defined by f(x)=1x−2f(x) = \dfrac{1}{x - 2}. It has f(1)=−1f(1) = -1 and f(3)=1f(3) = 1. Explain why the change of sign does not prove that there is a root between 11 and 33.

Hint

Look at the value x=2x = 2 and ask what happens to the function there.

Next step

The function is not defined at x=2x = 2. Check whether 1/(x−2)1/(x - 2) can ever equal zero.

Full working

The function has a break at x=2x = 2, where it is undefined. Its graph jumps from large negative values to large positive values across the break, so the sign change comes from the break and not from a crossing. Also, a fraction 1x−2\dfrac{1}{x - 2} is never zero for any finite xx, so the equation 1x−2=0\dfrac{1}{x - 2} = 0 has no solution. The function is not continuous on [1,3][1, 3], so the change-of-sign test does not apply.

6. A function has these values:

xx 00 11 22 33
f(x)f(x) −1-1 −0.5-0.5 0.80.8 44

Between which pair of consecutive values does a root lie?

Hint

A root needs a sign change between two consecutive readings in the table.

Next step

Compare the signs of −1-1, −0.5-0.5, 0.80.8 and 44 in order and find the first place where the sign changes.

Full working

The values at x=0x = 0 and x=1x = 1 are negative. The value at x=2x = 2 is positive. The sign changes between x=1x = 1 and x=2x = 2, so a root lies in (1,2)(1, 2).

7. For f(x)=(x−2)2f(x) = (x - 2)^2, work out f(1)f(1) and f(3)f(3). Explain why the change of sign fails to find the root at x=2x = 2.

Hint

Work out the two values first. Both are positive.

Next step

A square is never negative, so the graph touches the axis at x=2x = 2 and turns back. It does not cross.

Full working f(1)=(1−2)2=1,f(3)=(3−2)2=1.f(1) = (1 - 2)^2 = 1, \qquad f(3) = (3 - 2)^2 = 1.

Both values are positive, so there is no sign change on (1,3)(1, 3). The root at x=2x = 2 is repeated: the graph meets the axis and turns back without crossing. A change-of-sign search misses a repeated root.

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.