In mathematica we generally obtain direct result instead of step by step analytical calculation. Can we somehow obtain these steps?.
$\begingroup$
$\endgroup$
In general, no; however, WolfamAlpha -- or calling WolframAlpha with Mathematica -- can sometimes provide step-by-step solutions.
WolframAlpha["Solve[a x^2 + b x + c == 0, x]", {{"Result", 4}, "Content"},
PodStates -> {"Result__Step-by-step solution"}]
Trace
/TracePrint
do what you want? $\endgroup$ – Verbeia Mar 10 '16 at 5:27