Line slope calculator x+y=9


Enter the coordinates of two different points:
Line slope diagram

Straight line given by points A[1; 8] and B[3; 6]

Calculation:

Slope: m = -1

Slope-intercept form of line: y = -x+9

Canonical form of the line equation: x+y-9 = 0

Parametric form of the line equation:
x = t+1
y = -t+8      ; t ∈ R

Slope angle of line: φ = -45° = -0.7854 rad

X intercept: x0 = 9

Y intercept: y0 = q = 9

Distance line from the origin: d0 = 6.364

The length of the segment AB: |AB| = 2.8284

Vector: AB = (2; -2)

Normal vector: n = (1; 1)

Midpoint of the segment AB: M = [2; 7]

Perpendicular Bisector equation: 2x-2y+10 = 0


Vector OA = (1; 8) ;   |OA| = 8.0623
Vector OB = (3; 6) ;   |OB| = 6.7082
Scalar product OA .OB = 51
Angle ∠ AOB = 19°26'24″ = 0.3393 rad