$\ln x$ intersects the y axis at $-\infty$
So $$A=\int_{-\infty}^{e} \ln x \,dx-\int_{-\infty}^{e} \frac xe dx$$
Which isn’t really a proper definite integral since I am having trouble applying the limits
What is the correct way to do it?
$\ln x$ intersects the y axis at $-\infty$
So $$A=\int_{-\infty}^{e} \ln x \,dx-\int_{-\infty}^{e} \frac xe dx$$
Which isn’t really a proper definite integral since I am having trouble applying the limits
What is the correct way to do it?
Your lower bounds should be $0$ since the $y$-axis is stated as a bound. Then the integral is $$\int_0^e(x/e-\ln x)\,dx=[x^2/2e-x\ln x+x]_0^e=\frac e2$$
Notice that due to $\ln x$ being one of the function, an immediate constraint is $ x>0$ , so we only have to consider half of the $x-y$ plane.
Legend: Red = ln(x), blue = $ \frac{x}{e}$
Observe both curves intersect at x=e.
Hence, we can by inspection write down area under curve as:
$$ |\int_0^1 \ln x dx| + \int_0^1 x dx + \int_1^e ( x - \ln x ) dx$$
Considering the graphs of $y = \frac x e$ and $y = \ln x$, the bounds should be $(0,e)$, and $\frac x e > \ln x$. Hence you are looking for the integral:
$$\int_0^e \left(\frac xe - \ln x\right) \ dx$$