Exercise 8.1 Examples – 12th Class Math New Book (Graphical Solutions)

Solved examples of Exercise 8.1 (Graphical Solutions): the 2 textbook examples, Chapter 8: Numerical Solutions of Nonlinear Equations, 12th class Mathematics new book (Punjab, PECTAA 2026-27), worked step by step.
Example 1Show that the function $f(x)=x^4-200x-50$ has at least two real roots by finding its intervals of sign change.
Solution:
Continuity: for every real number $c$,
So $f$ is continuous at every real number.
Intervals of sign change: find $f(x)$ at some values of $x$. At $x=-3$,
At $x=-2$,
The other values are found in the same way.
| $x$ | $f(x)$ | Sign of $f(x)$ |
|---|---|---|
| −3 | 631 | + |
| −2 | 366 | + |
| −1 | 151 | + |
| 0 | −50 | − |
| 1 | −249 | − |
| 2 | −434 | − |
| 3 | −569 | − |
| 4 | −594 | − |
| 5 | −425 | − |
| 6 | 46 | + |
So $f(-1)f(0)<0$, and $[-1,0]$ is an interval of sign change.
So $f(5)f(6)<0$, and $[5,6]$ is another interval of sign change.
$f$ is continuous on these intervals. By the Location of Root Theorem, it has at least one real root in each of them. So $f$ has at least two real roots.
Example 2Find a root of the equation $x-\cos x=0$ graphically, approximate to two decimal places.
Solution:
The calculator is in radian mode.
Continuity: for every real number $c$,
So $f$ is continuous at every real number.
Interval of sign change:
So $[0,1]$ is an interval of sign change. By the Location of Root Theorem, a root lies in it.
Calculate some values of $f(x)$ inside $[0,1]$.
| $x$ | $f(x)$ |
|---|---|
| 0.1 | −0.90 |
| 0.2 | −0.78 |
| 0.3 | −0.66 |
| 0.4 | −0.52 |
| 0.5 | −0.38 |
| 0.6 | −0.23 |
| 0.7 | −0.06 |
| 0.8 | 0.10 |
| 0.9 | 0.28 |
Draw the graph of $y=x-\cos x$ on the interval $[0,1]$.
Read the root: the curve crosses the $x$-axis at $x\approx0.74$.