Chapter 5 Symbolic Increments

Similar documents
A BRIEF REVIEW OF ALGEBRA AND TRIGONOMETRY

Functions and Logarithms

AP Calculus AB Summer Assignment

Limits and Their Properties

Algebra/Trigonometry Review Notes

APPLICATIONS OF DIFFERENTIATION

AP Calculus AB Summer Assignment

3.5 Continuity of a Function One Sided Continuity Intermediate Value Theorem... 23

AP Calculus AB Summer Assignment

CONTINUITY AND DIFFERENTIABILITY

Fundamentals of Algebra, Geometry, and Trigonometry. (Self-Study Course)

c 2007 Je rey A. Miron

3.7 Indeterminate Forms - l Hôpital s Rule

APPLICATIONS OF DIFFERENTIATION

Summer Review Packet for Students Entering AP Calculus BC. Complex Fractions

All work must be shown in this course for full credit. Unsupported answers may receive NO credit.

Math 123 Summary of Important Algebra & Trigonometry Concepts Chapter 1 & Appendix D, Stewart, Calculus Early Transcendentals

Summer Packet Honors PreCalculus

It is convenient to introduce some notation for this type of problems. I will write this as. max u (x 1 ; x 2 ) subj. to. p 1 x 1 + p 2 x 2 m ;

Name: Math Analysis Chapter 3 Notes: Exponential and Logarithmic Functions

Calculus with business applications, Lehigh U, Lecture 05 notes Summer

Indeterminate Forms and L Hospital s Rule

Section 1.2 A Catalog of Essential Functions

( ) 2 + 2x 3! ( x x ) 2

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

Calculus I. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

UBC-SFU-UVic-UNBC Calculus Exam Solutions 7 June 2007

Graphing Review Part 1: Circles, Ellipses and Lines

MATH 250 TOPIC 11 LIMITS. A. Basic Idea of a Limit and Limit Laws. Answers to Exercises and Problems

Name: Top Ten Things You ve Learned #10: Graphing Lines, Parabolas, and other Functions I. No Calculator: Sketch a graph of each equation

Algebraic Functions, Equations and Inequalities

MEI Core 2. Sequences and series. Section 1: Definitions and Notation

( ) ( ) ( ) 2 6A: Special Trig Limits! Math 400

6.5 Trigonometric Equations

Calculus Module C09. Delta Process. Copyright This publication The Northern Alberta Institute of Technology All Rights Reserved.

Troy High School AP Calculus Summer Packet

Core Mathematics 2 Unit C2 AS

Chapter 2. Introduction to Calculus

Example 1: What do you know about the graph of the function

Core Connections Algebra 2 Checkpoint Materials

AP Calculus BC Summer Assignment 2018

1.6 CONTINUITY OF TRIGONOMETRIC, EXPONENTIAL, AND INVERSE FUNCTIONS

DIFFERENTIATION RULES

2.13 Linearization and Differentials

CALCULUS BASIC SUMMER REVIEW

Summer AP Assignment Coversheet Falls Church High School

Feedback D. Incorrect! Exponential functions are continuous everywhere. Look for features like square roots or denominators that could be made 0.

STUDY GUIDE ANSWER KEY

TRIG REVIEW NOTES. Co-terminal Angles: Angles that end at the same spot. (sines, cosines, and tangents will equal)

Mathematics syllabus for Grade 11 and 12 For Bilingual Schools in the Sultanate of Oman

MATH 1325 Business Calculus Guided Notes

Composition of and the Transformation of Functions

DIFFERENTIATION RULES

AP Calculus AB Summer Assignment

MATH 1190 Exam 4 (Version 2) Solutions December 1, 2006 S. F. Ellermeyer Name

Transition to College Math

Polynomial Functions of Higher Degree

and Rational Functions

Introduction. So, why did I even bother to write this?

Pure Core 2. Revision Notes

Summer AP Assignment Coversheet Falls Church High School

Solution. Using the point-slope form of the equation we have the answer immediately: y = 4 5 (x ( 2)) + 9 = 4 (x +2)+9

7-3. Sum and Difference Identities. Look Back. OBJECTIVE Use the sum and difference identities for the sine, cosine, and tangent functions.

Chapter 10 Introduction to the Derivative

1 Exponential Functions Limit Derivative Integral... 5

Fixed Point Theorem and Sequences in One or Two Dimensions

Review Sheet for Exam 1 SOLUTIONS

Unit 6: 10 3x 2. Semester 2 Final Review Name: Date: Advanced Algebra

AP Calculus AB Summer Assignment

Precalc Crash Course

Diagnostic Tests. (c) (sa sb )(sa sb ) Diagnostic Test: Algebra

3.4 Using the First Derivative to Test Critical Numbers (4.3)

Algebra/Pre-calc Review

Falls Church High School

MATH 1010E University Mathematics Lecture Notes (week 8) Martin Li

Calculus Summer Packet

Infinite Limits. Let f be the function given by. f x 3 x 2.

Limits and Continuity

Section Inverse Trigonometry. In this section, we will define inverse since, cosine and tangent functions. x is NOT one-to-one.

Review of elements of Calculus (functions in one variable)

Midterm Exam #1. (y 2, y) (y + 2, y) (1, 1)

SEE and DISCUSS the pictures on pages in your text. Key picture:

Lecture 7: Indeterminate forms; L Hôpitals rule; Relative rates of growth. If we try to simply substitute x = 1 into the expression, we get

MATH 175: Final Exam Review for Pre-calculus

A.P. Calculus Summer Assignment

Epsilon Delta proofs

Basic methods to solve equations

Section 1.2 A Catalog of Essential Functions

Limits and Continuity

Name Period Date. RNS1.3 Scientific Notation Read and write large and small numbers. Use scientific notation to write numbers and solve problems.

Math 1270 Honors Fall, 2008 Background Material on Uniform Convergence

Trigonometric Functions

DuVal High School Summer Review Packet AP Calculus

Basic Math Formulas. Unit circle. and. Arithmetic operations (ab means a b) Powers and roots. a(b + c)= ab + ac

Solutions to Problem Sheet for Week 6

Math 180, Exam 2, Spring 2013 Problem 1 Solution

Pre-Calculus and Trigonometry Capacity Matrix

Understanding Part 2 of The Fundamental Theorem of Calculus

Definition of the Radian. Important Note Whenever the units of angle measure are not specified, the units are assumed to be radians.

Transcription:

Chapter 5 Symbolic Increments The main idea of di erential calculus is that small changes in smooth functions are approimately linear. In Chapter 3, we saw that most microscopic views of graphs appear to be linear, but we want a symbolic way to predict the view in a powerful microscope without actually having to use graphical magni cation. The computations in this chapter give us that prediction. Direct computation of the microscopic gap is hard work, but the formulas show when the gap gets small. This guarantees that a magni ed graph will appear linear before we draw the graph. The direct computations of this chapter are proofs of speci c di erentiation rules. The net chapter develops the rules systematically as a procedure or calculus of derivatives. You could just accept the speci c results of this chapter and go on to Chapter 6 to learn the rules, but di erentiation rules are actually theorems that say a local linear approimation is guaranteed by certain systematic computations. You should understand that this means the gap tends to zero at all good points. If the gap does not go to zero at a point, we will not see a straight line when we focus our microscope there. We know from Eercise 3.2.4 that the perfectly reasonable function f[] = p 2 + 2 + does not have the local linearity property at =. (Its graph has a kink no matter how much you magnify it.) Some less reasonable ones like Weierstrass function W [] = Cos[] + Cos[3] 2 + Cos[32 ] 2 2 + + Cos[3n ] 2 n + are continuous but not locally linear at any point (see Figure 3.2.8). Calculus gives a procedure to nd out if a function given by a formula is locally linear. Once we have the basic rules of this chapter and some functional rules from the net, we will di erentiate the kink function f[] = p 2 + 2 + ) f 0 + [] = p 2 + 2 + but then notice that f 0 [ ] is not de ned, so that we cannot make any conclusion about local linearity at this point. (General di erentiation rules cannot say there is a kink, only that no general conclusion is possible when the rules do not apply.) At every other, the rules do apply and this function is locally linear. 63

Chapter 5 - SYMBOLIC INCREMENTS 64 5. The Gap for Power Functions The gap " for y = f[] = p with f 0 [] = p p In Chapter 3, we formulated the deviation of y = f[] from a straight line geometrically. The observed error or gap between the curve and line at magni cation =, denoted ", satis es f[ + ] f[] = m + " The term " is the actual unmagni ed error that appears in the formula above. We observe " because of magni cation. The number m is the slope of the microscopic straight line dy = m d in (d; dy)-coordinates focused over. (See Chapter for equations of lines in local coordinates.) Approimate linearity means that the error " is too small to measure, " 0, when 0 is small enough. Notice that m may depend on, but not, because the slope of the curve depends on the point but not the magni cation. As we move the focus point of the microscope, the slope may change, but the graph should always appear straight under the microscope. Since m depends on and not on, it is customary to denote this slope by f 0 [] rather than m. The function f 0 [] is called the derivative of the function f[] and the local linear equation dy = f 0 [] d is called the di erential of y = f[]. (It is the equation of the tangent line at a ed value of in local (d; dy)-coordinates.) We will compute the symbolic gap for all the eamples in this section (and Eercise 5..) by the steps Procedure 5. Computing the "-Gap f[ + ] f[] ) Compute 2 ) Simplify the epression from the rst part and compute f 0 [] = lim!0 f[ + ] Give an intuitive justi cation of why your limit is correct. 3 ) Use your limit f 0 f[ + ] f[] [] to solve for " = f 0 [] 4 ) Show that "! 0 as! 0, or " 0 is small when = 0 is small. f[] The error " is the gap or amount of deviation from straightness we see above + at power =. We want to let get small enough so that " is below the resolution of our microscope. This chapter shows symbolically that " tends to zero for various functions at good points. Eample 5. Increments of y = f[] = 3 Let y = f[] = 3 and calculate the increment corresponding to a change in of. First, we know from Eample.4. that f[+] f[] = 3 2 + (3 + )

Chapter 5 - SYMBOLIC INCREMENTS 65 Second, the intuitive limit lim!0 f[+] f[] = 3 2 since ((3 + ) = 0 when we plug = 0 into the epression above. (This is technically correct, too, as long as is bounded by some ed amount.) Third, " = (3 + ) comparing the lines above. Fourth, " tends to zero as tends to zero. Here is a rough argument that shows that the "-gap error becomes small as becomes small: If is no more than a thousand, jj 000, and we want the observed error to be less than one one millionth, j"j < 0 6, then needs to be small enough so that jj times 300 is less than a millionth, for eample, jj < 0 0, because j(3 + )j < 0 0 (300) < 0 6 300 0; 000 < ; 000; 000 As long as is bounded, we can make the error as small as we please by choosing a small enough. The eact formula for how small needs to be is not so obvious, but it is clear that for any ed bound on, the error "! 0 as! 0 for all jj b. Finally, we rewrite this in the form of the increment (or microscope) approimation: Increment of f[] = 3 : ( + ) 3 3 = 3 2 + ((3 + )) f[ + ] with f 0 [] = 3 2 and " = ((3 + )). f[] = f 0 [] + " We summarize the knowledge that " can be made small by making small by writing y = 3 ) dy = 3 2 d This formula, called a di erential, omits the error term and is just the local (d; dy)-equation at a ed value of (; y) for the tangent line to y = 3. The complete calculation means that the nonlinear graph approaches that line as we magnify more and more; in other words, the gap in the microscope, ", tends to zero for all beneath some bound, jj b (see Figure 5.). In the net eample we calculate the gap for y = and show that there is a new complication in making " tend to zero. There will sometimes have to be eceptional values of. In these cases, we cannot even get close to the bad values of. This is an annoying but necessary complication as you might suspect by looking at Figure 5.2 near zero.

Chapter 5 - SYMBOLIC INCREMENTS 66 Figure 5.: The gap near = 2=3 on y = 3 Figure 5.2: y = = Eample 5.2 Eceptional Numbers and the Derivative of y = We follow the steps of Procedure 5. and Eercise 5.. f[ + ] f[] ) Compute : f[ + ] f[] = + = ( + ) ( + ) = ( + ) f[ + ] f[] = ( + )

Chapter 5 - SYMBOLIC INCREMENTS 67 2) Compute f[ + ] f0[] = lim! 0 f[] intuitively. It is clear that as! 0, lim!0 ( + ) = ( + 0) = 2 (This is true unless! 0 at the same time. In particular, if =, then At least with ed, we should have (+) is not even de ned.) 3) We make the gap error eplicit by the formula f 0 [] = 2 " = f[ + ] f[] f0[] and put the epression on a common denominator " = ( + ) 2 = 2 + ( + ) = + 2 ( + ) + 2 ( + ) = 2 ( + ) = 2 ( + ) 4) Show that "! 0 as! 0. It seems clear that lim " = lim!0!0 2 ( + ) = 0 2 ( + 0) = 0 but plugging in zero is really not quite enough because it misses the point to the approimation we want. We want the (; y)-graph of the function f[ + ] F [] = f[] to approimate the graph of f 0 [] when is small. Another way to say this is that we want the whole function "[; ] to be small independent of provided is su ciently small. Then we can move the microscope over these values of and continue to see a straight line approimating y = f[].

Chapter 5 - SYMBOLIC INCREMENTS 68 The factor in does tend to zero; so, if we can bound the other factor, the whole 2 (+) function can be made small. The only way for to get big is for to be near zero. If we restrict 2 (+) to stay away from the bad point = 0, then we can always make " small. If b > 0 is ed, " 0 for all jj b > 0 when 0 and the graphs of the functions F [] tend to the graph of f 0 [] for all jj b. Increment of f[] = =: + f[ + ] = + " 2 f[] = f 0 [] + " with f 0 [] = 2 and " = 2 ( + ). We summarize the knowledge that " can be made small by making small by writing y = ) dy = 2 d This notation means that under su cient magni cation the gap between the curve and its tangent will be appear small as shown in Figure 5.3 for = 3=2. The formulas are not valid if = 0. Figure 5.3: The gap near = 3=2 on y = = Eample 5.3 Eceptional Numbers and the Derivative of y = p Here is another eample of the algebraic part of computing increments. We follow the steps of Procedure 5. and Eercise 5.. (See Eercise 28.7.3 for help with these computations.)

Chapter 5 - SYMBOLIC INCREMENTS 69 ) Compute f[ + ] f[] f[ + ] f[] = p p + = (p p p p + )( + + ) p p + + f[ + ] f[] = = p + + p p + + p 2) Compute f[ + ] f0[] = lim! 0 f[] Although there certainly may be di culties near = 0 (see Figure 5.4), if is ed and positive, lim!0 3) Calculate the error gap f[ + ] f[] = lim!0 p + + p = p p = + 0 + 2 p " = f[+] f[] f0[] (see Eercise 28.7.3): f[ + ] f[] " = f 0 [] = p p + + 2 p = 2 p ( p + + p ) 2 4) Show that "! 0 as! 0. It seems clear that lim " = lim!0!0 2 p ( p + + p ) 2 = 2 p ( p + 0 + p ) 0 2 = 8 p 0 = 0 and this shortcut computation (plugging in 0) is justi ed as a function approimation for all as long as the term 8 p cannot get large. This is guaranteed by making b for some ed positive b > 0.

Chapter 5 - SYMBOLIC INCREMENTS 70 Figure 5.4: y = p Increment of f[] = p : f[ + ] f[] = f 0 [] + " p p + = 2 p + " with f 0 [] = 2 p s and " = =(2p ( p + + p ) 2 ). We summarize the knowledge that " can be made small by making small by writing y = p ) dy = 2 p d This notation means that under su cient magni cation the gap between the curve and its tangent will be appear small as shown in Figure 5.5 for = 2=3. These formulas are not valid if 0. Figure 5.5: The gap near = 2=3 on y = p Eercise Set 5.. y = p ) dy = p p d, p = ; 2; 3; : : : For each f[] = p below:

Chapter 5 - SYMBOLIC INCREMENTS 7 f[ + ] (a) Compute f[] and simplify. (b) Compute f 0 f[ + ] f[] [] = lim!0 Give an intuitive justi cation why your limit is correct. Does need to be bounded, or can it vary arbitrarily as tends to zero? (c) Use your limit f 0 [] to solve for " and write the increment equation: f[ + ] f[] = f 0 [] + " = [term in but not ] + [observed microscopic error] f[ + ] Notice that we can solve the increment equation for " = f[] f 0 [] (d) Show that "! 0 as! 0. Show this in any way that you consider reasonable. Does need to be bounded, or can it vary arbitrarily as tends to zero? i. If f[] =, then f 0 [] = 0 = and " = 0. ii. If f[] = 2, then f 0 [] = 2 and " =. iii. If f[] = 3, then f 0 [] = 3 2 and " = (3 + ). iv. If f[] = 4, then f 0 [] = 4 3 and " = (6 2 + 4 + 2 ). v. If f[] = 5, then f 0 [] = 5 4 and " = (0 3 + 0 2 + 5 2 + 3 ). If you have di culty with this eercise, see the high school review Eercise powerquotients. Also see the program SymbIncr in this chapter s folder. If you want practice computing limits, see the Math Background chapter on computing limits on the CD accompanying this book. Problem 5. Use Procedure 5. to nd f 0 [], and write the whole increment approimation f[ + ] f[] = f 0 [] + " showing that "! 0, when! 0.. (a) f[] = n, n a positive integer (b) f[] = 2 (c) f[] = 3p You can use the computer to help with your symbolic computations. See the program SymbIncr in this chapter s folder and verify your predictions using the program MicroD.

Chapter 5 - SYMBOLIC INCREMENTS 72 5.2 Moving the Microscope This section uses interval notation to give a technical de nition of local linearity. This uniform limit allows us to move the microscope. A summary of the "-gap computations so far is y = f [] = p ) dy = f 0 [] d = p p d; p = ; 2; 3; 4; 5 y = f [] = ) dy = f 0 [] d = d 2 y = f [] = ) dy = f 0 [] d = 2 d 2 3 y = f [] = p ) dy = f 0 [] d = 2 p d y = f [] = 3p ) dy = f 0 [] d = 3 3p d 2 More than the summary, we know that the size of the gap (given by ") viewed in a microscope of power = goes to zero even as varies, provided we avoid bad points. For the integer powers, we need to have bounded, jj b for a ed b as you saw in Eercise 5... ( are the bad points in this case.) The other bad points are fairly obvious from the summary above. If = 0, the function = and its derivative = 2 are unde ned. We have to epect trouble there. If < 0, the function p is unde ned, but even if = 0, where p is de ned, the derived function =(2 p ) is unde ned, so we epect trouble. All we need is a way to say where good approimations take place. To give a general approach, we want to phrase the eceptions in terms of intervals. De nition 5. Notation for Open and Compact Intervals If a and b are numbers, we de ne open intervals as follows (a; b) = f : a < < bg ( ; b) = f : < bg (a; ) = f : a < bg We de ne compact (or "closed and bounded") intervals by [a; b] = f : a bg The condition of tangency is epressed by the microscopic error formula given net. Informal Smoothness: The function f 0 [] is the derivative of the function f[] if whenever we make a small change 0 in input in the interval of di erentiability (a; b), then the change in output satis es f [ + ] f [] = f 0 [] + " with error " 0. This looks like Informally, this approimation remains valid if we move the microscope anywhere inside an interval of good points. The approimation means that a microscopic view of a tiny piece of the graph y = f[] looks the same as the linear graph dy = f 0 [] d. (The lower case (small) Greek delta, indicates intuitively that when the di erence in is a su ciently small amount, 0, then the error " 0 is

Chapter 5 - SYMBOLIC INCREMENTS 73 Figure 5.6: A symbolic microscope small.) When we say f 0 [] is the derivative of f[] we mean that this local approimation is valid. We have shown this approimation directly for the functions summarized at the beginning of the section on appropriate compact intervals described in detail at the end of this section. The rules of calculus are wonderful: They tell you where the trouble is going to occur. Procedure 5.2 The Graph of the Linear Function Given by dy = m d in local (d; dy)-coordinates at (; f[]) is the tangent line to the eplicit nonlinear graph y = f[] provided m = f 0 [] and f 0 [] can be computed by the rules yielding a formula valid in an interval around. Speci cally, Theorem 5. Successful Rules Imply Linear Approimation Suppose the derivative dy d = f 0 [] can be computed from an eplicit formula y = f[] using the rules of Chapter 6. Also, suppose that both f[] and f 0 [] are de ned on the compact interval [; ]. Then the size of the gap, " in f[ + ] f[] = f 0 [] + " can be made small for all in [; ] by choosing a su ciently small. (For all in [; ] if = 0, then " 0.) The complete technical de nition of smoothness is given in the Mathematical Background materials on the CD accompanying this tet. The background also gives a proof of Theorem 5.. Here is the technical de nition.

Chapter 5 - SYMBOLIC INCREMENTS 74 De nition 5.2 Technical Smoothness (See Mathematical Background for Details) A real function f[] is called smooth (or di erentiable or derivable) on the open interval (a; b) if there is a function f 0 [] such that for every compact subinterval [; ] in (a; b), the function limit lim!0 f[ + ] f[] = f 0 [] uniformly for all in [; ] In the Mathematical Background we show that the following are equivalent to this de nition:. A real function f[] is smooth on the real interval (a; b) if there is another real function f 0 [], called the derivative of f[], such that whenever a < < b and is a bounded hyperreal number and not in nitely near a or b, then an in nitesimal increment of the dependent variable is approimately linear, that is, f[ + ] f[] = f 0 [] + " where the error " is in nitesimal, whenever is in nitesimal. 2. A real function f[] is smooth on the open interval (a; b) if there is a function f 0 [] such that for every c in (a; b), the double limit converges, lim!c;!0 f[ + ] f[] = f 0 [c] The Mathematical Background also has a chapter on computing uniform limits of formulas like the gaps " we have found so far. We do not have to worry about all the technical details, but we do want to understand the role of points where either f[] or f 0 [] is an unde ned formula. The following eamples are all smooth functions. By Theorem 5., the proof that they are smooth just amounts to valid use of basic rules, in this case the Power Rule. Eample 5.4 Domains of Approimation for y = p, p = ; 2; 3; : : : The functions y = n and their derivatives dy d = n n for n = ; 2; 3; : : : are de ned for all real in ( ; ). Theorem 5. says they are di erentiable on the open interval ( ; ), and this means that for any pair of real numbers, <, the gap " can be made small over the compact interval [; ] by choosing a single, small enough. You cannot make " small for the whole real line, ( ; ). Eample 5.5 Domains of Approimation for y = p, p = ; 2; : : : The functions y = dy and their derivatives n d = n, for n = ; 2; 3; : : : are de ned for all nonzero n+ real in ( ; 0) or (0; ), but not at = 0. Theorem 5. says they are di erentiable on the open intervals ( ; 0) and (0; ). This means that for pairs of real numbers, < < 0 or 0 < <, the gap " can be made small over the whole compact interval [; ] by choosing a single, small enough. You cannot make " small for the whole interval, ( ; 0) or (0; ) or for [; ] if < 0 <.

Chapter 5 - SYMBOLIC INCREMENTS 75 Eample 5.6 Domains of Approimation for y = p, p = =2; =3; : : : The function y = p and its derivative dy d = 2 p are de ned for all positive real in (0; ). Both are NOT de ned at = 0. Theorem 5. says they are di erentiable on the open interval (0; ), so for pairs of real numbers 0 < <, the gap " can be made small over the compact interval [; ] by choosing a single, small enough. You cannot make " small for the whole interval (0; ). Eercise Set 5.2 You can see this function convergence for yourself on the computer.. " on the Computer Run the program DfctLimit to show graphically that the gap errors of all the following functions tend to zero AS FUNCTIONS OF away from the bad points. y = f [] = p ) dy = f 0 [] d = p p d; p = ; 2; 3; 4; 5 y = f [] = ) dy = f 0 [] d = d 2 y = f [] = ) dy = f 0 [] d = 2 d 2 3 y = f [] = p ) dy = f 0 [] d = 2 p d y = f [] = 3p ) dy = f 0 [] d = 3 3p d 2 2. A View in the Microscope You are told that a certain function y = f[] has a derivative for all values of, f 0 []. At the point =, we know that f 0 [] = 2=3. Sketch what you would see in a very powerful microscope focused on the graph y = f[] above the point =. Compare your work on the net problem about kinks with Eercise 3.2.4. Problem 5.2 " on the Computer and Analytically for a Kink Run the program DfctLimit on the function y = f[] = p 2 + 2 + which has derivative dy d = f 0 [] = + p 2 + 2 + Show that the function and its derivative are NOT BOTH de ned at = gap you see on the computer does NOT tend to zero.. Verify analytically that the

Chapter 5 - SYMBOLIC INCREMENTS 76 Figure 5.7: y = p 2 + 2 + near = 5.3 Trigonometric Derivatives The gaps " for y = f[] = Sin[], y = f[] = Cos[], and y = f[] = Tan[] are calculated in this section by comparing the length of a segment of the unit circle with the vertical and horizontal projections from the ends of the segment. The derivative of sine in radians is cosine and the derivative of cosine in radians is -sine. These important facts can be seen by magnifying the unit circle. We assume that you know the de nition of radian measure of angles and the associated fact that (Cos[]; Sin[]) is the (; y)-point on the unit circle at the angle, measured counterclockwise from the -ais. (See Chapter 28, Section 5 and Figure 5.8.) In this section, we use the informal version of De nition 5.2 and work from the relationship between the sine and cosine and the length along the unit circle shown on Figure 5.8. Consider what happens as we move from a point (Cos[]; Sin[]) to a nearby point (Cos[ + ]; Sin[ + ]). We magnify the unit circle, noting on Figure 5.9 that the more we magnify, the straighter the magni ed portion of the circle appears. The gure with small 0 appears to be a triangle at magni cation =. The length of the hypotenuse of the apparent triangle is because we use radian measure. (Degrees are not the distance along a unit circle.) The radii coming from the larger gure appear to meet it at right angles, so the apparent triangle is similar to the large triangle at the left with hypotenuse and sides Sin[], Cos[]. (You may have to do some geometry to convince yourself of this, since the corresponding edges are at right angles to one another.) The sides of the apparent triangle are the di erences in sine and cosine, with cosine decreasing - hence a negative sign. Figure 5.9 is the microscopic view of the circle that gives us the results Consider the apparent similarity, comparing the long sides of the two triangles, Cos[] sin Sin[ + ] Sin[] = Because we only know the apparent triangle up to a small error, we write only approimate similarity. To be eplicit, let the di erence equal, Now do a little algebra to see, " = Cos[] Sin[ + ] Sin[ + ] Sin[] Sin[] = Cos[] + "

Chapter 5 - SYMBOLIC INCREMENTS 77 Figure 5.8: Sine and Cosine as a point on the Unit Circle with " 0 whenever 0. This has the form f[ + ] f[] = f 0 [] + " with f[] = Sin[], f 0 [] = Cos[], and proves half of the following: y = Sin [] ) dy d = Cos [] or Sin [ + ] Sin [] = Cos [] + " y = Cos [] ) dy d = Sin [] Cos [ + ] Cos [] = Sin [] + " For in radians, with " 0 if 0 ( can take any value.) Eample 5.7 Increments of Sine The most important meaning of the increment formula for Sin is simply that a small piece of the graph is given by the linear equation with slope m = Cos[]. For eample, suppose that we want to estimate the sine of 29 degrees. We know sine of 30 degrees and we can take the increment of - degree, using the microscope equation. We must rst convert to radian measure because the increment formulas above are

Chapter 5 - SYMBOLIC INCREMENTS 78 Figure 5.9: Derivatives of sine and cosine valid only in radian measure. We take = 6 f[ + ] f[ + ] and = 80 0, f[] = f 0 [] + " f[] = f 0 [] + " Sin[ + ] Sin[] = Cos[] + " Sin[ p 6 80 ] 3 2 = 2 80 + " Sin[ 6 80 ] p 3 2 + 2 80 Sin[ 6 80 ] 0:484885 The computer s approimation of sine of 29 degrees is 0.4848. Eample 5.8 Limits of Sine The previous eample can be cast in limit notation as: Find Sin[ 6 lim + ] Sin[ 6 ]!0 The solution is to recognize this as a special case of the limit de ning the derivative, lim!0 Sin[ + ] with = =6, or to use the increment approimation, Sin[ + ] Sin[] = Cos[] Sin[] = Cos[] + " Sin[ + ] Sin[] = Cos[] + " Sin[ 6 + ] Sin[ 6 ] = Cos[ 6 ] + "

Chapter 5 - SYMBOLIC INCREMENTS 79 and recall that Sin[ 6 lim + ] Sin[ 6 ] = L!0 is the number L the epression approimates when = 0 is small, Sin[ 6 + ] Sin[ 6 ] Cos[ 6 ] 5.3. Di erential Equations and Functional Equations It is intuitively clear that magni ed circles appear straighter and straighter, but complete justi cation of the local linearity of sine and cosine requires that we really show that the magni ed increment of the circle is close to a triangle. We will not do this here ecept to make two speci c uses of identities that are important in their own right. More details are contained in the Mathematical Background chapter on Functional Identities. The formula (Sin[]) 2 + (Cos[]) 2 = simply says that sine and cosine lie on the unit circle. If = Cos[] and y = Sin[], 2 + y 2 = is the equation of the unit circle. Rather than using the increment approimation based on a greatly magni ed circle, we could use the eact addition formulas to obtain increments of trig functions. In the case of the sine, For eample, Sin[ + ] = Sin[] Cos[] + Cos[] Sin[] Sin[=6 + ] = 2 Cos[] + p 3 2 Sin[] These are eact formulas for the increments, but we need to obtain the di erential approimations Sin[] = + " Cos[] = + " 2 to complete the last step in proving the local linear approimation. The point we wish to illustrate is this: The di erential d(sin[]) = Cos[] d is a sort of simpli ed version of the functional identity Sin[ + ] Sin[] = Sin[] Cos[] Sin[] + Cos[] Sin[] = Cos[] + Cos[](Sin[] ) + Sin[](Cos[] ) = Cos[] + " that discards the error term ". We know " 0 because magni ed circles appear straighter and straighter as the magni cation increases. This observation gives us two interesting limits. Since Sin[] " = Cos[] + Sin[] Cos[]

Chapter 5 - SYMBOLIC INCREMENTS 80 and since this is small for all, we have Sin[] = Sin[] 0 and (Cos[] ) Sin[] Cos[] lim = & lim = 0!0!0 These limits are just the derivatives of sine and cosine at zero. 0, or Eercise Set 5.3. A View in the Microscope (a) Sketch the view you would see in a powerful microscope focused on the graph y = Sin[] above the point where = =3. Verify your prediction using the program MicroD. 2. Derivative of Cosine (a) Use a powerful microscope to prove that the di erential of cosine is minus sine, y = Cos[] ) dy = Sin[] d (b) Write an eact formula for Cos[+] = Cos[] Cos[] : : : using the addition formula for cosine. Compare the eact formula with the increment approimation obtained from the microscopic view of the circle. What is the eact formula for "? (c) Approimate the value of cosine of 46 degrees using the linear increment approimation, discarding the " term. Give your answer in terms of eact constants such as and p 2 as well as numerically. Compare your approimation with the computer or your scienti c calculator s approimation. (d) Use the increment approimation for cosine to show that Cos[ 4 lim + ] Cos[ 4 ] = p!0 2 3. " on the Computer (a) Run the program DfctLimit to show graphically that the gap errors of y = Sin[], y = Cos[], and y = Tan[] tend to zero AS FUNCTIONS OF for appropriate compact intervals [; ]. (HINT: Where are the functions and their derivatives de ned?) The point of the net problem is that we can compute the increments of the tangent function directly. Later you will be able to di erentiate Tan[] with rules from Chapter 6.

Chapter 5 - SYMBOLIC INCREMENTS 8 Figure 5.0: An increment of tangent and the secant Function Problem 5.3 Derivative of Tangent (Optional) Find the di erential of the tangent function by eamining an increment in the gures below. The segment on the line = between two rays from the circle is the increment of the tangent, because SOH- CAH-TOA with adjacent side of length gives Tan[] as the length of the segment on = between the -ais and the ray. The area of the triangle in Figure 5.0 with y = (Tan[]) as its tiny vertical side is 2 Tan[], because the height is for the base of Tan[]. The length of the ray at out to = is = Cos[]. Why? Show the lower estimate 2 Cos 2 [] 2 Tan[] by nding the area of the circular sector at the left in Figure 5.. (Note that the area of a circular sector of radius r and angle is 2 r2.) Figure 5.: A lower estimate and an upper estimate

Chapter 5 - SYMBOLIC INCREMENTS 82 Similarly, show Cos 2 [] Tan[] Cos 2 [ + ] (What is the radius of the sector on the right in Figure 5.?) The area of both of the sectors in Figure 5. is + ", with " 0 when 0. Why? When is Cos[] Cos[+] for 0? Prove that provided Cos[] 6= 0. 2 Cos 2 [] y = Tan[] ) dy = Cos 2 [] d 5.4 Derivatives of Log and Ep The gaps " for y = e and y = Log[] are discussed in this section. The important functional identities of eponential functions are as follows: Theorem 5.2 Laws of Eponents For a positive base a > 0 and any real numbers p and q a p = a a p a q = a p+q p a =p = pp a (a p ) q = a p q We want to use these properties to show what we need to estimate in order to di erentiate log and eponential functions. (Practice with the rules can be found in Chapter 28, Section 4, if your skills are rusty.) Eample 5.9 The Eact Increment of y = a We write an eact formula for the di erence a + a in terms of a, a + a = a a a a + a = a (a ) = a a Notice that the last formula says The rate of change of y = a for a ed change beginning at is proportional to a,

Chapter 5 - SYMBOLIC INCREMENTS 83 a + a = a rate of change = K a where the constant of proportionality K = K[] = (a )= depends only on the change, not. a Eample 5.0 Constant Rate of Change for Linear Functions Suppose an unknown function f[] increases by a constant amount k every time increases by another constant amount h. What sort of function is f[]? The statement that a constant change of h in input makes a constant change of k in output is f[ + h] f[] = k or the rate of change is constant f[ + h] f[] = m h with m = k=h. It is easy to see that the linear function f[] = m + b with m = k=h has the needed property (it will satisfy the rate equation for every h.) Linear functions change at a constant rate. Eponential functions change by a constant percentage for a constant change in input. Eample 5. Constant PERCENTAGE Change for Eponential Functions Suppose an unknown function f[] increases by a constant percentage every time increases by a constant h. For eample, suppose f[] increases by a third, 33.3%, every time increases by =2. The change in f is f[ + 2 ] f[ + 2 ] f[] = 33:3% of f[] f[] = 3 f[] We try to nd an eponential solution, f[] = a, of this functional equation f[ + 2 ] f[] = 3 f[] a + 2 a = 3 a a a 2 a = 3 a a 2 = 3 a 4 2 = 3 a = 4 3 2 = 6 9

Chapter 5 - SYMBOLIC INCREMENTS 84 The function f[] = 6 9 increases by one third every time increases by one half. Percentage Rate of Change as! 0 When gets smaller and smaller, we would like to show that K[] converges to a constant k a = lim!0 K[]. In other words, when is small, 0, we would like to nd an epression for the di erence quotient of eponentials of the form, a + where the real constant k a depends only on a and a = a a = a (k a + ) k a a or a lim = k a!0 It turns out that the mysterious constant k a is Log[a] (the natural logarithm) and 0, but this approimation is di cult to establish directly. Notice that, if the limit converges, the result says the following: The instantaneous rate of change of y = a at is proportional to a, d(a ) d = k a Moreover, the convergence is uniform for bounded : a + a = k a a + ( a ) The gap " = ( a ) 0 for all bounded. The natural base e 2:7828 plays an important role in solving the problem because the number e 2:7828 is the unique number that makes e = k e for 0, that is, k a = when a = e. A mathematically simpler approach is to take the de nition: The function y = Ep[] is o cially de ned to be the unique solution to y[0] = dy d = y This de nition is based on two good guesses. First, that the derivative of an eponential is proportional to the quantity. We saw substantial evidence for this above. Second, that some special number e makes the constant of proportionality equal to. The Project on Direct Computation of the Derivative of Eponentials shows you more details on this guess and gives you a way to compute e 2:7828 : : :. Technically, the approach relies on convergence of Euler s approimation to di erential equations. This is easier than the convergence problems in the direct approach to the eponential above and has many other applications. (We have not proved that Euler s approimation converges, but we have seen it work in several eamples: S-I-R, the canary, and so forth. The proof is in the Mathematical Background CD.)

Chapter 5 - SYMBOLIC INCREMENTS 85 Once we have made this the o cial de nition, we can use Euler s approimation to obtain the speci c approimation ( + ) = e We postpone further discussion to Chapter 8 but give the derivatives now. You may use these results as needed (without proof.) Theorem 5.3 Derivatives of Logs and Eponentials The derivative of the natural base eponential function is y = e ) or, written in terms of the independent variable, dy d = y The derivative of the natural base logarithm is de d = e d Log[] d = Once we know the derivative of the natural eponential and rules of di erentiation, we can nd the di erentials of all eponentials. For this reason, the natural log and eponential play a major role in science and mathematics. Just as radian measure makes the calculus of trig functions natural, the e 2:7828 base for logs and eponentials makes their calculus natural. Eercise Set 5.4 Fied Percentage Changes. Find an eponential function f[] = a that doubles every time increases by. Write this English question as a mathematical equation and solve it using properties of eponents. 2. Find an eponential function f[] = b that triples every time increases by. Write this English question as a mathematical equation and solve it using properties of eponents. 3. Find an eponential function f[] = c that increases by 50% every time increases by =2 -unit. Write this English question as a mathematical equation and solve it using properties of eponents and the logarithm. 4. Show that the eponential base a from the rst part is NOT equal to c from the third part. Should not a function that increases by 50% in =2 unit be the same as one that increases by 00% in unit? Why not? 5. Let f[] be an unknown function, h and k unknown constants. Write the statement, The change in f[] as increases by h equals k times f[]. as a mathematical equation. In other words, your equation should say, f[] increases by k 00% as increases by h.

Chapter 5 - SYMBOLIC INCREMENTS 86 A Doubling Eponential 6. Suppose algae cells in a warm pond double every 6 hours and at time t = 0 (hrs) there is one cell. (a) How many cells are there in 6 hours? How many cells are there in 2 hours? How many in 8 hours? (b) How many 6-hour periods are there in t hours? (A formula.) (c) Give the number of cells n as a function of t, 7. Suppose at time t there are a billion cells. (a) How many are there at time t + 6? n[t] = 2??? (b) What is the formula for the rate of growth of algae cells in a 6-hour period beginning at an unknown time t? (Compare your work to Problem algaeprob and the program EpGth of Chapter 28.) The net eercise has you practice using the functional identities for the logarithm. The point of the eercise is that we need only one limit,! 0, and the functional identity. The Derivative of Natural Log 8. Given that d Log[] d =, write the increment approimation for Log at = to show that Log[ + ] = + " with " 0 when 0. 9. Use properties of logs to show that Log[ + ] Log[] = Log[ + ] 0. Suppose you are given that Log[ + ] = + " with " 0 when 0. Use these two facts to prove that for all positive, bounded away from 0, Log[ + ] = Log[] + + " with " 0 when 0.. Use the above to show that lim!0 Log[ + ] 2. What is wrong with the following computation? Log[] = Log[ + ] Log[] = Log[ + ] = Log[]

Chapter 5 - SYMBOLIC INCREMENTS 87 Percent Growth and the Natural Base 3. We know that eponentials grow at a constant PERCENTAGE rate for ed steps. (See the program PercentGth.) Let f[] = e r and substitute this into the epression f[] f[ + ] f[] = k; k constant 4. Suppose you know that Log[ + ] = + " with " 0 when 0. Show that r k when 0. " on the Computer 5. Run the program DfctLimit to show graphically that the gap errors of y = Ep[] and y = Log[] tend to zero AS FUNCTIONS OF for appropriate compact intervals [; ]. (HINT: Where are the functions and their derivatives de ned?) The net eercise has some practice using these derivatives in the increment approimation. Do not use your calculator until you have written the symbolic epressions. (You do not have to use it at all, but you can check your work if you wish.) Natural Increments 6. Use the formula for the derivative of the natural eponential to write the increment approimation for y = e, e + = e + [?] + " 7. Use the formula for the derivative of the natural logarithm to estimate Log[2:8] = Log[e + (2:8 2:7828 )]. 5.5 Continuity and the Derivative This section shows that locally linear implies continuous and uniform derivatives are continuous. We saw in the Eercise 3.2. that a function can be continuous but still not smooth or di erentiable. An o cial de nition of continuity is the following De nition 5.3 Continuity of f[] A real function f[] is continuous at the real point a if f[a] is de ned and lim f[] = f[a]!a Intuitively, this just means that f[] is close to f[a] when is close to a, for every a, f[] is de ned and f[] f[a]

Chapter 5 - SYMBOLIC INCREMENTS 88 Theorem 5.4 Continuity of f[] and f 0 [] If f[] is smooth on the interval a < < b, then both f[] and f 0 [] are continuous at every point c in (a; b). Intuitive Proof for f[]: Proof of continuity of f is easy algebraically but is obvious geometrically: A graph that is indistinguishable from linear clearly only moves a small amount in a small -step. Algebraically, we want to show that if 2 then f[ ] f[ 2 ]. Take = and = 2 and use the approimation f[ 2 ] = f[ + ] = f[ ] + f 0 [ ] + " where [f 0 [ ] + "] is medium times small = small, so f[ ] f[ 2 ]. That is the algebraic proof. Draw the picture on a small scale. Intuitive Proof for f 0 []: Proof of continuity of f 0 [] requires us to view the increment from both ends. First take = and = 2 and use the approimation f[ 2 ] = f[ + ] = f[ ] + f 0 [ ] + " : Net let = 2, = 2 and use the approimation The di erent -increments are negatives, so we have f[ ] = f[ + ] = f[ 2 ] + f 0 [ 2 ] + " 2 : f[ ] f[ 2 ] = f 0 [ 2 ]( 2 ) + " 2 ( 2 ) and Adding, we obtain Dividing by the non-zero ( f[ 2 ] f[ ] = f 0 [ ]( 2 ) + " ( 2 ) 0 = f 0 [ 2 ] f 0 [ ] + (" 2 " ) ( 2 ) 2 ), we see that f 0 [ 2 ] = f 0 [ ] + (" " 2 ); so f 0 [ 2 ] f 0 [ ] Note: The derivative de ned in many calculus books is a weaker pointwise notion than the notion of smoothness we have de ned. The weak derivative function need not be continuous. (The same approimation does not apply at both ends with the weak de nition.) This is eplained in the Mathematical Background Chapter on Epsilon - Delta Approimations. Eercise Set 5.5. Suppose that f[] is smooth on an interval around a so that the microscope increment equation is valid. Suppose that a so that = a + for 0. Show that f[] = f[a + ] f[a]; in other words, show that smooth real functions are continuous at real points. 2. Consider the real function f[] = =, which is unde ned at = 0. We could etend the de nition by simply assigning f[0] = 0. Show that this function is not continuous at = 0 but is continuous at every other real.

Chapter 5 - SYMBOLIC INCREMENTS 89 3. Give an intuitive graphical description of the de nition of continuity in terms of powerful microscopes and eplain why it follows that smooth functions must be continuous. 4. The function f[] = p is de ned for 0; there is nothing wrong with f[0]. However, our increment computation for p above was not valid at = 0 because a microscopic view of the graph focused at = 0 looks like a vertical ray (or half-line). Eplain why this is so, but show that f[] is still continuous from the right; that is, if 0 < 0, then p 0 but p is very large. 5.6 Projects and Theory 5.6. Hubble s Law and the Increment Equation R[t + t] = R[t] + R 0 [t] t + " t Evidence of an epanding universe is one of the most important astronomical observations of this century. Light received from a distant galay is old light, generated millions of years ago at a time t e when it was emitted. When this old light is compared to light generated at the time received t r, it is found that the characteristic colors, or spectral lines, do not have the same wavelengths. All the current wavelengths are longer, [t e ] < [t r ]. This means that light is redder now; this is the famous red shift. The Scienti c Project on Hubble s Law shows you an eplanation for the epanding universe that is based just on using the increment approimation. Recently, there has been some reeamination of Hubble s Law indicating that Hubble s constant may not be constant. This is still compatible with an increment derivation of the law, which relies on the tiny time increment of only a few human generations. 5.6.2 Numerical Approimation of Eponential Derivatives The project on Eponential Derivatives has you calculate the constants a k a = lim!0 and then adjust a until you make k a =. This is one way to compute the natural base e 2:7828 : : : : 5.6.3 Small Enough Real Numbers or Epsilons and Deltas The increment approimation used to estimate Sin[ 29 degrees ] was very close, but how do we know that the increment approimation gets close for real increments, not just close for small increments? The Mathematical Background chapter on epsilons and deltas answers this question. All the theorems are proved in detail in the Mathematical Background.