simplify (cos (x)*cos (y)-sin (x)*sin (y))
solve(cos(x + y), x)
diff(cos(x + y), x)
series(cos(x + y), x, 0, 10)
Need more control? Try SymPy Live.