Line slope calculator x-2y=4


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = 0.5

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

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

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

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

X intercept: x0 = 4

Y intercept: y0 = q = -2

Distance line from the origin: d0 = 1.7889

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

Vector: AB = (2; 1)

Normal vector: n = (1; -2)

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

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


Vector OA = (4; 0) ;   |OA| = 4
Vector OB = (6; 1) ;   |OB| = 6.0828
Scalar product OA .OB = 24
Angle ∠ AOB = 9°27'44″ = 0.1651 rad