Line slope calculator x+y=6


Enter the coordinates of two different points:
Line slope diagram

Straight line given by points A[0; 6] and B[1; 5]

Calculation:

Slope: m = -1

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

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

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

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

X intercept: x0 = 6

Y intercept: y0 = q = 6

Distance line from the origin: d0 = 4.2426

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

Vector: AB = (1; -1)

Normal vector: n = (1; 1)

Midpoint of the segment AB: M = [0.5; 5.5]

Perpendicular Bisector equation: x-y+5 = 0


Vector OA = (0; 6) ;   |OA| = 6
Vector OB = (1; 5) ;   |OB| = 5.099
Scalar product OA .OB = 30
Angle ∠ AOB = 11°18'36″ = 0.1974 rad