Find Taylor series of f around x=0 where
.
Well first of I derived the series expansion of .
Using that:
Is this correct? I could not make wolfram alpha show me the series expansion of f(x).
I can't see anything wrong here. If you want to be really certain, here's some options.
Integrating argtan and plugging in the appropriate limits we get:
.
You could at this point just pick some representative values of x, plug them into f(x) above, and plug them into the series you obtained (evaluated over, say, the first few thousand terms) to see if you get roughly the same values. Even better, you can plot f(x) and plot your series (again, really a truncated version of your series) to see if the plots line up.
Alternatively, we know that and . Plug these into the f(x) above and I think you'll arrive at the same answer you got.
Question does this not work for other methods, such as sin x, cos x, ln x? where you have the basic series expansion of x and you can substitute different types of x, such as x^2 assuming the series expansion you use was of a positive power not ^-x or such, ?
Yes, and you can replace x with anything you want, the only caveat being that you must update the region of convergence as well. For example:
To get the expansion for arctan(5x), for example, replace x with 5x everywhere, including the ROC:
.
So the new series converges only for .