5.1 The Scalar Product in n

Two vectors x and y in n may be regarded as n×1 matrices. We can then form the matrix product xTy. This product is a 1×1 matrix that may be regarded as a vector in 1 or, more simply, as a real number. The product xTy is called the scalar product of x and y. In particular, if x=(x1,,xn)T and y=(y1,,yn)T, then

xTy=x1y1+x2y2++xnyn

Example 1

If

x=[321]andy=[432]

then

xTy=(3,2,1)[432]=3423+12=8

The Scalar Product in 2 and 3

In order to see the geometric significance of the scalar product, let us begin by restricting our attention to 2 and 3. Vectors in 2 and 3 can be represented by directed line segments. Given a vector x in either 2 or 3, its Euclidean length can be defined in terms ...

Get Linear Algebra with Applications, 10th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.