Line slope calculator x+y=10


Enter the coordinates of two different points:
Line slope diagram

Straight line given by points A[0; 10] and B[2; 8]

Calculation:

Slope: m = -1

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

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

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

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

X intercept: x0 = 10

Y intercept: y0 = q = 10

Distance line from the origin: d0 = 7.0711

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

Vector: AB = (2; -2)

Normal vector: n = (1; 1)

Midpoint of the segment AB: M = [1; 9]

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


Vector OA = (0; 10) ;   |OA| = 10
Vector OB = (2; 8) ;   |OB| = 8.2462
Scalar product OA .OB = 80
Angle ∠ AOB = 14°2'10″ = 0.245 rad