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
x=x1x2x3|xnx=x1x2x3|xn .
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
x is an n-vector, meaning that
x
x has
n
n
elements. To indicate that
x
1
x
1
is a real number, we write
meaning that
x
1
x
1
is contained in RR, the set of real numbers. To indicate that
x
x is a vector of
n
n real numbers, we write
meaning that
x
x is contained in
R
n
R
n
, the set of real n-tuples. Geometrically,
R
n
R
n
is n-dimensional space, and the notation x∈Rnx∈Rn means that
x
x is a
point in that space, specified by the
n
n coordinates x1,x2,...,xnx1,x2,...,xn. Figure 1
shows a vector in
R
3
R
3
, drawn as an arrow from the origin to the point
x
x.
Our geometric intuition begins to fail above three dimensions, but the linear
algebra is completely general.
We sometimes find it useful to sketch vectors with more than three
dimensions in the same way as the three-dimensional vector of Figure 1. We
then consider each axis to represent more than one dimension, a hyperplane, in
our 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 important
features 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=x1+y1x2+y2x3+y3|xn+yn ;
x
-
y
=x1-y1x2-y2x3-y3|xn-yn.
x+y=x1+y1x2+y2x3+y3|xn+yn ;x-y=x1-y1x2-y2x3-y3|xn-yn.
(3)
The difference between the vector x=111x=111 and the
vector y=001y=001 is the vector z=x-y=110z=x-y=110. These vectors are illustrated in Figure 2. You can see that this result is consistent with the definition of
vector subtraction in Equation 3. You can also picture the subtraction in
Figure 2 by mentally reversing the direction of vector
y
y to get -y-y and then
adding it to
x
x by sliding it to the position where its tail coincides with the
head of vector
x
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 change
its length or direction.
Compute and plot x+yx+y and x-yx-y for each of the following
cases:
- x=132,y=123x=132,y=123 ;
- x=-13-2,y=123x=-13-2,y=123 ;
- x=1-32,y=132x=1-32,y=132.
Scalar Product. Several different kinds of vector multiplication are
defined. We begin with the scalar product. Scalar multiplication is defined
for scalar aa and vector xx as
ax=ax1ax2ax3|axn.ax=ax1ax2ax3|axn.
(4)
If |a|<1|a|<1, then the vector axax is "shorter" than the vector x; if |a|>1|a|>1, then the
vector axax is ‚"longer" than x. This is illustrated for a 2-vector in Figure 3.
Compute and plot the scalar product axax when x=11/2l/4x=11/2l/4 for
each of the following scalars:
- a=1;a=1;
- a=-1;a=-1;
- a=-1/4;a=-1/4;
- a=2.a=2.
Given vectors x,y,z∈Rnx,y,z∈Rn and the scalar a∈Ra∈R, prove the
following identities:
- x+y=y+xx+y=y+x. Is vector addition commutative?
- (x+y)+z=x+(y+z)(x+y)+z=x+(y+z). Is vector addition associative?
- a(x+y)=ax+aya(x+y)=ax+ay. Is scalar multiplication distributive over vector addition?
"Reviewer's Comments: 'I recommend this book as a "required primary textbook." This text attempts to lower the barriers for students that take courses such as Principles of Electrical Engineering, […]"