Line slope calculator 2x+y=3


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -2

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

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

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

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

X intercept: x0 = 1.5

Y intercept: y0 = q = 3

Distance line from the origin: d0 = 1.3416

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; 2]

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


Vector OA = (0; 3) ;   |OA| = 3
Vector OB = (1; 1) ;   |OB| = 1.4142
Scalar product OA .OB = 3
Angle ∠ AOB = 45° = 0.7854 rad