Step 1: Understanding the Concept
The denominator has a repeated factor, so use \(\dfrac{x^{2}}{(x+1)(x+2)^{2}} = \dfrac{A}{x+1}+\dfrac{B}{x+2}+\dfrac{C}{(x+2)^{2}}\).
Step 2: Find the constants
Put \(x=-1\): \(A = \dfrac{1}{1} = 1\).
Put \(x=-2\): \(C = \dfrac{4}{-1} = -4\).
Compare the coefficient of \(x^{2}\): \(A+B = 1\), so \(B = 0\).
Step 3: Integrate
\(\int\left[\dfrac{1}{x+1}-\dfrac{4}{(x+2)^{2}}\right]dx = \log|x+1| + \dfrac{4}{x+2} + c\).
Step 4: Compare the options
This matches the first option.
Final Answer:
The integral is \(\log|x+1|+\dfrac{4}{x+2}+c\).
\[ \boxed{\text{(A) }\log |x+1|+\dfrac{4}{x+2}+c} \]