Skip to content
GATEiit

GATE AE, ME, CE, IN, CH + 9 more · Numerical Methods

Numerical Solutions of Algebraic Equations (Bisection and Newton–Raphson)

Numerical root finding and linear solvers for GATE AE: bisection bracketing error bounds, Newton-Raphson quadratic convergence and failure cases, plus Gauss elimination and Gauss-Seidel diagonal dominance.

Before you start

This topic comes before: Gauss-Seidel and Newton-Raphson load flow methods

Concept notes

1. Bisection method: guaranteed linear convergence

If f is continuous on [a,b] with opposite endpoint signs f(a) f(b)<0, at least one root lies inside (a,b). Each step evaluates the midpoint xm=a+b2 and keeps the half-interval with a sign change.

Guaranteed error bound after n steps (midpoint approximations): ∣en∣≤b−a2n(halves every step; order of convergence p=1). To ensure ∣en∣≤ε, the minimum number of iterations is n≥⌈log⁡2 ⁣(b−aε)⌉.

2. Newton–Raphson method: quadratic convergence

Linearizing f(x) about iterate xn gives the Newton–Raphson update: xn+1=xn−f(xn)f′(xn)(f′(xn)≠0). Near a simple root (f′(r)≠0), error shrinks quadratically (p=2): en+1≈f′′(r)2f′(r)en2 (rough rule: accurate digits roughly double each step).

Failure / slowdown modes:

  • f′(xn)=0 (horizontal tangent sends tangent parallel to x-axis).
  • Root multiplicity m>1 (f′(r)=0): drops to slow linear convergence unless modified to xn+1=xn−mf(xn)f′(xn).
  • Oscillation / divergence if initial guess x0 sits near an inflection or local extremum.
xf(x)x₀x₁ (tangent x-int)rxₙ₊₁ = xₙ − f(xₙ)/f′(xₙ)
Newton-Raphson replaces f(x) at x₀ with its tangent line and steps to the tangent's x-intercept x₁.

3. Numerical solutions for linear algebraic systems

For large linear systems Ax=b (common in finite-volume CFD and structural FEM):

  • Direct solver: Gauss elimination with partial pivoting: scales as O(n3/3) flops; swapping the largest available pivot magnitude ∣aik∣ in column k prevents division by zero and reduces round-off blow-up.
  • Iterative solvers: Jacobi and Gauss–Seidel: update xi(k+1) sequentially (Gauss–Seidel reuses new values immediately within the same sweep, typically converging twice as fast as Jacobi).
  • Sufficient condition for convergence: strict row diagonal dominance: ∣aii∣>∑j≠i∣aij∣for every row i. If rows aren't dominant initially, reorder rows before starting Gauss–Seidel so the largest magnitudes sit on the diagonal.

Formulas to remember

Bisection midpoint & error
xm=a+b2,∣en∣≤b−a2n
Minimum bisection steps
n≥log⁡2 ⁣(b−aε)
Newton–Raphson step
xn+1=xn−f(xn)f′(xn)
Newton error propagationQuadratic order p = 2 for simple roots
en+1≈f′′(r)2f′(r)en2
Secant step (derivative-free)Superlinear order ≈ 1.618
xn+1=xn−f(xn)xn−xn−1f(xn)−f(xn−1)
Gauss elimination flopsPartial pivoting prevents pivot division-by-zero
Operations≈n33
Strict diagonal dominanceGuarantees Jacobi and Gauss–Seidel convergence
∣aii∣>∑j≠i∣aij∣∀i

Common mistakes

  • Using error=b−a2n−1 vs b−a2n inconsistently in bisection: n evaluations shrink [a,b] to length (b−a)/2n.
  • Forgetting to compute f′(xn) analytically or evaluating angles in degrees instead of radians inside trig functions (cos⁡x,sin⁡x) in Newton–Raphson.
  • Stopping Newton–Raphson or assuming p=2 when f′(r)=0 (multiple roots drop convergence order to 1).
  • Running Gauss–Seidel on Ax=b without permuting equations to put large entries on the diagonal first.
  • Using Jacobi's rule (old values for all components) when a question specifies Gauss–Seidel (reuse updated components immediately).

Worked examples

Try each step yourself, then reveal the working.

Example 1: Finding square root via Newton–Raphson

numerical

Apply two iterations of Newton–Raphson to f(x)=x2−5=0 starting from x0=2.

  1. Step 1: Write the Newton iteration formula.

    Try it on paper first.

Example 2: Minimum bisection steps to meet tolerance

numerical

A root of f(x)=0 is bracketed in [1,3]. What is the minimum number of bisection steps needed to guarantee error ≤10−3?

  1. Step 1: Apply (b − a)/2ⁿ ≤ 0.001.

    Try it on paper first.

Example 3: One Gauss–Seidel iteration after checking diagonal dominance

numerical

Apply one sweep of Gauss–Seidel starting from (0,0,0) to 4x+y+z=7, x+5y−z=8, x−y+6z=17.

  1. Step 1: Verify strict diagonal dominance.

    Try it on paper first.

Example 4: Fixed-point form vs Newton convergence order

conceptual

Compare fixed-point iteration xn+1=g(xn) (g(r)=r) against Newton–Raphson when g′(r)≠0 vs g′(r)=0.

  1. Step 1: Expand error eₙ₊₁ = g(xₙ) − g(r).

    Try it on paper first.

Previous year questions

No official PYQ in our currently live papers is tagged with this exact topic yet. The topic test below uses original GATE-style questions.

Topic test

8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE Engineering Mathematics (AE, ME, CE, IN, CH + 9 more) syllabus; being checked by a reviewer. Updated 2026-12-01. Spotted a mistake? Use Report an issue on any question, or contact us.