Line slope calculator 2x+y=20


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -2

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

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

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

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

X intercept: x0 = 10

Y intercept: y0 = q = 20

Distance line from the origin: d0 = 8.9443

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

Vector: AB = (1; -2)

Normal vector: n = (2; 1)

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

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


Vector OA = (5; 10) ;   |OA| = 11.1803
Vector OB = (6; 8) ;   |OB| = 10
Scalar product OA .OB = 110
Angle ∠ AOB = 10°18'17″ = 0.1799 rad