Gram-Schmidt procedure to find orthonormal basis

Click For Summary

Homework Help Overview

The problem involves applying the Gram-Schmidt procedure to find an orthonormal basis for the vector space of polynomials of degree 3, using a specific inner product defined by an integral. The functions provided are v0 = 1, v1 = t, v2 = t^2, and v3 = t^3.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants express uncertainty about how to apply the Gram-Schmidt procedure to functions rather than traditional vectors. Questions arise regarding the relationship between the functions and the inner product, as well as how to interpret the variables f(t) and g(t) in this context.

Discussion Status

Some participants have begun to explore the application of the Gram-Schmidt procedure using the provided functions, while others are questioning the implications of the inner product and how to approach the problem. Guidance has been offered regarding the initial steps of the procedure, but there is no consensus on the overall approach yet.

Contextual Notes

Participants note that they are accustomed to working with vectors in a different format and express confusion about adapting the Gram-Schmidt process to polynomial functions. There is also mention of the need to integrate the functions as part of the inner product calculation.

MellyC
Messages
5
Reaction score
0

Homework Statement



The four functions v0 = 1; v1 = t; v2 = t^2; v3 = t^3 form a basis for the vector space of
polynomials of degree 3. Apply the Gram-Schmidt procedure to find an orthonormal basis with
respect to the inner product: < f ; g >= (1/2)\int 1-1 f(t)g(t) dt

Homework Equations



ui = vi - \sumi-1j <vi, uj>/||vj||2> *vj

The Attempt at a Solution



I am not sure that the impact that given inner product integral gives to the question. I don`t even know how to approach this question as well, because I have typically been given vectors of the form (x1, y1, z1) to use gram-schmidt orthonormalization with, not of the given form.
 
Physics news on Phys.org
MellyC said:

Homework Statement



The four functions v0 = 1; v1 = t; v2 = t^2; v3 = t^3 form a basis for the vector space of
polynomials of degree 3. Apply the Gram-Schmidt procedure to find an orthonormal basis with
respect to the inner product: < f ; g >= (1/2)\int 1-1 f(t)g(t) dt


Homework Equations



ui = vi - \sumi-1j <vi, uj>/||vj||2> *vj

The Attempt at a Solution



I am not sure that the impact that given inner product integral gives to the question. I don`t even know how to approach this question as well, because I have typically been given vectors of the form (x1, y1, z1) to use gram-schmidt orthonormalization with, not of the given form.

What is stopping you from using the formula in (2) with the inner product as defined in (1)?

RGV
 
How would I go about doing that? I'm a little bit confused about what the relationship between f(t), g(t), vi and ui is in this case. I understand that I can put the integral from part 1 into the inner product for the gram-schmidt orthogonalization in part 2, but what would my f(t) and g(t) represent?
 
MellyC said:
How would I go about doing that? I'm a little bit confused about what the relationship between f(t), g(t), vi and ui is in this case. I understand that I can put the integral from part 1 into the inner product for the gram-schmidt orthogonalization in part 2, but what would my f(t) and g(t) represent?

They would be whatever two functions whose inner product you want.

RGV
 
Last edited:
Welcome to PF, MellyC! :smile:

Let's take the first two as examples:

u_0 = v_0
u_1 = v_1 - \sum_{j=0}^{1-1} {&lt;v_1, u_j&gt; \over ||v_j||^2} \cdot v_j


So:
u_0 = 1
u_1 = t - {&lt;t, 1&gt; \over ||1||^2} \cdot 1
with:
&lt;t, 1&gt; = {1 \over 2} \int_{-1}^1 t \cdot 1 dt
||1||^2 = &lt;1, 1&gt; = {1 \over 2} \int_{-1}^1 1 \cdot 1 dt


Can you calculate u1 from this?
And u2 and u3?
 
MellyC said:
I am not sure that the impact that given inner product integral gives to the question. I don`t even know how to approach this question as well, because I have typically been given vectors of the form (x1, y1, z1) to use gram-schmidt orthonormalization with, not of the given form.
If you really want to, you can look at the polynomials like that. A polynomial f(t) is a linear combination of your given basis vectors:
f(t) = a_0 + a_1 t + a_2 t^2 + a_3 t^3 = a_0 \vec{v}_0 + a_1 \vec{v}_1 + a_2 \vec{v}_2 + a_3 \vec{v}_3so f(t) corresponds to the coordinate vector (a0, a1, a2, a3) and vice versa. You could do your calculations using the 4-tuples (except the inner product since it involves integrating the functions) and then convert your answers back to polynomial form.

But you should be able to see that scalar multiplication of a 4-tuple is the same thing as the usual scalar multiplication of the polynomial. Similarly, vector addition of the 4-tuples is the same as adding the two polynomials the way you normally do. So there's really no reason to use the 4-tuples instead of the polynomials directly in the calculations. They're just different ways of writing the same thing.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K