Stuck on this? Solve it with AI
Calculus · real student question

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

Question

Differentiate

y=e2xartanh⁡(ex−1)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 ex−1≥0e^{x}-1\ge 0, i.e. x≥0x\ge 0, and artanh⁡(z)\operatorname{artanh}(z) needs ∣z∣<1|z|<1, i.e. ex−1<1e^{x}-1<1, i.e. x<ln⁡2x<\ln 2. So the function only exists on

    0≤x<ln⁡2≈0.6930\le x<\ln 2\approx 0.693

    Knowing this explains the factor 2−ex2-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⁡(ex−1)v=\operatorname{artanh}\left(\sqrt{e^{x}-1}\right),

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

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

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

    z′=12(ex−1)−1/2⋅ex=ex2ex−1z'=\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 1−z21-z^{2}. Since ddzartanh⁡z=11−z2\dfrac{d}{dz}\operatorname{artanh}z=\dfrac{1}{1-z^{2}} and here z2=ex−1z^{2}=e^{x}-1 exactly,

    1−z2=1−(ex−1)=2−ex1-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 2−ex>02-e^{x}>0 precisely on the domain found in step 1.

  5. Assemble v′v' and then y′y'.

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

    y′=2e2xartanh⁡(ex−1)+e2x⋅ex2ex−1(2−ex)=2e2xartanh⁡(ex−1)+e3x2ex−1(2−ex)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 ex−1→0\sqrt{e^{x}-1}\to 0 and 2−ex→02-e^{x}\to 0 predict.

Answer

y ′=2e2xartanh⁡(ex−1)+e3x2ex−1(2−ex)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 →