Solve Differential Equation: Is My Work Correct?

  • Thread starter Thread starter bancux
  • Start date Start date
  • Tags Tags
    Work
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
6 replies · 2K views
bancux
Messages
11
Reaction score
0

Homework Statement


I need to work on a differential equation.
[tex] \frac{d^2T}{dx^2} - (m+n\ sin(kx))\ T = 0[/tex]

Homework Equations


Is my work correct?

The Attempt at a Solution


[tex] \frac{d^2T}{dx^2} - (m+n\ sin(kx))\ T = 0[/tex]
[tex] \frac{d}{dx}\left(\frac{dT}{dx} \right) = (m+n\ sin(kx))\ T [/tex]

[tex] \int \frac{d}{T}\left(\frac{dT}{dx} \right) = \int (m+n\ sin(kx)) \ dx[/tex]
[tex] \frac{1}{T}\left(\frac{dT}{dx} \right) = mx-\frac{n}{k}\ cos(kx)+C_1[/tex]

[tex] \int \frac{dT}{T} = \int (mx-\frac{n}{k}\ cos(kx)+C_1)\ dx[/tex]

[tex] ln T = \frac{m}{2}x^2-\frac{n}{k^2}sin(kx)+C_1x+C_2[/tex]

[tex] T = e^{\frac{m}{2}x^2-\frac{n}{k^2}sin(kx)+C_1x}\ e^{C_2}[/tex]

[tex] T = e^{\frac{m}{2}x^2-\frac{n}{k^2}sin(kx)+C_1x}\ C_2[/tex]
 
Physics news on Phys.org
No, your third line is not correct. Separation of variables does not work for second order DE.
 
betel said:
No, your third line is not correct. Separation of variables does not work for second order DE.

So what is the correct solution?
 
Do you want me to solve your work or give you hints?

There is no obvious way to solve this equation. You could try a Fourier series expansion for T.
 
Well actually my question is because I am trying to solve the homogeneous part of a 2nd order inhomogeneous differential equation with variable coefficient.

Could you give some hints on the Fourier expansion, or any good reference to that?
My main goal is to solve the differential equation which I mentioned earlier.

Thanks
 
So this DE is not some part of a homework assignment?
Because I did not find a nice analytic solution using mathematica.

The method to solve the DE depends also on what you want to do with the solution afterwards. Fouriersieries might give you a solution but you it could not be very useful.

So what is the background you are trying to solve this equation? Are m,n,k fixed or do they have to be chosen. For some values solutions might exist, for some not.

I'll try to find and explicit way to solve the equation in the meantime.
 
betel said:
So this DE is not some part of a homework assignment?
Because I did not find a nice analytic solution using mathematica.

The method to solve the DE depends also on what you want to do with the solution afterwards. Fouriersieries might give you a solution but you it could not be very useful.

So what is the background you are trying to solve this equation? Are m,n,k fixed or do they have to be chosen. For some values solutions might exist, for some not.

I'll try to find and explicit way to solve the equation in the meantime.

It is not a homework though I do need some result on this.
I have attached a pdf file so that you can have a better view on my problem.

Thank you.
 

Attachments