Chapter 4: More Applications of Differentiation

Similar documents
Chapter 4: More Applications of Differentiation

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

Calculus I Exam 1 Review Fall 2016

Mathematic 108, Fall 2015: Solutions to assignment #7

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).

MAT137 Calculus! Lecture 20

MTH4100 Calculus I. Bill Jackson School of Mathematical Sciences QMUL. Week 9, Semester 1, 2013

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

Chapter 2: Functions, Limits and Continuity

Advanced Mathematics Unit 2 Limits and Continuity

Advanced Mathematics Unit 2 Limits and Continuity

Announcements. Related Rates (last week), Linear approximations (today) l Hôpital s Rule (today) Newton s Method Curve sketching Optimization problems

Solutions to Math 41 First Exam October 15, 2013

Math 131 Final Exam Spring 2016

Section Properties of Rational Expressions

Solutions to Math 41 First Exam October 18, 2012

5.8 Indeterminate forms and L Hôpital s rule

Calculus 221 worksheet

Written Homework 7 Solutions

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

Limit. Chapter Introduction

MA1021 Calculus I B Term, Sign:

AP Calculus Summer Prep

Semester University of Sheffield. School of Mathematics and Statistics

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

8.5 Taylor Polynomials and Taylor Series

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)

M408 C Fall 2011 Dr. Jeffrey Danciger Exam 2 November 3, Section time (circle one): 11:00am 1:00pm 2:00pm

MTH30 Review Sheet. y = g(x) BRONX COMMUNITY COLLEGE of the City University of New York DEPARTMENT OF MATHEMATICS & COMPUTER SCIENCE

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

This Week. Professor Christopher Hoffman Math 124

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

Calculus I Review Solutions

MATH 408N PRACTICE FINAL

Rational Functions 4.5

Formulas that must be memorized:

Final Exam Review Exercise Set A, Math 1551, Fall 2017

(c) Find the equation of the degree 3 polynomial that has the same y-value, slope, curvature, and third derivative as ln(x + 1) at x = 0.

1. Use the properties of exponents to simplify the following expression, writing your answer with only positive exponents.

Skill 6 Exponential and Logarithmic Functions

MATH 151, FALL SEMESTER 2011 COMMON EXAMINATION 3 - VERSION B - SOLUTIONS

Chapter 2: Differentiation

Ma 530 Power Series II

Chapter P: Preliminaries

Topics from Algebra and Pre-Calculus. (Key contains solved problems)

Calculus I Sample Exam #01

Section 4.2 Logarithmic Functions & Applications

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

MTAEA Differentiation

Fall 2009 Math 113 Final Exam Solutions. f(x) = 1 + ex 1 e x?

Calculus (Math 1A) Lecture 6

Daily WeBWorK. 1. Below is the graph of the derivative f (x) of a function defined on the interval (0, 8).

Integration by Parts

Chapter 2: Differentiation

Rational Functions. Elementary Functions. Algebra with mixed fractions. Algebra with mixed fractions

MATH 408N PRACTICE FINAL

L Hopital s Rule. We will use our knowledge of derivatives in order to evaluate limits that produce indeterminate forms.

MATHEMATICS AP Calculus (BC) Standard: Number, Number Sense and Operations

Week 1: need to know. November 14, / 20

Review Problems for Test 1

6.1 Polynomial Functions

MA 113 Calculus I Fall 2012 Exam 3 13 November Multiple Choice Answers. Question

Skill 6 Exponential and Logarithmic Functions

Taylor and Maclaurin Series. Approximating functions using Polynomials.

106 Chapter 5 Curve Sketching. If f(x) has a local extremum at x = a and. THEOREM Fermat s Theorem f is differentiable at a, then f (a) = 0.

Differentiation ( , 9.5)

1. Use the properties of exponents to simplify the following expression, writing your answer with only positive exponents.

Chapter 3: The Derivative in Graphing and Applications

Name: AK-Nummer: Ergänzungsprüfung January 29, 2016

Math 180, Exam 2, Spring 2013 Problem 1 Solution

Chapter P: Preliminaries

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Calculus I Practice Problems 8: Answers

Learning Objectives for Math 165

AP Calculus AB Summer Math Packet

THE NATIONAL UNIVERSITY OF IRELAND, CORK COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK. Summer Examination 2009.

Section 2.5. Evaluating Limits Algebraically

14 Increasing and decreasing functions

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

(a) The best linear approximation of f at x = 2 is given by the formula. L(x) = f(2) + f (2)(x 2). f(2) = ln(2/2) = ln(1) = 0, f (2) = 1 2.

Old Math 220 Exams. David M. McClendon. Department of Mathematics Ferris State University

f(x) = lim x 0 + x = lim f(x) =

3. (12 points) Find an equation for the line tangent to the graph of f(x) =

Example 1a ~ Like # 1-39

Calculus Example Exam Solutions

MA Practice Exam #2 Solutions

Topics and Concepts. 1. Limits

2015 Math Camp Calculus Exam Solution

Review for the Final Exam

L Hopital s Rule. We will use our knowledge of derivatives in order to evaluate limits that produce indeterminate forms.

2.1 Limits, Rates of Change and Slopes of Tangent Lines

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.

April 9, 2009 Name The problems count as marked. The total number of points available is 160. Throughout this test, show your work.

Math Practice Exam 3 - solutions

and lim lim 6. The Squeeze Theorem

Families of Functions, Taylor Polynomials, l Hopital s

Section Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence.

Taylor and Maclaurin Series

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

King s Year 12 Medium Term Plan for LC1- A-Level Mathematics

Transcription:

Chapter 4: More Applications of Differentiation Autumn 2017 Department of Mathematics Hong Kong Baptist University 1 / 68

In the fall of 1972, President Nixon announced that, the rate of increase of inflation was decreasing. This was the first time a sitting president used the third derivative to advance his case for reelection. In this chapter we will examine several kinds of problems to which the differentiation can be applied: (1) evaluation of limits ( 4.3) (2) optimization problems ( 4.4) (3) graphing problems ( 4.5, 4.6) (4) approximation problems ( 4.9, 4.10) 2 / 68

4.3 Indeterminate Forms Recall that in 2.5, we showed that lim x 0 sin(x)/x = 1. We could not readily see this by substituting x = 0 into the function because both sin(x) and x are zero at x = 0. We call sin(x)/x an indeterminate form of type [0/0] at x = 0. The limit of such an indeterminate form can be any number, e.g., 0, k,, or does not exist. For instance, each of the quotients kx/x, x/x 3 and x 3 /x 2 is an indeterminate form of type [0/0] at x = 0, but kx lim x 0 x = k, lim x 0 x x 3 = and lim x 3 x 0 x 2 = 0. 3 / 68

4 / 68

Indeterminate forms of type [0/0] are the most common. Many examples of the type [0/0] can be evaluated with simple algebra, typically by canceling common factors. For instance, lim x 1 x 2 1 x 2 3x + 2 = lim x + 1 x 1 x 2 = 2. In this section we develop another method called l Hôpital Rules for evaluating limits of indeterminate forms of the types [0/0] and [ / ]. The other types of indeterminate forms can usually be reduced to one of these two by algebraic manipulation and the taking of logarithms. 5 / 68

Theorem (The first l Hôpital Rule: for type [0/0]) Suppose that f and g are differentiable on the interval (a, b) and that g (x) 0 there. Suppose also that (i) (ii) Then lim f (x) = lim g(x) = 0, and x a+ x a+ lim x a+ f (x) g = L (where L is finite, or or ). (x) f (x) lim x a+ g(x) = L. Similar results hold if every occurrence of lim x a+ is replaced by lim x b or even lim x c where a < c < b. The cases a = and b = are also allowed. 6 / 68

Example 1 : Evaluate (a) lim x 1 ln(x) x 2 ; (b) lim 1 x 0 2 sin(x) sin(2x) 2e x 2 2x x 2. 7 / 68

Example 1 : Evaluate (a) lim x 1 ln(x) x 2 ; (b) lim 1 x 0 Solution: (a) By the first l Hôpital Rule, lim x 1 2 sin(x) sin(2x) 2e x 2 2x x 2. ln(x) x 2 1 = lim 1/x x 1 2x = lim x 1 1 2x 2 = 1 2. (b) Repeatedly by the first l Hôpital Rule, we have lim x 0 2 sin(x) sin(2x) cos(x) cos(2x) 2e x 2 2x x 2 = lim x 0 e x 1 x sin(x) + 2 sin(2x) = lim x 0 e x 1 cos(x) + 4 cos(2x) = lim x 0 e x = 3. (still (still [ ] 0 ) 0 [ ] 0 ) 0 8 / 68

Example 2: Evaluate lim x 1+ x ln(x). Solution: x L Hôpital s Rule cannot be used to evaluate lim x 1+ ln(x) because this is not an indeterminate form. Note that the denominator approaches 0 and the numerator approaches 1 as x 1+. We have lim x 1+ x ln(x) =. Remark: Nevertheless, if we tried to use the l Hôpital Rule, it would lead to the WRONG answer lim x 1+ x ln(x)?! = lim x 1+ 1 1/x = 1. 9 / 68

( 1 Example 3: Evaluate lim x 0+ x 1 ). sin(x) Solution: Note that the indeterminate form here is of the type [ ]. Thus, l Hôpital s Rule cannot be applied directly. To solve the problem, we do the following transformation to turn it into the type [0/0]. Specifically, lim x 0+ ( 1 x 1 sin(x) ) sin(x) x = lim x 0+ x sin(x) = lim x 0+ cos(x) 1 sin(x) + x cos(x) sin(x) = lim x 0+ 2 cos(x) x sin(x) = 0. 10 / 68

Theorem (The second l Hôpital Rule: for type [ / ]) Suppose that f and g are differentiable on the interval (a, b) and that g (x) 0 there. Suppose also that (i) (ii) Then lim g(x) = ±, and x a+ lim x a+ f (x) g = L (where L is finite, or or ). (x) f (x) lim x a+ g(x) = L. Again, similar results hold for lim x b and for lim x c, and the cases a = and b = are allowed. 11 / 68

Example 4: Evaluate (a) lim x x 2 ; and (b) ex lim x ln(x). x 0+ 12 / 68

Example 4: Evaluate (a) lim x Solution: (a) By the second l Hôpital Rule, x 2 ; and (b) ex lim x ln(x). x 0+ x 2 lim x e x = lim 2x x e x = lim 2 x e x = 0. (b) Note that x ln(x) with x 0+ is of type [0 ]. To apply l Hôpital s Rules, we rewrite it as ln(x) x 1 so that ln(x) lim x ln(x) = lim x 0+ x 0+ x 1 = lim 1/x = lim ( x) = 0. x 0+ x 2 x 0+ 13 / 68

Do not try to use l Hôpital s Rules to evaluate limits that are not indeterminate of type [0/0] or [ / ]. Such attempts will almost always lead to false conclusions. No conclusion about the limit of f (x)/g(x) can be made using either l Hôpital s Rule if lim f (x)/g (x) does not exist. x 2 sin(1/x) One such example is lim = 0 by the Squeeze x 0 sin(x) theorem. However, lim [f (x)/g (x)] does not exist. In such x 0 cases, we need to use other techniques. The easiest way to deal with indeterminate forms of types [0 0 ], [ 0 ], and [1 ] is taking logarithms of the expressions involved. 14 / 68

Example 5: Evaluate lim x x. x 0+ Solution: Note that this indeterminate form is of type [0 0 ]. Let y = x x. Then by Example 4, This leads to lim ln(y) = lim x ln(x) = 0. x 0+ x 0+ lim x x = lim y = exp x 0+ x 0+ { } lim ln(y) x 0+ = e 0 = 1. 15 / 68

( Example 6: Evaluate lim 1 + sin 3 ) x. x x Solution: Note that this indeterminate form is of type [1 ]. Let y = ( 1 + sin 3 ) x. x Then ( lim ln(y) = lim x ln 1 + sin 3 ) (Type [ 0]) x x x ln (1 + sin(3/x)) = lim x 1/x cos(3/x)( 3/x 2 ) H 1+sin(3/x) = lim x 1/x 2 = lim x Thus, we have lim x 3 cos(3/x) 1 + sin(3/x) = 3. ( 1 + sin 3 ) x = e 3. x (Type [ 0 0 ] ) 16 / 68

4.4 Extreme Values Maximum and Minimum Values Definition (Absolute Extreme Values) Function f has an absolute maximum value f (x 0 ) at the point x 0 in its domain if f (x) f (x 0 ) holds for every x in the domain of f. Similarly, f has an absolute minimum value f (x 1 ) at the point x 1 in its domain if f (x) f (x 1 ) holds for every x in the domain of f. 17 / 68

A function can have at most one absolute maximum or minimum value, although this value can be assumed at many points. Maximum and minimum values of a function are collectively referred to as extreme values. A function may not have any absolute extreme value. (i) f (x) = 1/x has no finite absolute maximum. (ii) g(x) = x with domain x (0, 1) has no extreme values. 18 / 68

Theorem (Existence of Extreme Values) If the domain of the function f is a closed, finite interval or a union of finitely many such intervals, and if f is continuous on that domain, then f must have an absolute maximum value and an absolute minimum value. Remark: This existence theorem is a restatement (with slight generalization) of the Max-Min Theorem in 1.4. 19 / 68

20 / 68

Local Extreme Values Definition Function f has a local maximum value (loc max) f (x 0 ) at the point x 0 in its domain provided there exists a number h > 0 such that f (x) f (x 0 ) whenever x is in the domain of f and x x 0 < h. Similarly, f has a local minimum value (loc min) f (x 1 ) at the point x 1 in its domain provided there exists a number h > 0 such that f (x) f (x 1 ) whenever x is in the domain of f and x x 1 < h. 21 / 68

Critical Points, Singular Points, and Endpoints (i) critical points of f : points x D(f ) where f (x) = 0, (ii) singular points of f : points x D(f ) where f (x) is not defined, and (iii) endpoints of the domain of f : points x D(f ) that do not belong to any open interval contained in D(f ). Remark: In the previous figure, x 1, x 3, x 4 and x 6 are critical points, x 2 and x 5 are singular points, and a and b are endpoints. 22 / 68

Theorem (Locating Extreme Values) If the function f is defined on an interval I and has a local maximum (or local minimum) value at point x = x 0 in I, then x 0 must be either (i) a critical point of f, (ii) a singular point of f, or (iii) an endpoint of I. Finding Absolute Extreme Values: If f is defined on a closed interval or a union of finitely many closed intervals, we may find the absolute extreme value by checking the values of f at all critical, singular and endpoints. 23 / 68

Example 7 : Find the maximum and minimum values of the function g(x) = x 3 3x 2 9x + 2 on the interval 2 x 2. Solution: Since g(x) is a polynomial, g (x) always exists so that it has no singular points. The derivative of g(x) is g (x) = 3x 2 6x 9 = 3(x + 1)(x 3). By letting g (x) = 0 we have x = 1 or x = 3. Since x = 3 is not in the domain, g has only one critical point at x = 1. Together with the two endpoints x = 2 and x = 2, we have g( 2) = 0, g( 1) = 7, g(2) = 20. Comparing the above values, we conclude that the maximum value of g(x) on 2 x 2 is 7 at x = 1 and the minimum value is 20 at x = 2. 24 / 68

25 / 68

Example 8 : Find the maximum and minimum values of h(x) = 3x 2/3 2x on the interval [ 1, 1]. Solution: The derivative of h(x) is h (x) = 2(x 1/3 1). Note that x 1/3 is not defined at x = 0, therefore x = 0 is a singular point of h. Also, h has a critical point where x 1/3 = 1, that is, at x = 1 (also an endpoint). Together with the other endpoint x = 1, we have h( 1) = 5, h(0) = 0, h(1) = 1. Comparing the above values, we conclude that the maximum value of h(x) on the interval [ 1, 1] is 5 at x = 1 and the minimum value is 0 at x = 0. 26 / 68

27 / 68

4.5 Concavity and Inflections Definition We say that the function f is concave up (or convex) on an open interval I if it is differentiable there and the derivative f is an increasing function on I. Similarly, f is concave down on I if f exists and is an decreasing function on I. 28 / 68

29 / 68

(i) If f is concave up on an interval, then, on that interval, the graph of f lies above its tangents, and chords joining points on the graph lie above the graph. (ii) If f is concave down on an interval, then, on that interval, the graph of f lies below its tangents, and chords to the graph lie below the graph. (iii) If the graph of f has a tangent at a point, and if the concavity of f is opposite on opposite sides of that point, then the graph crosses its tangent at that point (e.g., the point (b, f (b))). Such a point is called an inflection point of the graph of f. 30 / 68

31 / 68

Theorem (Concavity and the Second Derivative) (a) If f (x) > 0 on interval I, then f is concave up on I. (b) If f (x) < 0 on interval I, then f is concave down on I. (c) If f has an inflection point at x 0 and f (x 0 ) exists, then f (x 0 ) = 0. 32 / 68

The Second Derivative Test Theorem The following rules determine whether the function has a local maximum or a local minimum value at a critical point x 0 : (a) If f (x 0 ) = 0 and f (x 0 ) < 0, then f has a local maximum value at x 0. (b) If f (x 0 ) = 0 and f (x 0 ) > 0, then f has a local minimum value at x 0. (c) If f (x 0 ) = 0 and f (x 0 ) = 0, no conclusion can be drawn. Specifically, f may have a local maximum at x 0, a local minimum, or an inflection point. 33 / 68

Example 9 : Find and classify the critical points of f (x) = x 2 e x. Solution: The first derivative of f is f (x) = x(2 x)e x. Letting f (x) = 0, we know that f has two critical points: x = 0 and x = 2. To determine if they are local maximum or minimum values, we calculate the second derivative of f as f (x) = (2 4x + x 2 )e x. Note that f (0) = 2 > 0 and f (2) = 2e 2 < 0. We conclude that f has a local minimum value at x = 0 and a local maximum value at x = 2. 34 / 68

35 / 68

4.6 Sketching the Graph of a Function Good-to-have skill. There are many problems in which being able to see the function from its formula helps you keep its general features in mind and makes solving the problem easier. When sketching the graph y = f (x), we have three sources of useful information: (i) the function f itself: determine the intercepts, components, symmetry, and asymptotes; (ii) the first derivative f : determine the intervals of increase and decrease and the location of extremes vales; (iii) the second derivative f : determine the concavity and inflection points, and sometimes extreme values. 36 / 68

Definition (1) The graph of y = f (x) has a vertical asymptote at x = a if either lim f (x) = ± or lim x a f (x) = ± or both. x a+ (2) The graph of y = f (x) has a horizontal asymptote y = L if either lim f (x) = L or lim x f (x) = L or both. x (3) The graph of y = f (x) has an oblique asymptote y = ax + b, where a 0, if either lim (f (x) (ax + b)) = 0 or lim x (f (x) (ax + b)) = 0 x or both. 37 / 68

Example 10: Find the asymptotes of the following functions: (a) f (x) = 1 x 2 x. Solution: The graph of f has a horizontal asymptote y = 0, and two vertical asymptotes at x = 0 and x = 1. 38 / 68

Example 10: Find the asymptotes of the following functions: (a) f (x) = 1 x 2 x. Solution: The graph of f has a horizontal asymptote y = 0, and two vertical asymptotes at x = 0 and x = 1. (b) g(x) = x 4 + x 2 x 4 + 1. Solution: The graph of g has a horizontal asymptote y = 1. 39 / 68

Example 10: Find the asymptotes of the following functions: (a) f (x) = 1 x 2 x. Solution: The graph of f has a horizontal asymptote y = 0, and two vertical asymptotes at x = 0 and x = 1. (b) g(x) = x 4 + x 2 x 4 + 1. Solution: The graph of g has a horizontal asymptote y = 1. (c) h(x) = x 2 + 1 x = x + 1 x. Solution: The graph of h has a vertical asymptote x = 0, and an oblique asymptote y = x. 40 / 68

41 / 68

42 / 68

43 / 68

Finding oblique asymptotes Lemma If y = ax + b is a horizontal or oblique asymptote of y = f (x) corresponding to x, i.e., if lim (f (x) ax b) = 0, x then f (x) lim = a. x x The analogous result holds for x. 44 / 68

Method for finding oblique asymptotes: f (x) 1. Calculate a = lim x x. 2. If the above limit does not exist, then y = f (x) has no horizontal/oblique asymptote for x. Otherwise, calculate b = lim (f (x) ax). x 3. If b does not exist, then y = f (x) has no horizontal/oblique asymptote for x. If both a and b exist and: a 0: y = f (x) has the oblique asymptote y = ax + b for x. a = 0: y = f (x) has the horizontal asymptote y = b for x. 4. Repeat the process for x. 45 / 68

Example 11: Find all asymptotes for y = xex 1 + e x. Solution: Since y is defined for all x, there are no vertical asymptotes. For x, we calculate y a = lim x x = lim x xe x x + xe x = lim x Moreover, we see that ( ) xe x b = lim (y ax) = lim x x 1 + e x x 1 e x + 1 = 1. = lim x So y = x is an oblique asymptote. For x, we have lim x xe x 1 + e x = lim x x e x + 1 H = lim x Thus, y = 0 is a horizontal asymptote for x. x 1 + e x = 0. 1 = 0. e x 46 / 68

47 / 68

Checklist for Curve Sketching: 1. Calculate f (x) and f (x), and express the results in factored form if possible. 2. Examine f (x) to determine its domain, the endpoints, the intercepts, the symmetry (Is f even or odd?), and the horizontal, vertical or oblique asymptotes. 3. Examine f (x) to determine the critical points, the singular points, and the intervals on which f is positive or negative. 4. Examine f (x) to determine the points where f (x) = 0, the points where f (x) is undefined, the intervals where f is positive (concave up) or negative (concave down), and the inflection points. 48 / 68

Example 12: Sketch the graph of f (x) = x 2 1 x 2 4. Solution: Note that f (x) = 6x (x 2 4) 2 and f (x) = 6(3x 2 + 4) (x 2 4) 3. From f : the domain is R except for { 2, 2}; the vertical asymptotes are x = 2 and x = 2; the horizontal asymptote is y = 1; f is symmetric on y-axis (i.e., f is even); the intercepts are ( 1, 0), (1, 0), an (0, 1/4); and other important points can be (3, 8/5) and ( 3, 8/5). From f : the critical point is x = 0; the singular points are x = 2 and x = 2; f (x) < 0 as x (0, 2) and x (2, ). From f : f (x) = 0 nowhere; f (x) < 0 as x (0, 2) and f (x) > 0 as x (2, ). 49 / 68

50 / 68

51 / 68

Example 13: Sketch the graph of f (x) = xe x2 /2. Solution: Note that f (x) = (1 x 2 )e x2 /2 and f (x) = x(x 2 3)e x2 /2. From f : the domain is all x; the horizontal asymptote is y = 0, since lim f (x) = x ± lim x ± x e x2 /2 = lim x ± 1 xe x2 /2 = 0. f is symmetric about the origin (i.e., f is odd); the intercept is (0, 0) only, since e x2 /2 0 for all x. From f : the critical points are x = ±1 points (±1, ±1/ e) (±1, ±0.61); From f : f (x) = 0 at x = 0 and x = ± 3, points (0, 0), (± 3, 3e 3/2 ) (±1.73, ±0.39) 52 / 68

CP CP x 3 1 0 1 3 y 0 + + 0 y 0 + + 0 0 + y min max ) infl ( ( infl ) ) infl ( 53 / 68

54 / 68

4.9 Linear Approximations Definition The linearization of the function f about a is the function L defined by L(x) = f (a) + f (a)(x a). We say that f (x) L(x) = f (a) + f (a)(x a) provides linear approximations for values of f near a. Remark: L(x) is the tangent line of the curve y = f (x) at the point x = a. Thus, L(x) is a very good approximation of f (x) when x is close to a. 55 / 68

56 / 68

Example 14 : Find linearizations of (a) f (x) = 1 + x about x = 0; and (b) g(t) = 1/t about t = 1/2. 57 / 68

Example 14 : Find linearizations of (a) f (x) = 1 + x about x = 0; and (b) g(t) = 1/t about t = 1/2. Solution: (a) We have f (0) = 1 and f (0) = 1/(2 1 + x) x=0 = 1/2. The linearization of f about x = 0 is L(x) = f (0) + f (0)(x 0) = 1 + x 2. (b) We have g(1/2) = 2 and g (1/2) = 1/t 2 t=1/2 = 4. The linearization of g about t = 1/2 is L(t) = g( 1 2 ) + g ( 1 2 )(t 1 2 ) = 4 4t. 58 / 68

Example 15 : Use the linearization for x about x = 25 to find an approximate value for 26. Solution: Let f (x) = x. We have f (25) = 5 and f (25) = 1 2 = 1 x x=25 10. The linearization of f about x = 25 is Putting x = 26, we get L(x) = f (25) + f (25)(x 25) = x 10 + 2.5. 26 26 = f (26) L(26) = + 2.5 = 5.1. 10 This is very close to the true value at 26 = 5.0990195... 59 / 68

Error Analysis In any approximation, the error is defined by error = true value approx. value The error of the linear approximation is E(x) = f (x) f (a) f (a)(x a). If f is twice differentiable, then by l Hôpital s rule, we have f (x) f (a) f (a)(x a) f (x) f (a) lim x a (x a) 2 = lim = 1 x a 2(x a) 2 f (a). So we expect the error to behave like E(x) 1 2 f (a)(x a) 2. 60 / 68

In Example 14, we linearize f (x) = x at a = 25. The linearization error at x = 26 is f (26) L(26) = 5.0990195... 5.1 0.00098. Since f (x) = 1 4 x 3/2, we see that the above error is very close to the estimate 1 2 f (25) = 1 2 1 = 0.001. 4 253/2 Theorem 11 If f (t) exists for all t between a and x, then there exists an s between a and x such that the error E(x) = f (x) L(x) satisfies E(x) = f (s) 2 (x a)2. 61 / 68

4.10 Taylor Polynomials If we generalize the linear approximation to higher-degree approximation, it results in the Taylor polynomials. Let f (x) = c 0 + c 1 (x a) + c 2 (x a) 2 +, Assume that f (n) (a) exist for any positive integer n. We have f (n) (x) = c n n! + c n+1 (n + 1)! 1! (n + 2)! (x a) + c n+2 (x a) 2 + 2! Note that f (n) (a) = c n n!. We have c n = f (n) (a) n! n = 0, 1, 2, 62 / 68

Plugging in c n, we have f (x) = f (a) + f (a)(x a) + f (a) (x a) 2 2! + f (3) (a) (x a) 3 + + f (n) (a) (x a) n + Remainder 3! n! = P n (x) + Remainder. P n is called the nth-order Taylor polynomial for f about a. When a = 0, the Taylor polynomial P n becomes P n (x) = f (0) + f (0)x + f (0) x 2 + + f (n) (0) x n. 2! n! This is also referred to as the Maclaurin polynomial. 63 / 68

Example 16 : Find the third-order Taylor polynomial P 3 (x) for g(x) = ln(x) about x = e. Solution: We have Thus, g (x) = 1 x, g (x) = 2 x 2, g (x) = 2 x 3. P 3 (x) = g(e) + g (e)(x e) + g (e) 2! (x e) 2 + g (e) (x e) 3 3! = 1 + 1 1 (x e) e e 2 (x e)2 + 1 3e 3 (x e)3. 64 / 68

Some important Taylor series: 1) e x = 1 + x + x 2 2! + x 3 3! + x 4 2) sin(x) = x x 3 3! + x 5 5! x 7 3) cos(x) = 1 x 2 2! + x 4 4! x 6 4! + 7! + 6! + 4) ln(1 + x) = x x 2 2 + x 3 3 x 4 + ( x < 1) 4 5) 1 1 + x = 1 x + x 2 x 3 + x 4 ( x < 1) 65 / 68

Example 17 : Find an approximate value of e = 2.71828183 using its Taylor expansion about the point x = 0. Solution: Note that the Taylor series of function e x is Letting x = 1, we have e x = 1 + x + x 2 2! + x 3 3! + e = 1 + 1 + 1 2! + 1 3! + (1) If approximate e using the first 3 terms, we have e 2.5; (2) If approximate e using the first 4 terms, we have e 2.67; (3) If approximate e using the first 10 terms, we have e 2.71828. 66 / 68

67 / 68

Example 18 : Find the Taylor series of f (x) = x sin(2x) about x = 0. Solution: Recall that the Taylor series of sine about x = 0 is sin(x) = x x 3 3! + x 5 5! + + x 2n 1 ( 1)n 1 (2n 1)! + Replacing all occurrences of x by 2x, we obtain sin(2x) = 2x 8x 3 3! + 32x 5 5! + + ( 1)n 1 2 2n 1 x 2n 1 + (2n 1)! Finally, we multiply the above series by x to conclude that x sin(2x) = 2x 2 8x 4 3! + 32x 6 5! + + ( 1)n 1 2 2n 1 x 2n + (2n 1)! 68 / 68