03 Vectors in
Some basic background information about vectors in is covered in the textbook in
Chapter 2, Sections II.1 and II.2.
For us, a column vector of dimension is simply a column of
numbers. (Alternatively, we could use row vectors; there is no
essential difference for us at this point between the two notations.)
It is important that two vectors can be added, as long as they have
the same dimension, and a vector can be multiplied by a scalar, where a scalar
is just a number:
But vectors also have a geometric interpretation, and it's useful
to know something about the geometry. It's easiest to think about the
geometry in or , but you need to imagine similar things
going on in -dimensional space in general. A vector in is
often drawn as an arrow, but only the length and direction of the arrow is
relevant to the vector, not where the arrow is located.
You should understand the geometric meaning
of vector addition and scalar multiplication in terms of what they do
to arrows.
A column of numbers can specify a point in as well as a vector.
This duality can be confusing. A point represents a position. A vector is perhaps
best thought of as representing a displacement, or change in position. The displacement from
one point to another can be thought of as the difference between two points,
so it makes sense to subtract two points and get a vector as the answer.
Points and vectors are different things, but sometimes, confusingly, we treat
them as being more or less the same. In particular, we sometimes make little
distinction between a point and the column vector that
has the same coordinates. One way to visualize that vector is as the arrow from
the origin to the point. We have been saying that a solution to a system of
linear equations is a vector, but it is often better to think of it as being
the corresponding point. Consider the solutions to the linear equation
. The solution set can be visualized either as a set of vectors
or as a set of points in .
Later, we will generalize the ideas of vector, vector space, and dimension. In any
vector space, vectors can be added and multiplied by scalars. In , we have some
additional operations. Here are the most important facts.
The inner product or dot product
of two -dimensional vectors is defined by
and the length of a vector
is given by
If and are two non-zero vectors in , then the angle, ,
between and satisfies
and in particular, and are orthogonal
(or perpendicular) if and only if .
Look again at the linear equation and its set of solutions in .
The solution set is a line. In fact, that line is orthogonal to the vector
, where the coordinates
of are the coefficients of the variables in the linear equation.
Take some arbitrary fixed point on the line, say . Now, look at
any other point on the line, and consider the vector . This vector is orthogonal to
. The orthogonality is expressed by the equation ,
which in this case is , or
. And that equation simplifies to the original equation,
. could be any point on the line; you get the same simplified
equation in the end.
More generally, given a non-zero vector and a point ,
the line through that is orthogonal to has equation
. The equation can also be written
or as where .
This can be generalized to higher dimensions. In dimension 3, for example,
the solutions of the equation form a plane that is orthogonal
to the vector .
If is a point on that plane, then the equation can also be written
or
(back to contents)