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

Miscellaneous · Q5: Differentiate cos⁡−1x2\cos^{-1}\frac{x}{2} over 2x+7\sqrt{2x+7}

Miscellaneous ExerciseDerivatives of inverse trigonometric functions · Miscellaneous Exercise
The question

Differentiate w.r.t. xx the function

cos⁡−1x22x+7,−2<x<2.\frac{\cos^{-1}\frac{x}{2}}{\sqrt{2x+7}}, \quad -2 < x < 2.
Exam answer

Let y=uvy = \frac{u}{v}⁠, where u=cos⁡−1x2u = \cos^{-1}\frac x2 and v=2x+7v = \sqrt{2x + 7}⁠, −2<x<2-2 \lt x \lt 2⁠.

dudx=−11−x24⋅12=−14−x2dvdx=122x+7⋅2=12x+7\begin{aligned} \frac{du}{dx} &= -\frac{1}{\sqrt{1 - \frac{x^2}{4}}}\cdot\frac12 \\ &= -\frac{1}{\sqrt{4 - x^2}} \\ \frac{dv}{dx} &= \frac{1}{2\sqrt{2x + 7}}\cdot 2 \\ &= \frac{1}{\sqrt{2x + 7}} \end{aligned}

By the quotient rule,

dydx=vdudx−udvdxv2=12x+7[−2x+74−x2−cos⁡−1x22x+7]\begin{aligned} \frac{dy}{dx} &= \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2} \\ &= \frac{1}{2x + 7}\bigg[-\frac{\sqrt{2x + 7}}{\sqrt{4 - x^2}} \\ &\qquad - \frac{\cos^{-1}\frac x2}{\sqrt{2x + 7}}\bigg] \end{aligned}

∴ dydx=−14−x22x+7\therefore\ \dfrac{dy}{dx} = -\dfrac{1}{\sqrt{4 - x^2}\sqrt{2x + 7}} −cos⁡−1x2(2x+7)3/2- \dfrac{\cos^{-1}\dfrac x2}{(2x + 7)^{3/2}} (−2<x<2)(-2 \lt x \lt 2)

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

The one idea this problem is built on

A quotient of two functions, each needing the chain rule. The numerator cos⁡−1x2\cos^{-1}\frac x2 has inner function x2\frac x2⁠, and the interval −2<x<2-2 < x < 2 is exactly what keeps x2\frac x2 strictly between −1-1 and 11⁠, where cos⁡−1\cos^{-1} can be differentiated. After the quotient rule, the algebra of square roots turns the answer into the key's form.

Given, to find, and the plan
Given
y=uvy = \dfrac{u}{v} with u=cos⁡−1x2u = \cos^{-1}\frac{x}{2} and v=2x+7v = \sqrt{2x+7}⁠, for −2<x<2-2 < x < 2⁠.
To find
dydx\dfrac{dy}{dx}⁠.
Plan
(1) Check that both parts are defined and differentiable on the interval. (2) Find u′u'⁠. (3) Find v′v'⁠. (4) Apply the quotient rule. (5) Simplify to the key's form.

Basics you need

1Derivative of cos⁡−1\cos^{-1}

ddwcos⁡−1w=−11−w2\frac{d}{dw}\cos^{-1}w = -\frac{1}{\sqrt{1-w^2}}⁠, valid for w∈(−1,1)w \in (-1,1) (table after Example 24). Note the minus sign. Lesson: derivatives of inverse trig functions

2Quotient rule

(uv)′=u′v−uv′v2\left(\frac uv\right)' = \frac{u'v - uv'}{v^2} wherever v≠0v \ne 0 (rule (3), Section 5.3). Basics: derivative rules

3Chain rule

Derivative of the outer function at the inner one, times the derivative of the inner one (Theorem 4). Basics: composite functions

4Square-root algebra

For a>0a > 0⁠: aa=1a\frac{\sqrt a}{a} = \frac{1}{\sqrt a} and aa=a3/2a\sqrt a = a^{3/2}⁠. Also p4=p2\sqrt{\frac{p}{4}} = \frac{\sqrt p}{2} for p≥0p \ge 0⁠. Basics: solving for dy/dx

Solution

  1. Both parts are defined and differentiable on (−2,2)(-2,2)

    Dividing −2<x<2-2 < x < 2 by 2 gives −1<x2<1-1 < \frac{x}{2} < 1⁠. So cos⁡−1x2\cos^{-1}\frac x2 is defined, and its inner value is strictly inside (−1,1)(-1,1)⁠, where the derivative formula holds.

    For the denominator, −2<x<2-2 < x < 2 gives 3<2x+7<113 < 2x + 7 < 11⁠. So 2x+7>02x + 7 > 0⁠, the root v=2x+7v = \sqrt{2x+7} is defined, differentiable and never zero.

    The quotient rule needs uu and vv differentiable and v≠0v \ne 0⁠. The given interval delivers all three. At x=±2x = \pm 2 the inner value x2=±1\frac x2 = \pm1 would make 1−w2=0\sqrt{1 - w^2} = 0⁠, which is why the end points are excluded.
    cos⁡−1:[−1,1]→[0,π]\cos^{-1}: [-1,1] \to [0,\pi] (Chapter 2, Section 2.2); the formula for its derivative needs w∈(−1,1)w \in (-1,1)⁠.
  2. Differentiate the numerator u=cos⁡−1x2u = \cos^{-1}\frac{x}{2}

    Outer function cos⁡−1\cos^{-1}⁠, inner function w=x2w = \frac x2 with dwdx=12\frac{dw}{dx} = \frac12⁠. By the chain rule:

    dudx=−11−x24⋅12.\frac{du}{dx} = -\frac{1}{\sqrt{1 - \frac{x^2}{4}}}\cdot\frac12.

    Simplify the root: 1−x24=4−x241 - \frac{x^2}{4} = \frac{4 - x^2}{4}⁠, so 1−x24=4−x22\sqrt{1 - \frac{x^2}{4}} = \frac{\sqrt{4-x^2}}{2}⁠. Therefore

    dudx=−24−x2⋅12=−14−x2.\frac{du}{dx} = -\frac{2}{\sqrt{4-x^2}}\cdot\frac12 = -\frac{1}{\sqrt{4-x^2}}.
    4=2\sqrt 4 = 2 comes out of the root, and it cancels the 12\frac12 from the inner function. Here 4−x2>04 - x^2 > 0 on the interval, so the root is a positive real number.
    Chain rule, Theorem 4, Section 5.3.1; ddxcos⁡−1x=−11−x2\frac{d}{dx}\cos^{-1}x = -\frac{1}{\sqrt{1-x^2}}⁠, table after Example 24, Section 5.3.3. Lesson: derivatives of inverse trig functions
  3. Differentiate the denominator v=2x+7v = \sqrt{2x+7}

    Outer function  \sqrt{\ } (derivative 12s\frac{1}{2\sqrt{s}}⁠), inner function s=2x+7s = 2x+7 with dsdx=2\frac{ds}{dx} = 2⁠:

    dvdx=122x+7⋅2=12x+7.\frac{dv}{dx} = \frac{1}{2\sqrt{2x+7}}\cdot 2 = \frac{1}{\sqrt{2x+7}}.
    Again the inner derivative cancels the 2 in 12s\frac{1}{2\sqrt s}⁠. The formula ddss=12s\frac{d}{ds}\sqrt s = \frac{1}{2\sqrt s} needs s>0s > 0⁠, which Step 1 gave.
    ddss1/2=12s−1/2\frac{d}{ds}s^{1/2} = \frac12 s^{-1/2}⁠; chain rule. Lesson: chain rule
  4. Apply the quotient rule

    Here v2=2x+7v^2 = 2x + 7⁠. With u′u' from Step 2 and v′v' from Step 3:

    dydx=u′v−uv′v2=12x+7[−2x+74−x2−cos⁡−1x22x+7].\begin{aligned} \frac{dy}{dx} &= \frac{u'v - uv'}{v^2} \\ &= \frac{1}{2x+7}\Bigl[-\frac{\sqrt{2x+7}}{\sqrt{4-x^2}} \\ &\qquad - \frac{\cos^{-1}\frac x2}{\sqrt{2x+7}}\Bigr]. \end{aligned}
    The first term of the numerator is u′v=−14−x2⋅2x+7u'v = -\frac{1}{\sqrt{4-x^2}}\cdot\sqrt{2x+7}⁠; the second is uv′=cos⁡−1x2⋅12x+7uv' = \cos^{-1}\frac{x}{2}\cdot\frac{1}{\sqrt{2x+7}}⁠, subtracted. The order matters: it is u′v−uv′u'v - uv'⁠, not the other way round.
    Quotient rule (3), Section 5.3. Basics: derivative rules
  5. Divide each term by 2x+72x+7

    Split the fraction and divide each term separately. Using 2x+72x+7=12x+7\frac{\sqrt{2x+7}}{2x+7} = \frac{1}{\sqrt{2x+7}} and 2x+7 (2x+7)=(2x+7)3/2\sqrt{2x+7}\,(2x+7) = (2x+7)^{3/2}⁠:

    dydx=−14−x2 2x+7−cos⁡−1x2(2x+7)3/2.\begin{aligned} \frac{dy}{dx} = {}&-\frac{1}{\sqrt{4-x^2}\,\sqrt{2x+7}} \\ &- \frac{\cos^{-1}\frac x2}{(2x+7)^{3/2}}. \end{aligned}

    Taking out the common minus sign gives the key's form:

    dydx=−[14−x2 2x+7+cos⁡−1x2(2x+7)3/2].\begin{aligned} \frac{dy}{dx} = {}&-\Bigl[\frac{1}{\sqrt{4-x^2}\,\sqrt{2x+7}} \\ &\quad + \frac{\cos^{-1}\frac x2}{(2x+7)^{3/2}}\Bigr]. \end{aligned}
    Both simplifications use a=a⋅aa = \sqrt a\cdot\sqrt a for a=2x+7>0a = 2x + 7 > 0⁠: one a\sqrt a cancels in the first term, and in the second a⋅a=a1/2a1=a3/2\sqrt a\cdot a = a^{1/2}a^1 = a^{3/2}⁠.
    Laws of indices: a1/2⋅a=a3/2a^{1/2}\cdot a = a^{3/2} for a>0a > 0⁠. Basics: solving for dy/dx
Result

For −2<x<2-2 < x < 2⁠,

dydx=−[14−x2 2x+7+cos⁡−1x2(2x+7)3/2].\begin{aligned} \frac{dy}{dx} = {}&-\Bigl[\frac{1}{\sqrt{4-x^2}\,\sqrt{2x+7}} \\ &\quad + \frac{\cos^{-1}\frac x2}{(2x+7)^{3/2}}\Bigr]. \end{aligned}

(Textbook answer: −[14−x22x+7+cos⁡−1x2(2x+7)3/2]-\left[\frac{1}{\sqrt{4-x^2}\sqrt{2x+7}} + \frac{\cos^{-1}\frac x2}{(2x+7)^{3/2}}\right]⁠, the same.)

Check it with numbers

At x=1x = 1⁠: cos⁡−112=π3\cos^{-1}\frac12 = \frac{\pi}{3} and 9=3\sqrt{9} = 3⁠, so y=π9≈0.3490659y = \frac{\pi}{9} \approx 0.3490659⁠.

Formula: 4−1=3\sqrt{4-1} = \sqrt3 and 93/2=279^{3/2} = 27⁠, so

y′=−133−π/327≈−0.1924501−0.0387851=−0.2312352.\begin{aligned} y' &= -\frac{1}{3\sqrt3} - \frac{\pi/3}{27} \\ &\approx -0.1924501 - 0.0387851 \\ &= -0.2312352. \end{aligned}

Difference quotient with h=0.0001h = 0.0001⁠: y(1.0001)≈0.34904273y(1.0001) \approx 0.34904273 and y(0.9999)≈0.34908897y(0.9999) \approx 0.34908897⁠, so the quotient is about −0.2312352-0.2312352⁠. ✓

Common mistakes
  1. Dropping the minus sign of ddxcos⁡−1x\frac{d}{dx}\cos^{-1}x⁠. It is −11−x2-\frac{1}{\sqrt{1-x^2}}⁠.
  2. Forgetting the inner factor 12\frac12, which leads to −24−x2-\frac{2}{\sqrt{4-x^2}} instead of −14−x2-\frac{1}{\sqrt{4-x^2}}⁠.
  3. Swapping the order in the quotient rule (uv′−u′vuv' - u'v⁠), which flips both signs.
  4. Writing (2x+7)3/2(2x+7)^{3/2} as (2x+7)2(2x+7)^{2} when dividing 12x+7\frac{1}{\sqrt{2x+7}} by 2x+72x+7⁠.
What to take away
  1. For cos⁡−1xa\cos^{-1}\frac{x}{a} with a>0a > 0 and ∣x∣<a|x| < a⁠, the derivative is −1a2−x2-\frac{1}{\sqrt{a^2-x^2}}⁠: the inner 1a\frac1a cancels the aa from the root.
  2. The stated interval is there to keep the inverse-trig input strictly between −1-1 and 11 and the square root positive. Check both before differentiating.

Every fact used, and where it comes from

FactUsed inSource
cos⁡−1:[−1,1]→[0,π]\cos^{-1}: [-1,1] \to [0,\pi]Step 1Chapter 2, Section 2.2
ddxcos⁡−1x=−11−x2\frac{d}{dx}\cos^{-1}x = -\frac{1}{\sqrt{1-x^2}}⁠, x∈(−1,1)x \in (-1,1)Step 2Table after Example 24, Section 5.3.3 (Lesson: derivatives of inverse trig functions)
Chain ruleSteps 2, 3Theorem 4, Section 5.3.1 (Lesson: chain rule)
Quotient ruleStep 4Rule (3), Section 5.3
ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1} (here n=12n = \frac12⁠)Step 3Table 5.3 and Class XI
AnswerResultAnswers, Miscellaneous Exercise on Chapter 5, Q5
Numerical valuesCheckRecomputed in the site's verification script
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 →