A problem on finding orthogonal basis and projection

Click For Summary

Discussion Overview

The discussion revolves around finding an orthogonal basis for the span of the functions {x, x^2, x^3} using the inner product defined as the integral of the product of two functions over the interval [0, 1]. Additionally, participants are exploring how to project the function y = 3(x + x^2) onto this orthogonal basis.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant describes the inner product and conditions for orthogonality, indicating uncertainty about how to apply these concepts to the problem.
  • Another participant suggests using the Gram-Schmidt process for finding the orthogonal basis.
  • A participant questions the steps taken in the calculation of the orthogonal basis and proposes a different approach to defining the first vector of the basis.
  • One participant presents a proposed orthogonal basis but expresses uncertainty about the correctness of their calculations, particularly for the third basis vector.
  • Another participant points out a potential error in the definition of the first vector of the orthogonal basis and suggests following the formula for orthogonalization more closely.
  • There is a request for clarification on how to proceed with the projection part of the problem after completing the orthogonal basis.

Areas of Agreement / Disagreement

Participants express differing views on the correct formulation of the orthogonal basis and the steps involved in the projection. There is no consensus on the correctness of the proposed basis or the method for projection.

Contextual Notes

Some calculations and assumptions regarding the inner product and orthogonalization process remain unresolved, particularly in the context of defining the first vector of the orthogonal basis and the subsequent calculations for the projection.

visharad
Messages
51
Reaction score
0
Use the inner product <f,g> = integral f(x) g(x) dx from 0 to 1 for continuous functions on the inerval [0, 1]

a) Find an orthogonal basis for span = {x, x^2, x^3}

b) Project the function y = 3(x+x^2) onto this basis.
---------------------------------------------------------
I know the following:
Two vectors are orthogonal if their inner product = 0
A set of vectors is orthogonal if <v1,v2> = 0 where v1 and v2 are members of the set and v1 is not equal to v2
If S = {v1, v2, ..., vn} is a basis for inner product space and S is also an orthogonal set, then S is an orthogonal basis.

Regarding projection, I know that if W is a finite dimensional subspace of an inner product space V and W has an orthogonal basis S = {v1, v2, ..., vn} and that u is any vector in V then,
projection of u onto W = <u, v1> v1/||v1||^2 + <u, v2> v2/||v2||^2 + <u, v3> v3/||v3||^2 + ...<u, vn> vn/||vn||^2

I can calculate integrals, but I really do not know how to fit all these together for this problem. I am not sure how to start.
 
Physics news on Phys.org
Sorry, but still I did not understand. Can you at least give major steps?
 
What are the column vectors of S ?
 
Is this correct for part a?

If r + s = n, then
<x^r, x^s> = ∫_0^1 x^n dx = x^(n+1)/(n+1) (0, 1)
= 1^(n+1)/(n+1) - 0^(n+1)/(n+1)
= 1/(n+1)

Let the orthogonal basis = {f1, f2, f3}

Put f1 = 1
f2 = t^2- (<t^2,t>)/(<t,t>)*t = t^2- (1/4)/(1/3)*t = t^2 - 3t/4
f3 = t^3- (<t^3,t>)/(<t,t>)*t - (<t^3,t^2>)/(<t^2,t^2>)*t^2
= t^3 - (1/5)/(1/3)*t - (1/6)/(1/5) * t^2 = t^3-3t/5-(5t^2)/6

The orthogonal basis = {1, t^2 - 3t/4, t^3-3t/5-(5t^2)/6}

--------------
How do I solve part b ?
 
visharad said:
Let the orthogonal basis = {f1, f2, f3}

Put f1 = 1
Shouldn't that be f_1 = t since you're orthogonalizing the basis \{x, x^2, x^3\}? You should set f_1 equal to the first vector of the original basis. Actually, it looks like you took f_1 = t for the calculation of f_2...
f2 = t^2- (<t^2,t>)/(<t,t>)*t = t^2- (1/4)/(1/3)*t = t^2 - 3t/4
f3 = t^3- (<t^3,t>)/(<t,t>)*t - (<t^3,t^2>)/(<t^2,t^2>)*t^2
= t^3 - (1/5)/(1/3)*t - (1/6)/(1/5) * t^2 = t^3-3t/5-(5t^2)/6
Make sure you're following the formula I linked. You should be taking the projection along the orthogonal vectors you calculated previously, so you should have
<br /> f_3 = t^3 - \frac{\langle t^3, f_1 \rangle}{\|f_1\|^2} f_1 - \frac{\langle t^3, f_2 \rangle}{\|f_2\|^2} f_2<br />

I think you calculated f_2 correctly, but not f_3.
How do I solve part b ?
You wrote the formula for this in your first post. Once you finish part (a), you can use it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 3 ·
Replies
3
Views
4K