Exercise 8.4 Examples – 12th Class Math New Book (Applications of Nonlinear Equations)

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

Solved examples of Exercise 8.4 (Applications of Nonlinear Equations): the 4 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 8In a chemical reaction, the concentration $x$ (in moles per liter) of a product at equilibrium satisfies the relation $xe^x=1$. Find the equilibrium concentration correct to two decimal places using Newton-Raphson Method.
Formula used
$$x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}$$
$$(uv)'=u'v+uv'$$
$$\text{Stop when }|f(x_n)|<0.005$$

Solution:

$$xe^x=1$$

Let

$$f(x)=xe^x-1$$

Differentiate with respect to $x$.

$$\begin{aligned}f'(x)&=(1)e^x+x(e^x)\\[6pt]&=e^x+xe^x\end{aligned}$$

$f'(x)$ exists at every real number $x$.

Choose the initial approximation.

$$\begin{aligned}f(0)&=(0)e^0-1\\[6pt]&=-1<0\end{aligned}$$
$$\begin{aligned}f(1)&=(1)e^1-1\\[6pt]&\approx1.718>0\end{aligned}$$

So a root lies between $0$ and $1$.

Also $f(0.5)\approx-0.1756$, which is close to zero, and $f'(0.5)\ne0$. So $x_0=0.5$ is a good initial guess.

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

Take $x_0=0.5$.

$$\begin{aligned}f(0.5)&=(0.5)e^{0.5}-1\\[6pt]&\approx -0.1756\end{aligned}$$

Iteration 1:

$$\begin{aligned}f'(0.5)&=e^{0.5}+(0.5)e^{0.5}\\[6pt]&\approx 2.4731\end{aligned}$$
$$\begin{aligned}x_{1}&=x_{0}-\frac{f(x_{0})}{f'(x_{0})}\\[6pt]&=0.5-\frac{-0.1756}{2.4731}\\[6pt]&\approx 0.571\end{aligned}$$
$$\begin{aligned}f(0.571)&=(0.571)e^{0.571}-1\\[6pt]&\approx 0.0107\end{aligned}$$

Iteration 2:

$$\begin{aligned}f'(0.571)&=e^{0.571}+(0.571)e^{0.571}\\[6pt]&\approx 2.7807\end{aligned}$$
$$\begin{aligned}x_{2}&=x_{1}-\frac{f(x_{1})}{f'(x_{1})}\\[6pt]&=0.571-\frac{0.0107}{2.7807}\\[6pt]&\approx 0.5672\end{aligned}$$
$$\begin{aligned}f(0.5672)&=(0.5672)e^{0.5672}-1\\[6pt]&\approx 0.0002\end{aligned}$$

Check:

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

So the iterations stop.

$$x\approx0.5672$$
Answer $x\approx0.57$ moles per liter
Note: The book prints $x_1=0.5711$ and $x_2=0.5673$ because of rounding. The final answer is the same.
Example 9The electrical activity of the heart is represented by a variable $x$, which measures the signal strength of the heartbeat. At steady-state, the signal satisfies the nonlinear equation $x^3-x-1=0$. Find the real steady-state value of the heartbeat signal near $x=1$ using the Bisection Method, correct 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)|<0.005$$

Solution:

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

Continuity:

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

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

Interval of sign change:

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

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

Apply the bisection method. For 2 decimal places, stop when $|f(c)|<\frac{10^{-2}}2=0.005$. Intermediate values are rounded to 4 decimal places.

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

$$\begin{aligned}c&=\frac{a+b}2\\[6pt]&=\frac{1+2}2\\[6pt]&=1.5\end{aligned}$$
$$\begin{aligned}f(1.5)&=(1.5)^3-1.5-1\\[6pt]&=0.875>0\end{aligned}$$

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

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

$$\begin{aligned}c&=\frac{a+b}2\\[6pt]&=\frac{1+1.5}2\\[6pt]&=1.25\end{aligned}$$
$$\begin{aligned}f(1.25)&=(1.25)^3-1.25-1\\[6pt]&\approx -0.2969<0\end{aligned}$$

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

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
11
(−)
2
(+)
1.5
(+)
0.875[1,
1.5]
21
(−)
1.5
(+)
1.25
(−)
−0.2969[1.25,
1.5]
31.25
(−)
1.5
(+)
1.375
(+)
0.2246[1.25,
1.375]
41.25
(−)
1.375
(+)
1.3125
(−)
−0.0515[1.3125,
1.375]
51.3125
(−)
1.375
(+)
1.3438
(+)
0.0828[1.3125,
1.3438]
61.3125
(−)
1.3438
(+)
1.3282
(+)
0.0149[1.3125,
1.3282]
71.3125
(−)
1.3282
(+)
1.3204
(−)
−0.0183[1.3204,
1.3282]
81.3204
(−)
1.3282
(+)
1.3243
(−)
−0.0018Stop

In iteration 8,

$$\left|f(1.3243)\right|\approx0.0018<0.005$$

So the iterations stop.

$$x\approx1.3243$$
Answer $x\approx1.32$ units
Example 10Diode/AC Circuit. In a circuit, the voltage $V$ across a component satisfies the equation $\sin V-0.5V=0$. Find a non-zero real value of $V$ correct to two decimal places using Regula-Falsi method.
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)|<0.005$$

Solution:

$$f(V)=\sin V-0.5V$$

The calculator is in radian mode.

Continuity:

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

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

Interval of sign change:

$$\begin{aligned}f(1)&=\sin (1)-0.5(1)\\[6pt]&\approx 0.3415>0\end{aligned}$$
$$\begin{aligned}f(2)&=\sin (2)-0.5(2)\\[6pt]&\approx -0.0907<0\end{aligned}$$

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

Apply the Regula-Falsi method. For 2 decimal places, stop when $|f(V_c)|<\frac{10^{-2}}2=0.005$. Intermediate values are rounded to 4 decimal places.

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

$$f(a)=0.3415,\qquad f(b)=-0.0907$$
$$\begin{aligned}V_c&=\frac{af(b)-bf(a)}{f(b)-f(a)}\\[6pt]&=\frac{(1)(-0.0907)-(2)(0.3415)}{-0.0907-0.3415}\\[6pt]&\approx 1.7901\end{aligned}$$
$$\begin{aligned}&f(1.7901)\\[6pt]&=\sin (1.7901)-0.5(1.7901)\\[6pt]&\approx 0.081>0\end{aligned}$$

Since $f(1.7901)>0$ and $f(2)<0$, the root lies in $(1.7901,2)$. Put $a=V_c=1.7901$.

Iteration 2: $a=1.7901$, $b=2$.

$$f(a)=0.081,\qquad f(b)=-0.0907$$
$$\begin{aligned}V_c&=\frac{af(b)-bf(a)}{f(b)-f(a)}\\[6pt]&=\frac{(1.7901)(-0.0907)-(2)(0.081)}{-0.0907-0.081}\\[6pt]&\approx 1.8891\end{aligned}$$
$$\begin{aligned}&f(1.8891)\\[6pt]&=\sin (1.8891)-0.5(1.8891)\\[6pt]&\approx 0.0052>0\end{aligned}$$

Since $f(1.8891)>0$ and $f(2)<0$, the root lies in $(1.8891,2)$. Put $a=V_c=1.8891$.

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

Regula-Falsi method
No.$a$$b$$V_c$$f(V_c)$New
interval
11
(+)
2
(−)
1.7901
(+)
0.081[1.7901,
2]
21.7901
(+)
2
(−)
1.8891
(+)
0.0052[1.8891,
2]
31.8891
(+)
2
(−)
1.8951
(+)
0.0003Stop

In iteration 3,

$$\left|f(1.8951)\right|\approx0.0003<0.005$$

So the iterations stop.

$$V\approx1.8951$$
Answer $V\approx1.90$ volts
Example 11Key Parameter. In a cryptosystem, a key parameter $x$ satisfies the equation $x^5-10x+5=0$. Find a real value of $x$ correct to two decimal places using the Regula-Falsi method. ($x$ represents a component of the encryption key; its approximate value is crucial for secure key generation.)
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)|<0.005$$

Solution:

$$f(x)=x^5-10x+5$$

Continuity:

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

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

Interval of sign change:

$$\begin{aligned}f(1)&=1^5-10(1)+5\\[6pt]&=-4<0\end{aligned}$$
$$\begin{aligned}f(2)&=2^5-10(2)+5\\[6pt]&=17>0\end{aligned}$$

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

Apply the Regula-Falsi method. For 2 decimal places, stop when $|f(x_c)|<\frac{10^{-2}}2=0.005$. Intermediate values are rounded to 4 decimal places.

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

$$f(a)=-4,\qquad f(b)=17$$
$$\begin{aligned}x_c&=\frac{af(b)-bf(a)}{f(b)-f(a)}\\[6pt]&=\frac{(1)(17)-(2)(-4)}{17-(-4)}\\[6pt]&\approx 1.1905\end{aligned}$$
$$\begin{aligned}&f(1.1905)\\[6pt]&=(1.1905)^5-10(1.1905)+5\\[6pt]&\approx -4.5136<0\end{aligned}$$

Since $f(1.1905)<0$ and $f(2)>0$, the root lies in $(1.1905,2)$. Put $a=x_c=1.1905$.

Iteration 2: $a=1.1905$, $b=2$.

$$f(a)=-4.5136,\qquad f(b)=17$$
$$\begin{aligned}x_c&=\frac{af(b)-bf(a)}{f(b)-f(a)}\\[6pt]&=\frac{(1.1905)(17)-(2)(-4.5136)}{17-(-4.5136)}\\[6pt]&\approx 1.3603\end{aligned}$$
$$\begin{aligned}&f(1.3603)\\[6pt]&=(1.3603)^5-10(1.3603)+5\\[6pt]&\approx -3.9453<0\end{aligned}$$

Since $f(1.3603)<0$ and $f(2)>0$, the root lies in $(1.3603,2)$. Put $a=x_c=1.3603$.

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

Regula-Falsi method
No.$a$$b$$x_c$$f(x_c)$New
interval
11
(−)
2
(+)
1.1905
(−)
−4.5136[1.1905,
2]
21.1905
(−)
2
(+)
1.3603
(−)
−3.9453[1.3603,
2]
31.3603
(−)
2
(+)
1.4808
(−)
−2.688[1.4808,
2]
41.4808
(−)
2
(+)
1.5517
(−)
−1.5212[1.5517,
2]
51.5517
(−)
2
(+)
1.5885
(−)
−0.7707[1.5885,
2]
61.5885
(−)
2
(+)
1.6063
(−)
−0.3692[1.6063,
2]
71.6063
(−)
2
(+)
1.6147
(−)
−0.1706[1.6147,
2]
81.6147
(−)
2
(+)
1.6185
(−)
−0.0789[1.6185,
2]
91.6185
(−)
2
(+)
1.6203
(−)
−0.035[1.6203,
2]
101.6203
(−)
2
(+)
1.6211
(−)
−0.0154[1.6211,
2]
111.6211
(−)
2
(+)
1.6214
(−)
−0.008[1.6214,
2]
121.6214
(−)
2
(+)
1.6216
(−)
−0.0031Stop

In iteration 12,

$$\left|f(1.6216)\right|\approx0.0031<0.005$$

So the iterations stop.

$$x\approx1.6216$$
Answer $x\approx1.62$
Note: The book’s table has 11 iterations. Its row 4 prints $1.5523$ for $1.5517$, its row 10 prints the sign $(+)$ and the interval $[1.6203,1.6581]$ by mistake, and the value $1.6214$ is left out. The final value $1.6216$ and the answer $1.62$ are the same.

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