Ask Your Question

saad's profile - activity

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

Thanks! This is what I needed.

2016-03-11 12:55:16 +0100 received badge  Student (source)
2016-03-11 12:54:07 +0100 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?