Integrate the functions in Exercises 1 to 23 \(\dfrac{1}{cos(x+a)cos(x+b)}\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine you have a locked box and need a special key to open it. The integral here is like that locked box — it looks complicated with two cosine terms multiplied together. The trick is to secretly multiply by a clever number (and divide by the same number, so nothing changes). This sneaky move lets the top part split into two simpler pieces. Each simpler piece is easy to integrate on its own, just like unlocking two small boxes instead of one big tricky one.
Answer: \[ \int \frac{1}{\cos(x+a)\cos(x+b)} \, dx = \frac{1}{\sin(a-b)} \log \left| \frac{\cos(x+b)}{\cos(x+a)} \right| + C \]
The integrand \( \dfrac{1}{\cos(x+a)\cos(x+b)} \) does not fit any standard formula directly. The key idea is to create a term in the numerator that lets us split the fraction. We multiply and divide by \( \sin(a-b) \), a constant, and then write \( \sin(a-b) \) as \( \sin\big((x+a)-(x+b)\big) \). Expanding this using the sine difference formula produces terms that cancel neatly against the denominator, leaving us with \( \tan(x+a) - \tan(x+b) \), both of which are easy to integrate.
\[ \sin(A - B) = \sin A \cos B - \cos A \sin B \] \[ \int \tan x \, dx = -\log|\cos x| + C \]
\[ \int \frac{1}{\cos(x+a)\cos(x+b)} \, dx = \frac{1}{\sin(a-b)} \log \left| \frac{\cos(x+b)}{\cos(x+a)} \right| + C \]
A frequent error is writing \( a-b = (x+b)-(x+a) \) by mistake, which flips the sign and gives \( \sin(b-a) \) instead of \( \sin(a-b) \). Always make the numerator's angle difference match the constant \( a-b \) exactly, and keep track of which cosine ends up on top in the final logarithm.
\[ \int \frac{1}{\cos(x+a)\cos(x+b)} \, dx = \frac{1}{\sin(a-b)} \log \left| \frac{\cos(x+b)}{\cos(x+a)} \right| + C \]
One common mistake: Students sometimes write \( \sin(a-b) \) as \( \sin(b-a) \) or mix up which cosine goes in the numerator versus the denominator of the final log expression — always track the sign carefully when expanding \( \sin((x+a)-(x+b)) \), as reversing the subtraction would flip the fraction inside the logarithm and change the sign of the entire result.
Answer: \[ \int \frac{1}{\cos(x+a)\cos(x+b)} \, dx = \frac{1}{\sin(a-b)} \log \left| \frac{\cos(x+b)}{\cos(x+a)} \right| + C \]
Question: Evaluate \(\int \frac{1}{\cos(x+\alpha)\cos(x+\beta)} \, dx\), where \(\alpha \ne \beta\).
Solution: Let \(I = \int \frac{1}{\cos(x+\alpha)\cos(x+\beta)} \, dx\). Multiply and divide by \(\sin(\alpha - \beta)\), which is a non-zero constant: \[I = \frac{1}{\sin(\alpha-\beta)} \int \frac{\sin(\alpha-\beta)}{\cos(x+\alpha)\cos(x+\beta)} \, dx\] Now write \(\sin(\alpha - \beta) = \sin[(x+\alpha)-(x+\beta)]\) and expand using the sine-difference identity: \[\sin(\alpha-\beta) = \sin(x+\alpha)\cos(x+\beta) - \cos(x+\alpha)\sin(x+\beta)\] Substituting: \[I = \frac{1}{\sin(\alpha-\beta)} \int \frac{\sin(x+\alpha)\cos(x+\beta) - \cos(x+\alpha)\sin(x+\beta)}{\cos(x+\alpha)\cos(x+\beta)} \, dx\] Splitting the fraction: \[I = \frac{1}{\sin(\alpha-\beta)} \int \left[\frac{\sin(x+\alpha)}{\cos(x+\alpha)} - \frac{\sin(x+\beta)}{\cos(x+\beta)}\right] dx\] This simplifies to: \[I = \frac{1}{\sin(\alpha-\beta)} \int \left[\tan(x+\alpha) - \tan(x+\beta)\right] dx\] Integrating term by term: \[I = \frac{1}{\sin(\alpha-\beta)} \left[-\ln|\cos(x+\alpha)| + \ln|\cos(x+\beta)|\right] + C\] Using log properties: \[I = \frac{1}{\sin(\alpha-\beta)} \ln\left|\frac{\cos(x+\beta)}{\cos(x+\alpha)}\right| + C\]
Answer: \(\dfrac{1}{\sin(\alpha-\beta)} \ln\left|\dfrac{\cos(x+\beta)}{\cos(x+\alpha)}\right| + C\)
Question: Evaluate \(\int \frac{1}{\sin(x+p)\sin(x+q)} \, dx\), where \(p \ne q\).
Solution: Let \(I = \int \frac{1}{\sin(x+p)\sin(x+q)} \, dx\). Multiply and divide by \(\sin(p - q)\), a non-zero constant: \[I = \frac{1}{\sin(p-q)} \int \frac{\sin(p-q)}{\sin(x+p)\sin(x+q)} \, dx\] Write \(\sin(p-q) = \sin[(x+p)-(x+q)]\) and expand: \[\sin(p-q) = \sin(x+p)\cos(x+q) - \cos(x+p)\sin(x+q)\] Substituting: \[I = \frac{1}{\sin(p-q)} \int \frac{\sin(x+p)\cos(x+q) - \cos(x+p)\sin(x+q)}{\sin(x+p)\sin(x+q)} \, dx\] Splitting the fraction: \[I = \frac{1}{\sin(p-q)} \int \left[\frac{\cos(x+q)}{\sin(x+q)} - \frac{\cos(x+p)}{\sin(x+p)}\right] dx\] This simplifies to: \[I = \frac{1}{\sin(p-q)} \int \left[\cot(x+q) - \cot(x+p)\right] dx\] Integrating term by term: \[I = \frac{1}{\sin(p-q)} \left[\ln|\sin(x+q)| - \ln|\sin(x+p)|\right] + C\] Using log properties: \[I = \frac{1}{\sin(p-q)} \ln\left|\frac{\sin(x+q)}{\sin(x+p)}\right| + C\]
Answer: \(\dfrac{1}{\sin(p-q)} \ln\left|\dfrac{\sin(x+q)}{\sin(x+p)}\right| + C\)
Question: Integrate the function \( \dfrac{1}{\sin(x+a)\sin(x+b)} \) with respect to \( x \), where \( a \ne b \).
Answer: \[ \int \frac{1}{\sin(x+a)\sin(x+b)} \, dx = \frac{1}{\sin(a-b)} \log\left| \frac{\sin(x+b)}{\sin(x+a)} \right| + C \]