Line slope calculator 2x+y=2


Enter coordinates of two different points:

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

Calculation:

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

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

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

Slope: m = -2

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

X intercept: x0 = 1

Y intercept: y0 = q = 2

Distance line from the origin: d0 = 0.8944

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

Vector: AB = (1; -2)

Normal vector: n = (2; 1)

Midpoint of the segment AB: M = [0.5; 1]

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


Vector OA = (0; 2) ;   |OA| = 2
Vector OB = (1; 0) ;   |OB| = 1
Scalar product OA .OB = 0
Angle ∠ AOB = 90° = 1.5708 rad