Chapter 8 Numerical Solutions of Nonlinear Equations Notes – 12th Class Math New Book

Complete notes of Chapter 8: Numerical Solutions of Nonlinear Equations from the 12th class Mathematics new book (Punjab, PECTAA 2026-27). Every section of the chapter is explained with definitions, formulas and solved examples, followed by links to the step-by-step solutions of each exercise.
8.1 Basic principles of approximating real roots of nonlinear equations
A root (or zero) of a function $y=f(x)$ is a value of $x$ for which $y=0$. It is a solution of the equation $f(x)=0$.
On a graph, a real root is the $x$-coordinate of a point where the curve meets the $x$-axis, because $y=0$ is the equation of the $x$-axis.
For example, let $f(x)=x^2-4$. Then $f(x)=0$ gives $x^2=4$, so $x=2$ or $x=-2$. These are the roots of $f$.
A nonlinear equation has the form $f(x)=0$, where $f(x)$ cannot be written as $ax+b$ with $a\ne0$. The variable may have a power greater than one, or may be inside a trigonometric, exponential, logarithmic or other nonlinear function.
Some examples are $x^3-1=0$, $x^3+2x+5=0$ and $x-\cos x=0$.
Some roots are easy to find exactly: $x=1$ is a root of $x^3-1=0$. The exact root of $x^3+2x+5=0$ is given below. It is difficult to use, so we prefer the approximate root $x\approx-1.33$. No general formula exists for equations of degree five or more.
8.1.1 Location of Root Theorem (LRT)
Let $f$ be a real-valued function that is continuous on the closed interval $[a,b]$. If $f(a)f(b)<0$, then $f$ has at least one real root $c$ in the open interval $(a,b)$.
Why it is true: $f(a)$ and $f(b)$ have opposite signs, so one end of the curve is below the $x$-axis and the other end is above it. A continuous curve has no break, so it must cross the $x$-axis at some point $c$ between $a$ and $b$. There $f(c)=0$.
The interval $[a,b]$ is called an interval of sign change for $f$.
The theorem says "at least one". There may be more than one root in the interval.
8.2 Graphical method for approximating real roots
This method gives a root correct to one or two decimal places. It also gives a first estimate for the numerical methods.
Step 1: Find an interval of sign change, where $f(a)f(b)<0$, if it is not given.
Step 2: Draw the graph of $y=f(x)$ on this interval only.
Step 3: See where the curve crosses the $x$-axis, and read the $x$-intercept to 1 or 2 decimal places.
For equations with trigonometric functions, the calculator must be in radian mode.
8.3 Numerical methods for solving nonlinear equations
Roots with two or more correct decimal places are found by systematic methods. A first estimate is improved again and again. Each improvement is called an iteration.
The three methods of this chapter are the Bisection Method, the Regula-Falsi Method and the Newton–Raphson Method.
8.3.1 General rule of accuracy, tolerance
Before we start, we decide how accurate the root must be. The tolerance tells us when to stop.
For a root $c$ that is accurate up to $n$ decimal places, we stop when $|f(c)|<\frac{10^{-n}}2$.
For 2 decimal places: $|f(c)|<0.005$. For 3 decimal places: $|f(c)|<0.0005$. (The book also writes these as about $0.01$ and $0.001$.)
Calculator: to get $n$ correct decimal places, keep at least $n+1$ decimal places in all the working. Round only the final answer. Use radian mode for trigonometric functions.
The rule checks $f(c)$ and not the root itself. If the last decimal place is still in doubt, do one more iteration.
8.3.2 Bisection Method
The method cuts the interval of sign change into two halves again and again, and keeps the half that contains the root.
Step 1: Check that $f$ is continuous on $[a,b]$ and $f(a)f(b)<0$.
Step 2: Find the midpoint $c$.
Step 3: If $|f(c)|\approx0$, then $c$ is the root. If $f(a)f(c)<0$, the root is in $[a,c]$, so put $b=c$. If $f(c)f(b)<0$, the root is in $[c,b]$, so put $a=c$.
Step 4: Repeat Steps 2 and 3 until $|f(c)|$ is near zero.
The method always reaches the root after a finite number of steps.
8.3.3 Regula-Falsi Method (False Position Method)
The method joins the points $(a,f(a))$ and $(b,f(b))$ by a straight line, called the secant line. The point where this line crosses the $x$-axis is the new estimate $c$. It is usually better than the midpoint.
The secant line has slope $\frac{f(b)-f(a)}{b-a}$. Put $y=0$ and $x=c$ in its equation and solve for $c$.
The steps are the same as in the Bisection Method. Only the formula for $c$ is different. It is often faster than the Bisection Method.
8.3.4 Newton–Raphson Method
The method starts with a guess $x_0$ near the root and draws the tangent to the curve at $(x_0,f(x_0))$. The point where the tangent crosses the $x$-axis is the next estimate $x_1$.
The tangent is $y-f(x_0)=f'(x_0)(x-x_0)$. Put $y=0$ and $x=x_1$, and solve for $x_1$. A tangent at $x_1$ gives $x_2$, and so on.
Conditions: $f$ is differentiable near $x_0$, and $f'(x)\ne0$ near $x_0$.
Step 1: Write the equation as $f(x)=0$ and choose $x_0$ from an interval of sign change.
Step 2: Use the formula to find $x_1,x_2,\ldots$
Step 3: If $|f(x_{n+1})|\approx0$, then stop.
Step 4: $x=x_{n+1}$ is the root correct to the desired accuracy.
It is usually faster than the other two methods. It does not depend directly on the Location of Root Theorem.
8.4 Estimating the value of a definite integral
Some definite integrals cannot be found by the usual methods of integration, for example $\int_0^1e^{-x^2}\,dx$ and $\int_0^\pi\sin(x^2)\,dx$. We estimate their values by a numerical method.
8.4.1 Trapezium (Trapezoidal) Rule
Let $f$ be continuous on $[a,b]$. Divide $[a,b]$ into $n$ subintervals of equal length $h$. The points of division are $x_i=a+ih$, so each point is the one before it plus $h$.
Join the points of the curve at the ends of each subinterval. This gives $n$ trapeziums. The parallel sides of a trapezium are the values of $f$ at its ends, and the distance between them is $h$.
The integral is approximately the sum of the areas of the trapeziums. The first and the last values are taken once, and every other value is taken twice.
More subintervals give a better approximation. Round the values of $f(x)$ to at least four decimal places.
The rule also works if $f$ takes negative values. Then each trapezium gives a signed area.
8.5 Real-life applications of nonlinear equations
Many practical problems lead to nonlinear equations that have no easy exact solution. The method is always the same: write the equation as $f(x)=0$, find an interval of sign change or use the given first guess, apply the numerical method, and give the answer with its unit.
Reject a root that is impossible in the problem, for example a negative concentration.
8.5.1 Chemical reactions
The concentration of a substance at equilibrium often satisfies a nonlinear equation such as $xe^x=1$. (Example 8)
8.5.2 Regulation of heartbeats
Electrical signals control the heartbeat. The steady-state value of the signal satisfies a nonlinear equation such as $x^3-x-1=0$. (Example 9)
8.5.3 Electronic circuits
Diodes and transistors give nonlinear relations between voltage and current, for example $\sin V-0.5V=0$. (Example 10)
8.5.4 Cryptography
Some secure keys are found from equations of high degree, for example $x^5-10x+5=0$. (Example 11)
Exercise solutions of Chapter 8
- 8.1Exercise 8.1: Graphical Solutions2 questions solved step by step · Examples
- 8.2Exercise 8.2: Bisection, Regula-Falsi and Newton–Raphson3 questions solved step by step · Examples
- 8.3Exercise 8.3: The Trapezoidal Rule10 questions solved step by step · Examples
- 8.4Exercise 8.4: Applications of Nonlinear Equations6 questions solved step by step · Examples