Mathematics
17 Online
OpenStudy (astrophysics):
@Miracrown
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
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\}\]
10 years ago
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
10 years ago
OpenStudy (astrophysics):
I think we let \[\vec v_1 = <p,q>\]
10 years ago
OpenStudy (astrophysics):
wait no
10 years ago
OpenStudy (astrophysics):
\[\vec v_1 = 1+x^2\]
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
Miracrown (miracrown):
lolol
10 years ago
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
10 years ago
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
10 years ago
OpenStudy (astrophysics):
yeah
10 years ago
OpenStudy (astrophysics):
I guess I'm confused because of the inner product
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
Miracrown (miracrown):
so, we would take v2 - proj_u1(v2)
10 years ago
OpenStudy (astrophysics):
yeah but what is v1 and v2 l0l
10 years ago
OpenStudy (astrophysics):
thats my main confusion
10 years ago
Miracrown (miracrown):
v1 and v2 are 1+x^2 and x - x&2
10 years ago
OpenStudy (astrophysics):
naw gurl
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
Miracrown (miracrown):
in either order you like xD
10 years ago
Miracrown (miracrown):
wut
10 years ago
OpenStudy (astrophysics):
i think v1 is 1+x^2 but if we're using gram-schmidt v2 is a bit tricky
10 years ago
OpenStudy (astrophysics):
i think its that ugly thing i put up there, but what do i do with
10 years ago
OpenStudy (astrophysics):
\[<p,q>=p(-1)q(-1)+p(0)q(0)+p(1)q(1)\]
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (astrophysics):
plug and chug where
10 years ago
Miracrown (miracrown):
Well, we have to project. So, we would get proj_u1(v2) = <v2,u1> / <u1,u1> * u1
10 years ago
Miracrown (miracrown):
and YES
10 years ago
Miracrown (miracrown):
so, if v1 = 1+x^2 then so does u1
10 years ago
OpenStudy (astrophysics):
what is u1 now
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
Miracrown (miracrown):
so v2 = x - x^2 so v2 = x - x^2 so we want to evaluate those at -1, 0 , and 1
10 years ago
Miracrown (miracrown):
u1 = v1
10 years ago
Miracrown (miracrown):
where the v's are the original functions, and the u's are the orthoganol ones cx
10 years ago
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
10 years ago
Miracrown (miracrown):
ok, lets go through et
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (astrophysics):
\[\vec v_1 = 1+x^2\]
10 years ago
OpenStudy (astrophysics):
ok watch me whip
10 years ago
OpenStudy (astrophysics):
then watch me nei nei
10 years ago
Miracrown (miracrown):
first let's evaluate the functions at -1, 0, and 1
v1(-1) = 2, v1(0) = 1, v1(1) = 2
10 years ago
Miracrown (miracrown):
so, u1(-1) = 2, u1(0) = 1, u1(1) = 2 as well for v2
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
Miracrown (miracrown):
v2(-1) = -2, v2(0) = 0, v2(1) = 0
10 years ago
Miracrown (miracrown):
so, <v2,u1> = 2*-2+1*0+2*0 = -4
10 years ago
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\]
10 years ago
Miracrown (miracrown):
and <u1,u1> = -2*-2 + 0*0 + 0*0 = 4
10 years ago
Miracrown (miracrown):
so the projection is
proj_u1(v2) = <v2,u1> / <u1,u1> * u1 = -4/4 * (1+x^2) = -1-x^2
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
Miracrown (miracrown):
so, we get u2 = v2 - proj_u1(v2)
10 years ago
Miracrown (miracrown):
= x-x^2 -(-1-x^2) = x+1
10 years ago
OpenStudy (astrophysics):
can you use latex idk what you're doing rofl, i mean i think you're missing some info
10 years ago
Miracrown (miracrown):
i don't know how to latex and i don't like et so go with what i have pls
10 years ago
OpenStudy (astrophysics):
wooow
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (astrophysics):
ok
10 years ago
OpenStudy (astrophysics):
i think what i said was right
10 years ago
OpenStudy (astrophysics):
ganeshie didnt even look and bounced
10 years ago
Miracrown (miracrown):
i got a medal frm him tho lmao
10 years ago
OpenStudy (astrophysics):
wooow
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
Miracrown (miracrown):
oh was it chu e.e
10 years ago
OpenStudy (astrophysics):
look at what i said
10 years ago
OpenStudy (astrophysics):
ill give u one after
10 years ago
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}}\)
10 years ago
Miracrown (miracrown):
YES THAT WORKS!!!
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (astrophysics):
and then just plug shat in
10 years ago
OpenStudy (astrophysics):
like
10 years ago
OpenStudy (astrophysics):
i think thats where i was having the real trouble
10 years ago
OpenStudy (astrophysics):
i just figured this out
10 years ago
Miracrown (miracrown):
though, you are using v's and u's in the opposite way that I was, but I can adopt your notation
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
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
10 years ago
Miracrown (miracrown):
cha cha
10 years ago
OpenStudy (astrophysics):
im gonna keep bumping this thread cause medals
10 years ago
Miracrown (miracrown):
lol we are doomed to a little convolution no matter what we do
10 years ago
OpenStudy (astrophysics):
ok so plugging in the numbers is where i need your help really
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (astrophysics):
because im a dog and have paws its sort of hard
10 years ago
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
10 years ago
OpenStudy (astrophysics):
okie so we have
10 years ago
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
10 years ago
Miracrown (miracrown):
lookin' gud
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (astrophysics):
So we have \[< \vec u_2 , \vec v_1> = q(-1)p(-1)+q(0)p(0)+q(1)p(1)\]
10 years ago
Miracrown (miracrown):
YAS
10 years ago
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
10 years ago
OpenStudy (astrophysics):
yeah I see
10 years ago
OpenStudy (astrophysics):
So we have
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (astrophysics):
\[< \vec u_2, \vec v_1> = (-2)(2)+0+0 = -4\]
10 years ago
Miracrown (miracrown):
Yerp
10 years ago
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\]
10 years ago
Miracrown (miracrown):
Also yerp :D
10 years ago
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)\]
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
Miracrown (miracrown):
don't forget one of those was a -4
10 years ago
OpenStudy (astrophysics):
Oh crap
10 years ago
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)\]
10 years ago
Miracrown (miracrown):
Merp :P
10 years ago
OpenStudy (astrophysics):
I do like the sound of that
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
Miracrown (miracrown):
Haha oh yea
10 years ago
OpenStudy (astrophysics):
<33333333 I just needed you to watch, since you're such an inspiration
10 years ago
Miracrown (miracrown):
No worries hehehehe and awww thx <3
10 years ago
OpenStudy (astrophysics):
ty ty the rest should be good :D
10 years ago
Miracrown (miracrown):
All da best man!
10 years ago
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (astrophysics):
:D
10 years ago
OpenStudy (astrophysics):
just bounces
10 years ago
Miracrown (miracrown):
lel
10 years ago
OpenStudy (astrophysics):
ganeshie saw your name medalled and bounceddd
10 years ago
Miracrown (miracrown):
hahaha he could sense it rofl
10 years ago