Skip to main content

Bisection and N-R: e^x = 3x

Short answer

For f(x)=e^x-3x, bisection on (0,1) and (1,2) gives roots 0.619 and 1.512; Newton-Raphson from 0.5 and 1.5 gives the same values in 3-4 iterations.

Find a root of e^x = 3x using bisection method and Newton-Raphson method correct up to 3 decimal places.

Write the equation as f(x) = eˣ − 3x = 0.

f(0) = 1 > 0, f(1) = 2.7183 − 3 = −0.2817 < 0, f(2) = 7.3891 − 6 = 1.3891 > 0. There is a sign change in (0, 1) and another in (1, 2), so the equation has two real roots. Both are found below.

(a) Bisection method (c = (a + b)/2)

Root in (0, 1):

nabc=(a+b)/2f(c)root lies in
10.00001.00000.50000.1487[c, b]
20.50001.00000.7500-0.1330[a, c]
30.50000.75000.6250-0.0068[a, c]
40.50000.62500.56250.0676[c, b]
50.56250.62500.59380.0295[c, b]
60.59380.62500.60940.0112[c, b]
70.60940.62500.61720.0021[c, b]
80.61720.62500.6211-0.0023[a, c]
90.61720.62110.6191-0.0001[a, c]
100.61720.61910.61820.0010[c, b]
110.61820.61910.61870.0005[c, b]

Root in (1, 2):

nabc=(a+b)/2f(c)root lies in
11.00002.00001.5000-0.0183[c, b]
21.50002.00001.75000.5046[a, c]
31.50001.75001.62500.2034[a, c]
41.50001.62501.56250.0832[a, c]
51.50001.56251.53120.0302[a, c]
61.50001.53121.51560.0054[a, c]
71.50001.51561.5078-0.0066[c, b]
81.50781.51561.5117-0.0006[c, b]
91.51171.51561.51370.0024[a, c]
101.51171.51371.51270.0009[a, c]
111.51171.51271.51220.0001[a, c]

(b) Newton-Raphson method

f′(x) = eˣ − 3; x(n+1) = x(n) − f(x(n))/f′(x(n)).

Root near 0.5 (x0 = 0.5):

nx(n)f(x(n))f'(x(n))x(n+1)
00.50000.1487-1.35130.6101
10.61010.0104-1.15950.6190
20.61900.0001-1.14290.6191
30.61910.0000-1.14280.6191

Root near 1.5 (x0 = 1.5):

nx(n)f(x(n))f'(x(n))x(n+1)
01.5000-0.01831.48171.5124
11.51240.00031.53741.5121
21.51210.00001.53641.5121

Answer: the roots are ≈ 0.619 and ≈ 1.512. Bisection needed 11 halvings for each root to fix three decimals, while Newton-Raphson reached the same values in only 3 to 4 steps.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Numerical Method chapter 2 questions →