Calculus · real student question

Differentiate y = e^(2x) * artanh(sqrt(e^x - 1)) with respect to x.

Question

Differentiate

y=e2xartanh(ex1)y=e^{2x}\operatorname{artanh}\left(\sqrt{e^{x}-1}\right)

Step-by-step solution

  1. Establish the domain before differentiating. The square root needs ex10e^{x}-1\ge 0, i.e. x0x\ge 0, and artanh(z)\operatorname{artanh}(z) needs z<1|z|<1, i.e. ex1<1e^{x}-1<1, i.e. x<ln2x<\ln 2. So the function only exists on

    0x<ln20.6930\le x<\ln 2\approx 0.693

    Knowing this explains the factor 2ex2-e^{x} that appears later and why it never changes sign.

  2. Set up the product rule. With u=e2xu=e^{2x} and v=artanh(ex1)v=\operatorname{artanh}\left(\sqrt{e^{x}-1}\right),

    y=uv+uv,u=2e2xy'=u' v+uv',\qquad u'=2e^{2x}

    The hard half is vv', a two-layer composition.

  3. Differentiate the inner square root. With z=(ex1)1/2z=\left(e^{x}-1\right)^{1/2}, the chain rule gives

    z=12(ex1)1/2ex=ex2ex1z'=\frac12\left(e^{x}-1\right)^{-1/2}\cdot e^{x}=\frac{e^{x}}{2\sqrt{e^{x}-1}}

  4. Apply the artanh derivative and simplify 1z21-z^{2}. Since ddzartanhz=11z2\dfrac{d}{dz}\operatorname{artanh}z=\dfrac{1}{1-z^{2}} and here z2=ex1z^{2}=e^{x}-1 exactly,

    1z2=1(ex1)=2ex1-z^{2}=1-\left(e^{x}-1\right)=2-e^{x}

    The square root disappears from this factor entirely — a genuine simplification, and the reason the answer stays readable. Note 2ex>02-e^{x}>0 precisely on the domain found in step 1.

  5. Assemble vv' and then yy'.

    v=ex2ex1(2ex)v'=\frac{e^{x}}{2\sqrt{e^{x}-1}\left(2-e^{x}\right)}

    y=2e2xartanh(ex1)+e2xex2ex1(2ex)=2e2xartanh(ex1)+e3x2ex1(2ex)y'=2e^{2x}\operatorname{artanh}\left(\sqrt{e^{x}-1}\right)+\frac{e^{2x}\cdot e^{x}}{2\sqrt{e^{x}-1}\left(2-e^{x}\right)}=2e^{2x}\operatorname{artanh}\left(\sqrt{e^{x}-1}\right)+\frac{e^{3x}}{2\sqrt{e^{x}-1}\left(2-e^{x}\right)}

  6. Check numerically inside the domain. At x=0.5x=0.5 a central difference of the original function gives 13.975824113.9758241, and the formula gives 13.975824113.9758241 ✓; at x=0.6x=0.6 both give 28.772486528.7724865 ✓. The derivative blows up at both ends of the domain, as the factors ex10\sqrt{e^{x}-1}\to 0 and 2ex02-e^{x}\to 0 predict.

Answer

y=2e2xartanh(ex1)+e3x2ex1(2ex)y\,\prime=2e^{2x}\operatorname{artanh}\left(\sqrt{e^{x}-1}\right)+\frac{e^{3x}}{2\sqrt{e^{x}-1}\left(2-e^{x}\right)}

Need to solve a different problem like this? Open the solver →