Ask your own question, for FREE!
Mathematics 17 Online
OpenStudy (astrophysics):

@Miracrown

OpenStudy (astrophysics):

|dw:1459494016025:dw| just part a) how do I apply Gram-Schmidt to this, \[w = Span\left\{ (1+x^2),(x-x^2) \right\}\]

OpenStudy (astrophysics):

\[p = (1+x^2)~~~\text{and}~~~~q = x-x^2\] so \[<p,q> = -4\] that's not orthogonal but idk how to do this

OpenStudy (astrophysics):

I think we let \[\vec v_1 = <p,q>\]

OpenStudy (astrophysics):

wait no

OpenStudy (astrophysics):

\[\vec v_1 = 1+x^2\]

Miracrown (miracrown):

lolol

OpenStudy (astrophysics):

\[\vec v_2 = (x-x^2)-\frac{ <(x-x^2) \cdot \vec v_1> }{ <\vec v_1, \vec v_1> } \vec v_1\] actuall idk

Miracrown (miracrown):

we start with one of the vectors itself, then to get the next orthgonal one, we take the next one and subtract it's projection off

OpenStudy (astrophysics):

yeah

OpenStudy (astrophysics):

I guess I'm confused because of the inner product

Miracrown (miracrown):

so, we would take v2 - proj_u1(v2)

OpenStudy (astrophysics):

yeah but what is v1 and v2 l0l

OpenStudy (astrophysics):

thats my main confusion

Miracrown (miracrown):

v1 and v2 are 1+x^2 and x - x&2

OpenStudy (astrophysics):

naw gurl

Miracrown (miracrown):

in either order you like xD

Miracrown (miracrown):

wut

OpenStudy (astrophysics):

i think v1 is 1+x^2 but if we're using gram-schmidt v2 is a bit tricky

OpenStudy (astrophysics):

i think its that ugly thing i put up there, but what do i do with

OpenStudy (astrophysics):

\[<p,q>=p(-1)q(-1)+p(0)q(0)+p(1)q(1)\]

OpenStudy (astrophysics):

plug and chug where

Miracrown (miracrown):

Well, we have to project. So, we would get proj_u1(v2) = <v2,u1> / <u1,u1> * u1

Miracrown (miracrown):

and YES

Miracrown (miracrown):

so, if v1 = 1+x^2 then so does u1

OpenStudy (astrophysics):

what is u1 now

Miracrown (miracrown):

so v2 = x - x^2 so v2 = x - x^2 so we want to evaluate those at -1, 0 , and 1

Miracrown (miracrown):

u1 = v1

Miracrown (miracrown):

where the v's are the original functions, and the u's are the orthoganol ones cx

OpenStudy (astrophysics):

ok I see you just made v1 = u1 ahaha, but i still dont see, with the given info, i understand its the projection but

Miracrown (miracrown):

ok, lets go through et

OpenStudy (astrophysics):

\[\vec v_1 = 1+x^2\]

OpenStudy (astrophysics):

ok watch me whip

OpenStudy (astrophysics):

then watch me nei nei

Miracrown (miracrown):

first let's evaluate the functions at -1, 0, and 1 v1(-1) = 2, v1(0) = 1, v1(1) = 2

Miracrown (miracrown):

so, u1(-1) = 2, u1(0) = 1, u1(1) = 2 as well for v2

Miracrown (miracrown):

v2(-1) = -2, v2(0) = 0, v2(1) = 0

Miracrown (miracrown):

so, <v2,u1> = 2*-2+1*0+2*0 = -4

OpenStudy (astrophysics):

Wait, so lets let \[\vec v_1 = \vec u_1\] where \[\vec u_1 = 1+x^2\] then we have \[\vec v_2 = \vec u_2 - \frac{ <\vec u_2, \vec v_1 >}{ <\vec v_1, \vec v_1> } \vec v_1\] where \[\vec u_2 = x-x^2\]

Miracrown (miracrown):

and <u1,u1> = -2*-2 + 0*0 + 0*0 = 4

Miracrown (miracrown):

so the projection is proj_u1(v2) = <v2,u1> / <u1,u1> * u1 = -4/4 * (1+x^2) = -1-x^2

Miracrown (miracrown):

so, we get u2 = v2 - proj_u1(v2)

Miracrown (miracrown):

= x-x^2 -(-1-x^2) = x+1

OpenStudy (astrophysics):

can you use latex idk what you're doing rofl, i mean i think you're missing some info

Miracrown (miracrown):

i don't know how to latex and i don't like et so go with what i have pls

OpenStudy (astrophysics):

wooow

OpenStudy (astrophysics):

ok

OpenStudy (astrophysics):

i think what i said was right

OpenStudy (astrophysics):

ganeshie didnt even look and bounced

Miracrown (miracrown):

i got a medal frm him tho lmao

OpenStudy (astrophysics):

wooow

Miracrown (miracrown):

oh was it chu e.e

OpenStudy (astrophysics):

look at what i said

OpenStudy (astrophysics):

ill give u one after

OpenStudy (astrophysics):

\(\color{blue}{\text{Originally Posted by}}\) @Astrophysics Wait, so lets let \[\vec v_1 = \vec u_1\] where \[\vec u_1 = 1+x^2\] then we have \[\vec v_2 = \vec u_2 - \frac{ <\vec u_2, \vec v_1 >}{ <\vec v_1, \vec v_1> } \vec v_1\] where \[\vec u_2 = x-x^2\] \(\color{blue}{\text{End of Quote}}\)

Miracrown (miracrown):

YES THAT WORKS!!!

OpenStudy (astrophysics):

and then just plug shat in

OpenStudy (astrophysics):

like

OpenStudy (astrophysics):

i think thats where i was having the real trouble

OpenStudy (astrophysics):

i just figured this out

Miracrown (miracrown):

though, you are using v's and u's in the opposite way that I was, but I can adopt your notation

OpenStudy (astrophysics):

haha yeah its because when i use gram-schmidt the first time i let v1 = x1 etc but that would make it convoluted

Miracrown (miracrown):

cha cha

OpenStudy (astrophysics):

im gonna keep bumping this thread cause medals

Miracrown (miracrown):

lol we are doomed to a little convolution no matter what we do

OpenStudy (astrophysics):

ok so plugging in the numbers is where i need your help really

OpenStudy (astrophysics):

because im a dog and have paws its sort of hard

Miracrown (miracrown):

plug in -1, 0, and 1 into the vectors they give us so that we can take the inner product in the projection

OpenStudy (astrophysics):

okie so we have

OpenStudy (astrophysics):

\[p(x) = 1+x^2\] \[q(x)=x-x^2\] \[p(-1) = 2\] \[p(0)=1\] \[p(1) = 2\] \[q(-1) = -1-(-1)^2 = -2, ~~~q(0) = 0, ~~~q(1) = 0\] ooooh

Miracrown (miracrown):

lookin' gud

OpenStudy (astrophysics):

So we have \[< \vec u_2 , \vec v_1> = q(-1)p(-1)+q(0)p(0)+q(1)p(1)\]

Miracrown (miracrown):

YAS

Miracrown (miracrown):

if you are thinking about it in terms of a direct product, then yes, you could do that, but it's not really what they want you to be thinking

OpenStudy (astrophysics):

yeah I see

OpenStudy (astrophysics):

So we have

OpenStudy (astrophysics):

\[< \vec u_2, \vec v_1> = (-2)(2)+0+0 = -4\]

Miracrown (miracrown):

Yerp

OpenStudy (astrophysics):

\[\vec v_2 = \vec u_2 - \frac{ <\vec u_2, \vec v_1 >}{ <\vec v_1, \vec v_1> } \vec v_1 \] \[<\vec v_1, \vec v_1> = ||\vec v_1||^2 \] \[||\vec v_1||^2 = q(-1)^2+q(0)^2 +q(1)^2 = (-2)^2 = 4\]

Miracrown (miracrown):

Also yerp :D

OpenStudy (astrophysics):

Ok yay so far so good, then \[\vec v_2 = (x-x^2)-\frac{ 4 }{ 4 }(1+x^2) \implies (x-x^2)-(1+x^2) \] \[\implies (x-x^2-1-x^2) = (-2x^2+x-1)\]

Miracrown (miracrown):

don't forget one of those was a -4

OpenStudy (astrophysics):

Oh crap

OpenStudy (astrophysics):

Ty, I was thinking about this other theorem for a sec haha ortho. decomposition theorem or w/e ok so we have \[\vec v_2 = (x-x^2)+1(1+x^2) \implies (x-x^2+1+x^2) = (x+1)\]

Miracrown (miracrown):

Merp :P

OpenStudy (astrophysics):

I do like the sound of that

Miracrown (miracrown):

Haha oh yea

OpenStudy (astrophysics):

<33333333 I just needed you to watch, since you're such an inspiration

Miracrown (miracrown):

No worries hehehehe and awww thx <3

OpenStudy (astrophysics):

ty ty the rest should be good :D

Miracrown (miracrown):

All da best man!

OpenStudy (astrophysics):

:D

OpenStudy (astrophysics):

just bounces

Miracrown (miracrown):

lel

OpenStudy (astrophysics):

ganeshie saw your name medalled and bounceddd

Miracrown (miracrown):

hahaha he could sense it rofl

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!