# Line slope calculator x-y=2

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

## Calculation:

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

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

**Parametric form of the line equation:**

x = t+2

y = t ; t ∈ R

**Slope:**m = 1

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

**X intercept:**x

_{0}= 2

**Y intercept:**y

_{0}= q = -2

**Distance line from the origin:**d

_{0}= 1.4142

**The length of the segment AB: |AB| =**1.4142

**Vector: AB =**(1; 1)

**Normal vector: n =**(1; -1)

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

**Perpendicular Bisector equation:**x+y-3 = 0

**Vector OA = (2; 0) ; |OA| = 2**

**Vector OB = (3; 1) ; |OB| = 3.1623**

**Scalar product OA .OB = 6**

**Angle ∠ AOB = 18°26'6″ = 0.3218 rad**