Point-Slope Form Calculator

Enter a point and a slope to write the line in point-slope form.

The x-coordinate of the first point.

The y-coordinate of the first point.

The slope of the line, like 2 or -1/3.

Try

Result

You enteredm=2, point (0,0)m = 2,\ \text{point } (0, 0)

y=2x\displaystyle y = 2x

Slope

2\displaystyle 2

y-intercept

0\displaystyle 0

x-intercept

0\displaystyle 0

Slope-intercept form

y=2x\displaystyle y = 2x

Point-slope form

y=2x\displaystyle y = 2x

Standard form

2x−y=0\displaystyle 2x - y = 0

Angle with the x-axis

63.434949∘\displaystyle 63.434949^\circ
Show the work
  1. Point-slope form

    A line with slope mm through the point (x1,y1)(x_1, y_1) has this equation, because the slope between (x1,y1)(x_1, y_1) and any other point (x,y)(x, y) on the line must equal mm. Here m=2m = 2, x1=0x_1 = 0 and y1=0y_1 = 0.

    Using y−y1=m(x−x1)y - y_1 = m\left(x - x_1\right)

    y−0=2(x−0)y - 0 = 2\left(x - 0\right)
  2. Tidy the signs

    Subtracting a negative number adds it, subtracting 0 changes nothing, and a slope of 1 or -1 needs no number written.

    y=2xy = 2x
  3. Result

    So the line through (0,0)(0, 0) with slope 22 is y=2xy = 2x.

Worked examples