Ask Your Question

saad's profile - activity

2016-03-12 04:25:56 -0600 received badge  Nice Question (source)
2016-03-12 01:32:09 -0600 received badge  Scholar (source)
2016-03-12 01:32:01 -0600 commented answer Observation regarding integration with different algorithms

Thanks! This is what I needed.

2016-03-11 05:55:16 -0600 received badge  Student (source)
2016-03-11 05:54:07 -0600 asked a question Observation regarding integration with different algorithms

I was going through some basic tutorials and noticed this interesting behavior.

integrate(exp(x)*sin(x) + exp(x)*cos(x), x)

with algorithm='maxima' gives

1/2*(cos(x) + sin(x))*e^x - 1/2*(cos(x) - sin(x))*e^x

rather than the simplified

e^x*sin(x)

given by algorithm='sympy'. It is the same when I use maxima or sympy by itself. Why is that? Why is maxima not simplifying the expression?