Vector Representation
- Given is a vector
- 2D Plane:
- Cartesian:
- Polar:
- 3D Space:
- Cartesian:
- Spherical:
- 2D Plane:
2D Plane
Polar Cartesian
Cartesian Polar
3D Space
## Cartesian $\to$ Spherical
$$\begin{array}{c} \vec{\mathbf{v}} = (v_x,v_y,v_z) \\ \end{array} \implies \left\{ \begin{array}{c} \| \vec{\mathbf{v}} \|=v = \sqrt{v_x^2+v_y^2+v_z^2} \\ \theta = \arctan\left(\displaystyle \frac{v_y}{v_x}\right) \\ \phi = \arccos\left(\displaystyle \frac{v_z}{v}\right) \end{array} \right.$$
## Spherical $\to$ Cartesian
$$\begin{array}{c} \vec{\mathbf{v}} = (v,\theta,\phi) \\ \end{array} \implies \left\{ \begin{array}{c} v_x = v\sin\phi\cos\theta \\ v_y = v\sin\phi\sin\theta \\ v_z = v\cos\phi \end{array} \right.$$
Sum of Vectors
- Vector has magnitude and is on the -axis.
- Vector has magnitude and forms an angle with .
- (Law of Cosines)
Dot Product (Scalar Product)
Coordinate definition
Given two vectors and , the dot product of and is defined as:
Geometric definition
Given two vectors and , and the angle between them is , the dot product is defined as:
Matrix Product definition
If and are identified as column vectors, the dot product can also be written as a matrix product
Properties
- Symmetry
- Distributive
- Homogeneity
- Positivity
Cross Product
-
- is the angle between and
- and are the magnitudes of the vectors and
- is a unit vector perpendicular to the plane containing and , with direction s.t. is positively oriented
- (anti-commutative)
- , which is the area of the parallelogram spanned by and
Norm of a Vector
- (d12.1.3) The norm (especially the Euclidean norm) of a vector is defined as
- (q12.1.4)
- Homogeneity (q12.1.5)
- Cauchy–Schwarz inequality (12.1.4)
- (q12.1.7) are linearly inpendent
- (q12.1.8) Triangle inequality for vectors
- Parallelogram Equation for Vectors
Here, we defined the norm as the Euclidean norm (aka: 2-norm or L2-norm, denoted ) but there are other norms like the 1-norm, -norm, etc.
Here, we use the notation , but it is also common to use for the Euclidean norm
todo other terms like magnitude and length are also used
Orthogonality
- (d12.2.1) orthogonality of two vectors - and are called orthogonal if (This relationship is denoted )
- (q12.2.3) Generalized Theorem of Pythagoras:
- (d12.2.2) if for all vectors ,
Projection
-
The vector projection of onto is (sometimes denoted )
-
The scalar projection of onto is given by
-
The vector rejection of from is (sometimes denoted )
-
The angle between and is
-
The scalar projection of onto is given by
-
A surface normal (or simply normal) to a surface at point is a vector perpendicular to the tangent plane of the surface at
TIP
- Vector Space Operations:
- Scalar Multiplication: ()
- Vector Addition: ()
- Dot Product: ()
- Cross Product: ()