Help solving this Heat Equation please

Karl Karlsson
Messages
104
Reaction score
12
Homework Statement
***
Relevant Equations
***
I want to solve the heat equation below:
sk.png

I don't understand where the expression for ##2/R\cdot\int_0^R q\cdot sin(k_nr)\cdot r \, dr## came from. The r dependent function is calculated as ##sin(k_nr)/r## not ##sin(k_nr)\cdot r##. I don't even know if ##sin(k_nr)/r## are orthogonal for different ##k_n## values. Why is ##q_n = 2/R\cdot\int_0^R q\cdot sin(k_nr)\cdot r \, dr## ?
 
I think you're expanding a step function ##q(r) = q## for ##r = [0,R]## and ##q(r)=0## for ##r > R## in terms of the ##\sin(k_nr)/r## functions. You're using separation of variables. The functions ##\sin(k_nr)/r## are the spherical Bessels.
 
As is indicated by the [itex]\equiv[/itex] sign, this is a definition of [itex]q_n[/itex]. From the line immediately above, we can infer that [tex] q(r) = \sum_{m=1}^\infty \frac{q_m}{r} \sin(k_mr).[/tex] Now multply by [itex]r \sin(k_n r)[/itex] and integrate between 0 and R: [tex] \int_0^R q(r) \sin (k_nr) r\,dr = \sum_{m=1}^\infty q_m \int_0^R \sin(k_mr) \sin(k_nr)\,dr.[/tex] You should recognise that the integral on the right is zero unless [itex]k_n = \frac{n\pi}{R} = \frac{m\pi}{R} = k_m[/itex] (ie. [itex]n = m[/itex]), in which case it is [itex]R/2[/itex] as you are integrating [itex]\sin^2 (k_n r) = \frac12(1 - \cos (2k_n r))[/itex] over a whole number of periods.
 
Last edited:
  • Like
Likes   Reactions: Karl Karlsson
pasmith said:
As is indicated by the [itex]\equiv[/itex] sign, this is a definition of [itex]q_n[/itex]. From the line immediately above, we can infer that [tex] q(r) = \sum_{m=1}^\infty \frac{q_m}{r} \sin(k_mr).[/tex] Now multply by [itex]r \sin(k_n r)[/itex] and integrate between 0 and R: [tex] \int_0^R q(r) \sin k_nr\,dr = \sum_{m=1}^\infty q_m \int_0^R \sin(k_mr) \sin(k_nr)\,dr.[/tex] You should recognise that the integral on the right is zero unless [itex]k_n = \frac{n\pi}{R} = \frac{m\pi}{R} = k_m[/itex] (ie. [itex]n = m[/itex]), in which case it is [itex]R/2[/itex] as you are integrating [itex]\sin^2 (k_n r) = \frac12(1 - \cos (2k_n r))[/itex] over a whole number of periods.
Thanks!
 
  • Like
Likes   Reactions: berkeman

Similar threads

Replies
3
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
2K
Replies
0
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K