Line slope calculator x+2y=7


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = -0.5

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

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

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

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

X intercept: x0 = 7

Y intercept: y0 = q = 3.5

Distance line from the origin: d0 = 3.1305

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

Vector: AB = (2; -1)

Normal vector: n = (1; 2)

Midpoint of the segment AB: M = [2; 2.5]

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


Vector OA = (1; 3) ;   |OA| = 3.1623
Vector OB = (3; 2) ;   |OB| = 3.6056
Scalar product OA .OB = 9
Angle ∠ AOB = 37°52'30″ = 0.661 rad