Electric potential calculation

Click For Summary
SUMMARY

The discussion focuses on calculating the electric potential \( V \) at a point \( P \) on the x-axis due to a uniformly charged thin wire of length \( L \) with charge \( +Q \). The potential is derived using the formula \( V = k \lambda \ln{\left( \frac{P+\frac{L}{2}}{P-\frac{L}{2}} \right)} \), where \( k \) is Coulomb's constant and \( \lambda \) is the linear charge density. Participants clarify the integration limits and the correct approach to find the electric field \( E \) as \( E = -\nabla V \), emphasizing the importance of proper variable substitution during integration.

PREREQUISITES
  • Understanding of electric potential and electric fields
  • Familiarity with calculus, particularly integration techniques
  • Knowledge of Coulomb's law and linear charge density
  • Ability to differentiate functions with respect to variables
NEXT STEPS
  • Study the derivation of electric potential from electric field using line integrals
  • Learn about the concept of linear charge density and its applications
  • Explore the implications of boundary conditions in electrostatics
  • Investigate the behavior of electric fields and potentials for different charge distributions
USEFUL FOR

Students and professionals in physics, electrical engineering, and applied mathematics who are interested in electrostatics and the mathematical foundations of electric fields and potentials.

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.

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

So when i use that integral, i get:

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

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

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:

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

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

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

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

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

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

V = k \int \frac{\lambda}{\pi} dl

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

E = k \frac{2 \lambda L}{x \sqrt{x^2 + L^2}} \hat{x}

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

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

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

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

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

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

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

ehild

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

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:

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

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

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

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.

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

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

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

This gives the answer

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

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

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

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

E_x = \frac{\lambda}{4 \pi \epsilon_0} \frac{1}{x^2}

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:

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

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

dV = k \lambda \frac{1}{|x-l|}dl

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
680
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 18 ·
Replies
18
Views
1K
Replies
1
Views
3K
Replies
64
Views
5K