Line slope calculator x-2y=5


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = 0.5

Slope-intercept form of line: y = 0.5x-2.5

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

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

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

X intercept: x0 = 5

Y intercept: y0 = q = -2.5

Distance line from the origin: d0 = 2.2361

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

Vector: AB = (2; 1)

Normal vector: n = (1; -2)

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

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


Vector OA = (5; 0) ;   |OA| = 5
Vector OB = (7; 1) ;   |OB| = 7.0711
Scalar product OA .OB = 35
Angle ∠ AOB = 8°7'48″ = 0.1419 rad