← 2019 Paper 2

UPSC 2019 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

Apply Newton-Raphson method, to find a real root of transcendental equation xlog10x=1.2x\log_{10}x=1.2, correct to three decimal places.

Technique

Newton–Raphson on f(x)=xlog10x1.2f(x)=x\log_{10}x-1.2, using f(x)=log10x+Mf'(x)=\log_{10}x+M with M=1/ln10=0.434294M=1/\ln10=0.434294.

Solution

Setup. Let f(x)=xlog10x1.2f(x)=x\log_{10}x-1.2. Recall log10x=lnxln10\log_{10}x=\dfrac{\ln x}{\ln 10}, ln10=2.302585\ln 10=2.302585, and 1ln10=0.434294\dfrac{1}{\ln 10}=0.434294 (=M=M, the modulus).

f(x)=log10x+x1xln10=log10x+0.434294.f'(x)=\log_{10}x+x\cdot\frac{1}{x\ln10}=\log_{10}x+0.434294.

Newton iteration: xn+1=xnf(xn)f(xn)\displaystyle x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}.

Step 1 — Locate the root

f(2)=2log1021.2=2(0.30103)1.2=0.59794<0f(2)=2\log_{10}2-1.2=2(0.30103)-1.2=-0.59794<0. f(3)=3log1031.2=3(0.47712)1.2=+0.23136>0f(3)=3\log_{10}3-1.2=3(0.47712)-1.2=+0.23136>0. Root in (2,3)(2,3). Take x0=2.5x_0=2.5.

Step 2 — Iterations

x0=2.5x_0=2.5: log102.5=0.39794\log_{10}2.5=0.39794. f=2.5(0.39794)1.2=0.20515f=2.5(0.39794)-1.2=-0.20515, f=0.39794+0.43429=0.83223f'=0.39794+0.43429=0.83223.

x1=2.50.205150.83223=2.5+0.24650=2.74650.x_1=2.5-\frac{-0.20515}{0.83223}=2.5+0.24650=2.74650.

x1=2.74650x_1=2.74650: log102.74650=0.438756\log_{10}2.74650=0.438756. f=2.74650(0.438756)1.2=1.2051121.2=0.005112f=2.74650(0.438756)-1.2=1.205112-1.2=0.005112, f=0.438756+0.434294=0.873050f'=0.438756+0.434294=0.873050.

x2=2.746500.0051120.873050=2.746500.005855=2.740645.x_2=2.74650-\frac{0.005112}{0.873050}=2.74650-0.005855=2.740645.

x2=2.740645x_2=2.740645: f=2.740645(0.437809)1.20.0000030f=2.740645\,(0.437809)-1.2\approx 0.000003\approx 0.

x3=2.740646.x_3=2.740646.

Converged. To three decimals:

Answer

  x2.741.  \boxed{\;x\approx 2.741.\;}
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.