Line slope calculator 3x+y=21


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -3

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

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

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

Slope angle of line: φ = -71°33'54″ = -1.249 rad

X intercept: x0 = 7

Y intercept: y0 = q = 21

Distance line from the origin: d0 = 6.6408

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

Vector: AB = (1; -3)

Normal vector: n = (3; 1)

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

Perpendicular Bisector equation: x-3y+8 = 0


Vector OA = (5; 6) ;   |OA| = 7.8102
Vector OB = (6; 3) ;   |OB| = 6.7082
Scalar product OA .OB = 48
Angle ∠ AOB = 23°37'46″ = 0.4124 rad