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

Exercise 5.3 · Q7: dydx\frac{dy}{dx} if sin⁡2y+cos⁡xy=κ\sin^2y+\cos xy=\kappa

Exercise 5.3Implicit differentiation · Section 5.3.2
The question

Find dydx\dfrac{dy}{dx} in the following:

sin⁡2y+cos⁡xy=κ\sin^2 y + \cos xy = \kappa
Exam answer

Differentiating both sides w.r.t. xx⁠,

2sin⁡ycos⁡y dydx−sin⁡xy(y+xdydx)=0\begin{aligned} &2\sin y\cos y\,\frac{dy}{dx} \\ &\quad - \sin xy\left(y + x\frac{dy}{dx}\right) = 0 \end{aligned}

Using 2sin⁡ycos⁡y=sin⁡2y2\sin y\cos y = \sin 2y⁠,

⇒ (sin⁡2y−xsin⁡xy)dydx=ysin⁡xy\begin{aligned} \Rightarrow\ &(\sin 2y - x\sin xy)\frac{dy}{dx} \\ &= y\sin xy \end{aligned}

∴ dydx=ysin⁡xysin⁡2y−xsin⁡xy\therefore\ \dfrac{dy}{dx} = \dfrac{y\sin xy}{\sin 2y - x\sin xy} (sin⁡2y−xsin⁡xy≠0)(\sin 2y - x\sin xy \ne 0)⁠.

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

The one idea this problem is built on

Here κ\kappa is a constant, so the left side does not change along the curve and its derivative is 00⁠. Both terms are compositions, so both need the chain rule: sin⁡2y\sin^2 y is "square of sine of yy", and cos⁡xy\cos xy is "cosine of the product xyxy". Inside the second one, the product xyxy needs the product rule. After that it is the usual collect, factor and divide.

Given, to find, and the plan
Given
sin⁡2y+cos⁡xy=κ\sin^2 y + \cos xy = \kappa⁠, where κ\kappa is a constant and yy is a differentiable function of xx along the curve. (cos⁡xy\cos xy means cos⁡(xy)\cos(xy)⁠.)
To find
dydx\dfrac{dy}{dx}⁠.
Plan
Differentiate sin⁡2y\sin^2 y and cos⁡(xy)\cos(xy) by the chain rule; collect the dydx\frac{dy}{dx} terms; factor; divide where the bracket is not zero.

Basics you need

1Differentiating a relation

Both sides of a relation that holds along a piece of curve have equal derivatives there; a constant such as κ\kappa has derivative 00⁠. Lesson: implicit differentiation

2Chain rule

ddxf(g(x))=f′(g(x))⋅g′(x)\frac{d}{dx}f(g(x)) = f'(g(x))\cdot g'(x)⁠: derivative of the outer function at the inner one, times the derivative of the inner one (Theorem 4). Lesson: the chain rule

3Derivatives of sine and cosine; product rule

(sin⁡t)′=cos⁡t(\sin t)' = \cos t⁠, (cos⁡t)′=−sin⁡t(\cos t)' = -\sin t (Table 5.3); (uv)′=u′v+uv′(uv)' = u'v + uv'⁠. Basics: derivative rules

4Double-angle formula

2sin⁡ycos⁡y=sin⁡2y2\sin y\cos y = \sin 2y (Class XI). Basics: trigonometric identities

Solution

  1. Differentiate sin⁡2y\sin^2 y

    sin⁡2y=(sin⁡y)2\sin^2 y = (\sin y)^2⁠. The outer function is t2t^2⁠, whose derivative is 2t2t⁠; the inner function is sin⁡y\sin y⁠, whose derivative with respect to xx is cos⁡y dydx\cos y\,\frac{dy}{dx} (chain rule again, since yy depends on xx⁠). So

    ddx(sin⁡2y)=2sin⁡y⋅cos⁡y dydx=sin⁡2y dydx.\begin{aligned} \frac{d}{dx}(\sin^2 y) &= 2\sin y\cdot\cos y\,\frac{dy}{dx} \\ &= \sin 2y\,\frac{dy}{dx}. \end{aligned}
    There are three layers: squaring, sine, and yy as a function of xx⁠. Each layer contributes one factor. The double-angle formula only tidies the answer, and it matches the form used in the textbook answer.
    Chain rule extended to three functions (Section 5.3.1); 2sin⁡ycos⁡y=sin⁡2y2\sin y\cos y = \sin 2y⁠. Basics: trigonometric identities
  2. Differentiate cos⁡(xy)\cos(xy)

    The outer function is cos⁡t\cos t⁠, with derivative −sin⁡t-\sin t⁠; the inner function is t=xyt = xy⁠, whose derivative is 1⋅y+x dydx1\cdot y + x\,\frac{dy}{dx} by the product rule. So

    ddxcos⁡(xy)=−sin⁡(xy)(y+xdydx)=−ysin⁡xy−xsin⁡xy dydx.\begin{aligned} \frac{d}{dx}\cos(xy) &= -\sin(xy)\left(y + x\frac{dy}{dx}\right) \\ &= -y\sin xy - x\sin xy\,\frac{dy}{dx}. \end{aligned}
    The derivative of the outer cosine is evaluated at the inner function xyxy⁠, not at xx or yy⁠. The product rule is needed because both xx and yy change.
    Chain rule, Theorem 4; product rule (2), Section 5.3; (cos⁡t)′=−sin⁡t(\cos t)' = -\sin t⁠, Table 5.3. Basics: derivative rules
  3. Put the pieces together

    The derivative of the constant κ\kappa is 00⁠, so Steps 1 and 2 give

    sin⁡2y dydx−ysin⁡xy−xsin⁡xy dydx=0.\sin 2y\,\frac{dy}{dx} - y\sin xy - x\sin xy\,\frac{dy}{dx} = 0.

    Keep the dydx\frac{dy}{dx} terms on the left and move −ysin⁡xy-y\sin xy to the right:

    (sin⁡2y−xsin⁡xy) dydx=ysin⁡xy.(\sin 2y - x\sin xy)\,\frac{dy}{dx} = y\sin xy.
    The constant κ\kappa has dropped out: the slope formula is the same for every curve of the family, whatever the value of κ\kappa⁠.
    Collect and factor. Basics: solving for dy/dx
  4. Divide, where allowed

    At points of the curve where sin⁡2y−xsin⁡xy≠0\sin 2y - x\sin xy \ne 0⁠,

    dydx=ysin⁡xysin⁡2y−xsin⁡xy.\frac{dy}{dx} = \frac{y\sin xy}{\sin 2y - x\sin xy}.
    Where the bracket is zero we cannot divide. At such points Step 3 reads 0⋅dydx=ysin⁡xy0\cdot\frac{dy}{dx} = y\sin xy⁠: if the right side is not zero no slope fits (a vertical tangent), and if it is zero the equation says nothing about the slope. So the formula is claimed only where the denominator is non-zero.
Result dydx=ysin⁡xysin⁡2y−xsin⁡xy,\frac{dy}{dx} = \frac{y\sin xy}{\sin 2y - x\sin xy},

wherever sin⁡2y−xsin⁡xy≠0\sin 2y - x\sin xy \ne 0⁠.

(Textbook answer: ysin⁡xysin⁡2y−xsin⁡xy\dfrac{y\sin xy}{\sin 2y - x\sin xy}⁠, the same.)

Check it with numbers

Choose the curve through (1,0.5)(1, 0.5)⁠: that needs κ=sin⁡20.5+cos⁡0.5≈1.1074314\kappa = \sin^2 0.5 + \cos 0.5 \approx 1.1074314⁠. At that point:

  • numerator ysin⁡xy=0.5sin⁡0.5≈0.2397128y\sin xy = 0.5\sin 0.5 \approx 0.2397128⁠;
  • denominator sin⁡2y−xsin⁡xy=sin⁡1−sin⁡0.5\sin 2y - x\sin xy = \sin 1 - \sin 0.5⁠, with sin⁡1≈0.8414710\sin 1 \approx 0.8414710 and sin⁡0.5≈0.4794255\sin 0.5 \approx 0.4794255⁠, so the denominator is about 0.36204540.3620454 (to 7 places);
  • formula: 0.23971280.3620454≈0.6621068\frac{0.2397128}{0.3620454} \approx 0.6621068⁠.

Directly: solving sin⁡2y+cos⁡xy=1.1074314…\sin^2 y + \cos xy = 1.1074314\ldots for yy near 0.50.5 at x=1±0.000001x = 1 \pm 0.000001 and taking the difference quotient gives 0.66210680.6621068⁠. They agree.

Common mistakes
  1. ddx(sin⁡2y)=2sin⁡ycos⁡y\frac{d}{dx}(\sin^2 y) = 2\sin y\cos y⁠. The last factor dydx\frac{dy}{dx} is missing; yy is a function of xx⁠.
  2. ddxcos⁡(xy)=−sin⁡(xy)\frac{d}{dx}\cos(xy) = -\sin(xy)⁠. The derivative of the inner function xyxy is missing.
  3. ddx(xy)=xdydx\frac{d}{dx}(xy) = x\frac{dy}{dx} or =y= y⁠. The product rule gives both terms: y+xdydxy + x\frac{dy}{dx}⁠.
  4. Treating κ\kappa as a variable. It is a constant, so its derivative is 00⁠.
What to take away
  1. Peel compositions layer by layer: each layer gives one factor in the chain rule.
  2. A constant on one side of the relation disappears on differentiating, so the slope formula is shared by a whole family of curves.

Every fact used, and where it comes from

FactUsed inSource
Differentiating both sides of a relation; derivative of a constant is 00Step 3Section 5.3.2, Examples 22 and 23 (Lesson: implicit differentiation)
Chain rule, also for three functionsSteps 1, 2Theorem 4 and the extension after it, Section 5.3.1
(sin⁡t)′=cos⁡t(\sin t)' = \cos t⁠, (cos⁡t)′=−sin⁡t(\cos t)' = -\sin t⁠, (t2)′=2t(t^2)' = 2tSteps 1, 2Table 5.3, Section 5.3
Product ruleStep 2Rule (2), Section 5.3
2sin⁡ycos⁡y=sin⁡2y2\sin y\cos y = \sin 2yStep 1Class XI, Trigonometric Functions
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 →