# Solving non homogeneous ODE

how do we solve an ODE which has forcing function in terms of Fourier series?
i have attached a pdf file of the problem.

#### Attachments

• 191.2 KB Views: 174

Related Differential Equations News on Phys.org
ShayanJ
Gold Member
At first you should find the general solution of the homogenous equation.Then you should find the particular solutions of the in-homogenous equations. I use plural words because you have in fact 25 in-homogenous equations with the driving functions being the terms in the Fourier series. That's because the equation is linear and so you can just consider each term the only one which is there and find the particular solution corresponding only to that term and then add the particular solutions together and to the general solution of the homogenous equation to get the answer.

it will be very laborious right by hand calculation? is it possible to solve on matlab by writing code?

ShayanJ
Gold Member
it will be very laborious right by hand calculation? is it possible to solve on matlab by writing code?
You're not going to actually solve 25 differential equations!
Just solve it with n,without giving it specific values,Which means you're going to solve only 2 differential equations one of which is the representative of 24 differential equations.
But yes,you can solve it with softwares like MatLab too.

yeah. got it. thanks for helping me Shyan. yes i realized it was silly thing to ask.

Shyan, let say if we have 2 second order simultaneous non homogeneous equations which are coupled, is there any way to solve it?
i have included a typical problem in an attachment.

#### Attachments

• 309.2 KB Views: 188