Solve an equation numerically (including multiple solutions)
Solve an equation that cannot be rearranged, and find every solution, with the exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, plus what to write in the exam.
To solve an equation numerically, enter it in your calculator's solver and give a starting value near the solution you want. A solver finds one solution per starting value, so repeat with other starting values, or use the all-solutions command where there is one. A graph of both sides shows how many solutions to look for.
Example
Solve . Give all the solutions to 3 significant figures.
The curve meets the line three times, so there are three solutions: , and . A solver finds one of them for each starting value, and some calculators can list all three at once.
Choose your calculator
How to solve an equation numerically on a TI-84 Plus CE
Numeric Solver (one solution per starting value) | |
Press math, then ▲ to jump to the bottom of the menu, and choose C:Numeric Solver. |
|
Enter the equation as E1 = E2. Type X,T,θ,n ^ 3 − 3 X,T,θ,n for E1 and 1 for E2, then choose OK. The equation does not need rearranging to equal zero. |
E1=X^3-3X E2=1 |
Put the cursor on X and type a number close to the solution you want, for example 2. Leave the bounds as they are ({-1E99,1E99}) unless you want to search only a smaller interval. |
X=2 bound={-1E99,1E99} |
Press alpha enter (SOLVE). The solution is marked with a small square, and E1-E2 shows how far the two sides are apart: it should be 0 or a very small number. to 3 decimal places, which is to 3 significant figures. |
X=1.879385 E1-E2=0 |
The solver finds the solution nearest your starting value. For the others, start again with another value: (−) 1 finds and 0 finds . |
X=-1.532089 X=-0.347296 |
Another way: from the graph | |
Graph the left side as Y1 and the right side as Y2, then use 2nd trace 5:intersect at each crossing. The graph also shows how many solutions there are, which tells you how many starting values to try. The steps are in find where two graphs meet. | |
A starting value near the solution you want is what matters. If the solver gives a different solution from the one you expected, look at the graph and start closer.
How to solve an equation numerically on a Casio fx-CG50
Solver (one solution per starting value) | |
Press MENU and choose Equation, then press F3 (SOLVER). |
|
Type the equation, for example X^3-3X=1, using SHIFT . (=) for the equals sign, then press EXE. A table of the variables in the equation appears. |
Eq:X^3-3X=1 X=0 Lower= Upper= |
Type a starting value for X, close to the solution you want, for example 2 EXE. You can also give Lower and Upper limits to search only a smaller range. Move to the X line with ▲ and press F6 (SOLVE). to 3 decimal places, which is to 3 significant figures. |
X=1.879385 Lft= Rgt= (nearly equal) |
The Lft and Rgt values are the two sides of the equation at the answer: the closer they are, the better the result. A Solve gives one solution, so repeat with another starting value for the others, for example (−) 1 and 0. |
|
All solutions at once: SolveN | |
Press MENU and choose Run-Matrix. Press OPTN, F4 (CALC), then F5 (SolveN). Type the equation X^3-3X=1 and a closing bracket, then press EXE. Up to 10 results appear together in a list. The message No Solution means there is none, and More solutions may exist. means there may be others outside those shown. The three solutions are , and to 3 significant figures. |
SolveN(X^3-3X=1) {-1.532088886,-0.3472963553,1.879385242} |
Use SolveN when you need every solution. Use the Solver when you want to check one solution or the equation has more than one variable.
How to solve an equation numerically on a Casio fx-CG100
Solver (one solution per starting value) | |
Press HOME and choose Equation. On the Type tab choose Solver and press OK. |
|
On the Setup tab type the equation on the Eq line, for example X^3-3X=1, and press OK. If you type an expression without an equals sign, the calculator solves "expression = 0". |
Eq:X^3-3X=1 |
Choose X as the variable to solve for and press OK. In the Solve for dialog, the value of the variable you are solving for is the starting estimate: type one close to the solution you want, for example 2. Enter Upper and Lower limits only if you want to search a smaller range. |
Solve for X X=2 |
Choose Execute and press OK. The Result tab shows the solution with Lft and Rgt, the two sides of the equation at the answer. to 3 decimal places, which is to 3 significant figures. |
X=1.879385 Lft= Rgt= (nearly equal) |
All solutions at once: SolveN | |
Press HOME, choose Calculate, then press CATALOG and choose Function Analysis → Solve Equation (SolveN). Type the equation X^3-3X=1 and press EXE. Up to 10 solutions come back as a list, and No Solution means there is none. The three solutions are , and to 3 significant figures. |
SolveN(X^3-3X=1) {-1.532088886,-0.3472963553,1.879385242} |
Use SolveN for every solution of an equation in one variable. The Solver is better when the equation has several variables and you solve for one of them.
How to solve an equation numerically on a TI-Nspire CX
Numerical Solve (one solution per starting value) | |
On a Calculator page press menu → Algebra → Numerical Solve. This pastes |
|
Type the equation, a comma, then the variable with a starting value close to the solution you want, so that you have to 3 decimal places, which is to 3 significant figures. |
nSolve(x^3-3x=1,x=2) 1.87939 |
The result is the solution nearest your starting value. For the others, change the starting value: |
nSolve(x^3-3x=1,x=-1) -1.53209 nSolve(x^3-3x=1,x=0) -0.347296 |
Another way: from the graph | |
Graph the left side and the right side as two functions and use menu → Analyze Graph → Intersection at each crossing. The graph also shows how many solutions there are. The steps are in find where two graphs meet. | |
Give the guess in the variable, as x=2, not as a separate third number: a third number would be read as a lower bound.
Sources. Key presses follow the manufacturers' documentation: the TI-84 Plus CE eGuide, the TI-Nspire eGuide, the Casio fx-CG50 Software User's Guide (version 3.30) and the Casio fx-CG100 online manual.
What to write in the exam
- Write the equation and the solutions. Say you solved using your calculator, then list every solution. Do not write the key presses.
- Give every solution the question asks for. A solver finds only one solution per starting value, so check the graph and repeat until you have them all.
- Give an exact value or 3 significant figures unless the question says otherwise, and keep the full calculator value for later parts instead of re-typing a rounded one.
- Check a solution by substituting it back, or by reading the Lft and Rgt values or E1-E2 on the calculator: they should be equal or very nearly so.
- Check which papers allow a calculator. In AA SL and AA HL, Paper 1 is calculator-free, so use algebra there. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).
Polynomial equations
For a polynomial equation, the polynomial solver returns every root at once and is the quicker route. See solving a polynomial equation. To solve several equations together, see solving a system of equations.
Error messages and what to do
| Calculator | Message | Usual cause | What to try |
|---|---|---|---|
| TI-84 Plus CE | ERR:BAD GUESS | The guess is not between the lower and upper bounds, or the guess and several points around it are undefined. | Look at the graph of the equation, then change the starting value or the bounds. |
| TI-84 Plus CE | ERR:ITERATIONS | The solver used the maximum number of attempts without reaching a solution. | Look at the graph and start closer to a solution. |
| TI-84 Plus CE | ERR:NO SIGN CHANGE | The solver did not detect a sign change between the two sides of the equation. | Check the equation has a solution, and widen the bounds or change the starting value. |
| Casio fx-CG50 | Can’t Solve! | The Solve could not find a solution within the range. | Adjust the starting value or the limits, then try again. |
| Casio fx-CG50 | Time Out | The Solve could not meet its convergence conditions. | Try a starting value closer to the solution. |
| Casio fx-CG50 | No Solution | SolveN found no solution. | Check the equation, and graph both sides to see whether they meet. |
| Casio fx-CG100 | No Variable | There is no variable in the Solver equation. | Input an equation that includes a variable. |
| Casio fx-CG100 | No Solution | SolveN found no solution. | Check the equation, and graph both sides to see whether they meet. |
| TI-Nspire CX | No solution found | nSolve did not find a solution from that starting value. | Try a different starting value, after looking at the graph. |
Common mistakes
- Stopping at the first solution. A solver gives one solution per starting value. Look at the graph, or use the all-solutions command, to check how many there are.
- A starting value far from the solution. The calculator may find a different solution, or none. Start near the one you want.
- Not checking the answer. Look at Lft and Rgt, or E1-E2, or substitute the value back: a large difference means the result is not a solution.
- Rounding before the end. Keep the calculator's full value for the next part and round only the final answer.
- Writing key presses as working. Write the equation and the solutions. The examiner needs the method, not the keys.
Try it yourself
Real questions from the IB Maths Help question bank. Type your answer and press Mark it: the worked solution and mark scheme then appear. Use your calculator to solve the equations.
Practise with your calculator
Choose your course to see the practice sets that use this skill. You can also try practice mode or browse every GDC guide.
Quick questions
How do I solve an equation on a calculator when I cannot rearrange it?
Use the numeric solver: Numeric Solver on the TI-84 Plus CE, Equation then Solver on the Casio calculators, or Numerical Solve (nSolve) on the TI-Nspire. Enter the equation, give a starting value near the solution you want, and read the result. You do not need to rearrange it first.
Why does my solver only give one solution?
A numeric solver finds the solution nearest your starting value. To find the others, start again with different values, or use an all-solutions command such as SolveN on the Casio calculators. A graph of both sides shows how many solutions there are.
How do I know the answer is right?
Check that the two sides match at the answer. The solver shows this as E1-E2 on the TI-84 Plus CE and as Lft and Rgt on the Casio calculators, and you can also substitute the value back into the equation.
Do I write the solver in my exam working?
No. Write the equation you solved and the solutions, and say you used your calculator. Examiners look for the method, not the key presses.