The problem says:
If $$f(x)=\frac{b_2}{x^2}+\frac{b_3}{x^3}+...+\frac{b_m}{x^m}$$ find a function $g$ with $g' = f$.
This problem is stated in the differentiation part of the book, integration comes later.
I tried starting with a simple example and trying to find a pattern from there:
If
$$f(x)=\frac{b_2}{x^2}$$
Then we can try:
$$g(x)=-\frac{b_2}{x}$$ $$g'(x)=-b_2\left(\frac{-1}{x^2}\right) = \frac{b_2}{x^2} = f(x)$$
Then if
$$f(x)=\frac{b_2}{x^2} + \frac{b_3}{x^3}$$
I tried:
$$g(x)=-\frac{b_2}{x}-\frac{b_3}{x^{3/2}}$$ $$g'(x)=-b_2\left(\frac{-1}{x^2}\right) - b_3 \left( \frac{-\frac{3}{2}x^{1/2}}{x^3} \right) $$
Which is not what I wanted. The denominator in the second summand is ok, but the numerator is not what I need.
But I'm stuck on what I need to look for, any hints for deriving the correct pattern would be appreciated.
$$\displaystyle f(x)=\frac{b_2}{x^2}+\frac{b_3}{x^3}+...+\frac{b_m}{x^m}$$
Say $g(x)=a_1(x)+a_2(x)+...+a_{m-1}(x)$, such that $a_i'(x)$ gives the $i^{th}$ term of $f(x)$; that is,
$$\displaystyle a_i'(x)=\frac{b_{i+1}}{x^{i+1}}$$
The first term of $\displaystyle f(x)$ has an $x^2$ in the denominator. You know that when we differentiate $1/x$, we get $x^2$ in the denominator. So $a_1(x)=a/x,a_1'(x)=-a/x^2=b_2/x^2\implies a=-b_2$.
The second term of $f(x)$ has an $x^3$ in the denominator. This is one degree higher than $x^2$, so it makes sense to chose $a_2(x)$ having $x^2$ in the denominator, which is one degree higher than $x$. $a_2(x)=c/x^2,a_2'(x)=-2c/x^3=b_3/x^3\implies c=-b_3/2$.
Similarly chose $a_3(x)$ having $x^3$ in the denominator, to obtain $\displaystyle a_3(x)=-\frac{b_4}{3x^3}$.
You might be able to see the pattern: $\displaystyle a_i(x)=-\frac{b_{i+1}}{ix^i}$
$$\therefore\displaystyle g(x)=-\frac{b_2}{x}-\frac{b_3}{2x^2}-\frac{b_4}{3x^3}...-\frac{b_m}{(m-1)x^{m-1}}+c$$
We put an arbitrary constant $c$ because it vanishes on differentiation.