Integrate sums of terms in powers of x, including 1/x and 1/(ax + b). Solutions for indefinite integrals should include an arbitrary constant.