Line slope calculator 2x-y=1


Enter the coordinates of two different points:
Line slope diagram

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

Calculation:

Slope: m = 2

Slope-intercept form of line: y = 2x-1

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

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

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

X intercept: x0 = 0.5

Y intercept: y0 = q = -1

Distance line from the origin: d0 = 0.4472

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

Vector: AB = (1; 2)

Normal vector: n = (2; -1)

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

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


Vector OA = (1; 1) ;   |OA| = 1.4142
Vector OB = (2; 3) ;   |OB| = 3.6056
Scalar product OA .OB = 5
Angle ∠ AOB = 11°18'36″ = 0.1974 rad