Line slope calculator x-2y=1


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = 0.5

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

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

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

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

X intercept: x0 = 1

Y intercept: y0 = q = -0.5

Distance line from the origin: d0 = 0.4472

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; 0.5]

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


Vector OA = (1; 0) ;   |OA| = 1
Vector OB = (3; 1) ;   |OB| = 3.1623
Scalar product OA .OB = 3
Angle ∠ AOB = 18°26'6″ = 0.3218 rad