GATE / CS ARCHIVE

GATE CSE 2015 SET 2 / QUESTION 51

GATE CSE 2015 Set 2 Q51

Engineering Mathematics & Other Topics · Numerical Methods · Full GATE CSE 2015 Set 2 paper

GATE 2015 Set 2, Q51 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Numerical Methods

Question 51, GATE 2015: A root-finding procedure stores successive estimates xa, xb and fb=f(xb). Each iteration computes xt, then sets xa=xb, xb=xt, fb=f(xb). Identify the secant update among the displayed alternatives. The correct candidate C is xb−(xb−xa)fb/[fb−f(xa)]. Options: A xb−(fb−f(xa))fb/(xb−xa); B xa−(fa−f(xa))fa/(xb−xa); C xb−(xb−xa)fb/(fb−f(xa)); D xa−(xb−xa)fa/(fb−f(xa)). The procedure does not define fa.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

The secant through(xa, f(xa)) and(xb, fb) has slope(fb−f(xa))/(xb−xa). Setting its linear approximation to zero gives xt=xb−(xb−xa)*fb/(fb−f(xa)), option C. This uses quantities defined by the procedure and requires a nonzero denominator. An equivalent formula anchored at xa would require fa=f(xa), but fa is not initialized in the displayed procedure.

The secant line through (xa, f(xa)) and (xb, fb) has slope (fb−f(xa))/(xb−xa). Its x-intercept solves 0=fb+slope·(xt−xb). Rearranging gives xt=xb−fb(xb−xa)/(fb−f(xa)), exactly C. The stored fb is the current endpoint value, so replacing its numerator by an unrelated function value would not describe this line. The denominator must be nonzero; as with ordinary secant iteration, convergence is not guaranteed for arbitrary starting points.

Original paper, page 45 · Answer key