Line slope calculator x+3y=22


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -0.3333

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

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

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

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

X intercept: x0 = 22

Y intercept: y0 = q = 7.3333

Distance line from the origin: d0 = 6.957

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

Vector: AB = (3; -1)

Normal vector: n = (1; 3)

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

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


Vector OA = (4; 6) ;   |OA| = 7.2111
Vector OB = (7; 5) ;   |OB| = 8.6023
Scalar product OA .OB = 58
Angle ∠ AOB = 20°46'20″ = 0.3625 rad