Line slope calculator 2x+y=18


Enter the coordinates of two different points:
Line slope diagram

Straight line given by points A[4; 10] and B[5; 8]

Calculation:

Slope: m = -2

Slope-intercept form of line: y = -2x+18

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

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

Slope angle of line: φ = -63°26'6″ = -1.1071 rad

X intercept: x0 = 9

Y intercept: y0 = q = 18

Distance line from the origin: d0 = 8.0498

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

Vector: AB = (1; -2)

Normal vector: n = (2; 1)

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

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


Vector OA = (4; 10) ;   |OA| = 10.7703
Vector OB = (5; 8) ;   |OB| = 9.434
Scalar product OA .OB = 100
Angle ∠ AOB = 10°12'14″ = 0.1781 rad