Skip to content
ihateDesmos

Graph of a polynomial function

Updated 6 November 2026 · Values computed by the ihateDesmos engine

The graph of a polynomial function is a smooth, unbroken curve. Its degree tells you how many times it can turn and which way its ends point, and its roots tell you where it crosses the x-axis. The example here is the cubic y = x³ − 3x.

−2−112−4−2240
Open in calculator
The graph of
y=x3−3x
for −3 ≤ x ≤ 3. Dots mark its roots and turning points.

Key features

Domain
All real numbers
Range
All real numbers for odd degree. Bounded on one side for even degree
Degree of this example
3
Most turning points
One less than the degree: 2 here
Most real roots
Equal to the degree: 3 here
Roots here
x = 0 and x = ±√3
Turning points here
(−1, 2) and (1, −2)
y-intercept
None
Derivative
3x2−3
Antiderivative
x44−3x22+C

Derivative and antiderivative from the calculator’s algebra system. Domain, range and asymptotes are stated for real x.

What the graph of x³ − 3x looks like

Polynomials have no breaks, jumps, corners or asymptotes. You could draw the whole graph without lifting your pen.

End behaviour depends on the leading term. Odd degree with a positive leading coefficient: falls on the left and rises on the right. Even degree with a positive leading coefficient: rises on both sides. A negative leading coefficient flips these.

Multiplicity shapes each root. A single root crosses the axis cleanly, a double root touches it and bounces back, and a triple root crosses with a flat S-bend.

Points of interest

Found numerically to about twelve digits in the window −3 ≤ x ≤ 3, then shown in exact form where one exists.

x-intercepts (roots)
x = −1.7321, x = 0, x = 1.7321
Local maxima
(−1, 2)
Local minima
(1, −2)
Inflection points
(0, 0)

Table of values

A few points to plot, with exact values where they are simple.

Values of x³ − 3x
xy = x³ − 3x
−2−2
−3/29/8
−12
00
1−2
3/2−9/8
22

How to graph x³ − 3x by hand

  1. 1
    Find the end behaviour from the leading term.
  2. 2
    Find the roots by factoring. Here, x(x² − 3) = 0.
  3. 3
    Plot the y-intercept.
  4. 4
    Find the turning points, using calculus if you can, or a table of values if not.
  5. 5
    Draw a smooth curve through the points, matching the end behaviour.

Transformations

How the graph moves when you change the formula. The original is x³ − 3x in blue.

−2−112−4−2240
  • y = (x^3 - 3x) + 2 Moved up by 2.
  • y = x^4 - 3x^2 Even degree: both ends now point up.
  • y = -(x^3 - 3x) Flipped: a negative leading coefficient reverses the ends.

Common mistakes

  • Expecting exactly n turning points. A degree n polynomial has at most n − 1 turns.
  • Assuming a polynomial must have as many real roots as its degree. x² + 1 has none.

Where it shows up

  • Approximating other functions, with Taylor series.
  • Fitting smooth curves to data.
  • Modelling volume and other quantities that build from lengths.

Frequently asked questions

How can you tell the degree of a polynomial from its graph?
Count the turning points and add at least one. An odd degree has ends pointing in opposite directions, and an even degree has ends pointing the same way.
What is end behaviour?
What the graph does as x goes to ±∞, set entirely by the leading term.
What does a double root look like?
The graph touches the x-axis and turns back, without crossing it.
Are polynomial graphs always smooth?
Yes. They are continuous and differentiable everywhere, with no corners.

Related graphs

Graph x³ − 3x your way

Change the window, add sliders for a, b, h and k, trace the curve with your keyboard, or overlay its derivative.

Open in the calculator