Line slope calculator x+y=2
Straight line given by points A[0; 2] and B[1; 1]
Calculation:
Slope: m = -1Slope-intercept form of line: y = -x+2
Canonical form of the line equation: x+y-2 = 0
Parametric form of the line equation:
x = t
y = -t+2 ; t ∈ R
Slope angle of line: φ = -45° = -0.7854 rad
X intercept: x0 = 2
Y intercept: y0 = q = 2
Distance line from the origin: d0 = 1.4142
The length of the segment AB: |AB| = 1.4142
Vector: AB = (1; -1)
Normal vector: n = (1; 1)
Midpoint of the segment AB: M = [0.5; 1.5]
Perpendicular Bisector equation: x-y+1 = 0
Vector OA = (0; 2) ; |OA| = 2
Vector OB = (1; 1) ; |OB| = 1.4142
Scalar product OA .OB = 2
Angle ∠ AOB = 45° = 0.7854 rad