---
title: "Bisection and N-R: e^x = 3x"
subject: "Numerical Method"
chapter: 2
key: "semester_4/numerical_method:bisection-newton-e-x-3x"
source: https://www.bctengineer.com/q/semester_4/numerical_method/bisection-newton-e-x-3x
site: BCT Engineering
---

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

Numerical Method · Chapter 2: Solutions of Nonlinear Equations

- Asked in: 2069 Bhadra, 4+4 marks
- Video: [NUMERICAL  METHOD|BISECTION METHOD|MATHEMATICS|PRADEEP GIRI SIR](https://www.youtube.com/watch?v=gyA68tD7oO4) — Pradeep Giri Academy
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_4/numerical_method/bisection-newton-e-x-3x
- Whole chapter: https://www.bctengineer.com/md/semester_4/numerical_method/chapter-2

## Question

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

## 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.

## Answer

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):**

| n | a | b | c=(a+b)/2 | f(c) | root lies in |
|---|---|---|---|---|---|
| 1 | 0.0000 | 1.0000 | 0.5000 | 0.1487 | [c, b] |
| 2 | 0.5000 | 1.0000 | 0.7500 | -0.1330 | [a, c] |
| 3 | 0.5000 | 0.7500 | 0.6250 | -0.0068 | [a, c] |
| 4 | 0.5000 | 0.6250 | 0.5625 | 0.0676 | [c, b] |
| 5 | 0.5625 | 0.6250 | 0.5938 | 0.0295 | [c, b] |
| 6 | 0.5938 | 0.6250 | 0.6094 | 0.0112 | [c, b] |
| 7 | 0.6094 | 0.6250 | 0.6172 | 0.0021 | [c, b] |
| 8 | 0.6172 | 0.6250 | 0.6211 | -0.0023 | [a, c] |
| 9 | 0.6172 | 0.6211 | 0.6191 | -0.0001 | [a, c] |
| 10 | 0.6172 | 0.6191 | 0.6182 | 0.0010 | [c, b] |
| 11 | 0.6182 | 0.6191 | 0.6187 | 0.0005 | [c, b] |

**Root in (1, 2):**

| n | a | b | c=(a+b)/2 | f(c) | root lies in |
|---|---|---|---|---|---|
| 1 | 1.0000 | 2.0000 | 1.5000 | -0.0183 | [c, b] |
| 2 | 1.5000 | 2.0000 | 1.7500 | 0.5046 | [a, c] |
| 3 | 1.5000 | 1.7500 | 1.6250 | 0.2034 | [a, c] |
| 4 | 1.5000 | 1.6250 | 1.5625 | 0.0832 | [a, c] |
| 5 | 1.5000 | 1.5625 | 1.5312 | 0.0302 | [a, c] |
| 6 | 1.5000 | 1.5312 | 1.5156 | 0.0054 | [a, c] |
| 7 | 1.5000 | 1.5156 | 1.5078 | -0.0066 | [c, b] |
| 8 | 1.5078 | 1.5156 | 1.5117 | -0.0006 | [c, b] |
| 9 | 1.5117 | 1.5156 | 1.5137 | 0.0024 | [a, c] |
| 10 | 1.5117 | 1.5137 | 1.5127 | 0.0009 | [a, c] |
| 11 | 1.5117 | 1.5127 | 1.5122 | 0.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):**

| n | x(n) | f(x(n)) | f'(x(n)) | x(n+1) |
|---|---|---|---|---|
| 0 | 0.5000 | 0.1487 | -1.3513 | 0.6101 |
| 1 | 0.6101 | 0.0104 | -1.1595 | 0.6190 |
| 2 | 0.6190 | 0.0001 | -1.1429 | 0.6191 |
| 3 | 0.6191 | 0.0000 | -1.1428 | 0.6191 |

**Root near 1.5 (x0 = 1.5):**

| n | x(n) | f(x(n)) | f'(x(n)) | x(n+1) |
|---|---|---|---|---|
| 0 | 1.5000 | -0.0183 | 1.4817 | 1.5124 |
| 1 | 1.5124 | 0.0003 | 1.5374 | 1.5121 |
| 2 | 1.5121 | 0.0000 | 1.5364 | 1.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.

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. How many real roots does e^x = 3x have?
   A. Two, in (0,1) and (1,2)
   B. One
   C. Zero
   D. Three
   Answer: A. f changes sign twice. (Key point: Number of roots)

2. For f = e^x - 3x, f'(x) is:
   A. e^x + 3
   B. e^x - 3
   C. e^x
   D. 3 - e^x
   Answer: B. Differentiate term by term. (Key point: Derivative)

3. Bisection (11 halvings) vs Newton-Raphson (3-4 steps) shows:
   A. Bisection is faster
   B. Equal
   C. Newton-Raphson converges faster
   D. Newton needs more steps
   Answer: C. Quadratic vs linear convergence. (Key point: Comparison)

4. The roots are about:
   A. 0.5 and 1.5
   B. 1 and 2
   C. 0.619 and 2
   D. 0.619 and 1.512
   Answer: D. Both methods give these. (Key point: Roots)

## Related in Numerical Method

- [Bisection: 3x - √(1+sin x)](https://www.bctengineer.com/question.md?key=semester_4%2Fnumerical_method%3Abisection-3x-sqrt) — Numerical Method, chapter 2
- [Limitations of Newton-Raphson](https://www.bctengineer.com/question.md?key=semester_4%2Fnumerical_method%3Alimitations-newton-raphson) — Numerical Method, chapter 2
- [Newton-Raphson algorithm](https://www.bctengineer.com/question.md?key=semester_4%2Fnumerical_method%3Anewton-raphson-algorithm) — Numerical Method, chapter 2
- [Bisection: sin x = 1/x](https://www.bctengineer.com/question.md?key=semester_4%2Fnumerical_method%3Abisection-sinx-1-over-x) — Numerical Method, chapter 2
- [Derive Newton-Raphson formula](https://www.bctengineer.com/question.md?key=semester_4%2Fnumerical_method%3Anewton-raphson-derive) — Numerical Method, chapter 2, asked 2×
- [Secant: x^5 - 3x^3 - 1](https://www.bctengineer.com/question.md?key=semester_4%2Fnumerical_method%3Asecant-x5-3x3-1) — Numerical Method, chapter 2, asked 2×

## Related in other subjects

- [Loop closure equation and Newton-Raphson method](https://www.bctengineer.com/question.md?key=semester_6%2Ftheory_of_mechanism_and_machine_i%3Aloop-closure-equation-newton-raphson) — Theory of Mechanism and Machine I, chapter 2
