This is actually a technical question about why I'm getting different results when trying to do the same thing using Maxima and WolframAlpha.
When I enter
expand arctan(x)
in WolframAlpha I get
$$x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\frac{x^9}{9}+O(x^{10})$$
This is what I enter into maxima to get the 5th degree expansion for example
ff:taylor(arctan(x),x,0,5);
The result is littered with terms containing derivative symbols, unlike the nice-looking polynomial WolframAlpha returns.
My question is how to get Maxima to evaluate the expansion at the point 0 and return the first polynomial?
Maxima uses that name
atan, not arctan. Thustaylor(atan(x), x, 0, 9)will give you the same result as Wolfram Alpha. When you use arctan, Maxima simply returns the generic Taylor expansion of an unknown function, hence all the derivatives.You can execute
alias(arctan, atan), if you wish to use the arctan as an alias to the built-in atan.