Line slope calculator 3x+y=12


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -3

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

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

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

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

X intercept: x0 = 4

Y intercept: y0 = q = 12

Distance line from the origin: d0 = 3.7947

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

Vector: AB = (1; -3)

Normal vector: n = (3; 1)

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

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


Vector OA = (2; 6) ;   |OA| = 6.3246
Vector OB = (3; 3) ;   |OB| = 4.2426
Scalar product OA .OB = 24
Angle ∠ AOB = 26°33'54″ = 0.4636 rad