#Orthogonality and projection problems

106 messages · Page 1 of 1 (latest)

stoic hedge
#

I need help with question 1, 3 and 4.

wide perchBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with:
+close
  1. Feel free to nominate the person for helper of the week in #helper-nominations
  2. Do not ping the mods, unless someone is breaking the rules.
  3. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
stoic hedge
#

for question 3 since ik the basis of P1 is {1,x}, do i just plug what in to my integral to get a 2x2 matrix?

#

if yes, what do i do after that?

mental island
#

Given an orthonormal basis ${u_1,...,u_n}$ of $U\subseteq V$, the unique projection $P\colon V\to V$ such that $P(V)=U$ is given by $P[v]=\sum_{i=1}^n\langle v,u_i\rangle u_i$

dusty drumBOT
#

Omegabet_

mental island
#

per the hint, convert ${1,x}$ into an orthonormal basis, then just compute the projection $P[e^x]$

dusty drumBOT
#

Omegabet_

autumn ridge
#

1,4 are routine checks, follow omega's advice on 3

stoic hedge
#

how do i apply gram Schmidt process to {1,x}?

autumn ridge
#

are they orthogonal to start with?

#

(and what does orthogonality mean)

#

@stoic hedge

stoic hedge
#

I mean their dot product will just give me the e value of x

#

Which wilbe 0

autumn ridge
#

yes, orthogonal if and only if dot product is 0

stoic hedge
#

Yes so I don’t need to apply gram Schmidt process on it if it’s already orthogonal

#

I just need to make them orthonormal

autumn ridge
#

but are they orthogonal?

#

$$ \int _0^1 1\cdot x dx \overset{?}=0 $$

dusty drumBOT
stoic hedge
#

why am i calculating the integral?

autumn ridge
#

this is how the dot product is defined

stoic hedge
#

omg

autumn ridge
#

it's not just arbitrary information in the text, you have to use it

stoic hedge
#

They have given a new definition for the dot product got it

autumn ridge
#

there are maaaaany ways to define dot product

#

it's not unique

stoic hedge
#

I was under the assumption that I’m gonna use the basic formula

#

Ok I understand this one now

autumn ridge
#

so, tl;dr the vectors are not orthogonal, hence apply gram schmidt to orthogonalise the system

stoic hedge
#

Ok ok

autumn ridge
stoic hedge
#

A1A2 + B1B2

#

Ok how will I solve the 3rd part of question 4

autumn ridge
#

given two functions f(x) = 1 and g(x) = x, what are a1,a2 and so on?

stoic hedge
#

No idea for functions

#

Just vectora

autumn ridge
#

so how were you going to calculate their dot product? 😄

stoic hedge
#

Literally just multiply them and equal them to 0

#

Which is why I was saying that I’m just gonna get x = 0 which makes not sense

#

No*

autumn ridge
stoic hedge
#

Ok I just have 1 more question

autumn ridge
#

you should have way more

stoic hedge
#

In 3, when I make the set orthonormal

#

How do I use the projection formula for e^x

#

I’ve only ever used it for vectors

autumn ridge
#

you integrate

#

e^x is an element of C[0,1]

#

and you have the subspace {1,x} with respect to an orthonormal basis {f_1,f_2}

#

then you calculate <e^x, f_1> and <e^x,f_2>

stoic hedge
#

Ok ok

#

I understand

autumn ridge
#

but you already demonstrated that you have conceptional misunderstandings, so let's make sure you get this done correctly

stoic hedge
#

Major

#

But the thing is I’m not home right now and I won’t be until pretty late

autumn ridge
#

no rush, write an update when you get back to it

stoic hedge
#

Ok

#

Btw thanks a lot

autumn ridge
#

no worries

stoic hedge
#

For taking time to really go step by step

autumn ridge
#

I think we have ways to go still

stoic hedge
#

My knowledge of linear algebra has major holes in it but my goal is to study it just enough to get a good grade

#

The last math course that I really took interest in was differential equations

#

This course is a bit too abstract for me personally

autumn ridge
#

you don't have to have a deep understanding of linear algebra, but we would at least make sure your technique is correct

stoic hedge
#

True

stoic hedge
#

@autumn ridge

#

Why is the norm of x not underoot 2?

#

Does the formula of norm change with inner project?

#

Nvm I googled it

mental island
dusty drumBOT
#

Omegabet_

stoic hedge
#

@autumn ridge ok im back

#

when calculating the new vectors using the inner product

#

both my calculated vectors are same

stoic hedge
#

ok nmv got it

stoic hedge
#

ok i did it

#

im sure my linear algebra is correct in the solution

#

if anything its my integration that might cause calculation mistakes

autumn ridge
#

how do you apply gram schmidt to 1,x

stoic hedge
#

1 will be 1 and x will be x - proj x, 1

#

idk what syntax to use for this proj x, 1

autumn ridge
#

yeah that's fine

stoic hedge
#

but its basically <x,1>/<1,1> (1)

autumn ridge
#

$$ f_1 = 1\quad\mbox{and}\quad f_2 = x + \alpha f_1 $$

dusty drumBOT
autumn ridge
#

and you determine alpha from the orthogonality condition

#

$$ \int _0^1 (x+\alpha)dx = 0 $$

dusty drumBOT
stoic hedge
#

oh shit actually i made a mistak

#

i did not make the vectors orthonormal

#

to make x - 1/2 orthonormal i just do (x - 1/2) / (<x - 1/2, x - 1/2>)?

autumn ridge
#

you are dividing by norm squared atm

stoic hedge
#

oh ok

#

yup take the underoot of that got it

autumn ridge
#

divide by norm

stoic hedge
#

i guess thats it for these problems

#

and again

#

thanks a lot

#

+close