Find : \(\int\dfrac{1}{cos(x-a)\ cos(x-b)}dx\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine two doors blocking your path, and you cannot open them together. The trick is to sneak in a clever number — one that turns two locked doors into two separate, easy-to-open ones. Here, the two cosine terms are like those doors. A special identity quietly swaps the hard product into a difference of two tangents. Each tangent is easy to integrate on its own, giving a logarithm answer. The final result looks neat and clean once everything simplifies.
Answer: \[ \int \frac{1}{\cos(x-a)\cos(x-b)} \, dx = \frac{1}{\sin(a-b)} \log\left| \frac{\cos(x-a)}{\cos(x-b)} \right| + C. \]
When the denominator is a product like \( \cos(x-a)\cos(x-b) \), we cannot integrate directly. The key trick is to create a difference of the two angles in the numerator so that the product can be split into a difference of tangents. Notice that the difference of angles \( (x-b) - (x-a) = a - b \) is a constant. We use the identity for \( \sin \) of a difference to break the fraction into two simple terms, each of which integrates into a logarithm of secant (or cosine).
Key identity: \( \sin(A - B) = \sin A \cos B - \cos A \sin B \). Also \( \int \tan x \, dx = \log|\sec x| + C = -\log|\cos x| + C \).
\[ \int \frac{1}{\cos(x-a)\cos(x-b)} \, dx = \frac{1}{\sin(a-b)} \log\left| \frac{\cos(x-a)}{\cos(x-b)} \right| + C. \]
A common mistake is to multiply and divide by \( \cos(a-b) \) instead of \( \sin(a-b) \), or to forget that \( a-b \) can be split as \( (x-b)-(x-a) \). Using the cosine expansion will not let the fraction split neatly into tangents.
\[ \int \frac{1}{\cos(x-a)\cos(x-b)} \, dx = \frac{1}{\sin(a-b)} \log\left| \frac{\cos(x-a)}{\cos(x-b)} \right| + C. \]
One common mistake: Students often forget to multiply and divide by \( \sin(a-b) \) at the very first step, and instead try to apply partial fractions or other methods that do not simplify the product of cosines — always look for the hidden constant angle \( a - b \) and introduce it deliberately in the numerator.
Answer: \[ \int \frac{1}{\cos(x-a)\cos(x-b)} \, dx = \frac{1}{\sin(a-b)} \log\left| \frac{\cos(x-a)}{\cos(x-b)} \right| + C. \]
Question: Find \[ \int \frac{1}{\sin(x-a)\sin(x-b)} \, dx \]
Solution: We want to evaluate \[ I = \int \frac{1}{\sin(x-a)\sin(x-b)} \, dx. \] Multiply and divide by \( \sin(b - a) \) (assuming \( a \ne b \), so \( \sin(b-a) \ne 0 \)): \[ I = \frac{1}{\sin(b-a)} \int \frac{\sin(b-a)}{\sin(x-a)\sin(x-b)} \, dx. \] Write \( \sin(b - a) = \sin[(x - a) - (x - b)] \) and expand using the sine subtraction formula \( \sin(P - Q) = \sin P \cos Q - \cos P \sin Q \): \[ \sin(b-a) = \sin(x-a)\cos(x-b) - \cos(x-a)\sin(x-b). \] Substituting: \[ I = \frac{1}{\sin(b-a)} \int \frac{\sin(x-a)\cos(x-b) - \cos(x-a)\sin(x-b)}{\sin(x-a)\sin(x-b)} \, dx. \] Split the fraction: \[ I = \frac{1}{\sin(b-a)} \int \left[ \frac{\cos(x-b)}{\sin(x-b)} - \frac{\cos(x-a)}{\sin(x-a)} \right] dx. \] Each term is of the form \( \frac{\cos u}{\sin u} = \cot u \), and \( \int \cot u \, du = \ln|\sin u| + C \). Therefore: \[ I = \frac{1}{\sin(b-a)} \left[ \ln|\sin(x-b)| - \ln|\sin(x-a)| \right] + C. \] Using logarithm properties: \[ I = \frac{1}{\sin(b-a)} \ln\left|\frac{\sin(x-b)}{\sin(x-a)}\right| + C. \]
Answer: \[ \frac{1}{\sin(b-a)} \ln\left|\frac{\sin(x-b)}{\sin(x-a)}\right| + C \]
Question: Find \[ \int \frac{1}{\sin(x-a)\cos(x-b)} \, dx \]
Solution: We want to evaluate \[ I = \int \frac{1}{\sin(x-a)\cos(x-b)} \, dx. \] Multiply and divide by \( \cos(b - a) \) (assuming \( \cos(b-a) \ne 0 \)): \[ I = \frac{1}{\cos(b-a)} \int \frac{\cos(b-a)}{\sin(x-a)\cos(x-b)} \, dx. \] Write \( \cos(b - a) = \cos[(x-a) - (x-b)] \) and expand using \( \cos(P - Q) = \cos P \cos Q + \sin P \sin Q \): \[ \cos(b-a) = \cos(x-a)\cos(x-b) + \sin(x-a)\sin(x-b). \] Substituting: \[ I = \frac{1}{\cos(b-a)} \int \frac{\cos(x-a)\cos(x-b) + \sin(x-a)\sin(x-b)}{\sin(x-a)\cos(x-b)} \, dx. \] Split the fraction into two terms: \[ I = \frac{1}{\cos(b-a)} \int \left[ \frac{\cos(x-a)}{\sin(x-a)} + \frac{\sin(x-b)}{\cos(x-b)} \right] dx. \] The first term is \( \cot(x-a) \) and integrates to \( \ln|\sin(x-a)| \); the second term is \( \tan(x-b) \) and integrates to \( -\ln|\cos(x-b)| \) (since \( \int \tan u \, du = -\ln|\cos u| + C \)): \[ I = \frac{1}{\cos(b-a)} \left[ \ln|\sin(x-a)| - \ln|\cos(x-b)| \right] + C. \] Using logarithm properties: \[ I = \frac{1}{\cos(b-a)} \ln\left|\frac{\sin(x-a)}{\cos(x-b)}\right| + C. \]
Answer: \[ \frac{1}{\cos(b-a)} \ln\left|\frac{\sin(x-a)}{\cos(x-b)}\right| + C \]
Question: Find: \[ \int \frac{1}{\sin(x-a)\sin(x-b)} \, dx \]
Answer: \[ \int \frac{1}{\sin(x-a)\sin(x-b)} \, dx = \frac{1}{\sin(a-b)} \log\left| \frac{\sin(x-a)}{\sin(x-b)} \right| + C \]