Skip to main content

Section 17.3 Solving Equations Numerically with a Calculator

A large amount of high school mathematics is about solving equations. You learn various techniques to solve equations by hand (also called solving algebraically), which work for various types of equations. However, for many types of equations, there is no algebraic technique that can solve them.

Example 17.3.1.

For example, in fact, these equations can’t be solved algebraically:
  • \(\displaystyle x^5 - x - 1 = 0\)
  • \(\displaystyle x^7 - 2x^3 + 4 = 0\)
No matter how hard you try to manipulate the equation, factor, and isolate for \(x\text{,}\) you won’t be able to solve for \(x\) exactly.
If you have learned about exponential functions, logarithmic functions, and/or trigonometric functions, here are some more examples:
  • \(\displaystyle 2^x = x\)
  • \(\displaystyle e^x + x = 0\)
  • \(\displaystyle e^x = x^2\)
  • \(\displaystyle \log{x} = \frac{1}{x}\)
  • \(\displaystyle \cos{x} = x\)
  • \(\displaystyle \sin{x} = x^2\)
These equations are simple to write down, but none of them can be solved algebraically. More generally, most equations with a combination of exponentials, polynomials, and trigonometric functions are unsolvable algebraically.
In this case, the next best thing is to find an approximate numerical solution.
These make up the two broad approaches to solving equations:
  • Algebraic / analytic / exact methods: Manipulating the equation using algebraic rules, to isolate the variable, and find an exact solution.
  • Approximate / numerical methods: Finding a solution which is an approximate decimal number, that is close enough.
Numerical solutions are useful in a few situations:
  • If an exact solution can’t be found (it’s just impossible).
  • If an exact solution is possible but just really difficult to find (especially in applications, an approximate numerical answer is usually good enough)
  • If you’ve already solved algebraically, and you want to check that your final answer is correct.

Subsection 17.3.1 Solving Using a Scientific Calculator

My recommended calculator Casio fx-991ES Plus C 2nd edition (or some other similar scientific calculators) can solve equations numerically. This is truly powerful, because you can check your solutions to any equation.
  1. First, make sure you’re in COMP (computation) mode (which is the regular mode), by pressing MODE, then select COMP.
  2. Enter your equation. Use the ALPHA button to get X (look for the button that has β€œX” above it). For the \(=\) sign, use ALPHA then CALC.
  3. Start the SOLVE function, by pressing SHIFT, then CALC.
  4. Provide an initial guess for \(x\text{,}\) such as \(1\text{,}\) then press \(=\text{.}\)
  5. View the solution. The calculator shows the value of \(x\text{.}\) It also displays \(L-R\) (left side minus right side), which will be 0 (or at least very close to \(0\)) if the solution is accurate.

Example 17.3.2. Solving a Radical Equation.

  • If the solution is not a β€œnice” number (like a whole number), the solution will be a decimal like \(1.414\text{,}\) not symbolic like \(\sqrt{2}\text{.}\)
  • If \(L-R\) is anything but 0 (or very close to it), then the calculator couldn’t find the solution. Try a different guess.
The initial guess kinda matters, but most reasonable guesses should give you the correct answer. Here are some broad principles:
  • Ideally, try to give a good guess as you can. For example, a number close to the solution you got from solving by hand.
  • If there are multiple solutions, the calculator will only give you one of them (each time). This is because the calculator basically β€œpulls” your initial guess towards the closest solution. E.g. if the solutions are \(-2\) and \(8\text{,}\) and your initial guess is \(7\text{,}\) you will most likely get \(x=8\text{.}\) Whereas if you choose initial guess of \(0\text{,}\) you will get \(x=-2\text{.}\)
  • If you have no idea what the solution should be, try 0 or 1 as a default. Because many equations have solutions near 0.
This feature is truly powerful, because you can check your solutions to any equation.
  • If the calculator agrees with your algebraic steps, then you know your answer is correct.
  • If it gives a different solution than what you found, then you know you have a mistake somewhere, and can go back and try to find it. E.g. maybe you dropped a negative sign, or didn’t collect like terms properly.
You can also use it to solve an equation if you are stuck, however most tests will require you to show your work as well.