I am new to Mathematica and I have started using it to help teach myself elementary calculus. I do the problems by hand and then use Mathematica to confirm my answers. This approach worked well with derivatives, but I have noticed that when I use Mathematica to compute simple integrals the output rarely (if ever) matches what I compute by hand with paper and pencil. Even when I use tools like Simplify[] or FullSimplify[] it often doesn’t help me. I know there is nothing wrong with the software, but rather something is lacking in my own understanding of what the software is doing or how I am using it. I’m hoping someone can help me understand what I am doing wrong.
As an example, Mathematica computes the following simple integral:
Ok, I think I get it. I now see that Mathematica’s output was correct. The answer I thought Mathematica should output (including the +1/3 term) would have been incorrect as it only represents one possible antiderivative when there can be infinitely many.
As a matter of fact, the 1/3 term is not an incorrect one, but an incomplete one. Besides the function “Integrate”, you can also use “DSolve” to show that constant term which is