Graph of y = x³ − x (Cubic with three roots)

· How we calculate · Free, no sign-up

Quick answer

The graph of y = x³ − x is a cubic curve with a local maximum and a local minimum that crosses the x-axis at −1, 0 and 1. Domain: All real numbers (−∞, ∞); range: All real numbers (−∞, ∞). x-intercept: x = −1, x = 0 and x = 1; y-intercept: y = 0.

Functiony = x³ − x
DomainAll real numbers (−∞, ∞)
RangeAll real numbers (−∞, ∞)
x-intercept(s)x = −1, x = 0 and x = 1
y-intercepty = 0
Derivative3x² − 1
Graph of y = x³ − x for −2.5 ≤ x ≤ 2.5−2.5−2−1.5−1−0.500.511.522.5−3−2−10123
Graph of y = x³ − x for −2.5 ≤ x ≤ 2.5, −3 ≤ y ≤ 3. Dots mark intercepts.
Zoom, pan and trace y = x³ − x next to y = x³ in the interactive grapher.Open the Graphing Calculator →

What the graph of y = x³ − x looks like

Factoring gives x³ − x = x(x − 1)(x + 1), so the curve crosses the x-axis at −1, 0 and 1. Subtracting x from x³ bends the flat middle of the cubic into a hump and a dip: setting the derivative 3x² − 1 to zero gives turning points at x = ±1/√3 ≈ ±0.577, with heights ±2√3/9 ≈ ±0.385.

Like every cubic with a positive leading coefficient it falls to −∞ on the left and rises to +∞ on the right. It is odd, so the local maximum on the left is the mirror (through the origin) of the local minimum on the right. The area between 0 and 1 is negative because the curve is below the axis there.

Key features of y = x³ − x

Key features of y = x³ − x
PropertyValue
Functiony = x³ − x (Cubic with three roots)
FamilyPolynomial
DomainAll real numbers (−∞, ∞)
RangeAll real numbers (−∞, ∞)
x-intercept(s)x = −1, x = 0 and x = 1
y-intercepty = 0
SymmetryOdd — symmetric about the origin
AsymptotesNone
PeriodNot periodic
Increasing on(−∞, −1/√3] and [1/√3, ∞)
Decreasing on[−1/√3, 1/√3] ≈ [−0.577, 0.577]
Key pointsLocal max ≈ (−0.577, 0.385), local min ≈ (0.577, −0.385), inflection at (0, 0)
Derivative f′(x)3x² − 1
Antiderivative ∫ f(x) dxx⁴/4 − x²/2 + C

Symmetry: Odd — symmetric about the origin. For example f(2) = 6 while f(−2) = −6, its negative, so the graph looks the same after a half-turn about the origin. Intercepts: the graph meets the x-axis at x = −1, x = 0 and x = 1 and the y-axis at y = 0.

Table of values for y = x³ − x

Values of y = x³ − x
xy = x³ − xSlope f′(x)
−3−2426
−2−611
−102
00−1
102
2611
32426

How to sketch y = x³ − x by hand

Plot the points from the table — (−3, −24), (−2, −6), (−1, 0), (0, 0), (1, 0), (2, 6) — on axes running from about −2.5 to 2.5 horizontally. There are no asymptotes to draw. Then join the points with a smooth curve. As a check on the shape — increasing: (−∞, −1/√3] and [1/√3, ∞); decreasing: [−1/√3, 1/√3] ≈ [−0.577, 0.577].

Derivative, tangent line and area

The derivative of y = x³ − x is 3x² − 1, which gives the slope of the curve at each point (the third column of the table). At x = 1 the curve is at height 0 and its slope is f′(1) = 2, so the tangent line there is y = 2x − 2.

The signed area under the curve from x = 0 to x = 1 is −0.25, found using the antiderivative x⁴/4 − x²/2 + C.

Related graphs and transformations

Browse all graphs of common functions by family, or open the graphing calculator.

Frequently asked questions

What is the domain and range of y = x³ − x?

Domain: All real numbers (−∞, ∞). Range: All real numbers (−∞, ∞).

What are the intercepts of y = x³ − x?

x-intercept(s): x = −1, x = 0 and x = 1. y-intercept: y = 0.

What is the derivative of y = x³ − x?

f′(x) = 3x² − 1. At x = 1 the curve is at height 0 and its slope is f′(1) = 2, so the tangent line there is y = 2x − 2.

Is y = x³ − x even, odd or neither?

Odd — symmetric about the origin. For example f(2) = 6 while f(−2) = −6, its negative, so the graph looks the same after a half-turn about the origin.

Does y = x³ − x have asymptotes?

None.