Find a solution to the given initial-value problem using Green's functions
Find a solution to the given initial-value problem using Green's functions $$y"+3y'+2y= \frac{1}{1+e^x}; y(0)=0,y'(0)=1$$ So I have figured out that $$y_c=e^{-x}-e^{-2x}$$ Now I am having issues figuring out what $y_p$ is. This is what I have so far: $$y_1=e^{-x}, y_2=e^{-2x},$$ so $$W(y_1, y_2)=-e^{-3x}.$$ $$G(x,t)=\frac{e^{-t}e^{-2x}-e^{-x}e^{-2t}}{-e^{-3x}} = -e^{-t}e^{x}+e^{-2t}e^{2x}$$ $$y_p=\int^x_0 G(x,t)f(t)dt$$ $$y_p=-e^x \int^x_0 \frac{e^{-t}}{1+e^t}dt+e^{2x} \int^x_0 \frac{e^{-2t}}{1+e^t}dt$$ So $$y_p=-\ln(e^{-x}+1)(e^x+e^{2x})-\frac{e^{2x}}{2}+\frac{1}{2}+(e^{x}+e^{2x})\ln(2)$$ Is this correct?
I am getting stuck integrating. Like the last 2 lines
I used wolfram to integrate. Idk this function totally scares me
Well, I haven't done much with Green's Function, but when I just plug the whole equation into wolfram, it doesn't seem to agree.
I do remember that you should have something that looks like \[c_1e^{-x}+c_2e^{-2x}+e^{-x}f(x)+e^{-2x}g(x)\]though.
Ya that is more or less the answer but how come I cant come to that answer when integrating :(
aww u got y(0) AND Y'(0) if only they let u use laplace
Have not learned Laplace yet
Wolfram isn't working for me, and I don't have immediate access to mathematica :(
Guess what?!?!? I will fudge the answer :)
hmm i dont rememer that formula for y particular.. are u sure u are doing that part right they usually set it up so that part simplifies
Well, it's cloe to what wolfram is getting, but some signs seem to be disappearing/changing.
did u double check the formula and wronskin just in case
The Wronskin is really simple so that I def got right
okay then i guess ur using parts
Everything seems right to me. It just has a few things go weird at the end.
Yaaaa I was using scraps of paper so I may have messed up. Gonna go try again
Maybe I will just keep it in the integral form and not bother integrating
Even if a few signs are mixed up I think I will still land up with something similar to this. Something ugly looking
Yeah, it'll definitely still be ugly.
Ok so then I guess I will leave it in the integral form
Thanks KG :)
I always can count on u
You're welcome.
Join our real-time social learning platform and learn together with your friends!