Integrate cos x/[(4+sin²x)(5−4cos²x)]

IntegrationIntegral CalculusHard

A standard Class 12 integration problem, not tied to a specific exam paper.

Problem

Evaluate:

$$\int \frac{\cos x}{(4+\sin^2 x)(5-4\cos^2 x)}\,dx$$

Key insight. The two factors in the denominator look unrelated at first — one in $\sin^2x$, one in $\cos^2x$ — but rewriting $\cos^2x$ as $1-\sin^2x$ turns both factors into expressions purely in $\sin x$. Combined with $dx$ pairing naturally with $\cos x\,dx$, that makes $t=\sin x$ the substitution the whole integral is built for.

Watch this explained step by step →  ·  More on the Shiwam’s Classes channel

Approach

Rewrite $5-4\cos^2x$ purely in terms of $\sin x$, then substitute $t=\sin x$ so that $\cos x\,dx$ becomes $dt$. The integral reduces to a rational function of $t$ with two quadratic factors in the denominator, which splits by partial fractions into two standard arctangent integrals.

Solution

Step 1 — Rewrite the second factor in terms of $\sin x$

$$5 – 4\cos^2x = 5 – 4(1-\sin^2x) = 1+4\sin^2x$$

So the integral becomes:

$$\int \frac{\cos x}{(4+\sin^2x)(1+4\sin^2x)}\,dx$$

Step 2 — Substitute $t = \sin x$

With $dt = \cos x\,dx$:

$$\int \frac{dt}{(4+t^2)(1+4t^2)}$$

Step 3 — Split by partial fractions

Treating $t^2$ as a single variable $u$: write $\dfrac{1}{(4+u)(1+4u)} = \dfrac{A}{4+u}+\dfrac{B}{1+4u}$.

Clearing denominators: $1 = A(1+4u) + B(4+u)$.

Setting $u=-4$: $1 = A(1-16) = -15A \implies A = -\dfrac{1}{15}$

Setting $u=-\dfrac{1}{4}$: $1 = B\left(4-\dfrac{1}{4}\right) = \dfrac{15}{4}B \implies B = \dfrac{4}{15}$

So:

$$\frac{1}{(4+t^2)(1+4t^2)} = -\frac{1}{15}\cdot\frac{1}{4+t^2} + \frac{4}{15}\cdot\frac{1}{1+4t^2}$$

Step 4 — Integrate each term

Using $\displaystyle\int \frac{dt}{4+t^2} = \frac{1}{2}\tan^{-1}\left(\frac{t}{2}\right)$ and $\displaystyle\int \frac{dt}{1+4t^2} = \frac{1}{2}\tan^{-1}(2t)$:

$$\int \frac{dt}{(4+t^2)(1+4t^2)} = -\frac{1}{15}\cdot\frac{1}{2}\tan^{-1}\left(\frac{t}{2}\right) + \frac{4}{15}\cdot\frac{1}{2}\tan^{-1}(2t) + C$$

$$= -\frac{1}{30}\tan^{-1}\left(\frac{t}{2}\right) + \frac{2}{15}\tan^{-1}(2t) + C$$

Step 5 — Substitute back $t=\sin x$

Replacing $t$ with $\sin x$ throughout gives the final result in terms of the original variable.

Answer

$$-\frac{1}{30}\tan^{-1}\left(\frac{\sin x}{2}\right) + \frac{2}{15}\tan^{-1}(2\sin x) + C$$

Common mistakes

  • Forgetting to convert $\cos^2x$ into $\sin^2x$ before substituting. Without that step, the two denominator factors mix $\sin x$ and $\cos x$, and $t=\sin x$ no longer cleanly absorbs both.
  • Mismatching the standard arctangent form. $\displaystyle\int\frac{dt}{1+4t^2}$ is not $\tan^{-1}(2t)$ without the leading $\frac{1}{2}$ — treating $1+4t^2$ as $1+(2t)^2$ and remembering the $\frac{1}{a}\tan^{-1}(t/a)$ pattern (here with $a$ effectively absorbed into the substitution) avoids the slip.

Practise next

  • Evaluate $\displaystyle\int \frac{\sin x}{(9+\cos^2x)(2-\cos^2x)}\,dx$ using the same $t=\cos x$ substitution and partial-fractions approach.
Show answer

$-\dfrac{1}{33}\tan^{-1}\!\left(\dfrac{\cos x}{3}\right)-\dfrac{\sqrt2}{44}\ln\left|\dfrac{\sqrt2+\cos x}{\sqrt2-\cos x}\right|+C$.

Put $t=\cos x$, so $dt=-\sin x\,dx$ and the integral becomes $-\displaystyle\int\frac{dt}{(9+t^2)(2-t^2)}$.

Partial fractions in $t^2$: $\dfrac{1}{(9+t^2)(2-t^2)}=\dfrac{1}{11}\left(\dfrac{1}{9+t^2}+\dfrac{1}{2-t^2}\right)$, since the two denominators differ by the constant $11$.

Integrating gives $-\dfrac{1}{11}\left[\dfrac13\tan^{-1}\dfrac{t}{3}+\dfrac{1}{2\sqrt2}\ln\left|\dfrac{\sqrt2+t}{\sqrt2-t}\right|\right]+C$, then substitute back.

Keep track of what you have finished — create a free account.

Similar Posts

Doubts are answered by Shiwam, usually within a day. Ask about this question specifically — a general question about the chapter is better asked in class.

Ask your doubt

Stuck on this question? Ask Shiwam directly.

A free account lets you post a doubt on any question, keep track of the exercises you have finished, and come back to the answer later.

Create a free accountI already have one