Skip to content
Family Table Math
Auto

Systems and Polynomials with Technology

Real problems often lead to equations that are slow or impossible to solve by hand: three unknown prices, the curve through three data points, or a cubic from a volume. Your GDC has built-in solvers that do the algebra in seconds. The real skill, and what IB questions test, is setting up the equations correctly from the context and interpreting what the solver tells you.

A system is a set of equations that must all be true at the same time. A solution gives a value for every variable that satisfies every equation. With 22 unknowns you need 22 equations; with 33 unknowns you need 33.

To solve on a GDC, use the simultaneous equations (linear system) solver:

  1. Write every equation in the standard form ax+by+cz=dax + by + cz = d, with the variables in the same order and the constant on the right.
  2. Enter the number of unknowns, then the coefficients row by row. Put 00 for any missing variable.
  3. Read off the solution, and check it in at least one original equation.

In IB exams, any method is allowed, and a system will always have a unique solution. You can also solve systems by elimination or, at higher level, with inverse matrices.

Outside exams, a solver may report something other than a single answer:

  • No solution (inconsistent): the equations contradict each other, like x+2y=4x + 2y = 4 and x+2y=9x + 2y = 9. Graphically the lines (or planes) are parallel and never all meet.
  • Infinitely many solutions: one equation is really a combination of the others, like x+2y=4x + 2y = 4 and 2x+4y=82x + 4y = 8. They describe the same line, so every point on it works. The GDC may give the answer in terms of a parameter, or just say “infinite solutions”.

In a context, either message usually means the information doesn’t pin down the answer, or there’s an error in setting up the equations. (See intersection of planes for the 3-D picture.)

A polynomial equation has the form anxn+⋯+a1x+a0=0a_n x^n + \dots + a_1 x + a_0 = 0. Its solutions are called roots of the equation, or zeros of the polynomial p(x)p(x). Real roots are the xx-intercepts of y=p(x)y = p(x).

To solve on a GDC, use the polynomial root finder:

  1. Rearrange so that one side is 00, and expand any brackets.
  2. Enter the degree, then the coefficients from the highest power down. Put 00 for any missing power.
  3. Read off the roots. Some GDCs also show complex roots (with ii). Real-life answers use only the real roots.

You can also graph y=p(x)y = p(x) and find its zeros, or graph both sides of the original equation and find the intersections. A graph is a useful check that you’ve found every real root.

The solver doesn’t know what your variables mean. After solving, ask:

  • Is each value possible? Lengths, times and prices can’t be negative; numbers of people must be whole numbers.
  • Does it fit the domain of the model? A box cut from a 2020 cm wide sheet can’t have 1717 cm corners.
  • Is the answer rounded sensibly (3 s.f. unless the context needs something else, like money to the cent)?

A school concert sold 640640 tickets. Adult tickets cost $18 and student tickets cost $11. Ticket sales were $9805. How many of each ticket were sold?

Solution. Let aa be the number of adult tickets and ss the number of student tickets.

a+s=640number of tickets18a+11s=9805money from tickets\begin{aligned} a + s &= 640 && \text{number of tickets} \\ 18a + 11s &= 9805 && \text{money from tickets} \end{aligned}

Enter the coefficients 1,1,6401, 1, 640 and 18,11,980518, 11, 9805 in the 2×22 \times 2 solver. It gives a=395a = 395 and s=245s = 245.

So 395395 adult and 245245 student tickets were sold.

Check: 395+245=640395 + 245 = 640 ✓ and 18(395)+11(245)=7110+2695=980518(395) + 11(245) = 7110 + 2695 = 9805 ✓.

Example 2: A quadratic model through three points

Section titled “Example 2: A quadratic model through three points”

A ball is thrown upward. Its height hh metres after tt seconds is modelled by h=at2+bt+ch = at^2 + bt + c. The ball is 14.614.6 m high at t=1t = 1, 17.917.9 m at t=2t = 2 and 11.411.4 m at t=3t = 3.

  • (a) Find aa, bb and cc.
  • (b) Find when the ball hits the ground.

Solution.

(a) Substitute each point into h=at2+bt+ch = at^2 + bt + c. Each one gives a linear equation in aa, bb, cc:

a+b+c=14.6t=14a+2b+c=17.9t=29a+3b+c=11.4t=3\begin{aligned} a + b + c &= 14.6 && t = 1 \\ 4a + 2b + c &= 17.9 && t = 2 \\ 9a + 3b + c &= 11.4 && t = 3 \end{aligned}

The 3×33 \times 3 solver gives a=−4.9a = -4.9, b=18b = 18, c=1.5c = 1.5, so h=−4.9t2+18t+1.5h = -4.9t^2 + 18t + 1.5.

(b) The ball hits the ground when h=0h = 0:

−4.9t2+18t+1.5=0-4.9t^2 + 18t + 1.5 = 0

The polynomial root finder (degree 22, coefficients −4.9-4.9, 1818, 1.51.5) gives t=3.754 99…t = 3.754\,99\ldots and t=−0.081 5…t = -0.081\,5\ldots. Time after the throw can’t be negative, so the ball lands after about 3.753.75 s (3 s.f.).

Notice that c=1.5c = 1.5 is the height at t=0t = 0: the ball left the thrower’s hand 1.51.5 m above the ground.

An open box is made from a 3030 cm by 2020 cm sheet of card by cutting a square of side xx cm from each corner and folding up the sides. Find the values of xx for which the volume is 10001000 cm³.

Solution. The base is (30−2x)(30 - 2x) by (20−2x)(20 - 2x) and the height is xx, so

x(30−2x)(20−2x)=1000x(30 - 2x)(20 - 2x) = 1000

Expand and rearrange so one side is 00:

x(600−100x+4x2)=10004x3−100x2+600x−1000=0\begin{aligned} x(600 - 100x + 4x^2) &= 1000 \\ 4x^3 - 100x^2 + 600x - 1000 &= 0 \end{aligned}

The root finder (degree 33, coefficients 4,−100,600,−10004, -100, 600, -1000) gives

x=2.93 (3 s.f.),x=5,x=17.1 (3 s.f.)x = 2.93 \text{ (3 s.f.)}, \qquad x = 5, \qquad x = 17.1 \text{ (3 s.f.)}

The width 20−2x20 - 2x must be positive, so 0<x<100 \lt x \lt 10. That rules out x=17.1x = 17.1. So x=2.93x = 2.93 cm or x=5x = 5 cm. Both boxes have volume 10001000 cm³.

Box volume and the line V = 1000 2 4 6 8 10 200 400 600 800 1000 2.93 5 V = 1000 V = x(30 − 2x)(20 − 2x) x (cm) volume (cm³)
The volume equals 10001000 cm³ where the curve meets the line V=1000V = 1000: at x≈2.93x \approx 2.93 and x=5x = 5.

Check: 5(20)(10)=10005(20)(10) = 1000 ✓.

At a bakery, three orders cost:

  • 22 coffees, 11 muffin and 11 juice: $12.35
  • 11 coffee and 33 muffins: $11.50
  • 33 coffees, 22 muffins and 22 juices: $21.45

Find the price of each item.

Solution. Let cc, mm and jj be the prices in dollars of a coffee, a muffin and a juice.

2c+m+j=12.35c+3m+0j=11.503c+2m+2j=21.45\begin{aligned} 2c + m + j &= 12.35 \\ c + 3m + 0j &= 11.50 \\ 3c + 2m + 2j &= 21.45 \end{aligned}

Note the 00 for juice in the second order: you must enter it. The 3×33 \times 3 solver gives c=3.25c = 3.25, m=2.75m = 2.75, j=3.10j = 3.10.

A coffee costs $3.25, a muffin $2.75 and a juice $3.10.

Check the third order: 3(3.25)+2(2.75)+2(3.10)=9.75+5.50+6.20=21.453(3.25) + 2(2.75) + 2(3.10) = 9.75 + 5.50 + 6.20 = 21.45 ✓.

Entering equations that aren’t in standard form. The solver needs every equation as ax+by+cz=dax + by + cz = d, with the variables in the same order. An equation like y=2zy = 2z must become 0x+1y−2z=00x + 1y - 2z = 0 before you enter it.

Leaving out a zero. If a variable or a power is missing, its coefficient is 00 and you must type it. Skipping it shifts every later coefficient into the wrong place.

Not rearranging a polynomial to equal zero. The root finder solves p(x)=0p(x) = 0. For x3=5x+3x^3 = 5x + 3, enter x3−5x−3=0x^3 - 5x - 3 = 0: coefficients 1,0,−5,−31, 0, -5, -3.

Keeping roots that don’t fit the context. In Example 3, x=17.1x = 17.1 is a correct root of the cubic, but it’s impossible for the box. Always check the domain.

Giving complex roots as real-world answers. If the GDC shows roots like 1.46+0.688i1.46 + 0.688i, those are not xx-intercepts and can’t be a length or a time. Only real roots count in a real context.

Not checking. Typing one coefficient wrong gives a confident but wrong answer. Substitute your solution back into an original equation; it takes seconds.

1. (Warm-up) Use technology to solve:

3x−2y=75x+4y=19\begin{aligned} 3x - 2y &= 7 \\ 5x + 4y &= 19 \end{aligned}
Solution

Enter 3,−2,73, -2, 7 and 5,4,195, 4, 19. The solver gives x=3x = 3, y=1y = 1.

Check: 3(3)−2(1)=73(3) - 2(1) = 7 ✓ and 5(3)+4(1)=195(3) + 4(1) = 19 ✓.

2. (Warm-up) Use technology to find the roots of 2x3−3x2−11x+6=02x^3 - 3x^2 - 11x + 6 = 0.

Solution

Degree 33, coefficients 2,−3,−11,62, -3, -11, 6. The root finder gives

x=−2,x=12,x=3x = -2, \qquad x = \frac{1}{2}, \qquad x = 3

Check x=3x = 3: 2(27)−3(9)−11(3)+6=54−27−33+6=02(27) - 3(9) - 11(3) + 6 = 54 - 27 - 33 + 6 = 0 ✓.

3. (Warm-up) Use technology to solve:

x+y+z=62x−y+3z=9x+4y−z=6\begin{aligned} x + y + z &= 6 \\ 2x - y + 3z &= 9 \\ x + 4y - z &= 6 \end{aligned}
Solution

The 3×33 \times 3 solver gives x=1x = 1, y=2y = 2, z=3z = 3.

Check the second equation: 2(1)−2+3(3)=92(1) - 2 + 3(3) = 9 ✓.

4. (Core) Solve x3=5x+3x^3 = 5x + 3, giving your answers to 3 s.f.

Solution

Rearrange: x3−5x−3=0x^3 - 5x - 3 = 0. Degree 33, coefficients 1,0,−5,−31, 0, -5, -3 (don’t forget the 00 for x2x^2). The root finder gives

x=−1.83,x=−0.657,x=2.49(3 s.f.)x = -1.83, \qquad x = -0.657, \qquad x = 2.49 \quad \text{(3 s.f.)}

5. (Core) Ana invests $20 000 in three funds paying simple interest of 2%2\%, 4%4\% and 7%7\% per year. After one year she earns $940 in interest. She put twice as much in the 4%4\% fund as in the 7%7\% fund. How much did she invest in each fund?

Solution

Let xx, yy, zz be the amounts in dollars in the 2%2\%, 4%4\% and 7%7\% funds.

x+y+z=20 0000.02x+0.04y+0.07z=9400x+y−2z=0\begin{aligned} x + y + z &= 20\,000 \\ 0.02x + 0.04y + 0.07z &= 940 \\ 0x + y - 2z &= 0 \end{aligned}

(The last equation is y=2zy = 2z rewritten in standard form.) The solver gives x=2000x = 2000, y=12 000y = 12\,000, z=6000z = 6000.

She invested $2000 at 2%2\%, $12 000 at 4%4\% and $6000 at 7%7\%.

Check: interest =40+480+420=940= 40 + 480 + 420 = 940 ✓.

6. (Core) A company’s weekly profit PP dollars from selling xx items is modelled by P=ax2+bx+cP = ax^2 + bx + c. When x=20x = 20, P=250P = 250; when x=30x = 30, P=400P = 400; and when x=50x = 50, P=400P = 400.

  • (a) Find aa, bb and cc.
  • (b) Find the break-even points (where P=0P = 0).
Solution

(a) Substitute the three points:

400a+20b+c=250900a+30b+c=4002500a+50b+c=400\begin{aligned} 400a + 20b + c &= 250 \\ 900a + 30b + c &= 400 \\ 2500a + 50b + c &= 400 \end{aligned}

The solver gives a=−0.5a = -0.5, b=40b = 40, c=−350c = -350, so P=−0.5x2+40x−350P = -0.5x^2 + 40x - 350.

(b) Solve −0.5x2+40x−350=0-0.5x^2 + 40x - 350 = 0: the root finder gives x=10x = 10 and x=70x = 70.

The company breaks even when it sells 1010 items or 7070 items, and makes a profit between those values.

7. (Core) A GDC gives the message “no solution” for system A and “infinitely many solutions” for system B. Explain why in each case.

A: x+2y−z=32x+4y−2z=5x−y+z=1B: x+y+z=3x−y+2z=42x+0y+3z=7\text{A: } \begin{aligned} x + 2y - z &= 3 \\ 2x + 4y - 2z &= 5 \\ x - y + z &= 1 \end{aligned} \qquad\qquad \text{B: } \begin{aligned} x + y + z &= 3 \\ x - y + 2z &= 4 \\ 2x + 0y + 3z &= 7 \end{aligned}
Solution

A: Doubling the first equation gives 2x+4y−2z=62x + 4y - 2z = 6, but the second equation says the same expression equals 55. Both can’t be true, so there is no solution. (The first two planes are parallel.)

B: Adding the first two equations gives 2x+0y+3z=72x + 0y + 3z = 7, which is exactly the third equation. So the third equation adds no new information: there are really only two equations for three unknowns, and infinitely many solutions (all the points on a line).

8. (Challenge) Find the coordinates of the points where the curve y=x3−2xy = x^3 - 2x meets the line y=x+1y = x + 1, to 3 s.f.

Solution

At an intersection both yy-values are equal:

x3−2x=x+1⇒x3−3x−1=0x^3 - 2x = x + 1 \quad\Rightarrow\quad x^3 - 3x - 1 = 0

Root finder (coefficients 1,0,−3,−11, 0, -3, -1): x=−1.532…x = -1.532\ldots, x=−0.347…x = -0.347\ldots, x=1.879…x = 1.879\ldots

Use y=x+1y = x + 1 (with the unrounded xx-values) for the yy-coordinates:

(−1.53, −0.532),(−0.347, 0.653),(1.88, 2.88)(3 s.f.)(-1.53,\ -0.532), \qquad (-0.347,\ 0.653), \qquad (1.88,\ 2.88) \quad \text{(3 s.f.)}

9. (Challenge) The curve y=x3+ax2+bx+cy = x^3 + ax^2 + bx + c passes through (1,2)(1, 2), (−1,6)(-1, 6) and (2,3)(2, 3).

  • (a) Find aa, bb and cc.
  • (b) Solve x3+ax2+bx+c=0x^3 + ax^2 + bx + c = 0. How many real roots are there?
Solution

(a) Substitute each point, and move the known x3x^3 term to the right:

a+b+c=2−1=1(1,2)a−b+c=6+1=7(−1,6)4a+2b+c=3−8=−5(2,3)\begin{aligned} a + b + c &= 2 - 1 = 1 && (1, 2) \\ a - b + c &= 6 + 1 = 7 && (-1, 6) \\ 4a + 2b + c &= 3 - 8 = -5 && (2, 3) \end{aligned}

The solver gives a=−1a = -1, b=−3b = -3, c=5c = 5, so y=x3−x2−3x+5y = x^3 - x^2 - 3x + 5.

(b) Root finder (coefficients 1,−1,−3,51, -1, -3, 5): x=−1.92x = -1.92 (3 s.f.), and two complex roots x≈1.46±0.688ix \approx 1.46 \pm 0.688i.

There is only one real root, x≈−1.92x \approx -1.92, so the curve crosses the xx-axis once.