A charge q is uniformly distributed along an insulating straight wire of length 2l as shown in Fig. Find an expression for the electric potential at a point located at a distance d from the distribution along its perpendicular bisector :
V=14πε0.q2lin(√l2+d2+l√l2+d2−l)
PE due to a small element dx of rod at length x from midpoint of rod :
dPE=14πϵqdx2l√d2+x2
total PE = ∫l−l14πϵqdx2l√d2+x2
taking cosθ=d√d2+x2⇒dx=dsec2θdθ And x=−l⇒θ=θ1=tan−1(−l/d) and x=l⇒θ=θ2=tan−1(l/d)
Therefore ,
PE =∫θ2θ114πϵq2lcosθddcos2θdθ=∫θ2θ114πϵq2lsecθdθ=14πϵq2l|ln(secθ+tanθ|θ2θ1=14πϵq2lln(√d2+x2+l√d2+x2−l)