### Chapter 2, “Geometry Snippets”

#### Pythagorean Theorem

In a right triangle, the square of the length c of the hypotenuse is equal to the sum of the squares of the lengths a and b of the other two sides: c^{2} = a^{2} + b^{2}.

#### Distance Formula in 2D

where P_{1}(x_{1},y_{1}) and P_{2}(x_{2},y_{2}) are points on the line.

#### Distance Formula in 3D

where P_{1}(x_{1},y_{1},z_{1}) and P_{2}(x_{2},y_{2},z_{2}) are points on the line.

#### Midpoint Formula in 2D

is the midpoint between P_{1}(x_{1},y_{1}) and P_{2}(x_{2},y_{2}).

#### Midpoint ...