Line slope calculator 2x+y=21


Enter the coordinates of two different points:
Line slope diagram

Straight line given by points A[8; 5] and B[9; 3]

Calculation:

Slope: m = -2

Slope-intercept form of line: y = -2x+21

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

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

Slope angle of line: φ = -63°26'6″ = -1.1071 rad

X intercept: x0 = 10.5

Y intercept: y0 = q = 21

Distance line from the origin: d0 = 9.3915

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

Vector: AB = (1; -2)

Normal vector: n = (2; 1)

Midpoint of the segment AB: M = [8.5; 4]

Perpendicular Bisector equation: x-2y-0.5 = 0


Vector OA = (8; 5) ;   |OA| = 9.434
Vector OB = (9; 3) ;   |OB| = 9.4868
Scalar product OA .OB = 87
Angle ∠ AOB = 13°34'14″ = 0.2368 rad