Graph of y = x
Quick answer
The graph of y = x is a linear function. Its domain is all real numbers and its range is all real numbers. It crosses the x-axis at (0, 0) and the y-axis at (0, 0).
y=x
Key features
| Domain | All real numbers |
|---|---|
| Range | All real numbers |
| x-intercepts | (0, 0) |
| y-intercept | (0, 0) |
| Turning points | None |
| Symmetry | odd (symmetric about the origin) |
| Asymptotes | None |
| End behavior | As x → −∞, y → −∞; as x → ∞, y → ∞ |
| Derivative | y′ = 1 |
| Second derivative | y″ = 0 |
The identity function maps every input to itself. Its graph is the line through the origin at 45°, and it is the line every inverse function is reflected across.
Table of values
| x | −3 | −2 | −1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|---|---|
| y | −3 | −2 | −1 | 0 | 1 | 2 | 3 |
How to graph y = x
- Open the graphing calculator and type
y = x. - Plot the y-intercept (0, 0).
- Plot the x-intercepts: (0, 0).
- Use the table of values to add a few more points, then connect them with a smooth curve that follows the end behavior.
About linear functions
A linear function has a constant rate of change, so its graph is a straight line. In slope-intercept form y = mx + b, m is the slope and b is the y-intercept.
Frequently asked questions
What is the domain and range of y = x?
Domain: All real numbers. Range: All real numbers.
What are the x-intercepts of y = x?
(0, 0).
What is the derivative of x?
1. Graph it by defining f(x) = x and typing f'(x).
Is x even, odd or neither?
It is odd (symmetric about the origin).