Change of variable (involving partial diff.)

14 replies · 3K views · last reply
athrun200
Messages
275
Reaction score
0

Homework Statement



Scanned textbook problem 19: show the electric field E of a point charge is conservative, write phi in rectangular coordinates and find E = -grad phi in rectangular and cylindrical coordinates, then verify equivalence to (8.11).


Homework Equations



Handwritten notes on lined paper: 6.3 gradient of phi in Cartesian form, i dphi/dx + j dphi/dy + k dphi/dz; 6.7 gradient of phi in polar form, e_r dphi/dr + e_theta (1/r) dphi/dtheta; 8.11 E = q/r^3 times r vector = q/r^2 times e_r.


The Attempt at a Solution


I am not sure part b and c.

Also, I don't know how to answer the last question.

Handwritten notes deriving a conservative vector field E = -grad phi, computing the line integral of F along three segments, then rewriting the gradient in cylindrical coordinates and converting E to rectangular coordinates.
 
Attachments
  • Photo of a textbook page showing exercise 19: show that the electric field E of a point charge is conservative, write phi in rectangular and cylindrical coordinates, and verify E = -grad phi, with handwritten underlines and a bracket.
    3.jpg
    16.4 KB · Views: 712
  • Handwritten notes on a conservative field F = -(1/z)... showing curl F = 0, a line integral of F along two paths, and a conversion of partial derivatives from Cartesian to cylindrical coordinates, ending with E = -grad V in cylindrical form.
    5.jpg
    14.3 KB · Views: 535
  • Handwritten notes on lined paper: 6.3 grad phi = i (partial phi/partial x) + j (partial phi/partial y) + k (partial phi/partial z); 6.7 grad phi = e_r (partial phi/partial r) + e_theta (1/r)(partial phi/partial theta); 8.11 E = q/r^3 r-vector = q/r^2 e_r.
    4.jpg
    23 KB · Views: 539
In your solution for part 3, you have a factor of r3 in the denominator outside the integral (in each of the three integrals). Remember r = x + y + z, so you cannot take it outside the integral.

Your approach for part c looks confusing. We'll talk about part c, let's get through part b first.
 
Sourabh N said:
In your solution for part 3, you have a factor of r3 in the denominator outside the integral (in each of the three integrals). Remember r = x + y + z, so you cannot take it outside the integral.

Your approach for part c looks confusing. We'll talk about part c, let's get through part b first.

It seems [itex]r=\sqrt{x^{2}+y^{2}+z^{2}}[/itex], isn't it?
 
Well if I intergrate r at the same time, it becomes [itex]\int\frac{x}{({x^{2}+y^{2}+z^{2}})^\frac{3}{2}}[/itex]

Which is difficult to integrate...
 
athrun200 said:
Well if I intergrate r at the same time, it becomes [itex]\int\frac{x}{({x^{2}+y^{2}+z^{2}})^\frac{3}{2}}[/itex]

Which is difficult to integrate...
Not really. For example, for x integral take x2 + y2 + z2 = t, then 2xdx = dt and your integral is simply dt/2*(t^1.5)
 
Sourabh N said:
Not really. For example, for x integral take x2 + y2 + z2 = t, then 2xdx = dt and your integral is simply dt/2*(t^1.5)

Oh. I forget that I can use substitution.
But how about the new interval?
From 0 to x^2+y^2+z^2?
 
athrun200 said:
Oh. I forget that I can use substitution.
But how about the new interval?
From 0 to x^2+y^2+z^2?
Common convention is to express potential relative to potential at infinity, so limits would be[itex]\infty[/itex] to x2 + y2 + z2.
 
Now, I find that the integral for x, y and z are the same.
Is that correct now?

Handwritten calculus derivation: substitution t = x^2 + y^2 + z^2, dt = 2x dx, integral of q dt over 2t^(3/2) from 0 to x^2+y^2+z^2 evaluates to -q/sqrt(x^2+y^2+z^2) = -q/r, then 'Similarly w1 = w2 = w3'.
 
Attachments
  • Handwritten derivation: substitution t = x^2 + y^2 + z^2 gives dt = 2x dx, then integral from 0 to x^2+y^2+z^2 of q dt/(2 t^(3/2)) = [-q t^(-1/2)] = -q/sqrt(x^2+y^2+z^2) = -q/r, followed by 'Similarly w1 = w2 = w3'.
    1.jpg
    18.6 KB · Views: 527
athrun200 said:
Now, I find that the integral for x, y and z are the same.
Is that correct now?

Handwritten derivation: let t = x^2 + y^2 + z^2, so dt = 2x dx; then q times the integral from 0 to x^2+y^2+z^2 of dt over 2t^(3/2), giving -q over the square root of x^2+y^2+z^2, then -q/r, and similarly w1 = w2 = w3.



2 things. First, although you wrote 0 as lower limit, you realize it's actually infinity (as I mentioned in previous post). Having the correct upper and lower limit will help you fix the sign of final value for x integral you get.
Second, note it's the x integral; it is accompanied with a [itex]\hat{x}[/itex] and similarly y and z integral are accompanied with respective unit vectors. Together they form [itex]\vec{E}[/itex] which has to look same as 8.11 (this is part c!)
 
Sourabh N said:
2 things. First, although you wrote 0 as lower limit, you realize it's actually infinity (as I mentioned in previous post). Having the correct upper and lower limit will help you fix the sign of final value for x integral you get.
Do you mean I should put infinty as the upper limit and x^+y^+z^2 as lower limit?
What is the physical meaning if I put infinty as the lower limit and x^+y^+z^2 as the upper limit?
Sourabh N said:
Second, note it's the x integral; it is accompanied with a [itex]\hat{x}[/itex] and similarly y and z integral are accompanied with respective unit vectors. Together they form [itex]\vec{E}[/itex] which has to look same as 8.11 (this is part c!)

I don't understand this point.
Do you mean that I miss out the vector?

However, inside the integral is a dot product. i.e.[itex]F\bullet dr[/itex]
Since dot product produce scalar only, there should be not any vector left.
 
athrun200 said:
Do you mean I should put infinty as the upper limit and x^+y^+z^2 as lower limit?
What is the physical meaning if I put infinty as the lower limit and x^+y^+z^2 as the upper limit?
Look at it this way - x2 + y2 + z2 = t (where y and z and not constant anymore). So, 2xdx + 2ydy + 2zdz = dt. This substitution makes more sense than taking x2 + y2 + z2 = t with y and z constant as I had suggested previously. Because now the limit of integral is infinity and x2 + y2 + z2. I am not sure about limits of the integral if y and z are kept constant.

On the meaning of upper lower limits - Griffith defines potential like
Equation V(r) = -∫ E · dl over a path from infinity to r, with the integral sign marked by a circle and the lower limit O and upper limit r shown.
I cannot possibly give a better explanation. I highly recommend you have a look (Sec 2.3 in Griffith - Intro to electrodynamics)

I don't understand this point.
Do you mean that I miss out the vector?

However, inside the integral is a dot product. i.e.[itex]F\bullet dr[/itex]
Since dot product produce scalar only, there should be not any vector left.

Ignore this. I jumped on part c in my head.
 
Last edited:
Sourabh N said:
Look at it this way - x2 + y2 + z2 = t (where y and z and not constant anymore). So, 2xdx + 2ydy + 2zdz = dt. This substitution makes more sense than taking x2 + y2 + z2 = t with y and z constant as I had suggested previously. Because now the limit of integral is infinity and x2 + y2 + z2. I am not sure about limits of the integral if y and z are kept constant.

On the meaning of upper lower limits - Griffith defines potential like View attachment 37100 I cannot possibly give a better explanation. I highly recommend you have a look (Sec 2.3 in Griffith - Intro to electrodynamics)



Ignore this. I jumped on part c in my head.

So [itex]\phi=\frac{q}{r}[/itex]?
If it is correct, let's move to part c.

I would like to know if I get the correct cylindrical form.
 
athrun200 said:
So [itex]\phi=\frac{q}{r}[/itex]?
If it is correct, let's move to part c.
Yes that is correct. You can check that by using [itex]\vec{E}[/itex] = -[itex]\nabla[/itex] [itex]\phi[/itex] and comparing it with 8.11
I would like to know if I get the correct cylindrical form.
To get [itex]\phi[/itex] in cylindrical form, you have to write [itex]\vec{E}[/itex] in cylindrical coordinates and follow the procedure as above. (To know how to go to cylindrical from spherical, look at http://is.gd/JFitBh)
 
Sourabh N said:
To get [itex]\phi[/itex] in cylindrical form, you have to write [itex]\vec{E}[/itex] in cylindrical coordinates and follow the procedure as above. (To know how to go to cylindrical from spherical, look at http://is.gd/JFitBh)

Do you mean that my approach above can't get the answer?
If so, why?