First of all, I know how to correctly solve the question and get the answer which is $2xe^{x^2}$.
I wanted to ask why this approach is giving wrong results.
- Let $x^2 = t$.
- Then, $2xdx = dt$.
- Which means $dx = \frac{dt}{2x} \implies dx = \frac{dt}{2t^{1/2}}$.
- Then original equation becomes $d(e^{x^2})/dx \implies d(e^t)\cdot2\cdot(t^{1/2})/dt$
- This differentiation gives result as: $\frac{(2t+1)e^t}{2t^{1/2}}$.
- Which when translated in $x$ gives $\frac{(2x^2+1)e^{x^2}}{2x}$
Why is this wrong? $\frac{(2x^2+1)e^{x^2}}{2x}$.
You have misapplied the chain rule.
Start with $e^{x^2}$
Make the substitution. $x^2 = t$
$e^t$
Do not apply $\frac {dt}{dx}$ until you have differentiated.
$\frac {d}{dx} e^{x^2} = \frac {d}{dt} e^t \frac {dt}{dx}\\ 2x e^{x^2} = (e^t)(2t^\frac 12)$