Line slope calculator 3x+y=4


Enter coordinates of two different points:

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

Calculation:

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

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

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

Slope: m = -3

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

X intercept: x0 = 1.3333

Y intercept: y0 = q = 4

Distance line from the origin: d0 = 1.2649

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

Vector: AB = (1; -3)

Normal vector: n = (3; 1)

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

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


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