Integration question below! Any help would be appreciated :)
Supposed that f(x) os such that f''(x) is continuous between [0,pi], and f(pi)=1. Also, \[\int\limits_{0}^{\pi} f(x)+f''(x)\sin(x)dx=2\] Find f(0).
what happens if you played with your integral there write as two and then have some fun with integration by parts have you tried this?
Correction on the question by the way: it's (f(x)+(f''(x))sin(x)** @freckles I'll try it out. :)
yep it should totally work now with that correction :) i'm talking about writing as two integrals and using integration by parts
you want to see NO more f'' stuff only f stuff
\[(I)\quad\int_0^\pi \bigl(f(x)+(f''(x)\sin(x))\bigr)dx\] or \[(II)\quad \int_0^\pi \bigl((f(x)+f''(x))\sin(x))\bigr)dx\]
II
he had unmatched delimiters but i'm like 99% sure he means II
( f+ f'' ) * sin right?
yeah
I also messed up the parens..
lol didn't count
I meant II, sorry haha
how is going salt
like are you able to see where the integration by parts will help?
still pretty salty, i think i got it now. will check up again in a few, if that's ok
k
thanks again
np
Hmm this is a cool problem :)
This is me being picky, but there's no reason integrating by parts to remove all instances of \(f\) (instead of \(f''\)) wouldn't work.
except we are given more information about f than f'' or f' such as the f(pi)=1 thing
@mortonsalt you start with splitting the integral into two: \[\int_0^\pi (f(x)+f''(x))\sin(x) dx = \int_0^\pi f(x)\sin(x)dx + \int_0^\pi f''(x)\sin(x)dx =(I) + (II)\] And apply the IPP differently on both integrals. =>(I)= (a+integral1) and (II)=(b+integral2). Do you see that integral1 and integral2 cancel out?
Seems to be a problem displaying the equation you typed out @reemii :(
\[\int_0^\pi (f(x)+f''(x))\sin(x) dx\\ = \int_0^\pi f(x)\sin(x)dx + \int_0^\pi f''(x)\sin(x)dx\\ =(I) + (II)\]
Yep, I've done that. :) I think I've got it sorted @reemii
good job
@freckles The nice thing about this problem is that the result is independent of that information in the sense that the info is used whichever way IBP is carried out (and we don't need any additional facts about \(f\) or its derivatives). Let \[\color{red}I+\color{blue}J=\color{red}{\int_0^\pi f(x)\sin x\,\mathrm{d}x}+\color{blue}{\int_0^\pi f''(x)\sin x\,\mathrm{d}x}\] Integrating by parts by differentiating \(f\) in \(I\) twice gives the relation \[\begin{align*}I&=1+f(0)+\int_0^\pi f'(x)\cos x\,\mathrm{d}x\\[1ex] &=1+f(0)+\left(0-\int_0^\pi f''(x)\sin x\,\mathrm{d}x\right)\\[1ex] &=1+f(0)-J \end{align*}\]Meanwhile, differentiating \(\sin x\) in \(J\) twice gives \[\begin{align*} J&=0-\int_0^\pi f'(x)\cos x\,\mathrm{d}x\\[1ex] &=-\left(-1-f(0)+\int_0^\pi f(x)\sin x\,\mathrm{d}x\right)\\[1ex] &=1+f(0)-I \end{align*}\]In both cases, \(I+J=2=1+f(0)\) and the result follows.
touche' I think I still prefer the other way though as it only requires two rounds of IBP. :p
Join our real-time social learning platform and learn together with your friends!