Sitemap

Root Finding Approach: Bisection Method

Jan 18, 2024

--

The bisection method is used to find the roots of a polynomial equation. It separates the interval and subdivides the interval in which the root of the equation lies. The principle behind this method is the intermediate theorem for continuous functions.

Let’s consider the continuous function f in the closed interval [a,b] is given with and of different signs. Then by the intermediate theorem, a point c exists for which f(c)=0.

Get Kunal’s stories in your inbox

Join Medium for free to get updates from this writer.

Steps to find the root:

  • Find two points a and b such that f(a) x f(b)<0
  • Find the midpoint of a and b, say c
  • If f(a) x f(c)<0, there exists a root between a and c. else if f(b) x f(c)<0 there exists a root between b and c.
  • Repeat above three steps until f(c)=0

Let’s Visualize the Bisection Method in the animation below,

Press enter or click to view image in full size
Visual representation of finding root using bisection method

--

--

Kunal
Kunal

Written by Kunal

0 followers

Hello World !