Line slope calculator x+2y=13


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -0.5

Slope-intercept form of line: y = -0.5x+6.5

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

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

Slope angle of line: φ = -26°33'54″ = -0.4636 rad

X intercept: x0 = 13

Y intercept: y0 = q = 6.5

Distance line from the origin: d0 = 5.8138

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

Vector: AB = (2; -1)

Normal vector: n = (1; 2)

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

Perpendicular Bisector equation: 2x-y+1.5 = 0


Vector OA = (1; 6) ;   |OA| = 6.0828
Vector OB = (3; 5) ;   |OB| = 5.831
Scalar product OA .OB = 33
Angle ∠ AOB = 21°30'5″ = 0.3753 rad