SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 12 Q1(iv)

Find the derivative of the following functions from first principle: \(cos(x-\dfrac{\pi}{8})\)

CBSE Class 11 Maths · Limits and Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine a wave on the ocean moving sideways a little. The function \( \cos\left(x - \frac{\pi}{8}\right) \) is just a regular cosine wave shifted slightly to the right. Finding its derivative means asking how fast the wave is rising or falling at any point. The answer turns out to be a sine wave with a minus sign, because cosine and sine are closely related — one is like the shadow of the other. That tiny shift \( \frac{\pi}{8} \) just travels along for the ride and stays in the answer unchanged.

Answer: \[f'(x) = -\sin\left(x - \frac{\pi}{8}\right)\]

📖 Derivative of cos(x - π/8) from First Principles

Detailed Explanation

The derivative from first principles is based directly on the limit definition of the derivative. For any function \( f(x) \), the derivative is the limit of the average rate of change as the interval shrinks to zero. When the function involves cosine, we use the difference formula \( \cos C - \cos D = -2\sin\left(\frac{C+D}{2}\right)\sin\left(\frac{C-D}{2}\right) \) to simplify the numerator, and then use the standard limit \( \lim_{\theta \to 0} \frac{\sin\theta}{\theta} = 1 \). Here our function is \( f(x) = \cos\left(x - \frac{\pi}{8}\right) \), a horizontally shifted cosine. The shift does not change the method — we simply carry the constant \( \frac{\pi}{8} \) through the computation.

Formula Used

First principle: \[f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}\] Cosine difference: \[\cos C - \cos D = -2\sin\left(\frac{C+D}{2}\right)\sin\left(\frac{C-D}{2}\right)\] Standard limit: \[\lim_{\theta \to 0} \frac{\sin\theta}{\theta} = 1\]

Solution

  1. Step 1: Let \( f(x) = \cos\left(x - \frac{\pi}{8}\right) \). Then replacing \( x \) by \( x + h \) gives \( f(x + h) = \cos\left(x + h - \frac{\pi}{8}\right) \). Write down the first principle definition: \[f'(x) = \lim_{h \to 0} \frac{\cos\left(x + h - \frac{\pi}{8}\right) - \cos\left(x - \frac{\pi}{8}\right)}{h}\]
  2. Step 2: The numerator is a difference of two cosines, so apply the identity with \( C = x + h - \frac{\pi}{8} \) and \( D = x - \frac{\pi}{8} \). Compute the two required averages: \[\frac{C + D}{2} = x + \frac{h}{2} - \frac{\pi}{8}\] \[\frac{C - D}{2} = \frac{h}{2}\]
  3. Step 3: Substitute into the cosine difference formula: \[\cos C - \cos D = -2\sin\left(x + \frac{h}{2} - \frac{\pi}{8}\right)\sin\left(\frac{h}{2}\right)\] So the derivative becomes \[f'(x) = \lim_{h \to 0} \frac{-2\sin\left(x + \frac{h}{2} - \frac{\pi}{8}\right)\sin\left(\frac{h}{2}\right)}{h}\]
  4. Step 4: To use the standard limit, rewrite \( \frac{\sin\left(\frac{h}{2}\right)}{h} \) as \( \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}} \cdot \frac{1}{2} \). This gives \[f'(x) = \lim_{h \to 0} \left[ -2 \cdot \frac{1}{2} \cdot \sin\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \cdot \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}} \right]\] \[f'(x) = \lim_{h \to 0} \left[ -\sin\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \cdot \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}} \right]\]
  5. Step 5: Now apply the limit as \( h \to 0 \). Since \( \frac{h}{2} \to 0 \), we have \( \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}} \to 1 \), and \( \sin\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \to \sin\left(x - \frac{\pi}{8}\right) \). Therefore \[f'(x) = -\sin\left(x - \frac{\pi}{8}\right) \cdot 1\]

Final Answer

\[f'(x) = -\sin\left(x - \frac{\pi}{8}\right)\]

Common Mistake

A very common error is forgetting the factor of \( \frac{1}{2} \) that appears when converting \( \frac{\sin\left(\frac{h}{2}\right)}{h} \) into \( \frac{\sin\left(\frac{h}{2}\right)}{\frac{h}{2}} \cdot \frac{1}{2} \). Students who miss this leave an extra \( 2 \) in the answer. Remember the \( -2 \) from the identity combines with this \( \frac{1}{2} \) to give exactly \( -1 \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the function and write the first-principles setup. Here \( f(x) = \cos\!\left(x - \frac{\pi}{8}\right) \), so replacing \( x \) with \( x + h \) gives \( f(x + h) = \cos\!\left(x + h - \frac{\pi}{8}\right) \). Substituting into the definition: \[f'(x) = \lim_{h \to 0} \frac{\cos\!\left(x + h - \frac{\pi}{8}\right) - \cos\!\left(x - \frac{\pi}{8}\right)}{h}\] Reason: This is the mandatory starting point for any first-principles derivation — we must not use shortcut rules.
  2. Step 2: Label the two cosine arguments so the identity is easier to apply. Set \( C = x + h - \frac{\pi}{8} \) and \( D = x - \frac{\pi}{8} \). Reason: Naming the arguments clearly prevents errors when computing the half-sum and half-difference needed by the identity.
  3. Step 3: Compute the two averages required by the cosine difference identity. Half-sum: \[\frac{C + D}{2} = \frac{\left(x + h - \frac{\pi}{8}\right) + \left(x - \frac{\pi}{8}\right)}{2} = x + \frac{h}{2} - \frac{\pi}{8}\] Half-difference: \[\frac{C - D}{2} = \frac{\left(x + h - \frac{\pi}{8}\right) - \left(x - \frac{\pi}{8}\right)}{2} = \frac{h}{2}\] Reason: The identity needs these two quantities explicitly before we can rewrite the numerator.
  4. Step 4: Apply the cosine difference-to-product identity to the numerator. \[\cos C - \cos D = -2\sin\!\left(x + \frac{h}{2} - \frac{\pi}{8}\right)\sin\!\left(\frac{h}{2}\right)\] So the limit becomes: \[f'(x) = \lim_{h \to 0} \frac{-2\sin\!\left(x + \frac{h}{2} - \frac{\pi}{8}\right)\sin\!\left(\frac{h}{2}\right)}{h}\] Reason: The identity converts a difference of cosines into a product, which is the key algebraic move that makes the standard sine limit usable.
  5. Step 5: Rewrite the fraction by splitting \( h \) to isolate the sine-over-angle form. Multiply and divide by \( \frac{1}{2} \): \[f'(x) = \lim_{h \to 0} \left[ -2\sin\!\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \cdot \frac{\sin\!\left(\frac{h}{2}\right)}{h} \right]\] Rewrite the last factor as: \[\frac{\sin\!\left(\frac{h}{2}\right)}{h} = \frac{1}{2} \cdot \frac{\sin\!\left(\frac{h}{2}\right)}{\frac{h}{2}}\] So: \[f'(x) = \lim_{h \to 0} \left[ -2 \cdot \frac{1}{2} \cdot \sin\!\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \cdot \frac{\sin\!\left(\frac{h}{2}\right)}{\frac{h}{2}} \right]\] Reason: We need the ratio \( \frac{\sin\theta}{\theta} \) with the same expression in both numerator and denominator so the standard limit applies.
  6. Step 6: Evaluate the limit as \( h \to 0 \). As \( h \to 0 \), the variable \( \frac{h}{2} \to 0 \) as well, so by the standard limit \( \lim_{\theta \to 0} \frac{\sin\theta}{\theta} = 1 \): \[\lim_{h \to 0} \frac{\sin\!\left(\frac{h}{2}\right)}{\frac{h}{2}} = 1\] Also, \( \sin\!\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \to \sin\!\left(x - \frac{\pi}{8}\right) \) as \( h \to 0 \). Therefore: \[f'(x) = -1 \cdot \sin\!\left(x - \frac{\pi}{8}\right) \cdot 1\] Reason: Substituting \( h = 0 \) is valid once we have removed the indeterminate \( \frac{0}{0} \) form using the identity and the standard limit.
  7. Step 7: Write the final result clearly. \[f'(x) = -\sin\!\left(x - \frac{\pi}{8}\right)\] Reason: This confirms the derivative of a horizontally shifted cosine is the negatively shifted sine — consistent with the chain rule result, which serves as a useful check.

Final Answer

\[f'(x) = -\sin\left(x - \frac{\pi}{8}\right)\]

Common Mistake

One common mistake: forgetting to introduce the factor of \( \frac{1}{2} \) when rewriting \( \frac{\sin(h/2)}{h} \) as \( \frac{1}{2} \cdot \frac{\sin(h/2)}{h/2} \), which leads to an incorrect coefficient of \( -2 \) instead of \( -1 \) in the final answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Apply first principles: \[f'(x) = \lim_{h \to 0} \frac{\cos\left(x + h - \frac{\pi}{8}\right) - \cos\left(x - \frac{\pi}{8}\right)}{h}\]
  2. Step 2: Apply \( \cos C - \cos D = -2\sin\!\left(\frac{C+D}{2}\right)\sin\!\left(\frac{C-D}{2}\right) \) with \( C = x + h - \frac{\pi}{8} \), \( D = x - \frac{\pi}{8} \): \[f'(x) = \lim_{h \to 0} \frac{-2\sin\!\left(x + \frac{h}{2} - \frac{\pi}{8}\right)\sin\!\left(\frac{h}{2}\right)}{h}\]
  3. Step 3: Rewrite using \( \frac{\sin(h/2)}{h/2} \to 1 \) as \( h \to 0 \): \[f'(x) = \lim_{h \to 0} \left[-\sin\!\left(x + \frac{h}{2} - \frac{\pi}{8}\right) \cdot \frac{\sin\!\left(\frac{h}{2}\right)}{\frac{h}{2}}\right] = -\sin\!\left(x - \frac{\pi}{8}\right)\]

Answer: \[f'(x) = -\sin\left(x - \frac{\pi}{8}\right)\]

➕ More Examples

More Examples

Example 1

Question: Find the derivative of \( f(x) = \sin\left(x + \dfrac{\pi}{6}\right) \) from first principles.

Solution: We use the first principle definition: \[f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\] Substituting \( f(x) = \sin\left(x + \dfrac{\pi}{6}\right) \): \[f'(x) = \lim_{h \to 0} \frac{\sin\left(x + h + \dfrac{\pi}{6}\right) - \sin\left(x + \dfrac{\pi}{6}\right)}{h}\] Applying the sum-to-product identity \( \sin A - \sin B = 2\cos\left(\dfrac{A+B}{2}\right)\sin\left(\dfrac{A-B}{2}\right) \) with \( A = x + h + \dfrac{\pi}{6} \) and \( B = x + \dfrac{\pi}{6} \): \[f'(x) = \lim_{h \to 0} \frac{2\cos\left(x + \dfrac{h}{2} + \dfrac{\pi}{6}\right)\sin\left(\dfrac{h}{2}\right)}{h}\] Rewriting \( \dfrac{1}{h} = \dfrac{1}{2} \cdot \dfrac{1}{h/2} \): \[f'(x) = \lim_{h \to 0} \cos\left(x + \frac{h}{2} + \frac{\pi}{6}\right) \cdot \frac{\sin\left(\dfrac{h}{2}\right)}{\dfrac{h}{2}}\] As \( h \to 0 \), we have \( \dfrac{h}{2} \to 0 \), so \( \dfrac{\sin(h/2)}{h/2} \to 1 \) and \( \cos\left(x + \dfrac{h}{2} + \dfrac{\pi}{6}\right) \to \cos\left(x + \dfrac{\pi}{6}\right) \). Therefore: \[f'(x) = \cos\left(x + \frac{\pi}{6}\right) \cdot 1 = \cos\left(x + \frac{\pi}{6}\right)\]

Answer: \( f'(x) = \cos\left(x + \dfrac{\pi}{6}\right) \)

Example 2

Question: Find the derivative of \( f(x) = \cos\left(2x + \dfrac{\pi}{4}\right) \) from first principles.

Solution: We use the first principle definition: \[f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\] Substituting \( f(x) = \cos\left(2x + \dfrac{\pi}{4}\right) \): \[f'(x) = \lim_{h \to 0} \frac{\cos\left(2(x+h) + \dfrac{\pi}{4}\right) - \cos\left(2x + \dfrac{\pi}{4}\right)}{h}\] This simplifies to: \[f'(x) = \lim_{h \to 0} \frac{\cos\left(2x + 2h + \dfrac{\pi}{4}\right) - \cos\left(2x + \dfrac{\pi}{4}\right)}{h}\] Applying the sum-to-product identity \( \cos A - \cos B = -2\sin\left(\dfrac{A+B}{2}\right)\sin\left(\dfrac{A-B}{2}\right) \) with \( A = 2x + 2h + \dfrac{\pi}{4} \) and \( B = 2x + \dfrac{\pi}{4} \): Here \( \dfrac{A+B}{2} = 2x + h + \dfrac{\pi}{4} \) and \( \dfrac{A-B}{2} = h \). So: \[f'(x) = \lim_{h \to 0} \frac{-2\sin\left(2x + h + \dfrac{\pi}{4}\right)\sin(h)}{h}\] Rewriting: \[f'(x) = \lim_{h \to 0} \left[-2\sin\left(2x + h + \frac{\pi}{4}\right) \cdot \frac{\sin(h)}{h}\right]\] As \( h \to 0 \), we have \( \dfrac{\sin h}{h} \to 1 \) and \( \sin\left(2x + h + \dfrac{\pi}{4}\right) \to \sin\left(2x + \dfrac{\pi}{4}\right) \). Therefore: \[f'(x) = -2\sin\left(2x + \frac{\pi}{4}\right) \cdot 1 = -2\sin\left(2x + \frac{\pi}{4}\right)\]

Answer: \( f'(x) = -2\sin\left(2x + \dfrac{\pi}{4}\right) \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the derivative of the function \( f(x) = \cos\left(x + \dfrac{\pi}{6}\right) \) from first principles.

Solution

  1. Step 1: Write the First Principles Definition: By definition, the derivative from first principles is \[f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}\] Substituting \( f(x) = \cos\left(x + \dfrac{\pi}{6}\right) \), we get \[f'(x) = \lim_{h \to 0} \frac{\cos\left(x + h + \dfrac{\pi}{6}\right) - \cos\left(x + \dfrac{\pi}{6}\right)}{h}\]
  2. Step 2: Apply the Sum-to-Product Identity: Use the identity \( \cos A - \cos B = -2\sin\left(\dfrac{A+B}{2}\right)\sin\left(\dfrac{A-B}{2}\right) \). Here, let \( A = x + h + \dfrac{\pi}{6} \) and \( B = x + \dfrac{\pi}{6} \). Then \[\frac{A + B}{2} = \frac{2x + h + \dfrac{\pi}{3}}{2} = x + \frac{h}{2} + \frac{\pi}{6}\] and \[\frac{A - B}{2} = \frac{h}{2}\] So the numerator becomes \[-2\sin\left(x + \frac{h}{2} + \frac{\pi}{6}\right)\sin\left(\frac{h}{2}\right)\]
  3. Step 3: Substitute Back and Simplify: The expression for the derivative becomes \[f'(x) = \lim_{h \to 0} \frac{-2\sin\left(x + \dfrac{h}{2} + \dfrac{\pi}{6}\right)\sin\left(\dfrac{h}{2}\right)}{h}\] Rewrite by multiplying and dividing by \( \dfrac{1}{2} \): \[f'(x) = \lim_{h \to 0} \left[-\sin\left(x + \frac{h}{2} + \frac{\pi}{6}\right) \cdot \frac{\sin\left(\dfrac{h}{2}\right)}{\dfrac{h}{2}}\right]\]
  4. Step 4: Apply the Standard Limit: Using the standard result \( \lim_{h \to 0} \dfrac{\sin\left(\dfrac{h}{2}\right)}{\dfrac{h}{2}} = 1 \), and as \( h \to 0 \), \( \sin\left(x + \dfrac{h}{2} + \dfrac{\pi}{6}\right) \to \sin\left(x + \dfrac{\pi}{6}\right) \), we get \[f'(x) = -\sin\left(x + \frac{\pi}{6}\right) \cdot 1\]
  5. Step 5: Write the Final Answer: Therefore, \[f'(x) = -\sin\left(x + \frac{\pi}{6}\right)\]

Answer: \[f'(x) = -\sin\left(x + \frac{\pi}{6}\right)\]

Everything you get with Solver7

More questions in Limits and Derivatives