1. Introduction
  2. Generalization 1
    1. Problem – Dipole on z z –axis
  3. Generalization 2
    1. Example – Point Charge on + z +z axis
    2. Example – Point Charge on βˆ’ z -z axis
    3. Example – Dipole on x x –axis
    4. Problem – Point Charge on x x –axis
    5. Problem – Point Charge on y y –axis
    6. Problem – Point charge in x x – y y plane

For a single point charge q q at r β€² \mathbf{r}' , the potential at any location in space is

V ( r ) = k q Τ‰ = q ∣ r βˆ’ r β€² ∣ V(\mathbf{r})=k{\frac{q}{\char"0509}}=\frac{q}{|\mathbf{r}-\mathbf{r}'|}

Often we are interested in an approximation of this potential at points that are far away.

Previously, the binomial expansion was used to find the electric field for point charges along an axis and only at locations on the same axis. The same approximation procedure that is used for the electric field may be used for potential. (In general, it is often easier to start with finding the scalar V V and then using it to find the vector E \mathbf{E} .)

In the following, a general equation for potential at any location in space due to a point charge at any location in space is developed by considering two generalizations:

  1. finding the potential at any location in space due to a point charge on the z z –axis and then

  2. finding the potential at any location in space due to a point charge at any location in space.

See also Chapter 3.4 of Griffiths.

For a point charge at r β€² = z β€² z ^ \mathbf{r}'=z'\mathbf{\hat{z}} ,

V = k q 1 x 2 + y 2 + ( z βˆ’ z β€² ) 2 V=kq\frac{1}{\sqrt{x^2+y^2+(z-z')^2}}

Expanding the square gives

V = k q 1 x 2 + y 2 + z 2 βˆ’ 2 z z β€² + z β€² 2 V=kq\frac{1}{\sqrt{x^2+y^2+z^2 - 2zz' + z'^2}}

Factoring out r = x 2 + y 2 + z 2 r=\sqrt{x^2+y^2+z^2} and using the fact that r r is positive by definition, so ∣ r ∣ = r |r|=r , gives

V = k q r 1 1 βˆ’ 2 z r z β€² r + z β€² 2 r 2 V=\frac{kq}{r}\frac{1}{\sqrt{1 - 2\frac{z}{r}\frac{z'}{r} + \frac{z'^2}{r^2}}}

Using z = r cos ⁑ θ z=r\cos\theta , this is

V = k q r 1 1 βˆ’ 2 z β€² r cos ⁑ ΞΈ + z β€² 2 r 2 V=\frac{kq}{r}\frac{1}{\sqrt{1 - 2\frac{z'}{r}\cos\theta + \frac{z'^2}{r^2}}}

Definining

Ξ΄ = βˆ’ 2 z β€² r cos ⁑ ΞΈ + z β€² 2 r 2 \displaystyle \delta = - 2\frac{z'}{r}\cos\theta + \frac{z'^2}{r^2}

gives

V = k q r 1 1 + Ξ΄ V=\frac{kq}{r}\frac{1}{\sqrt{1 +\delta}}

The binomial expansion, for Ξ” β‰ͺ 1 \Delta \ll 1 , is

1 ( 1 + Ξ” ) n = 1 βˆ’ n Ξ΄ + n ( n + 1 ) 2 ! Ξ” 2 + … \frac{1}{(1+\Delta)^n} = 1 - n\delta + \frac{n(n+1)}{2!}\Delta^2+…

So that, with n = 1 / 2 n=1/2 ,

1 1 + Ξ΄ = 1 βˆ’ Ξ΄ 2 + 3 8 Ξ΄ 2 + … \frac{1}{\sqrt{1 +\delta}}=1-\frac{\delta}{2}+\frac{3}{8}\delta^2+…

Using the definition Ξ΄ = βˆ’ 2 z β€² r cos ⁑ ΞΈ + z β€² 2 r 2 \delta = - 2\frac{z'}{r}\cos\theta + \frac{z'^2}{r^2} , this can be written (after some algebra) as

V = k q r [ 1 + d r cos ⁑ ΞΈ + ( d r ) 2 ( 3 cos ⁑ 2 ΞΈ βˆ’ 1 2 ) + … ] V=\frac{kq}{r}\left[1+\frac{d}{r}\cos\theta + \left(\frac{d}{r}\right)^2\left(\frac{3\cos^2\theta-1}{2}\right)+ …\right]

where the … … terms are proportional to ( d / r ) 3 (d/r)^3 , ( d / r ) 4 (d/r)^4 , …. When only the term proportional to ( d / r ) 2 (d/r)^2 is kept, the result is referred to as β€œ V V to second order in d / r d/r ”. Equivalently, one can say that this is V V to third order in 1 / r 1/r (after multiplying through by 1 / r 1/r , the highest power of 1 / r 1/r is 1 / r 3 1/r^3 ) .

If Β± q \pm q are at z = Β± d z=\pm d , find the potential to first order in d / r d/r .

Use V V to compute E \mathbf{E} in the x – y x–y plane. Is E \mathbf{E} in expected direction?

When both the charge and point of interest are at arbitrary locations in space, the angle between r \mathbf{r} and r β€² \mathbf{r}' is no longer the spherical polar angle, ΞΈ \theta . In this case, the angle Ξ± \alpha between r \mathbf{r} and r β€² \mathbf{r}' will in general depend on both ΞΈ \theta and Ο• \phi . From the definition of the dot product, cos ⁑ Ξ± \cos\alpha is given by

cos ⁑ Ξ± = r β‹… r β€² ∣ r ∣ ∣ r β€² ∣ = r β‹… r β€² r r β€² \cos\alpha = \frac{\mathbf{r}\boldsymbol{\cdot}\mathbf{r}'}{|\mathbf{r}||\mathbf{r}'|}=\frac{\mathbf{r}\boldsymbol{\cdot}\mathbf{r}'}{rr'}

To derive an expansion for this configuration, the same steps used in Generalization I can be used but with the replacement of z β€² z' with r β€² r' and ΞΈ \theta with Ξ± \alpha . With this replacement, we have

V = k q r [ 1 + r β€² r cos ⁑ Ξ± + ( r β€² r ) 2 ( 3 cos ⁑ 2 Ξ± βˆ’ 1 2 ) + … ] V=\frac{kq}{r}\left[1+\frac{r'}{r}\cos\alpha + \left(\frac{r'}{r}\right)^2\left(\frac{3\cos^2\alpha-1}{2}\right)+ …\right]

The angle–dependent terms that are multiplied by the powers of r β€² / r r'/r are related to the Legendre polynomials. These polynomials also appear in the solution to Laplace’s equation in spherical coordinates. Labeling these terms as P 0 P_0 , P 1 P_1 , …, and including their functional dependence on cos ⁑ Ξ± \cos\alpha gives

V = k q r [ P 0 ( cos ⁑ Ξ± ) + r β€² r P 1 ( cos ⁑ Ξ± ) + ( r β€² r ) 2 P 2 ( cos ⁑ Ξ± ) + … ] V=\frac{kq}{r}\left[P_0(\cos\alpha)+\frac{r'}{r}P_1(\cos\alpha) + \left(\frac{r'}{r}\right)^2P_2(\cos\alpha) + …\right]

Or, more generally,

V = k q r βˆ‘ n = 0 ∞ ( r β€² r ) n P n ( cos ⁑ Ξ± ) V = \frac{kq}{r}\sum_{n=0}^\infty\left(\frac{r'}{r}\right)^nP_n(\cos\alpha)

where the first three terms are P 0 = 1 P_0=1 , P 1 = cos ⁑ Ξ± P_1=\cos\alpha , P 2 = ( 3 cos ⁑ 2 Ξ± βˆ’ 1 ) / 2 P_2=(3\cos^2\alpha-1)/2 . To write these terms as Legendre poloynomials, use the definition u = cos ⁑ Ξ± u=\cos\alpha so that P 0 = 1 P_0=1 , P 1 = u P_1=u , and P 2 = ( 3 u 2 βˆ’ 1 ) / 2 P_2=(3u^2-1)/2 .

Use

V = k q r βˆ‘ n = 0 ∞ ( r β€² r ) n P n ( cos ⁑ Ξ± ) \displaystyle V = \frac{kq}{r}\sum_{n=0}^\infty\left(\frac{r'}{r}\right)^nP_n(\cos\alpha)

to find the potential due to a point charge at z = d z=d to third order in d / r d/r .

Answer

In this case, r β€² = d z ^ \mathbf{r}'=d\mathbf{\hat{z}} and r β€² = d r'=d , so

cos ⁑ Ξ± = r β‹… r β€² r r β€² = z d r d = z r \displaystyle \cos\alpha =\frac{\mathbf{r}\boldsymbol{\cdot}\mathbf{r}'}{rr'}=\frac{zd}{rd}=\frac{z}{r}

from which we conclude, as expected from a diagram, that α = θ \alpha=\theta (because in spherical coordinates, cos ⁑ θ = z / r \cos\theta = z/r ). To third order in d / r d/r ,

V = k q r [ P 0 + d r P 1 + ( d r ) 2 P 2 + ( d r ) 3 P 3 ] \displaystyle V=\frac{kq}{r}\left[P_0+\frac{d}{r}P_1 + \left(\frac{d}{r}\right)^2P_2+ \left(\frac{d}{r}\right)^3P_3\right]

where the first three terms given earlier are P 0 = 1 P_0=1 , P 1 = cos ⁑ ΞΈ P_1=\cos\theta , P 2 = ( 3 cos ⁑ 2 ΞΈ βˆ’ 1 ) / 2 P_2=(3\cos^2\theta-1)/2 . The P 3 P_3 term can be found in a table of Legendre polynomials. It is P 3 = ( 5 u 3 βˆ’ 3 u ) / 2 P_3=(5u^3-3u)/2 , so P 3 = ( 5 cos ⁑ 3 ΞΈ βˆ’ 3 cos ⁑ ΞΈ ) / 2 P_3=(5\cos^3\theta-3\cos\theta)/2 . Using these,

V = k q r [ 1 + d r cos ⁑ ΞΈ + 1 2 ( d r ) 2 ( 3 cos ⁑ 2 ΞΈ βˆ’ 1 ) + 1 2 ( d r ) 3 ( 5 cos ⁑ 3 ΞΈ βˆ’ 3 cos ⁑ ΞΈ ) ] \displaystyle V=\frac{kq}{r}\left[1+\frac{d}{r}\cos\theta + \frac{1}{2}\left(\frac{d}{r}\right)^2(3\cos^2\theta-1)+ \frac{1}{2}\left(\frac{d}{r}\right)^3(5\cos^3\theta-3\cos\theta)\right]

As a check of this answer, we can set ΞΈ = 0 \theta=0 (corresponding to a point on the + z +z –axis) so that r = z r=z in the above to get

V = k q z [ 1 + d z + ( d z ) 2 + ( d z ) 3 ] \displaystyle V=\frac{kq}{z}\left[1+\frac{d}{z}+ \left(\frac{d}{z}\right)^2+ \left(\frac{d}{z}\right)^3\right]

and compare with the result of expanding

V ( z ) = k q q ∣ z βˆ’ d ∣ \displaystyle V(z)=kq\frac{q}{|z-d|}

for z ≫ d z\gg d using the binomial expansion. For z > d z\gt d , ∣ z βˆ’ d ∣ = z βˆ’ d |z-d|=z-d and so

V ( z ) = k q q z βˆ’ d \displaystyle V(z)=kq\frac{q}{z-d}

Factoring out z z

V ( z ) = k q z 1 1 βˆ’ d z \displaystyle V(z)=\frac{kq}{z}\frac{1}{1-\frac{d}{z}}

The binomial expansion to third order in Ξ” \Delta is

1 ( 1 + Ξ” ) n = 1 βˆ’ n Ξ” + n ( n + 1 ) 2 ! Ξ” 2 + n ( n + 1 ) ( n + 2 ) 3 ! Ξ” 3 + … \displaystyle \frac{1}{(1+\Delta)^n} = 1 - n\Delta + \frac{n(n+1)}{2!}\Delta^2+\frac{n(n+1)(n+2)}{3!}\Delta^3 + …

With n = 1 n=1 and Ξ” = d / z \Delta = d/z , we conclude

V ( z ) = k q z [ 1 + d z + ( d z ) 2 + ( d z ) 3 + … ] \displaystyle V(z)=\frac{kq}{z}\left[1+\frac{d}{z}+\left(\frac{d}{z}\right)^2+\left(\frac{d}{z}\right)^3+…\right]

Use

V = k q r βˆ‘ n = 0 ∞ ( r β€² r ) n P n ( cos ⁑ Ξ± ) \displaystyle V = \frac{kq}{r}\sum_{n=0}^\infty\left(\frac{r'}{r}\right)^nP_n(\cos\alpha)

to find the potential due to a point charge at z = d z=d to third order in d / r d/r on the βˆ’ z -z axis.

Compare this with the result of using

V ( z ) = k q q ∣ z βˆ’ d ∣ \displaystyle V(z)=kq\frac{q}{|z-d|}

for z β‰ͺ βˆ’ d z\ll -d .

1. Find V ( r ) V(\mathbf{r}) for charges Β± q \pm q at x = Β± d / 2 x=\pm d/2 using the n = 0 n=0 and n = 1 n=1 terms of

V = k q Τ‰ = k q r βˆ‘ n = 0 ∞ ( r β€² r ) n P n ( cos ⁑ Ξ± ) \displaystyle V = \frac{kq}{\char"0509} = \frac{kq}{r}\sum_{n=0}^\infty\left(\frac{r'}{r}\right)^nP_n(\cos\alpha)

and also

V ( r ) = k p β‹… r ^ r 2 \displaystyle V(\mathbf{r})=k\frac{\mathbf{p}\boldsymbol{\cdot}\hat{\mathbf{r}}}{r^2}

2. Find E \mathbf{E} with spherical coordinates and unit vectors using the V ( r ) V(\mathbf{r}) that you computed in part 1.

Answer

1.

V + = k q r [ 1 + r + β€² r cos ⁑ Ξ± + + … ] \displaystyle V_+=\frac{kq}{r}\left[1+\frac{r'_+}{r}\cos\alpha_+ + …\right]

V βˆ’ = k q r [ 1 + r βˆ’ β€² r cos ⁑ Ξ± βˆ’ + … ] \displaystyle V_-=\frac{kq}{r}\left[1+\frac{r'_-}{r}\cos\alpha_- + …\right]

In this problem, Ξ± + \alpha_+ , the angle between r \mathbf{r} and r + β€² \mathbf{r}'_+ is not simply the polar angle ΞΈ \theta in spherical coordinates. It can be computed from the definition of the dot product:

cos ⁑ Ξ± + = r β‹… r + β€² r + β€² r \displaystyle \cos\alpha_+=\frac{\mathbf{r}\boldsymbol{\cdot}\mathbf{r}'_+}{r' _+ r}

Using r + β€² = ( d / 2 ) x ^ \mathbf{r}'_+=(d/2)\mathbf{\hat{x}} and r = x x ^ + y y ^ + z z ^ \mathbf{r}=x\mathbf{\hat{x}} + y\mathbf{\hat{y}} + z\mathbf{\hat{z}} gives

cos ⁑ α + = x r \displaystyle \cos\alpha_+=\frac{x}{r}

which can be written in spherical coordinates using x = r sin ⁑ ΞΈ cos ⁑ Ο• x=r\sin\theta\cos\phi (you should know this formula or be able to derive it from a diagram). Then,

cos ⁑ Ξ± + = sin ⁑ ΞΈ cos ⁑ Ο• \displaystyle \cos\alpha_+=\sin\theta\cos\phi

Checks: For ΞΈ = 0 \theta=0 and Ο• = 0 \phi=0 , this gives Ξ± + = 0 \alpha_+=0 as expected. For ΞΈ = 9 0 ∘ \theta=90^\circ and Ο• = 0 \phi=0 , this gives Ξ± + = 9 0 ∘ \alpha_+=90^\circ as expected.

Similar calculation (or using Ο€ = Ξ± + + Ξ± βˆ’ \pi =\alpha_+ + \alpha_- , which applies to this problem but not in general) gives

cos ⁑ Ξ± βˆ’ = βˆ’ sin ⁑ ΞΈ cos ⁑ Ο• \displaystyle \cos\alpha_-=-\sin\theta\cos\phi

Finally, using V = V + + V βˆ’ V=V_+ + V_- , we get

V = k q d r 2 sin ⁑ ΞΈ cos ⁑ Ο• \displaystyle V = \frac{kqd}{r^2}\sin\theta\cos\phi

To compute the potential using

V ( r ) = k p β‹… r ^ r 2 \displaystyle V(\mathbf{r})=k\frac{\mathbf{p}\boldsymbol{\cdot}\hat{\mathbf{r}}}{r^2}

use p = q ( r + β€² βˆ’ r βˆ’ β€² ) = q d x ^ \mathbf{p}=q(\mathbf{r}'_+-\mathbf{r}'_-)=qd\mathbf{\hat{x}} and r ^ = ( x x ^ + y y ^ + z z ^ ) / r \hat{\mathbf{r}}=(x\mathbf{\hat{x}} + y\mathbf{\hat{y}} + z\mathbf{\hat{z}})/r

2.

Use

V ( r , ΞΈ ) = k q d r 2 sin ⁑ ΞΈ cos ⁑ Ο• \displaystyle V(r,\theta) = \frac{kqd}{r^2}\sin\theta\cos\phi and E = βˆ’ βˆ‡ V \mathbf{E}=-\mathbf{\nabla}V with βˆ‡ \mathbf{\nabla} in spherical coordinates. This requires evaluation of the partials in

E ( r , ΞΈ ) = βˆ’ βˆ‚ V βˆ‚ r r ^ βˆ’ 1 r βˆ‚ V βˆ‚ ΞΈ ΞΈ ^ βˆ’ 1 r sin ⁑ ΞΈ βˆ‚ V βˆ‚ Ο• Ο• ^ \displaystyle \mathbf{E}(r,\theta)=-{\partial V \over \partial r}\hat{\mathbf r} - {1 \over r}{\partial V \over \partial \theta}\hat{\boldsymbol \theta} - {1 \over r\sin\theta}{\partial V \over \partial \phi}\hat{\boldsymbol \phi}

E ( r , ΞΈ ) = k q d r 3 ( 2 sin ⁑ ΞΈ cos ⁑ Ο• r ^ βˆ’ cos ⁑ ΞΈ cos ⁑ Ο• ΞΈ ^ + sin ⁑ Ο• Ο• ^ ) \displaystyle \mathbf{E}(r,\theta) = \frac{kqd}{r^3}(2\sin\theta\cos\phi\hat{\mathbf{r}}-\cos\theta\cos\phi\hat{\boldsymbol{\theta}}+\sin\phi\hat{\boldsymbol{\phi}})

Checks: For Ο• = 0 \phi=0 and ΞΈ = Ο€ / 2 \theta=\pi/2 , expect field to be in + r ^ +\hat{\mathbf{r}} direction. For Ο• = Ο€ / 2 \phi=\pi/2 and ΞΈ = Ο€ / 2 \theta=\pi/2 , expect + Ο• ^ +\hat{\boldsymbol{\phi}} . For Ο• = Ο€ \phi=\pi and ΞΈ = Ο€ / 2 \theta=\pi/2 , expect βˆ’ r ^ -\hat{\mathbf{r}} .

Note that an alternative approach to solving both 1. and 2. problem is to take the solution for the dipole along the z z axis and rotate the coordinate system around the y y –axis.

If r β€² = b x ^ \mathbf{r}'=b\mathbf{\hat{x}} , find cos ⁑ Ξ± \cos\alpha in cartesian coordinates, where Ξ± \alpha is the angle between r \mathbf{r} and r β€² \mathbf{r}' .

If q q is at r β€² = b x ^ \mathbf{r}'=b\mathbf{\hat{x}} , find V V in cartesian coordinates using the first three terms of the sum in

V = k q r βˆ‘ n = 0 ∞ ( r β€² r ) n P n ( cos ⁑ Ξ± ) \displaystyle V = \frac{kq}{r}\sum_{n=0}^\infty\left(\frac{r'}{r}\right)^nP_n(\cos\alpha)

If r β€² = y β€² y ^ \mathbf{r}'=y'\mathbf{\hat{y}} , find an equation for V ( r , ΞΈ , Ο• ) V(r,\theta,\phi) to second order in d / r d/r .

Check your answer by plugging in ΞΈ = Ο€ / 2 \theta=\pi/2 and Ο• = Ο€ / 2 \phi=\pi/2 so that r = y r=y . For y ≫ y β€² y\gg y' , does your equation match the expected potential from approximating V ( y ) = k q / ∣ y βˆ’ y β€² ∣ V(y)=kq/|y-y'| for y ≫ y β€² y\gg y' ?

For r ≫ r β€² r\gg r' , the potential at r \mathbf{r} due to a point charge q q at r β€² \mathbf{r}' can be written as

V = k q Τ‰ = k q r βˆ‘ n = 0 ∞ ( r β€² r ) n P n ( cos ⁑ Ξ± ) \displaystyle V = \frac{kq}{\char"0509} = \frac{kq}{r}\sum_{n=0}^\infty\left(\frac{r'}{r}\right)^nP_n(\cos\alpha)

where Ξ± \alpha is the angle between r \mathbf{r} and r β€² \mathbf{r}' and P n P_n are Legendre polynomial functions.

  1. Find V ( r , ΞΈ , Ο• ) V(r, \theta, \phi) for a point charge q q at ( x , y , z ) = ( b , b , 0 ) (x,y,z)=(b,b,0) by keeping only the n = 0 n=0 and n = 1 n=1 terms. Note that P 0 ( u ) = 1 P_0(u)=1 and P 1 ( u ) = u P_1(u)=u .

  2. Use the V V found in part 1. to find the r ^ \hat{\mathbf{r}} component of E \mathbf{E} in spherical coordinates.