Question:medium

\[ \int \frac{d x}{\cos x(1+\cos x)}= \]

Show Hint

Split the fraction with partial fractions, then use the half-angle form for the second part.
Updated On: Nov 13, 2026
  • \(\mathrm{log}(\mathrm{sec}x+\mathrm{tan}x)+2\mathrm{tan}(\frac{x}{2})+\mathrm{c}\), where c is the constant of integration

  • \(\mathrm{log}(\mathrm{sec}x+\mathrm{tan}x)-2\mathrm{tan}(\frac{x}{2})+\mathrm{c}\), where c is the constant of integration

  • \(\mathrm{log}(\mathrm{sec}x+\mathrm{tan}x)+\mathrm{tan}(\frac{x}{2})+\mathrm{c}\), where c is the constant of integration

  • \(\mathrm{log}(\mathrm{sec}x+\mathrm{tan}x)-\mathrm{tan}(\frac{x}{2})+\mathrm{c}\), where c is the constant of integration

Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Verify the split
$\dfrac{1}{\cos x}-\dfrac{1}{1+\cos x}=\dfrac{(1+\cos x)-\cos x}{\cos x(1+\cos x)}=\dfrac{1}{\cos x(1+\cos x)}$.

Step 2: Standard results
$\int\sec x\,dx=\log|\sec x+\tan x|$ and $\int\dfrac{dx}{1+\cos x}=\tan\dfrac{x}{2}$.

Step 3: Subtract
The second integral carries a minus sign, so the answer has $-\tan\dfrac{x}{2}$.

Final Answer:
The answer is $\log(\sec x+\tan x)-\tan\frac{x}{2}+c$. \[ \boxed{\text{(D) }\log(\sec x+\tan x)-\tan\left(\dfrac{x}{2}\right)+c} \]
Was this answer helpful?
0