Line slope calculator 2x+y=7


Enter coordinates of two different points:

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

Calculation:

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

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

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

Slope: m = -2

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

X intercept: x0 = 3.5

Y intercept: y0 = q = 7

Distance line from the origin: d0 = 3.1305

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

Vector: AB = (1; -2)

Normal vector: n = (2; 1)

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

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


Vector OA = (1; 5) ;   |OA| = 5.099
Vector OB = (2; 3) ;   |OB| = 3.6056
Scalar product OA .OB = 17
Angle ∠ AOB = 22°22'49″ = 0.3906 rad