Integration. Problem: An experiment has measured the number of particles entering a counter per unit time dN(t)/dt, as a function of time. The problem.

Slides:



Advertisements
Similar presentations
Adguary Calwile Laura Rogers Autrey~ 2nd Per. 3/14/11
Advertisements

Section 8.5 Riemann Sums and the Definite Integral.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
A Riemann sum is a method for approximating the total area underneath a curve on a graph. This method is also known as taking an integral. There are 3.
Section 5.7 Numerical Integration. Approximations for integrals: Riemann Sums, Trapezoidal Rule, Simpson's Rule Riemann Sum: Trapezoidal Rule: Simpson’s.
Numerical Integration
Lecture 3: Integration. Integration of discrete functions
NUMERICAL DIFFERENTIATION The derivative of f (x) at x 0 is: An approximation to this is: for small values of h. Forward Difference Formula.
CISE301_Topic7KFUPM1 SE301: Numerical Methods Topic 7 Numerical Integration Lecture KFUPM Read Chapter 21, Section 1 Read Chapter 22, Sections 2-3.
Numerical Integration In general, a numerical integration is the approximation of a definite integration by a “weighted” sum of function values at discretized.
Integrals 5.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Numerical Integration Approximating Definite Integral.
Lecture 19 - Numerical Integration CVEN 302 July 22, 2002.
Integration. Indefinite Integral Suppose we know that a graph has gradient –2, what is the equation of the graph? There are many possible equations for.
D MANCHE Finding the area under curves:  There are many mathematical applications which require finding the area under a curve.  The area “under”
Lecture 19 – Numerical Integration 1 Area under curve led to Riemann sum which led to FTC. But not every function has a closed-form antiderivative.
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
4.6 Numerical Integration. The Trapezoidal Rule One method to approximate a definite integral is to use n trapezoids.
Wicomico High School Mrs. J. A. Austin AP Calculus 1 AB Third Marking Term.
MA2213 Lecture 4 Numerical Integration. Introduction Definition is the limit of Riemann sums I(f)
AS Maths Masterclass Lesson 4: Areas by integration and the Trapezium rule.
Homework questions thus far??? Section 4.10? 5.1? 5.2?
Integration Copyright © Cengage Learning. All rights reserved.
If the integral cannot be evaluated, we can use an approximate method.
Section 5.9 Approximate Integration Practice HW from Stewart Textbook (not to hand in) p. 421 # 3 – 15 odd.
Distance Traveled Area Under a curve Antiderivatives
Antiderivatives and Indefinite Integration
Section 7.6 – Numerical Integration. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
Section 3.2 – Calculating Areas; Riemann Sums
Riemann Sums Approximating Area. One of the classical ways of thinking of an area under a curve is to graph the function and then approximate the area.
Finding Areas Numerically. y4y4 h y5y5 The basic idea is to divide the x-axis into equally spaced divisions as shown and to complete the top of these.
6. Numerical Integration 6.1 Definition of numerical integration. 6.2 Reasons to use numerical integration. 6.3 Formulas of numerical Integration. 6.4.
Estimating area under a curve
Section 7.6 – Numerical Integration. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
Riemann Sums and the Definite Integral. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
Chapter Definite Integrals Obj: find area using definite integrals.
SE301_Topic 6Al-Amer20051 SE301:Numerical Methods Topic 6 Numerical Integration Dr. Samir Al-Amer Term 053.
Definite Integral df. f continuous function on [a,b]. Divide [a,b] into n equal subintervals of width Let be a sample point. Then the definite integral.
Clicker Question 1 What is ? (Hint: u-sub) – A. ln(x – 2) + C – B. x – x 2 + C – C. x + ln(x – 2) + C – D. x + 2 ln(x – 2) + C – E. 1 / (x – 2) 2 + C.
5.2 – The Definite Integral. Introduction Recall from the last section: Compute an area Try to find the distance traveled by an object.
DO NOW: v(t) = e sint cost, 0 ≤t≤2∏ (a) Determine when the particle is moving to the right, to the left, and stopped. (b) Find the particles displacement.
Approximating Antiderivatives. Can we integrate all continuous functions? Most of the functions that we have been dealing with are what are called elementary.
Numerical Integration using Trapezoidal Rule
Numerical Integration
NUMERICAL DIFFERENTIATION Forward Difference Formula
5.5 The Trapezoid Rule.
Lecture 19 – Numerical Integration
Chapter 7 Numerical Differentiation and Integration
Riemann Sums and the Definite Integral
Midpoint and Trapezoidal Rules
NUMERICAL INTEGRATION
1. 2 What is Integration? Integration The process of measuring the area under a curve. Where: f(x) is the integrand a= lower limit of integration b=
Copyright © Cengage Learning. All rights reserved.
Review Practice problems
5. 7a Numerical Integration. Trapezoidal sums
Section 3.2 – Calculating Areas; Riemann Sums
Integration & Area Under a Curve
Copyright © Cengage Learning. All rights reserved.
Composite Numerical Integration
5. 7a Numerical Integration. Trapezoidal sums
Summation Formulas Constant Series.
Copyright © Cengage Learning. All rights reserved.
Section 3.2 – Calculating Areas; Riemann Sums
SKTN 2393 Numerical Methods for Nuclear Engineers
Numerical Integration
Objectives Approximate a definite integral using the Trapezoidal Rule.
§ 6.2 Areas and Riemann Sums.
Presentation transcript:

Integration

Problem: An experiment has measured the number of particles entering a counter per unit time dN(t)/dt, as a function of time. The problem may be to determine the number of particles that entered in the first second.

Integration Problem: An experiment has measured the number of particles entering a counter per unit time dN(t)/dt, as a function of time. The problem may be to determine the number of particles that entered in the first second.

Integration Integration is an important in Physics. used to determine the rate of growth in bacteria or to find the distance given the velocity (s = ∫vdt) as well as many other uses. The most familiar practical (probably the 1 st usage) use of integration is to calculate the area.

Integration Generally we use formulae to determine the integral of a function: F(x) can be found if its antiderivative, f(x) is known.

Integration when the antiderivative is unknown we are required to determine f(x) numerically.

Integration when the antiderivative is unknown we are required to determine f(x) numerically. To determine the definite integral we find the area between the curve and the x-axis. This is the principle of numerical integration.

Integration The traditional way to find the area is to divide the ‘area’ into boxes and count the number of boxes or quadrilaterals.

Integration One simple way to find the area is to integrate using midpoints.

Integration Figure shows the area under a curve using the midpoints

Integration One simple way to find the area is to integrate using midpoints. The midpoint rule uses a Riemann sum where the subinterval representatives are the midpoints of the subintervals. For some functions it may be easy to choose a partition that more closely approximates the definite integral using midpoints.

Integration The integral of the function is approximated by a summation of the strips or boxes. where

Integration Practically this is dividing the interval (a, b) into vertical strips and adding the area of these strips. Figure shows the area under a curve using the midpoints

Integration The width of the strips is often made equal but this is not always required.

Integration There are various integration methods: Trapezoid, Simpson’s, Milne, Gaussian Quadrature for example. We’ll be looking in detail at the Trapezoid and variants of the Simpson’s method.

Trapezoidal Rule

is an improvement on the midpoint implementation.

Trapezoidal Rule is an improvement on the midpoint implementation. the midpoints is inaccurate in that there are pieces of the “boxes” above and below the curve (over and under estimates).

Trapezoidal Rule Instead the curve is approximated using a sequence of straight lines, “slanted” to match the curve. fifi f i+1

Trapezoidal Rule By doing this we approximate the curve by a polynomial of degree-1.

Trapezoidal Rule Clearly the area of one rectangular strip from x i to x i+1 is given by

Trapezoidal Rule Clearly the area of one rectangular strip from x i to x i+1 is given by Generally is used. h is the width of a strip.

Trapezoidal Rule The composite Trapezium rule is obtained by applying the equation.1 over all the intervals of interest.

Trapezoidal Rule The composite Trapezium rule is obtained by applying the equation.1 over all the intervals of interest. Thus,,if the interval h is the same for each strip.

Trapezoidal Rule Note that each internal point is counted and therefore has a weight h, while end points are counted once and have a weight of h/2.

Trapezoidal Rule Given the data in the following table use the trapezoid rule to estimate the integral from x = 1.8 to x = 3.4. The data in the table are for e x and the true value is

Trapezoidal Rule As an exercise show that the approximation given by the trapezium rule gives

Simpson’s Rule

The midpoint rule was first improved upon by the trapezium rule.

Simpson’s Rule The midpoint rule was first improved upon by the trapezium rule. A further improvement is the Simpson's rule.

Simpson’s Rule The midpoint rule was first improved upon by the trapezium rule. A further improvement is the Simpson's rule. Instead of approximating the curve by a straight line, we approximate it by a quadratic or cubic function.

Simpson’s Rule Diagram showing approximation using Simpson’s Rule.

Simpson’s Rule There are two variations of the rule: Simpson’s 1/3 rule and Simpson’s 3/8 rule.

Simpson’s Rule The formula for the Simpson’s 1/3,

Simpson’s Rule The integration is over pairs of intervals and requires that total number of intervals be even of the total number of points N be odd.

Simpson’s Rule The formula for the Simpson’s 3/8,

Simpson’s Rule If the number of strips is divisible by three we can use the 3/8 rule.

Simpson’s Rule ues/definite/numerical- methods/exploration/index.html#