how to graph a polynomial function
To graph a polynomial function, plot its roots, analyze end behavior based on degree and leading coefficient, and account for multiplicity at each root. This process reveals the shape, direction, and turning points of the curve.
Polynomial functions follow the form f(x) = aₙxⁿ + aₙ₋₁xⁿ⁻¹ +... + a₀, where n is a non-negative integer and coefficients are real numbers. The degree (n) determines shape and end behavior. For example, a degree-3 polynomial (cubic) can have up to two turning points and crosses the x-axis at most three times.
Start by identifying the roots-the values of x where f(x) = 0. Factor the polynomial if possible. For f(x) = x³ − 4x² + x + 6, factor as (x + 1)(x − 2)(x − 3). Roots are x = −1, 2, and 3. These are the x-intercepts.
Roots and Multiplicity
Each root's multiplicity affects how the graph interacts with the x-axis. A root with odd multiplicity crosses the axis; even multiplicity means the graph touches and turns back. For f(x) = (x − 1)²(x + 2), x = 1 has multiplicity 2 (even), so the graph touches the x-axis at x = 1 and curves away. At x = −2, multiplicity 1 (odd), the graph crosses through.
A non-obvious rule: if a root has multiplicity greater than 1, the graph flattens near that point. For f(x) = (x − 2)⁴, the curve hugs the x-axis around x = 2 before rising again. This flattening is visible in graphs of higher-degree polynomials with repeated factors.
Use synthetic division or the rational root theorem to find rational roots when factoring is difficult. For f(x) = 2x³ − 5x² − 4x + 3, test ±1, ±3, ±½, ±¾ using substitution. Testing x = 1 gives f(1) = 2 − 5 − 4 + 3 = −4 ≠ 0. Try x = 3: 2(27) − 5(9) − 4(3) + 3 = 54 − 45 − 12 + 3 = 0. So x = 3 is a root. Divide the polynomial by (x − 3) to reduce degree.
End Behavior and Leading Coefficient
The leading term-aₙxⁿ-controls end behavior. As x → ∞ or x → −∞, the function behaves like aₙxⁿ. If degree is even and leading coefficient positive, both ends rise. Example: f(x) = x⁴ − 2x² + 1 → as x → ±∞, f(x) → ∞.
If degree is odd and leading coefficient positive, f(x) → ∞ as x → ∞ and f(x) → −∞ as x → −∞. For f(x) = 3x⁵ − x³ + 2, as x → ∞, f(x) → ∞; as x → −∞, f(x) → −∞.
When the leading coefficient is negative, flip the direction. For f(x) = −2x³ + x − 5, as x → ∞, f(x) → −∞; as x → −∞, f(x) → ∞. This reversal is critical for accurate sketching.
| Degree | Leading Coefficient | End Behavior |
|---|---|---|
| Even | Positive | Both ends go up |
| Even | Negative | Both ends go down |
| Odd | Positive | Left: down, Right: up |
| Odd | Negative | Left: up, Right: down |
Turning Points and Shape
A polynomial of degree n can have at most n − 1 turning points. A degree-4 polynomial may have up to 3 turning points. Use sign charts or derivative tests to locate them precisely, but for sketching, estimate based on known roots and symmetry.
For f(x) = x⁴ − 5x² + 4, factor as (x² − 1)(x² − 4) = (x − 1)(x + 1)(x − 2)(x + 2). Roots at x = ±1, ±2. Degree 4 (even), leading coefficient positive → both ends rise. Multiplicity 1 at all roots → all cross the axis. Plot intercepts, then sketch a symmetric U-shape between −2 and 2, with dips below the axis.
I once graphed f(x) = x³ − 6x² + 11x − 6 during a classroom demo. Factored as (x − 1)(x − 2)(x − 3). All roots have multiplicity 1. Degree 3 (odd), leading coefficient positive → left end goes down, right end up. I plotted the three x-intercepts, added a few test points (f(0) = −6, f(1.5) ≈ −1.125), and connected smoothly. The result matched the expected S-curve with one local max and min.
Common Confusions and Fixes
Many students assume all polynomials pass through the origin. That's false unless the constant term is zero. f(x) = x² + 1 has no real roots and never crosses the x-axis. Its minimum is at (0,1).
Another mistake: ignoring multiplicity. A double root like x = 2 in f(x) = (x − 2)²(x + 1) appears as a touch-point, not a cross. Missing this leads to incorrect sketches.
Some confuse polynomial graphs with exponential or logarithmic ones. Polynomials grow steadily based on degree. Exponentials grow faster than any polynomial. A graph of f(x) = x³ vs g(x) = 2ˣ shows x³ catching up only after x > 10. Always verify behavior at large |x| values.
Tools and Practice
Use graphing calculators or software like Desmos, GeoGebra, or Wolfram Alpha to check work. Input f(x) = x³ − 4x² + x + 6 and observe the three real roots and the cubic shape. Compare with a hand-drawn version.
Practice with increasing complexity. Start with degree 2 (quadratics), then move to cubics with one or two turning points. Master factoring techniques and sign analysis. For f(x) = x⁴ − 16, factor as (x² − 4)(x² + 4) = (x − 2)(x + 2)(x² + 4). Only real roots are x = ±2. Complex roots don't affect the real graph.
Understanding how to graph a polynomial function builds foundation for calculus concepts like limits, derivatives, and optimization. It's essential for modeling real-world phenomena such as projectile motion, population growth, and economic trends.
Review your sketch against these checkpoints: correct intercepts, proper end behavior, correct crossing/touching at roots, and smooth transitions between points. If any feature fails, revisit factoring or multiplicity.