Line slope calculator x+y=3


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -1

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

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

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

Slope angle of line: φ = -45° = -0.7854 rad

X intercept: x0 = 3

Y intercept: y0 = q = 3

Distance line from the origin: d0 = 2.1213

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

Perpendicular Bisector equation: x-y+2 = 0


Vector OA = (0; 3) ;   |OA| = 3
Vector OB = (1; 2) ;   |OB| = 2.2361
Scalar product OA .OB = 6
Angle ∠ AOB = 26°33'54″ = 0.4636 rad