<< Chapter < Page Chapter >> Page >
This module is part of the collection, A First Course in Electrical and Computer Engineering . The LaTeX source files for this collection were created using an optical character recognition technology, and because of this process there may be more errors than usual. Please contact us if you discover any errors.

Unit Vectors. Corresponding to every vector x is a unit vector u x pointing in the same direction as x . The term unit vector means that the norm of the vector is 1:

| | u x | | = 1 .

The question is, given x , how can we find u x ? The first part of the answer is that u x will have to be a positive scalar multiple of x in order to point in the same direction as x , as shown in [link] . Thus

u x = α x .
A Cartesian graph with a line originating at the origin and extending up and to the left. The line actually consist of two arrows in a line. The first arrow ends in a point. Below the point is the expression U_x. From the arrow point to the y axis is an arch. The arch ends at the y axis and to the left of the point where it end is the number 1. Another proceeds from where the previous arrow ended and proceeds along the same slope, ends in an point and up and to the left of the point is an X. A Cartesian graph with a line originating at the origin and extending up and to the left. The line actually consist of two arrows in a line. The first arrow ends in a point. Below the point is the expression U_x. From the arrow point to the y axis is an arch. The arch ends at the y axis and to the left of the point where it end is the number 1. Another proceeds from where the previous arrow ended and proceeds along the same slope, ends in an point and up and to the left of the point is an X.
The Unit Vector u x

But what is α ? We need to choose α so that the norm of u x will be 1:

| | u x | | = 1
| α x | | = 1
| α | | | x | | = 1
α = 1 | | x | |

We have dropped the absolute value bars on α because | | x | | is positive. The α that does the job is 1 over the norm of x . Now we can write formulas for u x in terms of x and x in terms of u x :

u x = 1 | | x | | x ,
x = | | x | | u x .

So the vector x is its direction vector u x , scaled by its Euclidean norm.

Unit Coordinate Vectors. There is a special set of unit vectors called the unit coordinate vectors. The unit coordinate vector e i is a unit vector in n that points in the positive direction of the i t h coordinate axis. [link] shows the three unit coordinate vectors in 3 .

Figure 2 is a three-dimensional graph describing the coordinate vectors. The axis pointing out towards the screen is labeled x_1, the axis pointing to the right is labeled x_2 and the axis pointing up is labeled x_3. There are three vectors in the diagram, and each follow an axis, are labeled with an e and the corresponding subscript of the axis on which they are drawn, and are of length 1. Figure 2 is a three-dimensional graph describing the coordinate vectors. The axis pointing out towards the screen is labeled x_1, the axis pointing to the right is labeled x_2 and the axis pointing up is labeled x_3. There are three vectors in the diagram, and each follow an axis, are labeled with an e and the corresponding subscript of the axis on which they are drawn, and are of length 1.
Unit Coordinate Vectors in R 3

For three-dimensional space, R 3 , the unit coordinate vectors are

e 1 = 1 0 0 , e 2 = 0 1 0 , e 3 = 0 0 1 .

More generally, in n-dimensional space, there are n unit coordinate vectors given by

Figure 3 is a vector e_1 with arrows pointing to a specific entry in the vector, designating the i-th element, and to the last entry in the vector, designating a total of n elements. Figure 3 is a vector e_1 with arrows pointing to a specific entry in the vector, designating the i-th element, and to the last entry in the vector, designating a total of n elements.

You should satisfy yourself that this definition results in vectors with a norm of l.

Direction Cosines. We often say that vectors “have magnitude and direction.” This is more or less obvious from "Linear Algebra: Vectors" , where the three-dimensional vector x has length x 1 2 + x 2 2 + x 3 2 and points in a direction defined by the components x 1 , x 2 , and x 3 . It is perfectly obvious from [link] where x is written as x = | | x | | u x . But perhaps there is another representation for a vector that places the notion of magnitude and direction in even clearer evidence.

[link] shows an arbitrary vector x R 3 and the three-dimensional unit coordinate vectors e 1 , e 2 , e 3 . The inner product between the vector x and the unit vector e k just reads out the k t h component of x :

( x , e k ) = ( e k , x ) = x k .

Since this is true even in R n , any vector x R n has the following representation in terms of unit vectors:

x = ( x , e 1 ) e 1 + ( x , e 2 ) e 2 + + ( x , e n ) e n .
Figure four is a three-dimensional graph with four vectors and measured angles between the vectors. Along the axis that moves towards the screen is the vector e_1, [1 0 0]. Along the axis moving up the page is the vector e_3, [0 0 1]. The angle between e_1 and e_3 is labeled θ_1. A third vector is drawn along the axis that moves to the right, and is labeled e_2 [0 1 0]. The angle between e_2 and e_3 is labeled θ_2. A fourth and final vector is drawn in the positive e_1 e_2 and e_3 directions, and is labeled x. The magnitude of x is labeled as ||x||. The angle between x and e_3 is labeled as θ_3. The angle between the projection of x onto the e_1 e_2 axis and the vector e_1 is labeled Φ. Figure four is a three-dimensional graph with four vectors and measured angles between the vectors. Along the axis that moves towards the screen is the vector e_1, [1 0 0]. Along the axis moving up the page is the vector e_3, [0 0 1]. The angle between e_1 and e_3 is labeled θ_1. A third vector is drawn along the axis that moves to the right, and is labeled e_2 [0 1 0]. The angle between e_2 and e_3 is labeled θ_2. A fourth and final vector is drawn in the positive e_1 e_2 and e_3 directions, and is labeled x. The magnitude of x is labeled as ||x||. The angle between x and e_3 is labeled as θ_3. The angle between the projection of x onto the e_1 e_2 axis and the vector e_1 is labeled Φ.
The Three-Dimensional Unit Vectors

Let us now generalize our notion of an angle θ between two vectors to R n as follows:

cos θ = ( x , y ) | | x | | | | y | |

The celebrated Cauchy-Schwarz inequality establishes that - 1 - cos θ 1 . With this definition of angle, we may define the angle θ k that a vector makes with theunit vector e k to be

cos θ k = ( x , e k ) | | x | | | | e k | |

But the norm of e k is 1, so

cos θ k = ( x , e k ) | | x | | = x k | | x | |

When this result is substituted into the representation of x in [link] , we obtain the formula

x = | | x | | c o s θ 1 e 1 + | | x | | c o s θ 2 e 2 + + | | x | | c o s θ n e n = | | x | | ( cos θ 1 e 1 + cos θ 2 e 2 + + cos θ n e n ) .

This formula really shows that the vector x has “magnitude” | | x | | and direction ( θ 1 , θ 2 , ... , θ n ) and that the magnitude and direction are sufficient to determine x . We call ( cos θ 1 , cos θ 2 , ... , cos θ n ) the direction cosines for the vector x . In the three-dimensional case, they are illustrated in [link] .

If we compare [link] and [link] we see that the direction vector u x is composed of direction cosines:

u x = cos θ 1 e 1 + cos θ 2 e 2 + + cos θ n e n = c o s θ 1 c o s θ 2 c o s θ n .

With this definition we can write [link] compactly as

Here x is written as the product of its magnitude | | x | | and its direction vector u x . Now we can give an easy procedure to find a vector's direction angles:

(i) find | | x | | ;

(ii) calculate u x = x | | x | | ; and

(iii) take the arc cosines of the elements of u x .

Step (iii) is often unnecessary; we are usually more interested in the direction vector (unit vector) u x . Direction vectors are used in materials science in order to study the orientation of crystal lattices and in electromagnetic fieldtheory to characterize the direction of propagation for radar and microwaves. You will find them of inestimable value in your courses on electromagneticfields and antenna design.

Questions & Answers

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, A first course in electrical and computer engineering. OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10685/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'A first course in electrical and computer engineering' conversation and receive update notifications?

Ask