## Section 3.2 Unit Vectors

A *unit vector* is a vector of magnitude \(1\text{.}\) Usually we denote a unit vector with a carat symbol \(\wedge \) over the letter representing the vector rather than an arrow \(\rightarrow\) symbol. For instance, a unit vector \(\hat u_{E} \) might denote a unit vector in the direction of East.

Say, you have a position vector \(\vec r \) with magnitude, \(r=10 \) cm, pointed in the direction North. To get unit vector in the direction North, which we can denote by \(\hat u_N\) we will just divide \(\vec r \) by the magnitude \(r=10 \) cm.

Since multiplying a vector by a number just scales the vector, multiplying a unit vector by a number will give a vector that is as many times bigger or smaller. For example, \(2 \hat u_N \) will be a vector that has length \(2 \) and the direction same as the direction of \(\hat u_N\text{.}\) The \(\frac{1}{2} \hat u_N \) will be a vector that has length \(\frac{1}{2} \) and the direction same as the direction of \(\hat u_N\text{.}\) A \(-\hat u_N \) will be a vector that has length \(1 \) but the direction opposite to the direction of \(\hat u_N\text{.}\)

Thus, you can write any vector along North or South direction as a product of its magnitude and the \(\hat u_N \) vector. Say, you want a velocity vector \(\vec v\) of magnitude \(20 \) m/s pointed North.

and if you want a velocity vector of magnitude \(20 \) m/s pointed South, you would do the following

where the negative sign will just flip the direction of the unit vector.

There is nothing special about the direction North, and our discussion above using the example of \(\hat u_N \) can be generalized to a unit vector in any arbitrary direction, such as East/West vectors, or any other vectors.

Say, you have a unit vector \(\hat u \) in some direction, e.g., \(40^{\circ}\) North of East. Then, *any vector* in the \(40^{\circ}\) North of East direction or in exactly opposite direction can be written in as a number (with appropriate units and sign) times \(\hat u \text{.}\)

For instance, if we have a displacement vector \(\vec r\) of \(20 \text{ m}\) in the direction of the \(\hat u \) vector, then \(\vec r = 20\text{ m } \hat u\text{.}\) If you have a force vector \(\vec F\) of \(50 \text{ N}\) in the opposite direction, then \(\vec F = -50\text{ N } \hat u\text{.}\)

*You can see that a unit vector provides a universal way of writing vectors which incorporate the direction information analytically.*

### Subsection 3.2.1 Unit Vectors Along Cartesian Positive Axis Directions

Unit vectors along Cartesian axes play important role in vector analysis. We will often denote these unit vectors by \(\hat u_x \text{,}\) \(\hat u_y \text{,}\) and \(\hat u_z \) respectively. At other times, we will denote them by their traditional symbols \(\hat i \text{,}\) \(\hat j \text{,}\) and \(\hat k \) respectively.

For instance, say, we want a position vector \(\vec r = ( x=2 \text{ m}, y=-5 \text{ m}) \) in the \(xy\)-plane. Then, you can see that this vector will be a sum of two vectors: \(\vec r_1 = 2 \text{ m} \hat i \) and \(\vec r_2 = -5 \text{ m} \hat j \text{.}\) We write this as

In general, an arbitrary vector \(\vec A \) with coordinate components \(A_x, A_y, A_z\) is often written as a sum of vectors along the Cartesian axes.

### Subsection 3.2.2 Direction Cosines

Cosines of the angles a vector makes with unit vectors towards positive Cartesian axes are called its direction cosines of the vector. In Figure 3.2.6, the direction cosines of vector \(\vec A\) are \(\cos\theta_x\text{,}\) \(\cos\theta_y\text{,}\) and \(\cos\theta_z\text{.}\) These angles, \(\theta_x\text{,}\) \(\theta_y\text{,}\) and \(\theta_z\text{,}\) are frequently referred to as \(\alpha\text{,}\) \(\beta\text{,}\) and \(\gamma\text{,}\) respectively.

After we discuss dot product of vector I will show that direction cosines are not all independent. Rather, they are related by the following identity.

###### Checkpoint 3.2.7. Unit Vector in an an Arbitrary Direction.

Suppose you are told that the velocity of a projectile is \(25\text{ m/s}\) in the direction of \(30^{\circ}\) above the direction of East. Let positive \(x \) axis be towards the East and the positive \(y \) axis be pointed up.

(a) Find \(x\) and \(y\) components of a unit vector in the stated direction.

(b) Write the given velocity vector in terms of the unit vector you found.

Take a vector of magnitude 1 in the direction of the velocity and find its Cartesian components.

(a) \(\hat u = \dfrac{\sqrt{3}}{2}\, \hat i + \dfrac{1}{2}\, \hat j\text{,}\) \(25\text{ m/s}\, \hat u\text{.}\)

(a) We want a vector \(\hat u \) of unit magnitude in the direction described. We need to just find its \(x\) and \(y \) components.

Therefore,

(b) When we multiple a unit vector by a positive number we get a vector of the new length and the same direction, so, all we have to do to get the velocity in that direcion is just multiply the unit vector by the magnitude of the velocity.

Of course, this is same as

###### Checkpoint 3.2.9. Unit Vector in the Direction of a Vector.

Suppose you want a unit vector in the same direction as the velocity vector given to you as \(\vec v = (3.0 \text{ m/s})\hat i + (4.0 \text{ m/s})\hat j\text{.}\) Find this unit vector.

###### Checkpoint 3.2.10. Unit Vector in Three Dimensions.

Suppose you want a unit vector in the direction of a star that is \(30^\cric\) above horizon above \(40^\circ\) North of East direction. Find a unit vector in the direction in terms of unit vectors along East, North, and Up.

Project unit magnitude on the East-North Plane and Up directions first.

\(\hat u = 0.66 \hat i + 0.56 \hat j + 0.5 \hat k.\)

Let us use \(\hat i\) towards East, \(\hat j\) towards North, and \(\hat k\) towards Up. First we project a unit vector in the plane containing Up and “\(40^\circ\) N of E” directions. We will call them as \(u_z\) and \(u_r\text{,}\) respectively. We get

Now, we project \(u_r\) on \(x\) and \(y\) directions to get

Therefore, our unit vector has the following representation.

We should verify that it has magnitude of 1 by

which is indeed 1 within the tolerance of the rounding. My answer is a little different than exact 1 since I had rounded off earlier.