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

Exercise 5.3 · Q2: dydx\frac{dy}{dx} if 2x+3y=sin⁡y2x+3y=\sin y

Exercise 5.3Implicit differentiation · Section 5.3.2
The question

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

2x+3y=sin⁡y2x + 3y = \sin y
Exam answer

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

2+3dydx=cos⁡y dydx2 + 3\frac{dy}{dx} = \cos y\,\frac{dy}{dx} ⇒ (cos⁡y−3)dydx=2\Rightarrow\ (\cos y - 3)\frac{dy}{dx} = 2

∴ dydx=2cos⁡y−3\therefore\ \dfrac{dy}{dx} = \dfrac{2}{\cos y - 3}⁠.

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

The one idea this problem is built on

Now yy appears inside a sine, and there is no way to isolate yy⁠. We still differentiate both sides with respect to xx⁠. The new point is the term sin⁡y\sin y⁠: it is a composite function (sine of the function yy of xx⁠), so by the chain rule its derivative is cos⁡y⋅dydx\cos y\cdot\frac{dy}{dx}⁠. After that, dydx\frac{dy}{dx} appears in two terms; we collect them and divide.

Given, to find, and the plan
Given
2x+3y=sin⁡y2x + 3y = \sin y⁠, with yy a function of xx⁠.
To find
dydx\dfrac{dy}{dx}⁠.
Plan
Differentiate both sides with respect to xx⁠, using the chain rule on sin⁡y\sin y⁠. Collect the dydx\frac{dy}{dx} terms on one side, factor, divide. Check that the divisor is never 00⁠.

Basics you need

1Differentiating a relation

Both sides of a relation that holds for all xx have equal derivatives with respect to xx (Section 5.3.2). Lesson: implicit differentiation

2Chain rule on a function of yy

If yy is a function of xx⁠, then ddxg(y)=g′(y) dydx\frac{d}{dx}g(y) = g'(y)\,\frac{dy}{dx}⁠. For example ddxsin⁡y=cos⁡y dydx\frac{d}{dx}\sin y = \cos y\,\frac{dy}{dx}⁠, exactly as in Example 23. Lesson: the chain rule

3Collecting and factoring

Move all terms containing dydx\frac{dy}{dx} to one side and everything else to the other, factor out dydx\frac{dy}{dx}⁠, then divide by the bracket, provided it is not zero. Basics: solving for dy/dx

4Range of cosine

−1≤cos⁡y≤1-1 \le \cos y \le 1 for every real yy⁠. Basics: trigonometric identities

Solution

  1. Is yy really a function of xx⁠?

    We cannot solve for yy⁠, but we can solve for xx⁠: x=sin⁡y−3y2x = \dfrac{\sin y - 3y}{2}⁠. As yy increases, this xx strictly decreases, because dxdy=cos⁡y−32<0\frac{dx}{dy} = \frac{\cos y - 3}{2} < 0 for every yy⁠. It is continuous, and it tends to −∞-\infty as y→+∞y \to +\infty and to +∞+\infty as y→−∞y \to -\infty⁠, so it takes every real value. So each real xx comes from exactly one yy⁠: the relation defines yy as a function of xx on all of R\R⁠.

    Section 5.3.2 takes it for granted that a relation like this defines yy as a differentiable function of xx⁠. Here we can at least see that yy is a genuine function of xx⁠: a strictly decreasing, continuous x(y)x(y) taking every real value can be "read backwards". That y(x)y(x) is also differentiable is assumed, as in the book. This step is reassurance, not a required part of the textbook method, and it uses two facts this chapter does not prove (see the note below).
    Two facts from outside this chapter: a negative derivative on an interval makes a function decreasing (Theorem 1, Section 6.3, Chapter 6), and a continuous function takes every value between two of its values (the intermediate value property, a standard property of continuous functions not proved in the book). A strictly decreasing function is one-one; one-one and onto R\R⁠, it is invertible (Chapter 1, Section 1.4).
  2. Differentiate both sides with respect to xx

    ddx(2x)+ddx(3y)=ddx(sin⁡y).\frac{d}{dx}(2x) + \frac{d}{dx}(3y) = \frac{d}{dx}(\sin y).

    Term by term: ddx(2x)=2\frac{d}{dx}(2x) = 2 and ddx(3y)=3dydx\frac{d}{dx}(3y) = 3\frac{dy}{dx}⁠. For the right side, the outer function is sin⁡\sin and the inner function is yy⁠:

    ddx(sin⁡y)=cos⁡y⋅dydx.\frac{d}{dx}(\sin y) = \cos y\cdot\frac{dy}{dx}.

    So

    2+3dydx=cos⁡y dydx.2 + 3\frac{dy}{dx} = \cos y\,\frac{dy}{dx}.
    sin⁡y\sin y is not sin⁡x\sin x⁠: it is the sine of a quantity that itself changes with xx⁠. The chain rule says: differentiate the sine with respect to its own input (giving cos⁡y\cos y⁠), then multiply by how fast that input changes with xx (giving dydx\frac{dy}{dx}⁠).
    Chain rule, Theorem 4, with inner function y(x)y(x) and outer function sin⁡\sin⁠; used the same way in Example 23. Lesson: the chain rule
  3. Collect the dydx\frac{dy}{dx} terms and solve

    2=cos⁡y dydx−3dydx=(cos⁡y−3) dydx,\begin{aligned} 2 &= \cos y\,\frac{dy}{dx} - 3\frac{dy}{dx} \\ &= (\cos y - 3)\,\frac{dy}{dx}, \end{aligned}

    and therefore

    dydx=2cos⁡y−3.\frac{dy}{dx} = \frac{2}{\cos y - 3}.
    Subtract 3dydx3\frac{dy}{dx} from both sides so that all dydx\frac{dy}{dx} terms are together, factor out dydx\frac{dy}{dx}⁠, and divide by the bracket. Division needs the bracket to be non-zero; the next step shows it always is.
    Factor out the unknown, then divide. Basics: solving for dy/dx
  4. The divisor is never zero

    Since cos⁡y≤1\cos y \le 1⁠, we have cos⁡y−3≤−2<0\cos y - 3 \le -2 < 0⁠. So dydx=2cos⁡y−3\frac{dy}{dx} = \frac{2}{\cos y - 3} is valid at every point of the curve, and in fact −1≤dydx≤−12-1 \le \frac{dy}{dx} \le -\frac12⁠.

    The book's Example 23 ends with a condition on yy because its divisor 1+cos⁡y1 + \cos y can vanish. Here no such condition is needed. The bounds come from −4≤cos⁡y−3≤−2-4 \le \cos y - 3 \le -2⁠: dividing 22 by a number between −4-4 and −2-2 gives a number between −1-1 and −12-\frac12⁠.
    −1≤cos⁡y≤1-1 \le \cos y \le 1⁠. Basics: trigonometric identities
Result dydx=2cos⁡y−3,\frac{dy}{dx} = \frac{2}{\cos y - 3},

valid at every point, since cos⁡y−3≠0\cos y - 3 \ne 0 always. (Textbook answer: 2cos⁡y−3\dfrac{2}{\cos y - 3}⁠, the same.)

Check it with numbers

At y=0y = 0⁠, x=0x = 0 (because 2⋅0+3⋅0=sin⁡02\cdot0 + 3\cdot0 = \sin 0⁠), and the formula gives 21−3=−1\frac{2}{1 - 3} = -1⁠.

At y=1y = 1⁠, x=sin⁡1−32≈−1.0792645x = \frac{\sin 1 - 3}{2} \approx -1.0792645⁠, and the formula gives 2cos⁡1−3≈−0.8131081\frac{2}{\cos 1 - 3} \approx -0.8131081⁠. Moving along the curve from y=0.9999y = 0.9999 to y=1.0001y = 1.0001 and dividing the change in yy by the change in xx gives −0.8131081-0.8131081⁠. They agree.

Common mistakes
  1. Writing ddxsin⁡y=cos⁡y\frac{d}{dx}\sin y = \cos y⁠. The factor dydx\frac{dy}{dx} from the chain rule is missing; without it the equation cannot even be solved for dydx\frac{dy}{dx}⁠.
  2. Sign error when collecting. 2+3y′=y′cos⁡y2 + 3y' = y'\cos y gives 2=y′(cos⁡y−3)2 = y'(\cos y - 3)⁠, not y′(3−cos⁡y)y'(3 - \cos y)⁠.
  3. Leaving the answer in terms of "xx" only. Implicit derivatives normally involve yy (and often xx⁠); 2cos⁡y−3\frac{2}{\cos y - 3} is a complete answer.
What to take away
  1. Every time you differentiate an expression in yy with respect to xx⁠, a factor dydx\frac{dy}{dx} appears (chain rule).
  2. Always check the divisor you divide by; here it is never zero, so there is no exceptional point.

Every fact used, and where it comes from

FactUsed inSource
A one-one and onto function is invertibleStep 1Chapter 1, Sections 1.3 and 1.4
Negative derivative on an interval means decreasingStep 1Theorem 1, Section 6.3 (Chapter 6)
Intermediate value property of continuous functionsStep 1Standard property of continuous functions (not proved in the book)
Differentiating both sides of a relationStep 2Section 5.3.2, Examples 22 and 23 (Lesson: implicit differentiation)
Chain rule; ddxsin⁡y=cos⁡y dydx\frac{d}{dx}\sin y = \cos y\,\frac{dy}{dx}Step 2Theorem 4, Section 5.3.1; Example 23
(x)′=1(x)' = 1⁠, (sin⁡t)′=cos⁡t(\sin t)' = \cos tStep 2Table 5.3, Section 5.3
−1≤cos⁡y≤1-1 \le \cos y \le 1Step 4Class 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 →