∫2cosx+3sinx4cosx+5sinxdx
=∫4cosx+5sinx−2(cosx+sinx)4cosx+5sinxdx
=∫4cosx+5sinx4cosx+5sinxdx−∫2cosx+2sinx4cosx+5sinxdx
=∫dx+12∫−4cosx−4sinx+5cosx−5cosx4cosx+5sinx
=∫dx+12∫5cosx−4sinx4cosx+5sinxdx−92∫sinx4cosx+5sinxdx.....(1)
Now,
∫5cosx−4sinx4cosx+5sinxdx
Let,
4cosx+5sinx=t
(5cosx−4sinx)dx=dt
Therefore, the integral become
∫dtt=logt+C1
Substituting the value of t in above equation, we get
∫5cosx−4sinx4cosx+5sinxdx=log(4cosx+5sinx)+C1.....(2)
Now,
∫sinx4cosx+5sinxdx
=1√41∫sinx4√41cosx+5√41sinxdx
=1√41∫sinxsinαcosx+cosαsinxdx[Heresinα=4√41 and cosα=5√41]
=1√41∫sinxdxsin(x+α)
Let x+α=t⇒x=t−α⇒dx=dt
Therefore, the integral become
∫sin(t−α)sintdt
=∫sintcosα−costsinαsintdt
=∫sintcosαsintdt−∫costsinαsintdt
=∫cosαdt−∫cottsinαdt
=tcosα−sinαlog(sint)+C2
substituting the valye of t in above equation we get
∫sinx4cosx+5sinxdx =(x+α)cosα−sinαln(sin(x+α))+C2=(x+tan−1(45))5√41−4√41ln(sin(x+tan−145))+C2.....(3)
From equation (1),(2)&(3), we have
∫2cosx+3sinx4cosx+5sinxdx
=x+12log(4cosx+5sinx)−92[(x+tan−1(45))5√41−4√41ln(sin(x+tan−145))]+C