Solution for Expressing Derivatives in Terms of u

  • Thread starter Thread starter gtfitzpatrick
  • Start date Start date
  • Tags Tags
    Derivatives Terms
Click For Summary

Homework Help Overview

The discussion revolves around expressing derivatives of a function \( w(r, \theta) \) in terms of another function \( u(x, y) \) within the context of a partial differential equation (PDE). The original poster seeks to compute the partial derivatives \( \frac{\partial w}{\partial r} \) and \( \frac{\partial w}{\partial \theta} \) based on the relationships between the variables in polar coordinates.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the relationships between the derivatives of \( w \) and \( u \) using the chain rule, with attempts to express these derivatives in terms of \( \frac{\partial u}{\partial x} \) and \( \frac{\partial u}{\partial y} \). There are questions about the correctness of the derivatives and how to substitute variables appropriately. Some participants suggest simplifying the expressions using relationships between \( x, y \) and \( r, \theta \).

Discussion Status

The discussion is ongoing, with participants providing guidance on computing derivatives and expressing them in terms of the original variables. There is a recognition of the need to rewrite the PDE in polar coordinates, and some participants are exploring the implications of initial conditions on the solution.

Contextual Notes

Participants note the constraints of the problem, including the initial condition \( u(x, 0) = 0 \) and the range \( 0 < x < \infty \). There is also a discussion about the implications of these conditions in the context of polar coordinates.

gtfitzpatrick
Messages
372
Reaction score
0

Homework Statement



w(r,[tex]\theta[/tex])= u(rcos [tex]\theta[/tex]),rsin([tex]\theta[/tex])) for some u(x,y)

express [tex] \frac{ \partial w}{\partial r}[/tex] and [tex]\frac{ \partial w}{ \partial \theta}[/tex] in terms of [tex]\frac{ \partial u}{ \partial x}[/tex] and [tex]\frac{ \partial u}{ \partial y}[/tex]

Homework Equations



rewrite the following PDE and initial conditions in terms of w,r and [tex]\theta[/tex] and solve

y[tex]\frac{ \partial u}{ \partial x}[/tex] - x[tex]\frac{ \partial u}{ \partial y}[/tex] = 1 where u(x,0) = 0 for 0<x<[tex]\infty[/tex]

The Attempt at a Solution



[tex]\frac{ \partial w}{ \partial r}[/tex] = [tex]\frac{ \partial u}{ \partial x}[/tex] . [tex]\frac{ \partial x}{ \partial r}[/tex] + [tex]\frac{ \partial u}{ \partial y}[/tex] . [tex]\frac{ \partial y}{ \partial r}[/tex]

and


[tex]\frac{ \partial w}{ \partial \theta}[/tex] = [tex]\frac{ \partial u}{ \partial x}[/tex] . [tex]\frac{ \partial x}{ \partial \theta}[/tex] + [tex]\frac{ \partial u}{ \partial y}[/tex] . [tex]\frac{ \partial y}{ \partial \theta}[/tex]

but I am not sure about part b...
 
Physics news on Phys.org
any suggestions anyone?
 
gtfitzpatrick said:

The Attempt at a Solution



[tex]\frac{ \partial w}{ \partial r}[/tex] = [tex]\frac{ \partial u}{ \partial x}[/tex] . [tex]\frac{ \partial x}{ \partial r}[/tex] + [tex]\frac{ \partial u}{ \partial y}[/tex] . [tex]\frac{ \partial y}{ \partial r}[/tex]

and


[tex]\frac{ \partial w}{ \partial \theta}[/tex] = [tex]\frac{ \partial u}{ \partial x}[/tex] . [tex]\frac{ \partial x}{ \partial \theta}[/tex] + [tex]\frac{ \partial u}{ \partial y}[/tex] . [tex]\frac{ \partial y}{ \partial \theta}[/tex]

but I am not sure about part b...

You should be able to simplify these by using the relationship between [tex]x,y[/tex] and [tex]r,\theta[/tex].

rewrite the following PDE and initial conditions in terms of w,r and [tex]\theta[/tex] and solve

y[tex]\frac{ \partial u}{ \partial x}[/tex] - x[tex]\frac{ \partial u}{ \partial y}[/tex] = 1 where u(x,0) = 0 for 0<x<[tex]\infty[/tex]

Did you try to write this in terms of [tex]r,\theta[/tex]? You'll find that the form of the equation becomes very simple.
 
x= rcos [tex]\theta[/tex]
y = rsin [tex]\theta[/tex]
but how do i sub these in
 
As a first step you need to compute the derivatives [tex]\partial x/\partial r[/tex], etc. Then you need to determine the derivatives of u in terms of those of w and so on.
 
[tex] \frac{ \partial x}{ \partial r} [/tex] = 1
and [tex] \frac{ \partial y}{ \partial r} [/tex] = 1
so
[tex] \frac{ \partial w}{ \partial r} = \frac{ \partial u}{ \partial x} + \frac{ \partial u}{ \partial y}[/tex]
am i right in thinking this?
 
gtfitzpatrick said:
[tex] \frac{ \partial x}{ \partial r} [/tex] = 1
and [tex] \frac{ \partial y}{ \partial r} [/tex] = 1
so
[tex] \frac{ \partial w}{ \partial r} = \frac{ \partial u}{ \partial x} + \frac{ \partial u}{ \partial y}[/tex]
am i right in thinking this?

No. You just wrote that [tex]x=r \cos\theta[/tex], so how do you obtain [tex]\partial x/\partial r =1[/tex]?
 
sorrysorry i meant cos[tex]\theta[/tex]
 
OK, so you need to work out [tex]\partial w/\partial r[/tex] and [tex]\partial w/\partial \theta[/tex], then solve algebraically for [tex]\partial u/\partial x[/tex] and [tex]\partial u/\partial y[/tex].
 
  • #10
[tex] <br /> \frac{ \partial w}{ \partial r} = \frac{ \partial u}{ \partial x}cos\theta + \frac{ \partial u}{ \partial y}sin\theta<br /> [/tex]

and [tex] <br /> \frac{ \partial w}{ \partial r} = \frac{ \partial u}{ \partial x}rsin\theta - \frac{ \partial u}{ \partial y}rcos\theta<br /> [/tex]

right?
 
  • #11
[tex] <br /> <br /> \frac{ \partial w}{ \partial r} = \frac{1}{r}( \frac{ \partial u}{ \partial x}x + \frac{ \partial u}{ \partial y}y)<br /> <br /> [/tex]

and

[tex] <br /> <br /> \frac{ \partial w}{ \partial \theta} = \frac{ \partial u}{ \partial x}x - \frac{ \partial u}{ \partial y}y<br /> <br /> [/tex]

but I am not sure where to go from here...
 
  • #12
gtfitzpatrick said:
[tex] <br /> \frac{ \partial w}{ \partial r} = \frac{ \partial u}{ \partial x}cos\theta + \frac{ \partial u}{ \partial y}sin\theta<br /> [/tex]

and


[tex] <br /> \frac{ \partial w}{ \partial \mathbf{\theta}} = \frac{ \partial u}{ \partial x}rsin\theta - \frac{ \partial u}{ \partial y}rcos\theta<br /> [/tex]

right?

Now, like I said before, you want to solve these algebraically for [tex]\partial u/\partial x[/tex] and [tex]\partial u/\partial y[/tex]. You are then going to use those expressions to rewrite

[tex]y\frac{\partial u}{\partial x}-x\frac{\partial u}{\partial y}=1[/tex]

in terms of derivatives of [tex]w[/tex].
 
  • #13
from [tex] \frac{ \partial w}{ \partial \mathbf{\theta}} = \frac{ \partial u}{ \partial x}rsin\theta - \frac{ \partial u}{ \partial y}rcos\theta[/tex]

and

[tex] y\frac{\partial u}{\partial x}-x\frac{\partial u}{\partial y}=1[/tex]

[tex] \frac{ \partial w}{ \partial \mathbf{\theta}} = 1[/tex]

this is killing me. its probably staring me in the face...
 
  • #14
gtfitzpatrick said:
[tex] \frac{ \partial w}{ \partial \mathbf{\theta}} = 1[/tex]

this is killing me. its probably staring me in the face...

Well, what is the solution of that equation? Remember that this is a partial derivative, so the integration "constant" can depend on the other variable.

Next use the initial condition u(x,0) = 0 to fix the integration constant. What does the value y=0 correspond to in the polar coordinates?
 
  • #15
[tex] \frac{ \partial w}{ \partial \mathbf{\theta}} = 1 [/tex]

[tex]w(r,\theta) = \theta + f(r)[/tex]?

im digging a big hole here i feel :(
 
  • #16
gtfitzpatrick said:
[tex] \frac{ \partial w}{ \partial \mathbf{\theta}} = 1 [/tex]

[tex]w(r,\theta) = \theta + f(r)[/tex]?

im digging a big hole here i feel :(

That's correct. Now you have to figure out what y=0 means in polar coordinates and then apply the condition u(x,0)=0 to this solution.
 
  • #17
thanks fzero for you patience!
ng code was used to generate this LaTeX image:


[tex] \frac{ \partial w}{ \partial \theta} = \frac{ \partial u}{ \partial x}y - \frac{ \partial u}{ \partial y}x[/tex]

[tex] \frac{ \partial w}{ \partial r} = \frac{1}{r}( \frac{ \partial u}{ \partial x}x + \frac{ \partial u}{ \partial y}y)[/tex]

so this the answer for part a?

and then i use

[tex] <br /> \frac{ \partial w}{ \partial \mathbf{\theta}} = 1 <br /> [/tex]

[tex] w(r,\theta) = \theta + f(r) [/tex]

and then as you say figure out what y=0 means in polar coordinates and then apply the condition u(x,0)=0 to this solution.
 
  • #18
gtfitzpatrick said:
[tex] \frac{ \partial w}{ \partial \theta} = \frac{ \partial u}{ \partial x}y - \frac{ \partial u}{ \partial y}x[/tex]

[tex] \frac{ \partial w}{ \partial r} = \frac{1}{r}( \frac{ \partial u}{ \partial x}x + \frac{ \partial u}{ \partial y}y)[/tex]

so this the answer for part a?

Yes, though I'm not sure whether your grader will care if you express it this way or in terms of the angle.
 
  • #19
fzero said:
That's correct. Now you have to figure out what y=0 means in polar coordinates and then apply the condition u(x,0)=0 to this solution.


when y=o gives rcos[tex]\theta[/tex] = 0 can't br just that can it?
 
  • #20
gtfitzpatrick said:
when y=o gives rcos[tex]\theta[/tex] = 0 can't br just that can it?

Well [tex]y=r\sin\theta[/tex], so you want to find the solutions of [tex]r\sin\theta=0[/tex].
 
  • #21
how do i find the solution when there are 2 variables though? [tex]\theta[/tex] and r ? could there not be a any solution?
 
  • #22
gtfitzpatrick said:
how do i find the solution when there are 2 variables though? [tex]\theta[/tex] and r ? could there not be a any solution?

If the product

[tex]A(x) B(y)=0,[/tex]

then this is solved whenever either

[tex]A(x)=0[/tex]

or

[tex]B(y)=0.[/tex]
 
  • #23
so either r=0
or [tex]\theta[/tex] = 0 or [tex]\pi[/tex] ?
 
  • #24
gtfitzpatrick said:
so either r=0
or [tex]\theta[/tex] = 0 or [tex]\pi[/tex] ?

Right. Now you were also told that [tex]0< x < \infty[/tex], so are all of those compatible with this condition?
 
  • #25
[tex]\theta[/tex] must = 0 as cos[tex]\pi[/tex] = -1?
 
  • #26
gtfitzpatrick said:
[tex]\theta[/tex] must = 0 as cos[tex]\pi[/tex] = -1?

That's right. So what solution [tex]w(r,\theta)[/tex] satisfies the initial condition?
 
  • #27
fzero said:
That's right. So what solution [tex]w(r,\theta)[/tex] satisfies the initial condition?

[tex]w(r,\theta)[/tex] = [tex]w(r,0)[/tex] ??
 
  • #28
gtfitzpatrick said:
[tex]w(r,\theta)[/tex] = [tex]w(r,0)[/tex] ??

You're told that [tex]u(x,y=0)=0[/tex] for all allowed x. You found that [tex]y=0[/tex] corresponds to [tex]\theta =0[/tex]. So the initial condition is equivalent to [tex]w(r,\theta=0)=0[/tex]. Your general solution is

[tex]w(r,\theta) = \theta + f(r).[/tex]

What you want to do is use the initial condition to determine [tex]f(r)[/tex].
 
  • #29
[tex] w(r,\theta) = f(r).[/tex]
 
  • #30
gtfitzpatrick said:
[tex] w(r,\theta) = f(r).[/tex]

What value does that take when [tex]\theta=0[/tex]? Is it consistent with the information you were given?
 

Similar threads

Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
2
Views
2K
Replies
3
Views
2K
Replies
10
Views
3K
Replies
6
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K