Graph of y = (x − 2)² (Parabola shifted right)

· How we calculate · Free, no sign-up

Quick answer

The graph of y = (x − 2)² is an upward-opening parabola with vertex (2, 0). Domain: All real numbers (−∞, ∞); range: y ≥ 0, i.e. [0, ∞). x-intercept: x = 2 (double root); y-intercept: y = 4. It is neither even nor odd.

Functiony = (x − 2)²
DomainAll real numbers (−∞, ∞)
Rangey ≥ 0, i.e. [0, ∞)
x-intercept(s)x = 2 (double root)
y-intercepty = 4
Derivative2(x − 2) = 2x − 4
Graph of y = (x − 2)² for −2 ≤ x ≤ 6−2−10123456−20246810
Graph of y = (x − 2)² for −2 ≤ x ≤ 6, −2 ≤ y ≤ 10. Dots mark intercepts.
Zoom, pan and trace y = (x − 2)² next to y = x² in the interactive grapher.Open the Graphing Calculator →

What the graph of y = (x − 2)² looks like

Replacing x with (x − 2) moves the parabola 2 units to the right — the opposite of what the minus sign suggests, because the output that y = x² gives at 0 is now given at x = 2. The vertex is therefore (2, 0) and the curve just touches the x-axis there.

Expanded, (x − 2)² = x² − 4x + 4, so the y-intercept is 4. The graph is no longer symmetric about the y-axis (it is neither even nor odd), but it is symmetric about its own axis x = 2: the points (0, 4) and (4, 4) match.

Key features of y = (x − 2)²

Key features of y = (x − 2)²
PropertyValue
Functiony = (x − 2)² (Parabola shifted right)
FamilyQuadratic
DomainAll real numbers (−∞, ∞)
Rangey ≥ 0, i.e. [0, ∞)
x-intercept(s)x = 2 (double root)
y-intercepty = 4
SymmetryNeither even nor odd (symmetric about the vertical line x = 2)
AsymptotesNone
PeriodNot periodic
Increasing on[2, ∞)
Decreasing on(−∞, 2]
Key pointsVertex (minimum) at (2, 0); expands to x² − 4x + 4
Derivative f′(x)2(x − 2) = 2x − 4
Antiderivative ∫ f(x) dx(x − 2)³/3 + C

Symmetry: Neither even nor odd (symmetric about the vertical line x = 2). For example f(2) = 0 but f(−2) = 16, which is neither the same value nor its negative. Intercepts: the graph meets the x-axis at x = 2 (double root) and the y-axis at y = 4.

Table of values for y = (x − 2)²

Values of y = (x − 2)²
xy = (x − 2)²Slope f′(x)
−325−10
−216−8
−19−6
04−4
11−2
200
312

How to sketch y = (x − 2)² by hand

Plot the points from the table — (−3, 25), (−2, 16), (−1, 9), (0, 4), (1, 1), (2, 0) — on axes running from about −2 to 6 horizontally. There are no asymptotes to draw. Then join the points with a smooth curve. As a check on the shape — increasing: [2, ∞); decreasing: (−∞, 2].

Derivative, tangent line and area

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

The signed area under the curve from x = 0 to x = 2 is 2.6667, found using the antiderivative (x − 2)³/3 + 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 − 2)²?

Domain: All real numbers (−∞, ∞). Range: y ≥ 0, i.e. [0, ∞).

What are the intercepts of y = (x − 2)²?

x-intercept(s): x = 2 (double root). y-intercept: y = 4.

What is the derivative of y = (x − 2)²?

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

Is y = (x − 2)² even, odd or neither?

Neither even nor odd (symmetric about the vertical line x = 2). For example f(2) = 0 but f(−2) = 16, which is neither the same value nor its negative.

Does y = (x − 2)² have asymptotes?

None.