How to Integrate the Electric Field Over a Square Contour?

Click For Summary
SUMMARY

The forum discussion focuses on calculating the electric field intensity vector due to a line charge with uniform charge density Q' distributed along a square contour of side length 'a'. The key point is to set up the line integral for the electric field vector, particularly at a point located at a distance 'a' from each vertex of the square. The discussion emphasizes the need to account for varying distances from the charge elements to the observation point, which is correctly identified as (0,0,a/√2). The final expression for the electric field is derived by integrating the contributions from each segment of the square contour.

PREREQUISITES
  • Understanding of electric field concepts and vector calculus
  • Familiarity with line integrals in electrostatics
  • Knowledge of potential energy and its relation to electric fields
  • Basic geometry involving three-dimensional coordinates
NEXT STEPS
  • Study line integrals in electrostatics to understand their application in electric field calculations
  • Learn about the relationship between electric potential and electric field intensity
  • Explore vector calculus techniques for integrating functions with variable limits
  • Investigate the properties of electric fields generated by different charge distributions
USEFUL FOR

This discussion is beneficial for physics students, particularly those studying electromagnetism, as well as educators and professionals involved in teaching or applying concepts of electric fields and charge distributions.

jegues
Messages
1,085
Reaction score
3

Homework Statement



A line charge of uniform charge density Q' is distributed along a square contour a on a side. The medium is aie. Find the electric field intensity vector at a point that is at a distance a from each of the square vertices.

Homework Equations





The Attempt at a Solution



I've got everything figured out expect for the line integral which will give me the electric field vector for one of the sides of the square contour.

In the figure attached (my work), I've denoted this as, \vec{E_{1}}.

How do I write out this integral?

I know that the radius in the calculation of the electric field is going to vary from a to h then back to a as we move along one side of our square contour, but how do I represent this knowledge in an integral that will evaluate the changing r for infinitesimly small lengths (dl) along one side of the square contour?
 

Attachments

  • ATP1.21.JPG
    ATP1.21.JPG
    55.1 KB · Views: 704
Physics news on Phys.org
I would go with calculating the potential at (0,0,z) and then E = -dV/dz. Integrating the force vectors looks daunting, especially when you have a lousy sense of spatial relations like I do.

Tale a 1/8 section of the square: (a/2, y = 0 to a/2). Write r(y,z) as the distance from a point on this section to (0,0,a). Integrate dV[r(y,z)]) at (0,0,a) from y = 0 to y = a/2, giving you V[r(z)]. Double this amount by considering the same V contribution from the opposite 1/8 section (-a/2, y = 0 to - a/2). The result is now 1/4 the total potential at (0,0,a). E due to these two sections combined is in the +z direction only. The other three section pairs similarly contribute no x or y component along the z axis.
Then, E = -dV(z)/dz.

How's that sound? Haven't done it myself so don't know if there are any stumbling blocks, but looks straightforward to me.
 
Last edited:
rude man said:
I would go with calculating the potential at (0,0,z) and then E = -dV/dz. Integrating the force vectors looks daunting, especially when you have a lousy sense of spatial relations like I do.

Tale a 1/8 section of the square: (a/2, y = 0 to a/2). Write r(y,z) as the distance from a point on this section to (0,0,a). Integrate dV[r(y,z)]) at (0,0,a) from y = 0 to y = a/2, giving you V[r(z)]. Double this amount by considering the same V contribution from the opposite 1/8 section (-a/2, y = 0 to - a/2). The result is now 1/4 the total potential at (0,0,a). E due to these two sections combined is in the +z direction only. The other three section pairs similarly contribute no x or y component along the z axis.
Then, E = -dV(z)/dz.

How's that sound? Haven't done it myself so don't know if there are any stumbling blocks, but looks straightforward to me.

We haven't learned about the potential yet, we are suppose to do it using a line integral.

How can I set the integral up in order to account for the varying radii as I move a small length dl along the line charge?
 
Ok, then I would try as follows:
1. take 1/8 section, say the one defined by (x=0 to a/2, a/2). Draw a line from a typical element of this section dL to (0,0,a). Come up with |r|, the distance from dL to (0,0,a). This is a function of x (and a of course) only. Come up with the equation for
r = r1 i + r2 j + r3 k. Again, r1, r2 and r3 are f(x) only. Solve for cos(theta) from
r dot k = |r|cos(theta). Then dE in the z direction at (0,0,a) due to this one section is
cos(theta)dE(x). theta will itself be a function of x. Then integrate dE(x) from x = 0 to a/2, multiply by 8, and get your answer.

Rough way to travel.
 
Last edited:
rude man said:
Ok, then I would try as follows:
1. take 1/8 section, say the one defined by (x=0 to a/2, a/2). Draw a line from a typical element of this section dL to (0,0,a).

You can't draw it to (0,0,a), that's not where the reference point is required to be located in space.

In the question it states it must be a distance a from the vertices of the contour.

This geometry forces the value of our reference point on the z-axis to be,

(0,0, \frac{a}{\sqrt{2}})

You lost me on the rest of you're explanation, if you could show me that'd make things a lot more clear.
 
You're absolutely right, the point of observation is not (0,0,a). Sorry about that It's obviously [0,0,a/√2].

Next we have to determine the vector r pointing from an element dx located at (x,a/2,0) on the chosen segment (0 < x< a/2, a/2, 0),
to [(0,0,a/√2].

Fact: given two points P1(x1,y1,z1) and P2(x2,y2,z2) the vector pointing from P1 to P2 is given by

r = (x2-x1) i + (y2 - y1) j + (z2 - z1) k. Since P1 for us is (x, a/2, 0), r = r(x). P2 of course is (0,0,a/√2).

Next, we know that E along the z axis is directed upward along that axis, so we need to find the component of dE along z due to the element of wire dx. (The x and y components of E cancel). But dE is directed along r, so we need to find the angle between r and the z axis. To do that, use r dot k = |r|cosθ . You can see that θ = θ(x).

Then, dE(x) at (0,0, a/√2) will be Kρdx*cosθ/(|r|^2) k,

K = 9e9 SI units and both |r| and θ are functions of x, ρ = Q'/4a and k is unit vector in the z direction. Integrate dE from x = 0 to a/2. Multiply by 8 & you're home free.

This is a real bear of a problem they've handed you, lots of work left for you. Don't hesitate to ask more questions. When you get to potentials you'll see it's much easier that way. Potentials are scalars, not vectors. And we already knew the direction of E before we even started.
 
Last edited:
Oh, oh, I just saw you had the observation point at (0,0, a/√2) and I finally see that that's correct. I made the correction in my final post.
 
Last edited:
rude man said:
You're absolutely right, the point of observation is not (0,0,a). Sorry about that It's obviously [0,0,a/√2].

Next we have to determine the vector r pointing from an element dx located at (x,a/2,0) on the chosen segment (0 < x< a/2, a/2, 0),
to [(0,0,a/√2].

Fact: given two points P1(x1,y1,z1) and P2(x2,y2,z2) the vector pointing from P1 to P2 is given by

r = (x2-x1) i + (y2 - y1) j + (z2 - z1) k. Since P1 for us is (x, a/2, 0), r = r(x). P2 of course is (0,0,a/√2).

Next, we know that E along the z axis is directed upward along that axis, so we need to find the component of dE along z due to the element of wire dx. (The x and y components of E cancel). But dE is directed along r, so we need to find the angle between r and the z axis. To do that, use r dot k = |r|cosθ . You can see that θ = θ(x).

Then, dE(x) at (0,0, a/√2) will be Kρdx*cosθ/(|r|^2) k,

K = 9e9 SI units and both |r| and θ are functions of x, ρ = Q'/4a and k is unit vector in the z direction. Integrate dE from x = 0 to a/2. Multiply by 8 & you're home free.

This is a real bear of a problem they've handed you, lots of work left for you. Don't hesitate to ask more questions. When you get to potentials you'll see it's much easier that way. Potentials are scalars, not vectors. And we already knew the direction of E before we even started.


You're saying that, \theta is a function of x, is this what it is defined as,

\theta(x) = cos^{-1}\left(\frac{\vec{r} \cdot \hat{k}}{|r|} \right)

That's going to be ridiculous to try and integrate, isn't it?

Or can I just change the limits and integrate with respect to \theta?
 
I just noticed that cosθ/(|r|^2) = (r•k)/|r|^3 so you can avoid θ altogether.

Now dE = Kρdx(r•k)/(|r|^3) k
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
26
Views
6K
  • · Replies 10 ·
Replies
10
Views
7K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
11
Views
10K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
5
Views
2K
Replies
1
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K