3D Vectors

In what follows are various notes and equations dealing with 3D vectors.

Magnitude

\(\lvert a \rvert = \sqrt{a_x^2 + a_y^2 + a_z^2}\)

Distance Between Two Points

\(\lvert b - a \rvert = \sqrt{(b_x - a_x)^2 + (b_y - a_y)^2 + (b_z - a_z)^2}\)

Dot Product

\(a \cdot b = a_xb_x + a_yb_y + a_zb_z\)

Notes:

Cross Product

Notes:

Parallel

Perpendicular

Angle Between Two Vectors