3.7 Inner Product Space
3.7 Inner Product Space
7 INNER PRODUCT
GENERAL INNER PRODUCT- Axioms
Euclidean Inner product on Rn - axioms
Solution:
<u,v> = 9(-3)(1) + 4(2)(7) = - 27 + 56 = 29
LENGTH AND DISTANCE (w/o weightage)
=(12+22+32+42 )1/2
3) d(p,q) = || p-q|| ;
p – q = (3 – 2) + (-1 – 0)x + ( 1 – 5) x2 = 1 + (- 1 )x + ( - 4) x2
|| p - q|| = (12 + (-1)2 + (- 4)2 )1/2 =(18)1/2
INNER PRODUCT ON CONTINUOUS FUNCTIONS
Let V = P1 be the real vector space of all polynomials of degree less than
or equal to one. Define an inner product of f and g on V as
2
f, g = 1 f ( x )g( x ) dx . If f = x and g = x + 1
Find
(i) f, g .
(ii) norm of g, ||g||
(iii) distance between f and g
SOLUTION
2 2 2
(i) f, g = 1
f ( x )g( x ) dx = 1
x(x + 1) dx = 1
x 2 + x dx
2
x3 x2 8 4 1 1 7 3 23
= + = + − + = + =
3 2 1
3 2 3 2 3 2 6
INNER PRODUCT ON CONTINUOUS FUNCTIONS- example
Recall, ||g||=<g,g>1/2
2 2 2
1 1 1
2x 2 x 3 2x 2 x 3
= [x + + ] − [x + + ]
2 3 x =2
2 3 x =1
26 7 19
= − =
3 3 3
2
19
Then, g = g, g 1/ 2
= [g( x )]2 d( x ) =
1 3
INNER PRODUCT ON CONTINUOUS FUNCTIONS- example
2 2 2 2
2 2 2
First, find f - g, f - g = [ f ( x ) − g( x )] d( x ) = [ x − (1 + x )] d( x ) = ( − 1) d( x ) = (1)d( x )
1 1 1 1
= [ x] x =2
− [ x] x =1
= 2 −1= 1
2
1/ 2
Then, f − g = f - g, f - g = [ f ( x ) − g( x )] 2 d( x ) = 1 = 1
1
Weighted Inner product
LENGTH AND DISTANCE – Example (w/ weightage)
Algebraic computations with inner product
||u|| = <u,u>1/2, so
||u||2 = <u,u>