Science Oxygenwww.ScienceOxygen.com
|
Vector – Inner Product
Motivation: Let AOB = . cos = ? By using the diagram shown on the left, it can be shown that cos =
2 = a2 + b2 , 2 = c2 + d2 , 2 = ( a-c )2 + ( b-d )2
Thus, cos =
If we define inner product: = (a,b) (c,d) = ac+bd
Then cos =
Definition: For two dimensional vectors =(a,b) and =(c,d) , the inner product of and is
= ac + bd
Property 1: cos =
Property 2 ( Projection ) The projection of vector on is
= ( cos ) = ( ) = ( )
Please notice that is a unit vector on the direction of .
Property 3: If and are non-zero vectors. and are perpendicular to each other if and only if = 0 .
( cos = cos900 = 0 )
Property 4: ( Normal Vector ) For a line with equation ax+by=c , the vector (a,b) is perpendicular to this line.
Proof: Let (x0, y0) be a point on the line. Thus, it satisfies the line equation: ax0 + by0 = c
For any other points (x,y) on this line, the vector (x-x0, y-y0) is parallel to this line.
Consider the inner product:
(a,b) (x-x0, y-y0) = a(x-x0)+b(y-y0) = ax+by-ax0-by0 = c – c = 0
So, (a,b) is perpendicular to the line ax+by=c .
|