Locating a root: graphs and sign changes
A cube tank of side x m and a prism x m long, 1 m by 2 m across, hold 11 m³ together, so x³ + 2x = 11. No formula solves this cubic. Instead you trap its root, called α, between two numbers. A graph shows roughly where α is; a sign change proves it.
1See the root on a graph
Show that x³ + 2x = 11 has exactly one real root, and estimate it.
- Split into two sides you can sketch
- Describe each graphy=x³ rises everywherey=11 − 2x falls everywhere
- Count the crossingsa rising and a falling graph meet at most once
- Answerexactly one real root, α ≈ 1.9
2Prove it with a sign change
Show that α lies between 1 and 2.
- Write the equation as F(x) = 0
- Work out F at each endF(1)=1 + 2 − 11 = −8F(2)=8 + 4 − 11 = 1
- Compare the signsF(1) < 0 < F(2)
- Answer1 < α < 2
Narrow the interval to [1.9, 2].
- Still negative at 1.9F(1.9)=−0.341
- Keep the half where the signs differF(1.9) < 0 < F(2)
- Answer1.9 < α < 2A narrower trap for the same root.
3When a sign test misleads
- 1(x − 1.5)² is 0.25 at both ends, yet x = 1.5 is a root. A curve that touches the axis does not change sign.
- 21/(x − 1.5) is −2 at x = 1 and 2 at x = 2, yet it is never 0. It breaks at x = 1.5, so it is not continuous there.
4Try it
1 Show that has a root between 1 and 2.
2 Work out F(1.5) and F(1.6). What narrower interval traps the root?
3 Sketch y = x³ and y = 5 − x. How many real roots does the equation have?
- 1F(1) = −3 < 0 and F(2) = 5 > 0; F is continuous, so a root lies between
- 2F(1.5) = −0.125 < 0 and F(1.6) = 0.696 > 0, so the root lies in (1.5, 1.6)
- 3one: x³ rises everywhere and 5 − x falls everywhere, so they meet once
Fixed-point iteration
A calculator cannot solve x³ + 2x = 11 in one go, but it can repeat one calculation very fast. Rearrange the equation as x = g(x), feed each answer back in, and the numbers close in on α. A value with g(x) = x is a fixed point.
1Rearrange into x = g(x)
Show that x³ + 2x − 11 = 0 can be written as x = ∛(11 − 2x), and write it as an iteration.
- Keep x³ on one side
- Take the real cube root
- Turn it into a rule
- Answerg(x) = ∛(11 − 2x)
If the sequence converges to L, which equation does L satisfy?
- Put L on both sides
- Cube both sides
- AnswerThe limit is a root of the original cubic.
2Iterate, keeping every digit
| n | xₙ |
|---|---|
| 0 | 1.500000 |
| 1 | 2.000000 |
| 2 | 1.912931 |
| 3 | 1.928664 |
| 4 | 1.925840 |
| 5 | 1.926348 |
| 6 | 1.926256 |
| 7 | 1.926273 |
Use xₙ₊₁ = ∛(11 − 2xₙ) with x₀ = 1.5 to find α to 3 decimal places.
- First iterate=
- Use the new value, not x₀ again≈ 1.912931
- Keep going until three places settlex₅=1.926348x₆=1.926256x₇=1.926273
- Answerα ≈ 1.926 to 3 decimal places
3Some rules run away
| n | g: ∛(11 − 2xₙ) | h: (11 − xₙ³)/2 |
|---|---|---|
| 0 | 1.5000 | 1.5000 |
| 1 | 2.0000 | 3.8125 |
| 2 | 1.9129 | −22.2076 |
| 3 | 1.9287 | 5481.6751 |
Iterate h from x₀ = 1.5.
- The first step jumps out of [1, 2]= 3.8125
- Use each new value, sign includedx₂ ≈ −22.2076, x₃ ≈ 5481.7
- AnswerThe h sequence divergesThe values grow and swap sides; they never approach α.
4Try it
1 Show that x³ + x − 5 = 0 can be written as x = ∛(5 − x).
2 Use xₙ₊₁ = ∛(5 − xₙ) with x₀ = 1.5 to find x₁ and x₂ to 4 decimal places.
3 Keep iterating. Give the root to 2 decimal places.
- 1x³ = 5 − x, then take the real cube root of both sides
- 2x₁ = ∛3.5 ≈ 1.5183, x₂ ≈ 1.5156
- 3the iterates settle at 1.5160…, so x = 1.52
Justifying accuracy and answering in context
Iterates that agree only suggest an answer. To be sure that α = 1.926 to 3 decimal places, show that α lies between the two numbers that round to it, 1.9255 and 1.9265. Then put the answer back into the tank it came from.
1Test both rounding boundaries
Show that α = 1.926 to 3 decimal places.
- Find the rounding boundaries1.926 − 0.0005=1.92551.926 + 0.0005=1.9265
- Work out F at eachF(1.9255)=−0.010112F(1.9265)=0.003016
- Compare the signsF(1.9255) < 0 < F(1.9265)
- Answerα = 1.926 to 3 decimal places
2More places need new boundaries
| Boundary | F(boundary) | Sign |
|---|---|---|
| 1.92625 | −0.0002668 | negative |
| 1.92635 | 0.0010464 | positive |
3Answer the tank problem
A cube of side x m and a prism x m long with a 1 m by 2 m cross-section hold 11 m³ in total. Find x to 3 decimal places.
- Volume of each shapecube: x³ m³prism: 1 × 2 × x=2x m³
- Add them
- Solve as on pages 2 and 3iterate g from x₀=1.5sign test at 1.9255 and 1.9265
- Answerx = 1.926 m to 3 decimal places
Check the volumes with the unrounded root.
- Keep every digitx ≈ 1.926270314 m
- Cube and prismx³ ≈ 7.147459, 2x ≈ 3.852541
- Answertotal ≈ 11.000000 m³The answer fits the tank.
4Try it
1 Which two numbers do you test to show a root is 1.93 to 2 decimal places?
2 Show that the root of x³ + x − 5 = 0 is 1.516 to 3 decimal places.
3 A cube of side x cm and a block of volume 5x cm³ hold 20 cm³ in total. Write an equation for x and give x to 2 decimal places.
- 11.925 and 1.935
- 2F(1.5155) ≈ −0.0038 < 0 and F(1.5165) ≈ 0.0041 > 0, so 1.5155 < x < 1.5165
- 3x³ + 5x = 20; the root is 2.1131…, so x = 2.11 cm (signs change between 2.105 and 2.115)
Iterations with logarithms and tangents
Equations such as eˣ + x = 10 or tan x = 4 − 2x mix x with eˣ or tan x, so no algebra gets x on its own. The same three tools still work: rearrange, iterate, prove by signs. Two new checks come with them: a logarithm needs a positive input, and an inverse tangent works in radians and gives one angle.
1ln needs a positive input
Show that eˣ + x = 10 can be written as x = ln(10 − x), and that a limit of the iteration solves the equation.
- Isolate eˣ
- Take natural logs
- If xₙ → L, put L on both sides
- Answerthe limit L solves eˣ + x = 10
2Iterate and prove the ln root
| n | xₙ |
|---|---|
| 0 | 2.000000 |
| 1 | 2.079442 |
| 2 | 2.069462 |
| 3 | 2.070721 |
| 4 | 2.070562 |
| 5 | 2.070582 |
| 6 | 2.070580 |
Find the root of eˣ + x = 10 to 3 decimal places.
- Iterate xₙ₊₁ = ln(10 − xₙ)x₄=2.070562x₅=2.070582
- Test the rounding boundariesE(2.0705) ≈ −0.00071E(2.0715) ≈ 0.00822
- Answerx = 2.071 to 3 decimal places
3tan⁻¹: radians, one branch
For 0 < x < π/2, show that tan x = 4 − 2x has a root between 1 and 1.2, and write an iteration for it.
- Signs of T(x) = tan x + 2x − 4T(1) ≈ −0.4426T(1.2) ≈ 0.9722
- Take tan⁻¹ of both sides=
- If xₙ → L, take tan of both sides
- Answer=
4Iterate and prove the tan root
| n | xₙ |
|---|---|
| 0 | 1.00000 |
| 1 | 1.10715 |
| 2 | 1.06031 |
| 3 | 1.08181 |
| 4 | 1.07215 |
| 5 | 1.07653 |
| 6 | 1.07455 |
| 7 | 1.07545 |
| 8 | 1.07504 |
Find the root of tan x = 4 − 2x to 3 decimal places, starting at x₀ = 1.
- Iterate in radiansx₇=1.07545x₈=1.07504
- Test the rounding boundariesT(1.0745) ≈ −0.00429T(1.0755) ≈ 0.00213
- Answerx = 1.075 radians to 3 decimal places
5Try it
1 The sequence xₙ₊₁ = ln(8 − xₙ) converges. Which equation does its limit satisfy?
2 Start at x₀ = 2. Find x₁ and x₂ to 4 decimal places.
3 Using xₙ₊₁ = tan⁻¹(3 − xₙ) in radians with x₀ = 1, find x₁ to 4 decimal places, and the equation its limit satisfies.
- 1L = ln(8 − L), so eᴸ = 8 − L: eˣ + x = 8
- 2x₁ = ln 6 ≈ 1.7918, x₂ ≈ 1.8259 (the root is 1.821)
- 3x₁ = tan⁻¹ 2 ≈ 1.1071; tan x = 3 − x (root ≈ 1.089)