Concept:Decompose the integrand into partial fractions to integrate term by term.Explanation:Write x(x+1)2x+1=xA+x+1B.Multiplying both sides by x(x+1) gives A(x+1)+Bx=2x+1.Set x=0: A=1.Set x=−1: −B=−1, so B=1.Thus the integrand is x1+x+11.Integrate: ∫x1dx+∫x+11dx=ln∣x∣+ln∣x+1∣+c=ln∣x(x+1)∣+c=ln∣x2+x∣+c.Answer:log(x2+x)+c (option B).