SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 12 Q17

Find the derivative of the following functions (it is to be understood that \(a,b,c,d,p,q, r\) and \(s\) are fixed non-zero constants and \(m\) and \(n\) are integers): \(\dfrac{sin\ x+cos\ x}{sin\ x-cos\ x}\)

CBSE Class 11 Maths · Limits and Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a fraction where both the top and bottom are made of moving parts — like two swings in a playground. When the swings move together, finding how fast the whole fraction changes needs a special trick called the quotient rule. We look at how the top changes, how the bottom changes, and mix them carefully. A helpful identity, \( \sin^{2} x + \cos^{2} x = 1 \), cleans up the messy middle. The final answer turns out neat and tidy.

Answer: \[\frac{dy}{dx} = \frac{-2}{(\sin x - \cos x)^2}\]

📖 Derivative of (sin x + cos x)/(sin x - cos x)

Detailed Explanation

When a function is written as a ratio of two functions, we use the quotient rule to find its derivative. If \( y = \frac{u}{v} \), then the derivative is found by differentiating the numerator and denominator separately and combining them in a fixed pattern. Here the numerator is \( u = \sin x + \cos x \) and the denominator is \( v = \sin x - \cos x \). We use the standard derivatives \( \frac{d}{dx}(\sin x) = \cos x \) and \( \frac{d}{dx}(\cos x) = -\sin x \). After applying the rule, we simplify the numerator using the identity \( \sin^2 x + \cos^2 x = 1 \).

Formula Used

Quotient rule: \[\frac{d}{dx}\left(\frac{u}{v}\right) = \frac{u' v - u v'}{v^2}\] with \( \frac{d}{dx}(\sin x) = \cos x \) and \( \frac{d}{dx}(\cos x) = -\sin x \).

Solution

  1. Step 1: Identify the numerator and denominator. Let \( u = \sin x + \cos x \) and \( v = \sin x - \cos x \), so that \( y = \frac{u}{v} \).
  2. Step 2: Differentiate each part. For the numerator: \[u' = \cos x - \sin x\] For the denominator: \[v' = \cos x + \sin x\]
  3. Step 3: Apply the quotient rule: \[\frac{dy}{dx} = \frac{u' v - u v'}{v^2}\] Substitute the expressions: \[\frac{dy}{dx} = \frac{(\cos x - \sin x)(\sin x - \cos x) - (\sin x + \cos x)(\cos x + \sin x)}{(\sin x - \cos x)^2}\]
  4. Step 4: Simplify the first product. Notice \( \cos x - \sin x = -(\sin x - \cos x) \), so \[(\cos x - \sin x)(\sin x - \cos x) = -(\sin x - \cos x)^2\] Expanding gives \[-(\sin^2 x - 2\sin x \cos x + \cos^2 x) = -(1 - 2\sin x \cos x)\]
  5. Step 5: Simplify the second product. Here \( \sin x + \cos x \) and \( \cos x + \sin x \) are the same, so \[(\sin x + \cos x)(\cos x + \sin x) = (\sin x + \cos x)^2 = 1 + 2\sin x \cos x\]
  6. Step 6: Combine the numerator terms: \[-(1 - 2\sin x \cos x) - (1 + 2\sin x \cos x) = -1 + 2\sin x \cos x - 1 - 2\sin x \cos x = -2\]
  7. Step 7: Write the final derivative: \[\frac{dy}{dx} = \frac{-2}{(\sin x - \cos x)^2}\]

Final Answer

\[\frac{dy}{dx} = \frac{-2}{(\sin x - \cos x)^2}\]

Common Mistake

A common mistake is applying the quotient rule with the wrong sign order in the numerator, writing \( u v' - u' v \) instead of \( u' v - u v' \). This flips the sign of the whole answer, giving \( \frac{2}{(\sin x - \cos x)^2} \), which is incorrect.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Label the numerator and denominator: Write the function as \( y = \frac{u}{v} \) where \( u = \sin x + \cos x \) and \( v = \sin x - \cos x \). — Reason: Naming u and v separately keeps the bookkeeping clean before applying the quotient rule.
  2. Step 2: Differentiate u and v individually: Differentiating u gives \[u' = \cos x - \sin x\] Differentiating v gives \[v' = \cos x + \sin x\] — Reason: We need both derivatives ready before substituting into the quotient-rule formula.
  3. Step 3: Substitute into the quotient rule: Applying \( \frac{dy}{dx} = \frac{u'v - uv'}{v^2} \) yields \[\frac{dy}{dx} = \frac{(\cos x - \sin x)(\sin x - \cos x) - (\sin x + \cos x)(\cos x + \sin x)}{(\sin x - \cos x)^2}\] — Reason: This is a direct substitution of the four pieces into the fixed quotient-rule pattern.
  4. Step 4: Simplify the first product in the numerator: Observe that \( \cos x - \sin x = -(\sin x - \cos x) \), so \[(\cos x - \sin x)(\sin x - \cos x) = -(\sin x - \cos x)^2\] Expanding the square: \[-(\sin^{2} x - 2\sin x \cos x + \cos^{2} x)\] — Reason: Factoring out the negative sign turns the product into a perfect square, which is easier to handle.
  5. Step 5: Apply the Pythagorean identity to the first product: Using \( \sin^{2} x + \cos^{2} x = 1 \), the first product simplifies to \[-(1 - 2\sin x \cos x)\] — Reason: The identity replaces \( \sin^{2} x + \cos^{2} x \) with 1, reducing the number of trig terms.
  6. Step 6: Simplify the second product in the numerator: Expand \( (\sin x + \cos x)(\cos x + \sin x) = (\sin x + \cos x)^{2} \): \[= \sin^{2} x + 2\sin x \cos x + \cos^{2} x = 1 + 2\sin x \cos x\] — Reason: Recognising the square form and applying the same Pythagorean identity keeps the work compact.
  7. Step 7: Combine and cancel to reach the final answer: The full numerator is \[-(1 - 2\sin x \cos x) - (1 + 2\sin x \cos x)\] Expanding: \[-1 + 2\sin x \cos x - 1 - 2\sin x \cos x = -2\] The \( 2\sin x \cos x \) terms cancel, leaving \[-\frac{dy}{dx} = \frac{-2}{(\sin x - \cos x)^2}\] — Reason: Opposite-sign \( 2\sin x \cos x \) terms eliminate each other, giving a clean constant numerator.

Final Answer

\[\frac{dy}{dx} = \frac{-2}{(\sin x - \cos x)^2}\]

Common Mistake

One common mistake: Students sometimes write \( \frac{d}{dx}(\cos x) = \sin x \) (forgetting the minus sign), which flips the signs in \( v' \) and leads to an incorrect numerator after substitution.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \( u = \sin x + \cos x \), \( v = \sin x - \cos x \). Then \( u' = \cos x - \sin x \) and \( v' = \cos x + \sin x \).
  2. Step 2: Apply quotient rule: \[\frac{dy}{dx} = \frac{(\cos x - \sin x)(\sin x - \cos x) - (\sin x + \cos x)(\cos x + \sin x)}{(\sin x - \cos x)^2}\]
  3. Step 3: First product: \( (\cos x - \sin x)(\sin x - \cos x) = -(\sin x - \cos x)^2 = -(1 - 2\sin x \cos x) \). Second product: \( (\sin x + \cos x)^2 = 1 + 2\sin x \cos x \).
  4. Step 4: Numerator: \( -(1 - 2\sin x \cos x) - (1 + 2\sin x \cos x) = -1 + 2\sin x \cos x - 1 - 2\sin x \cos x = -2 \). Hence \[\frac{dy}{dx} = \frac{-2}{(\sin x - \cos x)^2}\]

Answer: \[\frac{dy}{dx} = \frac{-2}{(\sin x - \cos x)^2}\]

➕ More Examples

More Examples

Example 1

Question: Find the derivative of \( f(x) = \dfrac{\cos x - \sin x}{\cos x + \sin x} \).

Solution: Let \( u = \cos x - \sin x \) and \( v = \cos x + \sin x \). Finding \( u' \): \[ u' = \frac{d}{dx}(\cos x - \sin x) = -\sin x - \cos x \] Finding \( v' \): \[ v' = \frac{d}{dx}(\cos x + \sin x) = -\sin x + \cos x \] Applying the Quotient Rule: \[ f'(x) = \frac{v \cdot u' - u \cdot v'}{v^2} \] Substituting: \[ f'(x) = \frac{(\cos x + \sin x)(-\sin x - \cos x) - (\cos x - \sin x)(-\sin x + \cos x)}{(\cos x + \sin x)^2} \] Expanding the numerator term by term. First product: \[ (\cos x + \sin x)(-\sin x - \cos x) = -\sin x \cos x - \cos^{2}x - \sin^{2}x - \sin x \cos x \] which simplifies to \[ -2\sin x \cos x - (\sin^{2}x + \cos^{2}x) = -2\sin x \cos x - 1 \] Second product: \[ (\cos x - \sin x)(-\sin x + \cos x) = -\sin x \cos x + \cos^{2}x + \sin^{2}x - \sin x \cos x \] which simplifies to \[ -2\sin x \cos x + (\sin^{2}x + \cos^{2}x) = -2\sin x \cos x + 1 \] Numerator = First product minus Second product: \[ (-2\sin x \cos x - 1) - (-2\sin x \cos x + 1) = -2 \] Therefore: \[ f'(x) = \frac{-2}{(\cos x + \sin x)^2} \]

Answer: \( f'(x) = \dfrac{-2}{(\cos x + \sin x)^2} \)

Example 2

Question: Find the derivative of \( g(x) = \dfrac{a\sin x + b\cos x}{a\sin x - b\cos x} \), where \( a \) and \( b \) are fixed non-zero constants.

Solution: Let \( u = a\sin x + b\cos x \) and \( v = a\sin x - b\cos x \). Finding \( u' \): \[ u' = \frac{d}{dx}(a\sin x + b\cos x) = a\cos x - b\sin x \] Finding \( v' \): \[ v' = \frac{d}{dx}(a\sin x - b\cos x) = a\cos x + b\sin x \] Applying the Quotient Rule: \[ g'(x) = \frac{v \cdot u' - u \cdot v'}{v^2} \] Substituting: \[ g'(x) = \frac{(a\sin x - b\cos x)(a\cos x - b\sin x) - (a\sin x + b\cos x)(a\cos x + b\sin x)}{(a\sin x - b\cos x)^2} \] Expanding the first product in the numerator: \[ (a\sin x - b\cos x)(a\cos x - b\sin x) \] \[ = a^2\sin x\cos x - ab\sin^{2}x - ab\cos^{2}x + b^2\sin x\cos x \] \[ = (a^2 + b^2)\sin x\cos x - ab(\sin^{2}x + \cos^{2}x) \] \[ = (a^2 + b^2)\sin x\cos x - ab \] Expanding the second product in the numerator: \[ (a\sin x + b\cos x)(a\cos x + b\sin x) \] \[ = a^2\sin x\cos x + ab\sin^{2}x + ab\cos^{2}x + b^2\sin x\cos x \] \[ = (a^2 + b^2)\sin x\cos x + ab(\sin^{2}x + \cos^{2}x) \] \[ = (a^2 + b^2)\sin x\cos x + ab \] Numerator = First product minus Second product: \[ \left[(a^2 + b^2)\sin x\cos x - ab\right] - \left[(a^2 + b^2)\sin x\cos x + ab\right] = -2ab \] Therefore: \[ g'(x) = \frac{-2ab}{(a\sin x - b\cos x)^2} \]

Answer: \( g'(x) = \dfrac{-2ab}{(a\sin x - b\cos x)^2} \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the derivative of the function \( y = \dfrac{\cos x - \sin x}{\cos x + \sin x} \), where \( x \) is a real number.

Solution

  1. Step 1: Identify u and v: Let \( u = \cos x - \sin x \) and \( v = \cos x + \sin x \), so that \( y = \dfrac{u}{v} \).
  2. Step 2: Differentiate u and v: Differentiating with respect to \( x \): \[\frac{du}{dx} = -\sin x - \cos x\] and \[\frac{dv}{dx} = -\sin x + \cos x\]
  3. Step 3: Apply the Quotient Rule: Using the Quotient Rule: \[\frac{dy}{dx} = \frac{v \cdot \frac{du}{dx} - u \cdot \frac{dv}{dx}}{v^2}\] Substituting: \[\frac{dy}{dx} = \frac{(\cos x + \sin x)(-\sin x - \cos x) - (\cos x - \sin x)(-\sin x + \cos x)}{(\cos x + \sin x)^2}\]
  4. Step 4: Expand the numerator: Expand the first product: \[(\cos x + \sin x)(-\sin x - \cos x) = -(\cos x + \sin x)^2 = -(\cos^{2}x + 2\sin x \cos x + \sin^{2}x)\] which simplifies to \( -(1 + 2\sin x \cos x) \). Expand the second product: \[(\cos x - \sin x)(-\sin x + \cos x) = (\cos x - \sin x)(\cos x - \sin x) = (\cos x - \sin x)^2 = \cos^{2}x - 2\sin x \cos x + \sin^{2}x\] which simplifies to \( 1 - 2\sin x \cos x \).
  5. Step 5: Simplify the numerator: The numerator becomes: \[-(1 + 2\sin x \cos x) - (1 - 2\sin x \cos x)\] \[= -1 - 2\sin x \cos x - 1 + 2\sin x \cos x\] \[= -2\]
  6. Step 6: Write the final derivative: Therefore: \[\frac{dy}{dx} = \frac{-2}{(\cos x + \sin x)^2}\]

Answer: \[\frac{dy}{dx} = \frac{-2}{(\cos x + \sin x)^2}\]

Everything you get with Solver7

More questions in Limits and Derivatives