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

Example 42: dydx\frac{dy}{dx} when y=at+1/ty = a^{t+1/t} and x=(t+1t)ax = \left(t+\frac1t\right)^a

ExamplesParametric differentiation · Miscellaneous Examples
The question

For a positive constant aa find dydx\dfrac{dy}{dx}⁠, where

y=at+1t,andx=(t+1t)a.y = a^{t + \frac1t}, \quad\text{and}\quad x = \left(t + \frac1t\right)^{a}.
Exam answer

Here y=at+1ty = a^{t + \frac1t}⁠, x=(t+1t)ax = \left(t + \frac1t\right)^a⁠, t>0t > 0⁠.

Differentiating w.r.t. tt (chain rule),

dydt=at+1tlog⁡a⋅(1−1t2)dxdt=a(t+1t)a−1(1−1t2)\begin{aligned} \frac{dy}{dt} &= a^{t + \frac1t}\log a\cdot\left(1 - \frac{1}{t^2}\right) \\ \frac{dx}{dt} &= a\left(t + \frac1t\right)^{a-1}\left(1 - \frac{1}{t^2}\right) \end{aligned}

For t≠1t \ne 1⁠, 1−1t2≠01 - \frac{1}{t^2} \ne 0⁠, and

dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt}

∴ dydx=at+1tlog⁡aa(t+1t)a−1\therefore\ \dfrac{dy}{dx} = \dfrac{a^{t + \dfrac1t}\log a}{a\left(t + \dfrac1t\right)^{a-1}} (t>0, t≠1)(t > 0,\ t \ne 1)⁠.

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

The one idea this problem is built on

Both xx and yy are given in terms of a third variable tt⁠, a parameter. We do not need yy as a formula in xx⁠: the chain rule gives dydx=dy/dtdx/dt\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt} wherever dxdt≠0\dfrac{dx}{dt} \ne 0⁠. The two tt-derivatives are a contrast worth noticing: in yy the base is constant and the exponent varies (an exponential), while in xx the exponent is constant and the base varies (a power).

Given, to find, and the plan
Given
y=at+1/ty = a^{t+1/t}⁠, x=(t+1t)ax = (t + \frac1t)^a⁠, with a>0a > 0 a constant.
To find
dydx\dfrac{dy}{dx}⁠, and the values of tt for which it is valid.
Plan
Find where both are defined. Put s=t+1ts = t + \frac1t⁠. Compute dydt\frac{dy}{dt} (exponential rule plus chain rule) and dxdt\frac{dx}{dt} (power rule plus chain rule). Find where dxdt=0\frac{dx}{dt} = 0⁠. Divide. Check by eliminating tt⁠.

Basics you need

1Parametric differentiation

If x=f(t)x = f(t) and y=g(t)y = g(t)⁠, then dydx=dy/dtdx/dt\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}⁠, provided dxdt≠0\dfrac{dx}{dt} \ne 0 (Section 5.6). Lesson: parametric differentiation

2Exponential with a constant base

dds(as)=aslog⁡a\frac{d}{ds}(a^s) = a^s\log a for a constant a>0a > 0 (Example 28, Section 5.5). Basics: exponentials and logarithms

3Power with a constant exponent

dds(sa)=asa−1\frac{d}{ds}(s^a) = a s^{a-1} for s>0s > 0 and any real constant aa⁠. (For s>0s > 0⁠, sa=ealog⁡ss^a = e^{a\log s}⁠, whose derivative is ealog⁡s⋅as=asa−1e^{a\log s}\cdot\frac{a}{s} = a s^{a-1}⁠.) Basics: derivative rules

4The chain rule

Both yy and xx are functions of s=t+1ts = t + \frac1t⁠, which is a function of tt (Theorem 4, Section 5.3.1). Lesson: the chain rule

Solution

  1. Where are xx and yy defined?

    y=at+1/ty = a^{t+1/t} is defined for every t≠0t \ne 0⁠, since a>0a > 0⁠. For x=sax = s^a with s=t+1ts = t + \frac1t and a general real exponent aa⁠, we need the base s>0s > 0⁠. Now

    t+1t=t2+1t,t + \frac1t = \frac{t^2+1}{t},

    which has the sign of tt⁠. So we work with t>0t > 0⁠, where s≥2s \ge 2 (because t+1t−2=(t−1)2t≥0t + \frac1t - 2 = \frac{(t-1)^2}{t} \ge 0⁠).

    The textbook says both are defined for all real t≠0t \ne 0⁠. That is true for yy⁠, and for xx when aa is a whole number (any whole-number power of a negative number exists). But a power such as (−2)1/2(-2)^{1/2} is not a real number, so for a general positive aa we need t>0t > 0⁠. When aa is a whole number, the same calculation below also works for t<0t < 0⁠.
    A real power sas^a with arbitrary real aa is defined for s>0s > 0 as ealog⁡se^{a\log s}⁠. Basics: exponentials and logarithms
  2. Name the common inner function

    s=t+1t=t+t−1,dsdt=1−t−2=1−1t2.\begin{aligned} s &= t + \frac1t = t + t^{-1}, \\ \frac{ds}{dt} &= 1 - t^{-2} = 1 - \frac{1}{t^2}. \end{aligned}

    Then y=asy = a^s and x=sax = s^a⁠.

    Both xx and yy are built from the same expression t+1tt + \frac1t⁠. Naming it once means we differentiate it once and use it in both chain rules.
    Power rule: (t−1)′=−t−2(t^{-1})' = -t^{-2}⁠. Basics: derivative rules
  3. Find dydt\frac{dy}{dt}

    Outer function asa^s (constant base), inner function ss⁠:

    dydt=aslog⁡a⋅dsdt=at+1t(1−1t2)log⁡a.\begin{aligned} \frac{dy}{dt} &= a^s\log a\cdot\frac{ds}{dt} \\ &= a^{t+\frac1t}\left(1 - \frac{1}{t^2}\right)\log a. \end{aligned}
    The base aa is fixed and the exponent varies, so this is an exponential function of ss⁠: its derivative is itself times log⁡a\log a⁠. The chain rule then multiplies by dsdt\frac{ds}{dt}⁠.
    (as)′=aslog⁡a(a^s)' = a^s\log a (Example 28); chain rule (Theorem 4). Example 28
  4. Find dxdt\frac{dx}{dt}

    Outer function sas^a (constant exponent), inner function ss⁠, with s>0s > 0⁠:

    dxdt=asa−1⋅dsdt=a(t+1t)a−1(1−1t2).\begin{aligned} \frac{dx}{dt} &= a s^{a-1}\cdot\frac{ds}{dt} \\ &= a\left(t + \frac1t\right)^{a-1}\left(1 - \frac{1}{t^2}\right). \end{aligned}
    Here the exponent aa is fixed and the base varies, so the power rule applies: bring the exponent down and lower it by one. Mixing up the two rules (Step 3 and this step) is the main trap in this example.
    Power rule for a real exponent and positive base (Basic 3). Basics: derivative rules
  5. Where is dxdt≠0\frac{dx}{dt} \ne 0⁠?

    In dxdt\frac{dx}{dt}⁠, the factors aa and (t+1t)a−1(t + \frac1t)^{a-1} are positive. So dxdt=0\frac{dx}{dt} = 0 exactly when 1−1t2=01 - \frac{1}{t^2} = 0⁠, that is t2=1t^2 = 1⁠, that is t=±1t = \pm 1⁠. For t>0t > 0 the only excluded value is t=1t = 1⁠.

    The parametric formula divides by dxdt\frac{dx}{dt}⁠, so we must remove every tt that makes it zero. The textbook's "dxdt≠0\frac{dx}{dt} \ne 0 only if t≠±1t \ne \pm1" means: dxdt\frac{dx}{dt} is non-zero exactly when t≠±1t \ne \pm 1⁠.
    A product is zero only if one of its factors is zero; a positive number to any real power is positive.
  6. Divide, and cancel the common factor

    For t>0t > 0⁠, t≠1t \ne 1⁠:

    dydx=dy/dtdx/dt=at+1t(1−1t2)log⁡aa(t+1t)a−1(1−1t2)=at+1tlog⁡aa(t+1t)a−1.\begin{aligned} \frac{dy}{dx} &= \frac{dy/dt}{dx/dt} \\ &= \frac{a^{t+\frac1t}\left(1-\frac{1}{t^2}\right)\log a}{a\left(t+\frac1t\right)^{a-1}\left(1-\frac{1}{t^2}\right)} \\ &= \frac{a^{t+\frac1t}\log a}{a\left(t+\frac1t\right)^{a-1}}. \end{aligned}
    The factor 1−1t21 - \frac{1}{t^2} appears on top and bottom and is non-zero (Step 5), so it cancels. The result can also be written at+1t−1log⁡a(t+1t)a−1\dfrac{a^{t+\frac1t-1}\log a}{\left(t+\frac1t\right)^{a-1}}⁠, by using at+1/ta=at+1/t−1\frac{a^{t+1/t}}{a} = a^{t+1/t-1}⁠.
    Section 5.6: dydx=g′(t)f′(t)\frac{dy}{dx} = \frac{g'(t)}{f'(t)} provided f′(t)≠0f'(t) \ne 0⁠. Lesson: parametric differentiation
  7. Check by eliminating tt

    For t>0t > 0⁠, s>0s > 0 and x=sax = s^a⁠, so s=x1/as = x^{1/a} and y=ax1/ay = a^{x^{1/a}}⁠, a function of xx for x≥2ax \ge 2^a⁠. Differentiating directly with the chain rule:

    dydx=ax1/alog⁡a⋅1a x1a−1=aslog⁡a⋅1a s1−a=aslog⁡aa sa−1,\begin{aligned} \frac{dy}{dx} &= a^{x^{1/a}}\log a\cdot\tfrac1a\,x^{\frac1a - 1} \\ &= a^s\log a\cdot\tfrac1a\,s^{1-a} = \frac{a^s\log a}{a\,s^{a-1}}, \end{aligned}

    using x1a−1=(sa)1a−1=s1−ax^{\frac1a - 1} = (s^a)^{\frac1a - 1} = s^{1-a}⁠. This is the same answer.

    An independent route to the same formula confirms the algebra. It also explains what happens at t=1t = 1⁠: there s=2s = 2 and x=2ax = 2^a⁠, the smallest possible xx (the left end of the curve), and the values tt and 1t\frac1t give the same point. The parametric method fails at t=1t = 1 only because dxdt=0\frac{dx}{dt} = 0 there, not because the curve misbehaves.
    (sa)1/a=s(s^a)^{1/a} = s for s>0s > 0⁠; chain rule with ddxx1/a=1ax1a−1\frac{d}{dx}x^{1/a} = \frac1a x^{\frac1a-1}⁠. Lesson: the chain rule
Result

For t>0t > 0⁠, t≠1t \ne 1 (and for all t≠0,±1t \ne 0, \pm1 when aa is a whole number),

dydx=at+1t log⁡aa(t+1t)a−1.\frac{dy}{dx} = \frac{a^{t+\frac1t}\,\log a}{a\left(t + \frac1t\right)^{a-1}}.

(This agrees with the textbook's worked answer.)

Check it with numbers

Take a=3a = 3⁠, t=2t = 2⁠, so s=2.5s = 2.5⁠. Then 32.5≈15.58845733^{2.5} \approx 15.5884573 and log⁡3≈1.0986123\log 3 \approx 1.0986123⁠, and

dydt≈15.5884573×0.75×1.0986123≈12.8442530,dxdt=3×2.52×0.75=14.0625,\begin{aligned} \frac{dy}{dt} &\approx 15.5884573 \times 0.75 \times 1.0986123 \\ &\approx 12.8442530, \\ \frac{dx}{dt} &= 3 \times 2.5^2 \times 0.75 = 14.0625, \end{aligned}

(here 1−1t2=0.751 - \frac{1}{t^2} = 0.75⁠), so dydx≈12.844253014.0625≈0.9133691\frac{dy}{dx} \approx \frac{12.8442530}{14.0625} \approx 0.9133691⁠. The final formula gives 15.5884573×1.098612315.5884573 \times 1.0986123 divided by 3×2.52=18.753 \times 2.5^2 = 18.75⁠, again about 0.91336910.9133691⁠. Directly, x=2.53=15.625x = 2.5^3 = 15.625⁠, and a difference quotient of y=3x1/3y = 3^{x^{1/3}} at x=15.625x = 15.625 also gives 0.913370.91337⁠.

Special case. If a=1a = 1⁠, then y=1s=1y = 1^{s} = 1 is constant, and the formula gives log⁡1=0\log 1 = 0⁠, as it should.

Common mistakes
  1. Swapping the rules. asa^s (constant base) needs (as)′=aslog⁡a(a^s)' = a^s\log a⁠; sas^a (constant exponent) needs (sa)′=asa−1(s^a)' = as^{a-1}⁠.
  2. Forgetting dsdt\frac{ds}{dt}⁠. Both derivatives carry the factor 1−1t21 - \frac{1}{t^2} from the chain rule. It cancels in the end, but only if it was there in both.
  3. Ignoring dxdt=0\frac{dx}{dt} = 0⁠. At t=1t = 1 the quotient dy/dtdx/dt\frac{dy/dt}{dx/dt} is 00\frac00⁠, so that value must be excluded.
  4. Calling dydx=dydt⋅dxdt\frac{dy}{dx} = \frac{dy}{dt}\cdot\frac{dx}{dt}⁠. It is a quotient, not a product.
What to take away
  1. Parametric form: differentiate both coordinates with respect to the parameter, then divide, dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt}⁠, wherever dxdt≠0\frac{dx}{dt} \ne 0⁠.
  2. Variable in the exponent: use aslog⁡aa^s\log a⁠. Variable in the base: use asa−1as^{a-1}⁠. Variable in both: use logarithms (as in Example 41).
  3. Eliminating the parameter, when it is easy, is the best check.

Every fact used, and where it comes from

FactUsed inSource
sa=ealog⁡ss^a = e^{a\log s} needs s>0s > 0Step 1Logarithms only of positive numbers (Section 5.4); the same rewriting as ax=exlog⁡aa^x = e^{x\log a} in Example 28, Section 5.5
(tn)′=ntn−1(t^n)' = nt^{n-1}⁠, also for real nn when t>0t > 0Steps 2, 4, 7Table 5.3, Section 5.3
(as)′=aslog⁡a(a^s)' = a^s\log aSteps 3, 7Example 28, Section 5.5
Chain ruleSteps 3, 4, 7Theorem 4, Section 5.3.1 (Lesson: the chain rule)
dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt} where dxdt≠0\frac{dx}{dt} \ne 0Steps 5, 6Section 5.6 (Lesson: parametric differentiation)
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 →