What the graph of y = −x looks like
y = −x falls one unit for every unit you move right, running from the top-left (second quadrant) to the bottom-right (fourth quadrant) through the origin. It is the reflection of y = x in the x-axis — and equally in the y-axis, since −(x) and (−x) are the same thing.
The lines y = x and y = −x are perpendicular (their slopes multiply to −1) and together form the diagonals of the coordinate grid. y = −x is also its own inverse: applying it twice returns the original number.
Key features of y = −x
| Property | Value |
|---|---|
| Function | y = −x (Negative identity) |
| Family | Linear |
| Domain | All real numbers (−∞, ∞) |
| Range | All real numbers (−∞, ∞) |
| x-intercept(s) | x = 0 |
| y-intercept | y = 0 |
| Symmetry | Odd — symmetric about the origin |
| Asymptotes | None |
| Period | Not periodic |
| Increasing on | Never |
| Decreasing on | (−∞, ∞) |
| Key points | Passes through (−1, 1), (0, 0) and (1, −1) |
| Derivative f′(x) | −1 |
| Antiderivative ∫ f(x) dx | −x²/2 + C |
Symmetry: Odd — symmetric about the origin. For example f(2) = −2 while f(−2) = 2, its negative, so the graph looks the same after a half-turn about the origin. Intercepts: the graph meets the x-axis at x = 0 and the y-axis at y = 0.
Table of values for y = −x
| x | y = −x | Slope f′(x) |
|---|---|---|
| −3 | 3 | −1 |
| −2 | 2 | −1 |
| −1 | 1 | −1 |
| 0 | 0 | −1 |
| 1 | −1 | −1 |
| 2 | −2 | −1 |
| 3 | −3 | −1 |
How to sketch y = −x by hand
Plot the points from the table — (−3, 3), (−2, 2), (−1, 1), (0, 0), (1, −1), (2, −2) — on axes running from about −5 to 5 horizontally. There are no asymptotes to draw. Then join the points with a smooth curve. As a check on the shape — increasing: Never; decreasing: (−∞, ∞).
Derivative, tangent line and area
The derivative of y = −x is −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 −1 and its slope is f′(1) = −1, so the tangent line there is y = −x.
The signed area under the curve from x = 0 to x = 1 is −0.5, found using the antiderivative −x²/2 + C.
Related graphs and transformations
- y = x — Reflection in the x-axis
- y = 2x + 1 — A rising line with slope 2
- y = −x² — The downward parabola
- y = e⁻ˣ — Replacing x by −x in eˣ
Browse all graphs of common functions by family, or open the graphing calculator.