Line slope calculator x+2y=12


Enter coordinates of two different points:

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

Calculation:

Slope-intercept form of line: y = -0.5x+6

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

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

Slope: m = -0.5

Slope angle of line: φ = -26°33'54″ = -0.4636 rad

X intercept: x0 = 12

Y intercept: y0 = q = 6

Distance line from the origin: d0 = 5.3666

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

Vector: AB = (2; -1)

Normal vector: n = (1; 2)

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

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


Vector OA = (0; 6) ;   |OA| = 6
Vector OB = (2; 5) ;   |OB| = 5.3852
Scalar product OA .OB = 30
Angle ∠ AOB = 21°48'5″ = 0.3805 rad