Calculating eletric potential using line integral of electric field

Click For Summary
The discussion focuses on the calculation of electric potential using the line integral of the electric field. The user correctly identifies the electric field at point P but encounters issues when integrating to find the potential, leading to an incorrect result. They compare their integral approach with a previously verified method that yields the correct potential expression. The conversation emphasizes the importance of verifying calculator outputs and understanding potential discrepancies in results. Ultimately, the user seeks clarification on their integral calculation and the differences in results obtained.
pedromatias
Messages
3
Reaction score
1
Homework Statement
A bar of length l has charge Q that is linearly distributed, with constant charge density λ. There is a point P at distance D from the center of mass of the bar, and P is in the same axis as the bar. Knowing the electric field, calculate the electric potential at P using a line integral. See figure.
Relevant Equations
The difference of potential between two points is symmetric to the line integral between those two points of the dot product between the electric field and the line.
So, I am able to calculate the electric potential in another way but I know that this way is supposed to work as well, but I don't get the correct result.

I calculated the electric field at P in the previous exercise and its absolute value is $$ E = \frac {k Q} {D^2-0.25*l^2} $$ This is correct as per the solution. From the figure, we can see that the direction of the electric field at P is that of the negative x direction.

So, to calculate the electric potential I took advantage of the fact that at infinite the potential is zero and did

$$ V_P = \int_D^{\infty} \frac {k Q} {r^2-0.25*l^2} \, dr$$

However, this integral does not give the correct result. I inserted it into integral calculator and the result was not the correct one, which is

$$ k \lambda \ln \frac {D+\frac{l}{2}} {D-\frac{l}{2}}$$

I don't understand what I am doing incorrectly. My reasoning is that I have the expression for the Electric field in a point at a distance ##r## in the axis of ##P##, and that Electric field points in the same direction as the straight line path from ##P## to ##\infty##, so the dot product is the magnitude of the electric field.

The way I solved it correctly and which gives me the right solution is, where ##x## is the distance from P,

$$ dv = k \frac {dq}{x}$$
$$ dv = k \lambda \frac {dx}{x}$$
$$ V = \int_{D-0.5l}^{D+0.5l} \frac {k \lambda} {x} \, dx $$
$$ V = k \lambda \ln \frac {D+\frac{l}{2}} {D-\frac{l}{2}}$$
 

Attachments

  • Screenshot (130).png
    Screenshot (130).png
    15.3 KB · Views: 135
Physics news on Phys.org
What result does your calculator give? How have you verified that it is different from the one you got? Sometimes solutions given by calculators look different but aren't.
 
  • Like
Likes pedromatias and vela
If have close pipe system with water inside pressurized at P1= 200 000Pa absolute, density 1000kg/m3, wider pipe diameter=2cm, contraction pipe diameter=1.49cm, that is contraction area ratio A1/A2=1.8 a) If water is stationary(pump OFF) and if I drill a hole anywhere at pipe, water will leak out, because pressure(200kPa) inside is higher than atmospheric pressure (101 325Pa). b)If I turn on pump and water start flowing with with v1=10m/s in A1 wider section, from Bernoulli equation I...

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
Replies
64
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
883
Replies
11
Views
1K
  • · Replies 7 ·
Replies
7
Views
718
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
1K