NivaarExam PrepOfficial exam papers ↗

04-BS-5 · Undated paper

Question 6 of 7: Bisection, Newton–Raphson and Fixed-Point Iteration

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

Paper format. National Examinations, 04-BS-5 Advanced Mathematics — three-hour closed-book paper; one approved Casio or Sharp calculator and one 8.5″×11″ two-sided aid sheet are permitted. Seven questions are printed and any five constitute a complete paper, all questions being of equal value (20 marks each). All seven questions are solved below, because the set is a study resource rather than an examination attempt.

Reference texts for 04-BS-5 Advanced Mathematics. E. Kreyszig, Advanced Engineering Mathematics, 10th ed. — Ch. 5 (series solutions of ODEs), Ch. 11 (Fourier series and Fourier transforms), Ch. 19 (numerics: root finding, interpolation, integration), Ch. 20 (numeric linear algebra); R. L. Burden and J. D. Faires, Numerical Analysis, 9th ed. — Ch. 2 (bisection, Newton, fixed-point iteration), Ch. 3 (divided-difference interpolation), Ch. 4 (Romberg integration); G. Strang, Introduction to Linear Algebra, 6th ed. — Ch. 6 (eigenvalues, Cayley–Hamilton).

Reading of the paper. Where a printed symbol is unclear, the reading adopted is stated explicitly and justified from the paper's own internal evidence (for example Question 7's matrix, which is recovered exactly from the characteristic equation the question prints).

Question 6: Bisection, Newton–Raphson and Fixed-Point Iteration (20 marks: (a) 6, (b) 7, (c) 7)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. The transcendental equation $f(x)=5^{x}+3x-10=0$ with a single real root bracketed by $a=1$ and $b=2$, and the two rearrangements into fixed-point form quoted in part (c).

Given data
QuantityValue
Equation$f(x)=5^{x}+3x-10=0$
Derivative$f'(x)=5^{x}\ln 5 + 3$
Initial bracket$a=1$, $b=2$
End values$f(1)=-2$, $f(2)=21$
Fixed-point form (i)$g(x)=\ln(10-3x)/\ln 5$
Fixed-point form (ii)$g(x)=(10-5^{x})/3$

Find. Four bisection steps; two Newton–Raphson steps started from the bisection result; five fixed-point iterates of form (i) from $x_{0}=1$; and a justification of why form (i) converges.

Check: reading of the printed form (i). The only algebraically consistent reading is the one adopted here: taking base-5 logarithms of $5^{x}=10-3x$ gives $x\ln 5 = \ln(10-3x)$, i.e. $x = \ln(10-3x)/\ln 5$, which is the natural partner of the clearly printed form (ii) $x=(10-5^{x})/3$ and is also the form that actually converges — as the question asserts it does.

11.21.41.61.8205101520xf(x)root ≈ 1.16383f(x) = 5^x + 3x − 10
$f(x)=5^{x}+3x-10$ on the given bracket. The end values $f(1)=-2$ and $f(2)=21$ have opposite signs and $f$ is strictly increasing, so the root near $1.16383$ is the only one.

Approach. Establish that the root is unique from the sign of $f'$, then halve the bracket four times; feed the last midpoint into Newton–Raphson twice; finally iterate form (i) five times and test convergence with the contraction criterion $|g'(x^{*})| \lt 1$.

  1. Confirm the bracket and the uniqueness of the root. $f(1)=5+3-10=-2$ and $f(2)=25+6-10=21$ have opposite signs, so a root lies in $(1,2)$ by the intermediate value theorem. Moreover $f'(x)=5^{x}\ln 5 + 3 \gt 0$ for every real $x$, so $f$ is strictly increasing and the root is unique — which is exactly what the question states.
  2. Four bisection steps (part a). Each step evaluates $f$ at the midpoint and keeps the half-interval across which the sign changes:
    Bisection on $[1,2]$
    StepBracketMidpoint $m$$f(m)$SignNew bracket
    $1$$[1,\;2]$$1.500000$$+5.680340$$+$$[1,\;1.5]$
    $2$$[1,\;1.5]$$1.250000$$+1.226744$$+$$[1,\;1.25]$
    $3$$[1,\;1.25]$$1.125000$$-0.510777$$-$$[1.125,\;1.25]$
    $4$$[1.125,\;1.25]$$1.187500$$+0.323748$$+$$[1.125,\;1.1875]$
    After four halvings the answer is the fourth midpoint, $$\boxed{\;x \approx 1.1875,\qquad \text{root} \in [1.125,\;1.1875]\;}$$ with a guaranteed error no worse than the remaining bracket width $0.0625$.
  3. First Newton–Raphson step (part b). With $x_{0}=1.1875$, $f(x_{0}) = 0.3237480$ and $f'(x_{0}) = 5^{1.1875}\ln 5 + 3 = 13.881809$, $$x_{1} = x_{0} - \frac{f(x_{0})}{f'(x_{0})} = 1.1875 - \frac{0.3237480}{13.881809} = 1.1641782 .$$
  4. Second Newton–Raphson step. Now $f(x_{1}) = 0.0047038$ and $f'(x_{1}) = 13.480932$, so $$x_{2} = 1.1641782 - \frac{0.0047038}{13.480932} = \boxed{\;1.1638293\;}$$ Two Newton steps have taken the residual from $3.2\times10^{-1}$ to $4.7\times10^{-3}$ and then to about $4\times10^{-6}$: the error is squaring at each step, which is the quadratic convergence Newton–Raphson delivers near a simple root. Continued iteration settles on $x^{*}=1.1638292$.
  5. Five fixed-point iterations of form (i) (part c). With $g(x)=\ln(10-3x)/\ln 5$ and $x_{0}=1$, so that $g(1)=\ln 7/\ln 5$:
    Fixed-point iteration $x_{k+1}=\ln(10-3x_{k})/\ln 5$
    $k$$x_{k}$$10-3x_{k}$$x_{k+1}$
    $0$$1.000000$$7.000000$$1.209062$
    $1$$1.209062$$6.372814$$1.150738$
    $2$$1.150738$$6.547786$$1.167567$
    $3$$1.167567$$6.497299$$1.162758$
    $4$$1.162758$$6.511726$$1.164136$
    The fifth iterate is $$\boxed{\;x_{5} \approx 1.164136\;}$$ already within $3\times10^{-4}$ of the Newton value. The iterates alternate about the root, which is the signature of a negative derivative of $g$.
  6. Explain the convergence. Differentiating form (i), $$g'(x) = \frac{1}{\ln 5}\cdot\frac{-3}{10-3x} \quad\Longrightarrow\quad \big|g'(x^{*})\big| = \frac{3}{\ln 5\,\big(10-3x^{*}\big)} = \frac{3}{1.60944 \times 6.50851} = 0.2864 .$$ Since $|g'| \approx 0.29 \lt 1$ throughout a neighbourhood of the root, $g$ is a contraction there and the fixed-point theorem guarantees convergence from any starting value in that neighbourhood, with the error shrinking by roughly a factor of $0.29$ per step (linear convergence). The negative sign explains the alternation. By contrast form (ii) has $g'(x) = -5^{x}\ln 5/3$, so $|g'(x^{*})| = 3.4917 \gt 1$: that arrangement is expansive at the root and the iteration diverges, which is why the question directs the candidate to form (i).
Final results — Question 6
QuantityResult
(a) Bisection midpoints$1.500000$, $1.250000$, $1.125000$, $1.187500$
(a) Answer after four bisections$x \approx 1.1875$, root in $[1.125,\;1.1875]$
(b) Newton iterate $x_{1}$$1.1641782$
(b) Newton iterate $x_{2}$$1.1638293$
(c) Fixed-point iterates $x_{1}$–$x_{5}$$1.209062$, $1.150738$, $1.167567$, $1.162758$, $1.164136$
(c) $|g'|$ at the root, form (i) / form (ii)$0.2864$ (converges) / $3.4917$ (diverges)
Converged root$x^{*} = 1.1638292$