When the numerator can be expressed in terms of the derivative of the denominator, the expression can be rewritten as follows, and then the constants α and β can be determined. ∫f(x)g(x)dx=∫f(x)αf(x)+βf′(x)dx=αx+βln∣f(x)∣+C
To make use of this, first multiplying both the numerator and the denominator by cosx gives ∫sinx+cosxcosxdx=∫sinx+cosxα(sinx+cosx)+sinx+cosxβ(cosx−sinx)dx
Since cosx=(α−β)sinx+(α+β)cosx, α−β=0 and α+β=1, so α=β=1/2. Therefore, (x+ln∣sinx+cosx∣)/2+C.
Keep going!Keep going ×2!Give me more!Thank you, thank youFar too kind!Never gonna give me up?Never gonna let me down?Turn around and desert me!You're an addict!Son of a clapper!No wayGo back to work!This is getting out of handUnbelievablePREPOSTEROUSI N S A N I T YFEED ME A STRAY CAT