Calculating the charge if the electric field density = 0

12 replies · 2K views · last reply
falyusuf
Messages
35
Reaction score
3
Homework Statement
Attached below.
Relevant Equations
Attached below.
Question:
Textbook problem 9: A sphere of radius 10 cm has volume charge density rho_v = (r^3/100) C/m^3; find the point charge at the center so D vanishes for r > 10 cm.

Relevant Equations:

Gauss's law in integral form: closed surface integral over S of D dot ds equals the volume integral from 0 to a of rho v dv.

Gauss's law in integral form: closed surface integral over S of D dot dS equals Q enc, with the integral sign and subscript S shown and the vector arrows over D and dS.

My attempt:
Handwritten derivation of electric flux density D for r > a and r < a, with the Gauss law integral over S, a triple integral in r, theta and phi, and the result D = a^3 pi / (50 r^2) and D = q / (4 pi r^2).

Handwritten-style worked solution on slide: heading 'For D=0 outside the sphere, q would be:' followed by a/3π/(50πr²) + q/(4πr²) = 0, r = 0.1m / a = 0.1m, q = −a³π/(50(0.1)²)·4π(0·1)² and q = −7.896 × 10⁻³ (C).

Could someone please confirm my solution?
 
Doesn't look right.
1. Is r a variable or a constant?
2. Is dv = drdθdφ?
3. Is the integral of r3/100 = a3/100?
 
mjc123 said:
1. Is r a variable or a constant?
r is constant as it is the radius of the sphere whereas a is variable.
mjc123 said:
2. Is dv = drdθdφ?
yes, (for the sphere)
mjc123 said:
3. Is the integral of r3/100 = a3/100?
I was mistaken here, it should be a^4 / 400
 
falyusuf said:
r is constant as it is the radius of the sphere whereas a is variable.
You are integrating by dr from limits 0 to a, yet treat 4πr2 as a constant.
falyusuf said:
yes, (for the sphere)
Really? What are the dimensions on either side?
 
mjc123 said:
You are integrating by dr from limits 0 to a, yet treat 4πr2 as a constant.

Really? What are the dimensions on either side?
Is dv = r^2 sin theta dtheta dPhi dr ?
I tried to correct my mistakes and this is what I got:
Handwritten-style equations for the flux of electric flux density D over a sphere: a triple integral over r, theta and phi evaluated to D = a^4/400, then for r < a, the closed surface integral of D equals Q_enc, giving D = q/(4 pi r^2).
 
Last edited:
I still think you're using r in a confusing way. Use r for the integration variable and R (constant) for the distance at which you want to evaluate the field. Then you are not integrating r3, but r5/R2.
 
mjc123 said:
I still think you're using r in a confusing way. Use r for the integration variable and R (constant) for the distance at which you want to evaluate the field. Then you are not integrating r3, but r5/R2.
Am I right now?
Handwritten-style typeset equations: a triple integral of D vector over r from 0 to R, theta from 0 to pi, phi from 0 to 2pi, integrand r cubed times r squared over 100 times 4 pi R squared, times sin theta; then D vector equals (-r^5 over 100 times 4 pi R) times 2 times 2 pi; then D vector equals -r^5 over 100 times 0.1 equals -r^5 over 10.
 
The integration variable is r, not R. And the upper limit is a, not R.
 
mjc123 said:
The integration variable is r, not R. And the upper limit is a, not R.
Sorry I was confused.
Handwritten-style worked derivation of electric flux density D for r > a and r < a, using Gauss's law with a volume charge integral and spherical coordinates, ending in D = a^6/6 for r > a and D = q/(4 pi r^2) for r < a.

Handwritten-style worked derivation: for r < a, Gauss's law contour integral of D dot dS equals Q_enc, giving D = q/(4 pi r^2); then for D=0 outside the sphere, a^6/6 + q/(4 pi r^2) = 0, r = 0.1 m, a = 0.1 m, q = -20.944 nC.


Right?
 
Attachments
  • Handwritten-style derivation of a displacement integral D = integral from 0 to a of r^3 * r^2 over 100 * 4 pi R^2 dr, times integral of sin theta d theta from 0 to Pi, times integral of dphi from 0 to 2 pi, then simplified to D = a^6 / (6 * 100 * 4 pi R^2) times 2 times 2 pi, and finally D = a^6 / (600 * (0.1)^2) = a^6 / 6.
    1637446546109.png
    7.8 KB · Views: 191
Last edited:
R is not 0.1 m. a is 0.1 m. You should have R2 in the denominator for both expressions, and it will cancel out.
You need to be very careful in distinguishing the various distances and using consistent notation for them. Too many rs is a recipe for confusion.
 
mjc123 said:
R is not 0.1 m. a is 0.1 m. You should have R2 in the denominator for both expressions, and it will cancel out.
You need to be very careful in distinguishing the various distances and using consistent notation for them. Too many rs is a recipe for confusion.
Thanks for clarifying. I solved it using two methods and I got the same magnitude with opposite sign. Could you please figure out my mistake?
Handwritten derivation of electric flux density D for a charged sphere: for r > a, D = a^6/(600 r^2); for r < a, D = q/(4 pi r^2); then the charge q is solved from a^6/(600 r^2) + q/(4 pi r^2) = 0 with a = 0.1 m, giving q = -0.0209 μC.

Handwritten-style typeset derivation titled Alternative method: phi equals the volume integral of rho_v dv, equal to 1/100 times the triple integral over r from 0 to 0.1 of r^3 times r^2 dr, phi integral from 0 to 2pi of 1 dPhi, and theta integral from 0 to pi of sin theta dtheta, followed by phi = Q = 0.0209 microcoulomb.
 
I'm not quite sure what you're doing in method 2, but the point charge at the centre should be equal to minus the charge obtained by integrating ρ over the volume of the sphere. So from outside it behaves like a point charge of zero.
I think your answer of -2.09e-8 C is correct. (I did it in my head and got -2.09e-4 C; I think I must have accidentally switched the factor of 100 from the bottom to the top:).)
 
  • Like
Likes   Reactions: falyusuf
mjc123 said:
I'm not quite sure what you're doing in method 2, but the point charge at the centre should be equal to minus the charge obtained by integrating ρ over the volume of the sphere. So from outside it behaves like a point charge of zero.
I think your answer of -2.09e-8 C is correct. (I did it in my head and got -2.09e-4 C; I think I must have accidentally switched the factor of 100 from the bottom to the top:).)
I got it now.. Thank you so much. Appreciate your help.
 
Last edited: