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

Exercise 5.4 · Q3: Differentiate ex3e^{x^3}

Exercise 5.4Chain rule with eˣ · Section 5.4
The question

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

ex3e^{x^3}
Exam answer

Let y=ex3y = e^{x^3}⁠. By the chain rule,

dydx=ex3⋅ddx(x3)\frac{dy}{dx} = e^{x^3}\cdot\frac{d}{dx}(x^3)

∴ dydx=3x2ex3\therefore\ \dfrac{dy}{dx} = 3x^2e^{x^3}⁠.

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

The one idea this problem is built on

ex3e^{x^3} means ee raised to the power x3x^3 (first cube xx⁠, then exponentiate). It is a composite: outer function ete^t⁠, inner function t=x3t = x^3⁠. The chain rule says: the outer derivative (ete^t⁠, unchanged) evaluated at the inner function, times the inner derivative 3x23x^2⁠.

Given, to find, and the plan
Given
y=ex3y = e^{x^3}⁠.
To find
dydx\dfrac{dy}{dx}⁠, and where it is valid.
Plan
(1) Domain. (2) Name inner t=x3t = x^3 and outer y=ety = e^t⁠; differentiate each. (3) Multiply and write in terms of xx⁠.

Basics you need

1Reading a tower of powers

ex3e^{x^3} is e(x3)e^{(x^3)}⁠: the exponent is x3x^3⁠. It is not (ex)3(e^x)^3⁠, which equals e3xe^{3x}⁠. For example at x=2x = 2⁠: ex3=e8e^{x^3} = e^8 but (ex)3=e6(e^x)^3 = e^6⁠. Basics: exponentials and logarithms

2Theorem 5 (1) and the power rule

ddtet=et\dfrac{d}{dt}e^t = e^t (Section 5.4) and ddxx3=3x2\dfrac{d}{dx}x^3 = 3x^2 (Table 5.3). Basics: derivative rules

3Chain rule

If y=f(t)y = f(t) and t=g(x)t = g(x)⁠, then dydx=dydt⋅dtdx\dfrac{dy}{dx} = \dfrac{dy}{dt}\cdot\dfrac{dt}{dx} (Theorem 4). Basics: composite functions

Solution

  1. Where is the function defined?

    x3x^3 is defined for every real xx⁠, and ete^t is defined for every real tt⁠. So y=ex3y = e^{x^3} is defined for all x∈Rx \in \R⁠, and its values are all positive.

    There is no division, no logarithm and no root here, so there is nothing to exclude. Both links are also differentiable everywhere, so we expect a derivative at every real xx⁠.
    Domain of the exponential function is R\R⁠, range the positive reals (Section 5.4). Basics: exponentials and logarithms
  2. Name the inner and outer functions, and differentiate each

    Inner: t=x3t = x^3⁠. Outer: y=ety = e^t⁠.

    dtdx=3x2,dydt=et.\frac{dt}{dx} = 3x^2, \qquad \frac{dy}{dt} = e^t.
    To compute ex3e^{x^3} on a calculator you cube xx first and then press exe^x⁠: the job done first is the inner function. The inner derivative is the power rule with n=3n = 3⁠; the outer derivative is Theorem 5 (1) written in the letter tt⁠.
    Power rule (Table 5.3) and Theorem 5 (1), Section 5.4. Lesson: exponential and logarithmic functions
  3. Multiply (chain rule) and substitute back

    dydx=dydt⋅dtdx=et⋅3x2=3x2ex3,x∈R.\begin{aligned} \frac{dy}{dx} &= \frac{dy}{dt}\cdot\frac{dt}{dx} = e^t\cdot 3x^2 \\ &= 3x^2 e^{x^3}, \qquad x \in \R. \end{aligned}
    The outer derivative ete^t is evaluated at the inner value t=x3t = x^3⁠, which gives back ex3e^{x^3}⁠. The factor 3x23x^2 is never negative, and ex3>0e^{x^3} > 0⁠, so the derivative is ≥0\ge 0 everywhere. (That this makes the function increasing is a result of Chapter 6, Section 6.3; here it simply agrees with x3x^3⁠, and so ex3e^{x^3}⁠, growing with xx⁠.) It is 00 only at x=0x = 0⁠, where the graph is momentarily flat.
    Chain rule, Theorem 4, Section 5.3.1. Lesson: the chain rule
Result ddx ex3=3x2ex3,\frac{d}{dx}\,e^{x^3} = 3x^2 e^{x^3},

valid for every real xx⁠. (Textbook answer: 3x2ex33x^2 e^{x^3}⁠. The same.)

Check it with numbers

At x=1x = 1 the formula gives 3⋅12⋅e1=3e≈8.15484553\cdot 1^2\cdot e^{1} = 3e \approx 8.1548455⁠. A difference quotient of ex3e^{x^3} with h=0.0001h = 0.0001 on each side of 11 gives 8.154858.15485⁠. They agree. (The wrong reading (ex)3=e3x(e^x)^3 = e^{3x} has derivative 3e3x3e^{3x}⁠, which at x=1x = 1 is about 60.2660.26⁠: very different.)

Common mistakes
  1. Answering ex3e^{x^3}⁠. The exponential copies itself only when the exponent is plain xx⁠. With exponent x3x^3 the chain rule adds the factor 3x23x^2⁠.
  2. Treating ex3e^{x^3} as (ex)3(e^x)^3⁠. That is e3xe^{3x}⁠, a different function.
  3. Using the power rule on ee⁠. ex3e^{x^3} is not "x3x^3 times something to a power"; writing x3ex3−1x^3 e^{x^3 - 1} mixes up the base and the exponent.
What to take away
  1. ddxeg(x)=g′(x) eg(x)\dfrac{d}{dx}e^{g(x)} = g'(x)\,e^{g(x)}⁠: copy the exponential, then multiply by the derivative of its exponent.
  2. Read stacked exponents from the top down: ex3=e(x3)e^{x^3} = e^{(x^3)}⁠.

Every fact used, and where it comes from

FactUsed inSource
Exponential function: domain R\R⁠, positive valuesStep 1Features (1), (2) of exponential functions, Section 5.4
ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}Step 2Table 5.3, Section 5.3
ddtet=et\frac{d}{dt}e^t = e^tStep 2Theorem 5 (1), Section 5.4 (Lesson: exponential and logarithmic functions)
Chain ruleStep 3Theorem 4, Section 5.3.1
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 →