Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So, from here $$\int \frac{\sin(x)}{3\cos^3(x)+\sin^2(x)\cdot\cos(x)} dx$$ I divided by cos(x) and I got $$\int \frac{\tan(x)}{2\cos^2(x)+1} dx$$ But I'm stuck here. I tried to substitute $t=\cos(x)$

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

Any help would be greatly appreciated.

share|cite|improve this question
Try $s=t^2$. (And please add $dx$ at the three places where it belongs.) – Did Jun 13 '12 at 17:54
That is, after the substitution $t=\cos(x)$ that was mentioned in a previous version of the post. – Did Jun 13 '12 at 17:55
I am inclined to think that the solution I posted below is probably the most straightforward one unless you have one that uses some surprising "trick". – Michael Hardy Jun 13 '12 at 21:09

Alternate solution

$$\int \frac{\sin(x)}{3\cos^3(x)+\sin^2(x)\cos(x)} dx=\int \frac{\tan(x)}{2\cos^2(x)+1} dx= \int \frac{1}{\cos^2(x)} \frac{\tan(x)}{2+\sec^2(x)} dx$$

Thus, after $t= \tan(x)$ you get

$$\int \frac{t dt}{t^2+3} $$

share|cite|improve this answer
I didn't think to divide for $$cos^2(x)$$ and put $$sec^2(x) = 1+tan^2(x)$$ Thank you for the reply! – HelloEveryone Jun 13 '12 at 18:11

$$ \int \frac{\sin(x)}{3\cos^3(x)+\sin^2(x)\cdot\cos(x)}\,dx = \int \frac{1}{3\cos^3(x)+\sin^2(x)\cdot\cos(x)}\,\Big(\sin x \,dx\Big) $$ $$ = \int \frac{1}{3\cos^3(x)+(1-\cos^2 x)\cdot\cos(x)}\,\Big(\sin x \,dx\Big) = \int \frac{1}{3u^3 + (1-u^2)u}\,(-du) $$ Then use partial fractions.

Later edit in response to comments: $$ \int \frac{1}{3u^3 + (1-u^2)u}\,(-du) = \int\frac{-du}{u(2u^2 + 1)} = \int \frac{A}{u} + \frac{Bu+C}{2u^2+1} \, du $$ Two logarithms plus an arctangent.

share|cite|improve this answer
I don't think it's possible to use partial fractions at that point. – Gigili Jun 13 '12 at 19:50
@Gigili : Fortunately you're mistaken; it's quite simple. I've added it to my answer. – Michael Hardy Jun 13 '12 at 21:04
Done. It's two logarithms plus an arctangent. – Michael Hardy Jun 13 '12 at 21:07
Well, now that you simplified it ... – Gigili Jun 13 '12 at 21:09

From the last integral, use $\frac{1}{t(2t^2+1)}=\frac{1}{t}-\frac{2t}{2t^2+1}$. Now, you have: $$\int \frac{1}{t\cdot(2t^2+1)} \, \mathrm{d}t=\int \frac{1}{t} \, \mathrm{d}t-\int \frac{2t}{2t^2+1} \, \mathrm{d}t=\ln|t|-\frac{1}{2}\ln|2t^2+1|+C$$

share|cite|improve this answer
Thank you! You reach that point by usinf partial fraction, am I right? – HelloEveryone Jun 13 '12 at 18:09
@HelloEveryone: Yes, I did. – Dennis Gulko Jun 13 '12 at 18:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.