Calculating area between two curves

78 Views Asked by At

See this link to get a picture of what I mean.

If you want to calculate the area between $f(x)$ and $g(x)$ on a certain interval $[a,b]$. Do I have to add the two areas between the $x$-axis and $f(x)$, the $x$-axis and $g(x)$, or can I just find the area between $f(x)$ and $g(x)$ in one step like this:

$$\int_a^b\left[f\left(x\right)-g\left(x\right)\right]dx$$

My question is, how do you prove the above will work, since $g(x)$ has negative values but $f(x)$ has positive values. Will this be giving you the incorrect area between $f(x)$ and $g(x)$?

1

There are 1 best solutions below

1
On BEST ANSWER

Absolutely not, this does not give the incorrect area. To prove it, we have to translate both $f(x)$ and $g(x)$ up $y$ units, so that both $f(x)$ and $g(x)$ are positive. This will be represented like this:

$$\int_a^b\left[(f\left(x\right)+y)-(g\left(x\right)+y)\right]dx$$

Here, you are not changing the area since you are only translating the graph $y$ units towards the positive $y$ axis.

The expression above would simplify to:

$$\int_a^b\left[f\left(x\right)-g\left(x\right)\right]dx$$

Therefore, the area enclosed by $f(x)$ and $g(x)$, where $f(x)>g(x)$ is defined as:

$$\int_a^b\left[f\left(x\right)-g\left(x\right)\right]dx$$