Solution
Let
(x+2)23x−1=x+2A+(x+2)2B
Multiplying by (x+2)2,
3x−1=A(x+2)+B
Comparing coefficients,
A=3
and
2A+B=−1
Therefore,
B=−7
Hence,
(x+2)23x−1=x+23−(x+2)27
Integrating,
∫(x+2)23x−1dx=3∫x+21dx−7∫(x+2)21dx=3log∣x+2∣+x+27+C
Therefore,
∫(x+2)23x−1dx=3log∣x+2∣+x+27+C