Is my work correct?

  • Thread starter bancux
  • Start date
  • #1
12
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]
 

Answers and Replies

  • #2
318
0
No, your third line is not correct. Separation of variables does not work for second order DE.
 
  • #3
12
0
No, your third line is not correct. Separation of variables does not work for second order DE.
So what is the correct solution?
 
  • #4
318
0
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.
 
  • #5
12
0
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
 
  • #6
318
0
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.
 
  • #7
12
0
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

Related Threads on Is my work correct?

  • Last Post
Replies
2
Views
867
Replies
6
Views
764
  • Last Post
Replies
9
Views
645
  • Last Post
Replies
1
Views
961
  • Last Post
Replies
1
Views
921
  • Last Post
Replies
13
Views
2K
  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
7
Views
2K
  • Last Post
Replies
1
Views
907
  • Last Post
Replies
3
Views
724
Top