Potential of a finite line of charge

AI Thread Summary
The discussion revolves around calculating the electric field and potential at a point P=(0,H) due to a finite line of charge with a linear density of d(x)=k.x. Participants clarify the need to determine the distance r from the differential charge element dq to the observation point, with suggestions to avoid confusion by using different variables for the line of charge and the observation point. There is an emphasis on integrating the electric field components separately and combining them vectorially, or alternatively, calculating the potential first and then deriving the electric field from it. The conversation highlights the importance of correctly setting up the problem and integrating over the specified limits. Overall, the thread focuses on the mathematical approach to solving the problem of electric fields and potentials from a finite line of charge.
Mathoholic!
Messages
49
Reaction score
0

Homework Statement



A finite line of charge (L=L1+L2) with a linear density of d(x)=k.x, in which k>0.
This finite line goes from -L2 to +L1 in the x axis.
Calculate the electric field and the electric potential in the point P=(0,H).


Homework Equations



dV=(1/(4*pi*ε0))*dq/r


The Attempt at a Solution



I'm trying to solve this problem through the use of the equation of the electric potential above, and calculating this potential for a general point (x,y).

My trouble with this is to determine what's r (the distance from dq to that (x,y) point).

The rest should be easy to deal with once I get r.

Could somebody help with this, please?
 
Physics news on Phys.org
r is the distance from your point of observation (0,H) to each differential segment dx of the line.

You know the formula for distance between (x1,y1) and (x2, y2)?
 
Yes, I know that.

My problem is knowing which differential segment dx to choose on the line (if this makes any sense).

And I'd like to solve this problem from the point of observation of any point (x,y) in the plane.

:/
 
It will help if you avoid overloading x. If you want to use (x, y) for your general point, take some other variable, u (and correspondingly du) for position along the line of charge. So what's the distance from (u, 0) to (x, y)?
 
haruspex, I am confused by the above statement. Seems to me that if the point is at (0,H) then the radius would be sqrt(x^2 + H^2) but if you used a general point say (X,Y) you would use sqrt((x+X)^2 + Y^2)yes/no?
 
barryj said:
haruspex, I am confused by the above statement. Seems to me that if the point is at (0,H) then the radius would be sqrt(x^2 + H^2) but if you used a general point say (X,Y) you would use sqrt((x+X)^2 + Y^2)yes/no?
Mathoholic! has indicated a desire to solve it, not just for the given point (0, H), but for a general position "(x, y)". That's ok (and in fact is no harder as I'll explain), but it will confuse things if x is used as a coordinate there as well as dx being used for an element of the line of charge. I don't care which variable is renamed, but one of them needs to be.
Given that the line of charge is asymmetric about the origin along the x-axis (-L2 to +L1), there's nothing special about the x coordinate of P being 0. If you solve it for the given P=(0, H), it's a simple matter to generalise the answer.
 
haruspex, is what I said above true, granted that perhaps we should use different variables (constants) to represent the point, like (U,V)? What do you mean by overloading, I have not heard this term used except in software design.
 
haruspex, I have another question. The problem also asks for the electrical field at a point and I am not totally sure how to do this but I have an idea. Would you break up the E field from the element, dx, into its x and y components, integrate them separately, and then combine the integrated x component and the integrated y component vectorically?
 
barryj said:
is what I said above true, granted that perhaps we should use different variables (constants) to represent the point, like (U,V)?
Yes.
What do you mean by overloading, I have not heard this term used except in software design.
I was using it with the same meaning - using one symbol to mean two different things. Sometimes called a pun. Puns can be useful. "y = y(x)" is a pun. The first y denotes a variable, while the second denotes a function.
The problem also asks for the electrical field at a point and I am not totally sure how to do this but I have an idea. Would you break up the E field from the element, dx, into its x and y components, integrate them separately, and then combine the integrated x component and the integrated y component vectorically?
That would work. Another way is to compute the potential then differentiate.
 
  • #10
If you computed the potential, then V =f(x,y) so you would have to take partial deraivitaves with respect to x and y then do the vector sum. I think this is the gradient, yes/no?
 
  • #11
barryj said:
If you computed the potential, then V =f(x,y) so you would have to take partial deraivitaves with respect to x and y then do the vector sum. I think this is the gradient, yes/no?

Yes.
 
  • #12
OP, have you got V(x,y) yet? I made the point of observation (a,b) since it's a constant in the integration to find V. I integrated wrt x. Then I took the definite integral (limits -L2 and +L1), getting rid of x, and substituted a = x and b = y.

Haven't done E = - grad V yet.
 
Back
Top