I am trying to find the area of the line y = x and below by the parabola $y = x^2-2x. $
I am using a double integral. However, for the integral, this is the correct answer:
$$ \int_0^3\int_{x^2-2x}^xxdydx $$
I don't understand how the dy limits of integration are set up? Isn't it right function-left function? The graph on the right is the $x^2-2x$. But in the limits of integration, this is reversed?
In the picture the blue graph is $x^2-2x$ and the red is $y=x$