1. Introduction
  2. Steps
    1. Identifying Answer Features
      1. Example
      2. Problem
    2. Finding d l dl , d A dA , or d Ο„ d\tau
      1. Example – Constant Line of Charge
      2. Example – Variable Line of Charge
      3. Problem
    3. Find Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2}
      1. Example – Line of Charge
      2. Example
      3. Problem
    4. Checking d E d\mathbf{E}
      1. Example – Line of Charge
      2. Problem
    5. Simplifying d E d\mathbf{E} using Symmetry Arguments
      1. Example – Constant Ξ» \lambda
      2. Problem – Ring of Charge
    6. Integrating d E d\mathbf{E}
      1. Example – Integral can be solved exactly
      2. Problem
    7. Checking Answer
      1. Example
      2. Problem
  3. Problems
    1. E ( x ) \mathbf{E}(x) for Line of Charge on x x –axis
    2. E ( y ) \mathbf{E}(y) for Line of Charge on x x –axis
    3. E \mathbf{E} for Shifted Line of Charge
    4. Line of Charge at Angle
    5. Parabolic Line of Charge
    6. Charge on Circle
    7. Charge on Disk
    8. Charge on Cylinder

Previously, you have calculated the electric field due to a collection of point charges. From superposition, the electric field at any point in space is the sum of the electric field due to all point charges.

Suppose that you wanted to know the electric field created by a plastic rod that was positively charged by rubbing it against fabric. The number of charges that you would need to account for is on the order of > 1 0 20 \gt 10^{20} . If you could do one calculation per second, computing the electric field due to each of the charges would take longer than the time since the Big Bang.

To allow for an answer in a finite amount of time, the approximation that charge is uniformly distributed along a line can be made. Consider N = 9 N=9 charges placed on a line as shown on the left-hand side of the diagram below. To compute the electric field at the open circle, we would need to compute the electric field due to each of the nine charges there. Instead, we will make the approximation that the charges are smeared out onto the line to form a continuous charge density.

Mathematically, we are converting a sum to an integral. The electric field at the open circle is

E = k q 1 Τ‰ ^ 1 Τ‰ 1 2 + k q 2 Τ‰ ^ 2 Τ‰ 2 2 + … + k q N Τ‰ ^ N Τ‰ N 2 \mathbf{E}= kq_1\frac{\hat{\textbf{\char"0509}}_1}{\char"0509_1^2} +kq_2\frac{\hat{\textbf{\char"0509}}_2}{\char"0509_2^2} +…+kq_N\frac{\hat{\textbf{\char"0509}}_N}{\char"0509_N^2}

In the notation of Griffiths, r \mathbf{r} is the position of the point of interest, and r β€² \mathbf{r}' is the position of a charge, so

Τ‰ i = r βˆ’ r i β€² \textbf{\char"0509}_i=\mathbf{r}-\mathbf{r}_i'

As a sum, this is

E = βˆ‘ i = 1 N k q i Τ‰ ^ i Τ‰ i 2 \mathbf{E}=\sum_{i=1}^Nkq_i\frac{\hat{\textbf{\char"0509}}_i}{\char"0509_i^2}

Smearing the q i q_i to give a continuous charge density Ξ» ( l ) \lambda(l) over all differential elements l l allows us to write

E ≃ ∫ L k Ξ» ( l ) d l Τ‰ ^ Τ‰ 2 \mathbf{E}\simeq \int_{\mathcal{L}} k\lambda(l) dl\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}

where L \mathcal{L} is the line. The accuracy of the integral approximation increases with N N .

The arguments given above do not depend on the fact that the charges are on a line, and so the L \mathcal{L} can be dropped, and Ξ» ( l ) d l \lambda(l) dl can be replaced with d q dq . In addition, by convention, the approximation symbol is replaced with an equality symbol, giving

E = ∫ k Τ‰ ^ Τ‰ 2 d q \boxed{\mathbf{E}=\int k\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}dq}

where d q dq represents a differential charge on a diffential line, area, or volume element.

The advantage of using the integral approximation is that to get an answer; we only need to solve an integral – we do not need to compute electric field contribution for each point charge and then do a vector sum.

To emphasize the fact that the result of the integration depends on the unprimed variable r \mathbf{r} , and that the result of integration should not have any primed variables, we sometimes explicitly include the dependence of E \mathbf{E} on r \mathbf{r} :

E ( r ) = ∫ k Τ‰ ^ Τ‰ 2 d q \mathbf{E}(\mathbf{r})=\int k\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}dq

In the case where r \mathbf{r} was written with cartesian coordinates, this would be

E ( x , y , z ) = ∫ k Τ‰ ^ Τ‰ 2 d q \mathbf{E}(x,y,z)=\int k\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}dq

To simplify notation, we often use the definition

d E ≑ k Τ‰ ^ Τ‰ 2 d q d\mathbf{E}\equiv k\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}dq

for the integrand, which corresponds to the electric field at r \mathbf{r} due to a differential charge d q dq at r β€² \mathbf{r}' .

d q dq depends on primed coordinates and so for clarity it would be better written as d q β€² dq' , d q ( r β€² ) dq(\mathbf{r'}) or d q ( x β€² , y β€² , z β€² ) dq(x',y',z') . However, this is not the convention.

When integrating, the x x , y y , and z z (or unprimed cylindrical or spherical coordinates) that appear in Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2} should be treated as constants during integration because they do not depend on the primed dummy integration variable. As an example, consider the integral

f ( x ) = ∫ a b 1 x β€² βˆ’ x d x β€² \displaystyle f(x) = \int_{a}^b\frac{1}{x'-x}dx'

The result of integration will not depend on x β€² x' because x β€² x' is β€œintegrated over”. The result of the integration

f ( x ) = ln ⁑ ( b βˆ’ x ) βˆ’ ln ⁑ ( a βˆ’ x ) \displaystyle f(x) = \ln(b-x) - \ln(a-x)

does not depend on x β€² x' .

More generally, starting with

E = q 4 Ο€ Ο΅ o Τ‰ ^ Τ‰ 2 \mathbf{E}=\frac{q}{4\pi\epsilon_o}\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}

replace q q with d q dq so that we have a differential electric field due to do a differential charge

d E = d q ( r β€² ) 4 Ο€ Ο΅ o Τ‰ ^ Τ‰ 2 d\mathbf{E}=\frac{dq(\mathbf{r}')}{4\pi\epsilon_o} \frac{\hat{\textbf{\char"0509}}}{\char"0509^2}

Next make the assumption that a point charge is continuously distributed over a small volume. In this case d q ( r β€² ) = ρ ( r β€² ) d Ο„ β€² dq(\mathbf{r}')=\rho(\mathbf{r}') d\tau' . The functional dependence of d q dq has been added because the amount of charge in a given small volume may depend on the location of the small volume. Substitution of d q ( r β€² ) = ρ ( r β€² ) d Ο„ β€² dq(\mathbf{r}')=\rho(\mathbf{r}') d\tau' and integration gives

E = 1 4 Ο€ Ο΅ o ∫ ρ ( r β€² ) Τ‰ ^ Τ‰ 2 d Ο„ β€² \mathbf{E}= \frac{1}{4\pi\epsilon_o}\int \rho(\mathbf{r}') \frac{\hat{\textbf{\char"0509}}}{\char"0509^2}d\tau'

An approximation ( ≃ \simeq ) sign was used to remind us that technically this equation is an approximation because we smeared point charges so that they are uniformly distributed in a volume. Usually, we replace the ≃ \simeq with = = because for a large enough density, the result from integration is very nearly that from the exact expression

E ≃ 1 4 Ο€ Ο΅ o βˆ‘ i = 1 N q i Τ‰ ^ i Τ‰ i 2 \mathbf{E}\simeq \frac{1}{4\pi\epsilon_o}\sum_{i=1}^N q_i \frac{\hat{\textbf{\char"0509}}_i}{\char"0509_i^2}

Introductory physics textbooks often give examples of finding the electric field due to a continuous charge distribution for which there is a short-cut solution (e.g., a ring or disk of charge). However, most continuous charge distribution problems do not have a short-cut solution. Griffiths gives only one example (Example 2.2) on computing the electric field using a general method.

In this section, I provide steps that can be used to find the electric field for an arbitrary continuous charge distribution using Example 2.2 as an example for the steps. Part of the method of solution shown here will be needed later when computing dipole approximations; the steps for computing the electric potential, V V , due to a continuous charge distribution and the magnetic field, B \mathbf{B} , due to a current system will also be similar (in the case of currents, the Biot-Savart equation is used instead of Coulomb’s Law).

Based on the problem statement and diagram, write down features that you expect your solution to have. These statements should have the form

  • β€œFor large z z , the solution should approach that for the case where all charge on line/sheet, etc. is at the origin.”

  • β€œFor small z z , the solution should approach that for an infinite sheet of charge.”

  • β€œThe computed electric field should have only a z z -component.”

Such statements can be used to check your final answer and also intermediate steps.

A line of charge from x = βˆ’ L x=-L to x = L x=L with a uniform charge density Ξ» o \lambda_o . We can make several statements about the electric field E \mathbf{E} on the y y –axis.

  1. E ( y ) \mathbf{E}(y) should only have a y y –component due to cancellation symmetry.

  2. For y ≫ L y\gg L (far away from the line), one expects an answer that approaches the answer for a problem where all of the charges on the line are placed at the origin. In this case, the basic form of Coulomb’s Law for the electric field due to a charge at the origin can be used to find the answer in terms of the parameters given: ∣ E = k Q / y 2 ∣ = k ( 2 Ξ» o L ) / y 2 |\mathbf{E}=kQ/y^2|=k(2\lambda_oL)/y^2 and E \mathbf{E} is in the y ^ \mathbf{\hat{y}} direction for y > 0 y\gt 0 and in the βˆ’ y ^ -\mathbf{\hat{y}} direction for y < 0 y\lt 0 .

  3. For y β‰ͺ L y\ll L , one expects an answer that approaches the answer for an infinite line of charge (an ant placed near the origin will conclude that the charges extend to infinity in both directions). In this case, one can look up the equation for the electric field due to an infinite line of charge (or use Gauss’ Law to find it).

A circular ring of radius R R in the x x – y y plane and centered on the origin has a charge density Ξ» o \lambda_o .

Write at least two predictions about the electric field on the z z –axis due to the ring.

The differential charge d q dq must be written in terms of a coordinate system prior to integration.

  • For charges on a line, d q = Ξ» d l dq=\lambda dl

  • For charges on a surface, d q = Οƒ d A dq=\sigma dA

  • For charges in a volume, d q = ρ d Ο„ dq=\rho d\tau

In this step, the general differentials d l dl , d A dA , or d Ο„ d\tau are written in terms of a coordinate system (usually cartesian, cylindrical, or spherical). The choice of coordinate system depends on the problem; usually, the coordinate system that is β€œbest” will be somewhat obvious (β€œbest” is used in the sense that it makes the integration easiest).

Note that when writen with a coordinate variable (e.g., d x β€² dx' instead of the generic variable d l dl ), the differential element is written with a prime. The reason is that the position of the charges that cause the electric field is by convention written with a prime, and we want to integrate over the position of the charges. Ideally, we would use d q β€² dq' , d l β€² dl' , d Οƒ β€² d\sigma' , and d Ο„ β€² d\tau' to emphasize this, but this is not the convention.

For a line of charge with charge density Ξ» o \lambda_o over βˆ’ L ≀ x ≀ L -L\le x\le L , find d q dq in cartesian coordinates.

Answer

If the differential charges lie on the x x –axis, then d l = d x β€² dl = dx' . So the electric field due to d q dq can now be written by replacing d q dq with Ξ» o d x β€² \lambda_o dx' . If Ξ» \lambda depends on x β€² x' , we should write d q = Ξ» ( x β€² ) d x β€² dq=\lambda(x')dx' to emphasize the fact that the charge on a differential element depends on x β€² x' .

Find d q dq for charges with a uniform density Ξ» o \lambda_o

  1. a differential charge on the line y = x y=x and

  2. a differential charge on the curve y = x 2 / b y=x^2/b , where b b is a constant.

Answer

d l = d x 1 + ( d y d x ) 2 \displaystyle dl=dx\sqrt{1+\left(\frac{dy}{dx}\right)^2}

1. Ξ» d l = Ξ» o d x 2 \displaystyle \lambda dl=\lambda_odx\sqrt{2} (That d l dl is d x dx inflated by 2 \sqrt{2} should be clear from the diagram used to derive the relationship between d l dl and d x dx .) Prior to use in integration we will need to replace d x dx with d x β€² dx' .

2. d q = Ξ» d l = Ξ» o d x 1 + ( 2 x b ) 2 \displaystyle dq=\lambda dl=\lambda_o dx\sqrt{1+\left(\frac{2x}{b}\right)^2} . Prior to use in integration we will need to replace d x dx with d x β€² dx' and x x with x β€² x' .

Write an equation for d q dq in spherical coordinates for a uniform charge Ξ» o \lambda_o on

  1. a circle of radius R R centered on the origin and in the x x – y y plane; and

  2. the same circle when shifted along the z z –axis by z o z_o .

First, write the full definition of r \mathbf{r} and r β€² \mathbf{r}' using cartesian unit vectors.

The point where we want to compute the field is r = x x ^ + y y ^ + z z ^ \mathbf{r}=x\hat{\mathbf{x}}+y\hat{\mathbf{y}}+z\hat{\mathbf{z}} .

The position of a differential charge that contributes to the field at r \mathbf{r} is r β€² = x β€² x ^ + y β€² y ^ + z β€² z ^ \mathbf{r}'=x'\hat{\mathbf{x}}+y'\hat{\mathbf{y}}+z'\hat{\mathbf{z}} .

Both r \mathbf{r} and r β€² \mathbf{r}' can be written in any coordinate system, but in general cartesian unit vectors should be used.

Next, simplify r \mathbf{r} and r β€² \mathbf{r}' based on the problem statement. For example, if the problem is to compute the electric field on the y y –axis, then x = z = 0 x=z=0 . If all charges are on the x x –axis, then y β€² = z β€² = 0 y'=z'=0 .

Finally, insert the reduced r \mathbf{r} and r β€² \mathbf{r}' into Τ‰ ^ Τ‰ 2 = Τ‰ Τ‰ 3 = r βˆ’ r β€² ∣ r βˆ’ r β€² ∣ 3 \displaystyle\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}=\frac{\textbf{\char"0509}}{\char"0509^3}=\frac{\mathbf{r}-\mathbf{r}'}{|\mathbf{r}-\mathbf{r}'|^3}

For a line of charge with charge density Ξ» \lambda over βˆ’ L ≀ x ≀ L -L\le x\le L , find Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2} for a point on the y y –axis.

Answer

The point of interest has x = z = 0 x=z=0 and so r = y y ^ \mathbf{r}=y\hat{\mathbf{y}}

If the differential charges are all on the x x –axis, then y β€² = z β€² = 0 y'=z'=0 and r β€² = x β€² x ^ \mathbf{r}'=x'\hat{\mathbf{x}} . We can now write

Τ‰ = r βˆ’ r β€² = y y ^ βˆ’ x β€² x ^ {\textbf{\char"0509}} = \mathbf{r}-\mathbf{r}'= y\hat{\mathbf{y}}-x'\hat{\mathbf{x}}

Τ‰ = x β€² 2 + y 2 \char"0509 = \sqrt{x'^2+y^2}

Τ‰ ^ Τ‰ 2 = Τ‰ Τ‰ 3 = r βˆ’ r β€² ∣ r βˆ’ r β€² ∣ 3 = y y ^ βˆ’ x β€² x ^ [ x β€² 2 + y 2 ] 3 \frac{\hat{\textbf{\char"0509}}}{\char"0509^2}=\frac{\textbf{\char"0509}}{\char"0509^3}=\frac{\mathbf{r}-\mathbf{r}'}{|\mathbf{r}-\mathbf{r}'|^3}=\frac{y\mathbf{\hat{y}}-x'\mathbf{\hat{x}}}{\Big[\sqrt{x'^2+y^2}\Big]^3}

Common Errors

1. Not having a primed variable in the equation for Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2} . In the next step, suggestions are given that will allow you to catch this type of error.

2. Miscalculation of the magnitude, which is

Τ‰ = ∣ y y ^ βˆ’ x β€² x ^ ∣ = y 2 + x β€² 2 \char"0509=|y\hat{\mathbf{y}}-x'\hat{\mathbf{x}}|=\sqrt{y^2+x'^2}

If this does not make sense, make sure to review Vectors and the following. In general, Τ‰ {\textbf{\char"0509}} will have the form

Τ‰ = A x ^ + B y ^ + C z ^ \textbf{\char"0509}=A\hat{\mathbf{x}}+B\hat{\mathbf{y}}+C\hat{\mathbf{z}}

so that

Τ‰ = ∣ A x ^ + B y ^ + C z ^ ∣ = A 2 + B 2 + C 2 \char"0509=\big|A\hat{\mathbf{x}}+B\hat{\mathbf{y}}+C\hat{\mathbf{z}}\big|=\sqrt{A^2+B^2+C^2}

where A , B , A, B, and C C depend on the problem. In the example given here, A = βˆ’ x β€² A=-x' and C = z C=z .

3. Wrong signs in the calculation of r βˆ’ r β€² \mathbf{r}-\mathbf{r}' – the negative sign applies to all of the components of r β€² \mathbf{r}' .

For example, if

r = x x ^ + y y ^ + z z ^ \mathbf{r}=\hat{x\mathbf{x}}+y\hat{\mathbf{y}}+z\hat{\mathbf{z}}

and

r β€² = x β€² x ^ + y β€² y ^ + z β€² z ^ \mathbf{r}'=\hat{x'\mathbf{x}}+y'\hat{\mathbf{y}}+z'\hat{\mathbf{z}}

then the error is to write

r βˆ’ r β€² = x x ^ + y y ^ + z z ^ βˆ’ x β€² x ^ + y β€² y ^ + z β€² z ^ = ( x βˆ’ x β€² ) x ^ + ( y + y β€² ) y ^ + ( z + z β€² ) z ^ \mathbf{r}-\mathbf{r}'= x\hat{\mathbf{x}}+y\hat{\mathbf{y}}+z\hat{\mathbf{z}}-x'\hat{\mathbf{x}}+y'\hat{\mathbf{y}}+z'\hat{\mathbf{z}}=(x-x')\hat{\mathbf{x}}+(y+y')\hat{\mathbf{y}}+(z+z')\hat{\mathbf{z}}

instead of

r βˆ’ r β€² = x x ^ + y y ^ + z z ^ βˆ’ ( x β€² x ^ + y β€² y ^ + z β€² z ^ ) = x x ^ + y y ^ + z z ^ βˆ’ x β€² x ^ βˆ’ y β€² y ^ βˆ’ z β€² z ^ \mathbf{r}-\mathbf{r}'= \hat{x\mathbf{x}}+y\hat{\mathbf{y}}+z\hat{\mathbf{z}}-\left(x'\hat{\mathbf{x}}+y'\hat{\mathbf{y}}+z'\hat{\mathbf{z}}\right)= x\hat{\mathbf{x}}+y\hat{\mathbf{y}}+z\hat{\mathbf{z}}-x'\hat{\mathbf{x}}-y'\hat{\mathbf{y}}-z'\hat{\mathbf{z}}

This correct version simplifies to

r βˆ’ r β€² = ( x βˆ’ x β€² ) x ^ + ( y βˆ’ y β€² ) y ^ + ( z βˆ’ z β€² ) z ^ \mathbf{r}-\mathbf{r}'=(x-x')\hat{\mathbf{x}}+(y-y')\hat{\mathbf{y}}+(z-z')\hat{\mathbf{z}}

Write an equation for Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2} in cylindrical coordinates with cartesian unit vectors for a point of interest on the z z –axis for charges on a circle of radius R R centered on the origin and in the x x – y y plane.

Answer:

r = z z ^ \mathbf{r}=z\mathbf{\hat{z}} , r β€² = R cos ⁑ Ο• β€² x ^ + R sin ⁑ Ο• β€² y ^ \mathbf{r}'=R\cos\phi'\mathbf{\hat{x}} + R\sin\phi'\mathbf{\hat{y}} (draw a diagram to check this!)

Τ‰ ^ Τ‰ 2 = z z ^ βˆ’ R cos ⁑ ( Ο• β€² ) x ^ βˆ’ R sin ⁑ ( Ο• β€² ) y ^ ( z 2 + R 2 ) 3 / 2 \displaystyle \frac{\hat{\textbf{\char"0509}}}{\char"0509^2}= \frac{z\hat{\mathbf{z}}-R\cos(\phi')\hat{\mathbf{x}}-R\sin(\phi')\hat{\mathbf{y}}}{(z^2+R^2)^{3/2}}

Note that I have used Ο• β€² \phi' instead of Ο• \phi in this equation and d Ο• d\phi for the differential. Because there is no Ο• \phi in r \mathbf{r} , I could use Ο• \phi . However, it is better to use Ο• β€² \phi' so there will not be confusion for a problem where there is an Ο• \phi in r \mathbf{r} .

Write an equation for Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2} in spherical coordinates with cartesian unit vectors for a point of interest on the z z –axis and charges on

  1. a circle of radius R R centered on the origin and in the x x – y y plane; and

  2. the same circle when shifted along the z z –axis by z o z_o .

Recall that the integral to be solved is

E ( r ) = ∫ k Τ‰ ^ Τ‰ 2 d q \mathbf{E}(\mathbf{r})=\int k\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}dq

and the notation for the integrand of

d E = k Τ‰ ^ Τ‰ 2 d q d\mathbf{E}=k\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}dq

At this point, you have Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2} and d q dq in terms of coordinate system variables. (Don’t forget to write the coordinates in d q dq with primes.) The integrand d E d\mathbf{E} is the electric field at any point r \mathbf{r} due to a charge d q dq at r β€² \mathbf{r}' .

To check d E d\mathbf{E} , plug in a few values of ( x , y , z ) (x,y,z) and ( x β€² , y β€² , z β€² ) (x',y',z') and verify that the resulting d E d\mathbf{E} is consistent the expected result.

For a line of charge with charge density Ξ» o \lambda_o over βˆ’ L ≀ x ≀ L -L\le x\le L and for a point on the y y –axis, d q = Ξ» o d x β€² dq=\lambda_o dx' and

d E = y y ^ βˆ’ x β€² x ^ [ x β€² 2 + y 2 ] 3 k Ξ» o d x β€² d\mathbf{E}=\frac{y\mathbf{\hat{y}}-x'\mathbf{\hat{x}}}{\Big[\sqrt{x'^2+y^2}\Big]^3}k\lambda_o dx'

Provide three checks of this equation.

Answer:

1. Plug in x β€² = βˆ’ L / 2 x'=-L/2 , x β€² = 0 x'=0 , and x β€² = L / 2 x'=L/2 and verify that the direction is as expected for y > 0 y\gt 0 . In the following diagram, a vector for the numerator of d E d\mathbf{E} is shown. These vectors point in the direction expected if there is a charge at their tails. If we scaled the vectors draw by the denominator in d R d\mathbf{R} , the vector in the center will be shorter, which is expected because the d q dq at its tail is closer to the point of interest.

The above could be repeated by plugging in values of y = βˆ’ L y=-L , in which case all of the vectors should point downwards.

2. We expect that as y y increases, d E d\mathbf{E} the angle with respect to the y y –axis should decrease. This statement is consistent with the equation for d E d\mathbf{E} because for fixed x β€² x' , the y y ^ y\mathbf{\hat{y}} term becomes much larger than the x β€² x ^ x'\mathbf{\hat{x}} term as y y increases.

3. For x β€² = 0 x'=0 , we expect d E d\mathbf{E} to be that for a point charge d q dq at the origin. Plugging in x β€² = 0 x'=0 gives d E = k d q y ^ / ( y ∣ y ∣ ) d\mathbf{E}=kdq\mathbf{\hat{y}}/(y|y|) . This has the expected magnitude and direction for y > 0 y\gt 0 and y < 0 y\lt 0 .

For a point of interest on the z z –axis and due to a uniform charge density of Ξ» o \lambda_o on a circle of radius R R centered on the origin and in the x x – y y plane, d q = R d Ο• β€² dq=Rd\phi' and Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2} and so

d E = k Ξ» o R d Ο• β€² z z ^ βˆ’ R cos ⁑ ( Ο• β€² ) x ^ βˆ’ R sin ⁑ ( Ο• β€² ) y ^ ( z 2 + R 2 ) 3 / 2 \displaystyle d\mathbf{E} = k\lambda_o Rd\phi'\frac{z\hat{\mathbf{z}}-R\cos(\phi')\hat{\mathbf{x}}-R\sin(\phi')\hat{\mathbf{y}}}{(z^2+R^2)^{3/2}}

Provide at least two checks of this equation. Include a diagram.

The most frequent type of symmetry will be cancelation symmetry, where pairs of differential charges create an electric field at a point with a component that cancels.

For a line of charge with constant charge density Ξ» o \lambda_o over βˆ’ L ≀ x ≀ L -L\le x\le L and for a point on the y y –axis,

d E = y y ^ βˆ’ x β€² x ^ [ x β€² 2 + y 2 ] 3 k Ξ» o d x β€² d\mathbf{E}=\frac{y\mathbf{\hat{y}}-x'\mathbf{\hat{x}}}{\Big[\sqrt{x'^2+y^2}\Big]^3}k\lambda_o dx'

Identify symmetries that can be used to simplify the problem.

Answer

Vectors for d E d\mathbf{E} and d E x dE_x are shown for to points on the line that are equidistant from the origin in the following figure. The quantity of differential charge for both cases is equal to Ξ» o d x β€² \lambda_o dx' .

Because the horizontal components cancel, we conclude that the horizontal component of the E \mathbf{E} will end up to be zero after integration.

A mathematical way of stating this is d E x ( x β€² ) = βˆ’ d E x ( βˆ’ x β€² ) dE_x(x')=-dE_x(-x') , so integration of d E x dE_x over Β± L \pm L will be zero.

(If Ξ» ( x β€² ) \lambda(x') is not constant, for example it is Ξ» ( x β€² ) = Ξ» o e x β€² / L \lambda(x')=\lambda_oe^{x'/L} , then differential charges on the left side of the line have less charge and so there are no cancelling pairs as was the case for the previous example. In this case, the left–most d q dq is Ξ» o e βˆ’ 1 d x β€² \lambda_oe^{-1}dx' and the right–most d q dq is Ξ» o e 1 d x β€² \lambda_oe^{1}dx' .)

d E d\mathbf{E} for a point of interest on the z z –axis and due to a uniform charge density Ξ» o \lambda_o on a circle centered on the origin and in the x x – y y plane is

d E = k Ξ» o d Ο• β€² z z ^ βˆ’ R cos ⁑ ( Ο• β€² ) x ^ βˆ’ R sin ⁑ ( Ο• β€² ) y ^ ( z 2 + R 2 ) 3 / 2 \displaystyle d\mathbf{E} = k\lambda_o d\phi'\frac{z\hat{\mathbf{z}}-R\cos(\phi')\hat{\mathbf{x}}-R\sin(\phi')\hat{\mathbf{y}}}{(z^2+R^2)^{3/2}}

Simplify this equation using a symmetry argument. Include a diagram.

There are two possibilities:

  1. The integral can be solved β€œexactly”, which informally means standard methods can be used to do the integration, e.g., using trig substitutions, an integral table, or entering the integral into Mathematica or WolframAlpha. The technical term is a β€œclosed–form” solution. An example of an integral with a closed–form solution is ∫ 0 Ο€ sin ⁑ ( k u ) d u = ( cos ⁑ ( k Ο€ ) βˆ’ 1 ) / k \int_0^{\pi} \sin (ku) du = (\cos (k\pi) - 1)/k .

  2. The solution of the integral can only be expressed as an infinite series. An example is the elliptic integral of the first kind:

    ∫ 0 Ο€ / 2 d u / 1 + k 2 sin ⁑ 2 u = ( Ο€ / 2 ) ( 1 + k 2 ( 1 / 2 ) 2 + k 4 ( ( 1 β‹… 2 ) / ( 3 β‹… 4 ) ) 2 + … ) \int_0^{\pi/2}du/\sqrt{1+k^2\sin^2u}=(\pi/2)\big(1+k^2(1/2)^2+k^4((1\cdot 2)/(3\cdot 4))^2+…\big) .

    We will encounter such integrals later in the semester – they also appear in classical mechanics.

    In these cases, one can convert the integrand to a polynomial using a Taylor Series or related expansion prior to integration. This will be covered in detail later in the semester when electric and magnetic dipoles are covered. The basic procedure is to re-write the integrand as an infinite series, e.g.,

    ∫ f ( x β€² ) d x β€² = ∫ ( b 1 x β€² + b 2 x β€² 2 + … + c 0 + c 1 x β€² + c 2 x β€² 2 + … ) d x β€² \int f(x')dx' = \int \left(\frac{b_1}{x'}+\frac{b_2}{x'^2} + … + c_0 + c_1x' + c_2x'^2 + …\right)dx'

where the constants b 1 , b 2 , … , c 0 , c 1 , … b_1, b_2, …, c_0, c_1, … are determined using the Taylor Series expansion formula (or related method for expanding a function). Written in this way, the integral only involves the integration of polynomials. There are subtleties to this method – one needs to ensure that the series is converging; sometimes, several approximations to f ( x β€² ) f(x') are needed, one for locations near the charge distribution and one at far locations. These issues will be considered in detail later in the semester.

For a line of charge with uniform charge density Ξ» o \lambda_o over βˆ’ L ≀ x ≀ L -L\le x\le L , find E ( y ) \mathbf{E}(y) , the electric field at a point on the y y –axis.

Answer:

Previously, it was found that

d E = y y ^ βˆ’ x β€² x ^ [ x β€² 2 + y 2 ] 3 k Ξ» o d x β€² \displaystyle d\mathbf{E}=\frac{y\mathbf{\hat{y}}-x'\mathbf{\hat{x}}}{\Big[\sqrt{x'^2+y^2}\Big]^3}k\lambda_o dx'

so

E = ∫ βˆ’ L L y y ^ βˆ’ x β€² x ^ [ x β€² 2 + y 2 ] 3 k Ξ» o d x β€² q \displaystyle \mathbf{E}=\int_{-L}^{L}\frac{y\mathbf{\hat{y}}-x'\mathbf{\hat{x}}}{\Big[\sqrt{x'^2+y^2}\Big]^3}k\lambda_o dx'q

E = k Ξ» o y y ^ ∫ βˆ’ L L d x β€² 1 [ x β€² 2 + y 2 ] 3 βˆ’ k Ξ» o x ^ ∫ βˆ’ L L d x β€² x β€² [ x β€² 2 + y 2 ] 3 \displaystyle \phantom{\mathbf{E}}=k\lambda_oy\mathbf{\hat{y}}\int_{-L}^{L} dx'\frac{1}{\Big[\sqrt{x'^2+y^2}\Big]^3}-k\lambda_o\mathbf{\hat{x}}\int_{-L}^{L} dx'\frac{x'}{\Big[\sqrt{x'^2+y^2}\Big]^3}

The constants, cartesian unit vectors, and y y have been factored out of the integral because they do not depend on the dummy integration variable x β€² x' .

Based on arguments given earlier, the second integral will be zero. This leaves

E ( y ) = k Ξ» o y y ^ ∫ βˆ’ L L d x β€² 1 [ x β€² 2 + y 2 ] 3 \displaystyle \mathbf{E}(y)=k\lambda_oy\mathbf{\hat{y}}\int_{-L}^{L} dx'\frac{1}{\Big[\sqrt{x'^2+y^2}\Big]^3}

(On exams, you will only be asked to set up the integral.) The integral can be evaluated using a trig substitution, and the result is

E ( y ) = k 2 L Ξ» o y L 2 + y 2 y ^ \displaystyle \mathbf{E}(y)=k\frac{2L\lambda_o}{y\sqrt{L^2 + y^2}}\mathbf{\hat{y}}

Because 2 L Ξ» o 2L\lambda_o is the total charge on the line, the answer can also be written in terms of the total charge on the line, Q Q , as

E y = k Q y L 2 + y 2 \displaystyle E_y = k\frac{Q}{y\sqrt{L^2 + y^2}}

Suppose that we were not able to integrate

E ( y ) = k Ξ» o y ^ ∫ βˆ’ L L d x β€² y [ x β€² 2 + y 2 ] 3 d x β€² \displaystyle \mathbf{E}(y)=k\lambda_o\mathbf{\hat{y}}\int_{-L}^{L} dx'\frac{y}{\Big[\sqrt{x'^2+y^2}\Big]^3}dx'

To demonstrate the method that applies when we there is not a closed–form solution to the integral, here we will expand the integrand assuming that y ≫ L y\gg L and y > 0 y>0 . First, factor out y y from the square root and also from the integral (it does not depend on x β€² x' )

E ( y ) = k Ξ» o y 2 y ^ ∫ βˆ’ L L d x β€² 1 [ 1 + ( x β€² y ) 2 ] 3 \displaystyle \mathbf{E}(y)=\frac{k\lambda_o}{y^2}\mathbf{\hat{y}}\int_{-L}^{L} dx'\frac{1}{\Big[\sqrt{1+\left(\frac{x'}{y}\right)^2}\Big]^3}

The integrand has the form 1 / ( 1 + Ξ΄ ) n 1/(1+\delta)^n , where n = 3 / 2 n=3/2 and Ξ΄ = x β€² / y \delta = x'/y . The maximum value of Ξ΄ \delta is L / y L/y , which is small based on assumtion. We can thus write

E ( y ) = k Ξ» o y 2 y ^ ∫ βˆ’ L L d x β€² ( 1 βˆ’ 3 2 x β€² 2 y 2 + … ) \displaystyle \mathbf{E}(y)= \frac{k\lambda_o}{y^2}\mathbf{\hat{y}}\int_{-L}^{L} dx'\left(1-\frac{3}{2}\frac{x'^2}{y^2} + …\right)

Integrating the first two terms gives

E ( y ) ≃ k Ξ» o y 2 y ^ ( 2 L βˆ’ L 3 y 2 ) = 2 k Ξ» o L y 2 y ^ ( 1 βˆ’ L 2 y 2 ) \displaystyle \mathbf{E}(y)\simeq \frac{k\lambda_o}{y^2}\mathbf{\hat{y}}\left(2L - \frac{L^3}{y^2}\right)=\frac{2k\lambda_o L}{y^2}\mathbf{\hat{y}}\left(1-\frac{L^2}{y^2}\right)

If only the first term in parenthesis is kept, the result is the same as that for a charge 2 k Ξ» o L 2k\lambda_o L at the origin, which was a prediction made prior to solving the problem. Does it make sense physically that the β€œcorrection” to the term that corresponds to all of the charges at the origin is negative and the same for positive and negative y y ?

The electric field on the z z –axis due to a uniform charge density Ξ» o \lambda_o on a circle of radius R R centered on the origin and in the x x – y y plane is

E ( z ) = ∫ 0 2 Ο€ k Ξ» o d Ο• β€² z z ^ ( z 2 + R 2 ) 3 / 2 \displaystyle \mathbf{E}(z) = \int_0^{2\pi}k\lambda_o d\phi'\frac{z\hat{\mathbf{z}}}{(z^2+R^2)^{3/2}}

Find an exact solution to this integral.

The final step is to check the predictions made prior to starting the problem.

For a line of charge with uniform charge density Ξ» o \lambda_o over βˆ’ L ≀ x ≀ L -L\le x\le L , E ( y ) \mathbf{E}(y) , the electric field at a point on the y y –axis is

E ( y ) = k 2 L Ξ» o y L 2 + y 2 y ^ \displaystyle \mathbf{E}(y)=k\frac{2L\lambda_o}{y\sqrt{L^2 + y^2}}\mathbf{\hat{y}}

Check the predictions made previously about the answer, which were

  1. E ( y ) \mathbf{E}(y) should only have a y y –component due to cancellation symmetry.

  2. For y ≫ L y\gg L (far away from the line), one expects an answer that approaches the answer for a problem where all of the charges on the line are placed at the origin. In this case, the basic form of Coulomb’s Law for electric fields can be used to find the answer in terms of the parameters given ∣ E ∣ = k Q / y 2 = k ( 2 Ξ» o L ) / y 2 |\mathbf{E}|=kQ/y^2=k(2\lambda_oL)/y^2 and E \mathbf{E} is in the y ^ \mathbf{\hat{y}} direction for y > 0 y\gt 0 and in the βˆ’ y ^ -\mathbf{\hat{y}} direction for y < 0 y\lt 0 .

  3. For y β‰ͺ L y\ll L , one expects an answer that approaches the answer for an infinite line of charge (an ant placed near the origin will conclude that the charges extend to infinity in both directions). In this case, one can look up the equation for the electric field due to an infinite line of charge (or use Gauss’ Law to find it).

Answer:

  1. This is clearly true.

  2. To address y ≫ L y\gg L , we can factor out y y from the square root to arrive at

    E ( y ) = 2 k λ L y ∣ y ∣ 1 1 + ( L y ) 2 y ^ \displaystyle \mathbf{E}(y)=\frac{2k\lambda L}{y|y|}\frac{1}{\sqrt{1+\left(\frac{L}{y}\right)^2}}\mathbf{\hat{y}}

    When y ≫ L y\gg L , the square root term is nearly unity. And the result is E ( y ) = 2 k Ξ» o L y ^ / y 2 \mathbf{E}(y)=2k\lambda_o L\mathbf{\hat{y}}/y^2 when y > 0 y\gt 0 and E ( y ) = βˆ’ 2 k Ξ» o L y ^ / y 2 \mathbf{E}(y)=-2k\lambda_o L\mathbf{\hat{y}}/y^2 when y < 0 y\lt 0 .

  3. To address y β‰ͺ L y\ll L , we can first factor out L L from the square root to arrive at

    E ( y ) = 2 k Ξ» o y 1 1 + ( y L ) 2 y ^ \displaystyle \mathbf{E}(y)=\frac{2k\lambda_o }{y}\frac{1}{\sqrt{1+\left(\frac{y}{L}\right)^2}}\mathbf{\hat{y}}

    When y β‰ͺ L y\ll L , the square root term is nearly unity, leaving E y = 2 k Ξ» o y ^ / y E_y=2k\lambda_o\mathbf{\hat{y}}/y . The electric field for a line of charge is usually given in cylindrical coordinates as E = 2 k Ξ» o s ^ / s \mathbf{E}=2k\lambda_o\hat{\mathbf{s}}/s . When y > 0 y>0 , s = y s=y and s ^ = y ^ \hat{\mathbf{s}}=\mathbf{\hat{y}} ; when y < 0 y<0 , s = βˆ’ y s=-y and s ^ = βˆ’ y ^ \hat{\mathbf{s}}=-\mathbf{\hat{y}} and so the prediction is correct.

Check the exact answer found previously for the electric field on the z z –axis due to a uniform charge density Ξ» o \lambda_o on a circle of radius R R centered on the origin and in the x x – y y plane.

A line of charge with uniform charge density of Ξ» o \lambda_o extends from 0 0 to L L on the x x -axis, where L > 0 L>0 .

Follow and show the steps given in the notes and find E \mathbf{E} on the x x –axis for x > L x>L in terms of one or more of k , Ξ» o , L , x , k,\lambda_o,L,x, and cartesian coordinates and unit vectors.

Answer:

Students who had difficulty with this problem typically did not follow the steps outlined in the notes. The motivation for the steps is that they help students who have difficulty with these types of problems.

The steps are

  1. Identify Answer Features

  2. Find d l dl , d A dA , or d Ο„ d\tau

  3. Find Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2}

  4. Check d E d\mathbf{E}

  5. Simplify d E d\mathbf{E} using Symmetry Arguments

  6. Integrate d E d\mathbf{E}

  7. Check Answer

1. Identify Answer Features

We are asked for the field on the x x –axis. For x ≫ L x\gg L , the line of charge looks like a point charge near the origin, so we expect E x = + k Ξ» o L / x 2 E_x=+k\lambda_oL/x^2 . We also expect that as x β†’ L x\rightarrow L , the field should become large.

2. Find d l dl , d A dA , or d Ο„ d\tau

The charges are distributed on a line, so we need d l dl . In this case, d l = d x β€² dl=dx' because the charges are on the x x –axis.

3. Find Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2}

r = x x ^ \mathbf{r}=x\mathbf{\hat{x}} and r β€² = x β€² x ^ \mathbf{r}'=x'\mathbf{\hat{x}}

Τ‰ = ( x βˆ’ x β€² ) x ^ \textbf{\char"0509}=(x-x')\mathbf{\hat{x}} and Τ‰ = ∣ Τ‰ ∣ = ( x βˆ’ x β€² ) 2 = ∣ x βˆ’ x β€² ∣ \char"0509=|\textbf{\char"0509}|=\sqrt{(x-x')^2}=|x-x'|

Τ‰ ^ Τ‰ 2 = ( x βˆ’ x β€² ) 3 ∣ x βˆ’ x β€² ∣ 3 x ^ \displaystyle\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}=\frac{(x-x')\phantom{^3}}{|x-x'|^3}\mathbf{\hat{x}}

We are asked for the field for x > L x\gt L . In this case, x > x β€² x>x' (the point of interest is always to the right of a differential charge), so ∣ x βˆ’ x β€² ∣ = x βˆ’ x β€² |x-x'|=x-x' and we can write

Τ‰ ^ Τ‰ 2 = ( x βˆ’ x β€² ) 3 ( x βˆ’ x β€² ) 3 x ^ = 1 ( x βˆ’ x β€² ) 2 x ^ \displaystyle\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}=\frac{(x-x')\phantom{^3}}{(x-x')^3}\mathbf{\hat{x}}=\frac{1}{(x-x')^2}\mathbf{\hat{x}}

4. Check d E d\mathbf{E}

d E = Τ‰ ^ Τ‰ 2 d q d\mathbf{E}=\displaystyle\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}dq

Where d q = Ξ» o d x β€² dq=\lambda_odx' from step 2. and

Τ‰ ^ Τ‰ 2 = 1 ( x βˆ’ x β€² ) 2 x ^ \displaystyle\frac{\hat{\textbf{\char"0509}}}{\char"0509^2}=\frac{1}{(x-x')^2}\mathbf{\hat{x}}

from step 3. Thus,

d E = Ξ» o d x β€² ( x βˆ’ x β€² ) 2 x ^ \displaystyle d\mathbf{E}=\frac{\lambda_odx'}{(x-x')^2}\mathbf{\hat{x}}

This d E d\mathbf{E} corresponds to the equation one would write for a point charge d q = Ξ» o d x β€² dq=\lambda_odx' at x β€² x' at a location x > x β€² x>x' . If x ≫ x β€² x\gg x' , the field becomes that for d q dq at the origin, as expected.

6. Integrate d E d\mathbf{E}

E = ∫ 0 L Ξ» o d x β€² ( x βˆ’ x β€² ) 2 x ^ \displaystyle\mathbf{E}=\int_{0}^L\frac{\lambda_odx'}{(x-x')^2}\mathbf{\hat{x}}

x ^ \mathbf{\hat{x}} and Ξ» o \lambda_o do not depend on d x β€² dx' , so they can be factored out of the integral.

E = Ξ» o x ^ ∫ 0 L d x β€² ( x βˆ’ x β€² ) 2 \displaystyle\mathbf{E}=\lambda_o\mathbf{\hat{x}}\int_{0}^L\frac{dx'}{(x-x')^2}

Many students who did not follow the steps wrote an upper limit of ∞ \infty , possibly because they were basing their solution on a textbook solution for an infinite line of charge.

Integration gives

E = Ξ» o x ^ [ βˆ’ 1 x βˆ’ x β€² ] 0 L = Ξ» o x ^ [ βˆ’ 1 x βˆ’ L + 1 x ] \displaystyle\mathbf{E}=\lambda_o\mathbf{\hat{x}}\left[-\frac{1}{x-x'}\right]_0^L=\lambda_o\mathbf{\hat{x}}\left[-\frac{1}{x-L}+\frac{1}{x}\right]

Simplifying gives

E = L Ξ» o x ( x βˆ’ L ) x ^ \displaystyle\mathbf{E}=\frac{L\lambda_o}{x(x-L)}\mathbf{\hat{x}}

7. Check Answer

When x ≫ L x\gg L , E x E_x approaches L Ξ» / x 2 L\lambda/x^2 .

As x β†’ L x\rightarrow L , E x E_x becomes large.

A line of charge with a uniform charge density of Ξ» o \lambda_o extends from 0 0 to L L on the x x -axis, wh

Follow and show the steps given in the notes and find E \mathbf{E} on the y y –axis in terms of one or more of k , Ξ» o , L , y k,\lambda_o,L,y and cartesian unit vectors.

Partial Answer:

Step 1 (Expected answer features)

  1. x x –component should always be negative; y y component should be + y ^ +\mathbf{\hat{y}} for y > 0 y \gt 0 and βˆ’ y ^ -\mathbf{\hat{y}} for y < 0 y \lt 0 .

  2. For y ≫ L y\gg L , E β†’ Β± k Q y ^ / y 2 \mathbf{E}\rightarrow \pm kQ\mathbf{\hat{y}}/y^2 .

  3. As y β†’ 0 y\rightarrow 0 , ∣ E y ∣ / ∣ E x ∣ β†’ 0 |E_y|/|E_x|\rightarrow 0 .

Steps 2. – 4. are the same as example given above for E ( y ) \mathbf{E}(y) due to a line of charge on the x x –axis.

d E ( y ) = y y ^ βˆ’ x β€² x ^ [ x β€² 2 + y 2 ] 3 k Ξ» o d x β€² \displaystyle d\mathbf{E}(y)=\frac{y\mathbf{\hat{y}}-x'\mathbf{\hat{x}}}{\Big[\sqrt{x'^2+y^2}\Big]^3}k\lambda_o dx'

In this problem, the limits of integration are different: they extend from x = 0 x=0 to x = L x=L . We need to evaluate

E ( y ) = ∫ 0 L y y ^ βˆ’ x β€² x ^ [ x β€² 2 + y 2 ] 3 k Ξ» o d x β€² \displaystyle \mathbf{E}(y)=\int_{0}^{L}\frac{y\mathbf{\hat{y}}-x'\mathbf{\hat{x}}}{\Big[\sqrt{x'^2+y^2}\Big]^3}k\lambda_o dx'

This can be written as two integrals:

E ( y ) = k Ξ» o y y ^ ∫ 0 L d x β€² 1 [ x β€² 2 + y 2 ] 3 βˆ’ k Ξ» o x ^ ∫ 0 L d x β€² x β€² [ x β€² 2 + y 2 ] 3 \displaystyle \mathbf{E}(y)=k\lambda_oy\mathbf{\hat{y}}\int_{0}^{L} dx'\frac{1}{\Big[\sqrt{x'^2+y^2}\Big]^3}-k\lambda_o\mathbf{\hat{x}}\int_{0}^{L} dx'\frac{x'}{\Big[\sqrt{x'^2+y^2}\Big]^3}

Using WolframAlpha (first integral; second integral),

E ( y ) = βˆ’ k Ξ» o x ^ ( 1 ∣ y ∣ βˆ’ 1 L 2 + y 2 ) + k Ξ» o y y ^ ( L y 2 L 2 + y 2 ) \displaystyle \mathbf{E}(y)=-k\lambda_o\mathbf{\hat{x}}\left(\frac{1}{|y|}-\frac{1}{\sqrt{L^2 + y^2}}\right)+k\lambda_oy\mathbf{\hat{y}}\left(\frac{L}{y^2 \sqrt{L^2 + y^2}}\right)

Repeat the previous two problems when the line of charge is shifted in the y y –direction by b b .

A line of charge in the x x - y y plane has a uniform charge density of Ξ» o \lambda_o , passes through the origin, is at an angle of Ο• \phi with the x x -axis, and extends from x = βˆ’ b x=-b to x = b x=b .

Find E \mathbf{E} on the y y –axis using two two methods:

  1. Find E \mathbf{E} on the y y –axis by following the steps in the notes.

  2. Check your answer for small y y by transforming the equation for E ( y ) \mathbf{E}(y) given in the notes for a line of charge on the x x –axis between x = βˆ’ L x=-L and x = L x=L to coordinate system rotated by Ο• \phi about the z z –axis.

Partial Answer:

This is a line of charge, so the general relationship is d q β€² = Ξ» d l β€² dq'=\lambda dl' .

In general, a differential element parallel to a line in the x βˆ’ y x-y plane can be written as

d l β€² = d x β€² x ^ + d y β€² y ^ d\mathbf{l}' = dx'\hat{\mathbf{x}} + dy'\hat{\mathbf{y}}

the magnitude of d l β€² d\mathbf{l}' is

d l β€² = ( d x β€² ) 2 + ( d y β€² ) 2 dl' = \sqrt{(dx')^2+(dy')^2}

factoring out d x β€² dx' gives a formula that may be familiar from a calculus course in which the the length of a curve is computed:

d l β€² = d x β€² 1 + ( d y β€² d x β€² ) 2 dl' = dx'\sqrt{1+\left(\frac{dy'}{dx'}\right)^2}

In this problem, we are not explicitly given d y β€² / d x β€² dy'/dx' , but it can be derived by noting from a diagram that tan ⁑ Ο• = y β€² / x β€² \tan\phi = y'/x' so that

y β€² = x β€² tan ⁑ Ο• y' = x'\tan\phi

and so d y β€² / d x β€² = tan ⁑ Ο• dy'/dx' = \tan\phi . Substitution gives

d l β€² = d x β€² 1 + ( d y β€² d x β€² ) 2 = d x β€² 1 + tan ⁑ 2 Ο• dl' = dx'\sqrt{1+\left(\frac{dy'}{dx'}\right)^2}=dx'\sqrt{1+\tan^2\phi}

and finally an equation for d q β€² dq'

d q β€² = Ξ» d l β€² = d x β€² 1 + tan ⁑ 2 Ο• dq'=\lambda dl'= dx'\sqrt{1+\tan^2\phi}

In general,

r = x x ^ + y y ^ + z z ^ \mathbf{r}=x\hat{\mathbf{x}}+y\hat{\mathbf{y}}+z\hat{\mathbf{z}} and r β€² = x β€² x ^ + y β€² y ^ + z β€² z ^ \mathbf{r}'=x'\hat{\mathbf{x}}+y'\hat{\mathbf{y}}+z'\hat{\mathbf{z}}

For this problem, we only want to know r \mathbf{r} for points on the y y -axis, so x = 0 x=0 and z = 0 z=0 leaving

r = y y ^ \mathbf{r}=y\hat{\mathbf{y}}

the line of charge is in the x x - y y plane, so z β€² z' is always zero, leaving

r β€² = x β€² x ^ + y β€² y ^ \mathbf{r}'=x'\hat{\mathbf{x}}+y'\hat{\mathbf{y}}

Write

d E = d q β€² 4 Ο€ Ο΅ 0 r βˆ’ r β€² ∣ r βˆ’ r β€² ∣ 3 \displaystyle d\mathbf{E} = \frac{dq'}{4\pi\epsilon_0}\frac{\mathbf{r}-\mathbf{r}'}{|\mathbf{r}-\mathbf{r}'|^3}

replacing d q β€² dq' with the differential found in Step 1, d q β€² = d x β€² 1 + tan ⁑ 2 Ο• dq' = dx'\sqrt{1+\tan^2\phi} , and using the reduced versions of r \mathbf{r} and r β€² \mathbf{r}' in Step 2. Noting that

r βˆ’ r β€² = y y ^ βˆ’ ( x β€² x ^ + y β€² y ^ ) \mathbf{r}-\mathbf{r}'=y\hat{\mathbf{y}}-\big(x'\hat{\mathbf{x}}+y'\hat{\mathbf{y}}\big)

which can be rewritten as

r βˆ’ r β€² = βˆ’ x β€² x ^ + ( y βˆ’ y β€² ) y ^ \mathbf{r}-\mathbf{r}'=-x'\hat{\mathbf{x}}+(y-y')\hat{\mathbf{y}}

The magnitude is

∣ r βˆ’ r β€² ∣ = ( βˆ’ x β€² ) 2 + ( y βˆ’ y β€² ) 2 = x β€² 2 + ( y βˆ’ y β€² ) 2 |\mathbf{r}-\mathbf{r}'|=\sqrt{(-x')^2 + (y-y')^2}=\sqrt{x'^2 + (y-y')^2}

and substitution gives

d E = d x β€² 1 + tan ⁑ 2 Ο• 4 Ο€ Ο΅ 0 βˆ’ x β€² x ^ + ( y βˆ’ y β€² ) y ^ ( x β€² 2 + ( y βˆ’ y β€² ) 2 ) 3 / 2 \displaystyle d\mathbf{E} = \frac{dx'\sqrt{1+\tan^2\phi}}{4\pi\epsilon_0}\frac{-x'\hat{\mathbf{x}}+(y-y')\hat{\mathbf{y}}}{\big(x'^2 + (y-y')^2\big)^{3/2}}

The final step is to integrate this equation from x β€² = 0 x'=0 to x β€² = b x'=b :

E ( y ) = ∫ 0 b d x β€² 1 + tan ⁑ 2 Ο• 4 Ο€ Ο΅ 0 βˆ’ x β€² x ^ + ( y βˆ’ y β€² ) y ^ ( x β€² 2 + ( y βˆ’ y β€² ) 2 ) 3 / 2 \displaystyle \mathbf{E}(y) = \int_0^{b}\frac{dx'\sqrt{1+\tan^2\phi}}{4\pi\epsilon_0}\frac{-x'\hat{\mathbf{x}}+(y-y')\hat{\mathbf{y}}}{\big(x'^2 + (y-y')^2\big)^{3/2}}

d l β€² dl' was found in terms of d x β€² dx' , so all of the primed variables need to be written in terms of x β€² x' . Using y β€² = x β€² tan ⁑ Ο• y'=x'\tan\phi gives an equation that is ready for integration

E ( y ) = ∫ 0 b d x β€² 1 + tan ⁑ 2 Ο• 4 Ο€ Ο΅ 0 βˆ’ x β€² x ^ + ( y βˆ’ x β€² tan ⁑ Ο• ) y ^ ( x β€² 2 + ( y βˆ’ x β€² tan ⁑ Ο• ) 2 ) 3 / 2 \displaystyle \mathbf{E}(y) = \int_0^{b}\frac{dx'\sqrt{1+\tan^2\phi}}{4\pi\epsilon_0}\frac{-x'\hat{\mathbf{x}}+(y-x'\tan\phi)\hat{\mathbf{y}}}{\big(x'^2 + (y-x'\tan\phi)^2\big)^{3/2}}

To solve this, start by factoring out the constant terms

E ( y ) = 1 + tan ⁑ 2 Ο• 4 Ο€ Ο΅ 0 ∫ 0 b βˆ’ x β€² x ^ + ( y βˆ’ x β€² tan ⁑ Ο• ) y ^ ( x β€² 2 + ( y βˆ’ x β€² tan ⁑ Ο• ) 2 ) 3 / 2 d x β€² \displaystyle \mathbf{E}(y) =\frac{\sqrt{1+\tan^2\phi}}{4\pi\epsilon_0} \int_0^{b}\frac{-x'\hat{\mathbf{x}}+(y-x'\tan\phi)\hat{\mathbf{y}}}{\big(x'^2 + (y-x'\tan\phi)^2\big)^{3/2}}dx'

and write the equation in terms of two integrals with y y and Ο• \phi treated as a constant with respect to the integration. In terms of these integrals, E \mathbf{E} is

E ( y ) = 1 + tan ⁑ 2 Ο• 4 Ο€ Ο΅ 0 [ I 1 x ^ + ( I 2 + I 1 tan ⁑ Ο• ) y ^ ] \displaystyle \mathbf{E}(y) =\frac{\sqrt{1+\tan^2\phi}}{4\pi\epsilon_0} \big[{I_1\hat{\mathbf{x}}+(I_2+I_1\tan\phi)\hat{\mathbf{y}}}\big]

where

I 1 = ∫ 0 b βˆ’ x β€² ( x β€² 2 + ( y βˆ’ x β€² tan ⁑ Ο• ) 2 ) 3 / 2 d x β€² I_1=\displaystyle \int_0^{b}\frac{-x'}{\big(x'^2 + (y-x'\tan\phi)^2\big)^{3/2}}dx'

I 2 = ∫ 0 b y ( x β€² 2 + ( y βˆ’ x β€² tan ⁑ Ο• ) 2 ) 3 / 2 d x β€² I_2=\displaystyle \int_0^{b}\frac{y}{\big(x'^2 + (y-x'\tan\phi)^2\big)^{3/2}}dx'

As y β†’ 0 y\rightarrow 0 , we expect the field to be perpendicular to the line and to be related to the field along a line perpendicular to it. One can use the equation for E ( y ) \mathbf{E}(y) for a line of charge along the x x –axis from x Β± b x \pm b and re–name y y as y β€² y' , with y β€² y' the perpendicular distance from the rotated line. In this case, y y and y β€² y' are related by y = y β€² cos ⁑ Ο• y=y'\cos\phi .

To finish the problem, integrate and let y / b β†’ 0 y/b\rightarrow 0 . You should find that E \mathbf{E} becomes perpendicular to the line as y / b β†’ 0 y/b\rightarrow 0 . Setting y = y β€² cos ⁑ Ο• y=y'\cos\phi should give a match to the equation for E ( y β€² ) \mathbf{E}(y') .

Charge is uniformly distributed along the line y = x 2 / b y=x^2/b from x = βˆ’ b x=-b to x = b x=b .

Find an equation for E \mathbf{E} on the y y –axis in terms of an integral with an integrand that depend only on d x β€² dx' , x β€² x' , y y , and b b . You do not need to evaluate the integral.

A uniformly charged circle of radius R R with a total charge Q Q is in the x x – y y plane and centered on the origin.

Find an equation for E ( x , y , z ) \mathbf{E}(x,y,z) (the field at any location in space) in terms of three integrals with integrands that depend only on d Ο• β€² d\phi' , Ο• β€² \phi' , x x , y y , and z z , and R R . You do not need to evaluate the integral.

A uniformly charged disk of radius R R with a total charge Q Q is in the x x – y y plane and centered on the origin.

Follow and show the steps given in the notes and find E \mathbf{E} on the z z –axis in terms of one or more of k , Q , R , z k,Q,R,z , and cartesian unit vectors.

Answer:

Comments:

  • This is an example commonly given in intro physics textbooks and it has a short–cut solution. Some students essentially gave a few equations from the example solution without justification. I asked you to follow the steps given in the notes because the method used in the example solutions won’t help you on more complicated problems. So make sure that you know how to solve this problem using the steps in the notes.

  • Many students came up with an E \mathbf{E} that had the wrong sign. I took off points for this because the sign error would have been obvious if you had checked your answer to verify that E \mathbf{E} had a positive z z component when z > 0 z>0 .Ο€

1. Identify Answer Features

(a) We expect that for z β‰ͺ R z\ll R , E \mathbf{E} to aproach that of an infinite sheet of charge, for which ∣ E ∣ = Οƒ / 2 Ο΅ o |\mathbf{E}|=\sigma/2\epsilon_o is perpendicular to the sheet and points away from it. For this problem, this means E = Β± z ^ ( Q / Ο€ R 2 ) / Οƒ o \mathbf{E}=\pm \mathbf{\hat{z}} (Q/\pi R^2)/\sigma_o with the + + above the sheet ( z > 0 z\gt 0 ) and βˆ’ - below the sheet ( z < 0 z\lt 0 ).

(b) For z ≫ R z\gg R , we expect E = Β± k Q z ^ / z 2 \mathbf{E}=\pm kQ\mathbf{\hat{z}}/z^2 with the sign the same as that of z z .

2. Find d A dA

The differential charge can be written in cylindrical coordinates as d q = Οƒ s β€² d s β€² d Ο• β€² dq = \sigma s'ds'd\phi' .

3. Find Τ‰ ^ / Τ‰ 2 {\hat{\textbf{\char"0509}}}/{\char"0509^2}

Τ‰ ^ Τ‰ 2 = 1 ∣ r βˆ’ r β€² ∣ 2 r βˆ’ r β€² ∣ r βˆ’ r β€² ∣ \displaystyle \frac{\hat{\textbf{\char"0509}}}{\char"0509^2}=\frac{1}{|\mathbf{r}-\mathbf{r}'|^2}\frac{\mathbf{r}-\mathbf{r}'}{|\mathbf{r}-\mathbf{r}'|}

In general,

r = x x ^ + y y ^ + z z ^ \displaystyle\mathbf{r} = x\mathbf{\hat{x}} + y\mathbf{\hat{y}} + z\mathbf{\hat{z}}

The point of interest is constrained to be on the z z –axis, for which x = y = 0 x=y=0 , so

r = z z ^ \displaystyle\mathbf{r} = z\hat{\mathbf{z}}

In general,

r β€² = x β€² x ^ + y β€² y ^ + z β€² z ^ \displaystyle\mathbf{r}' = x'\mathbf{\hat{x}} + y'\mathbf{\hat{y}} + z'\mathbf{\hat{z}}

and the location of the charge acting on the point of interest has z β€² = 0 z'=0 , and so

r β€² = x β€² x ^ + y β€² y ^ \displaystyle\mathbf{r}' = x'\mathbf{\hat{x}} + y'\mathbf{\hat{y}}

Given that d A dA was written in cylindrical coordinates, we should write r β€² \mathbf{r}' using the same coordinate system:

r β€² = s β€² cos ⁑ ( Ο• β€² ) x ^ + s β€² sin ⁑ ( Ο• β€² ) y ^ \displaystyle\mathbf{r}' = s'\cos(\phi')\hat{\mathbf{x}}+s'\sin(\phi')\hat{\mathbf{y}}

Note that s β€² s' is used in this equation makes r β€² \mathbf{r}' depend on the radial distance of the charge d q dq . In the ring problem, R R is used instead of s β€² s' .

4. Check d E d\mathbf{E}

d E = d q 4 Ο€ Ο΅ 0 βˆ’ s β€² cos ⁑ ( Ο• β€² ) x ^ βˆ’ s β€² sin ⁑ ( Ο• β€² ) y ^ + z z ^ ( z 2 + s β€² 2 ) 3 / 2 d\mathbf{E}= \frac{dq}{4\pi\epsilon_0}\frac{-s'\cos(\phi')\hat{\mathbf{x}}-s'\sin(\phi')\hat{\mathbf{y}}+z\mathbf{\hat{z}}}{(z^2+s'^2)^{3/2}}

When Ο• β€² = 0 \phi'=0 , d E d\mathbf{E} has a βˆ’ x ^ -\mathbf{\hat{x}} component and no y ^ \mathbf{\hat{y}} component. This is consistent with the following sketch.

If z ≫ s β€² z\gg s' , then the z ^ \mathbf{\hat{z}} term dominates and is 1 / z 2 1/z^2 , so a charge at any s β€² s' produces a field at large z z that is near that if it were at the origin.

5. Simplifying d E d\mathbf{E} using Symmetry Arguments

We want to integrate, so need to write d q dq in terms of coordinates. On the disk, a small patch has an area of ( s β€² d Ο• β€² ) ( d s β€² ) (s' d\phi')(ds') , so d q = Οƒ ( s β€² d Ο• β€² ) ( d s β€² ) dq=\sigma (s' d\phi')(ds')

This gives

E = ∫ 0 2 Ο€ ∫ 0 R Οƒ s β€² d Ο• β€² d s β€² 4 Ο€ Ο΅ 0 βˆ’ s β€² cos ⁑ ( Ο• β€² ) x ^ βˆ’ s β€² sin ⁑ ( Ο• β€² ) y ^ + z z ^ ( z 2 + s β€² 2 ) 3 / 2 \mathbf{E} = \int_0^{2\pi}\int_0^R \frac{\sigma s' d\phi'ds'}{4\pi\epsilon_0}\frac{-s'\cos(\phi')\hat{\mathbf{x}}-s'\sin(\phi')\hat{\mathbf{y}}+z\mathbf{\hat{z}}}{(z^2+s'^2)^{3/2}}

Based on the symmetry argument that we can always find another d q dq that exactly cancels the horizontal component of a given d q dq , we expect the x ^ \hat{\mathbf{x}} and y ^ \hat{\mathbf{y}} terms to be zero, so we can drop them. Or we can notice that after factoring out everything that does not depend on Ο• \phi , the integrals for the x ^ \hat{\mathbf{x}} and y ^ \hat{\mathbf{y}} terms are cos ⁑ Ο• , d Ο• \cos\phi,d\phi and sin ⁑ Ο• , d Ο• \sin\phi,d\phi from 0 0 to 2 Ο€ 2\pi , which are both zero. Note that if a 1/2 disk was given, the integral limits would be from 0 0 to Ο€ \pi , and one of the integrals would not be zero.

E = ∫ 0 2 Ο€ ∫ 0 R Οƒ s β€² d Ο• β€² d s β€² 4 Ο€ Ο΅ 0 z z ^ ( z 2 + s β€² 2 ) 3 / 2 \mathbf{E} = \int_0^{2\pi}\int_0^R \frac{\sigma s' d\phi' ds'}{4\pi\epsilon_0}\frac{z\hat{\mathbf{z}}}{(z^2+s'^2)^{3/2}}

6. Integrating d E d\mathbf{E}

Factoring out the constants gives E = Οƒ z z ^ 4 Ο€ Ο΅ 0 ∫ 0 2 Ο€ ∫ 0 R s β€² d Ο• β€² d s β€² ( z 2 + s β€² 2 ) 3 / 2 \mathbf{E} = \frac{\sigma z\hat{\mathbf{z}}}{4\pi\epsilon_0} \int_0^{2\pi}\int_0^R \frac{s' d\phi' ds'}{(z^2+s'^2)^{3/2}}

Nothing in the integrand depends on Ο• β€² \phi' , so the Ο• β€² \phi' integral reduces to 2 Ο€ 2\pi E = 2 Ο€ Οƒ z z ^ 4 Ο€ Ο΅ 0 ∫ 0 R s β€² d Ο• β€² ( z 2 + s β€² 2 ) 3 / 2 \mathbf{E} = \frac{2\pi\sigma z\hat{\mathbf{z}}}{4\pi\epsilon_0} \int_0^R \frac{s' d\phi'}{(z^2+s'^2)^{3/2}}

The result of the integration gives the final answer (to integrate, use a substitution of u 2 = s β€² 2 + z 2 u^2=s'^2+z^2 and use z 2 = ∣ z ∣ \sqrt{z^2}=|z| ).

E = Οƒ z 2 Ο΅ 0 ( 1 ∣ z ∣ βˆ’ 1 R 2 + z 2 ) z ^ \mathbf{E} = \frac{\sigma z}{2\epsilon_0} \left(\frac{1}{|z|}-\frac{1}{\sqrt{R^2+z^2}}\right)\hat{\mathbf{z}}

7. Checking Answer

From step 1, we expect that

(a) We expect that for z β‰ͺ R z\ll R , E \mathbf{E} to aproach that of an infinite sheet of charge, for which ∣ E ∣ = Οƒ / 2 Ο΅ o |\mathbf{E}|=\sigma/2\epsilon_o is perpendicular to the sheet and points away from it. For this problem, this means E = Β± z ^ ( Q / Ο€ R 2 ) / Οƒ o \mathbf{E}=\pm \mathbf{\hat{z}} (Q/\pi R^2)/\sigma_o with the + + above the sheet ( z > 0 z\gt 0 ) and βˆ’ - below the sheet ( z < 0 z\lt 0 ).

(b) For z ≫ R z\gg R , we expect E = Β± k Q z ^ / z 2 \mathbf{E}=\pm kQ\mathbf{\hat{z}}/z^2 with the sign the same as that of z z .

(a) For z β‰ͺ R z\ll R , only the first term in parenthesis is large E = Οƒ 2 Ο΅ 0 z ∣ z ∣ z ^ \mathbf{E} = \frac{\sigma}{2\epsilon_0}\frac{z}{|z|}\hat{\mathbf{z}}

Notice how the z / ∣ z ∣ {z}/{|z|} term tells use the direction of the electric field. When z > 0 z>0 , this term is + 1 +1 . When z < 0 z<0 , this term is βˆ’ 1 -1 .

(b) For z ≫ R z\gg R , we need to do a bit more work on the second term in parentheses in (3). Factor out a z z from the square root to get E = Οƒ z 2 Ο΅ 0 ( 1 ∣ z ∣ βˆ’ 1 ∣ z ∣ 1 + R 2 / z 2 ) z ^ \mathbf{E} = \frac{\sigma z}{2\epsilon_0} \left(\frac{1}{|z|}-\frac{1}{|z|\sqrt{1+R^2/z^2}}\right)\hat{\mathbf{z}}

Because R / z β‰ͺ 1 R/z \ll 1 , we can use the binomial expansion to get E ≃ Οƒ z 2 Ο΅ 0 [ 1 ∣ z ∣ βˆ’ 1 ∣ z ∣ ( 1 βˆ’ R 2 2 z 2 ) ] z ^ \mathbf{E} \simeq \frac{\sigma z}{2\epsilon_0} \left[\frac{1}{|z|}-\frac{1}{|z|}\left(1-\frac{R^2}{2z^2}\right)\right]\hat{\mathbf{z}}

Simplifying gives

E ≃ Οƒ 2 Ο΅ 0 R 2 2 z 2 z ∣ z ∣ z ^ \mathbf{E} \simeq \frac{\sigma}{2\epsilon_0} \frac{R^2}{2z^2}\frac{z}{|z|}\hat{\mathbf{z}}

To show that in this limit the result is the same as if all of the charge was at the origin, we need to compute the charge on the disk, which is Q = Οƒ Ο€ R 2 Q=\sigma\pi R^2

Substituing for Οƒ \sigma gives

E ≃ Q 4 Ο€ Ο΅ 0 1 z 2 z ∣ z ∣ z ^ \mathbf{E} \simeq \frac{Q}{4\pi\epsilon_0} \frac{1}{z^2}\frac{z}{|z|}\hat{\mathbf{z}}

Charge is uniformly distributed on the curved surface of a cylinder of length h h and radius R R . The cylinder is centered on the origin, aligned with the z z –axis, and has a charge density of Οƒ o \sigma_o .

Find an equation for E \mathbf{E} on the z z –axis in terms of a single integral with an integrand that depends only on d z β€² dz' , z β€² z' , z z , and R R . You do not need to evaluate the integral.