Open In App

Computing Definite Integrals

Improve
Improve
Like Article
Like
Save
Share
Report

Integrals are a very important part of the calculus. They allow us to calculate the anti-derivatives, that is given a function’s derivative, integrals give the function as output. Other important applications of integrals include calculating the area under the curve, the volume enclosed by a surface, etc. While the previous application mostly involves indefinite integrals, the latter one requires the boundaries to be well-defined and the integral is calculated in between those boundaries only. Such integrals are called definite integrals. 

Definite Integrals

Definite integrals are mostly used to calculate the areas and the volumes enclosed by the curves. Usually, the area is calculated using well-defined formulas for rectangles, circles, and squares, etc. In real life the shapes are not that simple, thus for calculating the areas for any arbitrary shape we use the definite integrals. For a function f(x) defined on the interval [a, b], the definite integral between these limits is given by, 

\int^{b}_af(x)dx

Here a is called the lower limit of the function and b is called the higher limit of the function. 

Given a function f(x) that is continuous on the interval [a, b] we divide the interval into n subintervals of equal width, \Delta x and from each interval choose a point x^{*}_{i}. Then the definite integral of f(x) from a to b is, 

\int^{b}_{a}f(x)dx = \lim_{n \to \infty}\sum^{n}_{i = 1}f(x_{i}^{*})\Delta x

The above figure explains the limit definition, as we increase the number of rectangles under the curve the approximated area becomes closer and closer to the actual area under the figure. 

Fundamental Theorem of Calculus

The area of the region bounded by the curve f(x) between the ordinates x = a and x = b and the x-axis is given by \int^{b}_{a}f(x)dx. Let’s say x is any point between the limits, then \int^{x}_{a}f(x)dx represents the area of the region from a to x. In other words, the area of this shaded region from “a” up until the value x is called the area function. It is given by, 

A = \int^{x}_{a}f(x)dx

Based on this definition, two fundamental theorems of calculus are defined. 

First Fundamental Theorem of Calculus

Let f(x) be a continuous function on the closed interval [a, b] and let A(x) be the area function. 

Then, A'(x) = f(x), for all x ∈ [a, b]. 

Second Fundamental Theorem of Calculus 

Let f(x) be a continuous function on the closed interval [a, b] and let F(x) be the anti-derivatives of the function f(x). Then, 

\int^{b}_{a}f(x)dx = [F(x)]^{b}_{a} = F(b) - F(a)

Area under the Curve

The area under the curve is given by the definite integrals. We know that the area is always a positive quantity, but while using the definite integrals, sometimes the area that comes out is negative. For example, consider the two functions below, one lies completely above the x-axis, the other one has some part that lies below the x-axis. In such cases, the two areas might cancel out each other. 

In this case, the area is given by, 

A = \int^{b}_{a}f(x)dx

For this case, the negative and positive areas must be calculated separately and only the magnitude of their areas must be added. 

A = \int^{c}_{a}f(x)dx + \int^{b}_{c}f(x)dx

Definite Integrals of Rational Function

For calculating the definite integrals for such functions, these functions are broken down using algebraic manipulation. 

Question: Calculate the value of the following integral

\int^{3}_{1}\frac{1 - x}{x^2}dx

Solution: 

\int^{3}_{1}\frac{1 - x}{x^2}dx \\ = \int^{3}_{1}( \frac{1}{x^2} - \frac{1}{x})dx \\ = \int^{3}_{1}( \frac{1}{x^2} )dx- \int^{3}_{1}(\frac{1}{x})dx \\ = [\frac{-1}{x}]^3_1 - [log(x)]^{3}_{1} \\ = 1 - \frac{1}{3} - (log(3) - log(1)) \\ = \frac{2}{3} - log(3)

Definite Integrals of Radical Functions

For calculating the definite integrals for such functions, we use the reverse power rule. 

Question: Calculate the value of the following integral

\int^{1}_{0}x^{\frac{1}{3}}dx

Solution: 

\int^{1}_{0}x^{\frac{1}{3}}dx

Using the reversed power rule, 

\int^{1}_{0}x^{\frac{1}{3}}dx \\ = [\frac{x^{\frac{4}{3}}}{\frac{3}{4}}]^{1}_{0} \\ = \frac{4}{3}

Definite Integrals of Trigonometric Functions

For calculating the definite integrals for such functions, we use the reverse power rule. 

Question: Calculate the value of the following integral

\int^{1}_{0}sin(x)dx

Solution: 

\int^{1}_{0}sin(x)dx \\ = [-cos(x)]^{1}_{0} \\ = 1 - cos(1)

Definite Integrals of Natural Logarithmic Function

For calculating the definite integrals for such functions, we use the following identity. 

\int ln(x)dx = xln(x) - x + C

Question: Calculate the value of the following integral

\int^{2}_{1}(ln(x) + 1)dx

Solution: 

\int^{2}_{1}(ln(x) + 1)dx \\ = \int^{2}_{1} ln(x)dx + \int^{2}_{1} 1dx

Using the formula mentioned above, 

\int^{2}_{1} ln(x)dx + \int^{2}_{1} 1dx \\ = [xln(x) - x]^2_1 + [x]^2_1 \\ = ((2ln(2) - 2) - (1ln(1) - 1)) + (2 - 1) \\ = (2ln(2) - 1) + 1\\ = 2ln(2)

Let’s look at some sample problems

Sample Problems

Question 1: Calculate the value of the following integral

\int^{3}_{1}(x^2 + x)dx

Solution: 

\int^{3}_{1}(x^2 + x)dx \\ = \int^{3}_{1}x^2dx + \int^{3}_{1}xdx \\ = [\frac{x^3}{3}]^3_1 + [\frac{x^2}{2}]^3_1 \\ = 9 - \frac{1}{3} + \frac{9}{2} - \frac{1}{2} \\ = 12 - \frac{1}{3} \\ = \frac{35}{3}

Question 2: Calculate the value of the following integral

\int^{1}_{0}\frac{(x^2 + x)}{x}dx

Solution: 

\int^{1}_{0}\frac{(x^2 + x)}{x}dx \\ = \int^{1}_{0}xdx + \int^{1}_{0}1dx  \\ = [\frac{x^2}{2}]^1_0 + [x]^{1}_{0} \\ = \frac{1}{2} + 1 \\ = \frac{3}{2}

Question 3: Calculate the value of the following integral

\int^{1}_{0}(\sqrt{x} + x)dx

Solution: 

\int^{1}_{0}(\sqrt{x} + x)dx

Using the reversed power rule

\int^{1}_{0}(\sqrt{x} + x)dx \\ =[\frac{x^{\frac{3}{2}}}{\frac{3}{2}}  + x^2]^1_0 \\ = [\frac{2x^{\frac{3}{2}}}{3}  + x^2]^1_0 \\ = \frac{2}{3} + 1 \\ = \frac{5}{3}

Question 4: Calculate the value of the following integral

\int^{1}_{0}sin(x) + cos(x)dx

Solution: 

\int^{1}_{0}sin(x) + cos(x)dx \\ = [-cos(x) + sin(x)]^1_0 \\ = [-cos(1) + sin(1)] - [1] \\ = sin(1) - cos(1) - 1

Question 5: Calculate the value of the following integral

\int^{2}_{1}(ln(x) + e^x)dx

Solution: 

\int^{2}_{1}(ln(x) + e^x)dx \\ = \int^{2}_{1} ln(x)dx + \int^{2}_{1} e^xdx

Using the formula mentioned above, 

\int^{2}_{1} ln(x)dx + \int^{2}_{1} e^xdx \\ = [xln(x) - x]^2_1 + [e^x]^2_1 \\ = ((2ln(2) - 2) - (1ln(1) - 1)) + (e^2 - e) \\ = (2ln(2) - 1) + e^2 - e\\ = 2ln(2) + e^2 -e -1



Last Updated : 24 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads