I am having this equation: $$ \frac{1}{x-a_1} + \frac{1}{x-a_2} + \cdots + \frac{1}{x-a_n}=0 $$ where $a_1 < a_2 < \cdots < a_n$ are real numbers.
Now I want to prove with the intermediate value theorem that this equation has $n-1$ solutions in the real numbers.
My thoughts:
With $a_1 < a_2 < \cdots< a_n $, you can see that every summand gets smaller than the summand before.
My other thought was that about the $n$-summands, with the intermediate value theorem you know that every zero (point) is in the interval and is located between the $n$-summands. So there are $n-1$ solutions for this equation!
Questions:
How can I prove my thoughts in a formal correct way? (Are my thoughts generally correct?)