← 2020 Paper 2
UPSC 2020 Maths Optional Paper 2 Q5b — Step-by-Step Solution
10 marks · Section B
Newton-Raphson method (convergence, geometric meaning) · Numerical Analysis · asked 6× in 13 yrs · Read the full method →
Question
Show that the equation f(x)=cos8π(x+1)+0.148x−0.9062=0 has one root in the interval (−1,0) and one in (0,1). Calculate the negative root correct to four decimal places using Newton–Raphson method.
Technique
IVT for existence (sign changes at −1,0,1); Newton–Raphson xn+1=xn−f/f′ for the negative root.
Solution
Step 1 — Existence of the two roots (sign changes)
f(x)=cos8π(x+1)+0.148x−0.9062.
Evaluate at the endpoints:
- f(−1)=cos0+0.148(−1)−0.9062=1−0.148−0.9062=−0.0542<0.
- f(0)=cos8π+0−0.9062=0.923880−0.9062=+0.017680>0.
- f(1)=cos82π+0.148−0.9062=cos4π+0.148−0.9062=0.707107−0.7582=−0.051093<0.
Since f is continuous,
f(−1)<0, f(0)>0 ⇒ a root in (−1,0);f(0)>0, f(1)<0 ⇒ a root in (0,1).
By the Intermediate Value Theorem there is at least one root in each interval. ■
Step 2 — Newton–Raphson setup for the negative root
f′(x)=−8πsin8π(x+1)+0.148,xn+1=xn−f′(xn)f(xn).
Take x0=−0.5 (interior of (−1,0)).
Step 3 — Iterations
Working to 6 decimals (angle θn=8π(xn+1)):
| n | xn | f(xn) | f′(xn) | xn+1 |
|---|
| 0 | −0.500000 | +0.000585 | 0.071388 | −0.508199 |
| 1 | −0.508199 | −0.000005 | 0.072629 | −0.508129 |
| 2 | −0.508129 | ≈0 | 0.072618 | −0.508129 |
The iterate is stable from n=2:
x→−0.508129 (to 6 d.p.).
(Convergence is quadratic: starting at x0=−0.5 the value is correct to 4 d.p. after a single step.)
Answer
xneg≈−0.5081