← 2023 Paper 2
UPSC 2023 Maths Optional Paper 2 Q8b — Step-by-Step Solution
15 marks · Section B
Regula Falsi (False Position) · Numerical Analysis · Read the full method →
Question
Compute a root of the equation log10(2x+1)−x2+3=0 in the interval [0,3] by Regula-Falsi method, correct to 6 decimal places.
Technique
Regula-Falsi (false-position); linear interpolation across the bracket; replace endpoint with same sign as f(x∗).
Solution
Let f(x)=log10(2x+1)−x2+3.
Step 1 — Bracket
f(0)=log10(1)−0+3=3>0,f(3)=log107−9+3=0.845098−6=−5.154902<0.
So a root lies in [0,3].
Step 2 — Regula-Falsi iteration
The Regula-Falsi update with bracket [a,b] where f(a)f(b)<0 is
x∗=f(b)−f(a)af(b)−bf(a).
After computing f(x∗), replace whichever endpoint shares its sign.
| n | a | b | f(a) | f(b) | xn=x∗ | f(xn) | new bracket |
|---|
| 1 | 0.000000 | 3 | 3.000000 | −5.154902 | 1.103635 | +2.288126 | [1.103635,3] |
| 2 | 1.103635 | 3 | 2.288126 | −5.154902 | 1.686606 | +0.796157 | [1.686606,3] |
| 3 | 1.686606 | 3 | 0.796157 | −5.154902 | 1.862353 | +0.206016 | [1.862353,3] |
| 4 | 1.862353 | 3 | 0.206016 | −5.154902 | 1.906049 | +0.049312 | [1.906049,3] |
| 5 | 1.906049 | 3 | 0.049312 | −5.154902 | 1.916477 | +0.011332 | [1.916477,3] |
| 6 | 1.916477 | 3 | 0.011332 | −5.154902 | 1.918861 | +0.002617 | [1.918861,3] |
| 7 | 1.918861 | 3 | 0.002617 | −5.154902 | 1.919472 | +0.000387 | [1.919472,3] |
| 8 | 1.919472 | 3 | 0.000387 | −5.154902 | 1.919548 | +0.000057 | [1.919548,3] |
| 9 | 1.919548 | 3 | 0.000057 | −5.154902 | 1.919570 | +0.000009 | [1.919570,3] |
| 10 | 1.919570 | 3 | 0.000009 | −5.154902 | 1.919573 | +0.000001 | — |
Sample arithmetic (iteration 1):
x1=−5.154902−30⋅(−5.154902)−3⋅3=−8.154902−9=1.103635.
f(1.103635)=log10(3.207270)−1.218010+3=0.506136−1.218010+3=2.288126.
Sample arithmetic (iteration 4):
x4=−5.154902−0.2060161.862353⋅(−5.154902)−3⋅0.206016=−5.360918−9.600061−0.618048=−5.360918−10.218109=1.906049.
Step 3 — Stopping and reporting
By iteration 10, ∣xn−xn−1∣<5×10−6 and ∣f(xn)∣<10−6. So the root, correct to 6 decimal places, is
Answer
x≈1.919573.