# Calculating Areas using Integrals

## Key Questions

• First, you will take the integrals of both curves. Next, you will solve the integrals like you normally would. Finally, you will take the integral from the curve higher on the graph and subtract the integral from the lower integral.

Take for example we have two functions

$f \left(x\right) = 32 - {x}^{2}$ and $g \left(x\right) = {x}^{2}$

Without any limits given we assume they want the area between the points that the two functions intersect so we set the two functions equal and solve.

$32 - {x}^{2} = {x}^{2}$ solves to $x = 4$ and $x = - 4$ so they become our bounds

Do to $f \left(x\right)$ is higher on the positive x-axis, we subtract $g \left(x\right)$ from it.

Now that we know the bounds and the order to subtract, we can setup the integral.

${\int}_{-} {4}^{4} f \left(x\right) - g \left(x\right) \mathrm{dx} = {\int}_{-} {4}^{4} 32 - {x}^{2} - {x}^{2}$

And now we solve like a normal integral.
$F \left(x\right) = 32 x - \frac{2}{3} {x}^{3} + C$
$F \left(4\right) - F \left(- 4\right) = 170 \frac{2}{3}$ Here is a graphical example of a more complicated problems: The more general form of area between curves is:

$A = {\int}_{a}^{b} | f \left(x\right) - g \left(x\right) | \mathrm{dx}$
because the area is always defined as a positive result.

So for this problem, you need to find all intersections between the 2 functions (we'll call red $f \left(x\right)$ and blue $g \left(x\right)$ and you can see that there are 4 at approximately: $- 6.2$, $- 3.5$, $- .7$, $1.5$. So, we look at which function is greater on those intervals for the full integral:

$A = {\int}_{- 6.2}^{- 3.5} \left[f \left(x\right) - g \left(x\right)\right] \mathrm{dx} + {\int}_{- 3.5}^{- .7} \left[g \left(x\right) - f \left(x\right)\right] \mathrm{dx} + {\int}_{- .7}^{1.5} \left[f \left(x\right) - g \left(x\right)\right] \mathrm{dx}$

• Finding the area under a curve is easy use and integral is pretty simple. First you take the indefinite that solve it using your higher and lower bounds. Lastly you subtract the answer from the higher bound from the lower bound.

For example, lets take the function,

$f \left(x\right) = x$

and we want to know the area under it between the points where
$x = 0$ and $x = 5$.

First you set up your integral ${\int}_{0}^{5} x \mathrm{dx}$.

Next you find the indefinite integral.

$\int x \mathrm{dx} = \frac{1}{2} \cdot {x}^{2} + C$

Now you plugin the 5 and the 0 and solve

$\left(\frac{1}{2} \cdot {5}^{2} + C\right) - \left(\frac{1}{2} \cdot {0}^{2} + C\right) = 12.5$

Because this example forms a triangle, we can check the answer with the equation for the area

$A = \frac{1}{2} \cdot 5 \cdot 5 = 12.5$
{"ft_lang_label":"__label__en","ft_lang_prob":0.8400855,"math_prob":1.0000025,"size":2065,"snap":"2023-14-2023-23","text_gpt3_token_len":637,"char_repetition_ratio":0.13197477,"word_repetition_ratio":0.0,"special_character_ratio":0.31622276,"punctuation_ratio":0.09185804,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.999995,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,4,null,4,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-05-28T23:26:07Z\",\"WARC-Record-ID\":\"<urn:uuid:11d75ec3-8205-4179-ab06-0af75b0e9f0a>\",\"Content-Length\":\"140754\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c0c6011c-72a6-4396-9e6f-2070090daeae>\",\"WARC-Concurrent-To\":\"<urn:uuid:a5814ede-f05f-409d-bfc7-8a6c63e6b49f>\",\"WARC-IP-Address\":\"216.239.34.21\",\"WARC-Target-URI\":\"https://socratic.org/calculus/using-integrals-to-find-areas-and-volumes/calculating-areas-using-integrals\",\"WARC-Payload-Digest\":\"sha1:EZFGM4YFOOZHRHFWWGZYDQW6HJKZ566F\",\"WARC-Block-Digest\":\"sha1:WZUGTYGVUUUGJRUQVW2K37XNRIIR2ITB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224644571.22_warc_CC-MAIN-20230528214404-20230529004404-00181.warc.gz\"}"}