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

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

Exercise 5.3Implicit differentiation · Section 5.3.2
The question

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

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

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

2+3dydx=cos⁡x2 + 3\frac{dy}{dx} = \cos x ⇒ 3dydx=cos⁡x−2\Rightarrow\ 3\frac{dy}{dx} = \cos x - 2

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

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

The one idea this problem is built on

If two expressions are equal for every xx⁠, their derivatives with respect to xx are equal too. So we may differentiate both sides of the relation, term by term, remembering that yy is a function of xx whose derivative is the unknown dydx\frac{dy}{dx}⁠. Then we solve for dydx\frac{dy}{dx}⁠. Here yy can also be found explicitly, which gives an independent check.

Given, to find, and the plan
Given
2x+3y=sin⁡x2x + 3y = \sin x⁠, relating yy to xx⁠.
To find
dydx\dfrac{dy}{dx}⁠.
Plan
Differentiate both sides with respect to xx⁠; solve the resulting equation for dydx\frac{dy}{dx}⁠. Check by solving the relation for yy first.

Basics you need

1Differentiating a relation

If L(x)=R(x)L(x) = R(x) for all xx in an interval, then ddxL=ddxR\frac{d}{dx}L = \frac{d}{dx}R there. This is how Section 5.3.2 handles implicit functions (Examples 22 and 23). Lesson: implicit differentiation

2Sum and constant-multiple rules

(u±v)′=u′±v′(u \pm v)' = u' \pm v' (rule (1), Section 5.3), and (ky)′=k y′(ky)' = k\,y' for a constant kk⁠. Basics: derivative rules

3Standard derivatives

(x)′=1(x)' = 1⁠, (sin⁡x)′=cos⁡x(\sin x)' = \cos x (Table 5.3). Basics: derivative rules

4Solving a linear equation for dydx\frac{dy}{dx}

Treat dydx\frac{dy}{dx} as the unknown: move every other term to the other side, then divide by its coefficient. Basics: solving for dy/dx

Solution

  1. Differentiate both sides with respect to xx

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

    Term by term: ddx(2x)=2\frac{d}{dx}(2x) = 2⁠, ddx(3y)=3dydx\frac{d}{dx}(3y) = 3\frac{dy}{dx}⁠, ddx(sin⁡x)=cos⁡x\frac{d}{dx}(\sin x) = \cos x⁠. So

    2+3dydx=cos⁡x.2 + 3\frac{dy}{dx} = \cos x.
    The relation holds for every xx⁠, so both sides are the same function of xx and have the same derivative. The term 3y3y is 33 times an unknown function of xx⁠; its derivative is 33 times the unknown derivative dydx\frac{dy}{dx}⁠. We do not need to know yy to write this.
    Sum rule (1), Section 5.3; constant-multiple rule; Table 5.3. Lesson: implicit differentiation
  2. Solve for dydx\frac{dy}{dx}

    3dydx=cos⁡x−2,dydx=cos⁡x−23.\begin{aligned} 3\frac{dy}{dx} &= \cos x - 2, \\ \frac{dy}{dx} &= \frac{\cos x - 2}{3}. \end{aligned}
    Subtract 22 from both sides, then divide by 33⁠, the coefficient of dydx\frac{dy}{dx}⁠. Dividing by 33 is always allowed, so the formula holds for every real xx⁠.
    Linear equation in the unknown dydx\frac{dy}{dx}⁠. Basics: solving for dy/dx
  3. Check by solving for yy first

    Here yy can be isolated: 3y=sin⁡x−2x3y = \sin x - 2x⁠, so y=sin⁡x−2x3y = \dfrac{\sin x - 2x}{3}⁠. Differentiating directly,

    dydx=cos⁡x−23,\frac{dy}{dx} = \frac{\cos x - 2}{3},

    the same answer.

    This is the comparison the book makes in Example 22: when yy can be written explicitly, both routes must agree. The implicit route is the one that still works when yy cannot be isolated (as in the next question).
    Explicit and implicit functions, Section 5.3.2. Lesson: implicit differentiation
  4. A remark on the sign

    Since cos⁡x≤1\cos x \le 1⁠, the numerator cos⁡x−2≤−1\cos x - 2 \le -1⁠, so dydx≤−13\frac{dy}{dx} \le -\frac13 for every xx⁠: yy is a strictly decreasing function of xx⁠.

    Reading a derivative this way is a useful sanity check: y=sin⁡x3−2x3y = \frac{\sin x}{3} - \frac{2x}{3} is a steady downward line −2x3-\frac{2x}{3} with a small wobble sin⁡x3\frac{\sin x}{3} that is never steep enough to turn it upward.
    A function whose derivative is negative throughout an interval is decreasing there: this is Theorem 1, Section 6.3 of Chapter 6, used here ahead of time and not needed for the answer. Basics: slope at a point
Result dydx=cos⁡x−23for every real x.\frac{dy}{dx} = \frac{\cos x - 2}{3}\quad\text{for every real } x.

(Textbook answer: cos⁡x−23\dfrac{\cos x - 2}{3}⁠, the same.)

Check it with numbers

At x=0x = 0⁠: the formula gives 1−23=−13≈−0.3333333\frac{1 - 2}{3} = -\frac13 \approx -0.3333333⁠. A difference quotient of y=sin⁡x−2x3y = \frac{\sin x - 2x}{3} with h=0.0001h = 0.0001 on each side of 00 gives −0.3333333-0.3333333⁠. At x=π3x = \frac{\pi}{3}⁠: formula 0.5−23=−0.5\frac{0.5 - 2}{3} = -0.5⁠; difference quotient −0.5000000-0.5000000⁠.

Common mistakes
  1. Differentiating 3y3y as 33⁠. yy is not xx⁠; its derivative is the unknown dydx\frac{dy}{dx}⁠, so ddx(3y)=3dydx\frac{d}{dx}(3y) = 3\frac{dy}{dx}⁠.
  2. Differentiating 2x2x as 2x2x or 00⁠. (2x)′=2(2x)' = 2⁠.
  3. Sign slip when moving the 22⁠. 2+3y′=cos⁡x2 + 3y' = \cos x gives 3y′=cos⁡x−23y' = \cos x - 2⁠, not 2−cos⁡x2 - \cos x⁠.
What to take away
  1. Implicit differentiation: differentiate every term of the relation with respect to xx⁠, writing dydx\frac{dy}{dx} wherever yy is differentiated, then solve for dydx\frac{dy}{dx}⁠.
  2. When yy can be isolated, doing so gives a free check.

Every fact used, and where it comes from

FactUsed inSource
Differentiating both sides of a relationStep 1Section 5.3.2, Examples 22 and 23 (Lesson: implicit differentiation)
Sum rule; constant-multiple ruleSteps 1, 3Rule (1), Section 5.3
(x)′=1(x)' = 1⁠, (sin⁡x)′=cos⁡x(\sin x)' = \cos xSteps 1, 3Table 5.3, Section 5.3
Explicit versus implicit functionsStep 3Section 5.3.2
−1≤cos⁡x≤1-1 \le \cos x \le 1Step 4Class XI, Trigonometric Functions
Negative derivative on an interval means decreasingStep 4Theorem 1, Section 6.3 (Chapter 6)
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 →