Line slope calculator x+y=5


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -1

Slope-intercept form of line: y = -x+5

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

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

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

X intercept: x0 = 5

Y intercept: y0 = q = 5

Distance line from the origin: d0 = 3.5355

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

Vector: AB = (1; -1)

Normal vector: n = (1; 1)

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

Perpendicular Bisector equation: x-y+4 = 0


Vector OA = (0; 5) ;   |OA| = 5
Vector OB = (1; 4) ;   |OB| = 4.1231
Scalar product OA .OB = 20
Angle ∠ AOB = 14°2'10″ = 0.245 rad