Suppose we have a segment of uniformly distributed charge stretching from the point ⟨0,0,0⟩ to ⟨1 m,1 m,0⟩, which has total charge Q. We also have a point P=⟨2 m,0,0⟩. Define a convenient dQ for the segment, and →r between a point on the segment to the point P. Also, give appropriate limits on an integration over dQ (you don't have to write any integrals, just give appropriate start and end points). First, do this for the given coordinate axes. Second, define a new set of coordinate axes to represent dQ and →r in a simpler way and redo.
Before we begin, we'll make an approximate to simplify our calculations:
We know how to draw dQ and →r, so we can start with an update to the representation.
It will also be helpful to see how the dimensions of dQ break down. Here is how we choose to label it:
The segment extends in the x and y directions. A simple calculation of the Pythagorean theorem tells us the total length of the segment is √2 m, so we can define the line charge density λ=Q/√2 m. When we define dl, we want it align with the segment, so we can have dl=√dx2+dy2. Since x=y along the segment, we can simplify a little bit. dl=√dx2+dx2=√2dx. Note, that we chose to express in terms of dx, instead of dy. This is completely arbitrary, and the solution would be just as valid the other way. Now, we can write an expression for dQ: dQ=λdl=√2√2 mQdx=Q1 mdx
Next, we need →r. We will put it in terms of x, not y, just as we did for dQ. A choice of y instead of x here would be valid had we chosen to express dQ in terms of dy earlier. We know →rP=⟨2 m,0,0⟩, and →rdQ=⟨x,y,0⟩. Again, x=y, so we can rewrite →rdQ=⟨x,x,0⟩. We now have enough to write →r: →r=→rP−→rdQ=⟨2 m−x,−x,0⟩
In the second set of axes, the segment extends only in the y direction. This problem is now very similar to the examples in the notes. The length of the segment is still √2 m, so we can define the line charge density λ=Q/√2 m. When we define dl, we want it align with the segment, which is much simpler this time: dl=dy. Now, we can