Definition
- A vector is an ordered array of numbers that can represent a point in space, direction, or any other mathematical or physical quantity.
- Vectors are typically denoted by bold lowercase letters such as
v
,u
,w
. - The number of elements in a vector determines its dimension. A vector in three-dimensional space might be represented as
v
= (v1, v2, v3).
Example:
Vector Norm
- The norm of a vector is a measure of its length or magnitude.
- The norm of vector
v
is denoted as||v||
, and for a vector in two or three dimensions, it is calculated as the square root of the sum of the squares of its components.
Example:
Consider a 2-dimensional vector . The norm of is:
Unit Vector
- A unit vector is a vector of length 1, used to specify a direction.
- It is often obtained by dividing a vector by its norm, resulting in a vector that retains the same direction but with a magnitude of 1.
Example:
Given , the unit vector is:
Zero Vector
- The zero vector is a vector whose elements are all zero.
- It is denoted as
0
, and its magnitude (norm) is also zero. - The zero vector does not have a defined direction.