Vector Spaces, I
Life in Two and Three Dimensions

A point in the plane can be represented mathematically by a pair of real numbers as shown in the picture below.

Missing

A pair of real numbers is called a vector in R2 and is written

v = (x, y)

or, sometimes,

x = (x1, x2)

Vectors in R2 can represent many things besides points in the plane. For example, they can represent --

We define two arithmetic operations on vectors in R2 -- vector addition and scalar multiplication by a real number as follows.


Do each of the calculations below by hand and then check your answer in your CAS window.

  1. (1, 2) + (5, -3)

  2. (5, -3) + (1, 2)

  3. 4 (2, 4)

  4. 2 (1, 2) + 3 (4, 1)

  5. 2 (u, v) + 3 (x, y)

  6. t (1, 2) + s (3, 5)

  7. s (u, v) + t (x, y)


If we think of a vector as representing an arrow starting at the origin then we can visualize vector addition as shown in the figure below. We begin with two vectors a (blue) and b (green) representing two sides of a parallelogram with one vertex at the origin. The vector a + b represents the diagonal line shown in red.

Missing figure



Scalar multiplication stretches or compresses a vector as shown in the figure below. The graph on the left shows a vector x in red. The middle graph shows the vectors 2 x in green and -2 x in blue. The graph on the right shows the vectors (1/2) x in green and -(1/2) x in blue.

Missing figure

These two operations have some very nice properties called vector space properties. Click on the icon below for a list of these properties and some of their implications.

Vector Space Properties

Using these vector space operations we can describe translations very cleanly.

Ta(x) = x + a

Notice that this formula uses vectors in two different ways -- the vector x represents a point in the plane and the vector a represents motion in the plane.

We can also define a new family of operations on the plane, called dilations, that magnify or reduce an image.

Da(x) = a x

Notice

The figure below shows an original image in black and then the result of applying dilations with

to the original image.

Missing figure

We can prove some interesting facts about translations and dilations from the vector space properties.


  1. Prove that any two translations commute -- that is, if S and T are translations then

    S(T(x)) = T(S(x)).

    answer

  2. Prove that any two dilations commute -- that is, if S and T are dilations then

    S(T(x)) = T(S(x)).

    answer


If x and y are vectors representing two points then y - x is the vector representing the motion required to go from x to y. That is,

y = x + (y - x)

For a proof see the mathematical infrastructure module on vector spaces.


Develop formulas to answer each of the questions below and check your formulas by working out a few examples in your CAS window.

  1. Find the point that is halfway between x and y. answer

  2. Find the point that is on the line segment between x and y but is twice as far from x as it is from y. answer

  3. Find the point that is on the line segment between x and y but is twice as far from y as it is from x. answer

  4. Find the point that is on the line determined by the two points x and y but is beyond y and is twice as far from x as it is from y. answer

  5. Find the point that is on the line determined by the two points x and y but is beyond x and is twice as far from y as it is from x. answer


Generalizing from the exercises above we can see that any point of the form

P = a + t (b - a) = (1 - t) a + t b

is on the line determined by the two points a and b.

  • If 0 <= t <= 1 then P is between a and b.

  • If t < 0 then P is beyond a.

  • If 1 < t then P is beyond b.

The Java applet at the right illustrates this. The point represented by the vector a is indicated by a red dot and the point represented by the vector b is represented by a blue dot. If you click anyplace along the line determined by these two points, the corresponding value of t will appear in the "t" box. You can also type a value of t in the t box and click on the move button. Then the corresponding point will be indicated on the line determined by a and b.



The applet on the right illustrates the last three problems above.

Notice that there is a large triangle with a colored dot at each of its three vertices. Suppose the vertices are represented by the vectors A, B, and C.

Click any place on the applet. The point, P, at which you clicked can be written in the form

P = a A + b B + c C

where

a + b + c = 1.

Notice at the bottom of the applet the value of each of these three coefficients is printed. Test your work above by clicking at various points to see what happens to the coefficients.

Movies or animations are created by displaying a sequence of frames of still images one-after-another to produce the appearance of motion. Broadcast television (in the United States), for example, displays 30 complete frames per second.

Suppose, for example, that we want to move an image two units right and three units upward over a period of three seconds. We will use 91 frames, numbered -- 0, 1, 2, ... 90. To create the i-th frame we apply the translation

Missing equation

to each point in the original image. Notice that when i = 0 we get the original image unchanged and when i = 90 the original image is translated point-by-point by (2, 3) as desired.


Use your CAS window to help do the following problems and to check your answers.

  1. The left side of the figure below shows two triangles -- a blue triangle formed by connecting the points (-4, 4), (-3, -2), and (-2, -4) by straight lines -- and a red triangle formed by translating the blue triangle by (6, 6). Suppose that you want to move the blue triangle smoothly to the position of the red triangle using a total of 31 frames numbered -- 0, 1, 2, ... 30. How would you generate each frame? The right side of the figure below shows all the frames superimposed on each other.

    Missing picture

  2. Suppose that you want to rotate the blue triangle shown in the figure below counterclockwise around the origin through a full circle in four seconds using a total of 121 frames. How would you generate each frame? The same figure shows frames 30, 60, and 90 in red.

    Missing picture

  3. The center of the blue triangle shown in the figure below is at the point (0, 1.5) Suppose that you want to rotate the triangle around the origin through a full circle counterclockwise keeping it upright in four seconds using a total of 121 frames. How would you generate each frame? The same figure shows frames 30, 60, and 90 in red.

    Missing picture

  4. Suppose you want to create the appearance of an image growing by a factor of three over a period of five seconds using a total of 151 frames. How would you generate each frame?


In the three-dimensional world in which we live the location of a point is given by three numbers or coordinates, (x, y, z) as shown in the figure below.