<< 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.

For our purposes, a vector is a collection of real numbers in a one- dimensional array.We usually think of the array as being arranged in a column and write complete course in linear algebra and introduce only the functional techniques necessary to solve the problems at hand.

x = x 1 x 2 x 3 | x n .

Notice that we indicate a vector with boldface and the constituent elements with subscripts. A real number by itself is called a scalar , in distinction from a vector or a matrix. We say that x is an n-vector, meaning that x has n elements. To indicate that x 1 is a real number, we write

x 1 R ,

meaning that x 1 is contained in R , the set of real numbers. To indicate that x is a vector of n real numbers, we write

x R n ,

meaning that x is contained in R n , the set of real n-tuples. Geometrically, R n is n-dimensional space, and the notation x R n means that x is a point in that space, specified by the n coordinates x 1 , x 2 , ... , x n . [link] shows a vector in R 3 , drawn as an arrow from the origin to the point x . Our geometric intuition begins to fail above three dimensions, but the linearalgebra is completely general.

Figure one shows a vector in R^3, a three-dimensional graph. The axis pointing 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. An arrow points out into the positive direction of all three axes, up, towards the screen, and to the right. Its endpoint is labeled x, and dashed line segments are drawn back from this point to respective points on the axes and on the x_1 x_2 plane, showing its location. Figure one shows a vector in R^3, a three-dimensional graph. The axis pointing 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. An arrow points out into the positive direction of all three axes, up, towards the screen, and to the right. Its endpoint is labeled x, and dashed line segments are drawn back from this point to respective points on the axes and on the x_1 x_2 plane, showing its location.
A Vector in R 3

We sometimes find it useful to sketch vectors with more than three dimensions in the same way as the three-dimensional vector of [link] . We then consider each axis to represent more than one dimension, a hyperplane, inour n-dimensional space. We cannot show all the details of what is happening in n-space on a three-dimensional figure, but we can often show importantfeatures and gain geometrical insight.

Vector Addition. Vectors with the same number of elements can be added and subtracted in a very natural way:

x + y = x 1 + y 1 x 2 + y 2 x 3 + y 3 | x n + y n ; x - y = x 1 - y 1 x 2 - y 2 x 3 - y 3 | x n - y n .

The difference between the vector x = 1 1 1 and the vector y = 0 0 1 is the vector z = x - y = 1 1 0 . These vectors are illustrated in [link] . You can see that this result is consistent with the definition of vector subtraction in [link] . You can also picture the subtraction in [link] by mentally reversing the direction of vector y to get - y and then adding it to x by sliding it to the position where its tail coincides with the head of vector x . (The head is the end with the arrow.) When you slide a vector to a new position for adding to another vector, you must not changeits length or direction.

Figure two is a three-dimensional graph containing three 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. One vector y points up along the x_3-axis and is labeled with a 3 by 1 matrix, 0 0 1. A vector z points in the positive x_2 and x_1 direction on the x_2 x_1 plane, and is labeled with a 3 by 1 matrix, 1, 1, 0. A final vector x points in the positive x_1, x_2, and x_3 direction, and is labeled with a 3 by 1 matrix, 1 1 1. Figure two is a three-dimensional graph containing three 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. One vector y points up along the x_3-axis and is labeled with a 3 by 1 matrix, 0 0 1. A vector z points in the positive x_2 and x_1 direction on the x_2 x_1 plane, and is labeled with a 3 by 1 matrix, 1, 1, 0. A final vector x points in the positive x_1, x_2, and x_3 direction, and is labeled with a 3 by 1 matrix, 1 1 1.
Subtraction of Vectors

Scalar Product. Several different kinds of vector multiplication are defined.We begin with the scalar product . Scalar multiplication is defined for scalar a and vector x as The division of two vectors is undefined, although three different “divisions” are defined in MATLAB.

a x = a x 1 a x 2 a x 3 | a x n .

If | a | < 1 , then the vector a x is "shorter" than the vector x ; if | a | > 1 , then the vector a x is ‚"longer" than x . This is illustrated for a 2-vector in [link] .

Figure three is a two-dimensional cartesian graph with horizontal axis labeled x_1 and vertical axis labeled x_2. A line from the third quadrant moves through the origin into the first quadrant with a shallow positive slope. The lower end in the third quadrant has an arrow pointing away from the origin, and is labeled -2x. An arrow in the first quadrant points away from the origin and is labeled 1/2 x. Figure three is a two-dimensional cartesian graph with horizontal axis labeled x_1 and vertical axis labeled x_2. A line from the third quadrant moves through the origin into the first quadrant with a shallow positive slope. The lower end in the third quadrant has an arrow pointing away from the origin, and is labeled -2x. An arrow in the first quadrant points away from the origin and is labeled 1/2 x.
The Scalar Product a x

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