Ask your own question, for FREE!
Mathematics 8 Online
OpenStudy (loser66):

In \(C([0,1])\) find d(f,g) where f(x) =1 and g(x) =x for = \(\int_0^1f(x)g(x)dx\) Please, help

OpenStudy (loser66):

@SithsAndGiggles

OpenStudy (anonymous):

Is \(d(f,g)\) supposed to be a metric?

OpenStudy (loser66):

Yes

OpenStudy (loser66):

It's distance function

OpenStudy (anonymous):

Alright, so in this set, what is the metric defined as? Is it the same as the modulus?

OpenStudy (loser66):

d(v,w) =||v-w||

OpenStudy (loser66):

It's a norm

OpenStudy (anonymous):

Okay, if I'm remembering this correctly, I think the norm of a vector is given by the square root of the inner product of the vector with itself. \[\begin{align*} d(f,g)&=\|f-g\|\\\\ &=\sqrt{\langle f-g,f-g\rangle}\\\\ &=\int_0^1\bigg(f(x)-g(x)\bigg)^2~dx\end{align*}\]

OpenStudy (anonymous):

Oops, forgot the square root: \[d(f,g)=\color{red}{\sqrt{\color{black}{\int_0^1\bigg(f(x)-g(x)\bigg)^2~dx}}}\]

OpenStudy (loser66):

\[\begin{align*} d(f,g)&=\|f-g\|\\\\ &=\sqrt{\langle f-g,f-g\rangle}\\\\ &=\int_0^1\bigg(f(x)-g(x)\bigg)^2~dx\end{align*}\] I don't get the last line

OpenStudy (loser66):

\[\sqrt {<f-g, f-g>}=\sqrt{<f, f-g>-<g,f-g>}\\=\sqrt{<f,f>-<g,f>-<g,f>+<g,g>}\]

OpenStudy (loser66):

\[=\sqrt{||f||^2-2\int_0^1f(x)g(x)dx +||g||^2}\]

OpenStudy (loser66):

So that I don't get how can you get the last line

OpenStudy (anonymous):

I missed adding the square root. You should get the same thing when it's included in my equations. \[\begin{align*}\sqrt{\int_0^1\bigg(f(x)-g(x)\bigg)^2~dx}&=\sqrt{\int_0^1\bigg(f^2(x)-2f(x)g(x)+g^2(x)\bigg)~dx}\\\\ &=\sqrt{\langle f,f\rangle-2\langle g,f\rangle+\langle g,g\rangle} \end{align*}\]

OpenStudy (loser66):

oh, it's new to me since I don't have that equation :).

OpenStudy (loser66):

Yes, so it is 1, right?

OpenStudy (anonymous):

I'm getting \(\dfrac{1}{\sqrt3}\)... Make sure you're integrating correctly.

OpenStudy (loser66):

show me please,

OpenStudy (anonymous):

\[\begin{align*} d(f,g)&=\|f-g\|\\\\ &=\sqrt{\langle f-g,f-g\rangle}\\\\ &=\sqrt{\int_0^1\bigg(f(x)-g(x)\bigg)^2~dx}\\\\ &=\sqrt{\int_0^1(1-x)^2~dx}\\\\ &=\sqrt{-\int_1^0u^2~du}\\\\ &=\sqrt{\int_0^1u^2~du}\\\\ &=\sqrt{\frac{1}{3}} \end{align*}\]

OpenStudy (loser66):

I got you. Thanks a lot How about sup norm?

OpenStudy (loser66):

By definition of sup norm , the metric given by sup norm is the largest vertical separation between the functions. Our functions have the interval [0,1], so that sup norm =1, right?

OpenStudy (anonymous):

I think so, yes.

OpenStudy (loser66):

I still have problem on our different ways :(

OpenStudy (anonymous):

I'm not seeing what's so different about them... From the defined inner product, you have \[\langle f-g,f-g\rangle=\int_0^1(f-g)(f-g)~dx\]

OpenStudy (loser66):

\[\sqrt{<f,f>-<g,f>-<g,f>+<g,g>}=\sqrt{||f||^2-2<f,g>+||g||^2}\\=\sqrt{1-2\int_0^1xdx+x^2}\]

OpenStudy (loser66):

it's =1 but open on your way, it is \(1/sqrt 3\)

OpenStudy (anonymous):

\[\sqrt{1-2\int_0^1x~dx+\int_0^1 x^2~dx}=\sqrt{1-2\left(\frac{1}{2}\right)+\frac{1}{3}}\]

OpenStudy (loser66):

Got you. I have to apply the definition on <g,g> also, not just ||g||^2 like what I did. right?

OpenStudy (anonymous):

Yeah, \[\langle g,g\rangle=\int_0^1x\cdot x~dx=\cdots=\|g\|^2\]

OpenStudy (loser66):

Thanks a lot. I do appreciate :)

OpenStudy (anonymous):

You're welcome!

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!