Professional Documents
Culture Documents
Math201 - WK13 - Sec 6.7, 6.8
Math201 - WK13 - Sec 6.7, 6.8
Math201 - WK13 - Sec 6.7, 6.8
1, 𝑡 = 1, 𝑡 2 = 𝑡, 𝑡 2 = 0
1 = 𝑡 = 𝑡2 = 1
∴ {1, 𝑡, 𝑡2} is an orthonormal basis for 𝑃2
6.7 Inner Product Spaces
• Gram-Schmidt process
𝑝, 𝑞 = 𝑝 −2 𝑞 −2 + 𝑝 −1 𝑞 −1 + 𝑝 0 𝑞 0 + 𝑝 1 𝑞 1 + 𝑝 2 𝑞 2
𝑝, 1 𝑝, 𝑡 𝑝, 𝑡 2 − 2 2
𝑝Ƹ = 1 + 𝑡 + 2 2
𝑡 −2
1,1 𝑡, 𝑡 𝑡 − 2, 𝑡 − 2
8 31 2
= − 𝑡 −2 1 𝑡 𝑡2 − 2 𝑝
5 14
216 31 2 1 −2 2 −3
= − 𝑡
35 14 1 −1 −1 9/2
1 0 −2 5
1 1 −1 9/2
1 2 2 −3
6.7 Inner Product Spaces
1 4
𝑝 𝑡 =5 − 𝑡
2
8 31
𝑝Ƹ = − 𝑡2 − 2
5 14
6.7 Inner Product Spaces
Inner Product for 𝐶[𝑎, 𝑏]
Let 𝑓 , 𝑔 be two real valued continuous
functions in the vector space 𝐶 [𝑎, 𝑏], show that
𝑏
𝑓, 𝑔 = න 𝑓 𝑥 𝑔 𝑥 𝑑𝑥
𝑎
defines an inner product over 𝐶 [𝑎, 𝑏]
6.7 Inner Product Spaces
𝑏 𝑏
1. 𝑓, 𝑔 = න 𝑓 𝑥 𝑔 𝑥 𝑑𝑥 = න 𝑔 𝑥 𝑓 𝑥 𝑑𝑥 = 𝑔, 𝑓
𝑎 𝑎
⋮
𝑏 𝑏
2 2
4. 𝑓, 𝑓 = න 𝑓 𝑥 𝑑𝑥 ≥ 0 𝑎𝑛𝑑 න 𝑓 𝑥 𝑑𝑥 = 0
𝑎 𝑎
if and only if 𝑓 = 0
6.8 Applications of inner product spaces.
Fourier Series
Ex. Let 𝑓 = sin(𝑚𝑥) , 𝑔 = sin(𝑛𝑥) where 𝑚, 𝑛 are +ve integer
and 𝑚 𝑛 and using the inner product:
2𝜋
𝑓, 𝑔 = න 𝑓 𝑥 𝑔 𝑥 𝑑𝑥
0
defined over 𝐶 0,2𝜋 , show that 𝑓 and 𝑔 are orthogonal
French Scientist
Jean-Baptiste
Joseph Fourier
1768 - 1830
6.8 Applications of inner product spaces.
2
f, g = sin (mx ) sin (nx ) dx
0
2
= 12 cos (m − n ) x − cos (m + n ) x dx
0
2
sin (m − n) x sin (m + n ) x
= 12 − =0
m −n m+n 0
2 2
f, f = sin (mx ) dx = 12 1 − cos ( 2mx ) dx =
2
0 0
6.8 Applications of inner product spaces.
Ex. Let 𝑓 = 𝑐𝑜𝑠(𝑚𝑥) , 𝑔 = 𝑐𝑜𝑠(𝑛𝑥) where 𝑚, 𝑛 are +ve integer
and 𝑚 𝑛 and using the inner product:
2𝜋
𝑓, 𝑔 = න 𝑓 𝑥 𝑔 𝑥 𝑑𝑥
0
defined over 𝐶 0,2𝜋 , show that 𝑓 and 𝑔 are orthogonal
6.8 Applications of inner product spaces.
2
f, g = cos (mx ) cos (nx ) dx
0
2
= 12 cos (m − n ) x + cos (m + n ) x dx
0
2
sin (m − n) x sin (m + n ) x
=
1
+ =0
2
m −n m+n 0
6.8 Applications of inner product spaces.
2
f, f = cos (mx ) dx
2
0
2
= 12 1 + cos ( 2mx ) dx =
0
2
1,1 = dx = 2
0
6.8 Applications of inner product spaces.
Fourier Approximation on 0,2𝜋
On the interval 0,2𝜋 , the least squares
approximation theorem of a continuous function 𝑓
with respect to the vector space spanned by:
{1, cos(𝑥), cos(2𝑥), … , sin(𝑥), sin(2𝑥), … } is given by:
a0
f(x) = + a1 cos(x) + a2 cos(2x) + + b1 sin(x) + b2 sin(2x) +
2
2 2
1 1
a0 = f(x)dx an = f(x)cos(nx)dx
0 0
2
1
bn = f(x)sin(nx)dx
0
6.8 Applications of inner product spaces.
Ex. Find Fourier series approximation for the
function f(x)=x on the interval [0,2𝜋]
2
1
a0 = xdx = 2
0
2
1
an = xcos(nx)dx = 0
0
2 2
1 11 1 −2
bn = xsin(nx)dx = 2 sin(nx) − cos(nx) =
0 n n 0 n
−2
f(x) = x + sin(nx) ,x ( 0,2 )
n=1 n
6.8 Applications of inner product spaces.