Mark M. answered 05/07/21
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
Notice that f'(x) = g(x)
So, find the power series for f(x) and then differentiate it term by term.
1/ (1+x) = 1/(1-(-x)) is the sum of the geometric series ∑(n=0 to infinity)(-x)n =
1 - x + x2 - x3 + ...
So, g(x) = f'(x) = -1 + 2x - 3x2 + ... = ∑(n=1 to infinity)(-1)nnxn-1