Building Polynomials
What if you could build any curve you wanted, one piece at a time? That’s exactly what polynomials let you do. Start with a simple line, add a curve, then add a wiggle — and watch the shape transform before your eyes.
What Is a Polynomial?
A polynomial is a sum of terms, where each term is a coefficient times x raised to a whole number power:
The highest power of x that appears (with a non-zero coefficient) is called the degree of the polynomial. The degree controls the overall shape.
Part 1: Start with a Line — Degree 1
The simplest polynomial is just y = ax + b — a straight line. Let’s begin here:
Nothing new here — just a straight line. The graph can only go in one direction. No curves, no turns. Let’s add some power.
Part 2: Add a Curve — Degree 2
Now let’s add an x^2 term. This is where things get interesting:
Play with a2 and notice:
- a2 > 0: The parabola opens upward (U-shape)
- a2 < 0: The parabola opens downward (upside-down U)
- Bigger |a2|: Narrower, steeper parabola
- Smaller |a2|: Wider, flatter parabola
Now try changing a1 — it slides the parabola left and right (and tilts it). The constant a0 just shifts the whole thing up or down.
A degree-2 polynomial has at most 1 turn (one change of direction). It can cross the x-axis at most 2 times.
Part 3: Add a Wiggle — Degree 3
Let’s throw in an x^3 term and watch the shape transform:
Now you can see the S-shape that’s characteristic of cubic functions. A degree-3 polynomial can have up to 2 turns and can cross the x-axis up to 3 times.
Try this combination: Set a3 = 1, a2 = 0, a1 = -3. You’ll see a classic cubic with two turns and three roots. The curve rises, dips down through the x-axis, comes back up, then dips and rises again.
Part 4: The Degree Controls Everything
Here’s the big pattern:
| Degree | Max Turns | Max x-crossings | End Behavior |
|---|---|---|---|
| 1 (line) | 0 | 1 | goes to +/- infinity |
| 2 (quadratic) | 1 | 2 | both ends same direction |
| 3 (cubic) | 2 | 3 | ends go opposite directions |
| 4 (quartic) | 3 | 4 | both ends same direction |
Let’s compare several degrees side by side:
End behavior rule:
- Even degree (2, 4, 6…): Both ends go the same direction (both up if the leading coefficient is positive, both down if negative)
- Odd degree (1, 3, 5…): The ends go opposite directions (one up, one down)
This makes sense — even powers are always positive, so they “pull” both sides up. Odd powers preserve the sign, so left goes down while right goes up.
Part 5: Building a Custom Polynomial
Let’s put it all together. Here you control all the coefficients at once and build any polynomial up to degree 3:
Challenge: Can you use the sliders to create a polynomial that:
- Has exactly 2 roots (x-crossings) and opens upward?
- Has exactly 3 roots?
- Has NO roots (never touches the x-axis)?
Hint: For #3, try an upward parabola shifted above the x-axis. Set the x^3 coefficient to 0, make x^2 positive, and push the constant up!
Part 6: Why “Turns” Matter
The number of turns (changes in direction) tells you a lot about a polynomial. A degree-n polynomial has at most n - 1 turns.
Watch how adding the x^3 term to a parabola creates a new turn:
Start with the slider at 0 — you see the parabola x^2 - 4 with one turn. Slowly increase the slider and watch the cubic term pull one side of the curve up, adding a second turn and potentially a third root.
Wrapping Up
| Term | What It Adds |
|---|---|
| Constant (a0) | Shifts the whole curve up or down |
| x term (a1) | Tilts and shifts — adds linear behavior |
| x^2 term (a2) | Creates a curve with 1 turn |
| x^3 term (a3) | Creates an S-shape with up to 2 turns |
| Higher terms | More wiggles, more possible roots |
Final Challenge: A polynomial has roots at x = -2, x = 1, and x = 3. What’s the minimum degree it could have? Can you write it in factored form?
Answer: Minimum degree 3. Factored form: y = (x + 2)(x - 1)(x - 3). Try expanding that to see the standard form — and check it with the graph above!
Polynomials are like building blocks. Each term adds a new feature to the curve — a tilt, a bend, a wiggle. The more terms you add, the more complex the shape becomes. But the degree always tells you the maximum number of surprises the curve can throw at you.