36.6k views
1 vote
Integrate dx/3sinx+4cosx

1 Answer

4 votes


\displaystyle\int(\mathrm dx)/(3\sin x+4\cos x)

A standard approach would be the tangent half-angle substitution:


t=\tan\frac x2\implies\mathrm dt=\frac12\sec^2\frac x2\,\mathrm dx

Then


\sin x=2\sin\frac x2\cos\frac x2\implies\sin x=(2t)/(1+t^2)


\cos x=\cos^2\frac x2-\sin^2\frac x2\implies\cos x=(1-t^2)/(1+t^2)

from which we get


\mathrm dx=\frac2{1+t^2}\,\mathrm dt

So the integral becomes


\displaystyle\int\frac{\frac2{1+t^2}}{(6t)/(1+t^2)+(4(1-t^2))/(1+t^2)}\,\mathrm dt=\int(\mathrm dt)/(3t+2(1-t^2))=-\int(\mathrm dt)/(2t^2-3t-2)

Rewrite the denominator as


2t^2-3t-2=(2t+1)(t-2)

and expand the integrand into its partial fractions:


\frac1{2t^2-3t-2}=\frac15\left(\frac1{t-2}-\frac2{2t+1}\right)

We have


\displaystyle-\frac15\int\frac1{t-2}-\frac2{2t+1}\,\mathrm dt=-\frac15(\ln|t-2|-\ln|2t+1|)+C


=\frac15\ln\left|(2t+1)/(t-2)\right|+C


=\frac15\ln\left|(2\tan\frac x2+1)/(\tan\frac x2-2)\right|+C

User Antonello
by
8.2k points

Related questions

asked May 11, 2019 63.0k views
Wdudzik asked May 11, 2019
by Wdudzik
8.0k points
1 answer
1 vote
63.0k views
asked Jun 10, 2017 80.8k views
Matt Pascoe asked Jun 10, 2017
by Matt Pascoe
7.9k points
1 answer
5 votes
80.8k views
asked Feb 2, 2018 117k views
Tom Lime asked Feb 2, 2018
by Tom Lime
8.2k points
1 answer
5 votes
117k views