tommyhakinen said:
thanks jambaugh. I have tried it. Basically my problem is on solving non-homogenous second order ODE. I have reached the transformation stage. I just need to solve the ODE. I still do not understand how to solve this:
<br />
\frac{\partial^{2}U(x,s)}{\partial x^{2}} - \frac{s^{2}}{a^{2}}U(x,s) = - \frac{A}{a^{2}}<br />
thanks.
First find the homogeneous solution to
U'' - \frac{s^2}{a^2}U = 0
then find a particular solution to the inhomogeneous equation and add.
The homogeneous equation is linear with constant coefficient so try the form U=Ce^{rx} and you get the characteristic equation (a quadratic equation in r). You get, I believe, two distinct roots so take an arbitrary linear combination of these.
U_h = C_1 e^{r_1 x} + C_2 e^{r_2 x}
The particular solution is most easily obtained by the method of Undetermined Coefficients.
Start with your function f(x) = -\frac{A}{a^2}. Factor out any constants (the whole thing here) to get your starting function,( 1 in your case). Differentiate repeatedly and see if you get a finite set of linearly independent functions. (In this case you get trivially the set { 1 }. If you don't get a finite set (up to constant multipliers) you must use variation of parameters but that's not the case here.
If for example if your function had been kx^3 you'd get \{ x^3, x^2, x,1\}
Or for example if your function had been 7\sin(5x) you'd get \{ \sin(5x), \cos(5x) \}
Now try an arbitrary linear combination from your basis set in the inhomogeneous equation and solve for the coefficients. (In your case take U_p = K\cdot 1 and so its second derivative is zero and you can solve for K trivially. (I think U_p = As^2 but double check.)
Now that you have the general = particular + homogeneous solution
U = C_1 e^{r_1 x} + C_2 e^{r_2 x} + K
you must apply the initial conditions to find some or all of the constants which occur in the homogeneous part.
I believe you are short one initial condition to get a unique solution. Since the x-eqn is 2nd order you'll need two x-value initial conditions. If so then that's OK you'll have an extra parameter in your solution.
Now find the reverse Laplace transform of your solution (you'll note that the constants in the solution depend on s.)
But again you could also do this by executing a second Laplace transform in the x-variable:
\mathbf{L}: U(x,s) \mapsto \tilde{U}(r,s)
Solve the algebraic equation and then double inverse Laplace transform. I suspect that was the intent in order to avoid the above ODE method.