Heat equation problem so confusing

Click For Summary

Homework Help Overview

The problem involves finding the coefficients \( B_n \) in the Fourier sine series expansion of the function \( f(x) = \sin(2\pi x) - \frac{1}{\pi^2} \sin(\pi x) \). The context is related to the heat equation and Fourier series representation.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the integration process required to find \( B_n \) and express confusion about the presence of the variable \( n \) in the integrals. There are questions about the correct formulation of the problem statement and whether a summation sign is needed in the expression for \( B_n \).

Discussion Status

Some participants have provided guidance on how to express the terms in the series and have pointed out the need for clarity in the problem statement. There is ongoing exploration of how to present the final answer, with some suggesting that only a few terms need to be written out rather than an infinite series.

Contextual Notes

There is mention of confusion regarding the format of the heat equation solution and the representation of the Fourier series. Participants are also addressing the implications of having finite nonzero terms in the series expansion.

  • #91
JI567 said:
## \frac {1} {π} \ ## ( ## \frac {2n} {n^2-4} \ ##)
Yes. Nicely done.
so only when n = 1 my Bn will be the result of 2 ## \int_0^1 (cos(2πx) - \frac {1} {π^2} \ ##sin(πx)) * sin(nπx). When n = any other odd numbers except for 1 then Bn will be the result of 2 ## \int_0^1 (cos(2πx) \ ## sin(nπx). For n otherwise Bn = 0. Is this correct...?

So,

##B_1= -\frac{4}{3\pi} - \frac {1} {π^2} \ ##

##B_n=\frac {4} {π} \left(\frac {n} {n^2-4}\right)## for all odd n≥3

##B_n=0## for all even n.

Chet
 
Physics news on Phys.org
  • #92
JI567 said:
Okay like you suggested I have given the whole problem.

Tt = 4Txx + 4 sin(πx)

with 0 < x < 1, x is actually less than and equal too 0, greater than and equal too 1

Boundary is T(0,t) = T(1,t) = 0
Initial condition is T (x,0) = cos (2πx)

So I attempted to find the U(x,t) by U(x,0) = T(x,0) - T(x)

I found T(x) by boundary condition and got 1/π^2 * (sin(πx))

Chestermiller said:
Yes. Nicely done.So,

##B_1= -\frac{4}{3\pi} - \frac {1} {π^2} \ ##

##B_n=\frac {4} {π} \left(\frac {n} {n^2-4}\right)## for all odd n≥3

##B_n=0## for all even n.

Chet

So for this heat equation, can the final solution be written like this

when n = 1
T(x,t) = (-## \frac {4} {3π} \ ## - ## \frac {1} {π^2} \ ##) ## \ e^{-4π^2t} \ ## sin(πx) + ## \frac {1} {π^2} \ ## sin(πx)

and for any odd n greater than or equal to 3

T(x,t) = ((## \frac {4} {π} \ ## ( ## \frac {n} {n^2-4} \ ##)) ## \ e^{-4n^2π^2t} \ ## sin(nπx) + ## \frac {1} {π^2} \ ## sin(πx)

and for all even n

T(x,t) = ## \frac {1} {π^2} \ ## sin(πx)
 
  • #93
Not even close. I'll get back to you later.

Chet
 
  • #94
Here is the results you obtained rendered into a solution:

T(x,t)=\frac{sinπx}{π^2}-(\frac{4}{3\pi} + \frac {1} {π^2})e^{-4π^2t}sinπx+\frac{4}{π}\frac{3}{5}e^{-36π^2t}sin(3πx)+\frac{4}{π}\frac{5}{21}e^{-100π^2t}sin(5πx)+...
Rearranging this in a little different way gives:
T(x,t)=\frac{1}{π^2}(1-e^{-4π^2t})sinπx+\frac{4}{π}\sum_{k=1}^∞\frac{(2k-1)e^{-4(2k-1)^2π^2t}}{(2k-1)^2-4}sin((2k-1)πx)
Can you see how that works?

Chet
 
  • #95
Chestermiller said:
Here is the results you obtained rendered into a solution:

T(x,t)=\frac{sinπx}{π^2}-(\frac{4}{3\pi} + \frac {1} {π^2})e^{-4π^2t}sinπx+\frac{4}{π}\frac{3}{5}e^{-36π^2t}sin(3πx)+\frac{4}{π}\frac{5}{21}e^{-100π^2t}sin(5πx)+...
Rearranging this in a little different way gives:
T(x,t)=\frac{1}{π^2}(1-e^{-4π^2t})sinπx+\frac{4}{π}\sum_{k=1}^∞\frac{(2k-1)e^{-4(2k-1)^2π^2t}}{(2k-1)^2-4}sin((2k-1)πx)
Can you see how that works?

Chet

Oh I see...I added up each U(x,t) to the T(x) separately that's why and totally forgot about the summation thing for odd n. That makes sense. Cheers! However shouldn't the last equation be

T(x,t)=\frac{1}{π^2}(1-e^{-4π^2t}-\frac {4π} {3} e^{-4π^2t})sinπx+\frac{4}{π}\sum_{k=1}^∞\frac{(2k-1)e^{-4(2k-1)^2π^2t}}{(2k-1)^2-4}sin((2k-1)πx)
 
  • #96
JI567 said:
Oh I see...I added up each U(x,t) to the T(x) separately that's why and totally forgot about the summation thing for odd n. That makes sense. Cheers! However shouldn't the last equation be

T(x,t)=\frac{1}{π^2}(1-e^{-4π^2t}-\frac {4π} {3} e^{-4π^2t})sinπx+\frac{4}{π}\sum_{k=1}^∞\frac{(2k-1)e^{-4(2k-1)^2π^2t}}{(2k-1)^2-4}sin((2k-1)πx)
No. Then the summation would have to be from k = 2. I purposely wrote it in this form so that the term outside the summation would represent the separate effect of the heat generation, and the summation would represent the separate effect of the initial condition.

Chet
 
  • #97
Chestermiller said:
No. Then the summation would have to be from k = 2. I purposely wrote it in this form so that the term outside the summation would represent the separate effect of the heat generation, and the summation would represent the separate effect of the initial condition.

Chet

Okay cheers. One question outside solving problems. How in actual engineering does wave equation and heat equation help? How do I use these lengthy solution of equations for like making machines or something.
 
  • #98
JI567 said:
Okay like you suggested I have given the whole problem.

Tt = 4Txx + 4 sin(πx)

with 0 < x < 1, x is actually less than and equal too 0, greater than and equal too 1

Boundary is T(0,t) = T(1,t) = 0
Initial condition is T (x,0) = sin (2πx)

So I attempted to find the U(x,t) by U(x,0) = T(x,0) - T(x)

I found T(x) by boundary condition and got -1/π^2 * (sin(πx))

So then I wrote it like U(x,0)= - 1/π^2 * sin(πx) + sin(2πx) = B1 sin(πx) + B2sin(2πx) so B1 = -1/π^2 and B2 = 1 and Bn =0 for n otherwise

Can I then write the final solution for this heat equation as

T(x,t) = U(x,t) + T(x)
T(x,t) = ## \frac {1} {π^2} \ ## (1- ## \ e^{-4π^2t} \ ##) sin(πx)+ ## \ e^{-16π^2t} sin(2πx) \ ##

is this correct? please check...
 
  • #99
No way. What happened to all the other terms in the summation? Plus, there should be no terms containing sin(2πx). Just write out the terms in the result I gave in post #94.

Chet
 
  • #100
Chestermiller said:
No way. What happened to all the other terms in the summation? Plus, there should be no terms containing sin(2πx). Just write out the terms in the result I gave in post #94.

Chet

The one is post 94 was different initial condition which was cos(2πx). This is exactly the same question as of post 94 but the initial conditions in the previous post if you see is now sin(2πx). That's why the solution is different and thus the term with sin(2πx). Do you still think its wrong?
 
  • #101
JI567 said:
The one is post 94 was different initial condition which was cos(2πx). This is exactly the same question as of post 94 but the initial conditions in the previous post if you see is now sin(2πx). That's why the solution is different and thus the term with sin(2πx). Do you still think its wrong?
Are you saying that this is for a different problem that we haven't discussed before?

Chet
 
  • #102
Chestermiller said:
Are you saying that this is for a different problem that we haven't discussed before?

Chet

Yes different problem. But only thing different is the initial condition...
 
  • #103
JI567 said:
Yes different problem. But only thing different is the initial condition...
Then, the solution looks OK, but you didn't need to use Fourier Series to solve this.

Chet
 
  • #104
Chestermiller said:
Then, the solution looks OK, but you didn't need to use Fourier Series to solve this.

Chet

This is the only way I was taught to solve inhomogeneous questions like these... like finding the Bn and then solving for U(x,t)...is the solution really correct though?
 
  • #105
JI567 said:
This is the only way I was taught to solve inhomogeneous questions like these... like finding the Bn and then solving for U(x,t)...is the solution really correct though?
As best I can tell, yes.

Chet
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K