Line slope calculator 3x-y=2


Enter coordinates of two different points:

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

Calculation:

Slope-intercept form of line: y = 3x-2

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

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

Slope: m = 3

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

X intercept: x0 = 0.6667

Y intercept: y0 = q = -2

Distance line from the origin: d0 = 0.6325

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

Vector: AB = (1; 3)

Normal vector: n = (3; -1)

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

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


Vector OA = (1; 1) ;   |OA| = 1.4142
Vector OB = (2; 4) ;   |OB| = 4.4721
Scalar product OA .OB = 6
Angle ∠ AOB = 18°26'6″ = 0.3218 rad