Jump to content

Intermediate value theorem/x^3-4x+2/Bisection method/Example

From Wikiversity

We want to determine approximately a zero for the polynomial

f(x)=x3−4x+2

with the help of the method given by the Intermediate value theorem. We have f(1)=−1 and f(2)=2, hence by fact, there must be a zero inside the interval [1,2]. We compute the value of the function at the arithmetic mean of the interval, which is 32, and get

f(32)=278−4⋅32+2=27−48+168=−58<0.

Hence, we have to continue with the right half of the interval [32,2]. The arithmetic mean thereof is 74. The value of the function at this point is

f(74)=(74)3−4⋅74+2=34364−5=343−32064=2364>0.

So now we have to continue with the left part of the interval, namely [32,74]. Its arithmetic mean is 138. The value of the function at this point is

f(138)=(138)3−4⋅138+2=2197512−132+2=2197−3328+1024512=−107512<0.

Therefore, we know that there is a zero between 138 and 74=148.