Suppose we have a segment of uniformly distributed charge stretching from the point to , which has total charge . We also have a point . Define a convenient for the segment, and between a point on the segment to the point . Also, give appropriate limits on an integration over (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 and in a simpler way and redo.
Before we begin, we'll make an approximate to simplify our calculations:
We know how to draw and , so we can start with an update to the representation.
It will also be helpful to see how the dimensions of break down. Here is how we choose to label it:
The segment extends in the and directions. A simple calculation of the Pythagorean theorem tells us the total length of the segment is , so we can define the line charge density . When we define , we want it align with the segment, so we can have . Since along the segment, we can simplify a little bit. . Note, that we chose to express in terms of , instead of . This is completely arbitrary, and the solution would be just as valid the other way. Now, we can write an expression for :
Next, we need . We will put it in terms of , not , just as we did for . A choice of instead of here would be valid had we chosen to express in terms of earlier. We know , and . Again, , so we can rewrite . We now have enough to write :
In the second set of axes, the segment extends only in the direction. This problem is now very similar to the examples in the notes. The length of the segment is still , so we can define the line charge density . When we define , we want it align with the segment, which is much simpler this time: . Now, we can