Line slope calculator x+y=18


Enter the coordinates of two different points:
Line slope diagram

Straight line given by points A[8; 10] and B[10; 8]

Calculation:

Slope: m = -1

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

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

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

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

X intercept: x0 = 18

Y intercept: y0 = q = 18

Distance line from the origin: d0 = 12.7279

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

Vector: AB = (2; -2)

Normal vector: n = (1; 1)

Midpoint of the segment AB: M = [9; 9]

Perpendicular Bisector equation: 2x-2y = 0


Vector OA = (8; 10) ;   |OA| = 12.8062
Vector OB = (10; 8) ;   |OB| = 12.8062
Scalar product OA .OB = 160
Angle ∠ AOB = 12°40'49″ = 0.2213 rad