WordGPT

Graph of y = āˆ’2x āˆ’ 2

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

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

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 = -2 and b = -2.

    y=āˆ’2xāˆ’2y = -2x - 2
  2. 2

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

    y=āˆ’2ā‹…0āˆ’2=āˆ’2y = -2\cdot 0 - 2 = -2
  3. 3

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

    (0,ā€…ā€Šāˆ’2)→(1,ā€…ā€Šāˆ’4)(0,\;-2) \to (1,\;-4)
  4. 4

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

    0=āˆ’2xāˆ’2ā€…ā€Šā‡’ā€…ā€Šx=āˆ’10 = -2x - 2 \;\Rightarrow\; x = -1
  5. 5

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

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

Table of values

xy
-34
-22
-10
0-2
1-4
2-6
3-8

Questions

What is the slope of y = āˆ’2x āˆ’ 2?

The slope is -2. For every 1 step to the right the line goes down 2.

What is the y-intercept of y = āˆ’2x āˆ’ 2?

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

What is the x-intercept of y = āˆ’2x āˆ’ 2?

Set y = 0: āˆ’2x āˆ’ 2 = 0, so x = -1 (about -1). The line crosses the x-axis at (-1, 0).

Is y = āˆ’2x āˆ’ 2 increasing or decreasing?

Decreasing, because the slope -2 is negative. The line makes an angle of about -63.4° with the x-axis.

What is the slope of a line perpendicular to y = āˆ’2x āˆ’ 2?

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

Nearby lines

    Graph of y = āˆ’2x āˆ’ 2: slope, intercepts and table of values | WordGPT