GATE / CS ARCHIVE

GATE CSE 2012 / QUESTION 28

Bisection iterations to an exact polynomial zero

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

GATE 2012, Q28 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Numerical Methods

Question 28, GATE 2012: The bisection method is applied to compute a zero of the function f(x) = x⁴ – x³ – x² – 4 in the
        interval [1,9]. The method converges to a solution after ––––– iterations.
        (A) 1                    (B) 3                    (C) 5                   (D) 7
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Let f(x)=x⁴−x³−x²−4. Initially f(1)=−5 and f(9)>0. The first midpoint is 5 with f(5)=471>0, leaving [1, 5]. The second is 3 with f(3)=41>0, leaving [1, 3]. The third is 2 with f(2)=16−8−4−4=0. Therefore an exact root is found after three midpoint evaluations, B; no unspecified tolerance is needed.

Check: The sign checks select the half-interval containing a root because f is continuous. The successive midpoint sequence is 5,3,2; counting the initial endpoints as iterations would miscount the actual bisection steps.

Original paper, page 6 · Answer key