Line slope calculator x+y=4


Enter coordinates of two different points:

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

Calculation:

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

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

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

Slope: m = -1

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

X intercept: x0 = 4

Y intercept: y0 = q = 4

Distance line from the origin: d0 = 2.8284

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

Perpendicular Bisector equation: x-y+3 = 0


Vector OA = (0; 4) ;   |OA| = 4
Vector OB = (1; 3) ;   |OB| = 3.1623
Scalar product OA .OB = 12
Angle ∠ AOB = 18°26'6″ = 0.3218 rad