Exercise 8.2 Examples – 12th Class Math New Book (Bisection, Regula-Falsi and Newton–Raphson)

By Ehsan Ahmed · updated
Exercise 8.2 solved examples thumbnail for 12th class math chapter 8 (Numerical Solutions of Nonlinear Equations)

Solved examples of Exercise 8.2 (Bisection, Regula-Falsi and Newton–Raphson): the 3 textbook examples, Chapter 8: Numerical Solutions of Nonlinear Equations, 12th class Mathematics new book (Punjab, PECTAA 2026-27), worked step by step.

Tap an example to open or close it.
Example 3Use bisection method to find a root of $f(x)=x^3-3x-10$ within the interval $[2,3]$ accurate up to two decimal places.
Formula used
$$\begin{aligned}&f(a)f(b)<0\Rightarrow\\&\text{a root lies in }(a,b)\end{aligned}$$
$$c=\frac{a+b}2$$
$$\text{Stop when }|f(c)|\approx0\ (0.01)$$

Solution:

$$f(x)=x^3-3x-10$$

Continuity:

$$\lim_{x\to c}f(x)=f(c)\quad\forall\,c\in[2,3]$$

So $f$ is continuous on $[2,3]$.

Interval of sign change:

$$\begin{aligned}f(2)&=2^3-3(2)-10\\[6pt]&=-8<0\end{aligned}$$
$$\begin{aligned}f(3)&=3^3-3(3)-10\\[6pt]&=8>0\end{aligned}$$

So $f(2)f(3)<0$, and by the Location of Root Theorem a root lies in $(2,3)$.

Apply the bisection method. Intermediate values are rounded to 4 decimal places.

Iteration 1: $a=2$, $b=3$.

$$\begin{aligned}c&=\frac{a+b}2\\[6pt]&=\frac{2+3}2\\[6pt]&=2.5\end{aligned}$$
$$\begin{aligned}f(2.5)&=(2.5)^3-3(2.5)-10\\[6pt]&=-1.875<0\end{aligned}$$

Since $f(2.5)<0$ and $f(3)>0$, the root lies in $(2.5,3)$. Put $a=c=2.5$.

Iteration 2: $a=2.5$, $b=3$.

$$\begin{aligned}c&=\frac{a+b}2\\[6pt]&=\frac{2.5+3}2\\[6pt]&=2.75\end{aligned}$$
$$\begin{aligned}f(2.75)&=(2.75)^3-3(2.75)-10\\[6pt]&\approx 2.5469>0\end{aligned}$$

Since $f(2.5)<0$ and $f(2.75)>0$, the root lies in $(2.5,2.75)$. Put $b=c=2.75$.

Iteration 3: $a=2.5$, $b=2.75$.

$$\begin{aligned}c&=\frac{a+b}2\\[6pt]&=\frac{2.5+2.75}2\\[6pt]&=2.625\end{aligned}$$
$$\begin{aligned}&f(2.625)\\[6pt]&=(2.625)^3-3(2.625)-10\\[6pt]&\approx 0.2129>0\end{aligned}$$

Since $f(2.5)<0$ and $f(2.625)>0$, the root lies in $(2.5,2.625)$. Put $b=c=2.625$.

The same steps are repeated. The table shows all the iterations. The sign in brackets is the sign of $f$ at that value.

Bisection method
No.$a$$b$$c$$f(c)$New
interval
12
(−)
3
(+)
2.5
(−)
−1.875[2.5,
3]
22.5
(−)
3
(+)
2.75
(+)
2.5469[2.5,
2.75]
32.5
(−)
2.75
(+)
2.625
(+)
0.2129[2.5,
2.625]
42.5
(−)
2.625
(+)
2.5625
(−)
−0.8611[2.5625,
2.625]
52.5625
(−)
2.625
(+)
2.5938
(−)
−0.3308[2.5938,
2.625]
62.5938
(−)
2.625
(+)
2.6094
(−)
−0.0609[2.6094,
2.625]
72.6094
(−)
2.625
(+)
2.6172
(+)
0.0755[2.6094,
2.6172]
82.6094
(−)
2.6172
(+)
2.6133
(+)
0.0072Stop

In iteration 8,

$$\left|f(2.6133)\right|\approx0.0072\approx0.01$$

So the iterations stop. The approximate root is $2.6133$.

Answer $x\approx2.61\quad(\text{2 d.p.})$
Note: The rule for two decimal places is $|f(c)|<0.005$, and the book stops at $0.0072$, which it takes as about $0.01$. Three more iterations give $c=2.6129$ with $f(c)\approx0.0002$, and the root is again $2.61$.
Example 4Use Regula-Falsi method to find a root of $f(x)=x^3-3x-10$ within the interval $[2,3]$ accurate up to two decimal places.
Formula used
$$\begin{aligned}&f(a)f(b)<0\Rightarrow\\&\text{a root lies in }(a,b)\end{aligned}$$
$$c=\frac{af(b)-bf(a)}{f(b)-f(a)}$$
$$\text{Stop when }|f(c)|\approx0\ (0.01)$$

Solution:

$$f(x)=x^3-3x-10$$

Continuity:

$$\lim_{x\to c}f(x)=f(c)\quad\forall\,c\in[2,3]$$

So $f$ is continuous on $[2,3]$.

Interval of sign change:

$$\begin{aligned}f(2)&=2^3-3(2)-10\\[6pt]&=-8<0\end{aligned}$$
$$\begin{aligned}f(3)&=3^3-3(3)-10\\[6pt]&=8>0\end{aligned}$$

So $f(2)f(3)<0$, and by the Location of Root Theorem a root lies in $(2,3)$.

Apply the Regula-Falsi method. Intermediate values are rounded to 4 decimal places.

Iteration 1: $a=2$, $b=3$.

$$f(a)=-8,\qquad f(b)=8$$
$$\begin{aligned}c&=\frac{af(b)-bf(a)}{f(b)-f(a)}\\[6pt]&=\frac{(2)(8)-(3)(-8)}{8-(-8)}\\[6pt]&=2.5\end{aligned}$$
$$\begin{aligned}f(2.5)&=(2.5)^3-3(2.5)-10\\[6pt]&=-1.875<0\end{aligned}$$

Since $f(2.5)<0$ and $f(3)>0$, the root lies in $(2.5,3)$. Put $a=c=2.5$.

Iteration 2: $a=2.5$, $b=3$.

$$f(a)=-1.875,\qquad f(b)=8$$
$$\begin{aligned}c&=\frac{af(b)-bf(a)}{f(b)-f(a)}\\[6pt]&=\frac{(2.5)(8)-(3)(-1.875)}{8-(-1.875)}\\[6pt]&\approx 2.5949\end{aligned}$$
$$\begin{aligned}&f(2.5949)\\[6pt]&=(2.5949)^3-3(2.5949)-10\\[6pt]&\approx -0.3119<0\end{aligned}$$

Since $f(2.5949)<0$ and $f(3)>0$, the root lies in $(2.5949,3)$. Put $a=c=2.5949$.

Iteration 3: $a=2.5949$, $b=3$.

$$f(a)=-0.3119,\qquad f(b)=8$$
$$\begin{aligned}c&=\frac{af(b)-bf(a)}{f(b)-f(a)}\\[6pt]&=\frac{(2.5949)(8)-(3)(-0.3119)}{8-(-0.3119)}\\[6pt]&\approx 2.6101\end{aligned}$$
$$\begin{aligned}&f(2.6101)\\[6pt]&=(2.6101)^3-3(2.6101)-10\\[6pt]&\approx -0.0487<0\end{aligned}$$

Since $f(2.6101)<0$ and $f(3)>0$, the root lies in $(2.6101,3)$. Put $a=c=2.6101$.

Iteration 4: $a=2.6101$, $b=3$.

$$f(a)=-0.0487,\qquad f(b)=8$$
$$\begin{aligned}c&=\frac{af(b)-bf(a)}{f(b)-f(a)}\\[6pt]&=\frac{(2.6101)(8)-(3)(-0.0487)}{8-(-0.0487)}\\[6pt]&\approx 2.6125\end{aligned}$$
$$\begin{aligned}&f(2.6125)\\[6pt]&=(2.6125)^3-3(2.6125)-10\\[6pt]&\approx -0.0068<0\end{aligned}$$

All the iterations are in the table. The sign in brackets is the sign of $f$ at that value.

Regula-Falsi method
No.$a$$b$$c$$f(c)$New
interval
12
(−)
3
(+)
2.5
(−)
−1.875[2.5,
3]
22.5
(−)
3
(+)
2.5949
(−)
−0.3119[2.5949,
3]
32.5949
(−)
3
(+)
2.6101
(−)
−0.0487[2.6101,
3]
42.6101
(−)
3
(+)
2.6125
(−)
−0.0068Stop

In iteration 4,

$$\left|f(2.6125)\right|\approx0.0068\approx0.01$$

So the iterations stop, and $2.6125$ is the approximate root.

Answer $x\approx2.61\quad(\text{2 d.p.})$
Note: One more iteration gives $c=2.6128$ with $f(c)\approx-0.0015$, which is less than $0.005$ in size. The root is again $2.61$.
Example 5Use Newton-Raphson method to find a root of $f(x)=x^3+2x^2+10x-20$ correct to two decimal places.
Formula used
$$x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}$$
$$\text{Stop when }|f(x_n)|<0.005$$

Solution:

$$f(x)=x^3+2x^2+10x-20$$

Choose the initial approximation.

$$\begin{aligned}f(1)&=1^3+2(1)^2+10(1)-20\\[6pt]&=-7<0\end{aligned}$$
$$\begin{aligned}f(2)&=2^3+2(2)^2+10(2)-20\\[6pt]&=16>0\end{aligned}$$

Continuity:

$$\lim_{x\to c}f(x)=f(c)\quad\forall\,c\in[1,2]$$

So $f$ is continuous on $[1,2]$, and a root lies in $(1,2)$. Take the initial guess $x_0=1.5$.

Differentiate with respect to $x$.

$$f'(x)=3x^2+4x+10$$

$f'(x)$ exists, and $f'(x)\ne0$ around $x_0=1.5$. So the method can be applied.

For 2 decimal places, stop when $|f(x_n)|<\frac{10^{-2}}2=0.005$. Intermediate values are rounded to 3 decimal places.

Take $x_0=1.5$.

$$\begin{aligned}&f(1.5)\\[6pt]&=(1.5)^3+2(1.5)^2+10(1.5)-20\\[6pt]&=2.875\end{aligned}$$

Iteration 1:

$$\begin{aligned}f'(1.5)&=3(1.5)^2+4(1.5)+10\\[6pt]&=22.75\end{aligned}$$
$$\begin{aligned}x_{1}&=x_{0}-\frac{f(x_{0})}{f'(x_{0})}\\[6pt]&=1.5-\frac{2.875}{22.75}\\[6pt]&\approx 1.374\end{aligned}$$
$$\begin{aligned}&f(1.374)\\[6pt]&=(1.374)^3+2(1.374)^2\\&\quad+10(1.374)-20\\[6pt]&\approx 0.11\end{aligned}$$

Iteration 2:

$$\begin{aligned}&f'(1.374)\\[6pt]&=3(1.374)^2+4(1.374)+10\\[6pt]&\approx 21.16\end{aligned}$$
$$\begin{aligned}x_{2}&=x_{1}-\frac{f(x_{1})}{f'(x_{1})}\\[6pt]&=1.374-\frac{0.11}{21.16}\\[6pt]&\approx 1.369\end{aligned}$$
$$\begin{aligned}&f(1.369)\\[6pt]&=(1.369)^3+2(1.369)^2\\&\quad+10(1.369)-20\\[6pt]&\approx 0.004\end{aligned}$$

Check:

$$\left|f(x_{2})\right|\approx0.004<0.005$$

So the iterations stop.

$$x\approx1.369$$
Answer $x\approx1.37\quad(\text{2 d.p.})$
Note: The book prints $f(1.369)\approx0.002$. The value is $0.004$, which is still less than $0.005$, so the answer does not change.

Popular posts from this blog

Chapter 6 Conic Section Notes – 12th Class Math New Book

Exercise 3.3 Solutions – 12th Class Math New Book (Integration by Parts)

Chapter 11 MCQs and Short Questions – 12th Class Math New Book