Class 12 Maths, Worked in Full Past papersGet updates
Chapter 5 · Continuity and Differentiability

Exercise 5.4 · Q7: Differentiate ex\sqrt{e^{\sqrt x}}⁠, x>0x>0

Exercise 5.4Chain rule with three links · Section 5.4
The question

Differentiate the following w.r.t. xx⁠:

ex,x>0\sqrt{e^{\sqrt{x}}}, \qquad x > 0
Exam answer

Let y=exy = \sqrt{e^{\sqrt x}}⁠. By the chain rule,

dydx=12ex⋅ddx(ex)=12ex⋅ex⋅12x\begin{aligned} \frac{dy}{dx} &= \frac{1}{2\sqrt{e^{\sqrt x}}}\cdot\frac{d}{dx}\left(e^{\sqrt x}\right) \\ &= \frac{1}{2\sqrt{e^{\sqrt x}}}\cdot e^{\sqrt x}\cdot\frac{1}{2\sqrt x} \end{aligned}

∴ dydx=ex4xex\therefore\ \dfrac{dy}{dx} = \dfrac{e^{\sqrt x}}{4\sqrt{xe^{\sqrt x}}} (x>0)(x > 0)⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Three functions are applied in turn: square root, exponential, square root again. The chain rule for three links multiplies their three rates. An index law also lets us rewrite the function as the simpler ex/2e^{\sqrt{x}/2}⁠, which gives a second, independent route to the same answer and shows that the textbook's form and the simplified form agree.

Given, to find, and the plan
Given
y=exy = \sqrt{e^{\sqrt{x}}}⁠, x>0x > 0⁠.
To find
dydx\dfrac{dy}{dx}⁠.
Plan
(1) Domain, and why the question says x>0x > 0⁠. (2) Name the links u=xu = \sqrt x⁠, v=euv = e^u⁠, y=vy = \sqrt v and differentiate each. (3) Multiply. (4) Simplify, and check by differentiating y=ex/2y = e^{\sqrt x/2} directly.

Basics you need

1Derivative of a square root

x=x1/2\sqrt{x} = x^{1/2}⁠, so ddxx=12x\dfrac{d}{dx}\sqrt{x} = \dfrac{1}{2\sqrt{x}} for x>0x > 0 (power rule, Table 5.3). At 00 this has a zero denominator. Basics: derivative rules

2Theorem 5 (1)

ddueu=eu\dfrac{d}{du}e^u = e^u for every real uu⁠, and eu>0e^u > 0 always. Basics: exponentials and logarithms

3Index laws

ea=(ea)1/2=ea/2\sqrt{e^a} = \left(e^a\right)^{1/2} = e^{a/2}⁠, and p q=pq\sqrt{p}\,\sqrt{q} = \sqrt{pq} for p,q≥0p, q \ge 0⁠. Basics: exponentials and logarithms

4Chain rule for three functions

dydx=dydv⋅dvdu⋅dudx\dfrac{dy}{dx} = \dfrac{dy}{dv}\cdot\dfrac{dv}{du}\cdot\dfrac{du}{dx} (Section 5.3.1). Basics: composite functions

Solution

  1. Where is the function defined, and why x>0x > 0⁠?

    x\sqrt{x} needs x≥0x \ge 0⁠. Then exe^{\sqrt x} is always positive, so the outer square root is always defined. So yy is defined for x≥0x \ge 0⁠, with y(0)=e0=1y(0) = \sqrt{e^0} = 1⁠. The question restricts to x>0x > 0 because yy has no derivative at 00 (proved in Step 5); the source of the trouble is the innermost link x\sqrt x⁠, which has no derivative at 00⁠.

    Each square root needs a non-negative input. The outer one is safe automatically, since an exponential is never negative. The restriction x>0x > 0 is there for the derivative, not for the function: Step 3 will have x\sqrt{x} in a denominator.
    Range of the exponential function is the positive reals (Section 5.4). Basics: exponentials and logarithms
  2. Name the three links and differentiate each

    u=xu = \sqrt{x}⁠,  v=eu\ v = e^u⁠,  y=v\ y = \sqrt{v}⁠.

    dudx=12x(x>0),dvdu=eu,dydv=12v(v>0).\begin{aligned} \frac{du}{dx} &= \frac{1}{2\sqrt{x}} \quad (x > 0), \\ \frac{dv}{du} &= e^u, \\ \frac{dy}{dv} &= \frac{1}{2\sqrt{v}} \quad (v > 0). \end{aligned}
    The links are in calculation order: take x\sqrt{x}⁠, raise ee to it, take the square root of the result. The two square-root links both use the power rule with n=12n = \frac12⁠; the middle link is Theorem 5. Since v=ex>0v = e^{\sqrt x} > 0⁠, the outer link is always differentiable; only the inner link needs x>0x > 0⁠.
    Power rule (Table 5.3) and Theorem 5 (1), Section 5.4. Basics: derivative rules
  3. Multiply (chain rule) and substitute back

    dydx=12v⋅eu⋅12x=ex4x ex=ex4x ex,x>0.\begin{aligned} \frac{dy}{dx} &= \frac{1}{2\sqrt{v}}\cdot e^u\cdot\frac{1}{2\sqrt{x}} \\ &= \frac{e^{\sqrt{x}}}{4\sqrt{x}\,\sqrt{e^{\sqrt{x}}}} \\ &= \frac{e^{\sqrt{x}}}{4\sqrt{x\,e^{\sqrt{x}}}}, \qquad x > 0. \end{aligned}
    Each rate is evaluated at the value entering its link: the outer root sees v=exv = e^{\sqrt x}⁠, the exponential sees u=xu = \sqrt x⁠. In the last line the two square roots are combined using pq=pq\sqrt{p}\sqrt{q} = \sqrt{pq}⁠, allowed because x>0x > 0 and ex>0e^{\sqrt x} > 0⁠. This last line is exactly the textbook's form.
    Chain rule for three functions, Section 5.3.1. Lesson: the chain rule
  4. Simplify, and check by a second route

    Since ex=ex/2\sqrt{e^{\sqrt x}} = e^{\sqrt{x}/2}⁠, the middle line of Step 3 simplifies:

    ex4x  ex/2=ex/24x.\frac{e^{\sqrt{x}}}{4\sqrt{x}\;e^{\sqrt{x}/2}} = \frac{e^{\sqrt{x}/2}}{4\sqrt{x}}.

    Second route: y=ex/2y = e^{\sqrt{x}/2} is a two-link chain with inner t=x2t = \frac{\sqrt x}{2}⁠, dtdx=14x\frac{dt}{dx} = \frac{1}{4\sqrt x}⁠. So

    dydx=ex/2⋅14x=ex/24x.\frac{dy}{dx} = e^{\sqrt{x}/2}\cdot\frac{1}{4\sqrt{x}} = \frac{e^{\sqrt{x}/2}}{4\sqrt{x}}.

    The two routes agree.

    exe^{\sqrt x} divided by ex/2e^{\sqrt x/2} is ex−x/2=ex/2e^{\sqrt x - \sqrt x/2} = e^{\sqrt x/2} (index law for division). Rewriting the function first is usually the quicker way; doing it both ways shows the two forms are the same function and catches slips.
    Index laws (ea)1/2=ea/2(e^a)^{1/2} = e^{a/2} and ea/eb=ea−be^a/e^b = e^{a-b}⁠. Basics: exponentials and logarithms
  5. Why not at x=0x = 0⁠?

    The function is defined at 00⁠, but it has no derivative there. Only the right-hand side is available, since the domain starts at 00⁠. The right-hand difference quotient is eh/2−1h\dfrac{e^{\sqrt{h}/2} - 1}{h} for h>0h > 0⁠. Using es≥1+se^s \ge 1 + s with s=h2s = \frac{\sqrt h}{2}⁠, it is at least h/2h=12h\dfrac{\sqrt{h}/2}{h} = \dfrac{1}{2\sqrt{h}}⁠, which grows without bound as h→0+h \to 0^+⁠. So there is no finite limit, and no derivative at 00⁠.

    This is why the question says x>0x > 0⁠. The graph of yy leaves the point (0,1)(0, 1) with a vertical tangent, just as x\sqrt{x} does. The inequality es≥1+se^s \ge 1 + s for s≥0s \ge 0 (the graph of ese^s lies on or above its tangent line 1+s1 + s at s=0s = 0⁠) is not proved in Chapter 5; it follows from Theorem 1 of Section 6.3 in Chapter 6, applied to g(s)=es−1−sg(s) = e^s - 1 - s⁠, whose derivative es−1e^s - 1 is positive for s>0s > 0⁠, so g(s)≥g(0)=0g(s) \ge g(0) = 0⁠.
    Differentiable at a point means the difference quotient has a finite limit (Section 5.3). Lesson: differentiability
Result

For x>0x > 0⁠,

dydx=ex4x ex=ex/24x.\begin{aligned} \frac{dy}{dx} &= \frac{e^{\sqrt{x}}}{4\sqrt{x\,e^{\sqrt{x}}}} \\ &= \frac{e^{\sqrt{x}/2}}{4\sqrt{x}}. \end{aligned}

(Textbook answer: ex4xex\dfrac{e^{\sqrt x}}{4\sqrt{xe^{\sqrt x}}}⁠, x>0x > 0⁠. The same as our first form; Step 4 turns it into the second.)

Check it with numbers

Take x=4x = 4⁠: 4=2\sqrt{4} = 2⁠. The textbook form gives e244e2=e28e=e8\dfrac{e^2}{4\sqrt{4e^2}} = \dfrac{e^2}{8e} = \dfrac{e}{8}⁠; the simplified form gives e14⋅2=e8\dfrac{e^1}{4\cdot 2} = \dfrac{e}{8}⁠. Both are about 0.33978520.3397852⁠. A difference quotient of ex\sqrt{e^{\sqrt x}} with h=0.0001h = 0.0001 on each side of 44 gives 0.339790.33979⁠. They agree.

Common mistakes
  1. Missing a link. Two of the three links are square roots, and each contributes a factor 12\frac12⁠; these two halves give the 44 in the denominator. The exponential link contributes the factor exe^{\sqrt x}⁠.
  2. Evaluating the outer rate at xx⁠. The outer root's rate is 12v\frac{1}{2\sqrt{v}} with v=exv = e^{\sqrt x}⁠, not 12x\frac{1}{2\sqrt x}⁠.
  3. Claiming a derivative at x=0x = 0⁠. The formula has x\sqrt{x} in the denominator, and the function really has a vertical tangent there.
What to take away
  1. Before differentiating, look for an index law that shortens the chain: ea=ea/2\sqrt{e^{a}} = e^{a/2}⁠.
  2. Answers that look different may be equal; show it by simplifying one into the other.

Every fact used, and where it comes from

FactUsed inSource
eu>0e^u > 0 for all uuSteps 1, 2Feature (2) of exponential functions, Section 5.4
ddxx=12x\frac{d}{dx}\sqrt{x} = \frac{1}{2\sqrt x}⁠, x>0x > 0Step 2Power rule, Table 5.3
ddueu=eu\frac{d}{du}e^u = e^uSteps 2, 4Theorem 5 (1), Section 5.4 (Lesson: exponential and logarithmic functions)
Chain rule for three functionsStep 3Extension after Theorem 4, Section 5.3.1
pq=pq\sqrt{p}\sqrt{q} = \sqrt{pq}⁠, (ea)1/2=ea/2(e^a)^{1/2} = e^{a/2}⁠, ea/eb=ea−be^a/e^b = e^{a-b}Steps 3, 4Laws of indices (Class IX and XI)
Differentiable means a finite limit of the difference quotientStep 5Definition of differentiability, Section 5.3
es≥1+se^{s} \ge 1 + s for s≥0s \ge 0Step 5Not proved in Chapter 5. It follows from Theorem 1 of Section 6.3 (Chapter 6) applied to g(s)=es−1−sg(s) = e^s - 1 - s
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →