Showing that this equation is a solution to the linear wave equation

  • Thread starter Callumnc1
  • Start date
  • #1
Callumnc1
861
100
Homework Statement:
Please see below
Relevant Equations:
Please see below
For this problem,
1675825070687.png

Where equation 16.27 is the wave equation.

The solution is
1675825115838.png

1675825132452.png


I don't understand how they got the second partial derivative of ##y## with respect to
##x## circled in red.

I thought it would be ##1## since ##v## and ##t## are constants

Many thanks!
 

Answers and Replies

  • #2
topsquark
Science Advisor
Insights Author
Gold Member
MHB
1,835
800
Homework Statement:: Please see below
Relevant Equations:: Please see below

For this problem,
View attachment 321932
Where equation 16.27 is the wave equation.

The solution is
View attachment 321933
View attachment 321934

I don't understand how they got the second partial derivative of ##y## with respect to
##x## circled in red.

I thought it would be ##1## since ##v## and ##t## are constants

Many thanks!
You are likely over-thinking this. Use the chain rule.

Big hint:
##\dfrac{ \partial }{ \partial x} \dfrac{1}{x - vt} \rightarrow \dfrac{ \partial }{ \partial u } \dfrac{1}{u} \cdot \dfrac{ \partial u}{ \partial x}##

What would you use for u?

-Dan
 
  • #3
Callumnc1
861
100
You are likely over-thinking this. Use the chain rule.

Big hint:
##\dfrac{ \partial }{ \partial x} \dfrac{1}{x - vt} \rightarrow \dfrac{ \partial }{ \partial u } \dfrac{1}{u} \cdot \dfrac{ \partial u}{ \partial x}##

What would you use for u?

-Dan
Thank you for your reply @topsquark !

##u = x- vt##

Sorry do you please know why we need to use the chain rule?

Thank you!
 
  • #4
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,540
8,807
why we need to use the chain rule?
Because that is what tells you how to differentiate ##\frac 1{x-vt}## wrt ##x##. First, you differentiate it wrt ##x-vt##, 'cos that's easy, then you multiply by the derivative of ##x-vt## wrt ##x##.
 
  • Like
Likes Callumnc1 and topsquark
  • #5
PeroK
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
23,995
15,676
Isn't ##y = f(x - vt)## a solution to the wave equation, for any twice differentiable ##f##?
 
  • Like
Likes Callumnc1, topsquark and haruspex
  • #6
Redbelly98
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
12,165
185
I thought it would be ##1## since ##v## and ##t## are constants
Perhaps you "misspoke" here? ##t## is the time variable, as you must be aware?
 
  • Like
Likes Callumnc1 and topsquark
  • #7
Callumnc1
861
100
Because that is what tells you how to differentiate ##\frac 1{x-vt}## wrt ##x##. First, you differentiate it wrt ##x-vt##, 'cos that's easy, then you multiply by the derivative of ##x-vt## wrt ##x##.
Thank you for your reply @haruspex !

Sorry could you please explain a bit more why we need to use the chain rule? I have not done partial derivatives from multivariate calculus yet.

Many thanks!
 
  • #8
Callumnc1
861
100
Isn't ##y = f(x - vt)## a solution to the wave equation, for any twice differentiable ##f##?
Thank you for your reply @PeroK !
 
  • #9
Callumnc1
861
100
Perhaps you "misspoke" here? ##t## is the time variable, as you must be aware?
Thank you for your reply @Redbelly98 !

Yeah I agree that ##t## is a time variable, however, I thought I was meant to treat it has a constant along with ##v## since we are partially differentiating ##y## with respect to ##x##.

Many thanks!
 
  • #10
Redbelly98
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
12,165
185
Yeah I agree that ##t## is a time variable, however, I thought I was meant to treat it has a constant along with ##v## since we are partially differentiating ##y## with respect to ##x##.
Ah, okay. Yes, for the purposes of doing partial derivatives w.r.t. other variables, that's right.
 
  • #11
Callumnc1
861
100
Ah, okay. Yes, for the purposes of doing partial derivatives w.r.t. other variables, that's right.
Thank you for your reply @Redbelly98 !
 
  • #12
Callumnc1
861
100
Because that is what tells you how to differentiate ##\frac 1{x-vt}## wrt ##x##. First, you differentiate it wrt ##x-vt##, 'cos that's easy, then you multiply by the derivative of ##x-vt## wrt ##x##.
I guess one way of thinking about it is thinking that ##x -vt## is in brackets to the power of 1 since you must always use chain rule for brackets. I guess we also have to use chain rule here because we can't bring the x up because it is with the other terms.

Let me know if I am correct!

Many thanks!
 
  • #13
PeroK
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
23,995
15,676
I guess one way of thinking about it is thinking that ##x -vt## is in brackets to the power of 1 since you must always use chain rule for brackets. I guess we also have to use chain rule here because we can't bring the x up because it is with the other terms.

Let me know if I am correct!

Many thanks!
$$\frac d {dx}\bigg (\frac 1 {f(x)}\bigg ) = -\frac {f'(x)}{(f(x))^2}$$
 
  • #14
Callumnc1
861
100
$$\frac d {dx}\bigg (\frac 1 {f(x)}\bigg ) = -\frac {f'(x)}{(f(x))^2}$$
Thank you for your reply @PeroK!
 
  • #15
vela
Staff Emeritus
Science Advisor
Homework Helper
Education Advisor
15,813
2,463
I guess one way of thinking about it is thinking that ##x -vt## is in brackets to the power of 1 since you must always use chain rule for brackets.
You don't need the chain rule for
$$\frac{d}{dx}(x^2+x).$$ Parentheses, brackets, etc. don't automatically mean the chain rule.

Based on what you initially wrote, you seemed to be thinking
$$\frac{\partial}{\partial x} \frac{1}{x-vt} =\frac{1}{\frac{\partial}{\partial x}{(x-vt)}} = \frac 11 = 1.$$ I hope you see that the first equality is wrong. That's not how differentiation works.

Because you're differentiating a quotient, you could use the quotient rule and not use the chain rule. Most people, however, would use the chain rule because the numerator is a constant. It might help to rewrite the problem as
$$\frac{\partial}{\partial x} (x-vt)^{-1}.$$

I guess we also have to use chain rule here because we can't bring the x up because it is with the other terms.
Right.
 
  • Like
Likes Callumnc1 and PeroK
  • #16
Callumnc1
861
100
You don't need the chain rule for
$$\frac{d}{dx}(x^2+x).$$ Parentheses, brackets, etc. don't automatically mean the chain rule.

Based on what you initially wrote, you seemed to be thinking
$$\frac{\partial}{\partial x} \frac{1}{x-vt} =\frac{1}{\frac{\partial}{\partial x}{(x-vt)}} = \frac 11 = 1.$$ I hope you see that the first equality is wrong. That's not how differentiation works.

Because you're differentiating a quotient, you could use the quotient rule and not use the chain rule. Most people, however, would use the chain rule because the numerator is a constant. It might help to rewrite the problem as
$$\frac{\partial}{\partial x} (x-vt)^{-1}.$$


Right.
Thank you for your reply @vela! That is very helpful!
 

Suggested for: Showing that this equation is a solution to the linear wave equation

  • Last Post
Replies
8
Views
538
Replies
4
Views
246
  • Last Post
Replies
27
Views
818
Replies
2
Views
408
Replies
11
Views
833
Replies
15
Views
281
Replies
4
Views
362
Top