im assuming ur talking about the +c or the constant that comes from integrating
if u integrate (x+1)^2 this does not necessarily mean its equal to the integral of (x+1)^2, why? because they may differ by constant so to answer your questions, using those 2 methods, the c's you get will be...