Line slope calculator x+3y=12


Enter coordinates of two different points:

Straight line given by points A[0; 4] and B[3; 3]

Calculation:

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

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

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

Slope: m = -0.3333

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

X intercept: x0 = 12

Y intercept: y0 = q = 4

Distance line from the origin: d0 = 3.7947

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

Vector: AB = (3; -1)

Normal vector: n = (1; 3)

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

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


Vector OA = (0; 4) ;   |OA| = 4
Vector OB = (3; 3) ;   |OB| = 4.2426
Scalar product OA .OB = 12
Angle ∠ AOB = 45° = 0.7854 rad