Using Partial Derivatives To Prove Solution To Wave Equation

In summary: I should say that D_2u is the operation that takes a function as input and produces another function as output. That's what a partial derivative is, an operation that takes a function as input and produces another function as output. So D_2u is a function, but D_2u(x,t) isn't. D_2u(x,t) is a number. The function D_2u is defined by the formula D_2u(f)=D_2f. The function D_2f is defined by the formula D_2f(t)=f'(t). The function f is defined by the formula f(t)=g(x+at). So if we use D_2u(F) to
  • #1
Lancelot59
646
1
I need to use partial derivatives to prove that
[tex]u(x,t)=f(x+at)+g(x-at)[/tex]
is a solution to:
[tex]u_{tt}=a^{2}u_{xx}[/tex]

I'm stuck on how I'm supposed to approach the problem. I'm lost as to what order I should do the derivations in. I tried making a tree diagram, and I came out like this. The arrow indicates what's under that variable.

u --> f--g
f--> x--t
g-->y--t

Earlier I asked my prof about the concept before I got to this problem and made up a random example using the following functions:

[tex]f(z)[/tex]
[tex]z=x+y[/tex]
[tex]x=t+\lambda[/tex]
[tex]y=\lambda[/tex]

So to find the partial derivative of f with respect to lambda the tree wound up looking like this:

f-->z
z-->x--y
x-->t--lambda
y-->lambda

With the final setup being this:
[tex]\frac{df}{dz}(\frac{\partial z}{\partial x}\frac{\partial x}{\partial \lambda}+\frac{\partial z}{\partial y}\frac{dy}{d\lambda})[/tex]

Which I understand. You take a full derivative of f, which is the derivative of z. To get each part then you need to take partial derivatives of the x and y functions, and since x is dependant on t and lambda you need to partially derive it to lambda, and just take a full derivative of y.

Here however, I can't see how to apply this to this particular problem.
 
Last edited:
Physics news on Phys.org
  • #2
Lancelot59 said:
I need to use partial derivatives to prove that
[tex]u(x,t)=f(x+at)+g(x-at)[/tex]
is a solution to:
[tex]u_{tt}=a^{2}u_{xx}[/tex]

I'm stuck on how I'm supposed to approach the problem. I'm lost as to what order I should do the derivations in.
The partial derivative you write as [itex]u_{t}(x,t)[/itex] is by definition the ordinary derivative of the function [itex]s\mapsto u(x,s)[/itex] at t. In other words, if you define F by F(s)=u(x,s)=f(x+as)+g(x-as), you have [itex]u_t(x,t)=F'(t)[/itex]. Do you know how to take the (ordinary) derivative of F?

Reminder: the chain rule is [itex](f\circ g)'(x)=f'(g(x))g'(x)[/itex].Edit: By the way, I know that students of a course at this level often have a hard time understanding stuff like what I just said. I think that indicates that something is fundamentally wrong with how the concepts "function" and "derivative" are taught. Teachers seem to find a way to never say the things the students really need spelled out for them. You should never think of an expression like f(x) as a function. f is the function, and f(x) is a number in its range, the value of f at x. f' is another function, the derivative of f. f'(x) is a number, the value of f' at x. The functions f and f' can also be written as [itex]t\mapsto f(t)[/itex] and [itex]t\mapsto f'(t)[/itex] respectively. Here I've changed the variable name just to emphasize that the function is the same no matter what variable symbol is used. The expressions [itex]t\mapsto f(t)[/itex] and [itex]x\mapsto f(x)[/itex] are different expressions (different strings of text), but they represent the same thing, the function f. However, the expressions f(t) and f(x) represent different things, respectively the value of f at t and the value of f at x.
 
Last edited:
  • #3
Fredrik said:
The partial derivative you write as [itex]u_{t}(x,t)[/itex] is by definition the ordinary derivative of the function [itex]s\mapsto u(x,s)[/itex] at t. In other words, if you define F by F(s)=u(x,s)=f(x+as)+g(x-as), you have [itex]u_t(x,t)=F'(t)[/itex]. Do you know how to take the (ordinary) derivative of F?

Reminder: the chain rule is [itex](f\circ g)'(x)=f'(g(x))g'(x)[/itex].


Edit: By the way, I know that students of a course at this level often have a hard time understanding stuff like what I just said. I think that indicates that something is fundamentally wrong with how the concepts "function" and "derivative" are taught. Teachers seem to find a way to never say the things the students really need spelled out for them. You should never think of an expression like f(x) as a function. f is the function, and f(x) is a number in its range, the value of f at x. f' is another function, the derivative of f. f'(x) is a number, the value of f' at x. The functions f and f' can also be written as [itex]t\mapsto f(t)[/itex] and [itex]t\mapsto f'(t)[/itex] respectively. Here I've changed the variable name just to emphasize that the function is the same no matter what variable symbol is used. The expressions [itex]t\mapsto f(t)[/itex] and [itex]x\mapsto f(x)[/itex] are different expressions (different strings of text), but they represent the same thing, the function f. However, the expressions f(t) and f(x) represent different things, respectively the value of f at t and the value of f at x.

Yes, I didn't really follow that all too well. I don't see how u(x,t) (or u(x,s) in your example) is the total derivative of an arbitrary function F(t) (or F(s)).
 
  • #4
Lancelot59 said:
Yes, I didn't really follow that all too well. I don't see how u(x,t) (or u(x,s) in your example) is the total derivative of an arbitrary function F(t) (or F(s)).
Apparently you also didn't see that I wrote that an expression like F(t) shouldn't be called a "function". :smile: ... F is a function and F(t) is a number.I didn't say that u is a total derivative of an arbitrary function. I did however say something that suggests that every partial derivative is an ordinary derivative. That was misleading, because the partial derivatives of a function from [itex]\mathbb R^2[/itex] into [itex]\mathbb R[/itex] are functions from [itex]\mathbb R^2[/itex] into [itex]\mathbb R[/itex], while the ordinary derivative of a function from [itex]\mathbb R[/itex] into [itex]\mathbb R[/itex] is a function from [itex]\mathbb R[/itex] into [itex]\mathbb R[/itex]. So it isn't possible for a partial derivative to be equal to an ordinary derivative. I'll try to express myself more accurately this time.I think the notation [itex]u_t[/itex] is causing confusion, so I'm going to change it. That expression represents the partial derivative with respect to the second variable of the function u, so it makes more sense to use a notation that doesn't mention a completely irrelevant variable name. I will therefore write [itex]D_2u[/itex] instead of [itex]u_t[/itex]. (D for "derivative" and 2 to remind us that it's the partial derivative with respect to the second variable).Let (x,t) be an arbitrary pair of numbers in the domain of [itex]D_2u[/itex]. You need to find [itex]D_2u(x,t)[/itex]. This expression represents a number, not a function. It's a different number for each value of x and t, but that doesn't mean that the expression represents a function. [itex]D_2u[/itex] is the function and [itex]D_2u(x,t)[/itex] is its value at (x,t).[itex]D_2u[/itex] is defined by

[tex]D_2u(a,b)=\lim_{h\rightarrow 0}\frac{u(a,b+h)-u(a,b)}{h}[/tex]

for all real numbers a,b in the domain of u such that this limit exists. Now define [itex]F:\mathbb R\rightarrow\mathbb R[/itex] by F(s)=u(x,s) for all s such that (x,s) is in the domain of u. These definitions tell us that

[tex]D_2u(x,t)=\lim_{h\rightarrow 0}\frac{u(x,t+h)-u(x,t)}{h}=\lim_{h\rightarrow 0}\frac{F(t+h)-F(t)}{h}=F'(t)[/tex]

So to find [itex]D_2u(x,t)[/itex], you just need to calculate F'(t).What you really want to find is what you wrote as [itex]u_{tt}(x,t)[/itex], which in this notation is

[tex]D_2D_2u(x,t)=F''(t)[/tex]

This gives you the left-hand side of the equation, and a very similar calculation gives you the right-hand side.
 
Last edited:
  • #5
May I suggest a more elementary approach since I feel he may be having some problems with this. Why not just let:

[tex]z=x+at[/tex]

[tex]w=x-at[/tex]

Then:

[tex]u(x,t)=f(z)+g(w)[/tex]

Now:

[tex]\begin{aligned}
\frac{\partial u}{\partial x}&=\frac{\partial f}{\partial z}\frac{\partial z}{\partial x}+\frac{\partial g}{\partial w}\frac{\partial w}{\partial x}\\
&=\frac{\partial f}{\partial z}+\frac{\partial g}{\partial w}
\end{aligned}
[/tex]


[tex]\begin{aligned}
\frac{\partial^2 u}{\partial x^2}&=\frac{\partial}{\partial x}\left(\frac{\partial f}{\partial z}\right)+\frac{\partial}{\partial x}\left(\frac{\partial g}{\partial w}\right) \\
&=\frac{\partial^2 f}{\partial z^2}\frac{\partial z}{\partial x}+\frac{\partial^2 g}{\partial w^2}\frac{\partial w}{\partial x} \\
&=\frac{\partial^2 f}{\partial z^2}+\frac{\partial^2 g}{\partial w^2}
\end{aligned}
[/tex]

Alright, I did x. I bet you can do t now, get them in terms of w and z, back-substitute into the PDE and show that when you put everything on the left, it's zero.
 
  • #6
jackmell said:
[tex]\begin{aligned}
\frac{\partial u}{\partial x}&=\frac{\partial f}{\partial z}\frac{\partial z}{\partial x}+\frac{\partial g}{\partial w}\frac{\partial w}{\partial x}\\
&=\frac{\partial f}{\partial z}+\frac{\partial g}{\partial w}
\end{aligned}
[/tex]
You should probably use regular d's for the ordinary derivatives. (Edit: Or write f(z,w) instead of f(z)). Other than that, I don't have any objections.

[tex]\frac{\partial u}{\partial x}=\frac{df}{dz}\frac{\partial z}{\partial x}+\frac{dg}{dw}\frac{\partial w}{\partial x}=\frac{df}{dz}+\frac{dg}{dw}[/tex]

You can also do this without defining w and z.

[tex]\frac{\partial u(x,t)}{\partial x}=\frac{d}{dx}u(x,t)=\frac{d}{dx}f(x+at)+\frac{d}{dx}g(x-at)[/tex]

[tex]=f'(x+at)\frac{d}{dx}(x+at)+g'(x-at)\frac{d}{dx}(x-at)=f'(x+at)+g'(x-at)[/tex]

Lancelot59: Here you have two easy-to-use recipes for how to do this, but it's still definitely worth the effort to try to understand the stuff in my previous post.

By the way, do you understand the first equality in my calculation in this post? (The first equality of the second calculation).
 
Last edited:
  • #7
Fredrik said:
You should probably use regular d's for the ordinary derivatives. (Edit: Or write f(z,w) instead of f(z)). Other than that, I don't have any objections.

[tex]\frac{\partial u}{\partial x}=\frac{df}{dz}\frac{\partial z}{\partial x}+\frac{dg}{dw}\frac{\partial w}{\partial x}=\frac{df}{dz}+\frac{dg}{dw}[/tex]

You can also do this without defining w and z.

[tex]\frac{\partial u(x,t)}{\partial x}=\frac{d}{dx}u(x,t)=\frac{d}{dx}f(x+at)+\frac{d}{dx}g(x-at)[/tex]

[tex]=f'(x+at)\frac{d}{dx}(x+at)+g'(x-at)\frac{d}{dx}(x-at)=f'(x+at)+g'(x-at)[/tex]

Lancelot59: Here you have two easy-to-use recipes for how to do this, but it's still definitely worth the effort to try to understand the stuff in my previous post.

By the way, do you understand the first equality in my calculation in this post? (The first equality of the second calculation).
I sat down with my prof, and got the problem sorted out. I also got him to look over your post and I have a fairly good idea of what you were saying there. Thanks for your help.
 

1. What is the wave equation and how is it used in science?

The wave equation is a mathematical formula that describes the propagation of waves through a medium. It is used in various fields of science, such as physics, engineering, and acoustics, to model and analyze the behavior of waves.

2. How do partial derivatives help in proving solutions to the wave equation?

Partial derivatives allow us to take into account the changes in multiple variables at once. In the case of the wave equation, we use partial derivatives to represent the rate of change of a wave with respect to time and space, which helps us to prove the validity of a solution.

3. Can the use of partial derivatives guarantee a correct solution to the wave equation?

No, partial derivatives alone cannot guarantee a correct solution to the wave equation. They are only one tool in the mathematical process of proving a solution. Other factors, such as boundary conditions and initial values, must also be considered to ensure the accuracy of the solution.

4. What are some common applications of the wave equation in real-world scenarios?

The wave equation has numerous practical applications, such as predicting the motion of particles in a vibrating string, analyzing the behavior of sound waves in a room, and studying the propagation of electromagnetic waves through space.

5. Are there any limitations to using partial derivatives to prove solutions to the wave equation?

While partial derivatives are a powerful tool in solving the wave equation, they do have their limitations. For example, they may not be able to accurately describe the behavior of waves in nonlinear systems, where the wave's amplitude depends on its position or time.

Similar threads

Replies
4
Views
647
  • Calculus and Beyond Homework Help
Replies
3
Views
771
  • Calculus and Beyond Homework Help
Replies
6
Views
548
  • Calculus and Beyond Homework Help
Replies
10
Views
912
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
469
  • Calculus and Beyond Homework Help
Replies
4
Views
693
Replies
9
Views
714
  • Calculus and Beyond Homework Help
Replies
4
Views
562
  • Calculus and Beyond Homework Help
Replies
5
Views
620
Back
Top