How did the author arrive at this final answer in this question from Introduction to Electrodynamics, Griffiths?

90 Views Asked by At

How did the author arrive at the conclusion for $z >R$? For background information, I've included the full derivation of the solution at the bottom. I'm just stuck on that one little part though. How does $\frac{(z-R)}{|z-R|}-\frac{(-z-R)}{|z+R|}=2$??

enter image description here


Full solution for reference:

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

$$ \frac{z-R}{|z-R|}-\frac{-z-R}{|z+R|} = \frac{z-R}{|z-R|}+\frac{z+R}{|z+R|}$$

When $z>R$, $z-R$ and $z+R$ are both positive, giving two.

Similarly, it's zero when $z<R$.

The author never concluded $z>R$. He's given the answer for both cases: $z>R$ and $z<R$.