Interchanging between real part of cmplx exp and trig functions

Click For Summary

Homework Help Overview

The discussion revolves around the problem of finding coefficients A_n and B_n in a given expression involving complex exponentials and trigonometric functions, subject to specific boundary conditions and an initial condition. The subject area includes complex analysis and Fourier series representation.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants explore the relationship between the real parts of complex exponentials and trigonometric functions, attempting to express coefficients in terms of these relationships. Questions arise about how to derive A_n and B_n from the coefficients C_n and D_n, with some participants suggesting the use of Euler's formula.

Discussion Status

The discussion is active, with participants sharing different approaches and questioning the feasibility of uniquely determining A_n and B_n from the provided conditions. Some guidance has been offered regarding the relationships between the coefficients, but no consensus has been reached on how to proceed with the problem.

Contextual Notes

Participants note potential ambiguities in the problem statement, particularly regarding the uniqueness of the solutions for A_n and B_n, as well as the implications of the boundary and initial conditions on the problem setup.

N00813
Messages
31
Reaction score
0

Homework Statement



Given u(x,t) = sum( e^(-at/2)*cos(n*pi*x/2L) * Re[A_n*e^(i*w_n*t)+B_n*e^(-i*w_n*t)], and the boundary conditions u(-L)=u(L)=0 for all t;
du/dt = 0 for all x at t = 0;
u(x,t=0) = e^(-|x|/l)

Find A_n and B_n.

Homework Equations


N/A

The Attempt at a Solution



I have attempted to turn the Real part into coefficients of cos and sin, i.e.:
Re[A_n*e^(i*w_n*t)+B_n*e^(-i*w_n*t)] = C_n cos(w_n*t) + D_n sin (w_n*t)
then taking advantage of cos orthogonality in x to get C and D.

I can't think of how to turn C and D into A and B. So far I figured out that C is the real part of A+B, but I can't figure out how to get the imaginary parts of A and B from C and D.

I'm sure it's simple, but I just can't seem to get it.

Any help is appreciated.
 
Last edited:
Physics news on Phys.org
N00813 said:

Homework Statement



Given u(x,t) = sum( e^(-at/2)*cos(n*pi*x/2L) * Re[A_n*e^(i*w_n*t)+B_n*e^(-i*w_n*t)], and the boundary conditions u(-L)=u(L)=0 for all t;
du/dt = 0 for all x at t = 0;
u(x,t=0) = e^(-|x|/l)

Find A_n and B_n.

Homework Equations


N/A

The Attempt at a Solution



I have attempted to turn the Real part into coefficients of cos and sin, i.e.:
Re[A_n*e^(i*w_n*t)+B_n*e^(-i*w_n*t)] = C_n cos(w_n*t) + D_n sin (w_n*t)
then taking advantage of cos orthogonality in x to get C and D.

I can't think of how to turn C and D into A and B. So far I figured out that C is the real part of A+B, but I can't figure out how to get the imaginary part.

I'm sure it's simple, but I just can't seem to get it.

Any help is appreciated.

I don't think you need orthogonality or anything special. Just use Euler's formula. e^(i*w_n*t)=cos(w_n*t)+i*sin(w_n*t) and e^(-i*w_n*t)=cos(w_n*t)-i*sin(w_n*t). It's just D is the real part of i*A-i*B, isn't it?
 
Dick said:
I don't think you need orthogonality or anything special. Just use Euler's formula. e^(i*w_n*t)=cos(w_n*t)+i*sin(w_n*t) and e^(-i*w_n*t)=cos(w_n*t)-i*sin(w_n*t). It's just D is the real part of i*A-i*B, isn't it?

Yes, it is.
Maybe I've gone down the wrong way.

The question tells me to find A and B.

Using the non-zero initial condition given, I can find Re [A_n + B_n]. Using the zero initial condition (du/dt = 0 @ t = 0) I can find (a/2)*Re[A_n + B_n] = Re [iw_n (A_n - B_n)].

But I can't think of how to turn that into A_n and B_n by themselves.
 
Dick said:
I don't think you need orthogonality or anything special. Just use Euler's formula. e^(i*w_n*t)=cos(w_n*t)+i*sin(w_n*t) and e^(-i*w_n*t)=cos(w_n*t)-i*sin(w_n*t). It's just D is the real part of i*A-i*B, isn't it?

Hey, just had a thought:
If C = Re[A+B]
and D = Re[i(A-B)]

Then is D/i = Re[A-B]

and C + D/i Re [2A]?

This way I can find the real parts of A and B.

For the imaginary, I was thinking iC = I am [ -B -A] , D = I am [ -A + B].

Is this correct?
 
You lost me as soon as you failed to close the parentheses of sum(. Then I lost interest when you failed to show ANY indication of what is being summed over.
 
Last edited by a moderator:
N00813 said:
Hey, just had a thought:
If C = Re[A+B]
and D = Re[i(A-B)]

Then is D/i = Re[A-B]

and C + D/i Re [2A]?

This way I can find the real parts of A and B.

For the imaginary, I was thinking iC = I am [ -B -A] , D = I am [ -A + B].

Is this correct?

You are thinking about it too hard. You can't really 'solve' for A and B given C and D. There are lots of choices that work. Like A=C/2+iD/2 and B=C/2-iD/2. Or A=(C/2+1)+iD/2 and B=(C/2-1)+iD/2. And many others.
 
Dick said:
You are thinking about it too hard. You can't really 'solve' for A and B given C and D. There are lots of choices that work. Like A=C/2+iD/2 and B=C/2-iD/2. Or A=(C/2+1)+iD/2 and B=(C/2-1)+iD/2. And many others.

OK.

Let's say I start again with the question. I find the expression for Re[A + B] and the expression for Re[iw_n*A-iw_n*B]. From this, you're saying it's impossible to get A and B uniquely?
 
N00813 said:
OK.

Let's say I start again with the question. I find the expression for Re[A + B] and the expression for Re[iw_n*A-iw_n*B]. From this, you're saying it's impossible to get A and B uniquely?

Of course it is. I already gave you two choices that work. Taking the real part of something cancels some components. Your right side has two real parameters. The left side has two complex parameters which is the same as four real parameters. You can't determine them all. Write out A=Re(A)+i*Im(A) and B=Re(B)+iIm(b) and see how many you can determine.
 
  • Like
Likes   Reactions: 1 person
Dick said:
Of course it is. I already gave you two choices that work. Taking the real part of something cancels some components. Your right side has two real parameters. The left side has two complex parameters which is the same as four real parameters. You can't determine them all. Write out A=Re(A)+i*Im(A) and B=Re(B)+iIm(b) and see how many you can determine.

Thanks. I suppose the question itself has holes in it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
2K
Replies
9
Views
2K