Line slope calculator x-y=4


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = 1

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

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

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

Slope angle of line: φ = 45° = 0.7854 rad

X intercept: x0 = 4

Y intercept: y0 = q = -4

Distance line from the origin: d0 = 2.8284

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

Vector: AB = (1; 1)

Normal vector: n = (1; -1)

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

Perpendicular Bisector equation: x+y-5 = 0


Vector OA = (4; 0) ;   |OA| = 4
Vector OB = (5; 1) ;   |OB| = 5.099
Scalar product OA .OB = 20
Angle ∠ AOB = 11°18'36″ = 0.1974 rad