Second Order ODE Using Laplace Transforms

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
jazznaz
Messages
23
Reaction score
0
Little homework problem that I'm beating myself up over...

Solve:

[tex]xy'' - 2y' + xy = -2\cos x[/tex]

Using the method of Laplace transforms...

So I do some jiggling and get to:

[tex](1+s^{2})\frac{dF}{ds}+4sF(s) = \frac{2s}{s^{2} + 1}[/tex]

To which I find the following solution:

[tex]F(s) = \frac{C}{(1 + s^{2})^{2}} + \frac{s^{2}}{(1 + s^{2})^{2}}[/tex]

But I'm supposed to get to:

[tex]F(s) = \frac{C}{(1 + s^{2})^{2}} + \frac{s^{2}-1}{(1 + s^{2})^{2}}[/tex]

But the method I'm using to solve the first order ODE (variation of parameters/constants) won't seem to lead to the answer I need. It almost looks as though I should include an aribtrary constant where they're expecting me to get -1, but it seems that any constant value will be a solution to the first order DE obtained after applying the transform. So I don't really understand how they've deduced that it should be -1...

We've been given the answer to the problem,

[tex]y = \frac{C}{2}(\sin x - x\cos x) + x\cos x[/tex]

Where the result is obtained easily using a table of Laplace Transforms.
 
Physics news on Phys.org
jazznaz said:
[tex]F(s) = \frac{C}{(1 + s^{2})^{2}} + \frac{s^{2}}{(1 + s^{2})^{2}}[/tex]

But I'm supposed to get to:

[tex]F(s) = \frac{C}{(1 + s^{2})^{2}} + \frac{s^{2}-1}{(1 + s^{2})^{2}}[/tex]

Those are equivalent. To see this, start from the second expression.

[tex]F(s) = \frac{C}{(1 + s^{2})^{2}} + \frac{s^{2}-1}{(1 + s^{2})^{2}}[/tex]

[tex]F(s) = \frac{C+s^2-1}{(1 + s^{2})^{2}}[/tex]

[tex]F(s) = \frac{s^2+(C-1)}{(1 + s^{2})^{2}}[/tex]

Since C is an arbitrary constant, so is C-1.
 
So the justification is altering the constant to give a nice form for the inverse Laplace transform?

Thanks very much!