Need to check the answer of some simple PDE

  • Thread starter yungman
  • Start date
  • Tags
    Pde
In summary, you are discussing the solution to a problem involving partial derivatives with respect to variables \alpha and \beta. In part (a), the solution was found to be u(x,t)=F(x+ct) + G(x-ct) is solution of \frac{\partial^2 u}{\partial t^2}= c^2\frac{\partial^2 u}{\partial x^2}. In part (b), the solution to the problem of transforming \frac{\partial^2 u}{\partial t^2}= c^2\frac{\partial^2 u}{\partial x^2} into \frac{\partial^2 u}{\partial \alpha \partial \beta}=0 was discussed,
  • #1
yungman
5,718
241
I don't have the answer of these question. Can someone take a look at a) and tell me am I correct? I don't even know how to solve b)

a)

Homework Statement



a) Show [tex]u(x,t)=F(x+ct) + G(x-ct)[/tex] is solution of [tex]\frac{\partial^2 u}{\partial t^2}= c^2\frac{\partial^2 u}{\partial x^2}[/tex]



The Attempt at a Solution



let [tex]\alpha = x+ct,\beta = x-ct \Rightarrow \frac{\partial \alpha}{\partial x}= 1, \frac{\partial \alpha}{\partial t}= c,[/tex] and also [tex] \frac{\partial \beta}{\partial x}= 1, \frac{\partial \beta}{\partial t}= -c[/tex]

[tex]\frac{\partial u}{\partial x} = \frac{\partial F(\alpha)}{\partial \alpha} \frac{\partial \alpha}{\partial x} + \frac{\partial G(\beta)}{\partial \beta}\frac{\partial \beta}{\partial x} = \frac{\partial F(\alpha)}{\partial \alpha} + \frac{\partial G(\beta)}{\partial \beta}[/tex]

[tex]\frac{\partial^2 u}{\partial x^2} = \frac {\partial (\frac{\partial F(\alpha)} {\partial \alpha}) }{\partial \alpha} \frac{\partial \alpha}{\partial x} +

\frac {\partial (\frac{\partial G(\beta)}{\partial \beta })} {\partial \beta} \frac{\partial \beta}{\partial x}

= \frac{\partial^2 F(\alpha)}{\partial \alpha^2} + \frac{\partial^2 G(\beta)}{\partial \beta^2}[/tex]



[tex]\frac{\partial u}{\partial t} = \frac{\partial F(\alpha)}{\partial \alpha}\frac{\partial \alpha}{\partial t} + \frac{\partial G(\beta)}{\partial \beta}\frac{\partial \beta}{\partial t} = c[\frac{\partial F(\alpha)}{\partial \alpha} - \frac{\partial G(\beta)}{\partial \beta}][/tex]

[tex]\frac{\partial^2 u}{\partial t^2} = c\frac {\partial (\frac{\partial F(\alpha)} {\partial \alpha}) }{\partial \alpha} \frac{\partial \alpha}{\partial t} -

c\frac {\partial (\frac{\partial G(\beta)}{\partial \beta })} {\partial \beta} \frac{\partial \beta}{\partial t}

= c^2[\frac{\partial^2 F(\alpha)}{\partial \alpha^2} + \frac{\partial^2 G(\beta)}{\partial \beta^2}][/tex]


[tex]\Rightarrow \frac{\partial^2 u}{\partial t^2}= c^2\frac{\partial^2 u}{\partial x^2}[/tex]

Therefore:
[tex]u(x,t)=F(x+ct) + G(x-ct)[/tex] is solution of [tex]\frac{\partial^2 u}{\partial t^2}= c^2\frac{\partial^2 u}{\partial x^2}[/tex]



b) Transform [tex]\frac{\partial^2 u}{\partial t^2}= c^2\frac{\partial^2 u}{\partial x^2}[/tex] into [tex]\frac{\partial^2 u}{\partial \alpha \partial \beta}=0[/tex]

where [tex]u(x,t)=F(x+ct) + G(x-ct)[/tex]

and [tex]\alpha = x+ct,\beta = x-ct[/tex]

Can someone give me a hint how to go by this?
 
Last edited:
Physics news on Phys.org
  • #2
Your solution to (a) is fine.

For part (b), try start by solving for x and t in terms of [itex]\alpha[/itex] and [itex]\beta[/itex].
 
  • #3
vela said:
Your solution to (a) is fine.

For part (b), try start by solving for x and t in terms of [itex]\alpha[/itex] and [itex]\beta[/itex].

Thanks for checking on a).

[tex]\alpha = x+ct,\beta = x-ct \\Rightarrow x=\frac{\alpha + \beta}{2}, t=\frac{\alpha - \beta}{2c}[/tex]

[tex]\frac{\partial u}{\partial \alpha}= \frac{\partial u}{\partial x} \frac{\partial x}{\partial \alpha}=\frac{\partial F(\alpha}{\partial \alpha}+ \frac{\partial G(\beta)}{\partial x}\frac{\partial x}{\partial \beta}[/tex]
 
  • #4
vela said:
Your solution to (a) is fine.

For part (b), try start by solving for x and t in terms of [itex]\alpha[/itex] and [itex]\beta[/itex].

Thanks for checking on a).

[tex]\alpha = x+ct,\beta = x-ct \Rightarrow x=\frac{\alpha + \beta}{2}, t=\frac{\alpha - \beta}{2c}[/tex]

[tex]\frac{\partial u}{\partial \alpha}= \frac{\partial u}{\partial x} \frac{\partial x}{\partial \alpha} + \frac{\partial u}{\partial t} \frac{\partial t}{\partial \alpha} = \frac{\partial F(\alpha)}{\partial \alpha}+ \frac{\partial G(\beta)}{\partial x}\frac{\partial x}{\partial \beta} + \frac{\partial G(\beta)}{\partial t}\frac{\partial t}{\partial \beta}[/tex]

But how do I find [tex]\frac{\partial x}{\partial \alpha},\frac{\partial x}{\partial \beta}?[/tex]
 
  • #5
[tex]x=\frac{\alpha+\beta}{2} \Rightarrow \frac{\partial x}{\partial \alpha} = \frac{1}{2}[/tex]

and so on. You do pretty much the same thing you did in part (a) just with different variables.
 
  • #6
vela said:
[tex]x=\frac{\alpha+\beta}{2} \Rightarrow \frac{\partial x}{\partial \alpha} = \frac{1}{2}[/tex]

and so on. You do pretty much the same thing you did in part (a) just with different variables.

I try this part and I got a different answer:

[tex]\frac{\partial x}{\partial \alpha} = \frac{\partial (\alpha + \beta)}{2} = \frac{1}{2} [\frac{\partial \alpha}{\partial \alpha} + \frac{\partial \beta}{\partial x} \frac{\partial x}{\partial \alpha}] = \frac{1}{2}[ 1 + \frac{\partial x}{\partial \alpha}][/tex]

[tex]\Rightarrow \frac{\partial x}{\partial \alpha} = 1 [/tex]

Which is the same as [tex]\frac {1}{(\frac{\partial \alpha}{\partial x})} = 1[/tex]

What did I do wrong?
 
  • #7
[itex]x=x(\alpha,\beta)[/itex] is a function of [itex]\alpha[/itex] and [itex]\beta[/itex]. When you take the partial derivative wrt [itex]\alpha[/itex], you hold [itex]\beta[/itex] constant.
 
  • #8
vela said:
[itex]x=x(\alpha,\beta)[/itex] is a function of [itex]\alpha[/itex] and [itex]\beta[/itex]. When you take the partial derivative wrt [itex]\alpha[/itex], you hold [itex]\beta[/itex] constant.

The thing that confuse me is both [tex] \alpha, \beta[/tex] have x and t. [tex] \alpha, \beta[/tex] are not independent variables like x and y in the normal case. [tex] \alpha = 2x-\beta[/tex].

That is the thing that really throw me off all this time. That is the reason I did it in post #6. Why it is wrong in post #6.
 
  • #9
You can say the same thing about x and t. They both depend on [itex]\alpha[/itex] and [itex]\beta[/itex]. It's like a change of basis from x and t to [itex]\alpha[/itex] and [itex]\beta[/itex].
 
  • #10
vela said:
You can say the same thing about x and t. They both depend on [itex]\alpha[/itex] and [itex]\beta[/itex]. It's like a change of basis from x and t to [itex]\alpha[/itex] and [itex]\beta[/itex].

I still don't get it. Let say x is position, t is time. We equate [tex]\alpha = x+ct, \beta=x-ct[/tex]. This imply only [tex]\alpha, \beta[/tex] is depending on both position and time. That cannot reverse to imply x and t have a relation. x and t are completely indenpend variable. I just cannot turn this around in my mind.

Also in post #6, I don't assume anything there, I just step by step derive the formula. I look at it again and again, I just don't see what I did wrong. Can you comment about post #6 where exactly I did wrong that it won't work even if [tex]\alpha, \beta[/tex] are being treated as independent variables.

Thanks for your patient. I feel I am stuck in a spot.
 
  • #11
Just as x and t are independent when you write [itex]\alpha=\alpha(x,t)[/itex] and [itex]\beta=\beta(x,t)[/itex], you consider [itex]\alpha[/itex] and [itex]\beta[/itex] to be independent when you write [itex]x=x(\alpha,\beta)[/itex] and [itex]y=y(\alpha,\beta)[/itex].

In #6, you're taking the partial derivative with respect to [itex]\alpha[/itex]. That means [itex]\beta[/itex] is held constant so any derivative of [itex]\beta[/itex] will equal 0.
 
  • #12
vela said:
Just as x and t are independent when you write [itex]\alpha=\alpha(x,t)[/itex] and [itex]\beta=\beta(x,t)[/itex], you consider [itex]\alpha[/itex] and [itex]\beta[/itex] to be independent when you write [itex]x=x(\alpha,\beta)[/itex] and [itex]y=y(\alpha,\beta)[/itex].

In #6, you're taking the partial derivative with respect to [itex]\alpha[/itex]. That means [itex]\beta[/itex] is held constant so any derivative of [itex]\beta[/itex] will equal 0.

Please bear with me, I am still stuck! What is wrong with this:

[tex]\frac{\partial \beta}{\partial \alpha} = \frac{\partial \beta}{\partial x} \frac{\partial x}{\partial \alpha} = \frac{\partial \beta}{\partial x}[/tex]
 
  • #13
Think about it in terms of linear algebra: (1,0) and (0,1) are two independent vectors that span R^2. Spanning R^2 means that given any point p in R^2, you can find coordinates x and y such that p = x (1,0) + y (0,1). (1,0) and (1,1) are also independent and form a basis for R^2, but they are not orthogonal.

The same is true for alpha and beta. They are two independent coordinates (in the linear algebra sense) and form a basis for R^2, but they are not orthogonal.
 
  • #14
yungman said:
Please bear with me, I am still stuck! What is wrong with this:

[tex]\frac{\partial \beta}{\partial \alpha} = \frac{\partial \beta}{\partial x} \frac{\partial x}{\partial \alpha} = \frac{\partial \beta}{\partial x}[/tex]

Consider another example: take standard x-y coordinates and define a function t(x,y) = x+y. By the same argument,

[tex]\frac{\partial y}{\partial x} = \frac{\partial y}{\partial t} \frac{\partial t}{\partial x} = 1 \cdot 1 = 1[/tex]

Do you see what happened?
 
  • #15
owlpride said:
Consider another example: take standard x-y coordinates and define a function t(x,y) = x+y. By the same argument,

[tex]\frac{\partial y}{\partial x} = \frac{\partial y}{\partial t} \frac{\partial t}{\partial x} = 1 \cdot 1 = 1[/tex]

Do you see what happened?

I got out the multi variable book and read up on the chain rule, I am still reading and thinking about it. I thing I see wrong with my assumption is [tex]\frac{\partial x}{\partial \alpha} [/tex]is not legal in the chain rule because it is traveling "up" the diagram.

I can see

[tex]\frac{\partial y}{\partial x} = \frac{\partial y}{\partial t} \frac{\partial t}{\partial x} = 1 \cdot 1 = 1[/tex]

Is wrong because t is function of y, y is not a function of t.

[tex]\frac{\partial y}{\partial t}[/tex] is not allowed.

Am I correct?

Also is [tex] \alpha,\beta[/tex] independent variable that [tex]\frac{\partial \alpha}{\partial \beta}=0[/tex]?
 
Last edited:
  • #16
The diagrams are a good way to take partial derivatives. When you try to differentiate alpha with respect to beta, you are either moving up in the diagram or you need to build a circular diagram (beta is a function of x and t, x is a function of alpha and beta, etc).

Have you tried drawing a picture of what the alpha and beta coordinate curves look like? Once you draw a picture, you can see that you can freely vary alpha without affecting beta. You can also do this algebraically: Suppose beta = x-ct = const or t = (x - const)/c. If you move along the line t = (x - const)/c, you will vary alpha while keeping beta fixed.

It's the analog of moving parallel to the x-axis (keeping the y coordinate fixed) in the x-y world. Alpha and beta are two independent coordinates, and the equations alpha = x + ct, beta = x - ct tell you how to convert between alpha/beta and x/y coordinates.
 
  • #17
Can anyone show me how to prove this part?

Transform [tex]\frac{\partial^2 u}{\partial t^2}= c^2\frac{\partial^2 u}{\partial x^2}[/tex] into [tex]\frac{\partial^2 u}{\partial \alpha \partial \beta}=0[/tex]

where [tex]u(x,t)=F(x+ct) + G(x-ct)[/tex]

and [tex]\alpha = x+ct,\beta = x-ct[/tex]

This is not a school work and I am still struggling on the Chain rule. I am hopping if I get the steps to solve this problem, I can reverse it and try to understand this. I think I spent enough time on this already.

Thanks
 
  • #18
I think you and vela have established that

du/d(alpha) = du/dx dx/d(alpha) + du/dt dt/d(alpha) = 1/2 du/dx + 1/2 du/dt
du/d(beta) = du/dx dx/d(beta) + du/dt dt/d(beta) = 1/(2c) du/dx - 1/(2c) du/dt

Can you say anything about the second partial derivatives of u with respect to alpha and beta?
 
  • #19
Or if you already know this part:
[tex]
u(x,t)=F(x+ct) + G(x-ct) = F(\alpha) + G(\beta)
[/tex]
it's even easier:

The derivative of F(alpha) with respect to beta is zero. Differentiating G'(beta) with respect to alpha makes that zero. QED. Alpha and beta are independent variables!
 
  • #20
I gave this a lot of thoughts. I still cannot accept [tex]\frac{\partial G(\beta)}{\partial \alpha}=0 [/tex]

Please bear with me. Let's take a look at this example:

Let [tex]G(\beta)=-\beta = \beta - 2\beta = x-ct-2x+2ct=(x+ct)-2x=\alpha -2x[/tex]

[tex]\Rightarrow\frac{\partial G(\beta)}{\partial \alpha}= \frac{\partial \alpha}{\partial \alpha} + \frac{\partial 2x}{\partial \alpha}= 1+0=1 [/tex]

Yes I know I am playing around and the argument is very thin, but never the less, it is valid. My whole point is just because [tex] \alpha[/tex] and [tex]\beta[/tex] are independent variable, [tex]\frac{\partial G(\beta)}{\partial \alpha}[/tex] not necessary equal 0.

[tex]\frac{\partial \beta}{\partial \alpha}=0 [/tex] do not imply at all [tex]\frac{\partial G(\beta)}{\partial \alpha}=0 [/tex]

I don't think the question is good to say [tex]\frac{\partial^2 u}{\partial \alpha \partial \beta}}=0[/tex] I have been struggling on this very point for two days!

Please tell me if I am correct.

Thanks a million.

Alan
 
Last edited:
  • #21
Anyone please?
 
  • #22
When you take a partial derivative with respect to [itex]\alpha[/itex], you hold the other independent variables constant, so

[tex]\frac{\partial G(\alpha,\beta)}{\partial \alpha} = \lim_{h\rightarrow 0}\frac{G(\alpha+h,\beta)-G(\alpha,\beta)}{h}[/tex]

So say [itex]G(\alpha,\beta)=\beta[/itex] as in your example. The numerator is 0 because regardless of the value of [itex]\alpha[/itex] and [itex]\alpha+h[/itex], G is equal to [itex]\beta[/itex]. It will work out similarly for any function that depends only on [itex]\beta[/itex].
 
  • #23
vela said:
When you take a partial derivative with respect to [itex]\alpha[/itex], you hold the other independent variables constant, so

[tex]\frac{\partial G(\alpha,\beta)}{\partial \alpha} = \lim_{h\rightarrow 0}\frac{G(\alpha+h,\beta)-G(\alpha,\beta)}{h}[/tex]

So say [itex]G(\alpha,\beta)=\beta[/itex] as in your example. The numerator is 0 because regardless of the value of [itex]\alpha[/itex] and [itex]\alpha+h[/itex], G is equal to [itex]\beta[/itex]. It will work out similarly for any function that depends only on [itex]\beta[/itex].


I think it is supposed to be:

[tex]\frac{\partial G(\alpha,\beta)}{\partial \alpha} = \lim_{\Delta\alpha\rightarrow 0}\frac{G(\alpha+\Delta\alpha,\beta)-G(\alpha,\beta)}{\Delta\alpha}[/tex]



If you don't have reason to dispute my assertion that

In the case of [tex]G(\beta)=-\beta = \beta - 2\beta = x-ct-2x+2ct=(x+ct)-2x=\alpha -2x[/tex]

[tex]x=\frac{\alpha+\beta}{2} \Rightarrow \frac{\partial x}{\partial \alpha} = \frac{1}{2}[/tex]

[tex]\Rightarrow\frac{\partial G(\beta)}{\partial \alpha}= \frac{\partial \alpha}{\partial \alpha} + \frac{\partial 2x}{\partial \alpha}= 1+1=2 [/tex]

Then I don't think it is zero.

I really appreciate your help and I really don't mean to be difficult. I just need to be convinced like you convinced me that the [tex]\alpha,\beta[/tex] are totally independent.

I might be missing something here, but from what I understand, it still don't make sense to me.

Thanks for all your help
Alan
 
Last edited:
  • #24
yungman said:
I think it is supposed to be:

[tex]\frac{\partial G(\alpha,\beta)}{\partial \alpha} = \lim_{\Delta\alpha\rightarrow 0}\frac{G(\alpha+\Delta\alpha,\beta)-G(\alpha,\beta)}{\Delta\alpha}[/tex]
I'm not sure what your point is here. I called the small increment h, and you called it [itex]\Delta\alpha[/itex]. It doesn't make a difference what you call it.
If you don't have reason to dispute my assertion that

In the case of [tex]G(\beta)=-\beta = \beta - 2\beta = x-ct-2x+2ct=(x+ct)-2x=\alpha -2x[/tex]

[tex]\Rightarrow\frac{\partial G(\beta)}{\partial \alpha}= \frac{\partial \alpha}{\partial \alpha} + \frac{\partial 2x}{\partial \alpha}= 1+0=1 [/tex]

Then I don't think it is zero.
Well, you made two mistakes. First, you flipped the sign of the second term. Second, [itex]\partial x/\partial\alpha=1/2[/itex], so your example actually does come out to zero, but that's just an accident of how the numbers work out. Still, it's pointless to address your argument because it's based on the misconception that varying [itex]\alpha[/itex] while holding [itex]\beta[/itex] constant will lead to variation of a function of only [itex]\beta[/itex].

I really appreciate your help and I really don't mean to be difficult. I just need to be convinced like you convinced me that the [tex]\alpha,\beta[/tex] are totally independent.

I might be missing something here, but from what I understand, it still don't make sense to me.
Well, it's apparent you aren't convinced [itex]\alpha[/itex] and [itex]\beta[/itex] are independent since you're arguing that varying [itex]\alpha[/itex] will necessarily induce a change in [itex]\beta[/itex]. The fact they are independent means you can change one while holding the other constant.

When you vary [itex]\alpha[/itex], you can hold [itex]\beta[/itex] constant if you move in the right direction in the x-ct plane. (I'm using ct instead of just t to simplify the algebra a little.) From the relationships you derived earlier, you can determine the change in x and ct caused by a change in [itex]\alpha[/itex] and [itex]\beta[/itex]:

[tex]\delta x = 1/2 (\delta\alpha+\delta\beta)[/tex]
[tex]\delta (ct) = 1/2 (\delta\alpha-\delta\beta)[/tex]

If [itex]\beta[/itex] is constant, you have [itex]\delta\beta=0[/itex], and you get [itex](\delta x,\delta (ct)) = (1/2,1/2) \delta\alpha[/itex]. Recall the directional derivative

[tex]\nabla_{\hat{u}} f = \hat{u}\cdot \nabla f = u_x \frac{\partial f}{\partial x} + u_y \frac{\partial f}{\partial y}[/tex]

This suggests the partial derivative with respect to [itex]\alpha[/itex] is

[tex]\frac{\partial u}{\partial \alpha} = \frac{1}{2}\frac{\partial u}{\partial x}+\frac{1}{2}\frac{\partial u}{\partial (ct)}[/tex]

Note this is exactly the same result you get when you write

[tex]\frac{\partial u}{\partial \alpha} = \frac{\partial x}{\partial \alpha}\frac{\partial u}{\partial x}+\frac{\partial (ct)}{\partial \alpha}\frac{\partial u}{\partial (ct)}[/tex]
 
  • #25
beta=2x-alpha, so -beta=alpha-2x. The partial derivative you computed should be 1-1=0.
 
  • #26
Yes, I double checked, I was wrong and is equal to 0. I did tried with [tex]G(\beta)=-\beta^2[/tex] and still come out to zero. Maybe it is really true that [tex]\frac{\partial G(\beta)}{\partial \alpha}=0[/tex]. I give up.

I just not convince that [tex]\frac{\partial G(\beta)}{\partial \alpha}=0[/tex]. If anyone have a more convincing way to show, I would love to see it. As I said, most likely you guys are right, I just don't see a convincing prove like I see in other theorem proves and I am not very good in buying "It's just is".

Anyway, thanks for all your time.
 
  • #27
Taking the partial derivative means, by definition, "hold all other variables constant and compute the derivative of this function with respect to this variable". Since all other variables are constant, well, all other variables are constant. If a function depends only on beta and beta doesn't change, then the function can't possibly change. This is why the partial derivative of G(beta) with respect to alpha is 0: beta, by definition, must be held constant.

To reinforce the point, why is the derivative equal to the slope of the tangent? It was defined that way. Why does the "+" sign represent addition? It was defined that way. Why is i =sqrt(-1)? It was defined that way.
 

1. What is a PDE?

A PDE, or partial differential equation, is a type of mathematical equation that involves multiple variables and their partial derivatives. It is used to describe physical phenomena in fields such as physics, engineering, and economics.

2. What are some common types of PDEs?

Some common types of PDEs include the heat equation, wave equation, and Laplace's equation. These equations are used to model phenomena such as heat flow, wave propagation, and electric potential.

3. How do I check the answer of a simple PDE?

To check the answer of a simple PDE, you can use various techniques such as substitution, separation of variables, or numerical methods. It is important to also check for boundary conditions and make sure the solution satisfies the original equation.

4. What are boundary conditions in PDEs?

Boundary conditions are conditions that must be satisfied at the boundary of a domain in which a PDE is being solved. These conditions can be either specified values or relationships between the solution and its derivatives at the boundary.

5. Can PDEs be solved analytically?

Some simple PDEs can be solved analytically using techniques such as separation of variables or the method of characteristics. However, many PDEs require numerical methods for solution due to their complexity.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
156
  • Calculus and Beyond Homework Help
Replies
4
Views
693
  • Calculus and Beyond Homework Help
Replies
5
Views
620
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
559
  • Calculus and Beyond Homework Help
Replies
1
Views
443
  • Calculus and Beyond Homework Help
Replies
3
Views
606
Replies
4
Views
500
  • Calculus and Beyond Homework Help
Replies
6
Views
548
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Back
Top