Line slope calculator 3x+y=18


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -3

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

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

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

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

X intercept: x0 = 6

Y intercept: y0 = q = 18

Distance line from the origin: d0 = 5.6921

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

Vector: AB = (1; -3)

Normal vector: n = (3; 1)

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

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


Vector OA = (4; 6) ;   |OA| = 7.2111
Vector OB = (5; 3) ;   |OB| = 5.831
Scalar product OA .OB = 38
Angle ∠ AOB = 25°20'46″ = 0.4424 rad