I was helping a friend with homework and was given the fairly straightforward integral: $$\int x^2(x^3-6)^{34} dx$$ The answer the homework checker accepts as correct baffles me since it has one term with one independent degree:
$$\frac1{105}(x^3-6)^{35}+ C$$
That in no way whatsoever resembles my answer:
$$(x^3-6)^{34}(1/3x^3) - \frac {17}{21} x^{42} + \frac {102}{19} x^{38} + C$$
I feel like there is some weird trick that allows us to avoid integrating by parts, but they wanted us to use integration by parts with $u=x^3-6$. These are the steps I used: $$ \begin{align} &u = x^3 - 6\\ &w = u^{34}\\ &\frac {d}{dx} w = \frac {dw}{du} \frac {du}{dx} dx\\ &\cdots = (34u^{33})(3x^2)dx = 102x^{38} - 612x^{35}\\ &dv = x^2 dx\\ &v = 1/3 x^3 + C\\ &I = wv - \int v dw\\ &\cdots= (x^3-6)^{34}(1/3x^3) - I_2\\ &I_2 = \int (1/3 x^3)(102x^{38} - 612x^{35}) dx \end{align}$$
Regardless of anything else, I can't figure out how you are supposed to have $1$ term with one degree, $35$, in our answer.
EDIT: Just adding what made the accepted answer make sense to me, $$x^2 u^{34} dx = C(u^{34} du)$$ where $C$ is a constant because I wanted to emphasize the general form.
Integration by parts is hardly needed.
We can use substitution: Let $u = (x^3 - 6)$. So $du = 3x^2\,dx$. Given $$\int x^2(x^3-6)^{34} dx = \frac 13 \int 3x^2(x^3-6)^{34} dx,$$ under substitution, the integral becomes $$\frac 13\int u^{34} du.$$
Can you take it from here?