Do I have to find separately T_1, T_3 and T_n for n = 1,3?

  • MHB
  • Thread starter mathmari
  • Start date
In summary, the problem involves finding the solution $u(x,t)$ for the partial differential equation $u_t=u_{xx}+f(x,t)$ with given boundary and initial conditions. The function $f(x,t)$ is expanded using a Fourier series, and the solution $u(x,t)$ is also written as a Fourier series. Solving for the coefficients, we get expressions for $T_1(t)$ and $T_3(t)$, which are different from the ones in the notes. It is unclear which conditions are used to expand $f(x,t)$ in an odd way.
  • #1
mathmari
Gold Member
MHB
5,049
7
Hey! :eek:

I have to solve the following problem:
$$u_t=u_{xx}+f(x,t), 0<x<L, t>0$$
$$u(0,t)=u(L,t)=0, t>0$$
$$u(x,0)=0, 0<x<L$$
$$f(0,t)=f(L,t)=0, t>0$$
$$f(x,t)=e^t \sin{(\frac{\pi x }{L})}+2t \sin{(\frac{3 \pi x }{L})}$$

I have done the following:

I write $f$ as a Fourier series:
$$f(x,t)=\sum_{n=1}^{\infty}{F_n(t) \sin{(\frac{n \pi x}{L})}}$$
$$n \neq 1,3: F_n(t)=\frac{2}{L} \int_0^L \sin{(\frac{n \pi x}{L})}dx=0$$
$$F_1(t)=\frac{2}{L} \int_0^L (e^t \sin{(\frac{ \pi x}{L})}+2t \sin{(\frac{3 \pi x}{L})} ) \sin{(\frac{\pi x}{L})}dx=e^t$$
$$F_3(t)=\frac{2}{L} \int_0^L (e^t \sin{(\frac{ \pi x}{L})}+2t \sin{(\frac{3 \pi x}{L})} ) \sin{(\frac{3 \pi x}{L})}dx=2t$$
So $$f(x,t)=F_1(t) \sin{(\frac{\pi x}{L})}+F_3(t) \sin{(\frac{3 \pi x}{L})}=e^t \sin{(\frac{\pi x}{L})}+2t \sin{(\frac{3 \pi x}{L})}$$

I write $u$ as a Fourier series:
$$u(x,t)=\sum_{n=1}^{\infty}{T_n(t) \sin{(\frac{n \pi x}{L})}}$$
$$u_t=\sum_{n=1}^{\infty}{T_n'(t) \sin{(\frac{n \pi x}{L})}}$$
$$u_{xx}=\sum_{n=1}^{\infty}{-\frac{n^2 \pi^2}{L^2}T_n(t) \sin{(\frac{n \pi x}{L})}}$$
Replacing at the problem, we get:
$$\sum_{n=1}^{\infty}{T_n'(t) \sin{(\frac{n \pi x}{L})}}=\sum_{n=1}^{\infty}{(-\frac{n^2 \pi^2}{L^2}T_n(t) +F_n(t))\sin{(\frac{n \pi x}{L})}}$$
$$T_n'(t) + \frac{n^2 \pi^2}{L^2}T_n(t)=F_n(t)$$

How can I continue??
Do I have to find separately $T_1$, $T_3$ and $T_n \text{ for } n\neq 1,3$?? (Wondering)
 
Physics news on Phys.org
  • #2
mathmari said:
Hey! :eek:

Hi! (Happy)

How can I continue??
Do I have to find separately $T_1$, $T_3$ and $T_n \text{ for } n\neq 1,3$?? (Wondering)

Sounds like a good plan to me... (Mmm)
 
  • #3
I like Serena said:
Hi! (Happy)
Sounds like a good plan to me... (Mmm)

I tried to solve it in that way.

I got the following finding first the solution of the homogeneous equation and then the particular solution:

$$T_1(t)=A_n(t) e^{-\frac{\pi^2 t}{L^2}}, \text{ where } A_n(t)=\frac{L^2}{L^2+\pi^2} (e^{(1+\frac{\pi^2}{L^2})t}-1)$$

$$T_3(t)=B_n(t) e^{-\frac{9 \pi^2 t}{L^2}}, \text{ where } B_n(t)=\frac{2 t L^2}{9 \pi^2} e^{\frac{9 \pi^2 t}{L^2}}-\frac{2 L^4}{81 \pi^4} (e^{\frac{ 9 \pi^2 t}{L^2}}-1)$$

$$T_n=0, \text{ for } n \neq 0$$

So the solution would be:
$$u(x,t)=T_1(t) \sin{(\frac{\pi x }{L})}+T_3(t) \sin{(\frac{3 \pi x}{L})}$$

In my notes there is the following:
$$T_1(t)=\frac{1}{3}(e^t-e^{-2t})$$
$$T_3(t)=\frac{1}{9}(t+\frac{1}{18}(e^{-18 t}-1))$$
$$u(x,t)=T_1(t) \sin{(\frac{\pi x }{L})}+T_3(t) \sin{(\frac{3 \pi x}{L})}$$

It's different from what I've found...What have I done wrong? (Wondering)
 
  • #4
mathmari said:
I tried to solve it in that way.

I got the following finding first the solution of the homogeneous equation and then the particular solution:

$$T_1(t)=A_n(t) e^{-\frac{\pi^2 t}{L^2}}, \text{ where } A_n(t)=\frac{L^2}{L^2+\pi^2} (e^{(1+\frac{\pi^2}{L^2})t}-1)$$

$$T_3(t)=B_n(t) e^{-\frac{9 \pi^2 t}{L^2}}, \text{ where } B_n(t)=\frac{2 t L^2}{9 \pi^2} e^{\frac{9 \pi^2 t}{L^2}}-\frac{2 L^4}{81 \pi^4} (e^{\frac{ 9 \pi^2 t}{L^2}}-1)$$

$$T_n=0, \text{ for } n \neq 0$$

So the solution would be:
$$u(x,t)=T_1(t) \sin{(\frac{\pi x }{L})}+T_3(t) \sin{(\frac{3 \pi x}{L})}$$

In my notes there is the following:
$$T_1(t)=\frac{1}{3}(e^t-e^{-2t})$$
$$T_3(t)=\frac{1}{9}(t+\frac{1}{18}(e^{-18 t}-1))$$
$$u(x,t)=T_1(t) \sin{(\frac{\pi x }{L})}+T_3(t) \sin{(\frac{3 \pi x}{L})}$$

It's different from what I've found...What have I done wrong? (Wondering)

I replaced the result I found at the problem and it satisfies it...

I also replaced the result from my notes at the problem, but it doesn't satisfy it, does it? (Wondering)

So is the my result correct?? (Thinking)
 
  • #5
mathmari said:
I replaced the result I found at the problem and it satisfies it...

I also replaced the result from my notes at the problem, but it doesn't satisfy it, does it? (Wondering)

So is the my result correct?? (Thinking)

Or isn't it correct?? (Wondering) (Tauri)
 
  • #6
mathmari said:
$$u_t=u_{xx}+f(x,t), 0<x<L, t>0$$
$$u(0,t)=u(L,t)=0, t>0$$
$$u(x,0)=0, 0<x<L$$
$$f(0,t)=f(L,t)=0, t>0$$
$$f(x,t)=e^t \sin{(\frac{\pi x }{L})}+2t \sin{(\frac{3 \pi x }{L})}$$

I have done the following:

I write $f$ as a Fourier series:
$$f(x,t)=\sum_{n=1}^{\infty}{F_n(t) \sin{(\frac{n \pi x}{L})}}$$

Do we expand the function $f$ in an odd way due to the conditions:
$u(0,t)=u(L,t)=0, t>0$
or due to the conditions:
$f(0,t)=f(L,t)=0, t>0$ ?? (Thinking)
 

Related to Do I have to find separately T_1, T_3 and T_n for n = 1,3?

1. What are T_1, T_3, and T_n?

T_1, T_3, and T_n refer to different values of temperature that are being measured or calculated. T_1 and T_3 specifically refer to the first and third temperature values, while T_n can refer to any temperature value in a sequence.

2. Why do I need to find these temperatures separately?

Finding these temperatures separately allows for a more specific and accurate analysis of the data. It can also help to identify any patterns or trends in the temperature values.

3. Do I have to find all three temperatures for every value of n?

No, you only need to find T_1 and T_3 for n = 1 and T_n for the specified value of n. If n is not specified, then you can choose any value for n and find the corresponding T_n.

4. Can I use the same method to find all three temperatures?

It depends on the specific situation and the data being analyzed. In some cases, the same method may work for all three temperatures, while in others, different methods may be needed.

5. Is there a specific formula or equation to find these temperatures?

Again, it depends on the data and the situation. There may be a specific formula or equation that can be used, but in some cases, the temperatures may need to be found through experimentation or other methods.

Similar threads

  • Differential Equations
Replies
7
Views
410
  • Differential Equations
Replies
5
Views
2K
  • Differential Equations
Replies
2
Views
1K
Replies
8
Views
2K
  • Differential Equations
Replies
2
Views
1K
Replies
1
Views
1K
  • Differential Equations
Replies
2
Views
2K
Replies
2
Views
1K
  • Differential Equations
Replies
1
Views
769
  • Differential Equations
Replies
1
Views
1K
Back
Top