How Do You Sketch the Solution of a Wave Equation with Given Initial Conditions?

In summary: You seem to be off to a good start with the shape of the wave for two given times. I would perhaps sketch it for one or two more times, but generally you are doing fine.In summary, the solution for the given wave equation with initial conditions of yT(x,0) = 0 and y(x,0) = 0 for x < 1 and y(x,0) = 1 for x ≥ 0, can be represented by the D'alembert solution. The solution can be sketched by considering the two parts of the solution, φ1 and φ2, which represents the wave moving to the right and left respectively with velocity c = 1. The sum of the two parts gives the
  • #1
JI567
174
0

Homework Statement



Ytt = 1 Yxx

with initial conditions of
yT(x,0) = 0
y(x,0) = \begin{cases}
1 & \text{if } x \geq 0 \
& \text{if } x \leq 1 \\
0 & \text{if } otherwise
\end{cases}

Sketch the solution of this wave equation for 5 representative values of t, when the solution of the wave is considered on the infinite domain

Homework Equations



D'alembert solution

## \frac {1} {2} \ ## (f(x+ct)+f(x-ct)) + ## \frac {1} {2c} \ ## ## \int_{x-ct}^{x+ct} g(x) \ ##

The Attempt at a Solution


As the g(x) part was 0 I tried solving it by
y(x,t) = φ1(x,t) + φ2(x,t)

where φ1 = ## \frac {1} {2} \ ## f(x+ct) and φ2 = ## \frac {1} {2} \ ## f(x-ct)

but I am not sure how to sketch it, can somebody please help me?

The solution should look like this

upload_2015-1-1_8-2-58.png
 
Physics news on Phys.org
  • #2
You seem to be off to a good start with the shape of the wave for two given times. I would perhaps sketch it for one or two more times, but generally you are doing fine.
 
  • #3
Orodruin said:
You seem to be off to a good start with the shape of the wave for two given times. I would perhaps sketch it for one or two more times, but generally you are doing fine.

The pictures were given in the solution and I need to sketch for 0.5 and 0.75s. I understand how it works for t=0 but can you please explain how did the wave get that shape for t = 0.25. Explain all three parts of the graph please.
 
  • #4
How do the +-ct parts in the argument affect the shape of the solution for different times?
 
  • #5
The figure you showed illustrates what is happening very nicely and intuitively. Half the solution is moving to the right (the middle red plot) with velocity c = 1, and half the solution is moving to the left (I can't tell what color that curve is from the figure, but it's the upper plot) with velocity c = 1. The two portions of the solution sum to the full solution (the lower plot, which is the sum of the red plot and the other plot).

Chet
 
  • #6
Chestermiller said:
The figure you showed illustrates what is happening very nicely and intuitively. Half the solution is moving to the right (the middle red plot) with velocity c = 1, and half the solution is moving to the left (I can't tell what color that curve is from the figure, but it's the upper plot) with velocity c = 1. The two portions of the solution sum to the full solution (the lower plot, which is the sum of the red plot and the other plot).

Chet

The solution moving to left is blue part. Yeah I got that the lower black part is the sum of red and blue plot. But let's say when t = 0.25 and x = 1.5. The red part is the φ2 and the blue part is φ1. I get how both parts are mvoing due to +- ct to the left or right. But the lowest part why did it get split into different parts and why at x =1.5 is the highest part? why not in other points. Also just for the record the y(x,0) is actually 2 for 1<x <2 for this question so please ignore the value I posted in the question, its not letting me edit it there.

I have attached a better picture of the graph

upload_2015-1-2_8-16-11.png
 

Attachments

  • upload_2015-1-2_8-15-44.png
    upload_2015-1-2_8-15-44.png
    60.4 KB · Views: 437
  • #7
I'm really having trouble understanding what your issue (doubt) is. The red plus the blue equals the solution. The picture tells the whole story. You've already articulated all this.

Chet
 
  • #8
Chestermiller said:
I'm really having trouble understanding what your issue (doubt) is. The red plus the blue equals the solution. The picture tells the whole story. You've already articulated all this.

Chet

My issue is I didn't draw the graph in the picture! This picture was already given in the question but I need to know why is the lowest part drawn like that? I mean why is the maximum at x = 1.5 and then it gets split into two sides?
 
  • #9
JI567 said:
My issue is I didn't draw the graph in the picture! This picture was already given in the question but I need to know why is the lowest part drawn like that? I mean why is the maximum at x = 1.5 and then it gets split into two sides?
I think you need to actually DRAW the graph yourself, not just look at what somebody else has drawn. Your sketches can be "rough", but they need to be good enough to illustrate what is happening. Here are the steps:
(1) For your given value of t > 0, draw the graphs of y = f(x-ct) and y = f(x+ct).
(2) Add them up: the graph of y = f(x-ct) + f(x+ct) just adds together the y-values on each of the two separate graphs.

I am absolutely serious about the above advice: until you actually carry out the steps yourself you will remain confused and uncertain.
 
  • #10
JI567 said:
My issue is I didn't draw the graph in the picture! This picture was already given in the question but I need to know why is the lowest part drawn like that? I mean why is the maximum at x = 1.5 and then it gets split into two sides?
It's the opposite. The upper two parts have to be summed to give the lower part (which is the solution). What do you get at x = 1.5 when you sum the upper two parts?

Chet
 
  • #11
Chestermiller said:
It's the opposite. The upper two parts have to be summed to give the lower part (which is the solution). What do you get at x = 1.5 when you sum the upper two parts?

Chet

i get y = 1.5 then...is that correct?
 
  • #12
JI567 said:
i get y = 1.5 then...is that correct?
No. You can see from the figure that it's 2.0.
 
  • #13
Chestermiller said:
No. You can see from the figure that it's 2.0.

Okay so from 1.25<x<1.75 why is y 2? and why is it 1 for the remaining left and right sides?
 
  • #14
JI567 said:
Okay so from 1.25<x<1.75 why is y 2?
A 1.0 is contributed by the red profile and another 1.0 is contributed by the blue profile.
and why is it 1 for the remaining left and right sides?
Do you understand that the red profile represents f(x-ct)/2, and the blue profile represents f(x+ct)/2. The initial red profile has moved 0.25 to the right by the time t = 0.25, and the initial blue profile has moved 0.25 to the left by the time t = 0.25.

Also, note that the solution goes to zero at time t = 0.25 for values of x >2.25 and x < 0.75. Do you see that?

Chet
 
  • #15
Chestermiller said:
A 1.0 is contributed by the red profile and another 1.0 is contributed by the blue profile.

Do you understand that the red profile represents f(x-ct)/2, and the blue profile represents f(x+ct)/2. The initial red profile has moved 0.25 to the right by the time t = 0.25, and the initial blue profile has moved 0.25 to the left by the time t = 0.25.

Also, note that the solution goes to zero at time t = 0.25 for values of x >2.25 and x < 0.75. Do you see that?

Chet

yeah I see that...well okay so why isn't here the lowest part 2 then? The red and blue are still cotributing 1 each

upload_2015-1-2_18-37-29.png
 
  • #16
Well, that's only at one instant of time at one isolated point. I guess at t = 0.5 there should be a dot at x = 1.5, y = 2. But, it's not worth including.

Chet
 
  • #17
Chestermiller said:
Well, that's only at one instant of time at one isolated point. I guess at t = 0.5 there should be a dot at x = 1.5, y = 2. But, it's not worth including.

Chet

what do you mean? What so special happened between t =0.25 and t = 0.5 that the y decreased to 1?
 
  • #18
JI567 said:
what do you mean? What so special happened between t =0.25 and t = 0.5 that the y decreased to 1?
Nothing. The region of overlap between the red and the blue just decreased. Did you check out what happens after t =0.5?
 
  • #19
Chestermiller said:
Nothing. The region of overlap between the red and the blue just decreased. Did you check out what happens after t =0.5?

yeah I checked this is what happens in after t = 0.5

upload_2015-1-2_19-21-45.png


Can you please explain what steps should I do in order to draw these type of graphs for different t's...I am so confused
 
  • #20
You take half the initial y profile and move it to the right a distance ct to get the red profile. You again take half the initial y profile and move it to the left a distance ct to get the blue profile. Then you add the red and the blue profiles together to get the black profile.
 
  • #21
Chestermiller said:
Nothing. The region of overlap between the red and the blue just decreased. Did you check out what happens after t =0.5?

so what is this region of overlap? How am I supposed to identify these regions? Half the initial y is moving to the left by 0.5 and to the right by 0.5. But however they are not getting add up this time to get solution y and also how much distance ct is solution y moving by?
 
  • #22
JI567 said:
so what is this region of overlap? How am I supposed to identify these regions? Half the initial y is moving to the left by 0.5 and to the right by 0.5. But however they are not getting add up this time to get solution y
In this particular problem, after t = 0.5, they are no longer overlapping.
and also how much distance ct is solution y moving by?
It's like one part of the solution is sliding to the right at the speed of c, and the other part of the solution is sliding to the left at the speed c. Think of the two parts of the solution as actually having velocity, each with the speed of c.

Chet
 
  • #23
Okay so how would I understand if the left and right are not overlapping for another problem?

What's happening in t = 1...now why are there two separate parts in the y solution
Chestermiller said:
In this particular problem, after t = 0.5, they are no longer overlapping.

It's like one part of the solution is sliding to the right at the speed of c, and the other part of the solution is sliding to the left at the speed c. Think of the two parts of the solution as actually having velocity, each with the speed of c.

Chet
 
  • #24
JI567 said:
Okay so how would I understand if the left and right are not overlapping for another problem?

What's happening in t = 1...now why are there two separate parts in the y solution
I've run out of ideas on how to explain this all. This is my last try. From time zero, there are always two separate parts to the solution. One is moving to the left at speed c, and the other is moving to the right at speed c. At any time t, they add together to form the overall solution. Each part is half of the initial profile. In any other problem, you do the same thing. You split the initial profile into two equal parts, and send one of these to the left and the other to the right, each with the speed c. At any time t, you add them together to get the overall solution. If, in a given problem, the domain of the initial profile is non-zero in some finite region, then, after the two profiles no longer overlap, the subsequently remain separate.

Chet
 
  • #25
Chestermiller said:
I've run out of ideas on how to explain this all. This is my last try. From time zero, there are always two separate parts to the solution. One is moving to the left at speed c, and the other is moving to the right at speed c. At any time t, they add together to form the overall solution. Each part is half of the initial profile. In any other problem, you do the same thing. You split the initial profile into two equal parts, and send one of these to the left and the other to the right, each with the speed c. At any time t, you add them together to get the overall solution. If, in a given problem, the domain of the initial profile is non-zero in some finite region, then, after the two profiles no longer overlap, the subsequently remain separate.

Chet

Okay got it. Do you know how to program these type of graphs in MATLAB? I mean I know how to plot graphs in Matlab by writing programming codes but for these type of graphs do I just write the D'Alembert function?
 
  • #26
JI567 said:
Okay got it. Do you know how to program these type of graphs in MATLAB? I mean I know how to plot graphs in Matlab by writing programming codes but for these type of graphs do I just write the D'Alembert function?

Do it, and see what you get.
 
  • #27
Ray Vickson said:
Do it, and see what you get.

Do what? I wrote the D'alembert function...I get error message on MATLAB? What do I do now?
 
  • #28
JI567 said:
Do what? I wrote the D'alembert function...I get error message on MATLAB? What do I do now?

I can't help, since I have no access to Matlab and do not know much about it.
 

Related to How Do You Sketch the Solution of a Wave Equation with Given Initial Conditions?

1. What is the wave equation complex problem?

The wave equation complex problem is a mathematical model used to describe the behavior of waves in a medium. It takes into account factors such as the wave's amplitude, frequency, and wavelength to determine how the wave propagates through the medium.

2. What are the applications of the wave equation complex problem?

The wave equation complex problem has numerous applications in physics, engineering, and other scientific fields. It is used to study phenomena such as sound waves, electromagnetic waves, and seismic waves. It is also used in fields like acoustics, optics, and signal processing.

3. How is the wave equation complex problem solved?

The wave equation complex problem is typically solved using mathematical methods such as Fourier analysis, Laplace transforms, and numerical techniques like finite difference methods. These methods allow scientists to find solutions to the complex equations that describe wave behavior in different mediums.

4. What are some challenges associated with solving the wave equation complex problem?

One of the main challenges with solving the wave equation complex problem is the complexity of the equations involved. They often require advanced mathematical techniques and can be difficult to solve analytically. In addition, the behavior of waves in real-world scenarios can be affected by factors such as nonlinearities, boundaries, and external forces, which add to the complexity of the problem.

5. How is the wave equation complex problem related to other mathematical models?

The wave equation complex problem is closely related to other mathematical models, such as the heat equation and the diffusion equation. These models share similar mathematical properties and can be solved using similar methods. In addition, the wave equation complex problem can be extended to higher dimensions to study more complex wave phenomena, such as waves in three-dimensional space.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
722
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
736
Replies
4
Views
3K
  • Calculus and Beyond Homework Help
Replies
7
Views
595
  • Calculus and Beyond Homework Help
Replies
3
Views
454
  • Calculus and Beyond Homework Help
Replies
3
Views
654
  • Calculus and Beyond Homework Help
Replies
2
Views
602
  • Calculus and Beyond Homework Help
Replies
4
Views
887
  • Calculus and Beyond Homework Help
Replies
5
Views
467
Back
Top