Electric potential calculation

Click For Summary

Homework Help Overview

The discussion revolves around calculating the electric potential due to a uniformly charged thin wire positioned along the x-axis. The original poster is attempting to find the potential at a point P on the x-axis, specifically where P is greater than L/2, and is exploring the relationship between potential and electric field.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the integration process for calculating potential, with some suggesting changes to the limits of integration. There are questions about the correct expression for potential and the relationship between potential and electric field, particularly regarding the differentiation with respect to P.

Discussion Status

The conversation includes various attempts to clarify the integration limits and the expressions for potential. Some participants provide alternative methods for calculating potential and electric field, while others express confusion over the signs in the equations and the implications of changing variables. There is an ongoing exploration of different approaches without a clear consensus on the best method.

Contextual Notes

Participants note the importance of correctly defining the limits of integration and the variables involved in the calculations. There is an emphasis on ensuring that the potential is calculated for all points beyond L/2, and some participants reflect on the implications of their choices in setting up the problem.

indigojoker
Messages
240
Reaction score
0
A thin wire has charge +Q uniformly distrubuted along it's length L. It's lying on the x-axis with its midpoint at the origin. Calculate the potential at a point P on the x axis, where P>L/2.

[tex]dV= \frac{k dq}{r}[/tex]
[tex]V = k \lambda \int \frac{1}{r}dr[/tex]
[tex]V = k \lambda \int^{P+L/2} _{P-L/2} \frac{1}{r}dr[/tex]

So when i use that integral, i get:

[tex]V = k \lambda \ln {\left( \frac{P-\frac{L}{2}}{P+\frac{L}{2}} \right)}[/tex]

If i wanted to find the E field, I know that [tex]E = - \nabla V[/tex]

but do I take the derivative w.r.t. P?
 
Physics news on Phys.org
Try changing the limits of your integral so that it works for any x before making x=P.
 
indigojoker said:
So when i use that integral, i get:

[tex]V = k \lambda \ln {\left( \frac{P-\frac{L}{2}}{P+\frac{L}{2}} \right)}[/tex]

If i wanted to find the E field, I know that [tex]E = - \nabla V[/tex]

but do I take the derivative w.r.t. P?

You made a small mistake, replace P+L/2 first, so the potential becomes

[tex]V = k \lambda \ln {\left( \frac{P+\frac{L}{2}}{P-\frac{L}{2}} \right)}[/tex]

And yes, you take the derivative with respect to P (the coordinate of point P).

ehild
 
There are two ways to go about this problem. You chose the best way, the way that assumes a zero potential infinitely far away, but I'll show you the second way too because hopefully it will be instructive. The first way is to use

[tex]V = k \int \frac{\lambda}{\pi} dl[/tex]

But be careful because pi (I just renamed r to be something that resembled script r, which pi sort of does, since script r is used everywhere), is supposed to be the magnitude of your vector. You did not account for this in your equation, maybe you thought that r was just some vector. I think if I explain the second way that you might get an idea, without me actually telling you the answer.

So, the second way to do it is find the potential given the electric field. I present the electric field without derivation, you should do it, as

[tex]E = k \frac{2 \lambda L}{x \sqrt{x^2 + L^2}} \hat{x}[/tex]

where s is the distance away from the line of charge.

The potential is then defined as
[tex]V = - \int_{special}^r \mathbf{E} \cdot dl[/tex]

Where the special part is the reference point where you define the potential to be zero, typically defined at infinity, but there are cases where it doesn't work (like if your line charge were infinite). Since the field is only in the x direction the potential would become

[tex]V = -\int k \frac{2 \lambda L}{x \sqrt{x^2 + L^2}} dx[/tex]

Now you chose your bounds strangely for your first go at it. Remember that you don't want V for a specific point P, you want it for all points x past L/2. Also, the first way will not produce the exact same integral (though they will be similar) because it has already assumed the reference point to be infinity, so you can try out this integral, or redo the first one, or do both and see if they match up. Even though they are different, they have the same answer.

Both ways have their advantages and disadvantages. Sometimes E is easy to find, and you can use the line integral to find V, and sometimes E is really hard to find so you have to use the charge density integral to find V.

Hah, probably more information than you wanted, but it's a learning experience and I'm not just going to correct your mistakes.
 
Last edited:
ehild said:
You made a small mistake, replace P+L/2 first, so the potential becomes

[tex]V = k \lambda \ln {\left( \frac{P+\frac{L}{2}}{P-\frac{L}{2}} \right)}[/tex]

And yes, you take the derivative with respect to P (the coordinate of point P).

ehild

I'm not sure why
[tex]V = k \lambda \ln {\left( \frac{P+\frac{L}{2}}{P-\frac{L}{2}} \right)}[/tex]

I don't see why the signs changed
 
That's still not right. You made the mistake of not making r the magnitude of r.
 
well, that's why ehild did and I was wondering why the signed changed and why ehild suggested that i should "replace P+L/2 first"
 
Nevermind about my magnitude stuff actually, I thought you were finding it above the line, not along its axis. Your bounds are still off though, you want to be integrating over the line of charge to find the function of x.
 
Last edited:
Mindscrape said:
Nevermind about my magnitude stuff actually, I thought you were finding it above the line, not along its axis. Your bounds are still off though, you want to be integrating over the line of charge to find the function of x.

My limits are:

[tex]V = k \lambda \int^{P+L/2} _{P-L/2} \frac{1}{r}dr[/tex]

From the start of the line on the far left (-L/2), to the end of the line (L/2)

I just took into account that it's w.r.t. P so i have from P+L/2 to get the start of the line, to P-L/2 to get the end of the line.
 
  • #10
Try x instead of P :P
 
  • #11
x=P-L/2
 
  • #12
In case you were wondering how the solution went. You want to use the eqn

[tex]V = \frac{1}{4 \pi \epsilon_0} \int \frac{\lambda(\mathbf{r'})}{\mathbb{R}} dx'[/tex]

So if your origin is at the center of the rod, you want to integrate over the whole rod, which is from -L/2 to L/2.

[tex]V_x = \frac{\lambda}{4 \pi \epsilon_0} \int_{-L/2}^{L/2} \frac{1}{((x-x')^2)^{(1/2)}}dx' \hat{x}[/tex]

The distance away is simply x-x', as you could have easily jumped straight to, so do the integration

[tex]V_x = \frac{\lambda}{4 \pi \epsilon_0} \int_{-L/2}^{L/2} \frac{1}{(x-x')}dx' \hat{x}[/tex]

This gives the answer

[tex]V_x = - \frac{\lambda}{4 \pi \epsilon_0} [ln(x+L/2) - ln(x-L/2)] \hat{x}[/tex]

Let's check to see if this makes sense, so look at x>>L, and we should see the electric field, which is the gradient of V, go as 1/x^2

[tex]E = -\nabla V = \nabla \frac{\lambda}{4 \pi \epsilon_0} ln(x^2) \hat{x}[/tex]

Do the gradient, which in this case is simply d/dx

[tex]E_x = \frac{\lambda}{4 \pi \epsilon_0} \frac{1}{x^2}[/tex]

Which is what we expect if we go really far away, and the line looks more like a point charge.
 
Last edited:
  • #13
indigojoker said:
My limits are:

[tex]V = k \lambda \int^{P+L/2} _{P-L/2} \frac{1}{r}dr[/tex]

From the start of the line on the far left (-L/2), to the end of the line (L/2)

I just took into account that it's w.r.t. P so i have from P+L/2 to get the start of the line, to P-L/2 to get the end of the line.

There are two variables here, one the position of the charge element along the wire, let's denote it by l, and the other is the coordinate of point P, denoted by x. -L/2 <= l <= L/2 and x>L/2, so x-l cannot be negative.

The charge element at l contributes to the potential at P by

[tex]dV = k \lambda \frac{1}{|x-l|}dl[/tex]

You have to integrate this contibution with respect to l along the wire. You denoted x-l by r, the distance of point P from the charge element, this is all right, and changed the integration variable to r. The distance r changes from x-L/2 at the right end of the wire to x+L/2 at the left end. You are wrong in what you said but your integral is correct .

(To be more rigorous, when you switch to r=x-l, you have to multiply the integrand with dr/dl=-1, and replace the upper limit to x-L/2 and the lower limit to x+L/2. If you integrate in the other way, from r=x-L/2 to x+L/2, the integral changes sign and we arrived at your formula.)


Remember how to get a definite integral: you replace the upper limit first and then subtract the value of the integral at the lower limit. It results in
ln(x+L/2)-ln(x-L/2) = ln ((x+L/2)/(x-L/2)).
This expression is easy to differentiate with respect to x to get the electric field intensity.
 

Similar threads

Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
Replies
2
Views
777
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
1
Views
3K
Replies
64
Views
6K