Skip to content
Exercise 7.2 · Q32

Q.Integrate the following function: 11+cot⁡x\frac{1}{1 + \cot x}

Yanam BieapTextbookSubjective· 3mImportance★★★★★
16% · 58/373 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The key idea is to rewrite cot⁡x\cot x as cos⁡xsin⁡x\frac{\cos x}{\sin x}, simplify the integrand to sin⁡xsin⁡x+cos⁡x\frac{\sin x}{\sin x + \cos x}, then use the symmetry trick: add and subtract the related integral I=∫cos⁡xsin⁡x+cos⁡x dxI = \int \frac{\cos x}{\sin x + \cos x} \, dx to get a clean result. The final answer is x2−12log⁡∣sin⁡x+cos⁡x∣+C\frac{x}{2} - \frac{1}{2} \log|\sin x + \cos x| + C.

We want to integrate 11+cot⁡x\frac{1}{1 + \cot x}. At first glance, this looks messy because cot⁡x\cot x is a ratio of trigonometric functions. But the moment you see a rational expression involving cot⁡x\cot x, the instinct should be: rewrite everything in terms of sin⁡x\sin x and cos⁡x\cos x. That’s the universal first step — it turns an unfamiliar form into something you can manipulate.


1. Rewrite the integrand in terms of sine and cosine

Recall that cot⁡x=cos⁡xsin⁡x\cot x = \frac{\cos x}{\sin x}. So:

11+cot⁡x=11+cos⁡xsin⁡x=1sin⁡x+cos⁡xsin⁡x=sin⁡xsin⁡x+cos⁡x.\frac{1}{1 + \cot x} = \frac{1}{1 + \frac{\cos x}{\sin x}} = \frac{1}{\frac{\sin x + \cos x}{\sin x}} = \frac{\sin x}{\sin x + \cos x}.

Now the problem becomes:

∫sin⁡xsin⁡x+cos⁡x dx.\int \frac{\sin x}{\sin x + \cos x} \, dx.

This is much friendlier. But it’s still not directly integrable by a simple substitution — the denominator is a sum of two different trig functions.


2. Spot the symmetry trick

Here’s the insight: if you also consider the integral of cos⁡xsin⁡x+cos⁡x\frac{\cos x}{\sin x + \cos x}, something beautiful happens. Let’s define:

I=∫sin⁡xsin⁡x+cos⁡x dx,J=∫cos⁡xsin⁡x+cos⁡x dx.I = \int \frac{\sin x}{\sin x + \cos x} \, dx, \quad J = \int \frac{\cos x}{\sin x + \cos x} \, dx.

Now add them:

I+J=∫sin⁡x+cos⁡xsin⁡x+cos⁡x dx=∫1 dx=x+C1.I + J = \int \frac{\sin x + \cos x}{\sin x + \cos x} \, dx = \int 1 \, dx = x + C_1.

That’s one equation linking II and JJ.


3. Subtract them to get a logarithmic form

Now subtract:

I−J=∫sin⁡x−cos⁡xsin⁡x+cos⁡x dx.I - J = \int \frac{\sin x - \cos x}{\sin x + \cos x} \, dx.

This looks like a candidate for substitution. Notice that the derivative of the denominator sin⁡x+cos⁡x\sin x + \cos x is cos⁡x−sin⁡x=−(sin⁡x−cos⁡x)\cos x - \sin x = -(\sin x - \cos x). That’s exactly the numerator up to a sign.

Let u=sin⁡x+cos⁡xu = \sin x + \cos x. Then du=(cos⁡x−sin⁡x) dx=−(sin⁡x−cos⁡x) dxdu = (\cos x - \sin x) \, dx = -(\sin x - \cos x) \, dx. So:

I−J=∫sin⁡x−cos⁡xsin⁡x+cos⁡x dx=∫−duu=−log⁡∣u∣+C2=−log⁡∣sin⁡x+cos⁡x∣+C2.I - J = \int \frac{\sin x - \cos x}{\sin x + \cos x} \, dx = \int \frac{-du}{u} = -\log|u| + C_2 = -\log|\sin x + \cos x| + C_2. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.