Solve a polynomial equation (all roots)
Find all the roots of a polynomial equation at once, 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 a polynomial equation, write it as a polynomial equal to zero, enter its coefficients from the highest power down in your calculator's polynomial solver, and read every root from the result. Type 0 for any power that is missing. On the TI-Nspire the command polyRoots lists the real roots.
Example
Solve . Give all the real solutions to 3 significant figures.
The coefficients are . The curve crosses the x-axis three times, so the three roots are , and . One root is exactly 3, and the other two come from .
Choose your calculator
How to solve a polynomial equation on a TI-84 Plus CE
Polynomial Root Finder (all roots at once) | |
Write the equation as a polynomial equal to zero, highest power first: has coefficients . Press apps and choose PlySmlt2. Press any key to pass the information screen, then choose 1:Polynomial Root Finder from the MAIN MENU. |
|
Set ORDER to the highest power, here 3. Leave the other settings as they are: Real shows real roots only, and a+bi also shows complex roots. Press graph under NEXT. |
ORDER=3 Real Auto |
Type each coefficient and press enter to move to the next: 1 enter, (−) 2 enter, (−) 4 enter, 3 enter. Every coefficient needs a value, so type 0 for a missing power. |
1X^3 -2X^2 -4X +3=0 |
Press graph under SOLVE. All the roots are listed together. The roots are , and to 3 significant figures. If a root appears as a fraction, switch the Auto / Dec setting to Dec and solve again. |
X1=-1.618034 X2=0.618034 X3=3.000000 |
A polynomial of degree n has n roots counting repeats, but only the real ones are what a graph shows crossing the x-axis. In Real mode a complex root is not listed as a number.
How to solve a polynomial equation on a Casio fx-CG50
Equation mode, POLY (all roots at once) | |
Press MENU and choose Equation. Press F2 (POLY), then choose the degree: F2 (3) for a cubic. Degrees 2 to 6 are available. |
|
Type the coefficients in order from the highest power, pressing EXE after each: 1 EXE, (−) 2 EXE, (−) 4 EXE, 3 EXE. Type 0 for a missing power. |
a=1 b=-2 c=-4 d=3 |
Press F1 (SOLVE). Every root is listed, in any order. The roots are , and to 3 significant figures. |
x1=-1.618034 x2=0.618034 x3=3.000000 |
Press F1 (REPEAT) to change a coefficient and solve again. Complex roots are shown in the form set by Complex Mode in the Setup screen. |
|
Results can be less accurate when the equation has a repeated root. Check by substituting the root back into the polynomial.
How to solve a polynomial equation on a Casio fx-CG100
Equation app, Polynomial (all roots at once) | |
Press HOME and choose Equation. On the Type tab choose Polynomial and press OK. |
|
On the Degree tab choose the form with the highest power of your equation, here the cubic, and press OK. |
|
On the Editor tab type the coefficients from the highest power down, pressing EXE after each: 1 EXE, SHIFT − 2 EXE, SHIFT − 4 EXE, 3 EXE. Type 0 for a missing power. |
a3=1 a2=-2 a1=-4 a0=3 |
Press OK to solve. The Result tab lists every root. The roots are , and to 3 significant figures. When a root occurs more than once, the number of times is shown beside it. |
x=-1.618034 x=0.618034 x=3.000000 |
Results can be less accurate, or an error can occur, when the equation has a repeated root. Substitute a root back to check it.
How to solve a polynomial equation on a TI-Nspire CX
polyRoots (all real roots at once) | |
On a Calculator page type The roots are , and to 3 significant figures. |
polyRoots(x^3-2x^2-4x+3,x) {-1.61803,0.618034,3} |
The result is a list of the real roots. If the polynomial has no real root the list is empty: |
|
Complex roots | |
Use | |
polyRoots gives real roots only. Check the number of roots against the highest power: fewer means some roots are complex.
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 roots. Say you solved using your calculator, then list every root. Do not write the key presses.
- Give every root the question asks for. If it asks for real solutions, leave out complex roots; if it says "all roots", include them.
- 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 root by substituting it back into the polynomial: the result should be 0 or very nearly 0.
- Check which papers allow a calculator. In AA SL and AA HL, Paper 1 is calculator-free, so use factorising or the factor theorem there. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).
Equations that are not polynomials
The polynomial solver needs a polynomial. For an equation with other functions, such as a logarithm or an exponential, use the numeric solver: see solving an equation numerically. To find where two graphs meet, see find where two graphs meet.
Error messages and what to do
| Calculator | Message | Usual cause | What to try |
|---|---|---|---|
| TI-84 Plus CE | NO REAL ROOTS FOUND | The mode is Real and the polynomial has no real root. | Change the mode to a+bi to see the complex roots, and check the coefficients. |
| TI-84 Plus CE | PLEASE ENTER VALUES FOR ALL COEFFICIENTS | One of the coefficient boxes was left empty. | Type 0 for any missing power. |
| TI-84 Plus CE | HIGHEST DEGREE POLYNOMIAL COEFFICIENT CANNOT BE ZERO | The coefficient of the highest power is 0. | Lower the ORDER or correct the first coefficient. |
Common mistakes
- Leaving out a zero coefficient. For the coefficients are . Missing the 0 for gives the wrong roots.
- Entering the coefficients in the wrong order. Start with the highest power and work down.
- Not moving everything to one side. Rearrange to first, so becomes .
- Setting the wrong degree. The degree is the highest power, not the number of terms.
- Writing key presses as working. Write the equation and the roots. 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 find all the roots of a cubic on a calculator?
Use the polynomial solver: PlySmlt2 on the TI-84 Plus CE, Equation then POLY on the Casio fx-CG50, Equation then Polynomial on the Casio fx-CG100, or polyRoots on the TI-Nspire. Enter the coefficients from the highest power down and read every root from the result.
What do I enter when a power is missing?
Enter 0 for it. For the coefficients are . Skipping the 0 shifts every later coefficient and gives wrong roots.
Why does my calculator show fewer roots than the degree?
Some roots may be complex. In Real mode the calculator shows only real roots, so a cubic can show just one. Change to a complex setting, or use cPolyRoots on the TI-Nspire, to see all of them.
Do I write the solver in my exam working?
No. Write the equation you solved and the roots, and say you used your calculator. Examiners look for the method, not the key presses.