I've found an application for windows (unfortunately) Universal Math Solver. I'm not allowed to post links but you can google it easily.
It not only shows answers but also shows steps in solving the problem. I didn't tried it but it looks like it is a great tool for kids to learn maths.
I wonder if there is anything similar for Linux?