GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 2.15

Newton square-root iteration

Engineering Mathematics & Other Topics · Numerical Methods · Full GATE CSE 1995 paper

GATE 1995, Q2.15 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Numerical Methods

Question 2.15, GATE 1995: What is the Newton–Raphson iteration for the positive square root of b?
Tap to enlarge
Your answer
Answer & solution

Answer: B: x_next=(x²+b)/(2x) (no official key was published)

Set f(x)=x²−b and f′(x)=2x. Newton’s formula gives x_next=x−f(x)/f′(x)=x−(x²−b)/(2x)=(x²+b)/(2x). Starting with positive x and b keeps the iterates positive and approaches the positive root. The denominator must not be zero. The alternative form (x+b/x)/2 makes clear that each step averages the current estimate with the reciprocal-scaled estimate b/x.

Original paper, page 4