tan (1+x)

solve(tan(x + 1), x)

diff(tan(x + 1), x)

series(tan(x + 1), x, 0, 10)

Need more control? Try SymPy Live.