SOLVER7 Study. Nothing Else.
2023 Board Paper Q16

If \(y=\dfrac{cos\ x\ -\ sin\ x}{cos\ x\ +\ sin\ x}, \)then \(\dfrac{dy}{dx}\) is: (A)\(-sec^2\left(\dfrac{\pi}{4}-x\right)\) (B)\(sec^2\left(\dfrac{\pi}{4}-x\right)\) (C)\(log|sec\left(\dfrac{\pi}{4}-x\right)|\) (D)\(-log\ |sec\left(\dfrac{\pi}{4}-x\right)|\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a messy fraction with sines and cosines. Instead of working with that mess, you spot a hidden shortcut. Dividing top and bottom by cosine turns the fraction into something much friendlier. It matches a known tangent pattern, so the whole thing becomes one simple tangent expression. Differentiating that one tidy expression is quick and gives the answer cleanly.

Answer: \( \dfrac{dy}{dx} = -\sec^2\left(\dfrac{\pi}{4} - x\right) \), which is option (A).

📖 Differentiating a Ratio of Trig Functions

Detailed Explanation

The function \( y = \dfrac{\cos x - \sin x}{\cos x + \sin x} \) looks like it needs the quotient rule. But differentiating directly is messy. A smarter approach is to first simplify the expression into a single tangent function. If we divide the numerator and denominator by \( \cos x \), the ratio becomes \( \dfrac{1 - \tan x}{1 + \tan x} \). This matches the tangent subtraction identity, letting us write \( y \) as \( \tan\left(\dfrac{\pi}{4} - x\right) \). Once simplified, differentiating a single \( \tan \) function using the chain rule is fast and clean.

Formula Used

\( \tan\left(\dfrac{\pi}{4} - x\right) = \dfrac{1 - \tan x}{1 + \tan x} \) and \( \dfrac{d}{dx}\tan u = \sec^2 u \cdot \dfrac{du}{dx} \)

Solution

  1. Step 1: Start with the given function: \[ y = \frac{\cos x - \sin x}{\cos x + \sin x} \] Divide both numerator and denominator by \( \cos x \) to introduce \( \tan x \).
  2. Step 2: After dividing, we get: \[ y = \frac{1 - \tan x}{1 + \tan x} \] This is done because it now matches a standard tangent identity.
  3. Step 3: Recall the identity \( \tan\left(\dfrac{\pi}{4} - x\right) = \dfrac{\tan\frac{\pi}{4} - \tan x}{1 + \tan\frac{\pi}{4}\tan x} \). Since \( \tan\dfrac{\pi}{4} = 1 \), this becomes exactly \( \dfrac{1 - \tan x}{1 + \tan x} \). So: \[ y = \tan\left(\frac{\pi}{4} - x\right) \]
  4. Step 4: Now differentiate using the chain rule. With \( u = \dfrac{\pi}{4} - x \), we have \( \dfrac{du}{dx} = -1 \). \[ \frac{dy}{dx} = \sec^2\left(\frac{\pi}{4} - x\right) \cdot \frac{d}{dx}\left(\frac{\pi}{4} - x\right) \]
  5. Step 5: Substitute \( \dfrac{d}{dx}\left(\dfrac{\pi}{4} - x\right) = -1 \): \[ \frac{dy}{dx} = -\sec^2\left(\frac{\pi}{4} - x\right) \]

Final Answer

\( \dfrac{dy}{dx} = -\sec^2\left(\dfrac{\pi}{4} - x\right) \), which is option (A).

Common Mistake

A common mistake is forgetting the negative sign from the chain rule. Since \( \dfrac{d}{dx}\left(\dfrac{\pi}{4} - x\right) = -1 \), the answer must carry a minus sign, giving \( -\sec^2\left(\dfrac{\pi}{4} - x\right) \), not \( \sec^2\left(\dfrac{\pi}{4} - x\right) \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the given function: We start with \[ y = \frac{\cos x - \sin x}{\cos x + \sin x} \] — Reason: Identifying the exact form of the function helps us choose the best simplification strategy before differentiating.
  2. Step 2: Divide numerator and denominator by \( \cos x \): Dividing every term by \( \cos x \) gives \[ y = \frac{\dfrac{\cos x}{\cos x} - \dfrac{\sin x}{\cos x}}{\dfrac{\cos x}{\cos x} + \dfrac{\sin x}{\cos x}} = \frac{1 - \tan x}{1 + \tan x} \] — Reason: Introducing \( \tan x \) transforms the fraction into a form that matches a known trigonometric identity, making further simplification possible.
  3. Step 3: Recognise the tangent subtraction identity: Recall the subtraction formula \( \tan(A - B) = \dfrac{\tan A - \tan B}{1 + \tan A \tan B} \). Setting \( A = \dfrac{\pi}{4} \) and \( B = x \), and using \( \tan\dfrac{\pi}{4} = 1 \), we get \[ \tan\!\left(\frac{\pi}{4} - x\right) = \frac{1 - \tan x}{1 + \tan x} \] — Reason: Matching our expression to this identity lets us replace the fraction with a single, compact tangent function.
  4. Step 4: Rewrite \( y \) in simplified form: From the identity established above, we write \[ y = \tan\!\left(\frac{\pi}{4} - x\right) \] — Reason: A single tangent function is far easier to differentiate using the chain rule than the original quotient form.
  5. Step 5: Apply the chain rule to differentiate: Let \( u = \dfrac{\pi}{4} - x \), so \( \dfrac{du}{dx} = -1 \). Using \( \dfrac{d}{dx}\tan u = \sec^2 u \cdot \dfrac{du}{dx} \), we get \[ \frac{dy}{dx} = \sec^2\!\left(\frac{\pi}{4} - x\right) \cdot (-1) \] — Reason: The chain rule accounts for the inner function \( u = \dfrac{\pi}{4} - x \), whose derivative introduces the factor \( -1 \).
  6. Step 6: State the final simplified derivative: Simplifying the sign gives \[ \frac{dy}{dx} = -\sec^2\!\left(\frac{\pi}{4} - x\right) \] — Reason: Writing the result cleanly allows direct comparison with the answer choices provided in the question.

Final Answer

\( \dfrac{dy}{dx} = -\sec^2\left(\dfrac{\pi}{4} - x\right) \), which is option (A).

Common Mistake

One common mistake: Students attempt to differentiate the original fraction directly using the quotient rule without first simplifying, which leads to a lengthy expression that is difficult to reduce and easy to get wrong. Always look for a trigonometric identity that collapses the expression before differentiating.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Divide numerator and denominator by \( \cos x \): \[ y = \frac{\cos x - \sin x}{\cos x + \sin x} = \frac{1 - \tan x}{1 + \tan x} \]
  2. Step 2: Apply the tangent subtraction identity with \( \tan\dfrac{\pi}{4} = 1 \): \[ y = \tan\!\left(\frac{\pi}{4} - x\right) \]
  3. Step 3: Differentiate using the chain rule with \( u = \dfrac{\pi}{4} - x \), so \( \dfrac{du}{dx} = -1 \): \[ \frac{dy}{dx} = \sec^2\!\left(\frac{\pi}{4} - x\right) \cdot (-1) = -\sec^2\!\left(\frac{\pi}{4} - x\right) \]

Answer: \( \dfrac{dy}{dx} = -\sec^2\left(\dfrac{\pi}{4} - x\right) \), which is option (A).

➕ More Examples

More Examples

Example 1

Question: If \( y = \dfrac{\sin x + \cos x}{\cos x - \sin x} \), find \( \dfrac{dy}{dx} \). (A) \( \sec^2\!\left(\dfrac{\pi}{4} + x\right) \) (B) \( -\sec^2\!\left(\dfrac{\pi}{4} + x\right) \) (C) \( \sec^2\!\left(\dfrac{\pi}{4} - x\right) \) (D) \( -\sec^2\!\left(\dfrac{\pi}{4} - x\right) \)

Solution: Step 1: Divide both numerator and denominator by \( \cos x \) (assuming \( \cos x \ne 0 \)): \[ y = \frac{\tan x + 1}{1 - \tan x} \] Step 2: Recognise the tangent addition formula \( \tan(A + B) = \dfrac{\tan A + \tan B}{1 - \tan A \tan B} \). With \( A = \dfrac{\pi}{4} \) and \( B = x \): \[ y = \tan\!\left(\frac{\pi}{4} + x\right) \] Step 3: Differentiate with respect to \( x \): \[ \frac{dy}{dx} = \sec^2\!\left(\frac{\pi}{4} + x\right) \cdot \frac{d}{dx}\!\left(\frac{\pi}{4} + x\right) \] Since \( \dfrac{d}{dx}\!\left(\dfrac{\pi}{4} + x\right) = 1 \): \[ \frac{dy}{dx} = \sec^2\!\left(\frac{\pi}{4} + x\right) \] Option (A) is correct.

Answer: (A) \( \sec^2\!\left(\dfrac{\pi}{4} + x\right) \)

Example 2

Question: If \( y = \log\!\left|\,\cos x + \sin x\,\right| \), find \( \dfrac{dy}{dx} \). (A) \( \cot x - \tan x \) (B) \( \tan\!\left(\dfrac{\pi}{4} + x\right) \) (C) \( 1 - \tan x \) (D) \( \dfrac{\cos x - \sin x}{\cos x + \sin x} \)

Solution: Step 1: Differentiate using the chain rule. Let \( u = \cos x + \sin x \), so \( y = \log|u| \): \[ \frac{dy}{dx} = \frac{1}{u} \cdot \frac{du}{dx} \] Step 2: Find \( \dfrac{du}{dx} \): \[ \frac{du}{dx} = -\sin x + \cos x = \cos x - \sin x \] Step 3: Substitute back: \[ \frac{dy}{dx} = \frac{\cos x - \sin x}{\cos x + \sin x} \] Step 4: Verify the match with another option. Dividing numerator and denominator by \( \cos x \): \[ \frac{dy}{dx} = \frac{1 - \tan x}{1 + \tan x} \] Using the tangent difference formula with \( A = \dfrac{\pi}{4} \), \( B = x \): \[ \frac{1 - \tan x}{1 + \tan x} = \tan\!\left(\frac{\pi}{4} - x\right) \] Among the given options, Option (D) directly matches the unsimplified form: \[ \frac{dy}{dx} = \frac{\cos x - \sin x}{\cos x + \sin x} \] Option (D) is correct.

Answer: (D) \( \dfrac{\cos x - \sin x}{\cos x + \sin x} \)

🎯 Try a Similar Question

Try a Similar Question

Question: If \( y = \dfrac{\sin x + \cos x}{\cos x - \sin x} \), then \( \dfrac{dy}{dx} \) is: (A) \( -\sec^2\left(\dfrac{\pi}{4} + x\right) \) (B) \( \sec^2\left(\dfrac{\pi}{4} + x\right) \) (C) \( \log\left|\sec\left(\dfrac{\pi}{4} + x\right)\right| \) (D) \( -\log\left|\sec\left(\dfrac{\pi}{4} + x\right)\right| \)

Solution

  1. Step 1: Rewrite y using a trigonometric identity: We write the numerator and denominator by dividing both by \( \cos x \) (assuming \( \cos x \ne 0 \)): Numerator: \( \sin x + \cos x \) Denominator: \( \cos x - \sin x \) Dividing both by \( \cos x \): \[ y = \frac{\tan x + 1}{1 - \tan x} \]
  2. Step 2: Recognise the standard tangent addition identity: Recall the tangent addition formula: \( \tan(A + B) = \dfrac{\tan A + \tan B}{1 - \tan A \tan B} \) Setting \( A = \dfrac{\pi}{4} \) and \( B = x \), we get \( \tan\dfrac{\pi}{4} = 1 \), so: \[ \tan\left(\frac{\pi}{4} + x\right) = \frac{1 + \tan x}{1 - \tan x} \] Therefore: \[ y = \tan\left(\frac{\pi}{4} + x\right) \]
  3. Step 3: Differentiate using the chain rule: Since \( y = \tan\left(\dfrac{\pi}{4} + x\right) \), differentiate with respect to \( x \): \[ \frac{dy}{dx} = \sec^2\left(\frac{\pi}{4} + x\right) \cdot \frac{d}{dx}\left(\frac{\pi}{4} + x\right) \] Now, \( \dfrac{d}{dx}\left(\dfrac{\pi}{4} + x\right) = 1 \), so: \[ \frac{dy}{dx} = \sec^2\left(\frac{\pi}{4} + x\right) \]
  4. Step 4: State the final answer: Therefore: \[ \frac{dy}{dx} = \sec^2\left(\frac{\pi}{4} + x\right) \] This corresponds to option (B).

Answer: \( \dfrac{dy}{dx} = \sec^2\left(\dfrac{\pi}{4} + x\right) \), which is option (B).

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/4/1 2026 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24 65/2/3 2026 / Section B Q23