You are on page 1of 4

1.

Vectors and Vector Operations


1.1 Types of vectors
Three types of vectors that we will be concerned with are the following.
1.
2.
3.

numeric vectors lists of numbers


geometric / physical vectors things with magnitude & direction, e.g. directed
line segments, displacements and forces
Functions, e.g y = x2.

The connection between these different types of vectors is that for each type one can add
and subtract objects of that type and multiply them by numbers. The operations of
addition, subtraction and multiplication by numbers have the same algebraic properties in
each case. Lets take a look at these three different types of vectors.

1.1.1. Numeric vectors


In this context
a vector is a list of numbers.
For example, is a vector. Often the numbers in the list are related in some fashion; we
shall see examples of this as we go along.
The vector has three components. The first component is 4, the second component is -1
and the third component is 7. A vector can have any number of components. For
example, is a vector with five components. Usually the order of the numbers in the list is
important. For example, is a different vector than .
When working with vectors, a number is sometimes called a scalar.
The components of a vector can be variables or formulas that represent numbers. For
example, we would regard and as vectors with the understanding that we get an actual
list of numbers when we give numerical values to x, y and z.
We often use a letter to denote a certain vector. For example, we might use the letter x to
denote the vector . We indicate this by writing x = . When we use a letter to denote a
vector, then a subscript on the letter indicates the particular component of the vector. For
example, x2 indicates the second component of x. For example, if then x2 = -1.
When we write the components of a vector in a column as with , it is called a column
vector. If we write the components of a vector in a row as with (4, -1, 7), it is called a

1.1 - 1

row vector. Often it doesnt matter if we write a vector as a column vector or a row
vector, but as we go along we shall see some formulas where it makes a difference. If we
are in a situation where we are distinguishing between column vectors and row vectors
and we want to indicate that we are converting a certain column vector to a row vector or
vice-versa, then we do this with the transpose operation. If x is a certain vector then
xT

=
=

transpose of x
the same list of numbers as x, but written in row form if x is a
column vector or written in column form if x is a row vector.

For example,
T
= (4, -1, 7)

and (4, -1, 7)T =

Example 1.1.1. An electronics company makes two types of circuit boards for computers, namely
ethernet cards and sound cards. Each of these boards requires a certain number of resistors,
capacitors and transistors as follows
resistors
capacitors
transistors

ethernet cards
5
2
3

sound cards
7
3
5

There are a number of different vectors that might be of interest in a situation such as this. Here
are some examples.
u

=
= vector containing the number of resistors, capacitors and transistors in an ethernet
card

= (5, 7)
= vector containing the number of resistors in an ethernet card and in a sound card

=
= vector containing the number of ethernet and sound cards the company plans to make
this coming week

=
= vector containing the number of resistors, capacitors and transistors the company will
need in order to make 20 ethernet cards and 30 sound cards this coming week week

= (2, 3, 5)
= vector containing the prices the company has to pay (in cents) for resistors, capacitors
and transistors

1.1.2. Geometric / physical vectors


If you ask a physicist what a vector is he will tell you
A vector is something with magnitude and direction

1.1 - 2

A good example of a vector of this type is a directed line segment. To construct a


directed line segment we pick two points P and Q and draw the line
segment from P to Q. We put an arrow at the end of the line
segment at Q. We represent the directed line segment from P to Q
by PQ or even just by PQ.

Note that the directed line segment from P to Q is a different directed


line segment from the directed line segment from Q to P, i.e. PQ.
In physics one uses directed line segments to describe displacements. Suppose we have a moving
object and we are studying its motion. We fix two times, a starting time s and an ending time t. If
the object is at point P at time s and at point Q at time t, then its net motion over the time interval
from s to t can be described by the directed line segment PQ. This is called the objects
displacement over the time interval from s to t.

Often we regard two directed line segments as representing the same vector if they have
the same length and direction. Suppose the directed line
Q
segments PQ and RS have the same length and direction. We
might write PQ if we are in a situation where directed line
segments with the same length and direction represent the same
S
P
vector. This can be confusing since the actual directed line
segments PQ and RS are different.
R

In order to make a connection between directed line segment


vectors and numeric vectors, we draw a coordinate system. If the directed line segments
we are working with are all in the same plane, then we draw a two dimensional xycoordinate system for that plane. If they dont lie in the same plane, we draw a three
dimensional xyz-coordinate system for space. For simplicity, lets suppose for the
moment that they all lie in the same plane.
Suppose the coordinates of P are . We
shall indicate this by writing . Suppose
also that Q = . Then to the directed line
segment vector PQ corresponds the
numeric vector . We shall indicate this by
writing PQ. Note that x = x2 - x1 is the
change in the x coordinate as we move
from P to Q and y = y2 - y1 is the change
in the y coordinate as we move from P to
Q, so that PQ.

PQ = =
Q=
y2

Example 1.1.2. Suppose P = and .


Then PQ = = = .

y = y2 y1

P=

y1

x = x2 x1
x

x1

x2

4
3

PQ = =
Q=

y = 1

P=
1
1.1 - 3

x = 3
x
1

Suppose PQ and RS are directed line segments and PQ, i.e. PQ and RS have the same length and
direction. Suppose we draw a coordinate system and PQ and RS. Then the triangles PQN and
RST are congruent. So x2 - x1 = x4 x3
y
RS =
and y2 - y1 = y4 y3. So PQ and RS are
S=
both assigned the same numeric vector.
So directed line segments that represent
R=
the same geometric vector correspond to
the same numeric vector.
Forces. Forces are another example of a
y2
type of physical quantity that is a vector.
If you push or pull on an object with a
y1
certain force, then the force F has a
certain magnitude, f, and direction, .
For example, suppose we pull on an
object with a force of magnitude f = 40
lbs and we pull making an angle = 30
with the horizontal. Then we can represent this
force by a directed line segment with length
equal to 30 and making an angle = 30 with
the positive x-axis. If we choose the starting
point of the directed line segment equal to the
origin, O, and the ending point equal to P, then
the coordinates of P are So we can associate to
F the numeric vector . Often we just write . For
example, if f = 40 and = 30, then = = = = .

PQ =

P=

x
x1

x2

y
P=
=

20
f = 10

10

f sin = 20

= 30
10

1.1.3. Functions

Q=

20

30

40

f cos 34.7

In more advanced work functions are often


regarded as vectors. This includes functions y = f(x) of a single variable, e.g. y = f(x) = x2.
It also includes functions of several variables w = f(x, y, z) such as w = f(x, y, z) = xey +
sin(z) and other types of functions. In the next section we shall see what functions have
in common with numeric vectors.

1.1 - 4

You might also like