[Math] The chain rule with square root and $e^{3x}$

calculus

Alright so I am a little confused on how to proceed with this problem, I am supposed to find the derivative of $y= \sqrt {1+2e^{3x}}$ so I set the problem up like this $y=u^{1/2}$ $ y = 1+2e^{3x}$ but then with that I have to use the chain rule again I believe on the term $2e^{3x}$ so I am not sure how to proceed from here, so I need to use the product rule on 2 and $e^{3x}$ or do I just consider 2e as one term since it is so simple? I can't remember having to use the chain rule on just a single integer like 2 before.

Best Answer

Think of applying the Chain Rule as an analogous process to opening a Matryoshka Doll. You cannot open all the dolls at the same time; you open the outermost doll, take out the next one. Then you open the second doll, and take out the third. Then you open the third, and take out the fourth, etc.

With $$y = \sqrt{1+2e^{3x}} = (1+2e^{3x})^{1/2}$$ the "outermost doll" is the square root. To "open it", we compute the derivative. Since $\frac{d}{du}(u^{1/2}) = \frac{1}{2}u^{-1/2}$, we take the derivative and then multiply by "the next doll": $$y' = \frac{1}{2}(1+2e^{3x})^{-1/2}(1+2e^{3x})'.$$ Then we need to take the derivative of $1+2e^{3x}$. By the sum rule, this is the derivative of $1$ plus the derivative of $2+e^{3x}$: $$y' = \frac{1}{2}(1+2e^{3x})^{-/12}\left( (1)' + (2e^{3x})'\right).$$ The derivative of the constant $1$ is $0$. The derivative of $2e^{3x}$ is $(2e^{3x})' = 2(e^{3x})'$: $$y' = \frac{1}{2}(1+2e^{3x})^{-1/2}\left( 0 + 2(e^{3x})'\right).$$ Finally, the derivative of $e^{3x}$. This is itself an application of the Chain Rule. We have $$\frac{d}{du}e^{u} = e^u,$$ so $$\frac{d}{dx}e^u = e^u\frac{du}{dx}.$$ That is: $$y' = \frac{1}{2}(1+2e^{3x})^{-1/2}\left( 0 + 2\left( e^{3x}(3x)'\right)\right).$$ And $(3x)' = 3$, so in the end we have: $$\begin{align*} y'&= \frac{1}{2}(1+2e^{3x})^{-1/2}\left( 0 + 2\left(e^{3x}(3)\right)\right) \\ &= \frac{1}{2}(1+2e^{3x})^{-1/2}\left(6e^{3x}\right) \\ &= 3e^{3x}(1+2e^{3x})^{-1/2}\\ &= \frac{3e^{3x}}{\sqrt{1+2e^{3x}}}. \end{align*}$$

Related Question