I am to find the centroid of the area bounded by the curve $y=8x^3-24x+11$, the $x$-axis and the line $x=-1$.
Now I know that the centroid requires me to find the area under the curve first.
I have run into a snag in that this curve intercepts the $x$-axis on either side of $x=-1$ at:
$$x=\frac{-1-3\sqrt5}{4}$$ and $$x=\frac{1}{2}$$ My dilemma is whether I should integrate from $x=\frac{-1-3\sqrt5}{4}$ to $x=-1$ or start at $x=-1$ to $x=\frac{1}{2}$. I don't seem to find a specific rule to guide me.
Please help me out.