MTAEA Differentiation

Similar documents
MAT137 Calculus! Lecture 6

Tangent Lines Sec. 2.1, 2.7, & 2.8 (continued)

8.5 Taylor Polynomials and Taylor Series

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

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

MAT137 Calculus! Lecture 5

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)

Chapter 8: Taylor s theorem and L Hospital s rule

4. We accept without proofs that the following functions are differentiable: (e x ) = e x, sin x = cos x, cos x = sin x, log (x) = 1 sin x

Chapter 4: More Applications of Differentiation

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

2.1 The derivative. Rates of change. m sec = y f (a + h) f (a)

Chapter 2: Differentiation

Chapter 4: More Applications of Differentiation

Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain.

Aim: How do we prepare for AP Problems on limits, continuity and differentiability? f (x)

Solutions Exam 4 (Applications of Differentiation) 1. a. Applying the Quotient Rule we compute the derivative function of f as follows:

Learning Objectives for Math 165

Math 180, Final Exam, Fall 2012 Problem 1 Solution

Math 261 Calculus I. Test 1 Study Guide. Name. Decide whether the limit exists. If it exists, find its value. 1) lim x 1. f(x) 2) lim x -1/2 f(x)

B553 Lecture 1: Calculus Review

Limit. Chapter Introduction

Chapter 2: Differentiation

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

Chapter 3 Differentiation Rules

Differentiation. f(x + h) f(x) Lh = L.

Math Camp II. Calculus. Yiqing Xu. August 27, 2014 MIT

The Derivative of a Function Measuring Rates of Change of a function. Secant line. f(x) f(x 0 ) Average rate of change of with respect to over,

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Welcome to Math 104. D. DeTurck. January 16, University of Pennsylvania. D. DeTurck Math A: Welcome 1 / 44

CALCULUS. Berkant Ustaoğlu CRYPTOLOUNGE.NET

11.10a Taylor and Maclaurin Series

1 Lecture 25: Extreme values

Math 131 Final Exam Spring 2016

Math 180, Final Exam, Fall 2007 Problem 1 Solution

Chapter 12: Differentiation. SSMth2: Basic Calculus Science and Technology, Engineering and Mathematics (STEM) Strands Mr. Migo M.

Section 4.2: The Mean Value Theorem

Section 10.7 Taylor series

Unit 5: Applications of Differentiation

AP Calculus BC Multiple-Choice Answer Key!

Math 106 Calculus 1 Topics for first exam

7.1. Calculus of inverse functions. Text Section 7.1 Exercise:

MTAEA Continuity and Limits of Functions

CALCULUS JIA-MING (FRANK) LIOU

Solutions to Math 41 First Exam October 18, 2012

MAT137 Calculus! Lecture 45

Chapter 2: Functions, Limits and Continuity

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

1) The line has a slope of ) The line passes through (2, 11) and. 6) r(x) = x + 4. From memory match each equation with its graph.

MA1021 Calculus I B Term, Sign:

Topics and Concepts. 1. Limits

What is on today. 1 Linear approximation. MA 123 (Calculus I) Lecture 17: November 2, 2017 Section A2. Professor Jennifer Balakrishnan,

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

Chapter 3a Topics in differentiation. Problems in differentiation. Problems in differentiation. LC Abueg: mathematical economics

Contents. 2 Partial Derivatives. 2.1 Limits and Continuity. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v. 2.

Announcements. Topics: Homework: - sections , 6.1 (extreme values) * Read these sections and study solved examples in your textbook!

Calculus I Exam 1 Review Fall 2016

Dr. Sophie Marques. MAM1020S Tutorial 8 August Divide. 1. 6x 2 + x 15 by 3x + 5. Solution: Do a long division show your work.

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

February 21 Math 1190 sec. 63 Spring 2017

Unit IV Derivatives 20 Hours Finish by Christmas

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Unit IV Derivatives 20 Hours Finish by Christmas

MA4001 Engineering Mathematics 1 Lecture 15 Mean Value Theorem Increasing and Decreasing Functions Higher Order Derivatives Implicit Differentiation

OBJECTIVE Find limits of functions, if they exist, using numerical or graphical methods.

Review Guideline for Final

2.2 The derivative as a Function

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

Families of Functions, Taylor Polynomials, l Hopital s

3.1 Day 1: The Derivative of a Function

Mathematic 108, Fall 2015: Solutions to assignment #7

The definition, and some continuity laws. Types of discontinuities. The Squeeze Theorem. Two special limits. The IVT and EVT.

Differentiation. Timur Musin. October 10, University of Freiburg 1 / 54

Definitions & Theorems

AP Calculus Summer Prep

Math 106 Fall 2014 Exam 2.1 October 31, ln(x) x 3 dx = 1. 2 x 2 ln(x) + = 1 2 x 2 ln(x) + 1. = 1 2 x 2 ln(x) 1 4 x 2 + C

Calculus 1 Math 151 Week 10 Rob Rahm. Theorem 1.1. Rolle s Theorem. Let f be a function that satisfies the following three hypotheses:

11.5. The Chain Rule. Introduction. Prerequisites. Learning Outcomes

A Library of Functions

September Math Course: First Order Derivative

a x a y = a x+y a x a = y ax y (a x ) r = a rx and log a (xy) = log a (x) + log a (y) log a ( x y ) = log a(x) log a (y) log a (x r ) = r log a (x).

Announcements. Topics: Homework: - sections 4.5 and * Read these sections and study solved examples in your textbook!

GEORGE ANDROULAKIS THE 7 INDETERMINATE FORMS OF LIMITS : usually we use L Hospital s rule. Two important such limits are lim

CH 2: Limits and Derivatives

Suppose that f is continuous on [a, b] and differentiable on (a, b). Then

Math 651 Introduction to Numerical Analysis I Fall SOLUTIONS: Homework Set 1

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

AP CALCULUS AB Study Guide for Midterm Exam 2017

Calculus I. 1. Limits and Continuity

AP Calculus Testbank (Chapter 9) (Mr. Surowski)

Chapter 11: Sequences; Indeterminate Forms; Improper Integrals

This Week. Professor Christopher Hoffman Math 124

8.7 MacLaurin Polynomials

Course Notes for Calculus , Spring 2015

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

Calculus. Central role in much of modern science Physics, especially kinematics and electrodynamics Economics, engineering, medicine, chemistry, etc.

(e) 2 (f) 2. (c) + (d). Limits at Infinity. 2.5) 9-14,25-34,41-43,46-47,56-57, (c) (d) 2

Taylor Series and Maclaurin Series

MATH1190 CALCULUS 1 - NOTES AND AFTERNOTES

MATH 1902: Mathematics for the Physical Sciences I

Transcription:

School of Economics, Australian National University February 5, 2010

Basic Properties of the Derivative. Secant Tangent Applet l 3 l 2 l 1 a a 3 a 2 a 1 Figure: The derivative of f at a is the limiting value of the slope of the secants. Each of the secant lines l n through (a, f (a)) and (a n, f (a n)) is an approximation to the tangent line. As the points a n get closer to a, the secant lines l n approach the tangent line of the function at a. At the same time, the slopes of the secant lines approach the slope of the tangent line to the graph of f at a. We call the limiting value of these secant slopes the derivative of f at a. x

Basic Properties of the Derivative. Definition. Let f be a real-valued defined on an open interval containing a point a. We say that f is differentiable at a, or that f has a derivative at a, if the limit f (x) f (a) lim x a x a exists and is finite. We write f (a) for the derivative of f at a: f f (x) f (a) (a) = lim. x a x a Let y = f (x) be the value of the function at x. Sometimes we write dy/dx(a) or df /dx(a) for the derivative of f at a. We will often be interested in f as a function in its own right. The domain of f is the set of points at which f is differentiable, and so dom(f ) dom(f ).

Basic Properties of the Derivative. Example (1) The derivative at a of the real-valued function g, given by g(x) = x 2 for all x R, is calculated below. g g(x) g(a) x 2 a 2 (a) = lim = lim x a x a x a x a = lim (x + a) = 2a x a We may write g (x) = 2x since the name of the variable (a or x) does not matter. So the derivative of the function given by g(x) = x 2 is the function given by g (x) = 2x as you should already know. First Derivative Applet

Basic Properties of the Derivative. (2) Let n be a positive integer, and let f (x) = x n for all x R. We will show that f (x) = nx n 1 for all x R. Fix an a R and notice that f (x) f (a) = x n a n = (x a)(x n 1 + ax n 2 + a 2 x n 3 + + a n 2 x + a n 1 ). Thus f (x) f (a) = x n 1 + ax n 2 + a 2 x n 3 + + a n 2 x + a n 1 x a for x a. It follows that f (a) = lim x a f (x) f (a) x a = a n 1 + aa n 2 + a 2 a n 3 + + a n 2 a + a n 1 = na n 1, where we have used the limit theorems for functions and the fact that lim x a x k = a k for k N.

Basic Properties of the Derivative. The following result says that differentiability at a point implies continuity at a point. Theorem If f is differentiable at a point a, then f is continuous at a. It is important to note that the converse of the above theorem is not true. A function that is continuous at a need not be differentiable at a. In fact there are continuous functions that are not differentiable at any point in their domain. Example (1) The continuous function f given by f (x) = x for all x R is not differentiable at x = 0. (2) The function g : R R given by g(x) = x 2 for all x Q and f (x) = 0 for x / Q is differentiable at x = 0 and so continuous at x = 0. However, the function is discontinuous at all x 0.

Basic Properties of the Derivative. (3) A famous example of a function that is continuous everywhere, but differentiable nowhere, is theweierstrass function. The next theorem lists some results you may be familiar with. It allows us to compute derivatives of functions which are combinations of functions. Theorem Let f and g be functions that are differentiable at the point a. Then (i) (cf ) (a) = cf (a); (ii) (f + g) (a) = f (a) + g (a); (iii) (fg) (a) = f (a)g (a) + f (a)g(a) (Product Rule); (iv) (f /g) (a) = g(a)f (a) f (a)g (a) [g(a)] 2, if g(a) 0 (Quotient Rule).

Basic Properties of the Derivative. Example Let h : (1, ) R be the function given by h(x) = (x 2 + 6x + 2) sin x ln x + x for all x (1, ). If we let f (x) = (x 2 + 6x + 2) sin x and g(x) = ln x + x, then h = f /g and we can use the quotient rule (note ln x + x 0 for any x (1, )). We have h (x) = (f /g) (x) = g(x)f (x) f (x)g (x) [g(x)] 2 = (ln x + x)f (x) [(x 2 + 6x + 2) sin x]g (x) (ln x + x) 2

Basic Properties of the Derivative. To calculate the f (x) we use the product rule. Note that f = pq, where p(x) = (x 2 + 6x + 2) and q(x) = sin x, so we can use the product rule to write f (x) = (pq) (x) = p(x)q (x) + p (x)q(x) = (x 2 + 6x + 2) cos x + (2x + 6) sin x, where we used parts (i) and (ii) of the last theorem to find p (x). Similarly, we can show g (x) = 1/x + 1. Thus h (x) = (ln x + x)[(x 2 + 6x + 2) cos x + (2x + 6) sin x] (ln x + x) 2 [(x 2 + 6x + 2) sin x](1/x + 1) (ln x + x) 2, for all x (1, )

Basic Properties of the Derivative. Theorem (Chain Rule) If f is differentiable at a and g is differentiable at f (a), then the composite function g f is differentiable at a and (g f ) (a) = g (f (a)) f (a). Chain Rule Applet Example Let h be the function given by h(x) = sin(x 3 + 7x) for all x R. We will use the chain rule to calculate the derivative of h at x. To do so, note that h = g f where f (x) = x 3 + 7x and g(y) = sin y. Then f (x) = 3x 2 + 7 and g (y) = cos y, so by the chain rule h (x) = g (f (x)) f (x) = [cos f (x)] f (x) = [cos(x 3 +7x)] (3x 2 +7).

The Mean Value Theorem. The next result justifies the strategy in calculus for finding the maximum and minimum of a continuous function on a closed interval [a, b] (we will see later that a maximum and minimum always exist for such a problem). The candidates for maxima and minima are the points x where f (x) = 0, the points where f is not differentiable, and the endpoints a and b. Theorem If f is defined on an open interval containing x 0, if f assumes its maximum or minimum at x 0, and if f is differentiable at x 0, then f (x 0 ) = 0. This theorem does not say that if f (x 0 ) = 0, then f assumes its maximum or minimum at x 0. (Consider f (x) = x 3 on the interval ( 1, 1).)

The Mean Value Theorem. Theorem (Rolle s Theorem) Let f be a continuous function on [a, b] that is differentiable on (a, b) and satisfies f (a) = f (b). Then there exists an x in (a, b) such that f (x) = 0. (a, f (a)) (b, f (b)) a x 1 x 2 x 3 b Figure: By Rolle s theorem, we can always find an x such that the derivative of f at x is 0. Here we can find three, x 1, x 2 and x 3. x

The Mean Value Theorem. Theorem (Mean Value Theorem) Let f be a continuous function on [a, b] that is differentiable on (a, b). Then there exists an x in (a, b) such that f (x) = f (b) f (a) b a (a, f (a)) a x 1 x 2 x 3 b (b, f (b)) Figure: By the mean value theorem, we can always find an x such that the derivative of f at x is equal to the slope of the line connecting the points (a, f (a)) and (b, f (b)). In this case, we can find three such points, x 1, x 2 and x 3. x

The Mean Value Theorem. There are several corollaries to the mean value thoerem. Corollary Let f be a differentiable function on (a, b) such that f (x) = 0 for all x (a, b). Then f is a constant function on (a, b). Proof. Suppose f is not constant on (a, b). Then there exist x 1, x 2 such that a < x 1 < x 2 < b and f (x 1 ) f (x 2 ). By the mean value theorem, for some x (x 1, x 2 ) we have f (x) = [f (x 2 ) f (x 1 )]/(x 2 x 1 ) 0, a contradiction. Corollary Let f and g be differentiable functions on (a, b) such that f = g on (a, b). Then there exists a constant c such that f (x) = g(x) + c for all x (a, b). Proof. Simply apply the previous result to the function f g.

The Mean Value Theorem. Definition. Let f be a real-valued defined on an interval I. We say that f is strictly increasing on I if x 1, x 2 I and x 1 < x 2 implies f (x 1 ) < f (x 2 ); f is strictly decreasing on I if x 1, x 2 I and x 1 < x 2 implies f (x 1 ) > f (x 2 ); f is increasing on I if x 1, x 2 I and x 1 < x 2 implies f (x 1 ) f (x 2 ); f is decreasing on I if x 1, x 2 I and x 1 < x 2 implies f (x 1 ) f (x 2 ).

The Mean Value Theorem. Corollary Let f be a differentiable function on an interval (a, b). Then (i) f is strictly increasing if f (x) > 0 for all x (a, b); (ii) f is strictly increasing if f (x) < 0 for all x (a, b); (iii) f is increasing if f (x) 0 for all x (a, b); (iv) f is decreasing if f (x) 0 for all x (a, b). Proof of (i). Consider x 1, x 2 where a < x 1 < x 2 < b. By the Mean Value Theorem, for some x (x 1, x 2 ) we have f (x 2 ) f (x 1 ) x 2 x 1 = f (x) > 0. Now, since x 2 > x 1, we see that f (x 2 ) > f (x 1 ).

The Mean Value Theorem. Note that the converses of the statements in the previous corollary are not in general true. y f (x) x Figure: The function f : R R given by f (x) = x 3 for all x R is strictly increasing on its entire domain, since x 1 < x 2 implies x 3 1 < x 3 2 for all x 1, x 2 R. But f (0) = 3(0) 2 = 0.

The Mean Value Theorem. The next theorem shows how to differentiate the inverse function of a differentiable function. Remember that for the inverse function to exist, the original function must be one-to-one and onto. Theorem (Inverse Function Theorem) Let f be a one-to-one continuous function on an open interval I and let J = f (I). If f is differentiable at x 0 I and if f (x 0 ) 0, then f 1 is differentiable at y 0 = f (x 0 ) J and (f 1 ) (y 0 ) = 1 f (x 0 ).

The Mean Value Theorem. Example (1) Let f be given by f (x) = x 3 for all x R. Then, by the inverse function theorem, (f 1 ) (y) = 1 f (x) = 1 3x 2, for x 0 and where y = x 3 i.e. x = y 1 3. So (f 1 ) (y) = 1 3y 2 3 We can verify this by finding the inverse function of f and then dfferentiating. Here f 1 (y) = y 1 3 for all y R. Differentiation gives (f 1 ) (y) = 1 3 y 1 3 1 = 1. 3y 2 3.

The Mean Value Theorem. (2) We can use the inverse function theorem to find the derivative of ln y if we know the derivative of e x, since they are inverses of each other on the domain R ++. Let f be given by f (x) = e x for all x R. Then, by the inverse function theorem, (ln y) = (f 1 ) (y) = 1 f (x) = 1 e x, where y = e x. Thus the derivative of ln y is 1/y as expected.

L Hospital s Rule. In analysis we frequently encounter limits of the form f (x) lim x s g(x) where s represents a, a +, a, or. We saw that the limit exists and is simply lim x s f (x) lim x s g(x), provided the limits lim x s f (x) and lim x s g(x) exist and are finite, and provided lim x s g(x) 0. If these limits lead to an indeterminate form such as 0/0 or /, then L Hospital s rule can often be used. Furthemore other indeterminate forms like, 1, 0, 0 0, or 0 can often be manipulated into one of these forms.

L Hospital s Rule. Theorem Let s signify a, a +, a, or where a R and suppose f and g are two differentiable functions for which the following limit exists: f (x) lim x s g (x) = L. If or if then lim f (x) = lim g(x) = 0 x s x s lim g(x) = +, x s f (x) lim x s g(x) = L.

L Hospital s Rule. Example (1) Assuming the familiar properties of the trigonometric functions, it is easy to calculate lim x 0 sin x/x. Using L Hospital s rule sin x lim x 0 x = lim x 0 cos x 1 = cos(0) = 1. Note that f (x) = sin x and g(x) = x satisfy the hypotheses of the theorem. Actually, since the derivative of sin x is given by sin x sin 0 sin x lim = lim x 0 x 0 x 0 x, the earlier computation is dishonest! We needed to know the limit we calculated to prove the derivative of sin x is cos x.

L Hospital s Rule. (2) We will show that lim = 0. x e3x As it is written, we have an indeterminate form /. By L Hospital s rule, the limit will exist as long as x 2 lim x 2x 3e 3x exists. Since this is another indeterminant form /, we can use L Hospital s rule again, to say that this limit will exist provided lim x 2 9e 3x exists. The last limit is 0, so we can conclude that lim x x 2 = 0. e3x

L Hospital s Rule. (3) Consider ln x lim x 0 + x if it exists. By L Hospital s rule, this appears to be 1/x lim x 0 + 1 = + but this is incorrect. We should always check the hypotheses. Here lim x 0 + ln x = and lim x 0 + x = 0, so neither of the theorem s hypotheses hold. In fact, ln x lim x 0 + x =.

L Hospital s Rule. (4) Consider lim x 0 + x ln x. As written we have an indeterminate form 0 ( ), since lim x 0 + x = 0 and lim x 0 + ln x =. But we can write x ln x = ln x 1/x to obtain an indeterminate form /. Then we can apply L Hospital s rule ln x lim x ln x = lim x 0 + x 0 + 1/x = lim 1/x x 0 + 1/x 2 = lim x = 0. x 0 + (5) The limit lim x 0 + x x is of indeterminate form 0 0. We can write x x as e x ln x and note that lim x 0 + x ln x = 0 by the last example. Since g(x) = e x is continuous at 0, we may (using our theorem on the limit of a composite function) take the function g outside the limit: lim x x = lim x 0 + x 0 ex ln x = e lim x 0 + x ln x = e 0 = 1. +

Taylor s Theorem. Definition. Let f be a function defined on some open interval containing x 0 R. If f has derivatives of all orders at x 0, then the series k=0 f (k) (x 0 ) (x x 0 ) k k! is called the Taylor series for f about x 0. Definition. Let f be a function defined on some open interval containing x 0 R. If f has derivatives of all orders up to n at x 0, then the series n k=0 f (k) (x 0 ) (x x 0 ) k k! is called the nth order Taylor polynomial for f about x 0.

Taylor s Theorem. Definition. The remainder R n of an (n 1)th order Taylor polynomial is defined by n 1 R n (x) = f (x) k=0 The remainder is important because, for any x, f (x) = k=0 f (k) (x 0 ) (x x 0 ) k. k! f (k) (x 0 ) (x x 0 ) k iff lim R n (x) = 0. k! n It may be the case that lim n R n (x) = 0 does not hold and f is not given by its Taylor series. The following theorems give us a condition under which f is given by its Taylor series.

Taylor s Theorem. The first theorem tells us something about the value of this remainder. Theorem (Taylor s Theorem) Let f be defined on (a, b), and suppose the nth derivative f (n) exists on (a, b). Then for any x and x 0 in (a, b) we have f (x) = n 1 k=0 f (k) (x 0 ) k! for some y between x and x 0. (x x 0 ) k + f (n) (y) (x x 0 ) n n! This theorem says that the remainder is R n (x) = f (n) (y) (x x 0 ) n n! for some y betwen x and x 0.

Taylor s Theorem. Before we state the corollary giving our condition under which a function is equal to its Taylor series, we present a definition. Definition. A real-valued function f is said to be bounded if {f (x) x dom(f )} is a bounded set, i.e. if there exists a real number M such that f (x) M for all x dom(f ). Corollary Let f be defined on (a, b), where x 0 (a, b) and suppose all the derivatives f (n) exist on (a, b) and are bounded by a single constant C. Then lim n R n(x) = 0 for all x (a, b).

Taylor s Theorem. Example Let f (x) = e x for all x R. Then f (n) = e x for all n = 0, 1, 2,... and so f (0) = 1 for all n. The Taylor series for e x about 0 is k=0 1 k! x k. For any bounded interval ( M, M) in R all the derivatives of f are bounded (by e M ), and so by the corollary e x = k=0 1 k! x k = 1 + x + 1 2! x 2 + 1 3! x 3 +.

Taylor s Theorem. If we truncate the series to the k = 1 term we get e x 1 + x which is the first order or linear approximation of e x. The error term is R 2 = e x (1 + x). By Taylor s theorem we can also write this as R 2 = e y x 2 /2 for some y between 0 and x. The error term is second order. Similarly if we truncate the Taylor series to the k = 2 term, we get the quadratic approximation about 0: e x 1 + x + 1 2 x 2, The error term is R 3 = e x (1 + x + 1/2x 2 ) or R 3 = e z x 3 /6 for some z between 0 and x and is third order. By the corollary as the order of the approximation approaches +, the error approaches 0. Taylor Polynomial Applet