Y component of electric field due to line of charge

Click For Summary
SUMMARY

The discussion focuses on calculating the y-component of the electric field produced by a uniformly distributed positive charge Q along the positive y-axis, with a negative point charge -q located on the positive x-axis. The initial attempt at solving the problem involved integrating the expression dE_y = K[(lambda)dy/(x^2+y^2)]*(y/(x^2+y^2)^(1/2)), but the integration was incorrect, leading to dimensional inconsistencies. The correct approach emphasizes checking units and suggests using tools like Wolfram Alpha for integration to avoid manual errors.

PREREQUISITES
  • Understanding of electric fields and charge distributions
  • Familiarity with calculus, particularly integration techniques
  • Knowledge of dimensional analysis in physics
  • Experience with mathematical typesetting, specifically LaTeX or similar tools
NEXT STEPS
  • Learn about electric field calculations for continuous charge distributions
  • Study integration techniques, focusing on trigonometric substitutions
  • Explore dimensional analysis to verify physical equations
  • Utilize computational tools like Wolfram Alpha for complex integrations
USEFUL FOR

Students in physics, particularly those studying electromagnetism, as well as educators and anyone involved in solving problems related to electric fields and charge distributions.

Mddrill
Messages
23
Reaction score
0

Homework Statement


Positive charge Q is distributed uniformly along the positive y-axis between y=0 and y=a . A negative point charge −q lies on the positive x-axis, a distance x from the origin

Calculate the y-component of the electric field produced by the charge distribution Q at points on the positive x-axis.

Homework Equations


E=K*Q/(r^2)

The Attempt at a Solution


I formed the equation dE_y=K*[(lambda)dy/(x^2+y^2)]*(y/(x^2+y^2)^(1/2) and trying to integrate
E_y=K(lambda)*[integral 0 to a][y/(x^2+y^2)^(3/2)]

using trig substitution y=xtan(theta) and dy=xsec^2(theta)d(theta)

to make this a little easier to read I will say K(lambda)=C
C[integral]{[(x^2)tan(theta)sec^2(theta)]/[(x^3)(1+tan^2(theta)^(3/2)]}d(theta)
=C[integral]{tan(theta)/xsec(theta)}
=C[integral]{sin(theta)/x} = C[-cos(theta)/x] cos(theta) = x/[(x^2 +y^2)^(1/2)]
=C[-1/[(x^2 +y^2)^(1/2)] from 0 to a
=(-K(lambda))/[(x^2 + a^2)^(1/2)] (lambda) = Q/a

=-(KQ)/[a(x^2+ a^2)^(1/2)]
This is the answer I came up with, but apparently its wrong. can anyone explain to me why this is wrong and what is the right way to do it?
Thank you

P.S. this is my first post, so idk if there's a "cleaner" way to write these equations, if there is please tell me. Sorry if they are hard to follow.
 
Physics news on Phys.org
Mddrill said:

Homework Statement


Positive charge Q is distributed uniformly along the positive y-axis between y=0 and y=a . A negative point charge −q lies on the positive x-axis, a distance x from the origin

Calculate the y-component of the electric field produced by the charge distribution Q at points on the positive x-axis.

Homework Equations


E=K*Q/(r^2)

The Attempt at a Solution


I formed the equation dE_y=K*[(lambda)dy/(x^2+y^2)]*(y/(x^2+y^2)^(1/2)
and trying to integrate
E_y=K(lambda)*[integral 0 to a][y/(x^2+y^2)^(3/2)]
OK up to here.
Observations:
1. If you click on the Σ in the toolbar you can select all sorts of greek letters and other symbols.
2. You did not integrate correctly. If you check your units you will see that the dimensions in your answer are incorrect. E has dimensions of kQ/L2 and yours is kQ/L3/2. ALWAYS check dimensions (units)! It's the most powerful error-checking tool you have.
3. Learning the technique of integration is in IMO a big waste of time (can't wait to hear the ripostes on this one!). Instead, use tables or our recent gift from Heaven called Wolfram Alpha!
 
Hi Md, welcome to PF :smile: !

------------------

Re equation typesetting:

We use ##\#\### to start and to end to typeset equations in line with the text.
For bigger stuff we use ##$$## to start and end to get separate lines centered on the page

Here's a tutorial. First example:

you type ##\#\### y= a x^2 + bx + c ##\#\###

the result will be

##y = a x^2 + bx + c ##

and with dollar signs instead of # you get $$y = a x^2 + bx + c $$

One other neat thing: to learn a lot more, right-click on equations in threads and pick "show math as TeX Commands"

----------------------

Re electric field:

I agree with Rudy on $$dE_y = k\lambda\; {y \, dy \over \left (x^2+y^2 \right )^{3\over 2} }$$
I happen not to agree with Rudy about the dimensions. Perhaps he has overlooked that a also has the dimension of length.

You substitute ##y = tan\theta## which may or may not be fine.

I notice that ##ydy = {1\over 2} d(y^2)## and that suggests another substitution. See if that gets the same answer ...

(un)fortunately hyperphysics calculates the other component, otherwise we would have an opportunity to check the answer :rolleyes:

--
 
BvU said:
I happen not to agree with Rudy about the dimensions. Perhaps he has overlooked that a also has the dimension of length.
Rudy agrees! I goofed there.
But the OP needs to clean up his/her math; e.g. there are missing differentials in
=C[integral]{tan(theta)/xsec(theta)}
=C[integral]{sin(theta)/x} = C[-cos(theta)/x] cos(theta) = x/[(x^2 +y^2)^(1/2)]

and anyway the integral evaluated between 0 and a is not what he/she states.
Again, I recommend tables or wolfram alpha, going straight with his/her
dE_y=K*[(lambda)dy/(x^2+y^2)]*(y/(x^2+y^2)^(1/2)
which rewritten symbolically would be
dEy = kλ y dy/(x2 + y2)3/2
integrated from 0 to a.
 

Similar threads

Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
1K
Replies
6
Views
4K
  • · Replies 6 ·
Replies
6
Views
986
Replies
3
Views
1K
Replies
4
Views
2K
Replies
64
Views
5K
Replies
1
Views
1K