B553 Lecture 1: Calculus Review

Similar documents
Limit. Chapter Introduction

Calculus (Math 1A) Lecture 5

Math 106 Answers to Exam 1a Fall 2015

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

Analytic Geometry and Calculus I Exam 1 Practice Problems Solutions 2/19/7

Continuity. Chapter 4

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series.

2.2 The Limit of a Function

Chapter 1 Functions and Limits

Continuity. To handle complicated functions, particularly those for which we have a reasonable formula or formulas, we need a more precise definition.

Continuity. Chapter 4

Caculus 221. Possible questions for Exam II. March 19, 2002

AP Calculus Chapter 3 Testbank (Mr. Surowski)

1 Question related to polynomials

Analysis II - few selective results

MTAEA Differentiation

MATH 23b, SPRING 2005 THEORETICAL LINEAR ALGEBRA AND MULTIVARIABLE CALCULUS Midterm (part 1) Solutions March 21, 2005

Chapter 2. Limits and Continuity. 2.1 Rates of change and Tangents to Curves. The average Rate of change of y = f(x) with respect to x over the

d(x n, x) d(x n, x nk ) + d(x nk, x) where we chose any fixed k > N

Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials

CH 2: Limits and Derivatives

MATH 114 Calculus Notes on Chapter 2 (Limits) (pages 60-? in Stewart)

Chapter 2: Functions, Limits and Continuity

Polynomial Approximations and Power Series

Metric spaces and metrizability

Test 3 Review. y f(a) = f (a)(x a) y = f (a)(x a) + f(a) L(x) = f (a)(x a) + f(a)

Metric Spaces and Topology

Chapter 8: Taylor s theorem and L Hospital s rule

Induction, sequences, limits and continuity

1.3 Limits and Continuity

Math /Foundations of Algebra/Fall 2017 Numbers at the Foundations: Real Numbers In calculus, the derivative of a function f(x) is defined

LECTURE 10: REVIEW OF POWER SERIES. 1. Motivation

Section 3.1 Extreme Values

Math 117: Honours Calculus I Fall, 2002 List of Theorems. a n k b k. k. Theorem 2.1 (Convergent Bounded) A convergent sequence is bounded.

Functional Limits and Continuity

MAT 1339-S14 Class 2

Some Background Material

Math 328 Course Notes

Math 180, Exam 2, Practice Fall 2009 Problem 1 Solution. f(x) = arcsin(2x + 1) = sin 1 (3x + 1), lnx

Calculus. Mathematics FRDIS. Mendel university in Brno

Advanced Calculus Math 127B, Winter 2005 Solutions: Final. nx2 1 + n 2 x, g n(x) = n2 x

THE LIMIT PROCESS (AN INTUITIVE INTRODUCTION)

MATH 1902: Mathematics for the Physical Sciences I

Chapter 1: Limits and Continuity

B553 Lecture 3: Multivariate Calculus and Linear Algebra Review

Continuity, Intermediate Value Theorem (2.4)

Limits and Infinite Series Lecture Notes for Math 226. Department of Mathematics Western Washington University

Lecture 2 (Limits) tangent line secant line

Announcements. Topics: Homework:

Problem List MATH 5143 Fall, 2013

Real Analysis. Joe Patten August 12, 2018

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form

1.1 Introduction to Limits

ter. on Can we get a still better result? Yes, by making the rectangles still smaller. As we make the rectangles smaller and smaller, the

Math 117: Calculus & Functions II

Math 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS

Limits, Continuity, and the Derivative

Analysis/Calculus Review Day 2

1 + x 2 d dx (sec 1 x) =

MAT137 - Week 12. Last lecture of the term! Next Thursday is the last day of classes, but it counts as a Monday.

5. Introduction to limit

Section 1.4 Tangents and Velocity

February 11, 2019 LECTURE 5: THE RULES OF DIFFERENTIATION.

Name: Instructor: Multiple Choice. x 3. = lim x 3 x 3 x (x 2 + 7) 16 = lim. (x 3)( x ) x 3 (x 3)( x ) = lim.

Families of Functions, Taylor Polynomials, l Hopital s

LIMITS AT INFINITY MR. VELAZQUEZ AP CALCULUS

Taylor and Maclaurin Series. Approximating functions using Polynomials.

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

Preliminary Exam 2016 Solutions to Morning Exam

Economics 204 Fall 2011 Problem Set 2 Suggested Solutions

Lecture 22: Integration by parts and u-substitution

Math 117: Continuity of Functions

MATH 1910 Limits Numerically and Graphically Introduction to Limits does not exist DNE DOES does not Finding Limits Numerically

Math Numerical Analysis

MAT137 Calculus! Lecture 9

1 Implicit Differentiation

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Formulas that must be memorized:

M2P1 Analysis II (2005) Dr M Ruzhansky List of definitions, statements and examples. Chapter 1: Limits and continuity.

Calculus I. George Voutsadakis 1. LSSU Math 151. Lake Superior State University. 1 Mathematics and Computer Science

CHAPTER 2. The Derivative

f(x 0 + h) f(x 0 ) h slope of secant line = m sec

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

Infinite Limits. By Tuesday J. Johnson

Definitions & Theorems

Jim Lambers MAT 460 Fall Semester Lecture 2 Notes

M2PM1 Analysis II (2008) Dr M Ruzhansky List of definitions, statements and examples Preliminary version

MATH 113: ELEMENTARY CALCULUS

Topics and Concepts. 1. Limits

SYDE 112, LECTURE 1: Review & Antidifferentiation

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

MATH 116, LECTURE 13, 14 & 15: Derivatives

Solutions Final Exam May. 14, 2014

Review of Power Series

Infinite series, improper integrals, and Taylor series

Math 134 Exam 2 November 5, 2009

Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions

Limit Theorems. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Limit Theorems

MSM120 1M1 First year mathematics for civil engineers Revision notes 4

Transcription:

B553 Lecture 1: Calculus Review Kris Hauser January 10, 2012 This course requires a familiarity with basic calculus, some multivariate calculus, linear algebra, and some basic notions of metric topology. We will review these concepts throughout the class as they are needed, starting with calculus. Calculus is needed to prove that numerical algorithms are correct and converge at an appropriate rate. It is also essential in understanding probability distributions over continuous variables. These notes will also introduce the concept of a Taylor series, which is a widely used concept in numerical analysis that will appear many times during this course. 1 Convergence and limits Convergence describes when a sequence of numbers approaches another number arbitrarily closely, or when a function f(x) approaches a value y at some point x where f(x) is not well-defined. To define these notions rigorously requires some rather subtle math from the field of real analysis. (These subtleties are crucial to deal appropriately with the strange things that can happen when dealing with infinities). Cauchy series. An infinite sequence of real numbers a 1, a 2, a 3,... is called Cauchy convergent when the distance between subsequent numbers becomes arbitrarily small as the index increases. More precisely, for any real number ɛ > 0, there exists an index N such that a m a n < ɛ for all m, n > N. This is significant because ɛ can be chosen arbitrarily close to 0, and all numbers in the sequence with index > N will be closer than ɛ. (Note that N is dependent on ɛ.) Examples: 1

The sequence a n = 1/n for n = 1, 2,... is Cauchy convergent. a n = e n is Cauchy convergent. a n = (sin(0.15n))/n is Cauchy convergent. Counterexample: a n = n mod 2 is not Cauchy convergent. Limit of a sequence. L is said to be the limit of a convergent sequence a 1, a 2,... if for any real number ɛ > 0, there exists an index N such that a n L < ɛ for all n > N. If a sequence a 1, a 2,... has a limit L, then we write lim a n = L (1) n Sequences that are not Cauchy convergent do not have limits. But not all Cauchy convergent sequences from a certain domain have a limit in that domain. For example, consider the domain of positive numbers R + = {x x > 0}. The sequence a n = 1/n consists of numbers from R +, but there is no number in R + that is a limit of the sequence. (A side note: a set in which all Cauchy sequences have a limit in the set is known as compact. ) Limit of a real-valued function. The limit of a real-valued function is a similar concept, but requires a slightly different definition. Let f(x) be a function on the reals, and let c be a real number. Then L is the limit of f(x) at c if f(x) becomes arbitrarily close to L as x approaches c (from both sides). More precisely, for any ɛ > 0, there exists a δ such that f(x) L ɛ for all x that satisfy 0 < x c < δ. If a limit exists, we write this as lim f(x) = L (2) x c Note that in this definition, ɛ can be chosen arbitrarily close to zero, and that δ is chosen depending on the choice of ɛ. Note also that f(c) does not have to be defined. For example, if f(x) = (sin x)/x, then f(0) is not defined because it evaluates to 0/0. But, you can show that f(x) approaches 1 as x approaches 0 (at the moment it is not obvious how one would prove this). One-sided and asymptotic limits. There are also the notions of one-sided limits, in which f(x) is required to approach L only as x increases toward c (resp., decreases toward c). Limits can also be asymptotic as x approaches 2

±. The precise definition of an asymptotic limit is similar to the definition of the limit of a sequence. Continuity. A real function f(x) is continuous over the interval I if ad only if lim x f(x) = f(c) for all c I. (More specifically, this is known as pointwise continuity. There are other subtle definitions of continuity as well.) Minimum and maximum. For a set S R, a minimum of the set is an element x S such that x y for all y S. A similar definition holds for the maximum, but with x and y switched. Any finite set has a maximum and a minimum, but infinite sets do not necessarily have either a minimum or a maximum. For example, the interval S = (0, 1] has a maximum, namely 1, but it has no minimum, because no matter what value x is picked, you can pick another value in S that is smaller, for example, x/2. Hence, we must use an alternate definition for the intuition that 0 is the tightest lower bound for S. This gives rise to the definition of infimum and supremum. Infimum and supremum. The infimum of a set S R is the largest number x R such that x y for all y S. The supremum of a set S R is the smallest number x R such that y x for all y S. 2 Derivatives The derivative f (a) of a real function f(x) at x = a is given by the limit f (a) = df (a) = lim dx h 0 f(a + h) f(a). (3) h Strictly speaking, we require the limit to exist as h approaches zero from both above and below. If the limit exists, we say f is differentiable at a. The notation f (x) and df (a) are two ways of writing the same thing and should dx be understood to be equivalent. Differentiation operator. The derivative of f refers to the entire function f, and the operation is known as differentiation. This operator is also written d dx. Continuity and Differentiability. Differentiable functions are continuous, but the converse is not necessarily true (e.g., f(x) = x ). If f is continuous, we call it C0 continuous. If its derivative exists, and f is continuous, then 3

we say f is C1 continuous. If the second derivative of f exists, then f is C2 continuous, and so on for higher derivatives. If all of f s higher derivatives exist then it is called infinitely differentiable. 2.1 Frequently used differentiation rules You are responsible for knowing the derivatives of elementary functions (polynomials, sin, cos, exp, and log). We will often use the following differentiation rules: Chain rule: if h(x) = f(g(x)), then h (x) = f (g(x))g (x). Multiplication rule: if h(x) = f(x)g(x), then h (x) = f (x)g(x) + f(x)g (x). Inverse rule: if h(x) = f 1 (x), then h (x) = 1/f (f 1 (x)). L Hôpital s rule: if lim x c f(x) = lim x c g(x) = 0 or ± and g (x) 0 on an open interval containing c, then lim x c f(x)/g(x) = lim x c f (x)/g (x) if the limit is well defined. 3 Taylor series The Taylor series is an important tool in numerical analysis and will be used multiple times throughout this course. Taylor series. The Taylor series of a function f(x) in the neighborhood of a is given by the following infinite series: g (x) = f(a) + f (n) (x a)n (a) (4) n! n=1 where f ( n)(a) is the n th derivative of f at a. For a certain class of functions (analytic functions), g is exactly f. For general functions, however, equality does not hold. kth order Taylor polynomial. It is common to use a truncation of the Taylor series to approximate f. Consider truncating the summation to the first k derivatives: g k (x) = f(a) + k f (n) (a) n=1 4 (x a)n. (5) n!

This is known as the Taylor polynomial of degree k. For example, the 1st order Taylor polynomial has a graph that is simply a line through the point (a, f(a)) with the slope f (a). The 2nd order Taylor polynomial is a quadratic curve that is tangent to the graph of f at a, and also has the same second derivative as f at a. It is natural to ask how well the Taylor polynomial approximates a given function? For analytic functions, g k approaches f as k grows larger. Note that the error is not uniform, and typically grows as x moves farther from a. This pattern is typical even for non-analytic functions as well. Taylor s theorem gives us a way of quantifying the approximation error. Taylor s theorem. Let f(x) be k times differentiable at x = a. Then there exists a function h(x) such that f(x) = f(a) + k n=1 f (n) (x a)n (a) + h(x)(x a) n (6) n! and lim x a h(x) = 0. Moreover, the exact form of h can be derived more precisely under the assumption that f(x) is k + 1 times differentable on the interval between x and a. In this case, it can be proven that f(x) g k (x) = f (k+1) (x a)k+1 (ξ) (k + 1)! (7) for some value ξ on the interval between x and a. In other words, if f is smooth (its higher derivatives are small) then the Taylor approximation provides a good fit in a neighborhood a. 4 Exercises 1. Prove the fact that if a sequence is not Cauchy convergent, then it does not have a limit. 2. Is sin(1/x) continuous on (0, )? Is it differentiable? Does it have a limit as x 0? 3. Use L Hôpital s rule to find the limit of (sin x)/x as x 0. 5

4. Find the 2nd-order Taylor approximation of the function 1/(x + 1) centered at the point x = 0. 5. What is the Taylor series of a degree k polynomial? 6