Académique Documents
Professionnel Documents
Culture Documents
Topic:- What are the applications of definite integral.compare trapezoidal rule and simpson rule.
Subject code:-MTH-204
Subject:-Numerical analysis
Roll no:-RC2802A05
Sec no:-RC2802
Reg no:-10801530
Page 1
Applications of Definite Integral
Areas 2
Arc Length 3
Definite integral 6
Trapezoidal rule 8
Simpson’s rule 11
Areas
A Equations of Curves are represented in Rectangular Form
Page 2
Applications of Definite Integral
Theorem The area enclosed by the graph of y = f ( x) , the x-axis and the lines x=a and x = b is equal to
b b
∫a
f ( x ) dx or ∫
a
y dx .
Theorem The area enclosed by the graph of x = g( y ) , the x-axis and the lines y = c and y = d is equal to
d d
∫c
g( y ) dy or ∫
c
x dy .
It is known that the area between the curve y = f ( x) and the lines x = a, x =b and y = 0 is given by
b
∫a
y dx .
Page 3
Applications of Definite Integral
x = F( t )
If the equation of the curve is in parametric form ,
y = G(t )
t =α when x = a;
where t is a parameter, and if
t =β when x = b,
dx
= F' ( t ) is a continuous function on [ α ,β ] , and F' (t ) does not change sign is in ( α ,β ) , then the
dt
x = F( t )
area of the region bounded by the curve , the x-axis and the lines x = a, x =b is
y = G(t )
β β
∫α
G (t ) F' ( t )dt = ∫ y x' ( t )dt . ( Integration by substitution )
α
dx
This formula is also true when if α >β . In this case = F' ( t ) ≤ 0 for all t ∈( β ,α ) .
dt
Arc Lengths
Theorem If a curve y = f ( x) has a continuous derivative on [a, b ] , then the length of the curve from x=a to
2
b b dy
x = b is given by ∫a
1 + (f ' ( x )) 2 dx = ∫
a
1 + dx .
dx
Remark If the equation of the curve is in the form x = g( y ) , then the length of the arc between y = c and y = d is
2
d d dx
given by ∫c
1 + ( g ' ( x )) 2 dy = ∫
c
1 +
dy
dy .
Theorem When a function is expressed in parametric form x = f ( t ) and y = g( t ) , the arc length s of the curve
from t = a to t = b is given by
b
s =∫ (f ' ( t )) 2 + ( g' ( t )) 2 dt
a
Page 4
Applications of Definite Integral
A Disc Method
Theorem Let y = f ( x) be a continuous function defined on [a, b] , and S be the region bounded by the curve
y = f ( x ) , the lines x = a, x =b and the x-axis. Then the volume V of the solid generated by revolving the
region S one complete revolution about the x-axis is given by
2
V =π ∫ y 2 dx =π ∫ [f ( x )] dx .
b b
a a
x = h( t )
Remark In parametric form , the volume of solid of resolution generated by revolving the region enclosed
y = g( t )
by the graph, x-axis and from t 1 to t 2 about x-axis.
t2
V =π ∫ ( g( t )) 2 h' ( t )dt
t1
Theorem Let y = f ( x) be a continuous function defined on [a, b] , and S be the region bounded by the curve
y = f ( x ) , the lines x = a, x =b and y = h . Then the volume V of the solid generated by revolving the
region S one complete revolution about the y = h is given by
2
V =π ∫ ( y −h ) 2 dx =π ∫ [f ( x ) −h ] dx
b b
a a
B Shell Method
Theorem Let f be a function continuous on [a, b] . If the area bounded by the graph of f ( x ) , the x-axis and the
x=a
b
lines and x = b is revolved about the y-axis, the volume V of solid generated is ∫a
2 π xf ( x )dx
Theorem Suppose y = f ( x ) has a continuous derivative on [a, b] . Then the area S of the surface of
revolution by the arc of the curve y = f ( x ) between x=a and x = b about the x-axis is
2π ∫ f ( x ) 1 + [f ' ( x )] 2 dx
b
S =
a
2
b dy
= 2π ∫ y 1 + dx
a
dx
Remark The corresponding formula for the area of the surface of revolution obtained by revolving an arc of a curve
x = g( y ) from y = c to y = d about the y-axis is
2π ∫ g( y ) 1 + [ g' ( y )] 2 dy
d
S =
c
Page 5
Applications of Definite Integral
2
d dx
= 2π ∫ x 1 +
dy
dy
c
Theorem If a portion of the curve of parametric equations x = x( t ) , y = y ( t ) between the points corresponding to
t 1 and t 2 is revolved about the x-axis, the surface area S is
t2 t2
S = 2π ∫ y ( t )ds = 2π ∫ y ( t ) [ x' ( t )] 2 + [ y' ( t )] 2 dt .
t 1 t 1
Page 6
Applications of Definite Integral
Defifnite integral:-
with upper and lower limits. If is restricted to lie on the real line, the definite integral is known as a Riemann integral
(which is the usual definition encountered in elementary textbooks). However, a general definite integral is taken in the
complex plane, resulting in the contour integral (2)
with , , and in general being complex numbers and the path of integration from to known as a contour.
The first fundamental theorem of calculus allows definite integrals to be computed in terms of indefinite integrals, since
if is the indefinite integral for a continuous function , then (3)
This result, while taught early in elementary calculus courses, is actually a very deep result connecting the purely
algebraic indefinite integral and the purely analytic (or geometric) definite integral. Definite integrals may be evaluated
in Mathematica using Integrate[f, x, a, b].
The question of which definite integrals can be expressed in terms of elementary functions is not susceptible to any
established theory. In fact, the problem belongs to transcendence theory, which appears to be "infinitely hard." For
example, there are definite integrals that are equal to the Euler-Mascheroni constant . However, the problem of
deciding whether can be expressed in terms of the values at rational values of elementary functions involves the
decision as to whether is rational or algebraic, which is not known.
Page 7
Applications of Definite Integral
and (5)
For , (6)
Trapezoidal Rule:-
This article is about the quadrature rule for approximating integrals. For the Explicit trapezoidal rule for solving initial value
problems, see Heun's method.The function f(x) (in blue) is approximated by a linear function (in red).In mathematics, the
trapezoidal rule (also known as the trapezoid rule or trapezium rule) is an approximate technique for calculating the definite
integral.The trapezoidal rule works by approximating the region under the graph of the function f(x) as a trapezoid and calculating
its area. It follows that
Page 8
Applications of Definite Integral
To calculate this integral more accurately, one first splits the interval of integration [a,b] into N smaller, uniform subintervals, and
then applies the trapezoidal rule on each of them. One obtains the composite trapezoidal rule:
Where
This formula is not valid for a non-uniform grid, however the composite trapezoidal rule can be used with a variable trapezium
widths.
Non-uniform intervals:-Given data and then the integral can be approximated as follows,
where
yi = f(xi).
Page 9
Applications of Definite Integral
Simpson's rule:- In numerical analysis, Simpson's rule is a method for numerical integration, the numerical approximation of
definite integrals. Specifically, it is the following approximation:
The method is credited to the mathematician Thomas Simpson (1710–1761) of Leicestershire, England.
Derivation:-
Simpson's rule can be derived in various ways.
Quadratic interpolation:-
One derivation replaces the integrand f(x) by the quadratic polynomial P(x) which takes the same values as f(x) at the end points a
and b and the midpoint m = (a+b) / 2. One can use Lagrange polynomial interpolation to find an expression for this polynomial,
This calculation can be carried out more easily if one first observes that (by scaling) there is no loss of generality in assuming that a
= − 1 and b = 1.
Another derivation constructs Simpson's rule from two simpler approximations: the midpoint rule
Page 10
Applications of Definite Integral
respectively. It follows that the leading error term vanishes if we take the weighted average
The coefficients α, β and γ can be fixed by requiring that this approximation be exact for all quadratic polynomials. This yields
Simpson's rule.
Error:-
If the interval of integration [a,b] is in some sense "small", then Simpson's rule will provide an adequate approximation to the exact
integral. By small, what we really mean is that the function being integrated is relatively smooth over the interval [a,b]. For such a
function, a smooth quadratic interpolant like the one used in Simpson's rule will give good results.
However, it is often the case that the function we are trying to integrate is not smooth over the interval. Typically, this means that
either the function is highly oscillatory, or it lacks derivatives at certain points. In these cases, Simpson's rule may give very poor
Page 11
Applications of Definite Integral
results. One common way of handling this problem is by breaking up the interval [a,b] into a number of small subintervals.
Simpson's rule is then applied to each subinterval, with the results being summed to produce an approximation for the integral over
the entire interval. This sort of approach is termed the composite Simpson's rule.
Suppose that the interval [a,b] is split up in n subintervals, with n an even number. Then, the composite Simpson's rule is given by
where xj = a + jh for j = 0,1,...,n − 1,n with h = (b − a) / n; in particular, x0 = a and xn = b. The above formula can also be written
as
The error committed by the composite Simpson's rule is bounded (in absolute value) by
This formulation splits the interval [a,b] in subintervals of equal length. In practice, it is often advantageous to use subintervals of
different lengths, and concentrate the efforts on the places where the integrand is less well-behaved. This leads to the adaptive
Simpson's method.
This is another formulation of a composite Simpson's rule: instead of applying Simpson's rule to disjoint segments of the integral to
be approximated, Simpson's rule is applied to overlapping segments.
Simpson's 3/8 rule is another method for numerical integration proposed by Thomas Simpson. It is based upon a cubic interpolation
rather than a quadratic interpolation. Simpson's 3/8 rule is as follows:
Page 12
Applications of Definite Integral
where ξ is some number between a and b. Thus, the 3/8 rule is about twice as accurate as the standard method, but it uses one more
function value. A composite 3/8 rule also exists, similarly as above.
References:-
1) http://en.wikipedia.org/wiki/Trapezoidal_rule
2) http://en.wikipedia.org/wiki/Simpson's_rule
3) http://www.mecca.org/~halfacre/MATH/appint.htm
Page 13