Polynomial graphing calculator: graph of a polynomial function (worked cubic)
Take . Before graphing, collect what algebra tells you:
- y-intercept: .
- Candidate rational roots: factors of 6 over factors of 1, so . Testing gives .
- Factor: dividing by leaves , so .
- End behavior: leading term , so as and as .
Now the graph confirms it: three crossings at , and two turning points where :
with a local maximum and a local minimum . A standard window shows all of this; a cubic with larger coefficients may need a taller window.
Multiplicity: cross, touch or flatten
| Factor | Multiplicity | Behavior at the zero | Example |
|---|---|---|---|
| 1 | Crosses straight through | in the cubic above | |
| 2 | Touches and turns back | at | |
| 3 | Crosses with a flat S-bend | at 0 |
Calculator trap: a double root has no sign change, so a zero-finder that brackets sign changes can miss it. If the graph touches the axis, use the minimum or maximum tool instead and check that the y-value is 0 (or within of it).
Rational functions: the default example
The workspace graphs . Three features come from three simple checks:
- Zeros — numerator = 0 and denominator ≠ 0: .
- Vertical asymptote — denominator = 0 and the factor does not cancel: . Values just left of 2 plunge toward ; just right they shoot to .
- Slant asymptote — numerator degree is one higher, so divide: . As grows, the remainder shrinks, so the curve hugs .
The y-intercept is . Add x+2 as a second function to see the asymptote.
Horizontal asymptote rules
| Degrees (numerator n, denominator d) | Asymptote | Example |
|---|---|---|
| ratio of leading coefficients | ||
| slant line from division | ||
| no linear asymptote |
Unlike vertical asymptotes, a graph may cross a horizontal asymptote: passes through at the origin.
Vertical asymptote vs hole
Consider . The factor cancels, so is a hole: the simplified function gives , so the hole is at . The factor remains, so is a vertical asymptote, and the horizontal asymptote is . A graph will not show the hole at all — the pixel is simply missing — so always factor first. A table of values around reveals it as an ERROR row between values approaching 0.667.
Keystroke reference
| Task | TI-84 style key sequence | GraphingCalc84 |
|---|---|---|
| Find each real zero | 2ND TRACE → 2: zero (left bound, right bound, guess) | CALC inspector → zero (all zeros in view) |
| Turning points | 2ND TRACE → 3: minimum / 4: maximum | CALC inspector → minimum / maximum |
| Vertex of a parabola | minimum or maximum | Same; e.g. → |
| Draw an asymptote | 2ND PRGM → Vertical / Horizontal | Add a line such as x+2 as a function |
| Avoid false vertical lines | MODE or FORMAT → Detect Asymptotes: On (newer OS versions) | Automatic pen-lift at jumps |
Learn the theory behind these rules in OpenStax Precalculus, chapters on polynomial and rational functions. Polynomials with complex roots, such as with roots , never touch the x-axis; explore them with the complex number calculator.
Write the equation of a polynomial from its graph
Reverse the process: read the zeros and their behavior, then use one more point to fix the leading coefficient. Suppose a graph touches the x-axis at , crosses at and passes through .
- Touching means even multiplicity, so use ; crossing means odd, so use .
- Write .
- Substitute the point: , so .
The answer is . Graph it to confirm: the curve bounces off , crosses at , and sits well above the axis, consistent with a positive leading coefficient and a cubic that rises to the right.
End behavior at a glance
| Degree | Leading coefficient | Left end | Right end |
|---|---|---|---|
| Odd | Positive | falls ↓ | rises ↑ |
| Odd | Negative | rises ↑ | falls ↓ |
| Even | Positive | rises ↑ | rises ↑ |
| Even | Negative | falls ↓ | falls ↓ |
Combine the table with the zeros and multiplicities, and you can sketch any factored polynomial by hand in under a minute; the graph above then serves as the check rather than the answer.