How to solve y′′+y=x^2?

szklanovqq

szklanovqq

Answered question

2022-11-03

How to solve y + y = x 2 ?
Taking the Laplace transform (and using the fact that it is a linear operator) on both sides I get:
L ( y ) = 2 s 3 ( s 2 + 1 ) + y ( 0 ) s s 2 + 1 + y ( 0 ) 1 s 2 + 1
And hence:
y = 2 G ( x ) + y ( 0 ) cos x + y ( 0 ) sin x
Where G(x) is the inverse Laplace transform of:
1 s 3 ( s 2 + 1 )
How do I find this inverse Laplace transform

Answer & Explanation

Zoe Andersen

Zoe Andersen

Beginner2022-11-04Added 16 answers

As for the Laplace solution you asked for, you can split the fraction like this:
1 s 3 ( s 2 + 2 ) = A s + B s 2 + C s 3 + D s + E s 2 + 1
= A s 4 + A s 2 + B s 3 + B s + C s 2 + 2 C + D s 4 + E s 3 s 3 ( s 2 + 1 )
= ( A + D ) s 4 + ( B + E ) s 3 + ( A + C ) s 2 + B s + C s 3 ( s 2 + 1 )
By identification, you find B = 0 , E = 0 , C = 1 , A = 1 , D = 1
Adrian Brown

Adrian Brown

Beginner2022-11-05Added 4 answers

Hint. If one wants to proceed on your route, by a partial fraction decomposition, one has
1 s 3 ( s 2 + 1 ) = 1 s + 1 s 3 + s 1 + s 2
giving
L 1 ( 1 s 3 ( s 2 + 1 ) ) ( t ) = 1 + t 2 2 + cos t
using standard properties of the inverse Laplace transform.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?