WordGPT

Graph of y = x

The graph of y = x is a straight line with slope 1 and y-intercept 0. It crosses the y-axis at (0, 0) and the x-axis at (0, 0).

Graph of y = x-6-4-2246-10-8-6-4-2246810xy(0, 0)(0, 0)y = x
Graph of y = x. Drag to move, scroll or pinch to zoom, double-click to reset.
f(x) =
ddx[x]=1\frac{d}{dx}\left[x\right] = 1

Type any function of x; the derivative is computed symbolically in your browser.

How to work it out

  1. 1

    Read the slope and the y-intercept. A line is y = mx + b, where m is the slope and b is where it crosses the y-axis. Here m = 1 and b = 0.

    y=xy = x
  2. 2

    Plot the y-intercept: the point (0, 0) is on the line because x = 0 gives y = 0.

    y=1ā‹…0=0y = 1\cdot 0 = 0
  3. 3

    Use the slope 1 = 1/1 as rise over run: from any point, go 1 to the right and up 1. From (0, 0) that gives the point (1, 1).

    (0,ā€…ā€Š0)→(1,ā€…ā€Š1)(0,\;0) \to (1,\;1)
  4. 4

    Find where it crosses the x-axis by setting y = 0 and solving for x.

    0=xā€…ā€Šā‡’ā€…ā€Šx=00 = x \;\Rightarrow\; x = 0
  5. 5

    Draw the straight line through these points and extend it both ways. It rises from left to right (it is increasing).

LaTeX source of the formulas on this page
\[ y = x \]
\[ y = 1\cdot 0  = 0 \]
\[ (0,\;0) \to (1,\;1) \]
\[ 0 = x \;\Rightarrow\; x = 0 \]

Table of values

xy
-3-3
-2-2
-1-1
00
11
22
33

Questions

What is the slope of y = x?

The slope is 1. For every 1 step to the right the line goes up 1.

What is the y-intercept of y = x?

The y-intercept is 0: the line crosses the y-axis at (0, 0).

What is the x-intercept of y = x?

Set y = 0: x = 0, so x = 0 (about 0). The line crosses the x-axis at (0, 0).

Is y = x increasing or decreasing?

Increasing, because the slope 1 is positive. The line makes an angle of about 45° with the x-axis.

What is the slope of a line perpendicular to y = x?

-1, the negative reciprocal of 1. A line parallel to it has the same slope 1.

Nearby lines

    Graph of y = x: slope, intercepts and table of values | WordGPT