Graphing solutions to PDEs at various times

Click For Summary

Homework Help Overview

The discussion revolves around graphing solutions to partial differential equations (PDEs), specifically using D'Alembert's solution for wave equations. The problem involves a piecewise function defined over specific intervals and requires participants to visualize the solution in the x-u plane at various time points.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants express confusion about how to graph the solution and the nature of the rectangular box shape of the graph. There are discussions about the shifting of waves and how to represent them visually. Questions arise regarding the endpoints for time and how to combine graphs for different time values.

Discussion Status

Some participants have offered guidance on how to approach the graphing process, suggesting methods for visualizing the solution by translating graphs for different time values. There is an acknowledgment of the need to explore multiple time values to observe the behavior of the waves as they interact.

Contextual Notes

Participants note challenges in understanding the underlying concepts and express a desire for simpler explanations. There is mention of the difficulty in finding helpful resources, including textbooks and professors.

sxal96
Messages
15
Reaction score
1

Homework Statement


Graph snapshots of the solution in the x-u plane for various times t if

\begin{align*}
f(x) =
\begin{cases}
& 3, \text{if } -4 \leq x \leq 0 \\
& 2, \text{if } 4 \leq x \leq 8 \\
& 0, \text{otherwise}
\end{cases}
\end{align*}

Homework Equations


Assuming that c=1 and g(x) = 0, D'Alembert's solution for this question is $$f(x) = \frac{1}{2} \left(f(x+ct) - f(x-ct)\right)$$

The Attempt at a Solution


I'm struggling with this problem in its entirety. I don't understand how to graph the solution and why it's a rectangular box that is basically reversal of what seems to make sense when plugging in various values for x based off of the equation's characteristics. Conceptually, I realize that it is an infinite string and there's shifting of two waves that will overlap for some points. What I don't understand is how to go about drawing these graphs by hand. I confirmed with a classmate that the 'endpoints' for t are t = 2, t = 4, t = 4, and t = 6, based on the fact that t = distance/velocity.

Please explain this to me like I'm 5. I tried Googling the concept to death and came short, and my professor and the textbook aren't particularly helpful. Any guidance would be very much appreciated.
 
Physics news on Phys.org
sxal96 said:

Homework Statement


Graph snapshots of the solution in the x-u plane for various times t if

\begin{align*}
f(x) =
\begin{cases}
& 3, \text{if } -4 \leq x \leq 0 \\
& 2, \text{if } 4 \leq x \leq 8 \\
& 0, \text{otherwise}
\end{cases}
\end{align*}

Homework Equations


Assuming that c=1 and g(x) = 0, D'Alembert's solution for this question is $$f(x) = \frac{1}{2} \left(f(x+ct) - f(x-ct)\right)$$

That would be ##u(x,t)= \frac{1}{2} \left(f(x+ct) + f(x-ct)\right)##. Don't call the solution ##f(x)## and note the two terms are added, not subtracted.

The Attempt at a Solution


I'm struggling with this problem in its entirety. I don't understand how to graph the solution and why it's a rectangular box that is basically reversal of what seems to make sense when plugging in various values for x based off of the equation's characteristics. Conceptually, I realize that it is an infinite string and there's shifting of two waves that will overlap for some points. What I don't understand is how to go about drawing these graphs by hand. I confirmed with a classmate that the 'endpoints' for t are t = 2, t = 4, t = 4, and t = 6, based on the fact that t = distance/velocity.

Please explain this to me like I'm 5. I tried Googling the concept to death and came short, and my professor and the textbook aren't particularly helpful. Any guidance would be very much appreciated.

So ##c=1## and your equation is $$u(x,t)= \frac{1}{2} \left(f(x+t) + f(x-t)\right)= \frac{1}{2} f(x+t) + \frac 1 2 f(x-t)$$.
When ##t=0## you have ##u(x,0) = \frac{1}{2} f(x) + \frac 1 2 f(x)=f(x)##. I presume you can draw that, right? Now say you want a picture when ##t=1## so you want to draw ##u(x,1) = \frac{1}{2} f(x+1) + \frac 1 2 f(x-1)##. So start with a graph of ##\frac 1 2 f(x)## drawn very lightly. Then draw on the same picture, maybe with two colored pencils, one copy of your light graph translated left one unit and one translated right one unit. Now you can erase the light graph, and with a dark pencil add the ordinates visually of your two translated functions. This dark graph is ##u(x,1)##. The two waves have moved one unit. Now do it with ##t=2## and other values of ##t##. The graph of ##u(x,t)## gets more interesting when the waves overlap and add. You will want to do enough values of ##t## to see what happens once the waves get past overlapping.
 
  • Like
Likes   Reactions: sxal96
LCKurtz said:
That would be ##u(x,t)= \frac{1}{2} \left(f(x+ct) + f(x-ct)\right)##. Don't call the solution ##f(x)## and note the two terms are added, not subtracted.
So ##c=1## and your equation is $$u(x,t)= \frac{1}{2} \left(f(x+t) + f(x-t)\right)= \frac{1}{2} f(x+t) + \frac 1 2 f(x-t)$$.
When ##t=0## you have ##u(x,0) = \frac{1}{2} f(x) + \frac 1 2 f(x)=f(x)##. I presume you can draw that, right? Now say you want a picture when ##t=1## so you want to draw ##u(x,1) = \frac{1}{2} f(x+1) + \frac 1 2 f(x-1)##. So start with a graph of ##\frac 1 2 f(x)## drawn very lightly. Then draw on the same picture, maybe with two colored pencils, one copy of your light graph translated left one unit and one translated right one unit. Now you can erase the light graph, and with a dark pencil add the ordinates visually of your two translated functions. This dark graph is ##u(x,1)##. The two waves have moved one unit. Now do it with ##t=2## and other values of ##t##. The graph of ##u(x,t)## gets more interesting when the waves overlap and add. You will want to do enough values of ##t## to see what happens once the waves get past overlapping.
Thanks for your response. So, if I wanted to have a graph represent ##0 \leq x \leq 2##, would I essentially combine the translated graphs for ## t = 0, t = 1,## and ## t = 2##? Or would there be an emerging trend/'pattern' between values for ##t## that I would graph?
 
sxal96 said:
Thanks for your response. So, if I wanted to have a graph represent ##0 \leq x \leq 2##, would I essentially combine the translated graphs for ## t = 0, t = 1,## and ## t = 2##? Or would there be an emerging trend/'pattern' between values for ##t## that I would graph?

You will want several values of ##t##, enough so that the waves pass through each other. I would plot the graph pn something like ##[-10,15]## so you can see what is happening. You can always look at just ##[0,2]## when you are done. You might be interested to see the animation on my web page showing a vibrating string as the sum of traveling waves. Look at math.asu.edu/~kurtz if you are interested.
 
Last edited:
  • Like
Likes   Reactions: sxal96

Similar threads

Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
8K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K