Line slope calculator x+4y=21


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -0.25

Slope-intercept form of line: y = -0.25x+5.25

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

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

Slope angle of line: φ = -14°2'10″ = -0.245 rad

X intercept: x0 = 21

Y intercept: y0 = q = 5.25

Distance line from the origin: d0 = 5.0932

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

Vector: AB = (4; -1)

Normal vector: n = (1; 4)

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

Perpendicular Bisector equation: 4x-y-7.5 = 0


Vector OA = (1; 5) ;   |OA| = 5.099
Vector OB = (5; 4) ;   |OB| = 6.4031
Scalar product OA .OB = 25
Angle ∠ AOB = 40°1'49″ = 0.6987 rad