SOLVER7 Study. Nothing Else.
Exercise 7.2 Q32

Integrate the functions in Exercises 1 to 37: \(\dfrac{1}{1+cot\ x}\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a messy fraction and want to simplify it into smaller, friendlier pieces. The trick is like splitting a sandwich: instead of eating it whole, you cut it into two manageable halves. Here, we rewrite the tricky trigonometry fraction using sine and cosine. One piece integrates into a simple line, the other into a logarithm. Both pieces together give the final neat answer. It is like tidying a cluttered room by sorting things into two separate boxes — much easier to handle!

Answer: \[ \int \frac{1}{1+\cot x} \, dx = \frac{x}{2} - \frac{1}{2}\ln|\sin x + \cos x| + C \]

📖 Integration of 1/(1 + cot x)

Detailed Explanation

The function \( \dfrac{1}{1+\cot x} \) has \( \cot x = \dfrac{\cos x}{\sin x} \). The key idea is to rewrite everything in terms of sine and cosine so the denominator becomes \( \sin x + \cos x \). We then use a very useful trick for integrals of the form \( \dfrac{\sin x}{\sin x + \cos x} \): the derivative of \( \sin x + \cos x \) is \( \cos x - \sin x \). So we split the numerator into a part proportional to the denominator and a part proportional to its derivative. This lets us integrate directly using \( \int 1 \, dx \) and \( \int \dfrac{f'(x)}{f(x)} \, dx = \ln|f(x)| \).

Formula Used

\( \cot x = \dfrac{\cos x}{\sin x} \), and \( \int \dfrac{f'(x)}{f(x)} \, dx = \ln|f(x)| + C \)

Solution

  1. Step 1: Write cot x in terms of sine and cosine. \[ \frac{1}{1+\cot x} = \frac{1}{1 + \dfrac{\cos x}{\sin x}} \]
  2. Step 2: Simplify by taking LCM in the denominator. \[ \frac{1}{\dfrac{\sin x + \cos x}{\sin x}} = \frac{\sin x}{\sin x + \cos x} \] So we need to find \[ I = \int \frac{\sin x}{\sin x + \cos x} \, dx \]
  3. Step 3: Use the splitting trick. Write the numerator as a combination of the denominator and its derivative: \[ \sin x = A(\sin x + \cos x) + B(\cos x - \sin x) \] Here \( \cos x - \sin x \) is the derivative of \( \sin x + \cos x \).
  4. Step 4: Compare coefficients of \( \sin x \) and \( \cos x \). Coefficient of \( \sin x \): \( A - B = 1 \). Coefficient of \( \cos x \): \( A + B = 0 \). Solving these gives \[ A = \frac{1}{2}, \quad B = -\frac{1}{2} \]
  5. Step 5: Substitute back into the integral. \[ I = \int \frac{\tfrac{1}{2}(\sin x + \cos x) - \tfrac{1}{2}(\cos x - \sin x)}{\sin x + \cos x} \, dx \] Split into two integrals. \[ I = \frac{1}{2}\int 1 \, dx - \frac{1}{2}\int \frac{\cos x - \sin x}{\sin x + \cos x} \, dx \]
  6. Step 6: Evaluate each part. The first is simply \( \dfrac{1}{2}x \). For the second, since the numerator is exactly the derivative of the denominator, we get \[ \int \frac{\cos x - \sin x}{\sin x + \cos x} \, dx = \ln|\sin x + \cos x| \]
  7. Step 7: Combine the results with the constant of integration. \[ I = \frac{1}{2}x - \frac{1}{2}\ln|\sin x + \cos x| + C \]

Final Answer

\[ \int \frac{1}{1+\cot x} \, dx = \frac{x}{2} - \frac{1}{2}\ln|\sin x + \cos x| + C \]

Common Mistake

A common mistake is forgetting to convert \( \cot x \) first and trying to integrate directly, or mixing up the sign of \( B \). Remember the derivative of \( \sin x + \cos x \) is \( \cos x - \sin x \) (not \( \sin x - \cos x \)), so \( B = -\tfrac{1}{2} \) gives the correct negative sign before the log term.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Replace \( \cot x \) with its definition in terms of sine and cosine: \[ \frac{1}{1 + \cot x} = \frac{1}{1 + \dfrac{\cos x}{\sin x}} \] Reason: Expressing everything in sine and cosine makes it easier to simplify the fraction.
  2. Step 2: Take the LCM in the denominator to combine the two terms: \[ \frac{1}{\dfrac{\sin x + \cos x}{\sin x}} = \frac{\sin x}{\sin x + \cos x} \] So the integral becomes \[ I = \int \frac{\sin x}{\sin x + \cos x} \, dx \] Reason: Multiplying top and bottom clears the compound fraction into a simple rational form.
  3. Step 3: Observe that the derivative of the denominator \( \sin x + \cos x \) is \( \cos x - \sin x \). Write the numerator \( \sin x \) as a linear combination of the denominator and its derivative: \[ \sin x = A(\sin x + \cos x) + B(\cos x - \sin x) \] Reason: This splitting trick is the standard method for integrands of the form \( \dfrac{\sin x}{\sin x + \cos x} \), because it separates the expression into two directly integrable pieces.
  4. Step 4: Expand the right-hand side and match coefficients. Collecting the \( \sin x \) terms gives \( A - B = 1 \), and collecting the \( \cos x \) terms gives \( A + B = 0 \). Solving these two equations simultaneously: \[\begin{aligned} A - B &= 1 \\ A + B &= 0 \end{aligned}\] Adding both equations: \( 2A = 1 \) so \( A = \dfrac{1}{2} \). Substituting back: \( B = -\dfrac{1}{2} \). Reason: Comparing coefficients turns the algebraic identity into a simple system of two equations.
  5. Step 5: Substitute \( A = \dfrac{1}{2} \) and \( B = -\dfrac{1}{2} \) back to rewrite the integral: \[ I = \int \frac{\dfrac{1}{2}(\sin x + \cos x) + \left(-\dfrac{1}{2}\right)(\cos x - \sin x)}{\sin x + \cos x} \, dx \] Split into two separate integrals: \[ I = \frac{1}{2}\int 1 \, dx - \frac{1}{2}\int \frac{\cos x - \sin x}{\sin x + \cos x} \, dx \] Reason: Splitting the fraction lets us handle each part individually — one is a simple constant integral and the other is a standard logarithmic form.
  6. Step 6: Evaluate each integral. The first integral is straightforward: \[ \frac{1}{2}\int 1 \, dx = \frac{x}{2} \] For the second integral, notice that the numerator \( \cos x - \sin x \) is exactly the derivative of the denominator \( \sin x + \cos x \), so: \[ \frac{1}{2}\int \frac{\cos x - \sin x}{\sin x + \cos x} \, dx = \frac{1}{2}\ln|\sin x + \cos x| \] Reason: Using the formula \( \int \dfrac{f'(x)}{f(x)} \, dx = \ln|f(x)| + C \) converts the second part instantly.
  7. Step 7: Combine both results and include the constant of integration: \[ I = \frac{x}{2} - \frac{1}{2}\ln|\sin x + \cos x| + C \] Reason: Subtracting the second result from the first (because of the negative sign on \( B \)) gives the complete answer.

Final Answer

\[ \int \frac{1}{1+\cot x} \, dx = \frac{x}{2} - \frac{1}{2}\ln|\sin x + \cos x| + C \]

Common Mistake

One common mistake: Forgetting that \( B = -\dfrac{1}{2} \) is negative, which causes a sign error — students sometimes write \( +\dfrac{1}{2}\ln|\sin x + \cos x| \) instead of \( -\dfrac{1}{2}\ln|\sin x + \cos x| \) in the final answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Simplify the integrand: \[ \frac{1}{1+\cot x} = \frac{\sin x}{\sin x + \cos x} \]
  2. Step 2: Write \( \sin x = A(\sin x + \cos x) + B(\cos x - \sin x) \). Comparing coefficients: \( A - B = 1 \) and \( A + B = 0 \), giving \( A = \dfrac{1}{2} \), \( B = -\dfrac{1}{2} \).
  3. Step 3: Substitute back: \[ I = \frac{1}{2}\int \frac{\sin x + \cos x}{\sin x + \cos x} \, dx - \frac{1}{2}\int \frac{\cos x - \sin x}{\sin x + \cos x} \, dx = \frac{x}{2} - \frac{1}{2}\ln|\sin x + \cos x| + C \]

Answer: \[ \int \frac{1}{1+\cot x} \, dx = \frac{x}{2} - \frac{1}{2}\ln|\sin x + \cos x| + C \]

➕ More Examples

More Examples

Example 1

Question: Evaluate \[ \int \frac{1}{1 + \tan x} \, dx \]

Solution: We have \[ I = \int \frac{1}{1 + \tan x} \, dx \] Rewrite using \( \tan x = \dfrac{\sin x}{\cos x} \): \[ I = \int \frac{1}{1 + \frac{\sin x}{\cos x}} \, dx = \int \frac{\cos x}{\cos x + \sin x} \, dx \] Now write the numerator \( \cos x \) as a combination of \( (\cos x + \sin x) \) and \( (\cos x - \sin x) \): \[ \cos x = A(\cos x + \sin x) + B(\cos x - \sin x) \] Comparing coefficients of \( \cos x \) and \( \sin x \): \( A + B = 1 \) and \( A - B = 0 \), giving \( A = \dfrac{1}{2} \) and \( B = \dfrac{1}{2} \). So: \[ I = \int \frac{\frac{1}{2}(\cos x + \sin x) + \frac{1}{2}(\cos x - \sin x)}{\cos x + \sin x} \, dx \] \[ I = \frac{1}{2}\int 1 \, dx + \frac{1}{2}\int \frac{\cos x - \sin x}{\cos x + \sin x} \, dx \] For the second integral, note that \( \dfrac{d}{dx}(\cos x + \sin x) = -\sin x + \cos x = \cos x - \sin x \), so it is of the form \( \int \dfrac{f'(x)}{f(x)} \, dx = \ln|f(x)| + C \). Therefore: \[ I = \frac{x}{2} + \frac{1}{2}\ln|\cos x + \sin x| + C \]

Answer: \( \dfrac{x}{2} + \dfrac{1}{2}\ln|\sin x + \cos x| + C \)

Example 2

Question: Evaluate \[ \int \frac{\tan x}{1 + \tan x} \, dx \]

Solution: We have \[ I = \int \frac{\tan x}{1 + \tan x} \, dx \] Rewrite using \( \tan x = \dfrac{\sin x}{\cos x} \): \[ I = \int \frac{\frac{\sin x}{\cos x}}{1 + \frac{\sin x}{\cos x}} \, dx = \int \frac{\sin x}{\cos x + \sin x} \, dx \] Write \( \sin x \) as a combination of \( (\cos x + \sin x) \) and \( (\cos x - \sin x) \): \[ \sin x = A(\cos x + \sin x) + B(\cos x - \sin x) \] Comparing coefficients: \( A + B = 0 \) (from \( \cos x \)) and \( A - B = 1 \) (from \( \sin x \)), giving \( A = \dfrac{1}{2} \) and \( B = -\dfrac{1}{2} \). So: \[ I = \int \frac{\frac{1}{2}(\cos x + \sin x) - \frac{1}{2}(\cos x - \sin x)}{\cos x + \sin x} \, dx \] \[ I = \frac{1}{2}\int 1 \, dx - \frac{1}{2}\int \frac{\cos x - \sin x}{\cos x + \sin x} \, dx \] Since \( \dfrac{d}{dx}(\cos x + \sin x) = \cos x - \sin x \), the second integral equals \( \ln|\cos x + \sin x| + C \). Therefore: \[ I = \frac{x}{2} - \frac{1}{2}\ln|\sin x + \cos x| + C \]

Answer: \( \dfrac{x}{2} - \dfrac{1}{2}\ln|\sin x + \cos x| + C \)

🎯 Try a Similar Question

Try a Similar Question

Question: Integrate the function: \[ \frac{1}{1 + \tan x} \]

Solution

  1. Step 1: Rewrite in terms of sin and cos: Let \( I = \int \frac{1}{1 + \tan x} \, dx \). Since \( \tan x = \frac{\sin x}{\cos x} \), we have: \[ I = \int \frac{1}{1 + \dfrac{\sin x}{\cos x}} \, dx = \int \frac{\cos x}{\cos x + \sin x} \, dx \]
  2. Step 2: Split the numerator using a clever identity: We write the numerator \( \cos x \) as a linear combination of \( (\sin x + \cos x) \) and \( (\cos x - \sin x) \): \[ \cos x = A(\sin x + \cos x) + B(\cos x - \sin x) \] Expanding the right side: \[ \cos x = (A + B)\cos x + (A - B)\sin x \] Comparing coefficients: \( A + B = 1 \) and \( A - B = 0 \), giving \( A = \frac{1}{2} \) and \( B = \frac{1}{2} \). So: \[ \cos x = \frac{1}{2}(\sin x + \cos x) + \frac{1}{2}(\cos x - \sin x) \]
  3. Step 3: Substitute back and split the integral: Substituting into \( I \): \[ I = \int \frac{\frac{1}{2}(\sin x + \cos x) + \frac{1}{2}(\cos x - \sin x)}{\sin x + \cos x} \, dx \] \[ I = \frac{1}{2} \int 1 \, dx + \frac{1}{2} \int \frac{\cos x - \sin x}{\sin x + \cos x} \, dx \]
  4. Step 4: Evaluate each integral separately: The first part gives: \[ \frac{1}{2} \int 1 \, dx = \frac{x}{2} \] For the second part, notice that the derivative of \( \sin x + \cos x \) is \( \cos x - \sin x \), so the integral is of the form \( \int \frac{f'(x)}{f(x)} \, dx = \ln|f(x)| + C \). Therefore: \[ \frac{1}{2} \int \frac{\cos x - \sin x}{\sin x + \cos x} \, dx = \frac{1}{2} \ln|\sin x + \cos x| \]
  5. Step 5: Combine the results: Adding both parts: \[ I = \frac{x}{2} + \frac{1}{2} \ln|\sin x + \cos x| + C \]

Answer: \[ \int \frac{1}{1 + \tan x} \, dx = \frac{x}{2} + \frac{1}{2}\ln|\sin x + \cos x| + 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)