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

Exercise 5.2 · Q6: Differentiate cos⁡x3⋅sin⁡2(x5)\cos x^3\cdot\sin^2(x^5)

Exercise 5.2Product rule with the chain rule · Section 5.3.1
The question

Differentiate the function with respect to xx⁠:

cos⁡x3 . sin⁡2(x5)\cos x^3 \,.\, \sin^2 (x^5)
Exam answer

Let y=cos⁡x3⋅sin⁡2x5y = \cos x^3\cdot\sin^2 x^5⁠. By the chain rule,

ddx(cos⁡x3)=−sin⁡x3⋅3x2=−3x2sin⁡x3\begin{aligned} \frac{d}{dx}(\cos x^3) &= -\sin x^3\cdot 3x^2 \\ &= -3x^2\sin x^3 \end{aligned} ddx(sin⁡2x5)=2sin⁡x5⋅ddx(sin⁡x5)=2sin⁡x5⋅cos⁡x5⋅5x4=10x4sin⁡x5cos⁡x5\begin{aligned} &\frac{d}{dx}(\sin^2 x^5) \\ &= 2\sin x^5\cdot\frac{d}{dx}(\sin x^5) \\ &= 2\sin x^5\cdot\cos x^5\cdot 5x^4 \\ &= 10x^4\sin x^5\cos x^5 \end{aligned}

By the product rule,

dydx=sin⁡2x5⋅ddx(cos⁡x3)+cos⁡x3⋅ddx(sin⁡2x5)\begin{aligned} \frac{dy}{dx} &= \sin^2 x^5\cdot\frac{d}{dx}(\cos x^3) \\ &\quad + \cos x^3\cdot\frac{d}{dx}(\sin^2 x^5) \end{aligned}

∴ dydx\therefore\ \dfrac{dy}{dx} =10x4sin⁡x5cos⁡x5cos⁡x3= 10x^4\sin x^5\cos x^5\cos x^3 − 3x2sin⁡x3sin⁡2x5-\ 3x^2\sin x^3\sin^2 x^5⁠.

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

The one idea this problem is built on

The function is a product of two factors, and each factor is a composite function. So the outer structure is handled by the product rule, and the derivative of each factor is found with the chain rule: name the inner function, differentiate the outer one at it, and multiply by the derivative of the inner one.

Given, to find, and the plan
Given
y=cos⁡(x3)⋅(sin⁡(x5))2y = \cos(x^3)\cdot\big(\sin(x^5)\big)^2⁠.
To find
dydx\dfrac{dy}{dx}⁠.
Plan
Read the notation carefully. Write y=uvy = uv with u=cos⁡x3u = \cos x^3 and v=sin⁡2x5v = \sin^2 x^5⁠. Find u′u' (chain rule, two links) and v′v' (chain rule, three links). Put them into (uv)′=u′v+uv′(uv)' = u'v + uv'⁠.

Basics you need

1Reading the notation

cos⁡x3\cos x^3 means cos⁡(x3)\cos(x^3)⁠: the cube is on xx⁠, not on the cosine. sin⁡2(x5)\sin^2(x^5) means (sin⁡(x5))2\big(\sin(x^5)\big)^2⁠: the square is on the sine. Basics: trigonometric identities

2Product rule

(uv)′=u′v+uv′(uv)' = u'v + uv' (rule (2), Section 5.3). It is not u′v′u'v'⁠. Basics: derivative rules

3Chain rule

If yy depends on tt and tt depends on xx⁠, then dydx=dydt⋅dtdx\dfrac{dy}{dx} = \dfrac{dy}{dt}\cdot\dfrac{dt}{dx} (Theorem 4); with three links, multiply three rates. Lesson: the chain rule

4Standard derivatives

(xn)′=nxn−1(x^n)' = nx^{n-1}⁠, (sin⁡t)′=cos⁡t(\sin t)' = \cos t⁠, (cos⁡t)′=−sin⁡t(\cos t)' = -\sin t (Table 5.3). Basics: derivative rules

Solution

  1. Read the function and name the two factors

    y=cos⁡(x3)⏟u⋅(sin⁡(x5))2⏟v.y = \underbrace{\cos(x^3)}_{u}\cdot\underbrace{\big(\sin(x^5)\big)^2}_{v}.

    Both factors are defined for every real xx⁠, and (as the next steps show) each has a derivative at every real xx⁠. So dydx\frac{dy}{dx} exists for all x∈Rx \in \R⁠.

    The symbol cos⁡x3\cos x^3 could tempt you to read (cos⁡x)3(\cos x)^3⁠. The book's convention is that a power written on the variable belongs to the variable, so cos⁡x3=cos⁡(x3)\cos x^3 = \cos(x^3)⁠; the power written on the function name, as in sin⁡2\sin^2⁠, belongs to the function. The textbook answer, which contains sin⁡x3\sin x^3 and cos⁡x5\cos x^5⁠, confirms this reading.
    sin⁡2θ\sin^2\theta is short for (sin⁡θ)2(\sin\theta)^2⁠, exactly as in sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1⁠. Basics: trigonometric identities
  2. Apply the product rule

    dydx=u′ v+u v′.\frac{dy}{dx} = u'\,v + u\,v'.

    So we need u′u' and v′v' separately.

    The last operation in building yy is the multiplication of uu by vv⁠, so the outermost rule is the product rule. The chain rule is then used inside it, once for each factor.
    Product (Leibnitz) rule, rule (2), Section 5.3. Basics: derivative rules
  3. Differentiate u=cos⁡(x3)u = \cos(x^3) (two links)

    Inner function t=x3t = x^3⁠; outer function cos⁡t\cos t⁠.

    dtdx=3x2,dudt=−sin⁡t.\frac{dt}{dx} = 3x^2, \qquad \frac{du}{dt} = -\sin t. u′=dudt⋅dtdx=(−sin⁡t)(3x2)=−3x2sin⁡x3.\begin{aligned} u' &= \frac{du}{dt}\cdot\frac{dt}{dx} = (-\sin t)(3x^2) \\ &= -3x^2\sin x^3. \end{aligned}
    The cosine sees x3x^3⁠, not xx⁠. So its rate is −sin⁡-\sin evaluated at x3x^3⁠, and then we multiply by how fast x3x^3 itself changes, 3x23x^2⁠. Writing −sin⁡x3-\sin x^3 alone would forget the inner rate.
    Chain rule, Theorem 4, Section 5.3.1; (cos⁡t)′=−sin⁡t(\cos t)' = -\sin t and (x3)′=3x2(x^3)' = 3x^2 from Table 5.3. Lesson: the chain rule
  4. Differentiate v=(sin⁡(x5))2v = \big(\sin(x^5)\big)^2 (three links)

    Name the links from the inside out: s=x5s = x^5⁠, then w=sin⁡sw = \sin s⁠, then v=w2v = w^2⁠.

    dsdx=5x4,dwds=cos⁡s,dvdw=2w.\frac{ds}{dx} = 5x^4, \qquad \frac{dw}{ds} = \cos s, \qquad \frac{dv}{dw} = 2w. v′=dvdw⋅dwds⋅dsdx=2sin⁡x5⋅cos⁡x5⋅5x4=10x4sin⁡x5cos⁡x5.\begin{aligned} v' &= \frac{dv}{dw}\cdot\frac{dw}{ds}\cdot\frac{ds}{dx} \\ &= 2\sin x^5\cdot\cos x^5\cdot 5x^4 \\ &= 10x^4\sin x^5\cos x^5. \end{aligned}
    Three operations are stacked: raise xx to the fifth power, take the sine, square. Each one contributes one factor: 2w2w from squaring (with w=sin⁡x5w = \sin x^5⁠), cos⁡s\cos s from the sine (with s=x5s = x^5⁠), and 5x45x^4 from the fifth power.
    Chain rule extended to three functions (Section 5.3.1, after Theorem 4); (w2)′=2w(w^2)' = 2w⁠, (sin⁡s)′=cos⁡s(\sin s)' = \cos s⁠, (x5)′=5x4(x^5)' = 5x^4 from Table 5.3. Basics: composite functions
  5. Put everything into the product rule

    dydx=u′v+uv′=(−3x2sin⁡x3) sin⁡2x5+cos⁡x3 (10x4sin⁡x5cos⁡x5).\begin{aligned} \frac{dy}{dx} &= u'v + uv' \\ &= (-3x^2\sin x^3)\,\sin^2 x^5 \\ &\quad + \cos x^3\,(10x^4\sin x^5\cos x^5). \end{aligned}

    Writing the positive term first:

    dydx=10x4sin⁡x5cos⁡x5cos⁡x3−3x2sin⁡x3sin⁡2x5.\begin{aligned} \frac{dy}{dx} &= 10x^4\sin x^5\cos x^5\cos x^3 \\ &\quad - 3x^2\sin x^3\sin^2 x^5. \end{aligned}
    Each term of the product rule keeps one factor as it is and replaces the other by its derivative: u′vu'v differentiates the cosine factor, uv′uv' differentiates the sin⁡2\sin^2 factor. Reordering the terms changes nothing, but it makes the answer match the textbook's layout.
    Optional tidy form: 2sin⁡x5cos⁡x5=sin⁡2x52\sin x^5\cos x^5 = \sin 2x^5⁠, so the first term is also 5x4sin⁡(2x5)cos⁡x35x^4\sin(2x^5)\cos x^3⁠. Basics: trigonometric identities
Result

For every real xx⁠,

ddx(cos⁡x3⋅sin⁡2x5)=10x4sin⁡x5cos⁡x5cos⁡x3−3x2sin⁡x3sin⁡2x5.\begin{aligned} &\frac{d}{dx}\big(\cos x^3\cdot\sin^2 x^5\big) \\ &= 10x^4\sin x^5\cos x^5\cos x^3 \\ &\quad - 3x^2\sin x^3\sin^2 x^5. \end{aligned}

(Textbook answer: 10x4sin⁡x5cos⁡x5cos⁡x310x^4\sin x^5\cos x^5\cos x^3 − 3x2sin⁡x3sin⁡2x5-\ 3x^2\sin x^3\sin^2 x^5⁠, the same.)

Check it with numbers

At x=1x = 1 the formula gives 10sin⁡1cos⁡21−3sin⁡3110\sin 1\cos^2 1 - 3\sin^3 1⁠. With sin⁡1≈0.8414710\sin 1 \approx 0.8414710 and cos⁡1≈0.5403023\cos 1 \approx 0.5403023⁠:

10sin⁡1cos⁡21≈2.4564775,3sin⁡31≈1.7874697,\begin{aligned} 10\sin 1\cos^2 1 &\approx 2.4564775, \\ 3\sin^3 1 &\approx 1.7874697, \end{aligned}

so dydx≈0.6690078\frac{dy}{dx} \approx 0.6690078⁠. A difference quotient of cos⁡x3sin⁡2x5\cos x^3\sin^2 x^5 with h=0.0001h = 0.0001 on each side of 11 gives 0.6690070.669007⁠. They agree to five decimal places (the small gap comes from hh not being zero).

Common mistakes
  1. Reading cos⁡x3\cos x^3 as cos⁡3x\cos^3 x⁠. That is a different function, with derivative −3cos⁡2xsin⁡x-3\cos^2 x\sin x⁠.
  2. Dropping an inner rate. The factors 3x23x^2 and 5x45x^4 come from the innermost powers and are easy to forget.
  3. Differentiating sin⁡2x5\sin^2 x^5 as 2sin⁡x52\sin x^5⁠. Squaring is only the outer link; the sine and the fifth power still have to be differentiated.
  4. Multiplying the derivatives. (uv)′≠u′v′(uv)' \ne u'v'⁠; the product rule has two terms.
What to take away
  1. First decide the last operation (here a product); that decides the outer rule. Then handle each piece with the chain rule.
  2. In a chain, every layer contributes exactly one factor; count the layers and count the factors.

Every fact used, and where it comes from

FactUsed inSource
cos⁡x3=cos⁡(x3)\cos x^3 = \cos(x^3)⁠, sin⁡2θ=(sin⁡θ)2\sin^2\theta = (\sin\theta)^2Step 1Standard notation (Class XI, Trigonometric Functions)
Product rule (uv)′=u′v+uv′(uv)' = u'v + uv'Steps 2, 5Rule (2), Section 5.3
(xn)′=nxn−1(x^n)' = nx^{n-1}⁠, (sin⁡t)′=cos⁡t(\sin t)' = \cos t⁠, (cos⁡t)′=−sin⁡t(\cos t)' = -\sin tSteps 3, 4Table 5.3, Section 5.3
Chain rule for two and three functionsSteps 3, 4Theorem 4 and the extension after it, Section 5.3.1 (Lesson: the chain rule)
2sin⁡θcos⁡θ=sin⁡2θ2\sin\theta\cos\theta = \sin 2\thetaStep 5 (optional form)Class XI, Trigonometric Functions
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 →