What is the area of a region bounded by the curve $y=e^x$ and the lines $y=1$ and $x=1$?
When $x=1$, $y=e$. When $y=1$, $x=0$.
I tried to find the area by saying that $A=\int^1_0 e^x dx= e - 1$.
However, the correct area is $e-2$. What am I doing wrong?
The correct integral is $$\int^1_0 (e^x-1) dx= e - 2$$
because the area is below the curve $e^x$ and above the line $y=1$. (Instead, you were calculating the area below the curve $e^x$ and above the $x$-axis.)