SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 7 Q11

Integrate the functions in Exercises 1 to 23 \(\dfrac{1}{cos(x+a)cos(x+b)}\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

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 \]

📖 Integrating 1/[cos(x+a)cos(x+b)]

Detailed Explanation

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.

Formula Used

\[ \sin(A - B) = \sin A \cos B - \cos A \sin B \] \[ \int \tan x \, dx = -\log|\cos x| + C \]

Solution

  1. Step 1: Let \( I = \int \dfrac{1}{\cos(x+a)\cos(x+b)} \, dx \). Since \( a \) and \( b \) are constants, \( \sin(a-b) \) is also a constant. Multiply and divide the integrand by \( \sin(a-b) \): \[ I = \frac{1}{\sin(a-b)} \int \frac{\sin(a-b)}{\cos(x+a)\cos(x+b)} \, dx \]
  2. Step 2: Rewrite the constant angle \( a-b \) as a difference of the two angles that appear in the denominator: \[ a - b = (x+a) - (x+b) \] So \( \sin(a-b) = \sin\big((x+a) - (x+b)\big) \).
  3. Step 3: Expand using \( \sin(A-B) = \sin A \cos B - \cos A \sin B \) with \( A = x+a \) and \( B = x+b \): \[ \sin(a-b) = \sin(x+a)\cos(x+b) - \cos(x+a)\sin(x+b) \]
  4. Step 4: Substitute this back into the integral: \[ I = \frac{1}{\sin(a-b)} \int \frac{\sin(x+a)\cos(x+b) - \cos(x+a)\sin(x+b)}{\cos(x+a)\cos(x+b)} \, dx \]
  5. Step 5: Split the fraction into two parts and cancel common factors. The first term cancels \( \cos(x+b) \) and the second cancels \( \cos(x+a) \): \[ I = \frac{1}{\sin(a-b)} \int \left( \frac{\sin(x+a)}{\cos(x+a)} - \frac{\sin(x+b)}{\cos(x+b)} \right) dx \] This gives \[ I = \frac{1}{\sin(a-b)} \int \big( \tan(x+a) - \tan(x+b) \big) \, dx \]
  6. Step 6: Integrate each tangent using \( \int \tan x \, dx = -\log|\cos x| \): \[ I = \frac{1}{\sin(a-b)} \Big( -\log|\cos(x+a)| + \log|\cos(x+b)| \Big) + C \]
  7. Step 7: Combine the logarithms using \( \log m - \log n = \log\dfrac{m}{n} \): \[ I = \frac{1}{\sin(a-b)} \log \left| \frac{\cos(x+b)}{\cos(x+a)} \right| + C \]

Final 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 \]

Common Mistake

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.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Define the integral and identify the strategy. Let \[ I = \int \frac{1}{\cos(x+a)\cos(x+b)} \, dx \] The integrand does not match any standard form directly. Since \( a \) and \( b \) are constants, \( \sin(a-b) \) is also a non-zero constant. We multiply and divide the integrand by this constant: \[ I = \frac{1}{\sin(a-b)} \int \frac{\sin(a-b)}{\cos(x+a)\cos(x+b)} \, dx \] — Reason: Introducing \( \sin(a-b) \) in the numerator sets up a key algebraic rewriting in the next step without changing the value of the integral.
  2. Step 2: Rewrite the angle difference inside sine. Notice that \( a - b = (x+a) - (x+b) \), so we can write \[ \sin(a-b) = \sin\big((x+a)-(x+b)\big) \] — Reason: Expressing the constant difference as a difference of the two angles appearing in the denominator allows us to expand using the sine subtraction identity.
  3. Step 3: Expand using the sine subtraction formula. Apply \( \sin(A - B) = \sin A \cos B - \cos A \sin B \) with \( A = x+a \) and \( B = x+b \): \[ \sin(a-b) = \sin(x+a)\cos(x+b) - \cos(x+a)\sin(x+b) \] Substitute this into the integral: \[ I = \frac{1}{\sin(a-b)} \int \frac{\sin(x+a)\cos(x+b) - \cos(x+a)\sin(x+b)}{\cos(x+a)\cos(x+b)} \, dx \] — Reason: Breaking up \( \sin(a-b) \) into two terms creates a numerator that can be split across the denominator product.
  4. Step 4: Split the fraction into two separate terms. Divide the numerator term by term over the denominator: \[ I = \frac{1}{\sin(a-b)} \int \left( \frac{\sin(x+a)\cos(x+b)}{\cos(x+a)\cos(x+b)} - \frac{\cos(x+a)\sin(x+b)}{\cos(x+a)\cos(x+b)} \right) dx \] Cancel the common factors in each fraction: \[ I = \frac{1}{\sin(a-b)} \int \left( \frac{\sin(x+a)}{\cos(x+a)} - \frac{\sin(x+b)}{\cos(x+b)} \right) dx \] — Reason: Cancellation reduces each term to a simple ratio of sine over cosine, which is just \( \tan \).
  5. Step 5: Recognise the tangent form. Write each ratio using the tangent function: \[ I = \frac{1}{\sin(a-b)} \int \big( \tan(x+a) - \tan(x+b) \big) \, dx \] — Reason: Identifying the terms as tangent functions allows us to directly apply the standard integral formula \( \int \tan u \, du = -\log|\cos u| + C \).
  6. Step 6: Integrate each term separately. Using \( \int \tan(x+a) \, dx = -\log|\cos(x+a)| + C \) and \( \int \tan(x+b) \, dx = -\log|\cos(x+b)| + C \): \[ I = \frac{1}{\sin(a-b)} \Big[ -\log|\cos(x+a)| + \log|\cos(x+b)| \Big] + C \] — Reason: Each tangent integral is a standard result; we apply them directly to both terms.
  7. Step 7: Combine the logarithms using the log quotient rule. Using \( \log P - \log Q = \log\left|\dfrac{P}{Q}\right| \): \[ I = \frac{1}{\sin(a-b)} \log \left| \frac{\cos(x+b)}{\cos(x+a)} \right| + C \] — Reason: Combining the two logarithm terms into a single log expression gives the final compact form of the answer.

Final 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 \]

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \( I = \int \dfrac{1}{\cos(x+a)\cos(x+b)} \, dx \). Multiply and divide by \( \sin(a-b) \): \[ I = \frac{1}{\sin(a-b)} \int \frac{\sin(a-b)}{\cos(x+a)\cos(x+b)} \, dx \]
  2. Step 2: Write \( \sin(a-b) = \sin\big((x+a)-(x+b)\big) = \sin(x+a)\cos(x+b) - \cos(x+a)\sin(x+b) \), then split: \[ I = \frac{1}{\sin(a-b)} \int \left[ \frac{\sin(x+a)}{\cos(x+a)} - \frac{\sin(x+b)}{\cos(x+b)} \right] dx = \frac{1}{\sin(a-b)} \int \big[\tan(x+a) - \tan(x+b)\big] \, dx \]
  3. Step 3: Integrate using \( \int \tan u \, du = -\log|\cos u| + C \): \[ I = \frac{1}{\sin(a-b)} \Big[ -\log|\cos(x+a)| + \log|\cos(x+b)| \Big] + C = \frac{1}{\sin(a-b)} \log\left|\frac{\cos(x+b)}{\cos(x+a)}\right| + C \]

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 \]

➕ More Examples

More Examples

Example 1

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\)

Example 2

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\)

🎯 Try a Similar Question

Try a Similar Question

Question: Integrate the function \( \dfrac{1}{\sin(x+a)\sin(x+b)} \) with respect to \( x \), where \( a \ne b \).

Solution

  1. Step 1: Multiply and Divide by a Constant: Let \( I = \int \frac{1}{\sin(x+a)\sin(x+b)} \, dx \). Since \( a \ne b \), we have \( \sin(a - b) \ne 0 \). Multiply and divide the integrand by \( \sin(a-b) \): \[ I = \frac{1}{\sin(a-b)} \int \frac{\sin(a-b)}{\sin(x+a)\sin(x+b)} \, dx \]
  2. Step 2: Rewrite the Numerator Using the Sine Difference Identity: Write \( a - b = (x+a) - (x+b) \), so: \[ \sin(a-b) = \sin\bigl((x+a)-(x+b)\bigr) = \sin(x+a)\cos(x+b) - \cos(x+a)\sin(x+b) \] Substitute this into the integral: \[ I = \frac{1}{\sin(a-b)} \int \frac{\sin(x+a)\cos(x+b) - \cos(x+a)\sin(x+b)}{\sin(x+a)\sin(x+b)} \, dx \]
  3. Step 3: Split the Integral: Separate the fraction into two terms: \[ I = \frac{1}{\sin(a-b)} \int \left( \frac{\cos(x+b)}{\sin(x+b)} - \frac{\cos(x+a)}{\sin(x+a)} \right) dx \] This simplifies to: \[ I = \frac{1}{\sin(a-b)} \int \left( \cot(x+b) - \cot(x+a) \right) dx \]
  4. Step 4: Integrate Each Term: Using the standard result \( \int \cot(x+c) \, dx = \log|\sin(x+c)| + C \), integrate each term separately: \[ \int \cot(x+b) \, dx = \log|\sin(x+b)| + C_1 \] \[ \int \cot(x+a) \, dx = \log|\sin(x+a)| + C_2 \]
  5. Step 5: Combine and Write the Final Answer: Combining the results: \[ I = \frac{1}{\sin(a-b)} \left( \log|\sin(x+b)| - \log|\sin(x+a)| \right) + C \] Using the logarithm quotient rule \( \log P - \log Q = \log\left|\dfrac{P}{Q}\right| \): \[ I = \frac{1}{\sin(a-b)} \log\left| \frac{\sin(x+b)}{\sin(x+a)} \right| + C \]

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 \]

Everything you get with Solver7

More questions in Integrals

Chapter 7 Examples Q1(i) 65/2/2 2023 / Section A Q1 Chapter 7 Examples Q1(ii) 65/2/1 2022 / Section A Q2(a) Chapter 7 Examples Q1(iii) 65/2/1 2022 / Section A Q2(b) Chapter 7 Examples Q2(i) Chapter 7 Examples Q2(ii) 65/1/1 2023 / Section A Q5 Chapter 7 Examples Q2(iii) 65/1/1 2023 / Section A Q6 65/1/1 2024 / Section A Q6 65/2/1 2024 / Section A Q6 65/3/1 2023 / Section A Q6 65/3/1 2024 / Section A Q6 Chapter 7 Examples Q3(i) 65/3/1 2023 / Section A Q7 Chapter 7 Examples Q3(ii) 65(B) 2026 / Section A Q8 65/1/1 2026 / Section A Q8 65/4/1 2022 / Section A Q6 65/4/1 2023 / Section A Q8 65/4/2 2024 / Section A Q8 Chapter 7 Examples Q3(iii) 65(B) 2026 / Section A Q9 65/1/1 2026 / Section A Q9 65/2/1 2022 / Section B Q8(a) 65/2/2 2023 / Section A Q9 65/4/1 2022 / Section B Q7 65/4/1 2023 / Section A Q9 65/4/1 2026 / Section A Q9 Chapter 7 Examples Q4 65/2/1 2022 / Section B Q8(b) 65/3/1 2026 / Section A Q10 65/4/1 2022 / Section B Q8(a) 65/4/1 2026 / Section A Q10 65/5/1 2026 / Section A Q10 Chapter 7 Examples Q5(i) 65/3/1 2026 / Section A Q11 65/4/1 2022 / Section B Q8(b) 65/5/1 2026 / Section A Q11 Chapter 7 Examples Q5(ii) 65/2/3 2026 / Section A Q12 Chapter 7 Examples Q5(iii) Chapter 7 Examples Q5(iv) Chapter 7 Examples Q6(i) 65/2/1 2022 / Section C Q12 Chapter 7 Examples Q6(ii) Chapter 7 Examples Q6(iii) Chapter 7 Examples Q7(i) 65/4/1 2022 / Section C Q13 Chapter 7 Examples Q7(ii) Chapter 7 Examples Q7(iii) Chapter 7 Examples Q8(i) Chapter 7 Examples Q8(ii) Chapter 7 Examples Q9(i) Chapter 7 Examples Q9(ii) 65/1/1 2024 / Section B Q23(a) 65/3/1 2024 / Section B Q23(a) Chapter 7 Examples Q9(iii)