<< Chapter < Page | Chapter >> Page > |
The inner product between vectors and is a scalar consisting of the following sum of products:
This definition seems so arbitrary that we wonder what uses it could possibly have. We will show that the inner product has three main uses:
Since the inner product is so useful, we need to know what algebraic operations are permitted when we are working with inner products. The following are some properties of the inner product. Given and ,
Euclidean Norm. Sometimes we want to measure the length of a vector, namely, the distance from the origin to the point specified by thevector's coordinates. A vector's length is called the norm of the vector. Recall from Euclidean geometry that the distance between two points is the squareroot of the sum of the squares of the distances in each dimension. Since we are measuring from the origin, this implies that the norm of the vector x is
Notice the use of the double vertical bars to indicate the norm. An equivalent definition of the norm, and of the norm squared, can be given interms of the inner product:
or
The Euclidean norm of the vector
is
An important property of the norm and scalar product is that, for any and ,
So we can take a scalar multiplier outside of the norm if we take its absolute value.
Cauchy-Schwarz Inequality. Inequalities can be useful engineering tools. They can often be used to find the best possible performance of asystem, thereby telling you when to quit trying to make improvements (or proving to your boss that it can't be done any better). The most fundamentalinequality in linear algebra is the Cauchy-Schwarz inequality. This inequality says that the inner product between two vectors and is less than or equal (in absolute value) to the norm of times the norm of , with equality if and only if :
To prove this theorem, we construct a third vector and measure its norm squared:
So we have a polynomial in that is always greater than or equal to 0 (because every norm squared is greater than or equal to 0). Let's assume that and are given and minimize this norm squared with respect to . To do this, we take the derivative with respect to and equate it to 0:
When this solution is substituted into the formula for the norm squared in [link] , we obtain
which simplifies to
The proof of the Cauchy-Schwarz inequality is completed by taking the positive square root on both sides of [link] . When , then
which shows that equality holds in [link] when is a scalar multiple of .
Notification Switch
Would you like to follow the 'A first course in electrical and computer engineering' conversation and receive update notifications?