sum works on double......it add the given numbers across specified dimension. symsum works on symbolic variables.