Line slope calculator x+3y=4


Enter coordinates of two different points:

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

Calculation:

Slope-intercept form of line: y = -0.3333x+1.3333

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

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

Slope: m = -0.3333

Slope angle of line: φ = -18°26'6″ = -0.3218 rad

X intercept: x0 = 4

Y intercept: y0 = q = 1.3333

Distance line from the origin: d0 = 1.2649

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

Vector: AB = (3; -1)

Normal vector: n = (1; 3)

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

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


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