Topic 6a Numerical Integration

Size: px
Start display at page:

Download "Topic 6a Numerical Integration"

Transcription

1 Course Instructor Dr. Raymond C. Rumpf Office: A 337 Phone: (915) E Mail: rcrumpf@utep.edu Topic 6a umerical Integration EE 4386/5301 Computational Methods in EE Outline Introduction Discrete Integration Trapezoidal Integration Simpson s Integration Multiple Integrals Convergence 1

2 Introduction 3 Why Use umerical Integration? How to we calculate the following integral? b x e dx a o analytical solution exists to perform this integration by hand. We are forced to calculate the integration by other means. 4

3 Discrete Integration 5 Problem Setup Suppose we have a function f(x) and we want to integrate it from a to b. b a f x dx 6 3

4 Solution (1 of ) When we solve this problem on a computer, we will most likely only know the function value at discrete points. 7 Solution ( of ) A simple approach to approximate this integral is to represent the area under this function as a series of rectangles. Observe that the position of the points are at the center of the rectangles. b a ba ba f xdx f xnx f xn x n1 n1 x 8 4

5 Error Approximating the integral this way produces some error. Gaps between the true curve and the rectangles leads to error. 9 Reducing the Errors The only way to reduce error is to use thinner rectangles. However, this increases the number of computations that have to be performed which increases calculation time and could lead to larger round off error. Or, use a different numerical integration technique altogether! 10 5

6 Trapezoidal Integration 11 Problem Setup Suppose we have a function f(x) and we want to integrate it from a to b. b a f x dx 1 6

7 Solution (1 of ) A more accurate technique for numerical integration uses the trapezoidal rule. For this, we place the points x n differently. Points are placed at the extreme ends and distributed evenly. 13 Solution ( of ) Instead of fitting rectangles under the curve, we use trapezoids. This conforms more closely to the curve. 14 7

8 Error Approximating the integral this way still produces some error. There is noticeably less error than with discrete integration. E 1 t x f x ba 1 The error for trapezoidal integration is 3 15 Formulation (1 of ) The total area of a trapezoid is f x A 1 1 x x f f baseheight tri 1 1 f x 1 widthheight A x x f rect 1 1 x1 x Total Area of Trapezoid A Arect At ri 1 f f x x x x f x x f f 1 1 Slide

9 Formulation ( of ) In trapezoidal integration, we add all of the areas of the trapezoids to approximate the integration. b a f x n1 x dx x n1 n1 x f n n f f n n1 f n1 nonuniform spacing uniform spacing Slide 17 Uniform Spacing When the spacing is uniform, trapezoidal integration reduces to b a x f x dx fn f n1 n 1 To understand this more deeply, we expand the summation over four trapezoids. n1 f f f f f f f f f f n n We see that each point is included twice, except the two endpoints at x = a and x = b. n1 f f f f f f f n n Slide 18 9

10 Discrete Vs. Trapezoidal Integration (1 of ) There are some key differences between discrete and trapezoidal integration: Points are distributed differently. Discrete integration is easier to implement. Trapezoidal integration has less error. Trapezoidal more elegantly handles nonuniform spacing. Discrete Integration Trapezoidal Integration 19 Discrete Vs. Trapezoidal Integration ( of ) Let s compare the equations for both discrete and trapezoidal integration. First, we can rearrange trapezoidal integration as follows: b a x f x dx fn f x f f f f f n1 n The equivalent equation for discrete integration is b a f x dx x f x f f f f n1 n We see that trapezoidal integration reduces to discrete integration but with one extra rectangle added. 0 10

11 Interpreting Trapezoidal Integration as Discrete Integration Trapezoidal integration can be written as b a x f x dx fn f x f f f f f n1 n This can be interpreted as a modified discrete integration. 1 How Can Discrete & Trapezoidal Produce Roughly the Same Error? egative Error Positive Error Positive and negative error tend to cancel within a segment. 11

12 Simpson s Integration 3 Simpson s 1/3 Rule Suppose we have three adjacent points and we fit them to a second order polynomial. f x a a x a x 0 1 ow let s integrate the polynomial under the curve. x3 x3 0 1 f x dx a a x a x dx x1 x1 1 x f 4 f f To implement Simpson s 1/3 rule, we simply apply this to f(x) in groups of 3 points. Slide 4 1

13 Derivation of Simpson s 1/3 Rule First, fit the three points to a polynomial. f x a a x a x 0 1 f f f f f a f a a x x x 0 x Second, integrate the polynomial from x to x. x a 3 0 a1xax dxa0x a1x ax a0x a x x x x Substitute in the expressions for a 0, a 1, and a. f f f 1 a x a x x x x f f f 3 3 x f 1 3 Slide 5 Implementation of Simpson s 1/3 Rule Animation of umerical Integration Using Simpson s 1/3 Rule Slide 6 13

14 Simpson s 3/8 Rule This is similar to Simpson s 1/3 rule, except we apply it to f(x) in groups of 4 points. x4 x1 3 f x dx x f f f f Slide 7 Multiple Integrals 8 14

15 Problem Setup Suppose we have a function f(x,y) with two independent variables. How do we evaluate a double integral? xb yd xa yc f x, y dxdy? We will view this as an integral of integrals. xb xa yd yc f x, ydy dx? We evaluate the inside integral for each step of in the integration of the outside integral. Slide 9 Illustration of umerical Double Integration We start with a D array. We numerically integrate each of the columns to get a 1D array. We numerically integrate the 1D array. Our final answer is the numerical double integral of the original D array. Slide 30 15

16 Via Discrete Integration This is very easy using discrete integration. Our discrete equation is xb yd M xa yc b a x M d c y,, f x y dxdy f a mx c ny xy m0 n0 The MATLAB code to do this is simply dx = (b - a)/m; dy = (d - c)/; I = sum(f(:))*dx*dy; Slide 31 Convergence 3 16

17 What is Convergence? Convergence is the tendency of a numerical algorithm to approach a specific value as the resolution of the algorithm is increased. This does OT imply the answer gets more correct. There may still be something wrong with your calculation! Slide 33 Demonstration of Convergence Suppose we wish to evaluate the following integral: sin xdx 0 How many segments are necessary? There is no way to tell. We must perform a convergence study! Slide 34 17

18 Analytical Answer To check ourselves, we can solve the integral analytically 0 sin xdx cos x 0 cos cos 0 Slide 35 Convergence Study Slide 36 18

19 Convergence Study It is up to you to decide when a numerical algorithm is sufficiently converged. Perhaps convergence happens here if only a rough estimate is needed. Perhaps convergence happens here if higher precision is needed. Slide 37 Convergence Does OT Imply Correctness Sometimes we get lazy and say that algorithms get more accurate with higher resolution. THIS IS OT CORRECT!!! Algorithms can only become better converged. Less Correct? More Correct Slide 38 19

20 Rule of Thumb for Resolution For calculations involving waves, the resolution begins to converge when you resolve one wave cycle with about 10 divisions. wavelength 10 Slide 39 0

Lecture Outline. Scattering From a Dielectric Slab Anti Reflection Layer Bragg Gratings 8/9/2018. EE 4347 Applied Electromagnetics.

Lecture Outline. Scattering From a Dielectric Slab Anti Reflection Layer Bragg Gratings 8/9/2018. EE 4347 Applied Electromagnetics. Course Instructor Dr. Raymond C. Rumpf Office: A 337 Phone: (95) 747 6958 E Mail: rcrumpf@utep.edu EE 4347 Applied Electromagnetics Topic 3k Multiple Scattering Multiple These Scattering notes may contain

More information

Lecture Outline. Scattering at an Impedance Discontinuity Power on a Transmission Line Voltage Standing Wave Ratio (VSWR) 8/10/2018

Lecture Outline. Scattering at an Impedance Discontinuity Power on a Transmission Line Voltage Standing Wave Ratio (VSWR) 8/10/2018 Course Instructor Dr. Raymond C. Rumpf Office: A 337 Phone: (95) 747 6958 E Mail: rcrumpf@utep.edu EE 4347 Applied Electromagnetics Topic 4d Scattering on a Transmission Line Scattering These on a notes

More information

MATH 1014 Tutorial Notes 8

MATH 1014 Tutorial Notes 8 MATH4 Calculus II (8 Spring) Topics covered in tutorial 8:. Numerical integration. Approximation integration What you need to know: Midpoint rule & its error Trapezoid rule & its error Simpson s rule &

More information

1.4 Techniques of Integration

1.4 Techniques of Integration .4 Techniques of Integration Recall the following strategy for evaluating definite integrals, which arose from the Fundamental Theorem of Calculus (see Section.3). To calculate b a f(x) dx. Find a function

More information

Multiple Integrals. Introduction and Double Integrals Over Rectangular Regions. Philippe B. Laval KSU. Today

Multiple Integrals. Introduction and Double Integrals Over Rectangular Regions. Philippe B. Laval KSU. Today Multiple Integrals Introduction and Double Integrals Over Rectangular Regions Philippe B. Laval KSU Today Philippe B. Laval (KSU) Double Integrals Today 1 / 21 Introduction In this section we define multiple

More information

Math 42: Fall 2015 Midterm 2 November 3, 2015

Math 42: Fall 2015 Midterm 2 November 3, 2015 Math 4: Fall 5 Midterm November 3, 5 NAME: Solutions Time: 8 minutes For each problem, you should write down all of your work carefully and legibly to receive full credit When asked to justify your answer,

More information

Multiple Integrals. Introduction and Double Integrals Over Rectangular Regions. Philippe B. Laval. Spring 2012 KSU

Multiple Integrals. Introduction and Double Integrals Over Rectangular Regions. Philippe B. Laval. Spring 2012 KSU Multiple Integrals Introduction and Double Integrals Over Rectangular Regions Philippe B Laval KSU Spring 2012 Philippe B Laval (KSU) Multiple Integrals Spring 2012 1 / 21 Introduction In this section

More information

Riemann Sum Comparison

Riemann Sum Comparison Double Integrals 12.1 14 Riemann Sum Comparison Riemann sum to approximate area Subdivide [a, b] into n intervals I. Double Integrals 12.1 14 Riemann Sum Comparison Riemann sum to approximate area Subdivide

More information

(x + 3)(x 1) lim(x + 3) = 4. lim. (x 2)( x ) = (x 2)(x + 2) x + 2 x = 4. dt (t2 + 1) = 1 2 (t2 + 1) 1 t. f(x) = lim 3x = 6,

(x + 3)(x 1) lim(x + 3) = 4. lim. (x 2)( x ) = (x 2)(x + 2) x + 2 x = 4. dt (t2 + 1) = 1 2 (t2 + 1) 1 t. f(x) = lim 3x = 6, Math 140 MT1 Sample C Solutions Tyrone Crisp 1 (B): First try direct substitution: you get 0. So try to cancel common factors. We have 0 x 2 + 2x 3 = x 1 and so the it as x 1 is equal to (x + 3)(x 1),

More information

5.2 LENGTHS OF CURVES & AREAS OF SURFACES OF REVOLUTION

5.2 LENGTHS OF CURVES & AREAS OF SURFACES OF REVOLUTION 5.2 Arc Length & Surface Area Contemporary Calculus 1 5.2 LENGTHS OF CURVES & AREAS OF SURFACES OF REVOLUTION This section introduces two additional geometric applications of integration: finding the length

More information

7.1 Indefinite Integrals Calculus

7.1 Indefinite Integrals Calculus 7.1 Indefinite Integrals Calculus Learning Objectives A student will be able to: Find antiderivatives of functions. Represent antiderivatives. Interpret the constant of integration graphically. Solve differential

More information

4.9 APPROXIMATING DEFINITE INTEGRALS

4.9 APPROXIMATING DEFINITE INTEGRALS 4.9 Approximating Definite Integrals Contemporary Calculus 4.9 APPROXIMATING DEFINITE INTEGRALS The Fundamental Theorem of Calculus tells how to calculate the exact value of a definite integral IF the

More information

Lecture Outline. Scattering at an Interface Sunrises & Sunsets Rainbows Polarized Sunglasses 8/9/2018. EE 4347 Applied Electromagnetics.

Lecture Outline. Scattering at an Interface Sunrises & Sunsets Rainbows Polarized Sunglasses 8/9/2018. EE 4347 Applied Electromagnetics. Course Instructor Dr. Raymond C. Rumpf Office: A 337 Phone: (915) 747 6958 E Mail: rcrumpf@utep.edu EE 4347 Applied Electromagnetics Topic 3i Scattering at an Interface: Examples Examples These notes may

More information

Lecture 28 The Main Sources of Error

Lecture 28 The Main Sources of Error Lecture 28 The Main Sources of Error Truncation Error Truncation error is defined as the error caused directly by an approximation method For instance, all numerical integration methods are approximations

More information

Math 425 Notes 9. We state a rough version of the fundamental theorem of calculus. Almost all calculations involving integrals lead back to this.

Math 425 Notes 9. We state a rough version of the fundamental theorem of calculus. Almost all calculations involving integrals lead back to this. Multiple Integrals: efintion Math 425 Notes 9 We state a rough version of the fundamental theorem of calculus. Almost all calculations involving integrals lead back to this. efinition 1. Let f : R R and

More information

Math 122 Fall Unit Test 1 Review Problems Set A

Math 122 Fall Unit Test 1 Review Problems Set A Math Fall 8 Unit Test Review Problems Set A We have chosen these problems because we think that they are representative of many of the mathematical concepts that we have studied. There is no guarantee

More information

Synthesizing Geometries for 21st Century Electromagnetics

Synthesizing Geometries for 21st Century Electromagnetics ECE 5322 21 st Century Electromagnetics Instructor: Office: Phone: E Mail: Dr. Raymond C. Rumpf A 337 (915) 747 6958 rcrumpf@utep.edu Lecture #18b Synthesizing Geometries for 21st Century Electromagnetics

More information

Precalculus Summer Assignment 2015

Precalculus Summer Assignment 2015 Precalculus Summer Assignment 2015 The following packet contains topics and definitions that you will be required to know in order to succeed in CP Pre-calculus this year. You are advised to be familiar

More information

t 2 + 2t dt = (t + 1) dt + 1 = arctan t x + 6 x(x 3)(x + 2) = A x +

t 2 + 2t dt = (t + 1) dt + 1 = arctan t x + 6 x(x 3)(x + 2) = A x + MATH 06 0 Practice Exam #. (0 points) Evaluate the following integrals: (a) (0 points). t +t+7 This is an irreducible quadratic; its denominator can thus be rephrased via completion of the square as a

More information

Variational Methods & Optimal Control

Variational Methods & Optimal Control Variational Methods & Optimal Control lecture 12 Matthew Roughan Discipline of Applied Mathematics School of Mathematical Sciences University of Adelaide April 14, 216

More information

Project One: C Bump functions

Project One: C Bump functions Project One: C Bump functions James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 2, 2018 Outline 1 2 The Project Let s recall what the

More information

First Order Differential Equations

First Order Differential Equations Chapter 2 First Order Differential Equations 2.1 9 10 CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 2.2 Separable Equations A first order differential equation = f(x, y) is called separable if f(x, y)

More information

Lecture Outline. Attenuation Coefficient and Phase Constant Characteristic Impedance, Z 0 Special Cases of Transmission Lines

Lecture Outline. Attenuation Coefficient and Phase Constant Characteristic Impedance, Z 0 Special Cases of Transmission Lines Course Instructor Dr. Raymond C. Rumpf Office: A 337 Phone: (915) 747 6958 E Mail: rcrumpf@utep.edu EE 4347 Applied Electromagnetics Topic 4b Transmission Line Parameters Transmission These Line notes

More information

Numerical Implementation of Transformation Optics

Numerical Implementation of Transformation Optics ECE 5322 21 st Century Electromagnetics Instructor: Office: Phone: E Mail: Dr. Raymond C. Rumpf A 337 (915) 747 6958 rcrumpf@utep.edu Lecture #16b Numerical Implementation of Transformation Optics Lecture

More information

Integration TERMINOLOGY. Definite integral: The integral or primitive function restricted to a lower

Integration TERMINOLOGY. Definite integral: The integral or primitive function restricted to a lower TERMINOLOGY Integration Definite integral: The integral or primitive function restricted to a lower b and upper boundary. It has the notation f (x).dx and geometrically a represents the area between the

More information

Integration Using Tables and Summary of Techniques

Integration Using Tables and Summary of Techniques Integration Using Tables and Summary of Techniques Philippe B. Laval KSU Today Philippe B. Laval (KSU) Summary Today 1 / 13 Introduction We wrap up integration techniques by discussing the following topics:

More information

MEI Core 1. Basic Algebra. Section 1: Basic algebraic manipulation and solving simple equations. Manipulating algebraic expressions

MEI Core 1. Basic Algebra. Section 1: Basic algebraic manipulation and solving simple equations. Manipulating algebraic expressions MEI Core Basic Algebra Section : Basic algebraic manipulation and solving simple equations Notes and Examples These notes contain subsections on Manipulating algebraic expressions Collecting like terms

More information

Mark Scheme (Results) January 2007

Mark Scheme (Results) January 2007 Mark Scheme (Results) January 007 GCE GCE Mathematics Core Mathematics C (666) Edexcel Limited. Registered in England and Wales No. 96750 Registered Office: One90 High Holborn, London WCV 7BH January 007

More information

Assume that you have made n different measurements of a quantity x. Usually the results of these measurements will vary; call them x 1

Assume that you have made n different measurements of a quantity x. Usually the results of these measurements will vary; call them x 1 #1 $ http://www.physics.fsu.edu/users/ng/courses/phy2048c/lab/appendixi/app1.htm Appendix I: Estimates for the Reliability of Measurements In any measurement there is always some error or uncertainty in

More information

Math Precalculus I University of Hawai i at Mānoa Spring

Math Precalculus I University of Hawai i at Mānoa Spring Math 135 - Precalculus I University of Hawai i at Mānoa Spring - 2013 Created for Math 135, Spring 2008 by Lukasz Grabarek and Michael Joyce Send comments and corrections to lukasz@math.hawaii.edu Contents

More information

Chapter 4 Integration

Chapter 4 Integration Chapter 4 Integration SECTION 4.1 Antiderivatives and Indefinite Integration Calculus: Chapter 4 Section 4.1 Antiderivative A function F is an antiderivative of f on an interval I if F '( x) f ( x) for

More information

2.2 Separable Equations

2.2 Separable Equations 2.2 Separable Equations Definition A first-order differential equation that can be written in the form Is said to be separable. Note: the variables of a separable equation can be written as Examples Solve

More information

Lecture Outline. Shorted line (Z L = 0) Open circuit line (Z L = ) Matched line (Z L = Z 0 ) 9/28/2017. EE 4347 Applied Electromagnetics.

Lecture Outline. Shorted line (Z L = 0) Open circuit line (Z L = ) Matched line (Z L = Z 0 ) 9/28/2017. EE 4347 Applied Electromagnetics. 9/8/17 Course Instructor Dr. Raymond C. Rumpf Office: A 337 Phone: (915) 747 6958 E Mail: rcrumpf@utep.edu EE 4347 Applied Electromagnetics Topic 4b Transmission ine Behavior Transmission These ine notes

More information

Section 1.1 Algorithms. Key terms: Algorithm definition. Example from Trapezoidal Rule Outline of corresponding algorithm Absolute Error

Section 1.1 Algorithms. Key terms: Algorithm definition. Example from Trapezoidal Rule Outline of corresponding algorithm Absolute Error Section 1.1 Algorithms Key terms: Algorithm definition Example from Trapezoidal Rule Outline of corresponding algorithm Absolute Error Approximating square roots Iterative method Diagram of a general iterative

More information

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation Lecture 18 : Direction Fields and Euler s Method A Differential Equation is an equation relating an unknown function and one or more of its derivatives. Examples Population growth : dp dp = kp, or = kp

More information

March 4, 2019 LECTURE 11: DIFFERENTIALS AND TAYLOR SERIES.

March 4, 2019 LECTURE 11: DIFFERENTIALS AND TAYLOR SERIES. March 4, 2019 LECTURE 11: DIFFERENTIALS AND TAYLOR SERIES 110211 HONORS MULTIVARIABLE CALCULUS PROFESSOR RICHARD BROWN Synopsis Herein, we give a brief interpretation of the differential of a function

More information

Numerical Integration

Numerical Integration Numerical Integration Sanzheng Qiao Department of Computing and Software McMaster University February, 2014 Outline 1 Introduction 2 Rectangle Rule 3 Trapezoid Rule 4 Error Estimates 5 Simpson s Rule 6

More information

Math Final Exam Review

Math Final Exam Review Math - Final Exam Review. Find dx x + 6x +. Name: Solution: We complete the square to see if this function has a nice form. Note we have: x + 6x + (x + + dx x + 6x + dx (x + + Note that this looks a lot

More information

Solution. This is a routine application of the chain rule.

Solution. This is a routine application of the chain rule. EXAM 2 SOLUTIONS 1. If z = e r cos θ, r = st, θ = s 2 + t 2, find the partial derivatives dz ds chain rule. Write your answers entirely in terms of s and t. dz and dt using the Solution. This is a routine

More information

AP Calculus AB Integration

AP Calculus AB Integration Slide 1 / 175 Slide 2 / 175 AP Calculus AB Integration 2015-11-24 www.njctl.org Slide 3 / 175 Table of Contents click on the topic to go to that section Riemann Sums Trapezoid Approximation Area Under

More information

Distance and Velocity

Distance and Velocity Distance and Velocity - Unit #8 : Goals: The Integral Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite integral and

More information

AP Calculus AB 2nd Semester Homework List

AP Calculus AB 2nd Semester Homework List AP Calculus AB 2nd Semester Homework List Date Assigned: 1/4 DUE Date: 1/6 Title: Typsetting Basic L A TEX and Sigma Notation Write the homework out on paper. Then type the homework on L A TEX. Use this

More information

MATH 312 Section 2.4: Exact Differential Equations

MATH 312 Section 2.4: Exact Differential Equations MATH 312 Section 2.4: Exact Differential Equations Prof. Jonathan Duncan Walla Walla College Spring Quarter, 2007 Outline 1 Exact Differential Equations 2 Solving an Exact DE 3 Making a DE Exact 4 Conclusion

More information

7.5 Proportionality Relationships

7.5 Proportionality Relationships www.ck12.org Chapter 7. Similarity 7.5 Proportionality Relationships Learning Objectives Identify proportional segments when two sides of a triangle are cut by a segment parallel to the third side. Extend

More information

Lecture 21: Numerical Solution of Differential Equations

Lecture 21: Numerical Solution of Differential Equations cs41: introduction to numerical analysis 11/30/10 Lecture 1: Numerical Solution of Differential Equations Instructor: Professor Amos Ron Scribes: Yunpeng Li, Mark Cowlishaw, Nathanael Fillmore 1 Introduction

More information

6 Lecture 6b: the Euler Maclaurin formula

6 Lecture 6b: the Euler Maclaurin formula Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Fall 217 Instructor: Dr. Sateesh Mane c Sateesh R. Mane 217 March 26, 218 6 Lecture 6b: the Euler Maclaurin formula

More information

Π xdx cos 2 x

Π xdx cos 2 x Π 5 3 xdx 5 4 6 3 8 cos x Help Your Child with Higher Maths Introduction We ve designed this booklet so that you can use it with your child throughout the session, as he/she moves through the Higher course,

More information

4.1 Analysis of functions I: Increase, decrease and concavity

4.1 Analysis of functions I: Increase, decrease and concavity 4.1 Analysis of functions I: Increase, decrease and concavity Definition Let f be defined on an interval and let x 1 and x 2 denote points in that interval. a) f is said to be increasing on the interval

More information

Chapter 6 Section Antiderivatives and Indefinite Integrals

Chapter 6 Section Antiderivatives and Indefinite Integrals Chapter 6 Section 6.1 - Antiderivatives and Indefinite Integrals Objectives: The student will be able to formulate problems involving antiderivatives. The student will be able to use the formulas and properties

More information

SOLUTIONS TO EXAM II, MATH f(x)dx where a table of values for the function f(x) is given below.

SOLUTIONS TO EXAM II, MATH f(x)dx where a table of values for the function f(x) is given below. SOLUTIONS TO EXAM II, MATH 56 Use Simpson s rule with n = 6 to approximate the integral f(x)dx where a table of values for the function f(x) is given below x 5 5 75 5 5 75 5 5 f(x) - - x 75 5 5 75 5 5

More information

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

Math 165 Final Exam worksheet solutions

Math 165 Final Exam worksheet solutions C Roettger, Fall 17 Math 165 Final Exam worksheet solutions Problem 1 Use the Fundamental Theorem of Calculus to compute f(4), where x f(t) dt = x cos(πx). Solution. From the FTC, the derivative of the

More information

Math 122 Fall Handout 15: Review Problems for the Cumulative Final Exam

Math 122 Fall Handout 15: Review Problems for the Cumulative Final Exam Math 122 Fall 2008 Handout 15: Review Problems for the Cumulative Final Exam The topics that will be covered on Final Exam are as follows. Integration formulas. U-substitution. Integration by parts. Integration

More information

Numerical integration

Numerical integration Numerical integration Responsible teacher: Anatoliy Malyarenko November 8, 003 Contents of the lecture: Black Scholes model. The trapezoidal rule. Simpson s rule. Error handling in MATLAB. Error analysis.

More information

AB Calculus Diagnostic Test

AB Calculus Diagnostic Test AB Calculus Diagnostic Test The Exam AP Calculus AB Exam SECTION I: Multiple-Choice Questions DO NOT OPEN THIS BOOKLET UNTIL YOU ARE TOLD TO DO SO. At a Glance Total Time hour and 5 minutes Number of Questions

More information

Week 2 Techniques of Integration

Week 2 Techniques of Integration Week Techniques of Integration Richard Earl Mathematical Institute, Oxford, OX LB, October Abstract Integration by Parts. Substitution. Rational Functions. Partial Fractions. Trigonometric Substitutions.

More information

X. Numerical Methods

X. Numerical Methods X. Numerical Methods. Taylor Approximation Suppose that f is a function defined in a neighborhood of a point c, and suppose that f has derivatives of all orders near c. In section 5 of chapter 9 we introduced

More information

Review. The derivative of y = f(x) has four levels of meaning: Physical: If y is a quantity depending on x, the derivative dy

Review. The derivative of y = f(x) has four levels of meaning: Physical: If y is a quantity depending on x, the derivative dy Math 132 Area and Distance Stewart 4.1/I Review. The derivative of y = f(x) has four levels of meaning: Physical: If y is a quantity depending on x, the derivative dy dx x=a is the rate of change of y

More information

We saw in Section 5.1 that a limit of the form. arises when we compute an area.

We saw in Section 5.1 that a limit of the form. arises when we compute an area. INTEGRALS 5 INTEGRALS Equation 1 We saw in Section 5.1 that a limit of the form n lim f ( x *) x n i 1 i lim[ f ( x *) x f ( x *) x... f ( x *) x] n 1 2 arises when we compute an area. n We also saw that

More information

Polynomials. Eve Rawley, (EveR) Anne Gloag, (AnneG) Andrew Gloag, (AndrewG)

Polynomials. Eve Rawley, (EveR) Anne Gloag, (AnneG) Andrew Gloag, (AndrewG) Polynomials Eve Rawley, (EveR) Anne Gloag, (AnneG) Andrew Gloag, (AndrewG) Say Thanks to the Authors Click http://www.ck12.org/saythanks (No sign in required) To access a customizable version of this book,

More information

AP Calculus AB. Integration. Table of Contents

AP Calculus AB. Integration.  Table of Contents AP Calculus AB Integration 2015 11 24 www.njctl.org Table of Contents click on the topic to go to that section Riemann Sums Trapezoid Approximation Area Under a Curve (The Definite Integral) Antiderivatives

More information

worked out from first principles by parameterizing the path, etc. If however C is a A path C is a simple closed path if and only if the starting point

worked out from first principles by parameterizing the path, etc. If however C is a A path C is a simple closed path if and only if the starting point III.c Green s Theorem As mentioned repeatedly, if F is not a gradient field then F dr must be worked out from first principles by parameterizing the path, etc. If however is a simple closed path in the

More information

Math Numerical Analysis Mid-Term Test Solutions

Math Numerical Analysis Mid-Term Test Solutions Math 400 - Numerical Analysis Mid-Term Test Solutions. Short Answers (a) A sufficient and necessary condition for the bisection method to find a root of f(x) on the interval [a,b] is f(a)f(b) < 0 or f(a)

More information

8.3 Numerical Quadrature, Continued

8.3 Numerical Quadrature, Continued 8.3 Numerical Quadrature, Continued Ulrich Hoensch Friday, October 31, 008 Newton-Cotes Quadrature General Idea: to approximate the integral I (f ) of a function f : [a, b] R, use equally spaced nodes

More information

Name Class. (a) (b) (c) 4 t4 3 C

Name Class. (a) (b) (c) 4 t4 3 C Chapter 4 Test Bank 77 Test Form A Chapter 4 Name Class Date Section. Evaluate the integral: t dt. t C (a) (b) 4 t4 C t C C t. Evaluate the integral: 5 sec x tan x dx. (a) 5 sec x tan x C (b) 5 sec x C

More information

Lecture Outline. Maxwell s Equations Predict Waves Derivation of the Wave Equation Solution to the Wave Equation 8/7/2018

Lecture Outline. Maxwell s Equations Predict Waves Derivation of the Wave Equation Solution to the Wave Equation 8/7/2018 Course Instructor Dr. Raymond C. Rumpf Office: A 337 Phone: (915) 747 6958 E Mail: rcrumpf@utep.edu EE 4347 Applied Electromagnetics Topic 3a Electromagnetic Waves Electromagnetic These notes Waves may

More information

The total error in numerical differentiation

The total error in numerical differentiation AMS 147 Computational Metods and Applications Lecture 08 Copyrigt by Hongyun Wang, UCSC Recap: Loss of accuracy due to numerical cancellation A B 3, 3 ~10 16 In calculating te difference between A and

More information

MATH745 Fall MATH745 Fall

MATH745 Fall MATH745 Fall MATH745 Fall 5 MATH745 Fall 5 INTRODUCTION WELCOME TO MATH 745 TOPICS IN NUMERICAL ANALYSIS Instructor: Dr Bartosz Protas Department of Matematics & Statistics Email: bprotas@mcmasterca Office HH 36, Ext

More information

MHF4U. Advanced Functions Grade 12 University Mitchell District High School. Unit 2 Polynomial Functions 9 Video Lessons

MHF4U. Advanced Functions Grade 12 University Mitchell District High School. Unit 2 Polynomial Functions 9 Video Lessons MHF4U Advanced Functions Grade 12 University Mitchell District High School Unit 2 Polynomial Functions 9 Video Lessons Allow no more than 15 class days for this unit! This includes time for review and

More information

AP Calculus AB. Slide 1 / 175. Slide 2 / 175. Slide 3 / 175. Integration. Table of Contents

AP Calculus AB. Slide 1 / 175. Slide 2 / 175. Slide 3 / 175. Integration. Table of Contents Slide 1 / 175 Slide 2 / 175 AP Calculus AB Integration 2015-11-24 www.njctl.org Table of Contents click on the topic to go to that section Slide 3 / 175 Riemann Sums Trapezoid Approximation Area Under

More information

Basic Fraction and Integer Operations (No calculators please!)

Basic Fraction and Integer Operations (No calculators please!) P1 Summer Math Review Packet For Students entering Geometry The problems in this packet are designed to help you review topics from previous mathematics courses that are important to your success in Geometry.

More information

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker.

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker. Integration Topic: Trapezoidal Rule Major: General Engineering Author: Autar Kaw, Charlie Barker 1 What is Integration Integration: The process of measuring the area under a function plotted on a graph.

More information

is a surface above the xy-plane over R.

is a surface above the xy-plane over R. Chapter 13 Multiple Integration Section 13.1Double Integrals over ectangular egions ecall the Definite Integral from Chapter 5 b a n * lim i f x dx f x x n i 1 b If f x 0 then f xdx is the area under the

More information

Probability Foundation for Electrical Engineers Prof. Krishna Jagannathan Department of Electrical Engineering Indian Institute of Technology, Madras

Probability Foundation for Electrical Engineers Prof. Krishna Jagannathan Department of Electrical Engineering Indian Institute of Technology, Madras (Refer Slide Time: 00:23) Probability Foundation for Electrical Engineers Prof. Krishna Jagannathan Department of Electrical Engineering Indian Institute of Technology, Madras Lecture - 22 Independent

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations (MA102 Mathematics II) Shyamashree Upadhyay IIT Guwahati Shyamashree Upadhyay ( IIT Guwahati ) Ordinary Differential Equations 1 / 25 First order ODE s We will now discuss

More information

1.8. Integration using Tables and CAS

1.8. Integration using Tables and CAS 1.. INTEGRATION USING TABLES AND CAS 39 1.. Integration using Tables and CAS The use of tables of integrals and Computer Algebra Systems allow us to find integrals very quickly without having to perform

More information

EDEXCEL NATIONAL CERTIFICATE UNIT 4 MATHEMATICS FOR TECHNICIANS OUTCOME 4 TUTORIAL 1 - INTEGRATION

EDEXCEL NATIONAL CERTIFICATE UNIT 4 MATHEMATICS FOR TECHNICIANS OUTCOME 4 TUTORIAL 1 - INTEGRATION Learning outcomes EEXCEL NATIONAL CERTIFICATE UNIT MATHEMATICS FOR TECHNICIANS OUTCOME TUTORIAL 1 - INTEGRATION On completion of this unit a learner should: 1 Know how to use algebraic methods e able to

More information

MA 262, Spring 2018, Midterm 1 Version 01 (Green)

MA 262, Spring 2018, Midterm 1 Version 01 (Green) MA 262, Spring 2018, Midterm 1 Version 01 (Green) INSTRUCTIONS 1. Switch off your phone upon entering the exam room. 2. Do not open the exam booklet until you are instructed to do so. 3. Before you open

More information

EXAMPLES OF PROOFS BY INDUCTION

EXAMPLES OF PROOFS BY INDUCTION EXAMPLES OF PROOFS BY INDUCTION KEITH CONRAD 1. Introduction In this handout we illustrate proofs by induction from several areas of mathematics: linear algebra, polynomial algebra, and calculus. Becoming

More information

See animations and interactive applets of some of these at. Fall_2009/Math123/Notes

See animations and interactive applets of some of these at.   Fall_2009/Math123/Notes MA123, Chapter 7 Word Problems (pp. 125-153) Chapter s Goal: In this chapter we study the two main types of word problems in Calculus. Optimization Problems. i.e., max - min problems Related Rates See

More information

Mathematical Economics: Lecture 2

Mathematical Economics: Lecture 2 Mathematical Economics: Lecture 2 Yu Ren WISE, Xiamen University September 25, 2012 Outline 1 Number Line The number line, origin (Figure 2.1 Page 11) Number Line Interval (a, b) = {x R 1 : a < x < b}

More information

MATH 2413 TEST ON CHAPTER 4 ANSWER ALL QUESTIONS. TIME 1.5 HRS.

MATH 2413 TEST ON CHAPTER 4 ANSWER ALL QUESTIONS. TIME 1.5 HRS. MATH 1 TEST ON CHAPTER ANSWER ALL QUESTIONS. TIME 1. HRS. M1c Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Use the summation formulas to rewrite the

More information

MATH Max-min Theory Fall 2016

MATH Max-min Theory Fall 2016 MATH 20550 Max-min Theory Fall 2016 1. Definitions and main theorems Max-min theory starts with a function f of a vector variable x and a subset D of the domain of f. So far when we have worked with functions

More information

8.6 Partial Fraction Decomposition

8.6 Partial Fraction Decomposition 628 Systems of Equations and Matrices 8.6 Partial Fraction Decomposition This section uses systems of linear equations to rewrite rational functions in a form more palatable to Calculus students. In College

More information

Infinite series, improper integrals, and Taylor series

Infinite series, improper integrals, and Taylor series Chapter 2 Infinite series, improper integrals, and Taylor series 2. Introduction to series In studying calculus, we have explored a variety of functions. Among the most basic are polynomials, i.e. functions

More information

Physics 411: Homework 3

Physics 411: Homework 3 Physics 411: Homework 3 Because of the cancellation of class on January 28, this homework is a double-length homework covering two week s material, and you have two weeks to do it. It is due in class onthursday,

More information

MITOCW MITRES_18-007_Part5_lec3_300k.mp4

MITOCW MITRES_18-007_Part5_lec3_300k.mp4 MITOCW MITRES_18-007_Part5_lec3_300k.mp4 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality educational resources

More information

On Cauchy s theorem and Green s theorem

On Cauchy s theorem and Green s theorem MA 525 On Cauchy s theorem and Green s theorem 1. Introduction No doubt the most important result in this course is Cauchy s theorem. There are many ways to formulate it, but the most simple, direct and

More information

4B. Line Integrals in the Plane

4B. Line Integrals in the Plane 4. Line Integrals in the Plane 4A. Plane Vector Fields 4A-1 Describe geometrically how the vector fields determined by each of the following vector functions looks. Tell for each what the largest region

More information

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1 Lectures - Week 11 General First Order ODEs & Numerical Methods for IVPs In general, nonlinear problems are much more difficult to solve than linear ones. Unfortunately many phenomena exhibit nonlinear

More information

9.4 CALCULUS AND PARAMETRIC EQUATIONS

9.4 CALCULUS AND PARAMETRIC EQUATIONS 9.4 Calculus with Parametric Equations Contemporary Calculus 1 9.4 CALCULUS AND PARAMETRIC EQUATIONS The previous section discussed parametric equations, their graphs, and some of their uses for visualizing

More information

Math 240 Calculus III

Math 240 Calculus III DE Higher Order Calculus III Summer 2015, Session II Tuesday, July 28, 2015 Agenda DE 1. of order n An example 2. constant-coefficient linear Introduction DE We now turn our attention to solving linear

More information

Section September 6, If n = 3, 4, 5,..., the polynomial is called a cubic, quartic, quintic, etc.

Section September 6, If n = 3, 4, 5,..., the polynomial is called a cubic, quartic, quintic, etc. Section 2.1-2.2 September 6, 2017 1 Polynomials Definition. A polynomial is an expression of the form a n x n + a n 1 x n 1 + + a 1 x + a 0 where each a 0, a 1,, a n are real numbers, a n 0, and n is a

More information

1 Review of di erential calculus

1 Review of di erential calculus Review of di erential calculus This chapter presents the main elements of di erential calculus needed in probability theory. Often, students taking a course on probability theory have problems with concepts

More information

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 5 Chapter 17 Numerical Integration Formulas PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction

More information

Calculus II Study Guide Fall 2015 Instructor: Barry McQuarrie Page 1 of 8

Calculus II Study Guide Fall 2015 Instructor: Barry McQuarrie Page 1 of 8 Calculus II Study Guide Fall 205 Instructor: Barry McQuarrie Page of 8 You should be expanding this study guide as you see fit with details and worked examples. With this extra layer of detail you will

More information

A DEEPER LOOK AT USING FUNCTIONS IN MATHEMATICA

A DEEPER LOOK AT USING FUNCTIONS IN MATHEMATICA A DEEPER LOOK AT USING FUNCTIONS IN MATHEMATICA In "Getting Started with Mathematica" we learned the basics of plotting and doing computations in this platform. In this document, I will delve a little

More information

One important way that you can classify differential equations is as linear or nonlinear.

One important way that you can classify differential equations is as linear or nonlinear. In This Chapter Chapter 1 Looking Closely at Linear First Order Differential Equations Knowing what a first order linear differential equation looks like Finding solutions to first order differential equations

More information

Numerical techniques to solve equations

Numerical techniques to solve equations Programming for Applications in Geomatics, Physical Geography and Ecosystem Science (NGEN13) Numerical techniques to solve equations vaughan.phillips@nateko.lu.se Vaughan Phillips Associate Professor,

More information

HOMEWORK 8 SOLUTIONS

HOMEWORK 8 SOLUTIONS HOMEWOK 8 OLUTION. Let and φ = xdy dz + ydz dx + zdx dy. let be the disk at height given by: : x + y, z =, let X be the region in 3 bounded by the cone and the disk. We orient X via dx dy dz, then by definition

More information