Line slope calculator 2x+y=5
Straight line given by points A[1; 3] and B[2; 1]
Calculation:
Slope: m = -2Slope-intercept form of line: y = -2x+5
Canonical form of the line equation: 2x+y-5 = 0
Parametric form of the line equation:
x = t+1
y = -2t+3 ; t ∈ R
Slope angle of line: φ = -63°26'6″ = -1.1071 rad
X intercept: x0 = 2.5
Y intercept: y0 = q = 5
Distance line from the origin: d0 = 2.2361
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; 2]
Perpendicular Bisector equation: x-2y+2.5 = 0
Vector OA = (1; 3) ; |OA| = 3.1623
Vector OB = (2; 1) ; |OB| = 2.2361
Scalar product OA .OB = 5
Angle ∠ AOB = 45° = 0.7854 rad