← 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\log_{10}(2x+1)-x^2+3=0 in the interval [0,3][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)f(x^{*}).

Solution

Let f(x)=log10(2x+1)x2+3f(x)=\log_{10}(2x+1)-x^{2}+3.

Step 1 — Bracket

f(0)=log10(1)0+3=3>0,f(3)=log1079+3=0.8450986=5.154902<0.f(0)=\log_{10}(1)-0+3=3>0,\qquad f(3)=\log_{10}7-9+3=0.845098-6=-5.154902<0.

So a root lies in [0,3][0,3].

Step 2 — Regula-Falsi iteration

The Regula-Falsi update with bracket [a,b][a,b] where f(a)f(b)<0f(a)f(b)<0 is

x=af(b)bf(a)f(b)f(a).x^{*}=\frac{a\,f(b)-b\,f(a)}{f(b)-f(a)}.

After computing f(x)f(x^{*}), replace whichever endpoint shares its sign.

nnaabbf(a)f(a)f(b)f(b)xn=xx_n=x^{*}f(xn)f(x_n)new bracket
10.00000033.0000005.154902-5.1549021.103635+2.288126+2.288126[1.103635,3][1.103635,3]
21.10363532.2881265.154902-5.1549021.686606+0.796157+0.796157[1.686606,3][1.686606,3]
31.68660630.7961575.154902-5.1549021.862353+0.206016+0.206016[1.862353,3][1.862353,3]
41.86235330.2060165.154902-5.1549021.906049+0.049312+0.049312[1.906049,3][1.906049,3]
51.90604930.0493125.154902-5.1549021.916477+0.011332+0.011332[1.916477,3][1.916477,3]
61.91647730.0113325.154902-5.1549021.918861+0.002617+0.002617[1.918861,3][1.918861,3]
71.91886130.0026175.154902-5.1549021.919472+0.000387+0.000387[1.919472,3][1.919472,3]
81.91947230.0003875.154902-5.1549021.919548+0.000057+0.000057[1.919548,3][1.919548,3]
91.91954830.0000575.154902-5.1549021.919570+0.000009+0.000009[1.919570,3][1.919570,3]
101.91957030.0000095.154902-5.1549021.919573+0.000001+0.000001

Sample arithmetic (iteration 1):

x1=0(5.154902)335.1549023=98.154902=1.103635.x_1=\frac{0\cdot(-5.154902)-3\cdot 3}{-5.154902-3}=\frac{-9}{-8.154902}=1.103635.

f(1.103635)=log10(3.207270)1.218010+3=0.5061361.218010+3=2.288126f(1.103635)=\log_{10}(3.207270)-1.218010+3=0.506136-1.218010+3=2.288126.

Sample arithmetic (iteration 4):

x4=1.862353(5.154902)30.2060165.1549020.206016=9.6000610.6180485.360918=10.2181095.360918=1.906049.x_4=\frac{1.862353\cdot(-5.154902)-3\cdot 0.206016}{-5.154902-0.206016}=\frac{-9.600061-0.618048}{-5.360918}=\frac{-10.218109}{-5.360918}=1.906049.

Step 3 — Stopping and reporting

By iteration 10, xnxn1<5×106|x_{n}-x_{n-1}|<5\times 10^{-6} and f(xn)<106|f(x_n)|<10^{-6}. So the root, correct to 6 decimal places, is

Answer

  x1.919573.  \boxed{\;x\approx 1.919573.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.