I've never integrated a modulus function before, from what I have read over the net you need to establish where the graph of the function is negative and positive and then split the integral up?
In this one the limits are -1 to 4 and the graph intersects the x-axis at 0 and 1/2 so does that mean I need split the integral into 3 going from -1 to 0, 0 to 1/2 and 1/2 to 4 right?
Although I am having trouble changing the x|1-x| part, when the graph is positive is it x(1-x) and when it is negative -x(1-x)?
Sorry if the wording is poor,
Regards.