This is an example in my physics textbook, and there is just one step that I don't understand.
Two point charges are located on the x-axis, $q_1 = -e$ at $x = 0$ and $q_2 = +e$ at $x=a$. Find the work that must be done by an external force to bring a third point charge $q_3 = +e$ from infinity to $x=2a$.
So I understand that $W_{a\rightarrow b} = U_a-U_b$ is the equation we will use to solve the problem, where $U$ at point $a$ is $$U_a = \frac{q_0}{4\pi \epsilon_0}\cdot (\frac{q_1}{r_1}+\frac{q_2}{r_2}+\frac{q_3}{r_3}+\cdots)$$ So all we need to compute is $U_a$, or the potential energy when the third point is infinitely far away, and $U_b$, when it is at position $x=2a$. I understand that $U_a = 0$, but the textbook says that, from this, we conclude that $W=U$, and they determine the answer $W$ by effectively computing $U_b$. My question is: why is it not $-U_b$, if the equation is $W=U_a-U_b$ and $U_a = 0$?