Line slope calculator x+y=7


Enter the coordinates of two different points:
Line slope diagram

Straight line given by points A[1; 6] and B[2; 5]

Calculation:

Slope: m = -1

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

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

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

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

X intercept: x0 = 7

Y intercept: y0 = q = 7

Distance line from the origin: d0 = 4.9497

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

Vector: AB = (1; -1)

Normal vector: n = (1; 1)

Midpoint of the segment AB: M = [1.5; 5.5]

Perpendicular Bisector equation: x-y+4 = 0


Vector OA = (1; 6) ;   |OA| = 6.0828
Vector OB = (2; 5) ;   |OB| = 5.3852
Scalar product OA .OB = 32
Angle ∠ AOB = 12°20'21″ = 0.2154 rad