Continuous Functions, Smooth Functions and the Derivative



Similar documents
Objectives. Materials

88 CHAPTER 2. VECTOR FUNCTIONS. . First, we need to compute T (s). a By definition, r (s) T (s) = 1 a sin s a. sin s a, cos s a

Slope and Rate of Change

Chapter 4 Online Appendix: The Mathematics of Utility Functions

2.2. Instantaneous Velocity

Average rate of change of y = f(x) with respect to x as x changes from a to a + h:

Linear and quadratic Taylor polynomials for functions of several variables.

Review of Fundamental Mathematics

2.2 Derivative as a Function

Graphical Integration Exercises Part Four: Reverse Graphical Integration

DERIVATIVES AS MATRICES; CHAIN RULE

Definition of derivative

Lecture 2. Marginal Functions, Average Functions, Elasticity, the Marginal Principle, and Constrained Optimization

Average rate of change

Graphing calculators Transparencies (optional)

Constrained optimization.

Slope-Intercept Equation. Example

Numerical integration of a function known only through data points

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

Common sense, and the model that we have used, suggest that an increase in p means a decrease in demand, but this is not the only possibility.

CALCULATIONS & STATISTICS

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

Linear Programming. Solving LP Models Using MS Excel, 18

Grade 7 & 8 Math Circles Circles, Circles, Circles March 19/20, 2013

Representation of functions as power series

3.3 Real Zeros of Polynomials

Session 7 Fractions and Decimals

Sections 3.1/3.2: Introducing the Derivative/Rules of Differentiation

1 Error in Euler s Method

Rolle s Theorem. q( x) = 1

Microeconomics Sept. 16, 2010 NOTES ON CALCULUS AND UTILITY FUNCTIONS


Microeconomic Theory: Basic Math Concepts

Critical points of once continuously differentiable functions are important because they are the only points that can be local maxima or minima.

Instantaneous Rate of Change:

Elements of a graph. Click on the links below to jump directly to the relevant section

Equations, Lenses and Fractions

Sample Problems. Practice Problems

Chapter 3. Distribution Problems. 3.1 The idea of a distribution The twenty-fold way

TOPIC 4: DERIVATIVES

Determine If An Equation Represents a Function

CK-12 Geometry: Parts of Circles and Tangent Lines

Numerical Solution of Differential

Elasticity. I. What is Elasticity?

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

100. In general, we can define this as if b x = a then x = log b

Use finite approximations to estimate the area under the graph of the function. f(x) = x 3

Section 12.6: Directional Derivatives and the Gradient Vector

DIFFERENTIABILITY OF COMPLEX FUNCTIONS. Contents

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

PowerScore Test Preparation (800)

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

MATH STUDENT BOOK. 8th Grade Unit 6

Chapter 5: Working with contours

c 2008 Je rey A. Miron We have described the constraints that a consumer faces, i.e., discussed the budget constraint.

5.1 Derivatives and Graphs

1 Review of Newton Polynomials

MILS and MOA A Guide to understanding what they are and How to derive the Range Estimation Equations

Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

1.7 Graphs of Functions

Roots of Equations (Chapters 5 and 6)

Math 4310 Handout - Quotient Vector Spaces

Map Patterns and Finding the Strike and Dip from a Mapped Outcrop of a Planar Surface

Math 120 Final Exam Practice Problems, Form: A

Lesson 19: Equations for Tangent Lines to Circles

Years after US Student to Teacher Ratio

FIRST YEAR CALCULUS. Chapter 7 CONTINUITY. It is a parabola, and we can draw this parabola without lifting our pencil from the paper.

What does the number m in y = mx + b measure? To find out, suppose (x 1, y 1 ) and (x 2, y 2 ) are two points on the graph of y = mx + b.

Continuous Compounding and Discounting

3. Mathematical Induction

Arrangements And Duality

Lectures 5-6: Taylor Series

Chapter 9. Systems of Linear Equations

1 if 1 x 0 1 if 0 x 1

LINES AND PLANES CHRIS JOHNSON

Regions in a circle. 7 points 57 regions

MA4001 Engineering Mathematics 1 Lecture 10 Limits and Continuity

Limits. Graphical Limits Let be a function defined on the interval [-6,11] whose graph is given as:

Fixed Point Theorems

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

Session 7 Bivariate Data and Analysis

Note on growth and growth accounting

(Refer Slide Time: 2:03)

Point and Interval Estimates

The small increase in x is. and the corresponding increase in y is. Therefore

36 CHAPTER 1. LIMITS AND CONTINUITY. Figure 1.17: At which points is f not continuous?

Contents. 2 Lines and Circles Cartesian Coordinates Distance and Midpoint Formulas Lines Circles...

Basic numerical skills: EQUATIONS AND HOW TO SOLVE THEM. x + 5 = = (2-2) = = 5. x = 7-5. x + 0 = 20.

Linear Approximations ACADEMIC RESOURCE CENTER

Experiment 2: Conservation of Momentum

Lesson 1: Introducing Circles

The Graphical Method: An Example

Solving Systems of Two Equations Algebraically

6.4 Normal Distribution

6.3 Conditional Probability and Independence

0 0 such that f x L whenever x a

Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations

01 In any business, or, indeed, in life in general, hindsight is a beautiful thing. If only we could look into a

Estimating the Average Value of a Function

Vieta s Formulas and the Identity Theorem

Transcription:

UCSC AMS/ECON 11A Supplemental Notes # 4 Continuous Functions, Smooth Functions and the Derivative c 2004 Yonatan Katznelson 1. Continuous functions One of the things that economists like to do with mathematical models is to extrapolate the general behavior of an economic system, e.g., forecast future trends, from theoretical assumptions about the variables and functional relations involved. In other words, they would like to be able to tell what s going to happen next, based on what just happened; they would like to be able to make long term predictions; and they would like to be able to locate the extreme values of the functions they are studying, to name a few popular applications. Because of this, it is convenient to work with continuous functions. Definition 1. (i) The function y = f(x) is continuous at the point x 0 if f(x 0 ) is defined and (1) lim x f(x) = f(x 0 ). (ii) The function f(x) is continuous in the interval (a, b) = {x a < x < b}, if f(x) is continuous at every point in that interval. Less formally, a function is continuous in the interval (a, b) if the graph of that function is a continuous, unbroken line over that interval. Continuous functions are preferable to discontinuous functions for modeling economic behavior because continuous functions are more predictable. Imagine a function modeling the price of a stock over time. If that function were discontinuous at the point t 0, then it would be impossible to use our knowledge of the function up to t 0 to predict what will happen to the price of the stock after time t 0. On the other hand, if the stock price is a continuous function of time, then we know that in the immediate vicinity of t 0, the prices after t 0 should be close to the prices up to and including t 0. As nice as the behavior of continuous functions is, compared to functions that are not continuous, it turns out that continuity by itself is not enough. Continuous functions can also display erratic behavior, and sudden changes in direction. What we would really like to have are functions that change smoothly. 2. Smooth curves Consider the function f(x) = (x 3 x 2 2x)/((x 2) 4 /11 + 3). It is a continuous function, defined for all real numbers x, and its graph is shown in Figure 1. This graph certainly seems to be nice and smooth. But what does smooth mean mathematically? Smooth usually means no rough edges or corners. To see if we can translate this into more mathematical terms, We ll focus on the point (x 0, f(x 0 )) = (x 0, y 0 ) on the graph, and zoom in. 1

2 Figure 1. The graph of y = f(x). Figure 2. Zooming in on (x 0, y 0). As you zoom in on something that is smooth 1, it begins to look flat, or straight, no matter how curved it was to begin with. The second figure looks less curved than the first one, and when we zoom in again, this time on the circled portion of Figure 2, we get an arc that is almost straight in the immediate vicinity of (x 0, y 0 ). Figure 3. Zooming in again on (x 0, y 0). 1 The technical definition of smooth in mathematics is slightly more complicated, but the concepts we develop here are close enough and serve our purposes.

For comparison s sake, the graph of y = 1 x + 1 is displayed below together with a close up. The graph on the right is a close-up of the circled portion on the graph on the left. The 1.5 3 1 0.5-3 -2-1 1-0.5 Figure 4. Graphs of y = 1 x + 1, zooming in once on ( 1, 1). important thing to notice is that the corner at ( 1, 1) doesn t go away, it is just as sharp in the close-up as it was in the original graph. 3. Tangent lines To capture more precisely the idea that smooth equals flat when you zoom in, we use the notion of a tangent line. Often, a tangent line is defined to as a straight line that touches a curve at exactly one point, (without cutting across the curve). When the curve in question is a circle then this is exactly right. But when we are dealing with more general curves, e.g., the graphs of functions, this definition doesn t work. We will need to discard the exactly one point condition as well as the does not cut across the curve condition. We will also need to introduce a condition that we didn t mention before, namely the condition that the tangent line be unique. We can t have more than one tangent line to a given curve at a given point. A straight line that passes through a specific point has a direction, or slope, that characterizes it. As we zoom in on a point that lies on a smooth graph of a function, the graph through that point appears to become straight, as we saw. It seems reasonable then to associate a direction, or slope, to the graph at that point. If we can find a way to compute the slope of the graph at a point on the graph, then we will have the point itself and the slope. These two pieces of information are all we need in order to write down the equation of a (unique) straight line. Definition 2. The tangent line to the graph of a function y = f(x) at the point (x 0, f(x 0 )) on the graph is the unique straight line that passes through that point and has the same slope as the graph at that point. Below is the graph of the function f(x) = (x 3 x 2 2x)/((x 2) 4 /11 + 3) that we looked at in 2, together with the tangent line to this graph at the point (x 0, y 0 )). As you can see, this tangent line fails the old definition of tangency, because it both touches the graph in (at least) two points, and it cuts across the graph. But that is irrelevant now, because it does satisfy the new and improved Definition 2. We can t compute the slope of the tangent line directly, at least not yet, because you usually need two points to compute a slope, and we only have one. Instead, we approximate it using the slope of a line, called a secant line, that is near the tangent line. The secant line intersects the graph in two points, the original point, (x 0, y 0 ), and another point of our choosing. Typically, we choose an x-value near x 0, which we call x 1. Then we compute y 1 = f(x 1 ), which gives us the other point on the graph, namely (x 1, y 1 ). Now we can pass a line between the two points,

4 Figure 5. Graph of y = f(x) and the tangent line at (x 0, y 0). and more importantly, we can compute the slope of this line! Denote this slope by m S, and compute it as usual: m S = y 1 y 0 x 1 x 0. tangent y1 secant x1 Figure 6. Graph of y = f(x), the tangent line and a secant line. The tangent line and the secant line that appear in Figure 6 are relatively close, and this means that their slopes are relatively close. If we denote the slope of the tangent line by m T, we can say that (2) m T m S = y 1 y 0 x 1 x 0. To get better approximations we simply choose points that are closer and closer to x 0, and repeat the process. Each time, we choose an x 1 closer to x 0 than the one before and we compute y 1 = f(x 1 ). Using formula (2), we get a closer approximation to m T each time. In other words we can define the slope of the tangent line at (x 0, y 0 ) to be the limit (3) m T = lim x x 0 f(x) f(x 0 ) x x 0. If this limit exists then we have the slope of the tangent line that we were seeking, and we can give a more precise definition of tangent line. Definition 3. The tangent line to the graph of y = f(x) at the point (x 0, y 0 ) on the graph, is the line that passes through (x 0, y 0 ) with the slope m T defined by the limit in equation (3). 4. The derivative at a point

Finding the slope of the tangent line to a graph is one of the motivations to defining the derivative. Definition 4. The derivative of the function y = f(x) at the point x = x 0, (denoted f (x 0 )), is given by the limit (4) f (x 0 ) = lim x f(x) f(x 0 ) x x 0, if the limit exists. In this case we say that f(x) is differentiable at x 0. Note: If the limit does not exist then f(x) is not differentiable at x 0. It is very common to express the limit in equation (4) in a slightly different form. Instead of using the variable x, we write x = x 0 + h, where h is a small quantity that is approaching 0. With this in mind it follows that x x 0 = h, and equation (4) becomes (5) f f(x 0 + h) f(x 0 ) (x 0 ) = lim. h This form of the definition of the derivative is a little easier to use in computations. In either form, we see that f (x 0 ) is none other than the slope of the tangent line at the point (x 0, f(x 0 )) on the graph of the function f(x). Example: Let s find the equation of the tangent line to the graph of f(x) = x 2 x + 1 at the point (2, 3) on the graph. Based on our discussion thus far we know that the slope of this line is given by f (2), the derivative of f(x) at 2. We compute this derivative using the definition, equation (5): ( (2 + h) f 2 (2 + h) + 1 ) (2 2 2 + 1) (2) = lim h = lim (4 + 4h + h 2 2 h + 1) (4 2 + 1) h = lim 4h + h 2 h h = lim 4 + h 1 = 3. We want the tangent line through (2, 3), and we have just computed its slope to be equal to 2, so to compute the equation of the tangent line, we use the point-slope formula: y 3 = 3(x 2) or y = 3x 3. Figure 7 shows the graph of f(x) and the tangent line whose equation we just found. 4.1 Differentiability and continuity Derivatives were introduced to quantify smoothness, which in turn was introduced as an improvement on continuity. It is therefore reasonable to conclude that if a function is differentiable at a point, then a fortiori, it should be continuous there. This is true, and important enough to be put in a theorem. Theorem 1. If f(x) is differentiable at x 0 then f(x) is continuous at x 0. Proof: Intuitively this is clear, since differentiability at x 0 means that the graph of y = f(x) is smooth at the point (x 0, f(x 0 )), which would be hard to imagine if the graph had a break at that point. Using the rules of limits, we can formally prove this intuition is correct. 5

6 6 4 2-1 1 2 3-2 Figure 7. Graph of y = x 2 x + 1 and the tangent line at (2, 3). Following the first version of the definition of differentiability, (4), if f(x) is differentiable at x 0, then there is a number (the slope), f (x 0 ), such that f(x) f(x 0 ) lim = f (x 0 ). x x 0 x x 0 The multiplication rule for limits says that we can multiply both sides of this equation by which gives lim (x x 0 ), x x 0 lim (f(x) f(x 0 )) = lim (x x 0 ) f (x 0 ) = f (x 0 ) x x 0 x x 0 ( ) lim (x x 0 ) x x 0 since f (x 0 ) is a constant. Since the limit on the far left is 0, it follows that so f(x) is continuous at x 0, as claimed. lim f(x) = f(x 0 ), x x 0 It is just as important to realize that the opposite of Theorem 1 is not true in general. In other words there are functions that are continuous but which fail to be differentiable. For example, the absolute value function f(x) = x, whose graph has a sharp corner at x = 0, is not differentiable at x = 0. Problem 1. By considering the left hand limit and the right hand limit separately in the definition of the derivative, show that f(x) = x is not differentiable at x = 0. 5. The derivative function In the previous section we defined the derivative of a function at a specific point. We also pointed out that the derivative at a point gives the slope of the tangent line to the graph of the function that passes through that point. What if we want to find the slope of the tangent line to the graph of the same function, but at a different point? One obvious possibility is to compute the limit in equation (5) each time for each separate point, but that becomes tedious very quickly. This process would also not be very useful for solving problems like find all the points on the graph where the tangent line is horizontal. = 0,

In the limit that defines the derivative, (equation (4) or (5)), there is no particular reason to restrict ourselves to specific points like x 0. We can instead try to compute the same limit with a variable x. If this works, we will have a formula for the derivative of the function that does not involve limits! Definition 5. The derivative of f(x) is the function denoted by f (x) and defined for all x by the limit (6) f f(x + h) f(x) (x) = lim, h wherever this limit exists. If f (x) is defined for every x in an interval (a, b) then we say that f(x) is differentiable in (a, b). We need to emphasize that the derivative defined above is a function. The value, f (x 0 ), that f (x) takes at the point x 0 is the slope of the tangent line to the graph of the original function, y = f(x), at the point on the graph (x 0, f(x 0 )). Comment: It follows immediately from the definitions of continuity and differentiability, and from Theorem 1 that if a function is differentiable in an interval then it is also continuous in that interval. Example: Let s return to the previous example, and compute the derivative of f(x) = x 2 x = 1 as a function of x. Using the definition (6) we get f (x) = ((x + h) 2 (x + h) + 1) (x 2 x + 1) lim h = x 2 + 2xh + h 2 x h + 1 x 2 + x 1 lim h = 2xh + h 2 h lim = lim 2x + h 1 = 2x 1. h So, the derivative of f(x) = x 2 x + 1 is the function f (x) = 2x 1. Comparing to the slope that we computed in 3 we find that according to our new approach we have f (2) = 2 2 1 = 3, which agrees with our previous result! But now we have no further limits to compute to find slopes for this function. If we want the slope of the tangent line to f(x) = x 2 x + 1 at the point (3, 7), we simply plug x = 3 into the derivative f (x) = 2x 1. This gives f (3) = 2 3 1 = 5, and the equation of the tangent line is given by 5.1 Summary y 7 = 5(x 3) or y = 5x 8. Given a function y = f(x), we can find its derivative, f (x), which is also a function, by computing the limit f (x) = lim f(x + h) f(x) h at every point where the limit exists. The value, f (x 0 ), of the derivative at the point x 0 is equal to the slope of the graph at the point (x 0, f(x 0 )) on the graph. The equation of the line tangent to the graph y = f(x) at the point (x 0, f(x 0 )) can be found using the point-slope formula, y f(x 0 ) = f (x 0 ) (x x 0 ), or (7) y = f(x 0 ) + f (x 0 ) (x x 0 ). Problem 2. 7

8 a. Use the definition, (i.e., the limit in (6)), to compute the derivative of the function f(x) = x 3 x. b. Find the equations of the tangent lines to the graph y = x 3 3x at the points (1, 2) and (2, 2).