Solveeit Logo

Question

Question: How do you find a definite integral by computing an area?...

How do you find a definite integral by computing an area?

Explanation

Solution

We first define the definition and the mathematical expression for area under the curve. For continuous function y=f(x)y=f\left( x \right) in the interval of axba\le x\le b, the integral takes form of I=abf(x)dxI=\int\limits_{a}^{b}{f\left( x \right)dx}. Then we use an example to understand the concept better.

Complete step-by-step answer:
Let y=f(x)y=f\left( x \right) be a single-valued, continuous and monotonic increasing function defined in the interval axba\le x\le b.
The whole area under the curve gets divided into nn equal parts each of length hh.
Therefore, the intervals are defined as nh=banh=b-a.
We take the small length of hh as dxdx in the integral form, which defines a small interval.
The integral form becomes I=abf(x)dxI=\int\limits_{a}^{b}{f\left( x \right)dx}.
Now we take an example.
We try to find the area of the function x22x+1dx\int{\dfrac{{{x}^{2}}-2}{x+1}dx} from [0,2]\left[ 0,2 \right]. Let I=02x22x+1dxI=\int\limits_{0}^{2}{\dfrac{{{x}^{2}}-2}{x+1}dx}.
Now we express the numerator of the faction x22{{x}^{2}}-2 as x22=x211{{x}^{2}}-2={{x}^{2}}-1-1.
Now we break the total function into two sub functions.
We get x22x+1=x211x+1=x21x+11x+1\dfrac{{{x}^{2}}-2}{x+1}=\dfrac{{{x}^{2}}-1-1}{x+1}=\dfrac{{{x}^{2}}-1}{x+1}-\dfrac{1}{x+1}.
We apply the identity a2b2=(a+b)(ab){{a}^{2}}-{{b}^{2}}=\left( a+b \right)\left( a-b \right) to get x21=(x+1)(x1){{x}^{2}}-1=\left( x+1 \right)\left( x-1 \right).
From the fraction we get x21x+1=(x+1)(x1)(x+1)=(x1)\dfrac{{{x}^{2}}-1}{x+1}=\dfrac{\left( x+1 \right)\left( x-1 \right)}{\left( x+1 \right)}=\left( x-1 \right).
So, I=02(x1)dx021x+1dxI=\int\limits_{0}^{2}{\left( x-1 \right)dx}-\int\limits_{0}^{2}{\dfrac{1}{x+1}dx}.
We know xndx=xn+1n+1+c\int{{{x}^{n}}dx}=\dfrac{{{x}^{n+1}}}{n+1}+c and 1xdx=logx+c\int{\dfrac{1}{x}dx}=\log \left| x \right|+c.
We can also form the integration 021x+1dx\int\limits_{0}^{2}{\dfrac{1}{x+1}dx} as 021x+1d(x+1)\int\limits_{0}^{2}{\dfrac{1}{x+1}d\left( x+1 \right)}.
This is possible because of d(x+1)=dxd\left( x+1 \right)=dx.
Therefore,
I=02(x1)dx021x+1dx =[x22x]02[logx+1]02 \begin{aligned} & I=\int\limits_{0}^{2}{\left( x-1 \right)dx}-\int\limits_{0}^{2}{\dfrac{1}{x+1}dx} \\\ & =\left[ \dfrac{{{x}^{2}}}{2}-x \right]_{0}^{2}-\left[ \log \left| x+1 \right| \right]_{0}^{2} \\\ \end{aligned}
We put the values in the equations to get
I=[x22x]02[logx+1]02=[22][log3log1]=log3I=\left[ \dfrac{{{x}^{2}}}{2}-x \right]_{0}^{2}-\left[ \log \left| x+1 \right| \right]_{0}^{2}=\left[ 2-2 \right]-\left[ \log 3-\log 1 \right]=-\log 3
Therefore, the definite integral of x22x+1dx\int{\dfrac{{{x}^{2}}-2}{x+1}dx} from [0,2]\left[ 0,2 \right] is equal to log3-\log 3.

Note: We need to understand that the area can also be determined with respect to the other axis. In that case we take the small interval as dydy and the interval would have to be on the Y-axis as cydc\le y\le d. The function remains as it is. The integral form becomes I=cdydy{{I}^{'}}=\int\limits_{c}^{d}{ydy}.