Line slope calculator 3x-y=1


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = 3

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

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

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

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

X intercept: x0 = 0.3333

Y intercept: y0 = q = -1

Distance line from the origin: d0 = 0.3162

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; 3.5]

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


Vector OA = (1; 2) ;   |OA| = 2.2361
Vector OB = (2; 5) ;   |OB| = 5.3852
Scalar product OA .OB = 12
Angle ∠ AOB = 4°45'49″ = 0.0831 rad