Note that when and when .
Can you go from here?
Integrating with absolute value?
Let f(a) = int 0 to 2 |x(x-a)|dx for 0<=a<=2
find the function f(a)
The solution says to separate it into two integrals from 0 to a then to a to 2. Then take the negative of both then add? I don't get it. Why do you have to take the negative of each? Please explain!
Though I do get your algebra, i'm still wondering about how to get to the final equation.
I'm trying to understand more about how the equation goes about. Because we can tell that if x<a then it positive, and if a>x it is negative. And how do you translate this into equation form?
The solution for this problem (on the answer sheet) is
f(a) = - (from 0 to a) from(a to 2)
I'm trying to understand why is it negative for both terms :/