Find the integrals of the functions in Exercises 1 to 22: \(\dfrac{1}{cos(x-a)cos(x-b)}\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine you have two clocks showing different times, but the gap between them never changes. This integral is like that — two cosine expressions whose difference is always a fixed number. We cleverly multiply by that fixed gap in a hidden form, then split one messy fraction into two simpler ones. Each simpler piece turns into an easy logarithm. Like untangling a knot by finding the right loose end, spotting the constant difference is the key that unlocks the whole problem.
Answer: \[ \int \frac{dx}{\cos(x-a)\cos(x-b)} = \frac{1}{\sin(b-a)} \log \left| \frac{\cos(x-b)}{\cos(x-a)} \right| + C. \]
The integrand \( \dfrac{1}{\cos(x-a)\cos(x-b)} \) cannot be integrated directly. The key idea is that the difference of the two angles, \( (x-a) - (x-b) = b - a \), is a constant. We multiply and divide by \( \sin(b-a) \) and then write \( \sin(b-a) \) as \( \sin[(x-a) - (x-b)] \). Expanding this using the sine difference formula creates two terms whose denominators cancel neatly, leaving simple \( \tan \) integrals.
\[ \sin(A - B) = \sin A \cos B - \cos A \sin B \] \[ \int \tan x \, dx = \log|\sec x| + C = -\log|\cos x| + C \]
\[ \int \frac{dx}{\cos(x-a)\cos(x-b)} = \frac{1}{\sin(b-a)} \log \left| \frac{\cos(x-b)}{\cos(x-a)} \right| + C. \]
A frequent error is writing \( b - a \) as \( (x-b) - (x-a) \) instead of \( (x-a) - (x-b) \), which flips the sign and gives the wrong ordering inside the logarithm. Also, students often forget the minus sign in \( \int \tan x \, dx = -\log|\cos x| \), leading to an incorrect final ratio.
\[ \int \frac{dx}{\cos(x-a)\cos(x-b)} = \frac{1}{\sin(b-a)} \log \left| \frac{\cos(x-b)}{\cos(x-a)} \right| + C. \]
One common mistake: writing \( \sin(b - a) \) as \( \sin(a - b) \) — these differ by a sign, so the final answer would carry the wrong sign; always define the constant carefully and keep track of the order of subtraction.
Answer: \[ \int \frac{dx}{\cos(x-a)\cos(x-b)} = \frac{1}{\sin(b-a)} \log \left| \frac{\cos(x-b)}{\cos(x-a)} \right| + C. \]
Question: Find the integral: \[\int \frac{1}{\sin(x - a)\sin(x - b)} \, dx\]
Solution: We want to evaluate \(\int \frac{1}{\sin(x-a)\sin(x-b)} \, dx\). Multiply and divide the numerator by \(\sin(b - a)\) (assuming \(a \ne b\)): \[\int \frac{1}{\sin(x-a)\sin(x-b)} \, dx = \frac{1}{\sin(b-a)} \int \frac{\sin(b-a)}{\sin(x-a)\sin(x-b)} \, dx\] Now write \(\sin(b - a) = \sin[(x - a) - (x - b)]\) and expand using the sine subtraction formula: \[\sin(b - a) = \sin(x - a)\cos(x - b) - \cos(x - a)\sin(x - b)\] Substituting: \[\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: \[= \frac{1}{\sin(b-a)} \int \left[\frac{\cos(x-b)}{\sin(x-b)} - \frac{\cos(x-a)}{\sin(x-a)}\right] dx\] Each part is a standard cot integral: \[= \frac{1}{\sin(b-a)} \int \left[\cot(x-b) - \cot(x-a)\right] dx\] Integrating term by term: \[= \frac{1}{\sin(b-a)} \left[\ln|\sin(x-b)| - \ln|\sin(x-a)|\right] + C\] Using the log quotient rule: \[= \frac{1}{\sin(b-a)} \ln\left|\frac{\sin(x-b)}{\sin(x-a)}\right| + C\]
Answer: \(\dfrac{1}{\sin(b-a)} \ln\left|\dfrac{\sin(x-b)}{\sin(x-a)}\right| + C\)
Question: Find the integral: \[\int \frac{1}{\sin(x - a)\cos(x - b)} \, dx\]
Solution: We want to evaluate \(\int \frac{1}{\sin(x-a)\cos(x-b)} \, dx\). Multiply and divide by \(\cos(a - b)\) (assuming \(a - b \ne \frac{\pi}{2}\)): \[\int \frac{1}{\sin(x-a)\cos(x-b)} \, dx = \frac{1}{\cos(a-b)} \int \frac{\cos(a-b)}{\sin(x-a)\cos(x-b)} \, dx\] Write \(\cos(a - b) = \cos[(x - b) - (x - a)]\) and expand: \[\cos(a - b) = \cos(x - b)\cos(x - a) + \sin(x - b)\sin(x - a)\] Substituting: \[\frac{1}{\cos(a-b)} \int \frac{\cos(x-b)\cos(x-a) + \sin(x-b)\sin(x-a)}{\sin(x-a)\cos(x-b)} \, dx\] Split the fraction: \[= \frac{1}{\cos(a-b)} \int \left[\frac{\cos(x-a)}{\sin(x-a)} + \frac{\sin(x-b)}{\cos(x-b)}\right] dx\] Simplify each term: \[= \frac{1}{\cos(a-b)} \int \left[\cot(x-a) + \tan(x-b)\right] dx\] Integrating term by term: \[= \frac{1}{\cos(a-b)} \left[\ln|\sin(x-a)| - \ln|\cos(x-b)|\right] + C\] Using the log quotient rule: \[= \frac{1}{\cos(a-b)} \ln\left|\frac{\sin(x-a)}{\cos(x-b)}\right| + C\]
Answer: \(\dfrac{1}{\cos(a-b)} \ln\left|\dfrac{\sin(x-a)}{\cos(x-b)}\right| + C\)
Question: Find the integral of the function \( \dfrac{1}{\sin(x-a)\sin(x-b)} \).
Answer: \[ \int \frac{dx}{\sin(x-a)\sin(x-b)} = \frac{1}{\sin(b-a)} \log\left| \frac{\sin(x-b)}{\sin(x-a)} \right| + C \]