We looked at the following two examples to test our intuitions about
vectors.
Let
and
.
What vector would you add to
in order to get
?
Does the line passing through
and
also pass through
?
A matrix
is a rectangular array of real numbers with
rows and
columns. Make sure you remember how matrix multiplication works and also
what the transpose
of a matrix is.
Let
,
,
and
.
Which of the following matrix products make sense?
,
,
,
,
,
?
Calculate each product that makes sense.
Of course, a vector
can be thought of as a matrix. We will always assume that vectors are
column vectors unless otherwise specified.
The length or norm of a vector
is
Another way to write this is
The inner product of
is
.
Prove that
.
The inner product is also known as the dot product
or scalar product of two vectors.
Theorem (Inner Products and Angles)
For any
,
where
is the angle between
and
.
Use the Law of Cosines to prove this theorem.
One major application of inner products is the definition of the
correlation coefficient for two vectors
.
Definition (Correlation Coefficient)
For any
the correlation between
and
is:
Find the correlation between
and
.
Study Questions
Why is it obvious from the definition that the correlation
between two vectors will always be between positive and negative
one?