Change of sign method --- interval bisection method

Authors Avatar

Winnie Zheng

Pure Mathematics 2 Coursework

Change of sign method --- interval bisection method

Introduction:

When I am looking for the roots of the equation, actually what I want is the values of x for which the graph y=f(x) crosses the x-axis. As the graph f(x) crosses the x-axis, there is going to be a sign change of y value on the two sides of the root. Hence provided the function gives a continuous graph, if there is a sign change in a located interval, I will know that the interval contains one root.

For interval bisection method, what I am actually going to do is to divide the interval into two parts, then take the half which contains sign changes of y.

 

Y=(x-2)(x-4)(x-6)+1

From the graph we can see that there are three roots lying in the interval (1,2); (4,5); (5,6). I am going to focus on the root lying in the interval (1,2)

I will show the steps on a spreadsheet:

The formulae I used in the spreadsheet are shown below:

Join now!

Where (a, b) is the interval of the root.

The graph below shows what I am actually doing. Every time I am using the middle value x of the interval, and find the corresponding y value, then I will get a new but a smaller range. The more steps I do, then closer to the exact root value I will get.

from the results I get from the spreadsheet, the root lies between the interval (1.88500977, 1.88525391),

error bound = 0.00012207

root = 1.88513184 ± 0.00012207

Occasions in which the interval bisection causes ...

This is a preview of the whole essay