Bisection Method
Bisection Method
For any continuous function f(x), find a closed interval [a, b] such that f(a).f(b) < 0.
Find the midpoint of a, b. Let x1 = (a + b)/2
If f(x1) = 0, then x1 is the root.
If f(x1) ≠ 0, then
f(a).f(x1) < 0, root of f(x) lies in [a, x1], continue the above steps for interval [a, x1].
f(x1).f(b) < 0, root of f(x) lies in [x1, b], continue the above steps for interval [x1, b].
Continue the process repeatedly until we find a point xo in [a, b] for which f(xo) = 0.
Question 1:
Find the root of the following polynomial function using the bisection method:
x3 – 4x – 9.
Solution:
Let f(x) = x3 – 4x – 9
f(2) = 8 – 8 – 9 = – 9
f(3) = 27 – 12 – 9 = 6
First iteration:
x1 = (2 + 3)/2 = 2.5
Second iteration:
x2 = (2.5 + 3)/2 = 2.75
Third iteration:
Question 2:
Find the root of the following polynomial function using the bisection method:
x3 – 4.
Solution:
Let f(x) = x3 – 4
f(0) = 0 – 4 = –4
f(1) = 1 – 4 = –3
f(2) = 8 – 4 = 4
First iteration:
x1 = (1 + 2)/2 = 1.5
Question 3:
Find the root of the following polynomial function using the bisection method:
x3 – 3.
Solution:
Let f(x) = x3 – 3
f(0) = 0 – 3 = –3
f(1) = 1 – 3 = –2
f(2) = 8 – 3 = 5
First iteration:
x1 = (1 + 2)/2 = 1.5
Question 4:
Find the root of the following polynomial function using the bisection method:
x2 – 5.
Solution:
Let f(x) = x2 – 5
f(0) = 0 – 5 = –5
f(1) = 1 – 5 = –4
f(2) = 4 – 5 = –1
f(3) = 9 – 5 = 4
First iteration:
x1 = (2 + 3)/2 = 2.5
Question 5:
Find the root of the following polynomial function using the bisection method:
x3 – 3x – 5.
Solution:
Let f(x) = x3 – 3x – 5
f(2) = 8 – 6 – 5 = –3
f(3) = 27 – 9 – 5 = 13
∴ the root lies in [2, 3]
First iteration:
x1 = (2 + 3)/2 = 2.5
Also Read:
Question 6:
Find √12.
Solution:
Let x = √12 ⇒ x2 – 12 = 0
f(3) = 9 – 12 = –3
f(4) = 16 – 12 = 4
First iteration:
x1 = (3 + 4)/2 = 3.5
Question 7:
Find the root of the following polynomial function using the bisection method:
x4 – 2
Solution:
Let f(x) = x4 – 2
f(1) = 1 – 2 = –1
f(2) = 16 – 2 = 14
Question 8:
Find out after how many iterations the function x4 – x3– x2 – 4 in the interval [1, 9].
Solution:
Let f(x) = x4 – x3 – x2 – 4
f(1) = 1 – 1 – 1 – 4 = –5
f(9) = 6561 – 729 – 81 – 4 = 5747
First iteration:
x1 = (1 + 9)/2 = 5
Second iteration:
x2 = (1 + 5)/2 = 3
f(x1) = 81 – 27 – 9 – 4 > 0
Third iteration:
x3 = (1 + 3)/2 = 2
f(x3) = 16 – 8 – 4 – 4 = 0
∴ x = 2 is the root of the function; hence, the iterations converges to the solution after 3
iterations.
Question 9:
For the given function f(x) = x3 – x – 1, a real root lies in between the interval [1,2]. Find
the minimum number of iterations required to find the root up to the accuracy of two
decimal points.
Solution:
Given,
f(x) = x3 – x2 – 1
Since we have to find the root up to accuracy level of 2 decimal points, we have:
Accuracy = ε = 0.01
Now, the accuracy of the bisection method:
�≥(�−�2�)
⇒0.01≥(2−12�)
⇒ 0.01 ≥ 2 –n
⇒ 2n ≥ 100
Now, 26 ≤ 100 ≤ 27
Question 10:
For the given function f(x) = x3 – 4x + 3, a real root lies in between the interval [–3 , –2].
Find the minimum number of iterations required to find the root up to the accuracy of
three decimal points.
Solution:
Given,
f(x) = x3 – 4x + 3
Since we have to find the root up to accuracy level of 2 decimal points, we have:
Accuracy = ε = 0.001
�≥(�−�2�)
⇒0.001≥(–2+32�)
⇒ 0.001 ≥ 2 –n
⇒ 2n ≥ 1000
Related Articles
Permutation and Combination Questions Profit and Loss Questions
Mean, Median and Mode Questions Functions Questions
(i) x2 – 2
(ii) x3 – 5
(iii) x3 – x – 1
(iv) 2x3 – 2x – 5
(v) x2 – 3
2. Find out after how many iterations the function 3x2 – 5x – 2 in the interval [0, 4].
To learn about more numerical methods – concepts and questions, download BYJU’S –
The Learning App today, and register yourself to explore video lessons, notes, and
many more study resources.