Line slope calculator x+3y=8


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -0.3333

Slope-intercept form of line: y = -0.3333x+2.6667

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

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

Slope angle of line: φ = -18°26'6″ = -0.3218 rad

X intercept: x0 = 8

Y intercept: y0 = q = 2.6667

Distance line from the origin: d0 = 2.5298

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

Vector: AB = (3; -1)

Normal vector: n = (1; 3)

Midpoint of the segment AB: M = [3.5; 1.5]

Perpendicular Bisector equation: 3x-y-9 = 0


Vector OA = (2; 2) ;   |OA| = 2.8284
Vector OB = (5; 1) ;   |OB| = 5.099
Scalar product OA .OB = 12
Angle ∠ AOB = 33°41'24″ = 0.588 rad