You are on page 1of 5

1.

2 Vector Operations

1.2.1. Addition and subtraction

Numeric vectors. One adds and subtracts numeric vectors by adding and subtracting
corresponding components. In order to do this they have to have the same number of
components.
v= w=  v+w= v-w=.
For example
v= w=  v+w= = v-w= =.
To summarize, the i component of (v+w) is the sum of the ith component of v and the ith
th

component of w. This can be expressed symbolically by the formula (v+w)i = vi + wi for


i = 1, …, n where n is the number of components in v and w. Similarly, (v-w)i = vi - wi for
i = 1, …, n.

A zero vector is a vector all of whose components are 0, e.g. v = .

One forms the negative of a vector v by negating the components of v.


v=  -v =
For example
v=  -v =
So, (-v)i = -(vi) for i = 1, …, n.

Example 1.2.1. An electronics company makes two types of circuit boards for computers, namely
ethernet cards and sound cards. Last week the production was
y= =
This week the production is scheduled to be
t= =
The total production for the two week period is
y+t= + = =
The net change in production from last week to this week is
t-y= + = =

Geometric / physical vectors. We focus on the situation where the vectors are directed
line segments, since other physical quantities that are vectors can be represented by
directed line segments. We also assume that directed line segmens with the same length
and direction represent the same vector.

First consider addition. Suppose u = PQ y


and v = RS are directed line segments.
u + v = PT T
The sum u + v is defined as follows.
Consider the directed line segments PW v = QT
W S
and QT starting at P and Q respectively
and having the same length and direction u - v = QW

as RS. So v = PW = QT also. Then v = PW Q


PQTW is a parallelogram and the v = RS
diagonal PT of the parallelogram is the u = PQ
P R

x
1.2 - 1
sum of u and v, i.e. u + v = PT. Putting it another way, u + v = PT is the third side of the
triangle, two of whose sides are u = PQ and v = QT It is not hard to show that this
geometric definition of addition corresponds to the definition of addition of the numeric
vectors corresponding to u and v.

Subtraction of geometric vectors is also simple. In terms of the notation in the previous
paragraph, v – u = QU is the directed line segment from the tip of u to the tip of v. The
reason is because u + (v – u) = PQ + QU = PU = v.

For directed line segments, the zero vector is just a directed line segment which ends
where it starts, i.e. 0 = PP.
y

If one has two forces F1 and F2 acting on an F1 + F2


object, the two force can be replaced by their
sum F1 + F2.

Functions. If f(x) and g(x) are two functions


F2
then their sum and difference are defined in
the usual way, i.e.
F1
(f + g)(x) = f(x) + g(x)
(f - g)(x) = f(x) - g(x) x
For example, if f(x) = 4x2 – 2x + 3 and
g(x) = 2x2 + x - 5 then (f + g)(x) = 6x2 – x - 2 and (f - g)(x) = 2x2 – 3x + 8.

1.2.2. Multiplication of a vector by a number

Numeric vectors. One multiplies a numeric vector v by a number c by multiplying each


component by c. Their product is a vector and is often called a scalar multiple of v.
v=  cv =
For example
v= c=3  cv = =
Thus (cv)i = c(vi) for i = 1, …, n.

Example 1.2.2. An electronics company makes two types of circuit boards for computers, namely
ethernet cards and sound cards. Last week the production was
y= =
Suppose this week the production of each component is to be cut by 20%. Then this weeks
prodcution will be
t = y – (0.2)y = - (0.2) = - = =
y

Geometric / physical vectors. Multiplication of


geometric / physical vectors by a number is defined as R
follows. Suppose u = PQ and c is a number. Then cu
Q
u = PQ
1.2 - 2 cu = PR
P

x
has the same direction as u if c  0 and the opposite direction of u if c < 0. The length of
cu is |c| times the length of u. It is not hard to show that this geometric definition
multiplication of a vector by a number c corresponds to the definition of multiplication of
the numeric vector corresponding to u by the number c.

Functions. If f(x) is a function and c is a number then their product is defined in the
usual way, i.e. (cf)(x) = c(f(x)). For example, if f(x) = 4x2 – 2x + 3 and c = 3
then (3f)(x) = 12x2 – 3x + 9.

1.2.3. Linear combinations (or superpositions)

A linear combination (or superposition) of vectors is just a sum of scalar multiples of the
vectors. More specifically, if u1, u2, …, un are vectors and c1, c2, …, cn are numbers, then,
then the vector v = c1u1 + c2u2 + … + cnun is a linear combination (or superposition) of
u1, u2, …, un. Linear combinations arise frequently in problems involving vectors.

Example 1.2.3. Suppose


y
u1 = and u2 = and c1 = 2 and
v = 2u1 + 3u2 =
c2 = 3. Then the
corresponding superposition 8
is
7
v = c1u1 + c2u2 3u2 =
=2 +3 6
= + =
5

3
u2 =
2u1 =

1 u1 =

x
1 2 3 4 5 6 7

1.2.4. Algebraic
properties of the vector operations

1.2 - 3
Many of the familiar algebraic properties of numbers have analogues for the vector
operations. The first ten of these properties are regarded as special.

To be general, suppose V is a collection of objects. Suppose that addition u + v, negation


-u, and multiplication by numbers cu is defined for objects in V. Suppose there is also a
special object in V denoted by 0. Then V is called a vector space if the following ten
properties hold for all u, v and w in V and all numbers c and d.

(1) u + v is in V.
(2) u+v = v+u (commutative property)
(3) (u + v) + w = u + (v + w) (associative property)
(4) u+0 = u (0 is the zero vector)
(5) u + (-u) = 0
(6) cu is in V
(7) c(u + v) = cv + cu (distributive property)
(8) (c + d)u = cu + du (another distributive property)
(9) c(du) = (cd)u (another associative property)
(10) 1u = u

The objects in V are often called vectors in this case. Most of these properties are easy to
prove for numeric vectors or functions.

For example, to prove property 7 (the second distributive property (c + d)u = cu + du if


u = is a vector with two components we argue as follows (c + d)u = (c + d) = = = + =
c + d = cu + du.

Similarly, to prove this property 7 if u(x) is a function defined for all real x we argue as
follows ((c + d)u)(x) = (c + d)(u(x)) = cu(x) + du(x) = (cu)(x) + (du)(x) = (cu + du)(x).

The reason the above ten properties are regarded as special is because many other
familiar properties can be deduced from them. In a general vector space the operation of
subtraction is defined by v – u = v + (-u). It is not hard to see that this holds for numeric
vectors, directed line segments and functions.

Proposition 1. The following hold for all u, v and w in V and all numbers c and d.
(11) c0 = 0 (0 is the zero vector)
(12) 0u = 0 (0 on the left is the number 0 and 0 on the right is
the zero vector)
(13) (-1)u = - u
(14) u + (v – u) = v (v – u) is what you add to u to get v
(15) - (u + v) = (- u) + (- v)

Proof. As an illustration we prove (12) and leave the rest as exercises.


0u = (0 + 0)u by (4) for numbers
= 0u + 0u by (8)
Add the negative of 0u to both sides:

1.2 - 4
0u + (- (0u)) = [0u + 0u] + (- (0u))
= 0u + [0u + (- (0u))] by (3)
0 = 0u + 0 by (5)
0 = 0u by (4) //

The operation of transposing for numeric vectors also has some useful properties.

Proposition 2. If u and v are numeric vectors with the same number of components then

(16) (uT)T = u
(17) (u + v)T = uT + vT
(18) (u - v)T = uT - vT
(19) (cu)T = cuT
(20) (-u)T = -(uT)

Proof. As an illustration we prove (17) if u = and v = are column vectors with two
components and leave the rest for exercises. One has (u + v)T = ( + )T = T = (u1 + v1, u2 +
v2) = (u1, u2) + (v1, v2) = T + T = uT + vT. //

One implication of these algebraic properties is that often one can work with vectors as a
whole instead of the individual components. For example, suppose one wants to find a
vector u such that 3u + = 5u + . Then 2u = - = . So u = ½ = .

1.2 - 5

You might also like