math homework 3
TO JULIE –Jon TO ALEXA AND COLTON –Colin
Publisher: Terri Ward Developmental Editors: Tony Palermino, Katrina Wilhelm Marketing Manager: Cara LeClair Market Development Manager: Shannon Howard Executive Media Editor: Laura Judge Associate Editor: Marie Dripchak Editorial Assistant: Victoria Garvey Director of Editing, Design, and Media Production: Tracey Kuehn Managing Editor: Lisa Kinne Project Editor: Kerry O’Shaughnessy Production Manager: Paul Rohloff Cover and Text Designer: Blake Logan Illustration Coordinator: Janice Donnola Illustrations: Network Graphics and Techsetters, Inc. Photo Editors: Eileen Liang, Christine Buese Photo Researcher: Eileen Liang Composition: John Rogosich/Techsetters, Inc. Printing and Binding: RR Donnelley Cover photo: ayzek/Shutterstock
Library of Congress Preassigned Control Number: 2014947714
Instructor Complimentary Copy: ISBN-13: 978-1-4641-9378-1 ISBN-10: 1-4641-9378-9
Hardcover: ISBN-13: 978-1-4641-1488-5 ISBN-10: 1-4641-1488-9
Loose-leaf: ISBN-13: 978-1-4641-9377-4 ISBN-10: 1-4641-9377-0
© 2015, 2012, 2008 by W. H. Freeman and Company All rights reserved
Printed in the United States of America First printing
W. H. Freeman and Company, 41 Madison Avenue, New York, NY 10010 Houndmills, Basingstoke RG21 6XS, England www.macmillanhighered.com
ABOUT THE AUTHORS
COLIN ADAMS
C olin Adams is the Thomas T. Read professor of Mathematics at Williams College,where he has taught since 1985. Colin received his undergraduate degree from MIT and his PhD from the University of Wisconsin. His research is in the area of knot theory and low-dimensional topology. He has held various grants to support his research, and written numerous research articles.
Colin is the author or co-author of The Knot Book, How toAce Calculus: The Streetwise Guide, How to Ace the Rest of Calculus: The Streetwise Guide, Riot at the Calc Exam and Other Mathematically Bent Stories, Why Knot?, Introduction to Topology: Pure and Applied, and Zombies & Calculus. He co-wrote and appears in the videos “The Great Pi vs. E Debate” and “Derivative vs. Integral: the Final Smackdown.”
He is a recipient of the Haimo National Distinguished Teaching Award from the Mathematical Association of America (MAA) in 1998, an MAA Polya Lecturer for 1998- 2000, a Sigma Xi Distinguished Lecturer for 2000-2002, and the recipient of the Robert Foster Cherry Teaching Award in 2003.
Colin has two children and one slightly crazy dog, who is great at providing the entertainment.
JON ROGAWSKI
A s a successful teacher for more than 30 years, Jon Rogawski listened and learnedmuch from his own students. These valuable lessons made an impact on his thinking, his writing, and his shaping of a calculus text.
Jon Rogawski received his undergraduate and master’s degrees in mathematics si- multaneously from Yale University, and he earned his PhD in mathematics from Princeton University, where he studied under Robert Langlands. Before joining the Department of Mathematics at UCLAin 1986, where he was a full professor, he held teaching and visiting positions at the Institute for Advanced Study, the University of Bonn, and the University of Paris at Jussieu and Orsay.
Jon’s areas of interest were number theory, automorphic forms, and harmonic analy- sis on semisimple groups. He published numerous research articles in leading mathemat- ics journals, including the research monograph Automorphic Representations of Unitary Groups in Three Variables (Princeton University Press). He was the recipient of a Sloan Fellowship and an editor of the Pacific Journal of Mathematics and the Transactions of the AMS.
Sadly, Jon Rogawski passed away in September 2011. Jon’s commitment to present- ing the beauty of calculus and the important role it plays in students’ understanding of the wider world is the legacy that lives on in each new edition of Calculus.
CONTENTS CALCULUS Early Transcendentals
Chapter 1 PRECALCULUS REVIEW 1
1.1 Real Numbers, Functions, and Graphs 1 1.2 Linear and Quadratic Functions 12 1.3 The Basic Classes of Functions 19 1.4 Trigonometric Functions 23 1.5 Inverse Functions 32 1.6 Exponential and Logarithmic Functions 40 1.7 Technology: Calculators and Computers 48
Chapter Review Exercises 53
Chapter 2 LIMITS 55
2.1 Limits, Rates of Change, and Tangent Lines 55 2.2 Limits: A Numerical and Graphical Approach 63 2.3 Basic Limit Laws 72 2.4 Limits and Continuity 75 2.5 Evaluating Limits Algebraically 84 2.6 Trigonometric Limits 89 2.7 Limits at Infinity 94 2.8 Intermediate Value Theorem 100 2.9 The Formal Definition of a Limit 103
Chapter Review Exercises 110
Chapter 3 DIFFERENTIATION 113
3.1 Definition of the Derivative 113 3.2 The Derivative as a Function 121 3.3 Product and Quotient Rules 135 3.4 Rates of Change 142 3.5 Higher Derivatives 151 3.6 Trigonometric Functions 156 3.7 The Chain Rule 159 3.8 Implicit Differentiation 167 3.9 Derivatives of General Exponential and Logarithmic
Functions 175 3.10 Related Rates 182
Chapter Review Exercises 189
Chapter 4 APPLICATIONS OF THE DERIVATIVE 193
4.1 Linear Approximation and Applications 193 4.2 Extreme Values 200 4.3 The Mean Value Theorem and Monotonicity 210 4.4 The Shape of a Graph 217 4.5 L’Hôpital’s Rule 224 4.6 Graph Sketching and Asymptotes 231 4.7 Applied Optimization 239 4.8 Newton’s Method 251
Chapter Review Exercises 256
Chapter 5 THE INTEGRAL 259
5.1 Approximating and Computing Area 259 5.2 The Definite Integral 272 5.3 The Indefinite Integral 281 5.4 The Fundamental Theorem of Calculus, Part I 288 5.5 The Fundamental Theorem of Calculus, Part II 294 5.6 Net Change as the Integral of a Rate of Change 300 5.7 Substitution Method 306 5.8 Further Transcendental Functions 313 5.9 Exponential Growth and Decay 318
Chapter Review Exercises 328
Chapter 6 APPLICATIONS OF THE INTEGRAL 333
6.1 Area Between Two Curves 333 6.2 Setting Up Integrals: Volume, Density, Average Value 341 6.3 Volumes of Revolution 351 6.4 The Method of Cylindrical Shells 359 6.5 Work and Energy 365
Chapter Review Exercises 371
Chapter 7 TECHNIQUES OF INTEGRATION 373
7.1 Integration by Parts 373 7.2 Trigonometric Integrals 379 7.3 Trigonometric Substitution 386 7.4 Integrals Involving Hyperbolic and Inverse Hyperbolic
Functions 392 7.5 The Method of Partial Fractions 398 7.6 Strategies for Integration 407 7.7 Improper Integrals 414 7.8 Probability and Integration 425 7.9 Numerical Integration 431
Chapter Review Exercises 440
Chapter 8 FURTHER APPLICATIONS OF THE INTEGRAL AND TAYLOR POLYNOMIALS 443
8.1 Arc Length and Surface Area 443 8.2 Fluid Pressure and Force 450 8.3 Center of Mass 456 8.4 Taylor Polynomials 465
Chapter Review Exercises 476
Chapter 9 INTRODUCTION TO DIFFERENTIAL EQUATIONS 479
9.1 Solving Differential Equations 479 9.2 Models Involving y′ = k(y − b) 487
iv
CONTENTS v
9.3 Graphical and Numerical Methods 492 9.4 The Logistic Equation 500 9.5 First-Order Linear Equations 504
Chapter Review Exercises 510
Chapter 10 INFINITE SERIES 513
10.1 Sequences 513 10.2 Summing an Infinite Series 523 10.3 Convergence of Series with Positive Terms 534 10.4 Absolute and Conditional Convergence 543 10.5 The Ratio and Root Tests and Strategies for
Choosing Tests 548 10.6 Power Series 553 10.7 Taylor Series 563
Chapter Review Exercises 575
Chapter 11 PARAMETRIC EQUATIONS, POLAR COORDINATES, AND CONIC SECTIONS 579
11.1 Parametric Equations 579 11.2 Arc Length and Speed 590 11.3 Polar Coordinates 596 11.4 Area and Arc Length in Polar Coordinates 604 11.5 Conic Sections 609
Chapter Review Exercises 622
Chapter 12 VECTOR GEOMETRY 625
12.1 Vectors in the Plane 625 12.2 Vectors in Three Dimensions 635 12.3 Dot Product and the Angle Between Two Vectors 645 12.4 The Cross Product 653 12.5 Planes in 3-Space 664 12.6 A Survey of Quadric Surfaces 670 12.7 Cylindrical and Spherical Coordinates 678
Chapter Review Exercises 685
Chapter 13 CALCULUS OF VECTOR-VALUED FUNCTIONS 689
13.1 Vector-Valued Functions 689 13.2 Calculus of Vector-Valued Functions 697 13.3 Arc Length and Speed 706 13.4 Curvature 711 13.5 Motion in 3-Space 722 13.6 Planetary Motion According to Kepler and Newton 731
Chapter Review Exercises 737
Chapter 14 DIFFERENTIATION IN SEVERAL VARIABLES 739
14.1 Functions of Two or More Variables 739 14.2 Limits and Continuity in Several Variables 750 14.3 Partial Derivatives 757 14.4 Differentiability and Tangent Planes 767
14.5 The Gradient and Directional Derivatives 774 14.6 The Chain Rule 787 14.7 Optimization in Several Variables 795 14.8 Lagrange Multipliers: Optimizing with a Constraint 809
Chapter Review Exercises 818
Chapter 15 MULTIPLE INTEGRATION 821
15.1 Integration in Two Variables 821 15.2 Double Integrals over More General Regions 832 15.3 Triple Integrals 845 15.4 Integration in Polar, Cylindrical, and Spherical
Coordinates 856 15.5 Applications of Multiple Integrals 866 15.6 Change of Variables 878
Chapter Review Exercises 891
Chapter 16 LINE AND SURFACE INTEGRALS 895
16.1 Vector Fields 895 16.2 Line Integrals 905 16.3 Conservative Vector Fields 919 16.4 Parametrized Surfaces and Surface Integrals 930 16.5 Surface Integrals of Vector Fields 944
Chapter Review Exercises 954
Chapter 17 FUNDAMENTAL THEOREMS OF VECTOR ANALYSIS 957
17.1 Green’s Theorem 957 17.2 Stokes’ Theorem 971 17.3 Divergence Theorem 981
Chapter Review Exercises 993
APPENDICES A1 A. The Language of Mathematics A1 B. Properties of Real Numbers A7 C. Induction and the Binomial Theorem A12 D. Additional Proofs A16
ANSWERS TO ODD-NUMBERED EXERCISES ANS1
REFERENCES R1
INDEX I1
Additional content can be accessed online via LaunchPad:
ADDITIONAL PROOFS
• L’Hôpital’s Rule • Error Bounds for Numerical Integration • Comparison Test for Improper Integrals
ADDITIONAL CONTENT
• Second Order Differential Equations • Complex Numbers
PREFACE
ABOUT CALCULUS
On Teaching Mathematics I consider myself very lucky to have a career as a teacher and practitioner of mathematics. When I was young, I decided I wanted to be a writer. I loved telling stories. But I was also good at math, and, once in college, it didn’t take me long to become enamored with it. I loved the fact that success in mathematics does not depend on your presentation skills or your interpersonal relationships. You are either right or you are wrong and there is little subjective evaluation involved. And I loved the satisfaction of coming up with a solution. That intensified when I started solving problems that were open research questions that had previously remained unsolved.
So, I became a professor of mathematics. And I soon realized that teaching mathe- matics is about telling a story. The goal is to explain to students in an intriguing manner, at the right pace, and in as clear a way as possible, how mathematics works and what it can do for you. I find mathematics immensely beautiful. I want students to feel that way, too.
On Writing a Calculus Text I had always thought I might write a calculus text. But that is a daunting task. These days, calculus books average over a thousand pages. And I would need to convince myself that I had something to offer that was different enough from what already appears in the existing books. Then, I was approached about writing the third edition of Jon Rogawski’s calculus book. Here was a book for which I already had great respect. Jon’s vision of what a calculus book should be fit very closely with my own. Jon believed that as math teachers, how we say it is as important as what we say. Although he insisted on rigor at all times, he also wanted a book that was written in plain English, a book that could be read and that would entice students to read further and learn more. Moreover, Jon strived to create a text in which exposition, graphics, and layout would work together to enhance all facets of a student’s calculus experience.
In writing his book, Jon paid special attention to certain aspects of the text:
1. Clear, accessible exposition that anticipates and addresses student difficulties. 2. Layout and figures that communicate the flow of ideas. 3. Highlighted features that emphasize concepts and mathematical reasoning: Conceptual Insight, Graphical Insight, Assumptions Matter, Reminder, and Historical Perspective.
4. A rich collection of examples and exercises of graduated difficulty that teach basic skills, problem-solving techniques, reinforce conceptual understanding, and motivate cal- culus through interesting applications. Each section also contains exercises that develop additional insights and challenge students to further develop their skills.
Coming into the project of creating the third edition, I was somewhat apprehensive. Here was an already excellent book that had attained the goals set for it by its author. First and foremost, I wanted to be sure that I did it no harm. On the other hand, I have been teaching calculus now for 30 years, and in that time, I have come to some conclusions about what does and does not work well for students.
As a mathematician, I want to make sure that the theorems, proofs, arguments and development are correct. There is no place in mathematics for sloppiness of any kind. As a teacher, I want the material to be accessible. The book should not be written at the mathematical level of the instructor. Students should be able to use the book to learn the material, with the help of their instructor. Working from the high standard that Jon set, I have tried hard to maintain the level of quality of the previous edition while making the changes that I believe will bring the book to the next level.
vi
PREFACE vii
Placement of Taylor Polynomials Taylor polynomials appear in Chapter 8, before infinite series in Chapter 10. The goal here is to present Taylor polynomials as a natural extension of linear approximation. When teaching infinite series, the primary focus is on convergence, a topic that many students find challenging. By the time we have covered the basic convergence tests and studied the convergence of power series, students are ready to tackle the issues involved in representing a function by its Taylor series. They can then rely on their previous work with Taylor polynomials and the error bound from Chapter 8. However, the section on Taylor polynomials is written so that you can cover this topic together with the materials on infinite series if this order is preferred.
Careful, Precise Development W. H. Freeman is committed to high quality and precise textbooks and supplements. From this project’s inception and throughout its development and production, quality and precision have been given significant priority. We have in place unparalleled procedures to ensure the accuracy of the text:
• Exercises and Examples • Exposition • Figures • Editing • Composition
Together, these procedures far exceed prior industry standards to safeguard the quality and precision of a calculus textbook.
New to the Third Edition There are a variety of changes that have been implemented in this edition. Following are some of the most important.
MORE FOCUS ON CONCEPTS The emphasis has been shifted to focus less on the memo- rization of specific formulas, and more on understanding the underlying concepts. Memo- rization can never be completely avoided, but it is in no way the crux of calculus. Students will remember how to apply a procedure or technique if they see the logical progression that generates it. And they then understand the underlying concepts rather than seeing the topic as a black box in which you insert numbers. Specific examples include:
• (Section 1.2) Removed the general formula for the completion of a square and instead, emphasized the method so students need not memorize the formula.
• (Section 7.2) Changed the methods for evaluating trigonometric integrals to focus on techniques to apply rather than formulas to memorize.
• (Chapter 9) Discouraged the memorization of solutions of specific types of differ- ential equations and instead, encouraged the use of methods of solution.
• (Section 12.2) Decreased number of formulas for parametrizing a line from two to one, as the second can easily be derived from the first.
• (Section 12.6) De-emphasized the memorization of the various formulas for quadric surfaces. Instead, moved the focus to slicing with planes to find curves and using those to determine the shape of the surface. These methods will be useful regardless of the type of surface it is.
• (Section 14.4) Decreased the number of essential formulas for linear approximation of functions of two variables from four to two, providing the background to derive the others from these.
CHANGES IN NOTATION There are numerous notational changes. Some were made to bring the notation more into line with standard usage in mathematics and other fields in which mathematics is applied. Some were implemented to make it easier for students to remember the meaning of the notation. Some were made to help make the corresponding concepts that are represented more transparent. Specific examples include:
viii PREFACE
• (Section 4.6) Presented a new notation for graphing that gives the signs of the first and second derivative and then simple symbols (slanted up and down arrows and up and down u’s) to help the student keep track of when the graph is increasing or decreasing and concave up or concave down over the given interval.
• (Section 7.1) Simplified the notation for integration by parts and provided a visual method for remembering it.
• (Chapter 10) Changed names of the various tests for convergence/divergence of infinite series to evoke the usage of the test and thereby make it easier for students to remember them.
• (Chapters 13–17) Rather than using c(t) for a path, we consistently switched to the vector-valued function r(t). This also allowed us to replace ds with dr as a differential, which means there is less likely to be confusion with ds, dS and dS.
MORE EXPLANATIONS OF DERIVATIONS Occasionally, in the previous edition, a result was given and verified, without motivating where the derivation came from. I believe it is important for students to understand how someone might come up with a particular result, thereby helping them to picture how they might themselves one day be able to derive results.
• (Section 14.4) Developed the equation of the tangent plane in a manner that makes geometric sense.
• (Section 14.5) Included a proof of the fact the gradient of a function f of three variables is orthogonal to the surfaces that are the level sets of f .
• (Section 14.8) Gave an intuitive explanation for why the Method of Lagrange Multipliers works.
• (Section 15.5) Developed the center of mass formulas by first discussing the one- dimensional case of a seesaw.
REORDERING AND ADDING TOPICS There were some specific rearrangements among the sections and additions. These include:
• A subsection on piecewise-defined functions has been added to Section 1.3. • The section on implicit differentiation in Chapter 3 (previously Section 3.10) has
been moved up to become Section 3.8 and has absorbed the previous Section 3.8 (in- verse functions) so that implicit differentiation can be applied to derive the various derivatives as necessary.
• The section on indefinite integrals (previously Section 4.9) has been moved from Chapter 4 (Applications of the Derivative) to Chapter 5 (The Integral). This is a more natural placement for it.
• A new section on choosing from amongst the various methods of integration has been added to Chapter 7.
• A subsection on choosing the appropriate convergence/divergence test has been added to Section 10.5.
• An explanation of how to find indefinite limits using power series has been added to Section 10.6.
• The definitions of divergence and curl have been moved from Chapter 17 to Section 16.1. This allows us to utilize them at an appropriate earlier point in the text.
• A list all of the different types of integrals that have been introduced in Chapter 16 has been added to Section 16.5.
• A subsection on the Vector Form of Green’s Theorem has been added to Section 17.1.
NEW EXAMPLES, FIGURES, AND EXERCISES Numerous examples and accompanying figures have been added to clarify concepts. A variety of exercises have also been added throughout the text, particularly where new applications are available or further conceptual development is advantageous. Figures marked with a icon have been made dynamic and can be accessed via LaunchPad. A selection of these figures also includes brief tutorial videos explaining the concepts at work.
ONLINE HOMEWORK OPTIONS ix
SUPPLEMENTS
For Instructors Instructor’s Solutions Manual Contains worked-out solutions to all exercises in the text.
Test Bank Computerized (CD-ROM), ISBN:1-3190-0939-5 Includes a comprehensive set of multiple-choice test items.
Instructor’s Resource Manual Provides sample course outlines, suggested class time, key points, lecture material, discussion topics, class activities, work- sheets, projects, and questions to accompany the Dynamic Fig- ures.
For Students Student Solutions Manual Single Variable ISBN: 1-4641-7188-2 Multivariable ISBN: 1-4641-7189-0 Contains worked-out solutions to all odd-numbered exercises in the text.
Software Manuals Maple™ and Mathematica® software manuals serve as basic introductions to popular mathematical software options.
ONLINE HOMEWORK OPTIONS
Our new course space, LaunchPad, combines an interactive e-Book with high-quality multimedia content and ready-made assessment options, including LearningCurve adap- tive quizzing. Pre-built, curated units are easy to assign or adapt with your own material, such as readings, videos, quizzes, discussion groups, and more. LaunchPad includes a gradebook that provides a clear window on performance for your whole class, for individ- ual students, and for individual assignments. While a streamlined interface helps students focus on what’s due next, social commenting tools let them engage, make connections, and learn from each other. Use LaunchPad on its own or integrate it with your school’s learning management system so your class is always on the same page. Contact your rep to make sure you have access.
Assets integrated into LaunchPad include:
Interactive e-Book: Every LaunchPad e-Book comes with powerful study tools for stu- dents, video and multimedia content, and easy customization for instructors. Students can search, highlight, and bookmark, making it easier to study and access key content. And instructors can make sure their class gets just the book they want to deliver: customize and rearrange chapters, add and share notes and discussions, and link to quizzes, activities, and other resources.
LearningCurve provides students and instructors with powerful adaptive quizzing, a game-like format, direct links to the e-Book, and instant feedback. The quizzing system features questions tailored specifically to the text and adapts to students’ responses, pro- viding material at different difficulty levels and topics based on student performance.
Dynamic Figures: Over 250 figures from the text have been recreated in a new interactive format for students and instructors to manipulate and explore, making the visual aspects and dimensions of calculus concepts easier to grasp. Brief tutorial videos accompany selected figures and explain the concepts at work.
CalcClips: These whiteboard tutorials provide animated and narrated step-by-step solu- tions to exercises that are based on key problems in the text.
SolutionMaster offers an easy-to-use Web-based version of the instructor’s solutions, allowing instructors to generate a solution file for any set of homework exercises.
x FEATURES
www.webassign.net/freeman.com WebAssign Premium integrates the book’s exercises into the world’s most popular and trusted online homework system, making it easy to assign algorithmically generated homework and quizzes. Algorithmic exercises offer the instructor optional algorith- mic solutions. WebAssign Premium also offers access to resources, including Dynamic Figures, CalcClips whiteboard tutorials, and a “Show My Work” feature. In addition, WebAssign Premium is available with a fully customizable e-Book option.
webwork.maa.org W. H. Freeman offers thousands of algorithmically generated questions (with full solu- tions) through this free, open-source online homework system created at the University of Rochester. Adopters also have access to a shared national library test bank with thou- sands of additional questions, including 2,500 problem sets matched to the book’s table of contents.
FEATURES
CONCEPTUAL INSIGHT Leibniz notation is widely used for several reasons. First, it re- minds us that the derivative df/dx, although not itself a ratio, is in fact a limit of ratios
. Second, the notation specifies the independent variable. This is useful when variables other than x are used. For example, if the independent variable is t , we write df/dt . Third, we often think of d/dx as an “operator” that performs differentiation on functions. In other words, we apply the operator d/dx to f to obtain the derivative df/dx. We will see other advantages of Leibniz notation when we discuss the Chain Rule in Section 3.7.
Ch. 3, p. 123
Conceptual Insights encourage students to develop a conceptual understanding of calculus by explaining important ideas clearly but informally.
GRAPHICAL INSIGHT Can we visualize the rate represented by f (x)? The second derivative is the rate at which f (x) is changing, so f (x) is large if the slopes of the tangent lines change rapidly, as in Figure 3(A). Similarly, f (x) is small if the slopes of the tangent lines change slowly—in this case, the curve is relatively flat, as in Figure 3(B). If f is a linear function [Figure 3(C)], then the tangent line does not change at all and f (x) = 0. Thus, f (x) measures the “bending” or concavity of the graph.
(A) Large second derivative: Tangent lines turn rapidly.
(B) Smaller second derivative: Tangent lines turn slowly.
(C) Second derivative is zero: Tangent line does not change.
FIGURE 3 Ch. 3, p. 153
Graphical Insights enhance students’ visual understanding by making the crucial connections between graphical properties and the underlying concepts.
FEATURES xi
EXAMPLE 3 Evaluate sin2 x dx.
Solution We could apply the reduction formula Eq. (5) from the last section. However, instead, we apply a method that does not rely on knowing that formula. We utilize the trigonometric identity called the double angle formula sin2 x = 12 (1 − cos 2x). Then
sin2 x dx = 1 2 (1 − cos 2x) dx = x
2 − sin 2x
4 + C
Using the trigonometric identities in the margin, we can also integrate cos2 x, obtain- ing the following:REMINDER Useful Identities:
sin2 x = 1 2 (1 − cos 2x)
cos2 x = 1 2 (1 + cos 2x)
sin 2x = 2 sin x cos x
cos 2x = cos2 x − sin2 x
sin2 x dx = x 2
− sin 2x 4
+ C = x 2
− 1 2
sin x cos x + C 1
cos2 x dx = x 2
+ sin 2x 4
+ C = x 2
+ 1 2
sin x cos x + C 2
Ch. 7, p. 380
Reminders are margin notes that link the current discussion to important concepts introduced earlier in the text to give students a quick review and make connections with related ideas.
EXAMPLE 1 Use L’Hôpital’s Rule to evaluate lim x→2
x3 − 8 x4 + 2x − 20 .
Solution Let f (x) = x3 − 8 and g(x) = x4 + 2x − 20. Both f and g are differentiable and f (x)/g(x) is indeterminate of type 0/0 at a = 2 because f (2) = g(2) = 0:
• Numerator: f (2) = 23 − 1 = 0 • Denominator: g(2) = 24 + 2(2) − 20 = 0
Furthermore, g (x) = 4x3 + 2 is nonzero near x = 2, so L’Hôpital’s Rule applies. We may replace the numerator and denominator by their derivatives to obtain
CAUTION When using L’Hôpital’s Rule, be sure to take the derivative of the numerator and denominator separately:
lim x→a
f (x)
g(x) = lim
x→a f (x)
g (x)
Do not differentiate the quotient function y = f (x)/g(x).
lim x→2
x3 − 8 x4 + 2x − 2 = limx→2
(x3 − 8) (x4 + 2x − 2)
L’Hôpital’s Rule
= lim x→2
3x2
4x3 + 2 = 3(22)
4(23) + 2 = 12 34
= 6 17
Ch. 4, p. 224
Caution Notes warn students of common pitfalls they may encounter in understanding the material.
Historical Perspectives are brief vignettes that place key discoveries and conceptual advances in their historical context. They give students a glimpse into some of the accomplishments of great mathematicians and an appreciation for their significance.
HISTORICAL
PERSPECTIVE
(Mechanics Magazine London, 1824)
Geometric series were used as early as the third century bce by Archimedes in a brilliant argu- ment for determining the area S of a “parabolic segment” (shaded region in Figure 3). Given two points A and C on a parabola, there is a point B between A and C where the tangent line is paral- lel to AC (apparently, Archimedes was aware of the Mean Value Theorem more than 2000 years before the invention of calculus). Let T be the area of triangle ABC. Archimedes proved that if D is chosen in a similar fashion relative to AB and E is chosen relative to BC, then
1 4 T = Area( ADB) + Area( BEC) 6
This construction of triangles can be continued. The next step would be to construct the four tri- angles on the segments AD, DB, BE, EC, of
total area 14 2 T . Then construct eight triangles
of total area 14 3 T , etc. In this way, we obtain in-
finitely many triangles that completely fill up the parabolic segment. By the formula for the sum of a geometric series, we get
S = T + 1 4 T + 1
16 T + · · · = T
∞
n=0
1 4n
= 4 3 T
For this and many other achievements, Archi-
medes is ranked together with Newton and Gauss as one of the greatest scientists of all time.
The modern study of infinite series began in the seventeenth century with Newton, Leib- niz, and their contemporaries. The divergence
of ∞
n=1 1/n (called the harmonic series) was
known to the medieval scholar Nicole d’Oresme (1323–1382), but his proof was lost for cen- turies, and the result was rediscovered on more than one occasion. It was also known that the
sum of the reciprocal squares ∞
n=1 1/n2 con-
verges, and in the 1640s, the Italian Pietro Men- goli put forward the challenge of finding its sum. Despite the efforts of the best mathematicians of the day, including Leibniz and the Bernoulli brothers Jakob and Johann, the problem resisted solution for nearly a century. In 1735 the great master Leonhard Euler (at the time, 28 years old) astonished his contemporaries by proving that
1
12 + 1
22 + 1
32 + 1
42 + 1
52 + 1
62 + · · · = π
2
6
This formula, surprising in itself, plays a role in a variety of mathematical fields. A theorem from number theory states that two whole num- bers, chosen randomly, have no common factor with probability 6/π2 ≈ 0.6 (the reciprocal of Euler’s result). On the other hand, Euler’s re- sult and its generalizations appear in the field of statistical mechanics.
Ch. 10, p. 530
xii ACKNOWLEDGMENTS
Assumptions Matter uses short explanations and well-chosen counterexamples to help students appreciate why hypotheses are needed in theorems.
EXAMPLE 3 Assumptions Matter Show that the Product Law cannot be applied to lim x→0
f (x)g(x) if f (x) = x and g(x) = x−1.
Solution For all x = 0, we have f (x)g(x) = x · x−1 = 1, so the limit of the product exists:
lim x→0
f (x)g(x) = lim x→0
1 = 1
However, lim x→0
x−1 does not exist because g(x) = x−1 approaches ∞ as x → 0+ and it approaches −∞ as x → 0−. Therefore, the Product Law cannot be applied and its conclusion does not hold:
lim x→0
f (x) lim x→0
g(x) = lim x→0
x lim x→0
x−1
Does not exist Ch. 2, p. 74
Section Summaries summarize a section’s key points in a concise and useful way and emphasize for students what is most important in each section.
Section Exercise Sets offer a comprehensive set of exercises closely coordinated with the text. These exercises vary in difficulty from routine, to moderate, to more challenging. Also included are icons indicating problems that require the student to give a written
response or require the use of technology .
Chapter Review Exercises offer a comprehensive set of exercises closely coordinated with the chapter material to provide additional problems for self-study or assignments.
ACKNOWLEDGMENTS Colin Adams and W. H. Freeman and Company are grateful to the many instructors from across the United States and Canada who have offered comments that assisted in the development and refinement of this book. These contributions included class testing, manuscript reviewing, problems reviewing, and participating in surveys about the book and general course needs.
ALABAMA Tammy Potter, Gadsden State Community College; David Dempsey, Jacksonville State University; Edwin Smith, Jacksonville State University; Jeff Dodd, Jacksonville State University; Douglas Bailer, Northeast Alabama Community College; Michael Hicks, Shelton State Community College; Patricia C. Eiland, Troy University, Montgomery Campus; Chadia Affane Aji, Tuskegee University; James L. Wang, The University of Alabama; Stephen Brick, University of South Alabama; Jo- erg Feldvoss, University of South Alabama ALASKA Mark A. Fitch, University of Alaska Anchorage; Kamal Narang, University of Alaska An- chorage; Alexei Rybkin, University of Alaska Fairbanks; Martin Getz, University of Alaska Fairbanks ARIZONA Stefania Tracogna, Ari- zona State University; Bruno Welfert, Arizona State University; Light Bryant, Arizona Western College; Daniel Russow, Arizona Western Col- lege; Jennifer Jameson, Coconino College; George Cole, Mesa Com- munity College; David Schultz, Mesa Community College; Michael Bezusko, Pima Community College, Desert Vista Campus; Garry Car- penter, Pima Community College, Northwest Campus; Paul Flasch, Pima County Community College; Jessica Knapp, Pima Community College, Northwest Campus; Roger Werbylo, Pima County Community College; Katie Louchart, Northern Arizona University; Janet McShane, North- ern Arizona University; Donna M. Krawczyk, The University of Ari- zona ARKANSAS Deborah Parker, Arkansas Northeastern College;
J. Michael Hall, Arkansas State University; Kevin Cornelius, Ouachita Baptist University; Hyungkoo Mark Park, Southern Arkansas Univer- sity; Katherine Pinzon, University of Arkansas at Fort Smith; Denise LeGrand, University of Arkansas at Little Rock; John Annulis, University of Arkansas at Monticello; Erin Haller, University of Arkansas, Fayet- teville; Shannon Dingman, University of Arkansas, Fayetteville; Daniel J. Arrigo, University of Central Arkansas CALIFORNIA Michael S. Gagliardo, California Lutheran University; Harvey Greenwald, Califor- nia Polytechnic State University, San Luis Obispo; Charles Hale, Cali- fornia Polytechnic State University; John Hagen, California Polytechnic State University, San Luis Obispo; Donald Hartig, California Polytech- nic State University, San Luis Obispo; Colleen Margarita Kirk, California Polytechnic State University, San Luis Obispo; Lawrence Sze, California Polytechnic State University, San Luis Obispo; Raymond Terry, Califor- nia Polytechnic State University, San Luis Obispo; James R. McKinney, California State Polytechnic University, Pomona; Robin Wilson, Cali- fornia State Polytechnic University, Pomona; Charles Lam, California State University, Bakersfield ; David McKay, California State University, Long Beach; Melvin Lax, California State University, Long Beach; Wal- lace A. Etterbeek, California State University, Sacramento; Mohamed Al- lali, Chapman University; George Rhys, College of the Canyons; Janice Hector, DeAnza College; Isabelle Saber, Glendale Community College;
ACKNOWLEDGMENTS xiii
Peter Stathis, Glendale Community College; Douglas B. Lloyd, Golden West College; Thomas Scardina, Golden West College; Kristin Hartford, Long Beach City College; Eduardo Arismendi-Pardi, Orange Coast Col- lege; Mitchell Alves, Orange Coast College; Yenkanh Vu, Orange Coast College; Yan Tian, Palomar College; Donna E. Nordstrom, Pasadena City College; Don L. Hancock, Pepperdine University; Kevin Iga, Pep- perdine University; Adolfo J. Rumbos, Pomona College; Virginia May, Sacramento City College; Carlos de la Lama, San Diego City College; Matthias Beck, San Francisco State University; Arek Goetz, San Fran- cisco State University; Nick Bykov, San Joaquin Delta College; Eleanor Lang Kendrick, San Jose City College; Elizabeth Hodes, Santa Barbara City College; William Konya, Santa Monica College; John Kennedy, Santa Monica College; Peter Lee, Santa Monica College; Richard Salome, Scotts Valley High School; Norman Feldman, Sonoma State University; Elaine McDonald, Sonoma State University; John D. Eggers, University of California, San Diego; Adam Bowers, University of California, San Diego; Bruno Nachtergaele, University of California, Davis; Boumedi- ene Hamzi, University of California, Davis; Olga Radko, University of California, Los Angeles; Richard Leborne, University of California, San Diego; Peter Stevenhagen, University of California, San Diego; Jeffrey Stopple, University of California, Santa Barbara; Guofang Wei, Uni- versity of California, Santa Barbara; Rick A. Simon, University of La Verne; Alexander E. Koonce, University of Redlands; Mohamad A. Al- wash, West Los Angeles College; Calder Daenzer, University of California, Berkeley; Jude Thaddeus Socrates, Pasadena City College; Cheuk Ying Lam, California State University Bakersfield ; Borislava Gutarts, Califor- nia State University, Los Angeles; Daniel Rogalski, University of Cali- fornia, San Diego; Don Hartig, California Polytechnic State University; Anne Voth, Palomar College; Jay Wiestling, Palomar College; Lindsey Bramlett-Smith, Santa Barbara City College; Dennis Morrow, College of the Canyons; Sydney Shanks, College of the Canyons; Bob Tolar, College of the Canyons; Gene W. Majors, Fullerton College; Robert Diaz, Fuller- ton College; Gregory Nguyen, Fullerton College; Paul Sjoberg, Fullerton College; Deborah Ritchie, Moorpark College; Maya Rahnamaie, Moor- park College; Kathy Fink, Moorpark College; Christine Cole, Moor- park College; K. Di Passero, Moorpark College; Sid Kolpas, Glendale Community College; Miriam Castrconde, Irvine Valley College; Ilkner Erbas-White, Irvine Valley College; Corey Manchester, Grossmont Col- lege; Donald Murray, Santa Monica College; Barbara McGee, Cuesta College; Marie Larsen, Cuesta College; Joe Vasta, Cuesta College; Mike Kinter, Cuesta College; Mark Turner, Cuesta College; G. Lewis, Cuesta College; Daniel Kleinfelter, College of the Desert; Esmeralda Medrano, Citrus College; James Swatzel, Citrus College; Mark Littrell, Rio Hondo College; Rich Zucker, Irvine Valley College; Cindy Torigison, Palomar College; Craig Chamberline, Palomar College; Lindsey Lang, Diablo Valley College; Sam Needham, Diablo Valley College; Dan Bach, Dia- blo Valley College; Ted Nirgiotis, Diablo Valley College; Monte Collazo, Diablo Valley College; Tina Levy, Diablo Valley College; Mona Pan- chal, East Los Angeles College; Ron Sandvick, San Diego Mesa College; Larry Handa, West Valley College; Frederick Utter, Santa Rose Junior College; Farshod Mosh, DeAnza College; Doli Bambhania, DeAnza Col- lege; Charles Klein, DeAnza College; Tammi Marshall, Cauyamaca Col- lege; Inwon Leu, Cauyamaca College; Michael Moretti, Bakersfield Col- lege; Janet Tarjan, Bakersfield College; Hoat Le, San Diego City College; Richard Fielding, Southwestern College; Shannon Gracey, Southwestern College; Janet Mazzarella, Southwestern College; Christina Soderlund, California Lutheran University; Rudy Gonzalez, Citrus College; Robert Crise, Crafton Hills College; Joseph Kazimir, East Los Angeles College; Randall Rogers, Fullerton College; Peter Bouzar, Golden West College; Linda Ternes, Golden West College; Hsiao-Ling Liu, Los Angeles Trade Tech Community College; Yu-Chung Chang-Hou, Pasadena City College; Guillermo Alvarez, San Diego City College; Ken Kuniyuki, San Diego Mesa College; Laleh Howard, San Diego Mesa College; Sharareh Ma- sooman, Santa Barbara City College; Jared Hersh, Santa Barbara City College; Betty Wong, Santa Monica College; Brian Rodas, Santa Monica College; Veasna Chiek, Riverside City College COLORADO Tony
Weathers, Adams State College; Erica Johnson, Arapahoe Community College; Karen Walters, Arapahoe Community College; Joshua D. Lai- son, Colorado College; G. Gustave Greivel, Colorado School of Mines; Holly Eklund, Colorado School of the Mines; Mike Nicholas, Colorado School of the Mines; Jim Thomas, Colorado State University; Eleanor Storey, Front Range Community College; Larry Johnson, Metropolitan State College of Denver; Carol Kuper, Morgan Community College; Larry A. Pontaski, Pueblo Community College; Terry Chen Reeves, Red Rocks Community College; Debra S. Carney, Colorado School of the Mines; Louis A. Talman, Metropolitan State College of Denver; Mary A. Nel- son, University of Colorado at Boulder; J. Kyle Pula, University of Den- ver; Jon Von Stroh, University of Denver; Sharon Butz, University of Denver; Daniel Daly, University of Denver; Tracy Lawrence, Arapa- hoe Community College; Shawna Mahan, University of Colorado Den- ver; Adam Norris, University of Colorado at Boulder; Anca Radulescu, University of Colorado at Boulder; Mike Kawai, University of Colorado Denver; Janet Barnett, Colorado State University–Pueblo; Byron Hur- ley, Colorado State University–Pueblo; Jonathan Portiz, Colorado State University–Pueblo; Bill Emerson, Metropolitan State College of Denver; Suzanne Caulk, Regis University;Anton Dzhamay, University of Northern Colorado CONNECTICUT Jeffrey McGowan, Central Connecticut State University; Ivan Gotchev, Central Connecticut State University; CharlesWaiveris, Central Connecticut State University; Christopher Ham- mond, Connecticut College; Anthony Y. Aidoo, Eastern Connecticut State University; Kim Ward, Eastern Connecticut State University; Joan W. Weiss, Fairfield University; Theresa M. Sandifer, Southern Connecti- cut State University; Cristian Rios, Trinity College; Melanie Stein, Trinity College; Steven Orszag, Yale University DELAWARE Patrick F. Mw- erinde, University of Delaware DISTRICT OF COLUMBIA Jef- frey Hakim, American University; Joshua M. Lansky, American Univer- sity; James A. Nickerson, Gallaudet University FLORIDA Gregory Spradlin, Embry-Riddle University at Daytona Beach; Daniela Popova, Florida Atlantic University; Abbas Zadegan, Florida International Uni- versity; Gerardo Aladro, Florida International University; Gregory Hen- derson, Hillsborough Community College; Pam Crawford, Jacksonville University; Penny Morris, Polk Community College; George Schultz, St. Petersburg College; Jimmy Chang, St. Petersburg College; Carolyn Kistner, St. Petersburg College; Aida Kadic-Galeb, The University of Tampa; Constance Schober, University of Central Florida; S. Roy Choud- hury, University of Central Florida; Kurt Overhiser, Valencia Commu- nity College; Jiongmin Yong, University of Central Florida; Giray Okten, The Florida State University; Frederick Hoffman, Florida Atlantic Uni- versity; Thomas Beatty, Florida Gulf Coast University; Witny Librun, Palm Beach Community College North; Joe Castillo, Broward County College; Joann Lewin, Edison College; Donald Ransford, Edison Col- lege; Scott Berthiaume, Edison College; Alexander Ambrioso, Hillsbor- ough Community College; Jane Golden, Hillsborough Community Col- lege; Susan Hiatt, Polk Community College–Lakeland Campus; Li Zhou, Polk Community College–Winter Haven Campus; Heather Edwards, Semi- nole Community College; Benjamin Landon, Daytona State College; Tony Malaret, Seminole Community College; Lane Vosbury, Seminole Commu- nity College; William Rickman, Seminole Community College; Cheryl Cantwell, Seminole Community College; Michael Schramm, Indian River State College; Janette Campbell, Palm Beach Community College–Lake Worth; Kwai-Lee Chui, University of Florida; Shu-Jen Huang, Univer- sity of Florida GEORGIA Christian Barrientos, Clayton State Uni- versity; Thomas T. Morley, Georgia Institute of Technology; Doron Lu- binsky, Georgia Institute of Technology; Ralph Wildy, Georgia Military College; Shahram Nazari, Georgia Perimeter College; Alice Eiko Pierce, Georgia Perimeter College, Clarkson Campus; Susan Nelson, Georgia Perimeter College, Clarkson Campus; Laurene Fausett, Georgia South- ern University; Scott N. Kersey, Georgia Southern University; Jimmy L. Solomon, Georgia Southern University; Allen G. Fuller, Gordon Col- lege; Marwan Zabdawi, Gordon College; Carolyn A. Yackel, Mercer Uni- versity; Blane Hollingsworth, Middle Georgia State College; Shahryar Heydari, Piedmont College; Dan Kannan, The University of Georgia; June
xiv ACKNOWLEDGMENTS
Jones, Middle Georgia State College; Abdelkrim Brania, Morehouse Col- lege; Ying Wang, Augusta State University; James M. Benedict, Augusta State University; Kouong Law, Georgia Perimeter College; Rob Williams, Georgia Perimeter College; Alvina Atkinson, Georgia Gwinnett Col- lege; Amy Erickson, Georgia Gwinnett College HAWAII Shuguang Li, University of Hawaii at Hilo; Raina B. Ivanova, University of Hawaii at Hilo IDAHO Uwe Kaiser, Boise State University; Charles Kerr, Boise State University; Zach Teitler, Boise State University; Otis Kenny, Boise State University; Alex Feldman, Boise State University; Doug Bul- lock, Boise State University; Brian Dietel, Lewis-Clark State College; Ed Korntved, Northwest Nazarene University; Cynthia Piez, University of Idaho ILLINOIS Chris Morin, Blackburn College; Alberto L. Del- gado, Bradley University; John Haverhals, Bradley University; Herbert E. Kasube, Bradley University; Marvin Doubet, Lake Forest College; MarvinA. Gordon, Lake Forest Graduate School of Management; Richard J. Maher, Loyola University Chicago; Joseph H. Mayne, Loyola University Chicago; Marian Gidea, Northeastern Illinois University; John M.Alongi, Northwestern University; Miguel Angel Lerma, Northwestern Univer- sity; Mehmet Dik, Rockford College; Tammy Voepel, Southern Illinois University Edwardsville; Rahim G. Karimpour, Southern Illinois Univer- sity; Thomas Smith, University of Chicago; Laura DeMarco, University of Illinois; Evangelos Kobotis, University of Illinois at Chicago; Jennifer McNeilly, University of Illinois at Urbana-Champaign; Timur Oikhberg, University of Illinois at Urbana-Champaign; Manouchehr Azad, Harper College; Minhua Liu, Harper College; Mary Hill, College of DuPage; Arthur N. DiVito, Harold Washington College INDIANA Vania Mas- cioni, Ball State University; Julie A. Killingbeck, Ball State University; Kathie Freed, Butler University; Zhixin Wu, DePauw University; John P. Boardman, Franklin College; Robert N. Talbert, Franklin College; Robin Symonds, Indiana University Kokomo; Henry L. Wyzinski, In- diana University Northwest; Melvin Royer, Indiana Wesleyan Univer- sity; Gail P. Greene, Indiana Wesleyan University; David L. Finn, Rose- Hulman Institute of Technology; Chong Keat Arthur Lim, University of Notre Dame IOWA Nasser Dastrange, Buena Vista University; Mark A. Mills, Central College; Karen Ernst, Hawkeye Community College; Richard Mason, Indian Hills Community College; Robert S. Keller, Lo- ras College; Eric Robert Westlund, Luther College; Weimin Han, The University of Iowa KANSAS Timothy W. Flood, Pittsburg State Uni- versity; Sarah Cook, Washburn University; Kevin E. Charlwood, Wash- burn University; Conrad Uwe, Cowley County Community College; David N. Yetter, Kansas State University KENTUCKY Alex M. McAllister, Center College; Sandy Spears, Jefferson Community & Technical College; Leanne Faulkner, Kentucky Wesleyan College; Donald O. Clayton, Madis- onville Community College; Thomas Riedel, University of Louisville; Manabendra Das, University of Louisville; Lee Larson, University of Louisville; Jens E. Harlander, Western Kentucky University; Philip Mc- Cartney, Northern Kentucky University; Andy Long, Northern Kentucky University; Omer Yayenie, Murray State University; Donald Krug, North- ern Kentucky University LOUISIANA William Forrest, Baton Rouge Community College; Paul Wayne Britt, Louisiana State University; Galen Turner, Louisiana Tech University; Randall Wills, Southeastern Louisiana University; Kent Neuerburg, Southeastern Louisiana University; Guoli Ding, Louisiana State University; Julia Ledet, Louisiana State Univer- sity; Brent Strunk, University of Louisiana at Monroe MAINE An- drew Knightly, The University of Maine; Sergey Lvin, The University of Maine; Joel W. Irish, University of Southern Maine; Laurie Woodman, University of Southern Maine; David M. Bradley, The University of Maine; William O. Bray, The University of Maine MARYLAND Leonid Stern, Towson University; Jacob Kogan, University of Maryland Balti- more County; Mark E. Williams, University of Maryland Eastern Shore; Austin A. Lobo, Washington College; Supawan Lertskrai, Harford Com- munity College; Fary Sami, Harford Community College;Andrew Bulleri, Howard Community College MASSACHUSETTS Sean McGrath, Algonquin Regional High School; Norton Starr, Amherst College; Re- nato Mirollo, Boston College; Emma Previato, Boston University; Laura K Gross, Bridgewater State University; Richard H. Stout, Gordon Col-
lege; Matthew P. Leingang, Harvard University; Suellen Robinson, North Shore Community College; Walter Stone, North Shore Community Col- lege; Barbara Loud, Regis College; Andrew B. Perry, Springfield College; Tawanda Gwena, Tufts University; Gary Simundza, Wentworth Institute of Technology; Mikhail Chkhenkeli, Western New England College; David Daniels, Western New England College; Alan Gorfin, Western New Eng- land College; Saeed Ghahramani, Western New England College; Julian Fleron, Westfield State College; Maria Fung, Worchester State University; Brigitte Servatius, Worcester Polytechnic Institute; John Goulet, Worces- ter Polytechnic Institute; Alexander Martsinkovsky, Northeastern Uni- versity; Marie Clote, Boston College; Alexander Kastner, Williams Col- lege; Margaret Peard, Williams College; Mihai Stoiciu, Williams College MICHIGAN Mark E. Bollman, Albion College; Jim Chesla, Grand Rapids Community College; Jeanne Wald, Michigan State University; Al- lan A. Struthers, Michigan Technological University; Debra Pharo, North- western Michigan College; Anna Maria Spagnuolo, Oakland University; Diana Faoro, Romeo Senior High School; Andrew Strowe, University of Michigan–Dearborn; Daniel Stephen Drucker, Wayne State University; Christopher Cartwright, Lawrence Technological University; Jay Treiman, Western Michigan University MINNESOTA Bruce Bordwell, Anoka- Ramsey Community College; Robert Dobrow, Carleton College; Jessie K. Lenarz, Concordia College–Moorhead Minnesota; Bill Tomhave, Con- cordia College; David L. Frank, University of Minnesota; Steven I. Sper- ber, University of Minnesota; Jeffrey T. McLean, University of St. Thomas; Chehrzad Shakiban, University of St. Thomas; Melissa Loe, University of St. Thomas; Nick Christopher Fiala, St. Cloud State University; Vic- tor Padron, Normandale Community College; Mark Ahrens, Normandale Community College; Gerry Naughton, Century Community College; Car- rie Naughton, Inver Hills Community College MISSISSIPPI Vivien G. Miller, Mississippi State University; Ted Dobson, Mississippi State Uni- versity; Len Miller, Mississippi State University; Tristan Denley, The Uni- versity of Mississippi MISSOURI Robert Robertson, Drury Univer- sity; Gregory A. Mitchell, Metropolitan Community College–Penn Valley; Charles N. Curtis, Missouri Southern State University; Vivek Narayanan, Moberly Area Community College; Russell Blyth, Saint Louis University; Julianne Rainbolt, Saint Louis University; Blake Thornton, Saint Louis University; Kevin W. Hopkins, Southwest Baptist University; Joe Howe, St. Charles Community College; Wanda Long, St. Charles Community College;Andrew Stephan, St. Charles Community College MONTANA Kelly Cline, Carroll College; Veronica Baker, Montana State University, Bozeman; Richard C. Swanson, Montana State University; Thomas Hayes- McGoff, Montana State University; Nikolaus Vonessen, The University of Montana NEBRASKA Edward G. Reinke Jr., Concordia University; Judith Downey, University of Nebraska at Omaha NEVADA Jennifer Gorman, College of Southern Nevada; Jonathan Pearsall, College of South- ern Nevada; Rohan Dalpatadu, University of Nevada, Las Vegas; Paul Ai- zley, University of Nevada, Las Vegas NEW HAMPSHIRE Richard Jardine, Keene State College; Michael Cullinane, Keene State College; Roberta Kieronski, University of New Hampshire at Manchester; Erik Van Erp, Dartmouth College NEW JERSEY Paul S. Rossi, College of Saint Elizabeth; Mark Galit, Essex County College; Katarzyna Potocka, Ramapo College of New Jersey; Nora S. Thornber, Raritan Valley Com- munity College; Abdulkadir Hassen, Rowan University; Olcay Ilicasu, Rowan University; Avraham Soffer, Rutgers, The State University of New Jersey; Chengwen Wang, Rutgers, The State University of New Jersey; Shabnam Beheshti, Rutgers University, The State University of New Jer- sey; Stephen J. Greenfield, Rutgers, The State University of New Jersey; John T. Saccoman, Seton Hall University; Lawrence E. Levine, Stevens Institute of Technology; Jana Gevertz, The College of New Jersey; Barry Burd, Drew University; Penny Luczak, Camden County College; John Climent, Cecil Community College; Kristyanna Erickson, Cecil Commu- nity College; Eric Compton, Brookdale Community College; John Atsu- Swanzy, Atlantic Cape Community College NEW MEXICO Kevin Leith, Central New Mexico Community College; David Blankenbaker, Central New Mexico Community College; Joseph Lakey, New Mexico State University; Kees Onneweer, University of New Mexico; Jurg Bolli,
ACKNOWLEDGMENTS xv
The University of New Mexico NEW YORK Robert C. Williams, Al- fred University; Timmy G. Bremer, Broome Community College State University of New York; Joaquin O. Carbonara, Buffalo State College; Robin Sue Sanders, Buffalo State College; Daniel Cunningham, Buffalo State College; Rose Marie Castner, Canisius College; Sharon L. Sullivan, Catawba College; Fabio Nironi, Columbia University; Camil Muscalu, Cornell University; Maria S. Terrell, Cornell University; Margaret Mulli- gan, Dominican College of Blauvelt; Robert Andersen, Farmingdale State University of New York; Leonard Nissim, Fordham University; Jennifer Roche, Hobart and William Smith Colleges; James E. Carpenter, Iona Col- lege; Peter Shenkin, John Jay College of Criminal Justice/CUNY ; Gordon Crandall, LaGuardia Community College/CUNY ; Gilbert Traub, Maritime College, State University of New York; Paul E. Seeburger, Monroe Commu- nity College Brighton Campus; Abraham S. Mantell, Nassau Community College; Daniel D. Birmajer, Nazareth College; Sybil G. Shaver, Pace Uni- versity; Margaret Kiehl, Rensselaer Polytechnic Institute; Carl V. Lutzer, Rochester Institute of Technology; Michael A. Radin, Rochester Institute of Technology; Hossein Shahmohamad, Rochester Institute of Technology; Thomas Rousseau, Siena College; Jason Hofstein, Siena College; Leon E. Gerber, St. Johns University; Christopher Bishop, Stony Brook Univer- sity; James Fulton, Suffolk County Community College; John G. Michaels, SUNY Brockport; Howard J. Skogman, SUNY Brockport; Cristina Ba- cuta, SUNY Cortland ; Jean Harper, SUNY Fredonia; David Hobby, SUNY New Paltz; Kelly Black, Union College; Thomas W. Cusick, University at Buffalo/The State University of New York; Gino Biondini, University at Buffalo/The State University of New York; Robert Koehler, University at Buffalo/The State University of New York; Donald Larson, University of Rochester; Robert Thompson, Hunter College; Ed Grossman, The City College of New York NORTH CAROLINA Jeffrey Clark, Elon Uni- versity; William L. Burgin, Gaston College; Manouchehr H. Misaghian, Johnson C. Smith University; Legunchim L. Emmanwori, North Carolina A&T State University; Drew Pasteur, North Carolina State University; Demetrio Labate, North Carolina State University; Mohammad Kazemi, The University of North Carolina at Charlotte; Richard Carmichael, Wake Forest University; Gretchen Wilke Whipple, Warren Wilson College; John Russell Taylor, University of North Carolina at Charlotte; Mark Ellis, Piedmont Community College NORTH DAKOTA Jim Coykendall, North Dakota State University; Anthony J. Bevelacqua, The University of North Dakota; Richard P. Millspaugh, The University of North Dakota; Thomas Gilsdorf, The University of North Dakota; Michele Iiams, The University of North Dakota; Mohammad Khavanin, University of North Dakota OHIO Christopher Butler, Case Western Reserve University; Pamela Pierce, The College of Wooster; Barbara H. Margolius, Cleveland State University; Tzu-Yi Alan Yang, Columbus State Community College; Greg S. Goodhart, Columbus State Community College; Kelly C. Stady, Cuyahoga Community College; Brian T. Van Pelt, Cuyahoga Commu- nity College; David Robert Ericson, Miami University; Frederick S. Gass, Miami University; Thomas Stacklin, Ohio Dominican University; Vitaly Bergelson, The Ohio State University; Robert Knight, Ohio University; John R. Pather, Ohio University, Eastern Campus; Teresa Contenza, Ot- terbein College; Ali Hajjafar, The University of Akron; Jianping Zhu, The University of Akron; Ian Clough, University of Cincinnati Clermont Col- lege; Atif Abueida, University of Dayton; Judith McCrory, The Univer- sity at Findlay; Thomas Smotzer, Youngstown State University; Angela Spalsbury, Youngstown State University; James Osterburg, The University of Cincinnati; Mihaela A. Poplicher, University of Cincinnati; Frederick Thulin, University of Illinois at Chicago; Weimin Han, The Ohio State Uni- versity; Crichton Ogle, The Ohio State University; Jackie Miller, The Ohio State University; Walter Mackey, Owens Community College; Jonathan Baker, Columbus State Community College OKLAHOMA Christo- pher Francisco, Oklahoma State University; Michael McClendon, Univer- sity of Central Oklahoma; Teri Jo Murphy, The University of Oklahoma; Kimberly Adams, University of Tulsa; Shirley Pomeranz, University of Tulsa OREGON Lorna TenEyck, Chemeketa Community College; Angela Martinek, Linn-Benton Community College; Filix Maisch, Oregon State University; Tevian Dray, Oregon State University; Mark Ferguson,
Chemekata Community College; Andrew Flight, Portland State Univer- sity; Austina Fong, Portland State University; Jeanette R. Palmiter, Port- land State University PENNSYLVANIA John B. Polhill, Bloomsburg University of Pennsylvania; Russell C. Walker, Carnegie Mellon Univer- sity; Jon A. Beal, Clarion University of Pennsylvania; Kathleen Kane, Community College of Allegheny County; David A. Santos, Community College of Philadelphia; David S. Richeson, Dickinson College; Chris- tine Marie Cedzo, Gannon University; Monica Pierri-Galvao, Gannon University; John H. Ellison, Grove City College; Gary L. Thompson, Grove City College; Dale McIntyre, Grove City College; Dennis Ben- choff, Harrisburg Area Community College; William A. Drumin, King’s College; Denise Reboli, King’s College; Chawne Kimber, Lafayette Col- lege; Elizabeth McMahon, Lafayette College; Lorenzo Traldi, Lafayette College; David L. Johnson, Lehigh University; Matthew Hyatt, Lehigh University; Zia Uddin, Lock Haven University of Pennsylvania; Donna A. Dietz, Mansfield University of Pennsylvania; Samuel Wilcock, Mes- siah College; Richard R. Kern, Montgomery County Community College; Michael Fraboni, Moravian College; Neena T. Chopra, The Pennsylva- nia State University; Boris A. Datskovsky, Temple University; Dennis M. DeTurck, University of Pennsylvania; Jacob Burbea, University of Pittsburgh; Mohammed Yahdi, Ursinus College; Timothy Feeman, Vil- lanova University; Douglas Norton, Villanova University; Robert Styer, Villanova University; Michael J. Fisher, West Chester University of Penn- sylvania; Peter Brooksbank, Bucknell University; Emily Dryden, Bucknell University; Larry Friesen, Butler County Community College; Lisa An- gelo, Bucks County College; Elaine Fitt, Bucks County College; Pauline Chow, Harrisburg Area Community College; Diane Benner, Harrisburg Area Community College; Emily B. Dryden, Bucknell University; Erica Chauvet, Waynesburg University RHODE ISLAND Thomas F. Ban- choff, Brown University; Yajni Warnapala-Yehiya, Roger Williams Uni- versity; Carol Gibbons, Salve Regina University; Joe Allen, Community College of Rhode Island ; Michael Latina, Community College of Rhode Island SOUTH CAROLINA Stanley O. Perrine, Charleston South- ern University; Joan Hoffacker, Clemson University; Constance C. Ed- wards, Coastal Carolina University; Thomas L. Fitzkee, Francis Mar- ion University; Richard West, Francis Marion University; John Harris, Furman University; Douglas B. Meade, University of South Carolina; GeorgeAndroulakis, University of South Carolina;Art Mark, University of South Carolina Aiken; Sherry Biggers, Clemson University; Mary Zachary Krohn, Clemson University; Andrew Incognito, Coastal Carolina Univer- sity; Deanna Caveny, College of Charleston SOUTH DAKOTA Dan Kemp, South Dakota State University TENNESSEE Andrew Miller, Belmont University; Arthur A. Yanushka, Christian Brothers University; Laurie Plunk Dishman, Cumberland University; Maria Siopsis, Maryville College; Beth Long, Pellissippi State Technical Community College; Ju- dith Fethe, Pellissippi State Technical Community College;Andrzej Gutek, Tennessee Technological University; Sabine Le Borne, Tennessee Tech- nological University; Richard Le Borne, Tennessee Technological Uni- versity; Maria F. Bothelho, University of Memphis; Roberto Triggiani, University of Memphis; Jim Conant, The University of Tennessee; Pavlos Tzermias, The University of Tennessee; Luis Renato Abib Finotti, Uni- versity of Tennessee, Knoxville; Jennifer Fowler, University of Tennessee, Knoxville; Jo Ann W. Staples, Vanderbilt University; Dave Vinson, Pellis- sippi State Community College; Jonathan Lamb, Pellissippi State Com- munity College TEXAS Sally Haas, Angelina College; Karl Havlak, Angelo State University; Michael Huff, Austin Community College; John M. Davis, Baylor University; Scott Wilde, Baylor University and The Uni- versity of Texas at Arlington; Rob Eby, Blinn College; Tim Sever, Hous- ton Community College–Central; Ernest Lowery, Houston Community College–Northwest; Brian Loft, Sam Houston State University; Jianzhong Wang, Sam Houston State University; Shirley Davis, South Plains Col- lege; Todd M. Steckler, South Texas College; Mary E. Wagner-Krankel, St. Mary’s University; Elise Z. Price, Tarrant County College, Southeast Campus; David Price, Tarrant County College, Southeast Campus; Run- chang Lin, Texas A&M University; Michael Stecher, Texas A&M Univer- sity; Philip B. Yasskin, Texas A&M University; Brock Williams, Texas
xvi ACKNOWLEDGMENTS
Tech University; I. Wayne Lewis, Texas Tech University; Robert E. By- erly, Texas Tech University; Ellina Grigorieva, Texas Woman’s Univer- sity; Abraham Haje, Tomball College; Scott Chapman, Trinity University; Elias Y. Deeba, University of Houston Downtown; Jianping Zhu, The Uni- versity of Texas at Arlington; Tuncay Aktosun, The University of Texas at Arlington; John E. Gilbert, The University of Texas at Austin; Jorge R. Viramontes-Olivias, The University of Texas at El Paso; Fengxin Chen, University of Texas at San Antonio; Melanie Ledwig, The Victoria College; Gary L. Walls, West Texas A&M University; William Heierman, Whar- ton County Junior College; Lisa Rezac, University of St. Thomas; Ray- mond J. Cannon, Baylor University; Kathryn Flores, McMurry University; Jacqueline A. Jensen, Sam Houston State University; James Galloway, Collin County College; Raja Khoury, Collin County College;Annette Ben- bow, Tarrant County College–Northwest; Greta Harland, Tarrant County College–Northeast; Doug Smith, Tarrant County College–Northeast; Marcus McGuff, Austin Community College; Clarence McGuff, Austin Community College; Steve Rodi, Austin Community College; Vicki Payne, Austin Community College; Anne Pradera, Austin Community College; Christy Babu, Laredo Community College; Deborah Hewitt, McLennan Community College; W. Duncan, McLennan Community College; Hugh Griffith, Mt. San Antonio College UTAH Ruth Trygstad, Salt Lake City Community College VIRGINIA Verne E. Leininger, Bridgewa- ter College; Brian Bradie, Christopher Newport University; Hongwei Chen, Christopher Newport University; John J. Avioli, Christopher New- port University; James H. Martin, Christopher Newport University; David Walnut, George Mason University; Mike Shirazi, Germanna Community College; Julie Clark, Hollins University; Ramon A. Mata-Toledo, James Madison University; Adrian Riskin, Mary Baldwin College; Josephine Letts, Ocean Lakes High School; Przemyslaw Bogacki, Old Dominion University; Deborah Denvir, Randolph-Macon Woman’s College; Linda Powers, Virginia Tech; Gregory Dresden, Washington and Lee University; Jacob A. Siehler, Washington and Lee University; Yuan-Jen Chiang, Uni- versity of Mary Washington; Nicholas Hamblet, University of Virginia; Bernard Fulgham, University of Virginia; Manouchehr “Mike” Moha- jeri, University of Virginia; Lester Frank Caudill, University of Richmond VERMONT David Dorman, Middlebury College; Rachel Repstad, Ver- mont Technical College WASHINGTON Jennifer Laveglia, Belle- vue Community College; David Whittaker, Cascadia Community Col- lege; Sharon Saxton, Cascadia Community College; Aaron Montgomery,
Central Washington University; Patrick Averbeck, Edmonds Community College; Tana Knudson, Heritage University; Kelly Brooks, Pierce Col- lege; Shana P. Calaway, Shoreline Community College; Abel Gage, Skagit Valley College; Scott MacDonald, Tacoma Community College; Jason Preszler, University of Puget Sound ; Martha A. Gady, Whitworth Col- lege; Wayne L. Neidhardt, Edmonds Community College; Simrat Ghu- man, Bellevue College; Jeff Eldridge, Edmonds Community College; Kris Kissel, Green River Community College; Laura Moore-Mueller, Green River Community College; David Stacy, Bellevue College; Eric Schultz, Walla Walla Community College; Julianne Sachs, Walla Walla Community College WEST VIRGINIA David Cusick, Marshall Uni- versity; Ralph Oberste-Vorth, Marshall University; Suda Kunyosying, Shepard University; Nicholas Martin, Shepherd University; Rajeev Ra- jaram, Shepherd University; Xiaohong Zhang, West Virginia State Uni- versity; Sam B. Nadler, West Virginia University WYOMING Clau- dia Stewart, Casper College; Pete Wildman, Casper College; Charles Newberg, Western Wyoming Community College; Lynne Ipina, Univer- sity of Wyoming; John Spitler, University of Wyoming WISCON- SIN Erik R. Tou, Carthage College; Paul Bankston, Marquette Uni- versity; Jane Nichols, Milwaukee School of Engineering; Yvonne Yaz, Milwaukee School of Engineering; Simei Tong, University of Wisconsin– Eau Claire; Terry Nyman, University of Wisconsin–Fox Valley; Robert L. Wilson, University of Wisconsin–Madison; Dietrich A. Uhlen- brock, University of Wisconsin–Madison; Paul Milewski, University of Wisconsin–Madison; Donald Solomon, University of Wisconsin– Milwaukee; Kandasamy Muthuvel, University of Wisconsin–Oshkosh; Sheryl Wills, University of Wisconsin–Platteville; Kathy A. Tomlinson, University of Wisconsin–River Falls; Cynthia L. McCabe, University of Wisconsin–Stevens Point; Matthew Welz, University of Wisconsin– Stevens Point; Joy Becker, University of Wisconsin-Stout; Jeganathan Sriskandarajah , Madison Area Tech College; Wayne Sigelko, Madison Area Tech College CANADA Don St. Jean, George Brown College; Robert Dawson, St. Mary’s University; Len Bos, University of Calgary; Tony Ware, University of Calgary; Peter David Papez, University of Cal- gary; John O’Conner, Grant MacEwan University; Michael P. Lamoureux, University of Calgary; Yousry Elsabrouty, University of Calgary; Darja Kalajdzievska, University of Manitoba; Andrew Skelton, University of Guelph; Douglas Farenick, University of Regina
T he creation of this third edition could not have happened without the help of many people. First, I want to thank the individualswhom I have worked with at W. H. Freeman. Terri Ward and Ruth Baruth convinced me that I should take on this project, and I am grateful to them for their support and their confidence in my ability to tackle it. Throughout this process, Terri has been a huge help. I can always count on her to keep this train on track. Katrina Wilhelm has also been an amazing resource. She brings calm competence and organizational skills that constantly impress me. Tony Palermino has provided expert editorial help throughout the process. He is incredibly knowledgeable about all aspects of mathematics textbooks and has an eye for the details that make a book work. Kerry O’Shaughnessy kept the production process moving forward in a timely manner without ever resorting to threats. John Rogosich was the superb compositor. Patti Brecht handled the copyediting in an expert manner. My thanks are also due to W. H. Freeman’s superb production team: Janice Donnola, Eileen Liang, Blake Logan, Paul Rohloff, and to Ron Weickart at Network Graphics for his skilled and creative execution of the art program.
Many faculty gave critical feedback on the second edition, and their names appear above. I am deeply grateful to them. I do want to particularly thank all of the advisory board members who gave me feedback month after month. Maria Shea Terrell continually sent me excellent unsolicited feedback until I asked to have her on the board. Then it became solicited. The accuracy reviewers, John Alongi, CK Cheung, Kwai-Lee Chui, John Davis, John Eggers, Stephen Greenfield, Roger Lipsett, Vivek Narayanan, and Olga Radko, helped to bring the final version into the form in which it now appears. You think you have found the errors, but you have not.
I also want to thank my colleagues in the Mathematics and Statistics Department at Williams College. I have always known I am incredibly lucky to be a member of this department. There are so many interesting projects and clever pedagogical ideas coming out of the department that it motivates me just because I am trying to keep up.
I would further like to thank my students. Their enthusiasm is what makes teaching fun. I enjoy coming to work every day, and they are what make it such a pleasure.
Finally, I want to thank my two children, Alexa and Colton. They are the ones who keep me grounded, who remind me what works and what doesn’t in the real world. This book is dedicated to them.
Colin Adams
Functions that yield the amount of seismic
activity as a function of time help scientists to
predict volcanic eruptions and earthquakes.
(Douglas Peebles/Science Source)
1 PRECALCULUS REVIEW
C alculus builds on the foundation of algebra, analytic geometry, and trigonometry. Inthis chapter, therefore, we review some concepts, facts, and formulas from precalculus that are used throughout the text. In the last section, we discuss ways in which technology can be used to enhance your visual understanding of functions and their properties.
1.1 Real Numbers, Functions, and Graphs We begin with a short discussion of real numbers. This gives us the opportunity to recall some basic properties and standard notation.
A real number is a number represented by a decimal or “decimal expansion.” There are three types of decimal expansions: finite, repeating, and infinite but nonrepeating. For example,
3 8
= 0.375, 1 7
= 0.142857142857 . . . = 0.142857
π = 3.141592653589793 . . . The number 38 is represented by a finite decimal, whereas
1 7 is represented by a repeatingor
periodic decimal. The bar over 142857 indicates that this sequence repeats indefinitely. The decimal expansion of π is infinite but nonrepeating.
The set of all real numbers is denoted by a boldface R. When there is no risk of confusion, we refer to a real number simply as a number. We also use the standard symbol ∈ for the phrase “belongs to.” Thus,
a ∈ R reads “a belongs to R” The set of integers is commonly denoted by the letter Z (this choice comes from theAdditional properties of real numbers are
discussed in Appendix B. German word Zahl, meaning “number”). Thus, Z = {. . . , −2, −1, 0, 1, 2, . . . }. A whole number is a nonnegative integer—that is, one of the numbers 0, 1, 2, . . . .
A real number is called rational if it can be represented by a fraction p/q, where p and q are integers with q ̸= 0. The set of rational numbers is denoted Q (for “quotient”). Numbers that are not rational, such as π and
√ 2, are called irrational.
We can tell whether a number is rational from its decimal expansion: Rational numbers have finite or repeating decimal expansions, and irrational numbers have infinite, non- repeating decimal expansions. Furthermore, the decimal expansion of a number is unique, apart from the following exception: Every finite decimal is equal to an infinite decimal in which the digit 9 repeats. For example,
1 = 0.999 . . . , 3 8
= 0.375 = 0.374999 . . . , 47 20
= 2.35 = 2.34999 . . .
We visualize real numbers as points on a line (Figure 1). For this reason, real numbers are often referred to as points. The point corresponding to 0 is called the origin.
−2 −1 0 21 FIGURE 1 The set of real numbers represented as a line.
The absolute value of a real number a, denoted |a|, is defined by (Figure 2) 0a
|a|
FIGURE 2 |a| is the distance from a to the origin.
|a| = distance from the origin = {
a if a ≥ 0 −a if a < 0
For example, |1.2| = 1.2 and |−8.35| = 8.35. The absolute value satisfies
|a| = |−a|, |ab| = |a| |b|
1
2 C H A P T E R 1 PRECALCULUS REVIEW
The distance between two real numbers a and b is |b − a|, which is the length of the line segment joining a and b (Figure 3).
a b
|b − a|
−2 −1 0 21 FIGURE 3 The distance from a to b is |b − a|.
Two real numbers a and b are close to each other if |b − a| is small, and this is the case if their decimal expansions agree to many places. More precisely, if the decimal expansions of a and b agree to k places (to the right of the decimal point), then the distance |b − a| is at most 10−k . Thus, the distance between a = 3.1415 and b = 3.1478 is at most 10−2 because a and b agree to two places. In fact, the distance is exactly |3.1478 − 3.1415| = 0.0063.
Beware that |a + b| is not equal to |a| + |b| unless a and b have the same sign or at least one of a and b is zero. If they have opposite signs, cancellation occurs in the sum a + b, and |a + b| < |a| + |b|. For example, |2 + 5| = |2| + |5| but |−2 + 5| = 3, which is less than |−2| + |5| = 7. In any case, |a + b| is never larger than |a| + |b| and this gives us the simple but important triangle inequality:
|a + b| ≤ |a| + |b| 1
We use standard notation for intervals. Given real numbers a < b, there are four intervals with endpoints a and b (Figure 4). They all have length b − a but differ accord- ing to which endpoints are included.
Closed interval [a, b] (endpoints included)
a b Open interval (a, b) (endpoints excluded)
a b Half-open interval [a, b)
a b Half-open interval (a, b]
a b
FIGURE 4 The four intervals with endpoints a and b.
The closed interval [a, b] is the set of all real numbers x such that a ≤ x ≤ b:
[a, b] = {x ∈ R : a ≤ x ≤ b}
We usually write this more simply as {x : a ≤ x ≤ b}, it being understood that x belongs to R. The open and half-open intervals are the sets
The notation (2, 3) could mean the open interval {x : 2 < x < 3} or it could mean the point in the xy-plane with x = 2 and y = 3. In general, the meaning will be apparent from the context. (a, b) = {x : a < x < b}︸ ︷︷ ︸
Open interval (endpoints excluded)
, [a, b) = {x : a ≤ x < b}︸ ︷︷ ︸ Half-open interval
, (a, b] = {x : a < x ≤ b}︸ ︷︷ ︸ Half-open interval
The infinite interval (−∞, ∞) is the entire real line R.Ahalf-infinite interval is closed if it contains its finite endpoint and is open otherwise (Figure 5):
[a, ∞) = {x : a ≤ x}, (−∞, b] = {x : x ≤ b}
[a, ∞) a
(−∞, b] b
FIGURE 5 Closed half-infinite intervals.
Open and closed intervals may be described by inequalities. For example, the interval
0 r
|x| < r
−r FIGURE 6 The interval (−r, r) = {x : |x| < r}.
(−r, r) is described by the inequality |x| < r (Figure 6):
|x| < r ⇔ −r < x < r ⇔ x ∈ (−r, r) 2
More generally, for an interval symmetric about the value c (Figure 7),
c c + rc − r
r r
FIGURE 7 (a, b) = (c − r, c + r), where
c = a + b 2
, r = b − a 2
|x − c| < r ⇔ c − r < x < c + r ⇔ x ∈ (c − r, c + r) 3
Closed intervals are similar, with < replaced by ≤. We refer to r as the radius and to c as the midpoint or center. The intervals (a, b) and [a, b] have midpoint c = 12 (a + b) and radius r = 12 (b − a) (Figure 7).
S E C T I O N 1.1 Real Numbers, Functions, and Graphs 3
EXAMPLE 1 Describe [7, 13] using inequalities. Solution The midpoint of the interval [7, 13] is c = 12 (7 + 13) = 10 and its radius is r = 12 (13 − 7) = 3 (Figure 8). Therefore,137
3 3
10
FIGURE 8 The interval [7, 13] is described by |x − 10| ≤ 3.
[7, 13] = { x ∈ R : |x − 10| ≤ 3
}
EXAMPLE 2 Describe the set S = { x :
∣∣ 1 2x − 3
∣∣ > 4 }
in terms of intervals.
Solution It is easier to consider the opposite inequality ∣∣ 1
2x − 3 ∣∣ ≤ 4 first. By (2),
In Example 2 we use the notation ∪ to denote “union”: The union A ∪ B of sets A and B consists of all elements that belong to either A or B (or to both).
∣∣∣∣ 1 2 x − 3
∣∣∣∣ ≤ 4 ⇔ −4 ≤ 1 2 x − 3 ≤ 4
−1 ≤ 1 2 x ≤ 7 (add 3)
−2 ≤ x ≤ 14 (multiply by 2) Thus,
∣∣ 1 2x − 3
∣∣ ≤ 4 is satisfied when x belongs to [−2, 14]. The set S is the complement,−2 0 14 FIGURE 9 The set S =
{ x :
∣∣ 1 2x − 3
∣∣ > 4 } .
consisting of all numbers x not in [−2, 14]. We can describe S as the union of two intervals: S = (−∞, −2) ∪ (14, ∞) (Figure 9).
Graphing Graphing is a basic tool in calculus, as it is in algebra and trigonometry. Recall that rect- angular (or Cartesian) coordinates in the plane are defined by choosing two perpendicular axes, the x-axis and the y-axis.To a pair of numbers (a, b) we associate the point P located
The term “Cartesian” refers to the French philosopher and mathematician René Descartes (1596–1650), whose Latin name was Cartesius. He is credited (along with Pierre de Fermat) with the invention of analytic geometry. In his great work La Géométrie, Descartes used the letters x, y, z for unknowns and a, b, c for constants, a convention that has been followed ever since.
at the intersection of the line perpendicular to the x-axis at a and the line perpendicular to the y-axis at b [Figure 10(A)]. The numbers a and b are the x- and y-coordinates of P . The x-coordinate is sometimes called the “abscissa” and the y-coordinate the “ordinate.” The origin is the point with coordinates (0, 0).
xx
b
aa
yy
21−1−2 −1
−2
2
1
P = (a, b)
(A) (B)FIGURE 10 Rectangular coordinate system.
The axes divide the plane into four quadrants labeled I–IV, determined by the signs of the coordinates [Figure 10(B)]. For example, quadrant III consists of points (x, y) such that x < 0 and y < 0.
The distance d between two points P1 = (x1, y1) and P2 = (x2, y2) is computed
d
x1
P1 = (x1, y1)
P2 = (x2, y2)
x2
y1
y2
|y2 − y1|
|x2 − x1|
x
y
FIGURE 11 Distance d is given by the distance formula.
using the Pythagorean Theorem. In Figure 11, we see that P1P2 is the hypotenuse of a right triangle with sides a = |x2 − x1| and b = |y2 − y1|. Therefore,
d2 = a2 + b2 = (x2 − x1)2 + (y2 − y1)2
We obtain the distance formula by taking square roots.
Distance Formula The distance between P1 = (x1, y1) and P2 = (x2, y2) is equal to
d = √
(x2 − x1)2 + (y2 − y1)2
4 C H A P T E R 1 PRECALCULUS REVIEW
Once we have the distance formula, we can derive the equation of a circle of radius r and center (a, b) (Figure 12). A point (x, y) lies on this circle if the distance from (x, y)
a
(a, b)
(x, y)
r
b
x
y
FIGURE 12 Circle with equation (x − a)2 + (y − b)2 = r2.
to (a, b) is r: √
(x − a)2 + (y − b)2 = r Squaring both sides, we obtain the standard equation of the circle:
(x − a)2 + (y − b)2 = r2
We now review some definitions and notation concerning functions.
DEFINITION A function f from a set D to a set Y is a rule that assigns, to each element x in D, a unique element y = f (x) in Y . We write
f : D → Y
The set D, called the domain of f , is the set of “allowable inputs.” For x ∈ D, f (x) is called the value of f at x (Figure 13). The range R of f is the subset of Y consisting of all values f (x):
R = {y ∈ Y : f (x) = y for some x ∈ D} Informally, we think of f as a “machine” that produces an output y for every input xA function f : D → Y is also called a
“map.” The sets D and Y can be arbitrary. For example, we can define a map from the set of living people to the set of whole numbers by mapping each person to his or her year of birth. The range of this map is the set of years in which a living person was born. In multivariable calculus, the domain might be a set of points in the two-dimensional plane and the range a set of numbers, points, or vectors.
in the domain D (Figure 14).
f (x)x
Domain D Y
f
FIGURE 13 A function assigns an element f (x) in Y to each x ∈ D.
f (x) Output
x Input
Machine “f ”
FIGURE 14 Think of f as a “machine” that takes the input x and produces the output f (x).
The first part of this text deals with numerical functions f , where both the domain and the range are sets of real numbers. We refer to such a function as f and its value at x as f (x). The letter x is used often to denote the independent variablethat can take on any value in the domain D. We write y = f (x) and refer to y as the dependent variable (because its value depends on the choice of x).
When f is defined by a formula, its natural domain is the set of real numbers x for which the formula is meaningful. For example, the function f (x) =
√ 9 − x has domain
D = {x : x ≤ 9} because √
9 − x is defined if 9 − x ≥ 0. Here are some other examples of domains and ranges:
f (x) Domain D Range R
x2 R {y : y ≥ 0} cos x R {y : −1 ≤ y ≤ 1}
1 x + 1 {x : x ̸= −1} {y : y ̸= 0}
The graph of a function y = f (x) is obtained by plotting the points (a, f (a)) for a in the domain D (Figure 15). If you start at x = a on the x-axis, move up to the graph
x
y = f (x)
Zero of f
f (a) (a, f (a))
a c
y
FIGURE 15
and then over to the y-axis, you arrive at the value f (a). The absolute value |f (a)| is the distance from the graph to the x-axis.
A zero or root of a function f is a number c such that f (c) = 0. The zeros are the values of x where the graph intersects the x-axis.
In Chapter 4, we will use calculus to sketch and analyze graphs. At this stage, to sketch a graph by hand, we can make a table of function values, plot the corresponding points (including any zeros), and connect them by a smooth curve.
S E C T I O N 1.1 Real Numbers, Functions, and Graphs 5
EXAMPLE 3 Find the roots and sketch the graph of f (x) = x3 − 2x. Solution First, we solve
x3 − 2x = x(x2 − 2) = 0
The roots of f are x = 0 and x = ± √
2. To sketch the graph, we plot the roots and a few values listed in Table 1 and join them by a curve (Figure 16).
TABLE 1
x x3 − 2x
−2 −4 −1 1
0 0 1 −1 2 4
−1−2
−4
−1
4
1
2
1
2
2− x
y
FIGURE 16 Graph of f (x) = x3 − 2x.
Functions arising in applications are not always given by formulas. For example, data collected from observation or experiment define functions for which there may be no exact formula. Such functions can be displayed either graphically or by a table of values. Figure 17 and Table 2 display data collected by biologist Julian Huxley (1887–1975) in a study of the antler weight W of male red deer as a function of age t . We will see that many of the tools from calculus can be applied to functions constructed from data in this way.
Antler weight W (kg)
0 20 4 6 8 10 12
Age t (years)
1
2
3
4
5
6
7
8
FIGURE 17 Male red deer shed their antlers every winter and regrow them in the spring. This graph shows average antler weight as a function of age.
TABLE 2
t (years) W (kg) t (years) W (kg)
1 0.48 7 5.34 2 1.59 8 5.62 3 2.66 9 6.18 4 3.68 10 6.81 5 4.35 11 6.21 6 4.92 12 6.1
We can graph not just functions but, more generally, any equation relating y and x.
−1 1
(1, 1)
(1, −1)
x
y
1
−1
FIGURE 18 Graph of 4y2 − x3 = 3. This graph fails the Vertical Line Test, so it is not the graph of a function.
Figure 18 shows the graph of the equation 4y2 − x3 = 3; it consists of all pairs (x, y) satisfying the equation. This curve is not the graph of a function because some x-values are associated with two y-values. For example, x = 1 is associated with y = ±1. A curve is the graph of a function if and only if it passes the Vertical Line Test; that is, every vertical line x = a intersects the curve in at most one point.
We are often interested in whether a function is increasing or decreasing. Roughly speaking, a function f is increasing if its graph goes up as we move to the right and is decreasing if its graph goes down [Figures 19(A) and (B)]. More precisely, we define the notion of increase/decrease on an open interval.
A function f is:
• increasing on (a, b) if f (x1) < f (x2) for all x1, x2 ∈ (a, b) such that x1 < x2. • decreasing on (a, b) if f (x1) > f (x2) for all x1, x2 ∈ (a, b) such that x1 < x2.
6 C H A P T E R 1 PRECALCULUS REVIEW
We say that f is monotonic if it is either increasing or decreasing. In Figure 19(C), the function is not monotonic because it is neither increasing nor decreasing for all x.
A function f is called nondecreasing if f (x1) ≤ f (x2) for x1 < x2 (defined by ≤ rather than a strict inequality <). Nonincreasing functions are defined similarly. Function (D) in Figure 19 is nondecreasing, but it is not increasing on the intervals where the graph is horizontal. Function (E) is increasing everywhere even though it levels off momentarily.
(A) Increasing (C)(B) Decreasing Decreasing on (a, b) but not decreasing everywhere
(D) Nondecreasing but not increasing
(E) Increasing
x
y
x
y
x
y
a b x
y
x
y
FIGURE 19 Another important property is parity, which refers to whether a function is even or
odd:
• f is even if f (−x) = f (x) • f is odd if f (−x) = −f (x)
The graphs of functions with even or odd parity have a special symmetry:
• Even function: Graph is symmetric about the y-axis. This means that if P = (a, b) lies on the graph, then so does Q = (−a, b) [Figure 20(A)].
• Odd function: Graph is symmetric with respect to the origin. This means that if P = (a, b) lies on the graph, then so does Q = (−a, −b) [Figure 20(B)].
Many functions are neither even nor odd [Figure 20(C)].
(A) Even function: f (−x) = f (x) Graph is symmetric about the y-axis.
(B) Odd function: f (−x) = − f (x) Graph is symmetric about the origin.
(C) Neither even nor odd
(a, b)
(a, b)
(−a, b) b
a−a (−a, −b)
b
a
−a
−b
x x x
y
y
y
FIGURE 20
EXAMPLE 4 Determine whether the function is even, odd, or neither.
(a) f (x) = x4 (b) g(x) = x−1 (c) h(x) = x2 + x Solution
(a) f (−x) = (−x)4 = x4. Thus, f (x) = f (−x), and f is even. (b) g(−x) = (−x)−1 = −x−1. Thus, g(−x) = −g(x), and g is odd. (c) h(−x) = (−x)2 + (−x) = x2 − x. We see that h(−x) is not equal to h(x) or to −h(x) = −x2 − x. Therefore, h is neither even nor odd.
EXAMPLE 5 Using Symmetry Sketch the graph of f (x) = 1 x2 + 1 .
Solution The function f is positive [f (x) > 0] and even [f (−x) = f (x)]. Therefore, the graph lies above the x-axis and is symmetric with respect to the y-axis. Furthermore,
S E C T I O N 1.1 Real Numbers, Functions, and Graphs 7
f is decreasing for x ≥ 0 (because a larger value of x makes the denominator larger). We use this information and a short table of values (Table 3) to sketch the graph (Figure 21). Note that the graph approaches the x-axis as we move to the right or left because f (x) gets closer to 0 as |x| increases.
TABLE 3
x 1
x2 + 1
0 1
±1 12 ±2 15
1
−1−2 21 x
y
f (x) = 1 x2 + 1
FIGURE 21
Two important ways of modifying a graph are translation (or shifting) and scaling. Translation consists of moving the graph horizontally or vertically:
DEFINITION Translation (Shifting)
• Vertical translation y = f (x) + c: Shifts the graph by |c| units vertically, upward if c > 0 and downward if c < 0.
• Horizontal translation y = f (x + c): Shifts the graph by |c| units horizontally, to the right if c < 0 and c units to the left if c > 0.
Figure 22 shows the effect of translating the graph of f (x) = 1/(x2 + 1) vertically and
Remember that f (x) + c and f (x + c) are different. The graph of y = f (x) + c is a vertical translation and y = f (x + c) a horizontal translation of the graph of y = f (x).
horizontally.
−1−2 21 x
y
1
2 Shift 1 unit
upward Shift 1 unit to the left
−1−2−3 1 x
y
1
2
−1−2 21 x
y
1
2
(A) y = f (x) = 1 + 1 x2 + 1
(B) y = f (x) + 1 = 1 x2 + 1
(C) y = f (x + 1) = 1 (x + 1)2 + 1
FIGURE 22
EXAMPLE 6 Figure 23(A) is the graph of f (x) = x2, and Figure 23(B) is a horizontal and vertical shift of (A). What is the equation of graph (B)?
−1−2 2 31
2
1
4
3
−1
(A) f (x) = x2 (B)
x
y
−1−2 2 31
2
1
4
3
−1
x
y
FIGURE 23
Solution Graph (B) is obtained by shifting graph (A) 1 unit to the right and 1 unit down. We can see this by observing that the point (0, 0) on the graph of f is shifted to (1, −1). Therefore, (B) is the graph of g(x) = (x − 1)2 − 1.
8 C H A P T E R 1 PRECALCULUS REVIEW
Scaling (also called dilation) consists of compressing or expanding the graph in the
y = −2 f (x)
y = f (x) 2
1
−2
−4
x
y
FIGURE 24 Negative vertical scale factor k = −2.
vertical or horizontal directions:
DEFINITION Scaling
• Vertical scaling y = kf (x): If k > 1, the graph is expanded vertically by the factor k. If 0 < k < 1, the graph is compressed vertically. When the scale factor k is negative (k < 0), the graph is also reflected across the x-axis (Figure 24).
• Horizontal scaling y = f (kx): If k > 1, the graph is compressed in the horizontal direction. If 0 < k < 1, the graph is expanded. If k < 0, then the graph is also reflected across the y-axis.
The amplitude of a function is half the difference between its greatest value and its least value, if it has both a greatest value and least value. Thus, vertical scaling changes the amplitude by the factor |k|.
EXAMPLE 7 Sketch the graphs of f (x) = sin(πx) and its dilates f (3x) and 3f (x). Solution The graph of f (x) = sin(πx) is a sine curve with period 2. It completes one cycle over every interval of length 2—see Figure 25(A). It has amplitude 1.
• The graph of f (3x) = sin(3πx) is a compressed version of y = f (x), completing three cycles instead of one over intervals of length 2 [Figure 25(B)]. It also has amplitude 1.
• The graph of y = 3f (x) = 3 sin(πx) differs from y = f (x) only in amplitude: It is expanded in the vertical direction by a factor of 3 [Figure 25(C)], so its amplitude is 3.
(C) Vertical expansion: y = 3 f (x) = 3sin(πx)
(B) Horizontal compression: y = f (3x) = sin(3πx)
1
2
3
−3
−2
−1
1
−1 2 41 3 2 41 3
(A) y = f (x) = sin(πx)
1
−1 2 41 3 xx x
y
yy
One cycle Three cycles
FIGURE 25 Horizontal and vertical scaling of f (x) = sin(πx).
1.1 SUMMARY
• Absolute value: |a| = {
a if a ≥ 0 −a if a < 0
• Triangle inequality: |a + b| ≤ |a| + |b| • Four intervals with endpoints a and b:
(a, b), [a, b], [a, b), (a, b] • Writing open and closed intervals using inequalities:
(a, b) = {x : |x − c| < r}, [a, b] = {x : |x − c| ≤ r}
where c = 12 (a + b) is the midpoint and r = 12 (b − a) is the radius.
S E C T I O N 1.1 Real Numbers, Functions, and Graphs 9
• Distance d between (x1, y1) and (x2, y2):
d = √
(x2 − x1)2 + (y2 − y1)2
• Equation of circle of radius r with center (a, b):
(x − a)2 + (y − b)2 = r2
• A zero or root of a function f is a number c such that f (c) = 0. • Vertical Line Test: A curve in the plane is the graph of a function if and only if each
vertical line x = a intersects the curve in at most one point.
•
Increasing: f (x1) < f (x2) if x1 < x2 Nondecreasing: f (x1) ≤ f (x2) if x1 < x2 Decreasing: f (x1) > f (x2) if x1 < x2 Nonincreasing: f (x1) ≥ f (x2) if x1 < x2
• Even function: f (−x) = f (x) (graph is symmetric about the y-axis). • Odd function: f (−x) = −f (x) (graph is symmetric about the origin). • Four ways to transform the graph of f :
f (x) + c Shifts graph vertically |c| units (upward if c > 0, downward if c < 0) f (x + c) Shifts graph horizontally |c| units (to the right if c < 0, to the left if c > 0) kf (x) Scales graph vertically by factor k;
if k < 0, graph is reflected across x-axis
f (kx) Scales graph horizontally by factor k (compresses if k > 1); if k < 0, graph is reflected across y-axis
1.1 EXERCISES
Preliminary Questions 1. Give an example of numbers a and b such that a < b and |a| > |b|.
2. Which numbers satisfy |a| = a? Which satisfy |a| = −a? What about |−a| = a?
3. Give an example of numbers a and b such that |a + b| < |a| + |b|.
4. Are there numbers a and b such that |a + b| > |a| + |b|?
5. What are the coordinates of the point lying at the intersection of the lines x = 9 and y = −4?
6. In which quadrant do the following points lie? (a) (1, 4) (b) (−3, 2) (c) (4, −3) (d) (−4, −1) 7. What is the radius of the circle with equation
(x − 7)2 + (y − 8)2 = 9? 8. The equation f (x) = 5 has a solution if (choose one):
(a) 5 belongs to the domain of f . (b) 5 belongs to the range of f .
9. What kind of symmetry does the graph have if f (−x) = −f (x)? 10. Is there a function that is both even and odd?
Exercises 1. Use a calculator to find a rational number r such that
|r − π2| < 10−4.
2. Which of (a)–(f) are true for a = −3 and b = 2? (a) a < b (b) |a| < |b| (c) ab > 0
(d) 3a < 3b (e) −4a < −4b (f) 1 a
< 1 b
In Exercises 3–8, express the interval in terms of an inequality involving absolute value.
3. [−2, 2] 4. (−4, 4) 5. (0, 4)
6. [−4, 0] 7. [1, 5] 8. (−2, 8)
In Exercises 9–12, write the inequality in the form a < x < b.
9. |x| < 8 10. |x − 12| < 8
11. |2x + 1| < 5 12. |3x − 4| < 2
In Exercises 13–18, express the set of numbers x satisfying the given condition as an interval.
13. |x| < 4 14. |x| ≤ 9
15. |x − 4| < 2 16. |x + 7| < 2
17. |4x − 1| ≤ 8 18. |3x + 5| < 1
10 C H A P T E R 1 PRECALCULUS REVIEW
In Exercises 19–22, describe the set as a union of finite or infinite in- tervals.
19. {x : |x − 4| > 2} 20. {x : |2x + 4| > 3}
21. {x : |x2 − 1| > 2} 22. {x : |x2 + 2x| > 2}
23. Match (a)–(f) with (i)–(vi).
(a) a > 3 (b) |a − 5| < 1 3
(c) ∣∣∣∣a −
1 3
∣∣∣∣ < 5 (d) |a| > 5
(e) |a − 4| < 3 (f) 1 ≤ a ≤ 5
(i) a lies to the right of 3.
(ii) a lies between 1 and 7.
(iii) The distance from a to 5 is less than 13 .
(iv) The distance from a to 3 is at most 2.
(v) a is less than 5 units from 13 .
(vi) a lies either to the left of −5 or to the right of 5.
24. Describe { x : x
x + 1 < 0 }
as an interval. Hint: Consider the sign
of x and x + 1 individually.
25. Describe {x : x2 + 2x < 3} as an interval. Hint: Plot y = x2 + 2x − 3.
26. Describe the set of real numbers satisfying |x − 3| = |x − 2| + 1 as a half-infinite interval.
27. Show that if a > b, and a, b ̸= 0, then b−1 > a−1, provided that a and b have the same sign. What happens if a > 0 and b < 0?
28. Which x satisfies both |x − 3| < 2 and |x − 5| < 1?
29. Show that if |a − 5| < 12 and |b − 8| < 12 , then |(a + b) − 13| < 1. Hint: Use the triangle inequality (|a + b| ≤ |a| + |b|).
30. Suppose that |x − 4| ≤ 1. (a) What is the maximum possible value of |x + 4|? (b) Show that |x2 − 16| ≤ 9.
31. Suppose that |a − 6| ≤ 2 and |b| ≤ 3. (a) What is the largest possible value of |a + b|? (b) What is the smallest possible value of |a + b|?
32. Prove that |x| − |y| ≤ |x − y|. Hint: Apply the triangle inequality to y and x − y.
33. Express r1 = 0.27 as a fraction. Hint: 100r1 − r1 is an integer. Then express r2 = 0.2666 . . . as a fraction.
34. Represent 1/7 and 4/27 as repeating decimals.
35. The text states: If the decimal expansions of numbers a and b agree to k places, then |a − b| ≤ 10−k . Show that the converse is false: For all k there are numbers a and b whose decimal expansions do not agree at all but |a − b| ≤ 10−k .
36. Plot each pair of points and compute the distance between them: (a) (1, 4) and (3, 2) (b) (2, 1) and (2, 4)
(c) (0, 0) and (−2, 3) (d) (−3, −3) and (−2, 3)
37. Find the equation of the circle with center (2, 4): (a) with radius r = 3. (b) that passes through (1, −1). 38. Find all points in the xy-plane with integer coordinates located at a distance 5 from the origin. Then find all points with integer coordinates located at a distance 5 from (2, 3).
39. Determine the domain and range of the function
f : {r, s, t, u} → {A,B,C,D,E}
defined by f (r) = A, f (s) = B, f (t) = B, f (u) = E. 40. Give an example of a function whose domain D has three elements and whose range R has two elements. Does a function exist whose do- main D has two elements and whose range R has three elements?
In Exercises 41–48, find the domain and range of the function.
41. f (x) = −x 42. g(t) = t4
43. f (x) = x3 44. g(t) = √
2 − t
45. f (x) = |x| 46. h(s) = 1 s
47. f (x) = 1 x2
48. g(t) = cos 1 t
In Exercises 49–52, determine where f is increasing.
49. f (x) = |x + 1| 50. f (x) = x3
51. f (x) = x4 52. f (x) = 1 x4 + x2 + 1
In Exercises 53–58, find the zeros of f and sketch its graph by plot- ting points. Use symmetry and increase/decrease information where appropriate.
53. f (x) = x2 − 4 54. f (x) = 2x2 − 4
55. f (x) = x3 − 4x 56. f (x) = x3
57. f (x) = 2 − x3 58. f (x) = 1 (x − 1)2 + 1
59. Which of the curves in Figure 26 is the graph of a function?
(B)
(D)(C)
(A)
x
x
x
x
y
y
y
y
FIGURE 26
60. Determine whether the function is even, odd, or neither. (a) f (x) = x5 (b) g(t) = t3 − t2
(c) F(t) = 1 t4 + t2
S E C T I O N 1.1 Real Numbers, Functions, and Graphs 11
61. Determine whether the function is even, odd, or neither.
(a) f (t) = 1 t4 + t + 1 −
1
t4 − t + 1 (b) g(t) = 2 t − 2−t
(c) G(θ) = sin θ + cos θ (d) H(θ) = sin(θ2)
62. Write f (x) = 2x4 − 5x3 + 12x2 − 3x + 4 as the sum of an even and an odd function.
63. Show that f (x) = ln (
1 − x 1 + x
) is an odd function.
64. State whether the function is increasing, decreasing, or neither. (a) Surface area of a sphere as a function of its radius
(b) Temperature at a point on the equator as a function of time
(c) Price of an airline ticket as a function of the price of oil
(d) Pressure of the gas in a piston as a function of volume
In Exercises 65–70, let f be the function shown in Figure 27.
65. Find the domain and range of f .
66. Sketch the graphs of y = f (x + 2) and y = f (x) + 2.
67. Sketch the graphs of y = f (2x), y = f ( 1
2x ) , and y = 2f (x).
68. Sketch the graphs of y = f (−x) and y = −f (−x).
69. Extend the graph of f to [−4, 4] so that it is an even function.
70. Extend the graph of f to [−4, 4] so that it is an odd function.
1 2 3 4 0
1
2
3
4
x
y
FIGURE 27
71. Suppose that f has domain [4, 8] and range [2, 6]. Find the domain and range of:
(a) y = f (x) + 3 (b) y = f (x + 3) (c) y = f (3x) (d) y = 3f (x)
72. Let f (x) = x2. Sketch the graph over [−2, 2] of: (a) y = f (x + 1) (b) y = f (x) + 1 (c) y = f (5x) (d) y = 5f (x)
73. Suppose that the graph of f (x) = sin x is compressed horizontally by a factor of 2 and then shifted 5 units to the right.
(a) What is the equation for the new graph?
(b) What is the equation if you first shift by 5 and then compress by 2?
(c) Verify your answers by plotting your equations.
74. Figure 28 shows the graph of f (x) = |x| + 1. Match the functions (a)–(e) with their graphs (i)–(v).
(a) y = f (x − 1) (b) y = −f (x) (c) y = −f (x) + 2 (d) y = f (x − 1) − 2 (e) y = f (x + 1)
y = f (x) = |x| + 1 (i) (ii)
1 2 3
−1−2−3 −1 2 31
y
x 1 2 3
−1−2−3 −1 2 31
y
x 1 2 3
−1−2−3 −1 2 31
y
x
(iv) (v)(iii)
1 2 3
−1 −2 −3
−2−3 −1 2 31
y
x 1 2 3
−1 −2 −3
−2−3 −1 2 31
y
x 1 2 3
−1 −2 −3
−2−3 −1 2 31
y
x
FIGURE 28
75. Sketch the graph of y = f (2x) and y = f ( 1
2x ) , where f (x) =
|x| + 1 (Figure 28).
76. Find the function f whose graph is obtained by shifting the parabola y = x2 by 3 units to the right and 4 units down, as in Fig- ure 29.
y = f (x)
y = x2
−4
3
y
x
FIGURE 29
77. Define f (x) to be the larger of x and 2 − x. Sketch the graph of f . What are its domain and range? Express f (x) in terms of the absolute value function.
78. For each curve in Figure 30, state whether it is symmetric with respect to the y-axis, the origin, both, or neither.
(D)
(B)
(C)
(A)
yy
yy
xx
x x
FIGURE 30
79. Show that the sum of two even functions is even and the sum of two odd functions is odd.
12 C H A P T E R 1 PRECALCULUS REVIEW
80. Suppose that f and g are both odd. Which of the following func- tions are even? Which are odd? (a) y = f (x)g(x) (b) y = f (x)3
(c) y = f (x) − g(x) (d) y = f (x) g(x)
81. Prove that the only function whose graph is symmetric with respect to both the y-axis and the origin is the function f (x) = 0.
Further Insights and Challenges 82. Prove the triangle inequality (|a + b| ≤ |a| + |b|) by adding the two inequalities
−|a| ≤ a ≤ |a|, −|b| ≤ b ≤ |b|
83. Show that a fraction r = a/b in lowest terms has a finite decimal expansion if and only if
b = 2n5m for some n, m ≥ 0.
Hint: Observe that r has a finite decimal expansion when 10Nr is an integer for some N ≥ 0 (and hence b divides 10N ).
84. Let p = p1 . . . ps be an integer with digits p1, . . . , ps . Show that p
10s − 1 = 0.p1 . . . ps
Use this to find the decimal expansion of r = 211 . Note that
r = 2 11
= 18 102 − 1
85. A function f is symmetric with respect to the vertical line x = a if f (a − x) = f (a + x). (a) Draw the graph of a function that is symmetric with respect to x = 2. (b) Show that if f is symmetric with respect to x = a, then g(x) = f (x + a) is even.
86. Formulate a condition for f to be symmetric with respect to the point (a, 0) on the x-axis.
1.2 Linear and Quadratic Functions Linear functions are the simplest of all functions, and their graphs (lines) are the simplest of all curves. However, linear functions and lines play an enormously important role in calculus. For this reason, you should be thoroughly familiar with the basic properties of linear functions and the different ways of writing an equation of a line.
Let’s recall that a linear functionis a function of the form
f (x) = mx + b (m and b constants)
The graph of f is a line of slope m, and since f (0) = b, the graph intersects the y-axis at the point (0, b) (Figure 1). The number b is called the y-intercept.
The slope-intercept form of the line with slope m and y-intercept b is given by
y = mx + b
x1 x2
y -intercept
y = mx + b
m =
!y
!y
!x
!x
y2
y1
b
y
x
FIGURE 1 The slope m is the ratio “rise over run.”
We use the symbols #x and #y to denote the change (or increment) in x and y = f (x) over an interval [x1, x2] (Figure 1):
#x = x2 − x1, #y = y2 − y1 = f (x2) − f (x1)
The slope m of a line is equal to the ratio
m = #y #x
= vertical change horizontal change
= rise run
S E C T I O N 1.2 Linear and Quadratic Functions 13
This follows from the formula y = mx + b: #y
#x = y2 − y1
x2 − x1 = (mx2 + b) − (mx1 + b)
x2 − x1 = m(x2 − x1)
x2 − x1 = m
The slope m measures the rate of change of y with respect to x. In fact, by writing
#y = m#x
we see that a 1-unit increase in x (i.e., #x = 1) produces an m-unit change #y in y. For example, if m = 5, then y increases by 5 units per unit increase in x. The rate-of-change interpretation of the slope is fundamental in calculus. We discuss it in greater detail in Section 2.1.
Graphically, the slope m measures the steepness of the line y = mx + b. Figure 2(A) shows lines through a point of varying slope m. Note the following properties:
• Steepness: The larger the absolute value |m|, the steeper the line. • Positive slope: If m > 0, the line slants upward from left to right. • Negative slope: If m < 0, the line slants downward from left to right. • f (x) = mx + b is increasing if m > 0 and decreasing if m < 0. • The horizontal line y = b has slope m = 0 [Figure 2(B)]. • A vertical line has equation x = c, where c is a constant. The slope of a vertical line
is undefined. It is not possible to write the equation of a vertical line in slope-intercept form y = mx + b. A vertical line is not the graph of a function [Figure 2(B)].
125
0.5−0.5
0
(A) Lines of varying slopes through P
−1 −2 −5
y = b (slope 0)
x = c (slope undefined)
c
b P P
(B) Horizontal and vertical lines through P
yy
xx
FIGURE 2
Scale is especially important in applications because the steepness of a graph depends
CAUTION Graphs are often plotted using different scales for the x- and y-axes. This is necessary to keep the sizes of graphs within reasonable bounds. However, when the scales are different, lines do not appear with their true slopes.
on the choice of units for the x- and y-axes. We can create very different subjective impressions by changing the scale. Figure 3 shows the growth of company profits over a 4-year period. The two plots convey the same information, but the left-hand plot makes the growth look more dramatic.
100
125
150
100 20112010 2012 2013 201420112010 2012 2013 2014
125 150 175 200 225 250 275 300
FIGURE 3 Growth of company profits.
14 C H A P T E R 1 PRECALCULUS REVIEW
Slope = m
Slope = m Slope = m
(B) Perpendicular lines (A) Parallel lines
yy
xx
Slope = − 1m
FIGURE 4 Parallel and perpendicular lines.
Next, we recall the relation between the slopes of parallel and perpendicular lines (Figure 4):
• Lines of slopes m1 and m2 are parallel if and only if m1 = m2. • Lines of slopes m1 and m2 are perpendicular if and only if
m1 = − 1
m2 (or m1m2 = −1)
CONCEPTUAL INSIGHT The increments over an interval [x1, x2]:
#x = x2 − x1, #y = f (x2) − f (x1)
are defined for any function f (linear or not), but the ratio #y/#x may depend on the interval (Figure 5). The characteristic property of a linear function f (x) = mx + b is that #y/#x has the same value m for every interval. In other words, y has a constant rate of change with respect to x. We can use this property to test if two quantities are related by a linear equation.
x
y
x
Nonlinear function: the ratio y / x changes, depending
on the interval.
Linear function: the ratio y / x is the same over
all intervals.
x
y
x
y
y
FIGURE 5
EXAMPLE 1 Testing for a Linear Relationship Do the data in Table 1 suggest a linear relation between the pressure P and temperature T of a gas?
TABLE 1
Temperature (◦C) Pressure (kPa)
40 1365.80 45 1385.40 55 1424.60 70 1483.40 80 1522.60
S E C T I O N 1.2 Linear and Quadratic Functions 15
Solution We calculate #P/#T at successive data points and check whether this ratio is constant:
(T1, P1) (T2, P2) #P
#T
(40, 1365.80) (45, 1385.40) 1385.40 − 1365.80
45 − 40 = 3.92
(45, 1385.40) (55, 1424.60) 1424.60 − 1385.40
55 − 45 = 3.92
(55, 1424.60) (70, 1483.40) 1483.40 − 1424.60
70 − 55 = 3.92
(70, 1483.40) (80, 1522.60) 1522.60 − 1483.40
80 − 70 = 3.92
Because #P/#T has the constant value 3.92, the data points lie on a line with slope m = 3.92. This is confirmed in the plot in Figure 6.
Real experimental data are unlikely to reveal perfect linearity, even if the data points do essentially lie on a line. The method of “linear regression” is used to find the linear function that best fits the data.
40 60 80
1350
1400
1450
1500
1550 Pressure (kPa)
T (°C)
FIGURE 6 Line through pressure- temperature data points.
As mentioned above, it is important to be familiar with the standard ways of writing the equation of a line. The general linear equation is
ax + by = c 1
where a and b are not both zero. For b = 0, we obtain the vertical line ax = c. When b ̸= 0, we can rewrite Eq. (1) in slope-intercept form. For example, −6x + 2y = 3 can be rewritten as y = 3x + 32 .
Two other forms we will use frequently are the point-slope and point-point forms.
(a1, b1)
(a2, b2)
b2 − b1
a2 − a1
x
y
FIGURE 7 Slope of the line between P = (a1, b1) and Q = (a2, b2) is m = b2 − b1
a2 − a1 .
Given a point P = (a, b) and a slope m, the equation of the line through P with slope m is y − b = m(x − a). Similarly, the line through two distinct points P = (a1, b1) and Q = (a2, b2) has slope (Figure 7)
m = b2 − b1 a2 − a1
Therefore, we can write its equation as y − b1 = m(x − a1).
If a = 0, point-slope form becomes slope-intercept form y = mx + b.
Additional Equations for Lines
1. Point-slope form of the line through P = (a, b) with slope m:
y − b = m(x − a)
2. Point-point form of the line through P = (a1, b1) and Q = (a2, b2):
y − b1 = m(x − a1), where m = b2 − b1 a2 − a1
16 C H A P T E R 1 PRECALCULUS REVIEW
EXAMPLE 2 Line of Given Slope Through a Given Point Find the equation of the line through (9, 2) with slope − 23 .
P = (9, 2)
x + 8y = −
2
8
x
y
9 12
2 3
FIGURE 8 Line through P = (9, 2) with slope m = − 23 .
Solution In point-slope form:
y − 2 = −2 3 (x − 9)
In slope-intercept form: y = − 23 (x − 9) + 2 or y = − 23x + 8. See Figure 8.
EXAMPLE 3 Line Through Two Points Find the equation of the line through (2, 1) and (9, 5).
Solution The line has slope
m = 5 − 1 9 − 2 =
4 7
Because (2, 1) lies on the line, its equation in point-slope form is y − 1 = 47 (x − 2).
A quadratic function is a function defined by a quadratic polynomial
f (x) = ax2 + bx + c (a, b, c, constants with a ̸= 0) The graph of f is a parabola (Figure 9). The parabola opens upward if the leading coefficient a is positive and downward if a is negative. The discriminant of f (x) is the quantity
D = b2 − 4ac The roots of f are given by the quadratic formula (see Exercise 58):
Roots of f = −b ± √
b2 − 4ac 2a
= −b ± √
D
2a
The sign of D determines whether or not f has real roots (Figure 9). If D > 0, then f has two real roots, and if D = 0, it has one real root (a “double root”). If D < 0, then
√ D is
imaginary and f has no real roots.
Two real roots a > 0 and D > 0
Double root a > 0 and D = 0
No real roots a > 0 and D < 0
Two real roots a < 0 and D > 0
xxxx
yyyy
FIGURE 9 Graphs of quadratic functions f (x) = ax2 + bx + c.
When f has two real roots r1 and r2, then f (x) factors as
f (x) = a(x − r1)(x − r2) For example, f (x) = 2x2 − 3x + 1 has discriminant D = b2 − 4ac = 9 − 8 = 1 > 0, and by the quadratic formula, its roots are (3 ± 1)/4 or 1 and 12 . Therefore,
f (x) = 2x2 − 3x + 1 = 2(x − 1) (
x − 1 2
)
The technique of completing the square consists of writing a quadratic polynomial as a multiple of a square plus a constant. Then
x2 + bx + c = x2 + bx + (
b
2
)2 −
( b
2
)2 + c =
( x + b
2
)2 −
( b
2
)2 + c
If there is a constant a multiplying the x2 term, we factor that out first, as demonstrated in the following example.
S E C T I O N 1.2 Linear and Quadratic Functions 17
EXAMPLE 4 Completing the Square Complete the square for the quadratic polyno- mial f (x) = 4x2 − 12x + 3.
Cuneiform texts written on clay tablets show that the method of completing the square was known to ancient Babylonian mathematicians who lived some 4000 years ago.
Solution First factor out the leading coefficient:
4x2 − 12x + 3 = 4 (
x2 − 3x + 3 4
)
Then complete the square for the term x2 − 3x: Ignoring air resistance, a basketball follows a parabolic path (Figure 10).
FIGURE 10
x2 − 3x = x2 − 3x + (
3 2
)2 −
( 3 2
)2 =
( x − 3
2
)2 − 9
4
Therefore,
4x2 − 12x + 3 = 4 ((
x − 3 2
)2 − 9
4 + 3
4
)
= 4 (
x − 3 2
)2 − 6
The method of completing the square can be used to find the minimum or maximum value of a quadratic function.
EXAMPLE 5 Finding the Maximum of a Quadratic Function Complete the square and find the maximum value of f (x) = −x2 + 4x + 1.
5
1
2 x
y
FIGURE 11 Graph of f (x) = −x2 + 4x + 1.
Solution We have
f (x) = −(x2 − 4x − 1) = −(x2 − 4x + 4 − 4 − 1) = −((x − 2)2 − 5) = This term is ≤ 0︷ ︸︸ ︷ −(x − 2)2 + 5
Thus, f (x) ≤ 5 for all x, and the maximum value of f is f (2) = 5 (Figure 11).
1.2 SUMMARY
• A linear function is a function of the form f (x) = mx + b. • The general equation of a line is ax + by = c. The line y = c is horizontal and x = c
is vertical. • Three convenient ways of writing the equation of a nonvertical line:
– Slope-intercept form: y = mx + b (slope m and y-intercept b) – Point-slope form: y − b = m(x − a) [slope m, passes through (a, b)] – Point-point form: The line through two points P = (a1, b1) and Q = (a2, b2) has
slope m = b2 − b1 a2 − a1
and equation y − b1 = m(x − a1).
• Two lines of slopes m1 and m2 are parallel if and only if m1 = m2, and they are perpen- dicular if and only if m1 = −1/m2.
• Quadratic function: f (x) = ax2 + bx + c. The roots are x = (−b ± √
D)/2a, where D = b2 − 4ac is the discriminant. The roots are real and distinct if D > 0, there is a double root if D = 0, and there are no real roots if D < 0.
• Completing the square consists of writing a quadratic function as a multiple of a square plus a constant.
1.2 EXERCISES
Preliminary Questions 1. What is the slope of the line y = −4x − 9? 2. Are the lines y = 2x + 1 and y = −2x − 4 perpendicular? 3. When is the line ax + by = c parallel to the y-axis? To the x-axis?
4. Suppose y = 3x + 2. What is #y if x increases by 3? 5. What is the minimum of f (x) = (x + 3)2 − 4? 6. What is the result of completing the square for f (x) = x2 + 1?
18 C H A P T E R 1 PRECALCULUS REVIEW
Exercises In Exercises 1–4, find the slope, the y-intercept, and the x-intercept of the line with the given equation.
1. y = 3x + 12 2. y = 4 − x
3. 4x + 9y = 3 4. y − 3 = 12 (x − 6) In Exercises 5–8, find the slope of the line.
5. y = 3x + 2 6. y = 3(x − 9) + 2 7. 3x + 4y = 12 8. 3x + 4y = −8
In Exercises 9–20, find the equation of the line with the given descrip- tion.
9. Slope 3, y-intercept 8
10. Slope −2, y-intercept 3 11. Slope 3, passes through (7, 9)
12. Slope −5, passes through (0, 0) 13. Horizontal, passes through (0, −2) 14. Passes through (−1, 4) and (2, 7) 15. Parallel to y = 3x − 4, passes through (1, 1) 16. Passes through (1, 4) and (12, −3) 17. Perpendicular to 3x + 5y = 9, passes through (2, 3) 18. Vertical, passes through (−4, 9) 19. Horizontal, passes through (8, 4)
20. Slope 3, x-intercept 6
21. Find the equation of the perpendicular bisector of the segment join- ing (1, 2) and (5, 4) (Figure 12). Hint: The midpoint Q of the segment
joining (a, b) and (c, d) is (
a + c 2
, b + d
2
) .
Q
(1, 2)
(5, 4)
Perpendicular bisector
x
y
FIGURE 12
22. Intercept-Intercept Form Show that if a, b ̸= 0, then the line with x-intercept x = a and y-intercept y = b has equation (Figure 13)
x
a + y
b = 1
b
a x
y
FIGURE 13
23. Find an equation of the line with x-intercept x = 4 and y-intercept y = 3.
24. Find y such that (3, y) lies on the line of slope m = 2 through (1, 4).
25. Determine whether there exists a constant c such that the line x + cy = 1: (a) has slope 4. (b) passes through (3, 1). (c) is horizontal. (d) is vertical.
26. Assume that the number N of concert tickets that can be sold at a price of P dollars per ticket is a linear function N(P ) for 10 ≤ P ≤ 40. Determine N(P ) (called the demand function) if N(10) = 500 and N(40) = 0. What is the decrease #N in the number of tickets sold if the price is increased by #P = 5 dollars?
27. Suppose that the number of a certain type of computer that can be sold when its price is P (in dollars) is given by a linear function N(P ). Determine N(P ) if N(1000) = 10,000 and N(1500) = 7,500. What is the change #N in the number of computers sold if the price is increased by #P = 100 dollars?
28. Suppose that the demand for Colin’s kidney pies is linear in the price P . Determine the demand function N as a function of P giving the number of pies sold when the price is P if he can sell 100 pies when the price is $5.00 and he can sell 40 pies when the price is $10.00. De- termine the revenue (N × P) for prices P = 5, 6, 7, 8, 9, 10 and then choose a price to maximize the revenue.
29. Materials expand when heated. Consider a metal rod of length L0 at temperature T0. If the temperature is changed by an amount #T , then the rod’s length approximately changes by #L = αL0#T , where α is the thermal expansion coefficient and #T is not an extreme temperature change. For steel, α = 1.24 × 10−5 ◦C−1. (a) A steel rod has length L0 = 40 cm at T0 = 40◦C. Find its length at T = 90◦C. (b) Find its length at T = 50◦C if its length at T0 = 100◦C is 65 cm. (c) Express length L as a function of T if L0 = 65 cm at T0 = 100◦C.
30. Do the points (0.5, 1), (1, 1.2), (2, 2) lie on a line?
31. Find b such that (2, −1), (3, 2), and (b, 5) lie on a line.
32. Find an expression for the velocity v as a linear function of t that matches the following data:
t (s) 0 2 4 6
v (m/s) 39.2 58.6 78 97.4
33. The period T of a pendulum is measured for pendulums of several different lengths L. Based on the following data, does T appear to be a linear function of L?
L (cm) 20 30 40 50
T (s) 0.9 1.1 1.27 1.42
34. Show that f is linear of slope m if and only if
f (x + h) − f (x) = mh (for all x and h)
That is to say, prove the following two statements: (a) f is linear of slope m implies that f (x + h) − f (x) = mh (for all x and h).
S E C T I O N 1.3 The Basic Classes of Functions 19
(b) f (x + h) − f (x) = mh (for all x and h) implies that f is linear of slope m.
35. Find the roots of the quadratic polynomials: (a) f (x) = 4x2 − 3x − 1 (b) f (x) = x2 − 2x − 1 In Exercises 36–43, complete the square and find the minimum or max- imum value of the quadratic function.
36. y = x2 + 2x + 5 37. y = x2 − 6x + 9
38. y = −9x2 + x 39. y = x2 + 6x + 2
40. y = 2x2 − 4x − 7 41. y = −4x2 + 3x + 8
42. y = 3x2 + 12x − 5 43. y = 4x − 12x2
44. Sketch the graph of y = x2 − 6x + 8 by plotting the roots and the minimum point.
45. Sketch the graph of y = x2 + 4x + 6 by plotting the minimum point, the y-intercept, and one other point.
46. If the alleles A and B of the cystic fibrosis gene occur in a popu- lation with frequencies p and 1 − p (where p is a fraction between 0 and 1), then the frequency of heterozygous carriers (carriers with both alleles) is 2p(1 − p). Which value of p gives the largest frequency of heterozygous carriers?
47. For which values of c does f (x) = x2 + cx + 1 have a double root? No real roots?
48. Let f be a quadratic function and c a constant. Which of the following statements is correct? Explain graphically. (a) There is a unique value of c such that y = f (x) − c has a double root. (b) There is a unique value of c such that y = f (x − c) has a double root.
49. Prove that x + 1x ≥ 2 for all x > 0. Hint: Consider (x1/2 − x−1/2)2. 50. Let a, b > 0. Show that the geometric mean
√ ab is not larger than
the arithmetic mean (a + b)/2. Hint: Use a variation of the hint given in Exercise 49.
51. If objects of weights x and w1 are suspended from the balance in Figure 14(A), the cross-beam is horizontal if bx = aw1. If the lengths a and b are known, we may use this equation to determine an unknown weight x by selecting w1 such that the cross-beam is horizontal. If a and b are not known precisely, we might proceed as follows. First balance x by w1 on the left as in (A). Then switch places and balance x by w2 on the right as in (B). The average x̄ = 12 (w1 + w2) gives an estimate for x. Show that x̄ is greater than or equal to the true weight x.
w1
(A) (B)
a
w2x x
b a b
FIGURE 14
52. Find numbers x and y with sum 10 and product 24. Hint: Find a quadratic polynomial satisfied by x.
53. Find a pair of numbers whose sum and product are both equal to 8.
54. Show that the parabola y = x2 consists of all points P such that d1 = d2, where d1 is the distance from P to
( 0, 14
) and d2 is the dis-
tance from P to the line y = − 14 (Figure 15).
d1
d2
P = (x, x2)
y = x2
1 4
1 4
−
x
y
FIGURE 15
Further Insights and Challenges 55. Show that if f and g are linear, then so is f + g. Is the same true of fg?
56. Show that if f and g are linear functions such that f (0) = g(0) and f (1) = g(1), then f = g.
57. Show that #y/#x for the function f (x) = x2 over the interval [x1, x2] is not a constant, but depends on the interval. Determine the exact dependence of #y/#x on x1 and x2.
58. Complete the square and use the result to derive the quadratic for- mula for the roots of ax2 + bx + c = 0.
59. Let a, c ̸= 0. Show that the roots of
ax2 + bx + c = 0 and cx2 + bx + a = 0
are reciprocals of each other.
60. Show, by completing the square, that the parabola
y = ax2 + bx + c
is congruent to y = ax2 by a vertical and horizontal translation. 61. Prove Viète’s Formulas: The quadratic polynomial with α and β as roots is x2 + bx + c, where b = −α − β and c = αβ.
1.3 The Basic Classes of Functions It would be impossible (and useless) to describe all possible functions f . Since the values of a function can be assigned arbitrarily, a function chosen at random would likely be so complicated that we could neither graph it nor describe it in any reasonable way. However, calculus makes no attempt to deal with all functions. The techniques of calculus, powerful
20 C H A P T E R 1 PRECALCULUS REVIEW
and general as they are, apply only to functions that are sufficiently “well-behaved” (we will see what well-behaved means when we study the derivative in Chapter 3). Fortunately, such functions are adequate for a vast range of applications.
Most of the functions considered in this text are constructed from the following familiar classes of well-behaved functions:
polynomials rational functions algebraic functions
exponential functions trigonometric functions
logarithmic functions inverse trigonometric functions
We shall refer to these as the basic functions.
• Polynomials: For any real number m, f (x) = xm is called the power function with exponent m. Power functions include f (x) = x3, f (x) = x−7 and f (x) = xπ . The base is the variable and the exponent is a constant. For now, we are interested in power functions with exponents that are positive integers. A polynomial is a sum of multiples of power functions with exponents that are positive integers or zero (making the term a constant in that case) (Figure 1):
5
2−2 −1 1 x
y
FIGURE 1 The polynomial y = x5 − 5x3 + 4x.
f (x) = x5 − 5x3 + 4x, g(t) = 7t6 + t3 − 3t − 1, h(x) = x9
Thus, the function f (x) = x + x−1 is not a polynomial because it includes a power x−1 with a negative exponent. The general polynomial P in the variable x may be written
P(x) = anxn + an−1xn−1 + · · · + a1x + a0 – The numbers a0, a1, . . . , an are called coefficients. – The degree of P is n (assuming that an ̸= 0). – The coefficient an is called the leading coefficient. – The domain of P is R.
• A rational function is a quotient of two polynomials (Figure 2):
5
−3
−2 1 x
y
FIGURE 2 The rational function
f (x) = x + 1 x3 − 3x + 2 .
f (x) = P(x) Q(x)
[P(x) and Q(x) polynomials]
The domain of f is the set of numbers x such that Q(x) ̸= 0. For example,
f (x) = 1 x2
domain {x : x ̸= 0}
h(t) = 7t 6 + t3 − 3t − 1
t2 − 1 domain {t : t ̸= ±1}
Every polynomial is also a rational function [with Q(x) = 1]. • An algebraic function is produced by taking sums, products, and quotients of roots
of polynomials and rational functions (Figure 3):
2−2 x
y
FIGURE 3 The algebraic function f (x) =
√ 1 + 3x2 − x4.
f (x) = √
1 + 3x2 − x4, g(t) = ( √
t − 2)−2, h(z) = z + z −5/3
5z3 − √z A number x belongs to the domain of f if each term in the formula is defined and
Any function that is not algebraic is called transcendental. Exponential and trigonometric functions are examples, as are the Bessel and gamma functions that appear in engineering and statistics. The term “transcendental” goes back to the 1670s, when it was used by Gottfried Wilhelm Leibniz (1646–1716) to describe functions of this type.
the result does not involve division by zero. For example, g(t) is defined if t ≥ 0 and
√ t ̸= 2, so the domain of g is D = {t : t ≥ 0 and t ̸= 4}. More generally,
algebraic functions are defined by polynomial equations between x and y. In this case, we say that y is implicitly defined as a function of x. For example, the equation y4 + 2x2y + x4 = 1 defines y implicitly as a function of x.
• Exponential functions: The function f (x) = bx , where b > 0, is called the expo- nential function with base b. Some examples are
f (x) = 2x, g(t) = 10t , h(x) = (
1 3
)x , p(t) = (
√ 5)t
S E C T I O N 1.3 The Basic Classes of Functions 21
Exponential functions and their inverses, the logarithmic functions, are treated in greater detail in Section 1.6.
• Trigonometric functions are functions built from sin x and cos x. These functions and their inverses are discussed in the next two sections.
Constructing New Functions Given functions f and g, we can construct new functions by forming the sum, difference, product, and quotient functions:
(f + g)(x) = f (x) + g(x), (f − g)(x) = f (x) − g(x)
(fg)(x) = f (x) g(x), (
f
g
) (x) = f (x)
g(x) (where g(x) ̸= 0)
For example, if f (x) = x2 and g(x) = sin x, then (f + g)(x) = x2 + sin x, (f − g)(x) = x2 − sin x
(fg)(x) = x2 sin x, (
f
g
) (x) = x
2
sin x
We can also multiply functions by constants. A function of the form
h(x) = c1f (x) + c2g(x) (c1, c2 constants) is called a linear combination of f and g.
Composition is another important way of constructing new functions. The compo- sition of f and g is the function f ◦ g defined by (f ◦ g)(x) = f (g(x)). The domain of f ◦ g is the set of values of x in the domain of g such that g(x) lies in the domain of f .
EXAMPLE 1 Compute the composite functions f ◦ g and g ◦ f and discuss their domains, where
f (x) = √x, g(x) = 1 − x Solution We haveExample 1 shows that the composition of
functions is not commutative: The functions f ◦ g and g ◦ f may be (and usually are) different.
(f ◦ g)(x) = f (g(x)) = f (1 − x) = √
1 − x The square root
√ 1 − x is defined if 1 − x ≥ 0 or x ≤ 1, so the domain of f ◦ g is
{x : x ≤ 1}. On the other hand, (g ◦ f )(x) = g(f (x)) = g(√x) = 1 − √x
The domain of g ◦ f is {x : x ≥ 0}.
Elementary Functions As noted above, we can produce new functions by applying the operations of addition,Inverse functions are discussed in Section
1.5. subtraction, multiplication, division, and composition. It is convenient to refer to a function constructed in this way from the basic functions listed above as an elementary function. The following functions are elementary:
f (x) = √
2x + sin x, f (x) = 10 √
x, f (x) = 1 + x −1
1 + cos x
Piecewise-Defined Functions We can also create new functions by piecing together functions defined over limited domains, obtaining piecewise-defined functions. One example we have already seen is the absolute value function defined by
|x| = {−x when x < 0 x when x ≥ 0
22 C H A P T E R 1 PRECALCULUS REVIEW
EXAMPLE 2 Given the function f , determine its domain, range, and whether or not it is increasing or decreasing for different values of x.
f (x) = {
1 when x < 0 x + 1 when x ≥ 0
Solution The function f appears in Figure 4. It is defined for all values of x so the domain
y = x + 1
y = 1
x
y
x < 0 x ≥ 0
FIGURE 4 A function defined piecewise. is all real numbers. However, for x < 0 the range is just the single value of 1, and for x ≥ 0 the range is all x ≥ 1. Hence, the range of the function is {x : x ≥ 1}. The function is neither increasing nor decreasing for x < 0; however, the function is increasing for x ≥ 0.
1.3 SUMMARY
• For m a real number, f (x) = xm is called the power function with exponent m. A poly- nomial P is a sum of multiples of xm, where m is a whole number:
P(x) = anxn + an−1xn−1 + · · · + a1x + a0 This polynomial has degree n (assuming that an ̸= 0) and an is called the leading coef- ficient.
• A rational function is a quotient P/Q of two polynomials (defined when Q(x) ̸= 0). • An algebraic function is produced by taking sums, products, and nth roots of polynomials
and rational functions. • Exponential function: f (x) = bx , where b > 0 (b is called the base). • The composite function f ◦ g is defined by (f ◦ g)(x) = f (g(x)). The domain of f ◦ g
is the set of x in the domain of g such that g(x) belongs to the domain of f . • The elementary functions are obtained by taking products, sums, differences, quotients,
and compositions of the basic functions, which include polynomials, rational functions, algebraic functions, exponential functions, trigonometric functions, logarithmic func- tions, and inverse trigonometric functions.
• Apiecewise-defined function is obtained by defining a function over two or more distinct domains.
1.3 EXERCISES
Preliminary Questions 1. Give an example of a rational function.
2. Is y = |x| a polynomial function? What about y = |x2 + 1|? 3. What is unusual about the domain of the composite function f ◦ g
for the functions f (x) = x1/2 and g(x) = −1 − |x|? 4. Is f (x) =
( 1 2 )x increasing or decreasing?
5. Give an example of a transcendental function.
Exercises In Exercises 1–12, determine the domain of the function.
1. f (x) = x1/4 2. g(t) = t2/3
3. f (x) = x3 + 3x − 4 4. h(z) = z3 + z−3
5. g(t) = 1 t + 2 6. f (x) =
1
x2 + 4
7. G(u) = 1 u2 − 4 8. f (x) =
√ x
x2 − 9
9. f (x) = x−4 + (x − 1)−3 10. F(s) = sin (
s
s + 1
)
11. g(y) = 10 √
y+y−1 12. f (x) = x + x −1
(x − 3)(x + 4) In Exercises 13–24, identify each of the following functions as polyno- mial, rational, algebraic, or transcendental.
13. f (x) = 4x3 + 9x2 − 8 14. f (x) = x−4
15. f (x) = √x 16. f (x) = √
1 − x2
S E C T I O N 1.4 Trigonometric Functions 23
17. f (x) = x 2
x + sin x 18. f (x) = 2 x
19. f (x) = 2x 3 + 3x
9 − 7x2 20. f (x) = 3x − 9x−1/2
9 − 7x2
21. f (x) = sin(x2) 22. f (x) = x√ x + 1
23. f (x) = x2 + 3x−1 24. f (x) = sin(3x)
25. Is f (x) = 2x2 a transcendental function?
26. Show that f (x) = x2 + 3x−1 and g(x) = 3x3 − 9x + x−2 are ra- tional functions—that is, quotients of polynomials.
In Exercises 27–34, calculate the composite functions f ◦ g and g ◦ f , and determine their domains.
27. f (x) = √x, g(x) = x + 1
28. f (x) = 1 x
, g(x) = x−4
29. f (x) = 2x , g(x) = x2
30. f (x) = |x|, g(θ) = sin θ
31. f (θ) = cos θ , g(x) = x3 + x2
32. f (x) = 1 x2 + 1 , g(x) = x
−2
33. f (t) = 1√ t
, g(t) = −t2
34. f (t) = √t , g(t) = 1 − t3
In Exercises 35–38, draw the graphs of each of the piecewise-defined functions.
35.
f (x) = {
3 when x < 0 x2 + 3 when x ≥ 0
36.
f (x) = { x + 1 when x < 0 1 − x when x ≥ 0
37.
f (x) = { x2 when x < 0 −x2 when x ≥ 0
38.
f (x) = {
2x − 2 when x < 0 x when x ≥ 0
39. The population (in millions) of a country as a function of time t (years) is P(t) = 30 · 20.1t . Show that the population doubles every 10 years. Show more generally that for any positive constants a and k, the function g(t) = a2kt doubles after 1/k years.
40. Find all values of c such that f (x) = x + 1 x2 + 2cx + 4 has domain R.
Further Insights and Challenges In Exercises 41–47, we define the first difference δf of a function f by δf (x) = f (x + 1) − f (x).
41. Show that if f (x) = x2, then δf (x) = 2x + 1. Calculate δf for f (x) = x and f (x) = x3.
42. Show that δ(10x) = 9 · 10x and, more generally, that δ(bx) = (b − 1)bx .
43. Show that for any two functions f and g, δ(f + g) = δf + δg and δ(cf ) = cδ(f ), where c is any constant.
44. Suppose we can find a function P such that δP(x) = (x + 1)k and P(0) = 0. Prove that P(1) = 1k , P(2) = 1k + 2k , and, more gener- ally, for every whole number n,
P(n) = 1k + 2k + · · · + nk 1
45. First show that
P(x) = x(x + 1) 2
satisfies δP = (x + 1). Then apply Exercise 44 to conclude that
1 + 2 + 3 + · · · + n = n(n + 1) 2
46. Calculate δ(x3), δ(x2), and δ(x). Then find a polynomial P of degree 3 such that δP = (x + 1)2 and P(0) = 0. Conclude that P(n) = 12 + 22 + · · · + n2.
47. This exercise combined with Exercise 44 shows that for all whole numbers k, there exists a polynomial P satisfying Eq. (1). The solu- tion requires the Binomial Theorem and proof by induction (see Ap- pendix C). (a) Show that δ(xk+1) = (k + 1) xk + · · · , where the dots indicate terms involving smaller powers of x. (b) Show by induction that there exists a polynomial of degree k + 1 with leading coefficient 1/(k + 1):
P(x) = 1 k + 1x
k+1 + · · ·
such that δP = (x + 1)k and P(0) = 0.
1.4 Trigonometric Functions We begin our trigonometric review by recalling the two systems of angle measurement: radians and degrees. They are best described using the relationship between angles and rotation. As is customary, we often use the lowercase Greek letter θ (“theta”) to denote angles and rotations.
24 C H A P T E R 1 PRECALCULUS REVIEW
1
(A) (B) (C) (D)
O P
Q
P
Q
θ
1O P = Q
θ = 2π θ =
1O
θ = −
P
Q
1 O
π 4
π 2
FIGURE 1 The radian measure θ of a counterclockwise rotation is the length along the unit circle of the arc traversed by P as it rotates into Q.
Figure 1(A) shows a unit circle with radius OP rotating counterclockwise into radius
rO θ
θr
FIGURE 2 On a circle of radius r , the arc traversed by a counterclockwise rotation of θ radians has length θr .
OQ. The radian measure of this rotation is the length θ of the circular arc traversed by P as it rotates into Q. On a circle of radius r , the arc traversed by a counterclockwise rotation of θ radians has length θr (Figure 2).
The unit circle has circumference 2π . Therefore, a rotation through a full circle has radian measure θ = 2π [Figure 1(B)]. The radian measure of a rotation through one- quarter of a circle is θ = 2π/4 = π/2 [Figure 1(C)] and, in general, the rotation through one-nth of a circle has radian measure 2π/n (Table 1). A negative rotation (with θ < 0) is a rotation in the clockwise direction [Figure 1(D)].
The radian measure of an angle such as ̸ POQ in Figure 1(A) is defined as the radian
TABLE 1
Rotation through Radian measure
Two full circles 4π Full circle 2π Half circle π Quarter circle 2π/4 = π/2 One-sixth circle 2π/6 = π/3
measure of a rotation that carries OP to OQ. Notice, however, that the radian measure of an angle is not unique. The rotations through θ and θ + 2π both carry OP to OQ. Therefore, θ and θ + 2π represent the same angle even though the rotation through θ + 2π takes an extra trip around the circle. In general, two radian measures represent the same an- gle if the corresponding rotations differ by an integer multiple of 2π . For example, π/4, 9π/4, and −15π/4 all represent the same angle because they differ by multiples of 2π :
π
4 = 9π
4 − 2π = −15π
4 + 4π
Every angle has a unique radian measure satisfying 0 ≤ θ < 2π . With this choice, the angle θ subtends an arc of length θr on a circle of radius r (Figure 2).
Degrees are defined by dividing the circle (not necessarily the unit circle) into 360 equal parts. A degree is 1360 of a circle. A rotation through θ degrees (denoted θ
◦) is a rotation through the fraction θ/360 of the complete circle. For example, a rotation through 90◦ is a rotation through the fraction 90360 , or
1 4 , of a circle.
As with radians, the degree measure of an angle is not unique. Two degree measures represent that same angle if they differ by an integer multiple of 360. For example, the angles −45◦ and 675◦ coincide because 675 = −45 + 2(360). Every angle has a unique degree measure θ with 0 ≤ θ < 360.
To convert between radians and degrees, remember that 2π radians is equal to 360◦.
Radians Degrees
0 0◦ π
6 30◦
π
4 45◦
π
3 60◦
π
2 90◦ Therefore, 1 radian equals 360/2π or 180/π degrees.
• To convert from radians to degrees, multiply by 180/π . • To convert from degrees to radians, multiply by π/180.
EXAMPLE 1 Convert (a) 55◦ to radians and (b) 0.5 radians to degrees.
Solution
(a) 55◦ × π 180◦
≈ 0.9599 radians (b) 0.5 radians × 180 ◦
π ≈ 28.648◦
Convention Unless otherwise stated, we always measure angles in radians.
Radian measurement is usually the better choice for mathematical purposes, but there are good practical reasons for using degrees. The number 360 has many divisors (360 = 8 · 9 · 5), and consequently, many fractional parts of the circle can be expressed as an integer number of degrees. For example, one-fifth of the circle is 72◦, two-ninths is 80◦, three-eighths is 135◦, etc.
S E C T I O N 1.4 Trigonometric Functions 25
The trigonometric functions sine and cosine can be defined in terms of right triangles. Let θ be an acute angle in a right triangle, and let us label the sides as in Figure 3. Then
a
b c
Hypotenuse
Adjacent
Opposite
θ
FIGURE 3
sin θ = b c
= opposite hypotenuse
, cos θ = a c
= adjacent hypotenuse
A disadvantage of this definition is that it makes sense only if θ lies between 0 and π/2 (because an angle in a right triangle cannot exceed π/2). However, sine and cosine can be defined for all angles in terms of the unit circle. Let P = (x, y) be the point on the unit circle corresponding to the angle θ as in Figures 4(A) and (B), and define
cos θ = x-coordinate of P , sin θ = y-coordinate of P This agrees with the right-triangle definition when 0 < θ < π2 . On the circle of radius r (centered at the origin), the point corresponding to the angle θ has coordinates
(r cos θ, r sin θ)
Furthermore, we see from Figure 4(C) that f (x) = sin θ is an odd function and f (x) = cos θ is an even function:
sin(−θ) = − sin θ, cos(−θ) = cos θ
P = (cos θ, sin θ)
x
1 y
θ
(A)
P = (cos θ, sin θ)
x y
θ
(B) (C)
(x, y)
(x, −y)
θ −θ
FIGURE 4 The unit circle definition of sine and cosine is valid for all angles θ .
Although we use a calculator to evaluate sine and cosine for general angles, the standard values listed in Figure 5 and Table 2 appear often and should be memorized.
(0, 1)
π/6 π/2π/3π/4
( ) , .32 12 ( ) , .22 .22 ( ) ,
.3 2
1 2
FIGURE 5 Four standard angles: The x- and y-coordinates of the points are cos θ and sin θ .
TABLE 2
θ 0 π
6 π
4 π
3 π
2 2π 3
3π 4
5π 6
π
sin θ 0 1 2
√ 2
2
√ 3
2 1
√ 3
2
√ 2
2 1 2
0
cos θ 1
√ 3
2
√ 2
2 1 2
0 −1 2
− √
2 2
− √
3 2
−1
The graph of y = sin θ is the familiar “sine wave” shown in Figure 6. Observe how the graph is generated by the y-coordinate of the point P = (cos θ, sin θ) moving around the unit circle.
26 C H A P T E R 1 PRECALCULUS REVIEW
1
pq qq
2p
1 y y
x
FIGURE 6 The graph of y = sin θ is generated as the point P = (cos θ, sin θ) moves around the unit circle.
1
y = sin θ
I II III IV
−1
Quadrant of unit circle
π 2π π 2π θ θ
y = cos θ
I II III IV y y
π 4
π 2
π 4
π 2
3π 4
5π 4
7π 4
3π 4
5π 4
3π 2
3π 2
7π 4
FIGURE 7 Graphs of y = sin θ and y = cos θ over one period of length 2π .
The graph of y = cos θ has the same shape but is shifted to the left π/2 units (Figure 7). The signs of sin θ and cos θ vary as P = (cos θ, sin θ) changes quadrant.
A function f is called periodic with period T if f (x + T ) = f (x) (for all x) and T is the smallest positive number with this property. The sine and cosine functions are periodicWe often write sin x and cos x, using x
instead of θ . Depending on the application, we may think of x as an angle or simply as a real number.
with period T = 2π (Figure 8) because the radian measures x and x + 2πk correspond to the same point on the unit circle for any integer k:
sin x = sin(x + 2πk), cos x = cos(x + 2πk)
y = sin x
2π−2π 4π
y = cos x
2π−2π 4π xx
y 1
y
1
FIGURE 8 Sine and cosine have period 2π .
There are four other standard trigonometric functions, each defined in terms of sin x and cos x or as ratios of sides in a right triangle (Figure 9):
a x
b c
Hypotenuse
Adjacent
Opposite
FIGURE 9
Tangent: tan x = sin x cos x
= b a , Cotangent: cot x = cos x
sin x = a
b
Secant: sec x = 1 cos x
= c a , Cosecant: csc x = 1
sin x = c
b
These functions are periodic (Figure 10):y = tan x andy = cot x have periodπ ;y = sec x and y = csc x have period 2π (see Exercise 57).
x
−1
y = csc xy = sec x
1 1
−1 xx
yy
−1
y = tan x
1
π 2π 2π 2π 2ππ−−π −π π π−π −π x
y
y = cot x
1
−1 x
y
π 2
−π 2
−π 2
π 2
−π 2
π 2
π 2
π 2
3π 2
3π 2
5π 2
3π 2
3π 2
5π 2
FIGURE 10 Graphs of the standard trigonometric functions.
S E C T I O N 1.4 Trigonometric Functions 27
EXAMPLE 2 Computing Values of Trigonometric Functions Find the values of the six trigonometric functions at x = 4π/3. Solution The point P on the unit circle corresponding to the angle x = 4π/3 lies opposite the point with angle π/3 (Figure 11). Thus, we see that (refer to Table 2)
P =
1
(− − ) , .3212
( ), .3212 4π 3
π 3
FIGURE 11
sin 4π 3
= − sin π 3
= − √
3 2
, cos 4π 3
= − cos π 3
= −1 2
The remaining values are
tan 4π 3
= sin 4π/3 cos 4π/3
= − √
3/2 −1/2 =
√ 3, cot
4π 3
= cos 4π/3 sin 4π/3
= √
3 3
sec 4π 3
= 1 cos 4π/3
= 1−1/2 = −2, csc 4π 3
= 1 sin 4π/3
= −2 √
3 3
EXAMPLE 3 Find the angles x such that sec x = 2. Solution Because sec x = 1/ cos x, we must solve cos x = 12 . From Figure 12 we see
1 2
1−
π 3 π 3
FIGURE 12 cos x = 12 for x = ±π3 that x = π/3 and x = −π/3 are solutions. We may add any integer multiple of 2π , so the general solution is x = ±π/3 + 2πk for any integer k.
EXAMPLE 4 Trigonometric Equation Solve sin 4x + sin 2x = 0 for x ∈ [0, 2π). Solution We must find the angles x such that sin 4x = − sin 2x. First, let’s determine when angles θ1 and θ2 satisfy sin θ2 = − sin θ1. Figure 13 shows that this occurs if θ2 = −θ1 or θ2 = θ1 + π . Because the sine function is periodic with period 2π ,
sin θ2 = − sin θ1 ⇔ θ2 = −θ1 + 2πk or θ2 = θ1 + π + 2πk
where k is an integer. Taking θ2 = 4x and θ1 = 2x, we see that
sin 4x = − sin 2x ⇔ 4x = −2x + 2πk or 4x = 2x + π + 2πk
The first equation gives 6x = 2πk or x = (π/3)k and the second equation gives 2x = π + 2πk or x = π/2 + πk. We obtain eight solutions in [0, 2π) (Figure 14):
x = 0, π 3
, 2π 3
, π, 4π 3
, 5π 3
and x = π 2
, 3π 2
−sin θ1
sin θ1
θ1
θ1
θ2 = −θ1θ2 = θ1 + π
FIGURE 13 sin θ2 = − sin θ1 when θ2 = −θ1 or θ2 = θ1 + π .
−1
1
y = sin 4x + sin 2x
0 2ππ x
y
5π 3
3π 2
4π 3
2π 3
π 2
π 3
FIGURE 14 Solutions of sin 4x + sin 2x = 0.
EXAMPLE 5 Sketch the graph of f (x) = 3 cos ( 2
( x + π2
)) over [0, 2π ].
Solution The graph is obtained by scaling and shifting the graph of y = cos x in three steps (Figure 15):
• Compress horizontally by a factor of 2: y = cos 2x • Shift to the left π/2 units: y = cos
( 2
( x + π
2
))
Shift left π/2 units
Compress horizontally by
a factor of 2
Expand vertically by a factor of 3
(B) y = cos 2x (periodic with period π)
(C) y = cos 2(x +
2ππ 2ππ
1
3
−1
−3
2ππ xxx
y
1
3
−1
−3
y
1
3
−1
−3
y
(A) y = cos x
2ππ x
1
3
−1
−3
y
) π2 π 2 (D) y
= 3 cos 2(x + )
π 2
π 2
π 2
FIGURE 15
28 C H A P T E R 1 PRECALCULUS REVIEW
• Expand vertically by a factor of 3: y = 3 cos (
2 ( x + π
2
))
The vertical height taken on by such a function is the amplitude. So in this last
CAUTION To shift the graph of y = cos 2x to the left π/2 units, we must replace x by x + π2 to obtain cos
( 2
( x + π2
)) . It is
incorrect to take cos ( 2x + π2
) . Note that
to shift left (in the −x direction), we add π/2. To shift right (in the +x direction), we subtract π/2, counter to what you might expect.
example, the amplitude was 3.
Trigonometric Identities A key feature of trigonometric functions is that they satisfy a large number of identities. First and foremost, sine and cosine satisfy a fundamental identity, which is equivalent to the Pythagorean Theorem:The expression (sin x)k is usually denoted
sink x. For example, sin2 x is the square of sin x. We use similar notation for the other trigonometric functions. However, we reserve sin−1 x for the inverse sine function discussed in the next section, rather than for 1sin x .
sin2 x + cos2 x = 1 1
Equivalent versions are obtained by dividing Eq. (1) by cos2 x or sin2 x:
tan2 x + 1 = sec2 x, 1 + cot2 x = csc2 x 2
Here is a list of some other commonly used identities. The identities for complementary angles are justified by Figure 16.
Basic Trigonometric Identities
Complementary angles: sin (π
2 − x
) = cos x, cos
(π 2
− x )
= sin x
Addition formulas: sin(x + y) = sin x cos y + cos x sin y cos(x + y) = cos x cos y − sin x sin y
Double-angle formulas: sin2 x = 1 2 (1 − cos 2x), cos2 x = 1
2 (1 + cos 2x)
cos 2x = cos2 x − sin2 x, sin 2x = 2 sin x cos x
Shift formulas: sin ( x + π
2
) = cos x, cos
( x + π
2
) = − sin x
EXAMPLE 6 Suppose that cos θ = 25 . Calculate tan θ in the following two cases: (a) 0 < θ < π2 and (b) π < θ < 2π .
a
b c
x
π 2
− x
FIGURE 16 For complementary angles, the sine of one angle is equal to the cosine of the complementary angle.
Solution First, using the identity cos2 θ + sin2 θ = 1, we obtain
sin θ = ± √
1 − cos2 θ = ± √
1 − 4 25
= ± √
21 5
(a) If 0 < θ < π2 , then sin θ is positive and we take the positive square root:
Opposite Hypotenuse
5
Adjacent 2 θ
21
FIGURE 17
tan θ = sin θ cos θ
= √
21/5 2/5
= √
21 2
To visualize this computation, draw a right triangle with angle θ such that cos θ = 25 as in Figure 17. The opposite side then has length
√ 21 =
√ 52 − 22 by the Pythagorean
Theorem.
(b) If π < θ < 2π , then sin θ is negative and tan θ = − √
21 2 .
We conclude this section by quoting the Law of Cosines (Figure 18), which is a generalization of the Pythagorean Theorem (see Exercise 60).
S E C T I O N 1.4 Trigonometric Functions 29
THEOREM 1 Law of Cosines If a triangle has sides a, b, and c, and θ is the angle opposite side c, then
c2 = a2 + b2 − 2ab cos θ a
b
c
θ
FIGURE 18 If θ = π/2, then cos θ = 0 and the Law of Cosines reduces to the Pythagorean Theorem.
1.4 SUMMARY
• An angle of θ radians subtends an arc of length θr on a circle of radius r . • To convert from radians to degrees, multiply by 180/π . • To convert from degrees to radians, multiply by π/180. • Unless otherwise stated, all angles in this text are given in radians. • The functions f (x) = cos θ and f (x) = sin θ are defined in terms of right triangles for
acute angles and as coordinates of a point on the unit circle for general angles (Figure 19):
1
(cos θ, sin θ)
a
c b
θ
θ
FIGURE 19
sin θ = b c
= opposite hypotenuse
, cos θ = a c
= adjacent hypotenuse
• Basic properties of sine and cosine:
– Periodicity: sin(θ + 2π) = sin θ , cos(θ + 2π) = cos θ – Parity: sin(−θ) = − sin θ , cos(−θ) = cos θ – Basic identity: sin2 θ + cos2 θ = 1
• The four additional trigonometric functions:
tan θ = sin θ cos θ
, cot θ = cos θ sin θ
, sec θ = 1 cos θ
, csc θ = 1 sin θ
1.4 EXERCISES
Preliminary Questions 1. How is it possible for two different rotations to define the same
angle?
2. Give two different positive rotations that define the angle π/4.
3. Give a negative rotation that defines the angle π/3.
4. The definition of cos θ using right triangles applies when (choose the correct answer):
(a) 0 < θ < π
2 (b) 0 < θ < π (c) 0 < θ < 2π
5. What is the unit circle definition of sin θ?
6. How does the periodicity of f (x) = sin θ and f (x) = cos θ follow from the unit circle definition?
Exercises 1. Find the angle between 0 and 2π equivalent to 13π/4.
2. Describe θ = π/6 by an angle of negative radian measure.
3. Convert from radians to degrees:
(a) 1 (b) π
3 (c)
5 12
(d) −3π 4
4. Convert from degrees to radians:
(a) 1◦ (b) 30◦ (c) 25◦ (d) 120◦
5. Find the lengths of the arcs subtended by the angles θ and φ radians in Figure 20.
4 θ = 0.9
φ = 2
FIGURE 20 Circle of radius 4.
30 C H A P T E R 1 PRECALCULUS REVIEW
6. Calculate the values of the six standard trigonometric functions for the angle θ in Figure 21.
15
8 17
θ
FIGURE 21
7. Fill in the remaining values of (cos θ, sin θ) for the points in Figure 22.
π
11π 67π
45π 33π
2
4π 3
7π 6
5π 4
5π 6
3π 4
2π 3
π 4
π 3
π 2
( ),22 22 π 6 ( ),32 12
( ), 3212
0 (1, 0)
FIGURE 22
8. Find the values of the six standard trigonometric functions at θ = 11π/6. In Exercises 9–14, use Figure 22 to find all angles between 0 and 2π satisfying the given condition.
9. cos θ = 1 2
10. tan θ = 1
11. tan θ = −1 12. csc θ = 2
13. sin x = √
3 2
14. sec t = 2
15. Fill in the following table of values:
θ π
6 π
4 π
3 π
2 2π 3
3π 4
5π 6
tan θ
sec θ
16. Complete the following table of signs:
θ sin θ cos θ tan θ cot θ sec θ csc θ
0 < θ < π
2 + +
π
2 < θ < π
π < θ < 3π 2
3π 2
< θ < 2π
17. Show that if tan θ = c and 0 ≤ θ < π/2, then cos θ = 1/ √
1 + c2. Hint: Draw a right triangle whose opposite and adjacent sides have lengths c and 1.
18. Suppose that cos θ = 13 . (a) Show that if 0 ≤ θ < π/2, then sin θ = 2
√ 2/3 and tan θ = 2
√ 2.
(b) Find sin θ and tan θ if 3π/2 ≤ θ < 2π . In Exercises 19–24, assume that 0 ≤ θ < π/2. 19. Find sin θ and tan θ if cos θ = 513 . 20. Find cos θ and tan θ if sin θ = 35 . 21. Find sin θ , sec θ , and cot θ if tan θ = 27 . 22. Find sin θ , cos θ , and sec θ if cot θ = 4. 23. Find cos 2θ if sin θ = 15 . 24. Find sin 2θ and cos 2θ if tan θ =
√ 2.
25. Find cos θ and tan θ if sin θ = 0.4 and π/2 ≤ θ < π . 26. Find cos θ and sin θ if tan θ = 4 and π ≤ θ < 3π/2. 27. Find cos θ if cot θ = 43 and sin θ < 0. 28. Find tan θ if sec θ =
√ 5 and sin θ < 0.
29. Find the values of sin θ , cos θ , and tan θ for the angles correspond- ing to the eight points on the unit circles in Figure 23(A) and (B).
(0.3965, 0.918)
(A) (B)
(0.3965, 0.918)
FIGURE 23
30. Refer to Figure 24(A). Express the functions sin θ , tan θ , and csc θ in terms of c.
31. Refer to Figure 24(B). Compute cos ψ , sin ψ , cot ψ , and csc ψ .
c 1 1
0.3
(B)(A)
θ ψ
FIGURE 24
32. Express cos ( θ + π2
) and sin
( θ + π2
) in terms of cos θ and sin θ .
Hint: Find the relation between the coordinates (a, b) and (c, d) in Figure 25.
(c, d)
(a, b)
1
θ
FIGURE 25
S E C T I O N 1.4 Trigonometric Functions 31
33. Use the addition formula to compute cos (π
3 + π4 )
exactly.
34. Use the addition formula to compute sin (π
3 − π4 )
exactly.
In Exercises 35–38, sketch the graph over [0, 2π ].
35. f (θ) = 2 sin 4θ 36. f (θ) = cos (
2 ( θ − π
2
))
37. f (θ) = cos (
2θ − π 2
)
38. f (θ) = sin (
2 ( θ − π
2
) + π
) + 2
39. Determine a function that would have a graph as in Figure 26(A), stating the period and amplitude.
(A)
−3
3
π 2π 3π−π x
y
−2
2
π x
y
(B)
−π 3
π 3 3
2π
FIGURE 26
40. Determine a function that would have a graph as in Figure 26(B), stating the period and amplitude.
41. How many points lie on the intersection of the horizontal line y = c and the graph of y = sin x for 0 ≤ x < 2π? Hint: The answer depends on c.
42. How many points lie on the intersection of the horizontal line y = c and the graph of y = tan x for 0 ≤ x < 2π? In Exercises 43–46, solve for 0 ≤ θ < 2π (see Example 4). 43. sin 2θ + sin 3θ = 0 44. sin θ = sin 2θ
45. cos 4θ + cos 2θ = 0 46. sin θ = cos 2θ In Exercises 47–56, derive the identity using the identities listed in this section.
47. cos 2θ = 2 cos2 θ − 1 48. cos2 θ 2
= 1 + cos θ 2
49. sin θ
2 =
√ 1 − cos θ
2 50. sin(θ + π) = − sin θ
51. cos(θ + π) = − cos θ 52. tan x = cot (π
2 − x
)
53. tan(π − θ) = − tan θ 54. tan 2x = 2 tan x 1 − tan2 x
55. tan x = sin 2x 1 + cos 2x
56. sin2 x cos2 x = 1 − cos 4x 8
57. Use Exercises 50 and 51 to show that tan θ and cot θ are periodic with period π .
58. Use the identity of Exercise 48 to show that cos π8 is equal to√ 1 2
+ √
2 4
.
59. Use the Law of Cosines to find the distance from P to Q in Fig- ure 27.
8
10
P
Q
7π/9
FIGURE 27
Further Insights and Challenges 60. Use Figure 28 to derive the Law of Cosines from the Pythagorean Theorem.
a
θ
b c
a − b cos θ FIGURE 28
61. Use the addition formula to prove
cos 3θ = 4 cos3 θ − 3 cos θ
62. Use the addition formulas for sine and cosine to prove
tan(a + b) = tan a + tan b 1 − tan a tan b
cot(a − b) = cot a cot b + 1 cot b − cot a
63. Let θ be the angle between the line y = mx + b and the x-axis [Figure 29(A)]. Prove that m = tan θ .
y = mx + b
θ x
r
s
(A)
y
θ x
(B)
y L2
L1
FIGURE 29
64. Let L1 and L2 be the lines of slopem1 and m2 [Figure 29(B)]. Show
that the angle θ between L1 and L2 satisfies cot θ = m2m1 + 1 m2 − m1
.
65. Perpendicular Lines Use Exercise 64 to prove that two lines with nonzero slopes m1 and m2 are perpendicular if and only if m2 = −1/m1. 66. Apply the double-angle formula to prove:
(a) cos π
8 = 1
2
√ 2 +
√ 2
(b) cos π
16 = 1
2
√ 2 +
√ 2 +
√ 2
Guess the values of cos π
32 and of cos
π
2n for all n.
32 C H A P T E R 1 PRECALCULUS REVIEW
1.5 Inverse Functions Many important functions, such as logarithms, roots, and the arcsine, are defined as inverse
D
f
f −1
R
FIGURE 1 A function and its inverse.
functions. In this section, we review inverse functions and their graphs, and we discuss the inverse trigonometric functions.
The inverse of f , denoted f −1, is the function that reverses the effect of f (Figure 1). For example, the inverse of f (x) = x3 is the cube root function f −1(x) = x1/3. Given a table of function values for f , we obtain a table for f −1 by interchanging the x and yIn general, f −1(x) ̸= 1
f (x) . The expression
f −1(x) is simply a notation for the inverse function, and the ‘−1’ does not represent an exponent.
columns, assuming the resulting f −1 is a function:
Function
x f (x) = x3
−2 −8 −1 −1
0 0 1 1 2 8 3 27
(Interchange columns) /⇒
Inverse
x f −1(x) = x1/3
−8 −2 −1 −1
0 0 1 1 8 2
27 3
If we apply both f and f −1 to a number x in either order, we get back x. For instance,
Apply f and then f −1: 2 (Apply x3)−→ 8 (Apply x
1/3)−→ 2
Apply f −1 and then f : 8 (Apply x1/3)−→ 2 (Apply x
3)−→ 8
This property is used in the formal definition of the inverse function.
REMINDER The “domain” is the set of numbers x such that f (x) is defined (the set of allowable inputs), and the “range” is the set of all values f (x) (the set of outputs).
DEFINITION Inverse Let f have domain D and range R. If there is a function g with domain R such that
g ( f (x)
) = x for x ∈ D and f
( g(x)
) = x for x ∈ R
then f is said to be invertible. The function g is called the inverse function and is denoted f −1.
EXAMPLE 1 Show that f (x) = 2x − 18 is invertible. What are the domain and range of f −1?
Solution We show that f is invertible by computing the inverse function in two steps.
Step 1. Solve the equation y = f (x) for x in terms of y.
y = 2x − 18 y + 18 = 2x
x = 1 2 y + 9
This gives us the inverse as a function of the variable y: f −1(y) = 12y + 9. Step 2. Interchange variables.
We usually prefer to write the inverse as a function of x, so we interchange the roles of x and y (Figure 2):
x
y
y = f (x) = 2x − 18
−18
−18
y = f −1(x) = x + 91 2
FIGURE 2 f −1(x) = 1
2 x + 9
S E C T I O N 1.5 Inverse Functions 33
To check our calculation, let’s verify that f −1(f (x)) = x and f (f −1(x)) = x:
f −1 ( f (x)
) = f −1(2x − 18) = 1
2 (2x − 18) + 9 = (x − 9) + 9 = x
f ( f −1(x)
) = f
( 1 2 x + 9
) = 2
( 1 2 x + 9
) − 18 = (x + 18) − 18 = x
Because f −1 is a linear function, its domain and range are R.
The inverse function, if it exists, is unique. However, some functions do not have an inverse. Consider f (x) = x2. When we interchange the columns in a table of values (which should give us a table of values for f −1), the resulting table does not define a function:
Function
x f (x) = x2
−2 4 −1 1
0 0 1 1 2 4
(Interchange columns) /⇒
Inverse (?)
x f −1(x)
4 −2 1 −1 0 0 1 1 4 2
⎫ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎬
⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎭
f −1(1) has two values: 1 and −1.
The problem is that every positive number occurs twice as an output of f (x) = x2. For example, 1 occurs twice as an output in the first table and therefore occurs twice as an input in the second table. So the second table gives us two possible values for f −1(1), namely f −1(1) = 1 and f −1(1) = −1. Neither value satisfies the inverse property. For instance, if we set f −1(1) = 1, then f −1(f (−1)) = f −1(1) = 1, but an inverse would have to satisfy f −1(f (−1)) = −1.
So when does a function f have an inverse? The answer is: If f is one-to-one, which means that f takes on each value at most once (Figure 3). Here is the formal definition:
Another standard term for one-to-one is injective.
DEFINITION One-to-One Function A function f is one-to-one on a domain D if, for every value c, the equation f (x) = c has at most one solution for x ∈ D. Or, equivalently, if for all a, b ∈ D,
f (a) ̸= f (b) unless a = b
f (x) = c has at most one solution for all c
aca
One-to-one
f (x) = c has two solutions: x = a and x = a
a´
´
c
Not one-to-one
FIGURE 3 A one-to-one function takes on each value at most once.
When f is one-to-one on its domain D, the inverse function f −1 exists and its do-Think of a function as a device for “labeling” members of the range by members of the domain. When f is one-to-one, this labeling is unique and f −1 maps each number in the range back to its label.
main is equal to the range R of f (Figure 4). Indeed, for every c ∈ R, there is precisely one element a ∈ D such that f (a) = c and we may define f −1(c) = a. With this defini- tion, f (f −1(c)) = f (a) = c and f −1(f (a)) = f −1(c) = a. This proves the following theorem.
THEOREM 1 Existence of Inverses The inverse function f −1 exists if and only if f is one-to-one on its domain D. Furthermore,
• Domain of f = range of f −1. • Range of f = domain of f −1.
34 C H A P T E R 1 PRECALCULUS REVIEW
a cDomain of f = range of f −1 f −1
f
Range of f = domain of f −1
FIGURE 4 In passing from f to f −1, the domain and range are interchanged.
EXAMPLE 2 Show that f (x) = 3x + 2 5x − 1 is invertible. Determine the domain and
range of f and f −1.
Solution The domain of f is D = { x : x ̸= 15
} (Figure 5). Assume that x ∈ D, and let’s
solve y = f (x) for x in terms of y: 3 5
1 5
x
y
FIGURE 5 Graph of f (x) = 3x + 2 5x − 1 .
y = 3x + 2 5x − 1
y(5x − 1) = 3x + 2
5xy − y = 3x + 2
5xy − 3x = y + 2 (gather terms involving x)
x(5y − 3) = y + 2 (factor out x in order to solve for x) 1
x = y + 2 5y − 3 (divide by 5y − 3) 2
The last step is valid if 5y − 3 ̸= 0—that is, if y ̸= 35 . But note that y = 35 is not in the Often, it is impossible to find a formula for the inverse because we cannot solve for x explicitly in the equation y = f (x). For example, the function f (x) = x + ex has an inverse, but we must make do without an explicit formula for it.
range of f . For if it were, Eq. (1) would yield the false equation 0 = 35 + 2. Now Eq. (2) shows that for all y ̸= 35 there is a unique value x such that f (x) = y. Therefore, f is one- to-one on its domain. By Theorem 1, f is invertible. The range of f is R =
{ x : x ̸= 35
}
and
f −1(x) = x + 2 5x − 3
The inverse function has domain R and range D.
We can tell whether f is one-to-one from its graph. The horizontal line y = c intersects the graph of f at points (a, f (a)), where f (a) = c (Figure 6). There is at most one such
x
y
(a, f (a))
y = f (x)
y = c
a
FIGURE 6 The line y = c intersects the graph at points where f (a) = c.
point if f (x) = c has at most one solution. This gives us the
Horizontal Line Test A function f is one-to-one if and only if every horizontal line intersects the graph of f in at most one point.
In Figure 7, we see that f (x) = x3 passes the Horizontal Line Test and therefore is one-to-one, whereas f (x) = x2 fails the test and is not one-to-one.
EXAMPLE 3 Increasing Functions Are One-to-One Show that increasing functions are one-to-one. Then show that f (x) = x5 + 4x + 3 is one-to-one. Solution An increasing function satisfies f (a) < f (b) if a < b. Therefore, f cannot take on any value more than once, and thus f is one-to-one. Note similarly that decreasing functions are one-to-one.
Now observe that
• If n is odd and c > 0, then cxn is increasing. • A sum of increasing functions is increasing.
S E C T I O N 1.5 Inverse Functions 35
y y
x
x
b
b1/3 b
(A) f (x) = x3 is one-to-one. (B) f (x) = x2 is not one-to-one.
− b b
FIGURE 7
Thus, x5, 4x, and hence the sum x5 + 4x are increasing. It follows that the function f (x) = x5 + 4x + 3 is increasing and therefore one-to-one (Figure 8). However, determining an explicit formula for its inverse would be difficult.
We can make a function one-to-one by restricting its domain suitably.
f (x) = x5 + 4x + 3 x
y
2
30
−2
FIGURE 8 The increasing function f (x) = x5 + 4x + 3 satisfies the Horizontal Line Test.
EXAMPLE 4 Restricting the Domain Find a domain on which f (x) = x2 is one-to- one and determine its inverse on this domain.
Solution The function f (x) = x2 is one-to-one on the domain D = {x : x ≥ 0}, for if
One-to-one for x ≥ 0
x
y
2
2
4
1−2 −1
FIGURE 9 f (x) = x2 satisfies the Horizontal Line Test on the domain {x : x ≥ 0}.
a2 = b2 where a and b are both nonnegative, then a = b (Figure 9). The inverse of f on D is the positive square root f −1(x) = √x. Alternatively, we may restrict f to the domain {x : x ≤ 0}, on which the inverse function is f −1(x) = −√x.
Next we describe the graph of the inverse function. The reflection of a point (a, b) through the line y = x is defined to be the point (b, a) (Figure 10). Note that if the x- and y-axes are drawn to the same scale, then (a, b) and (b, a) are equidistant from the line y = x and the segment joining them is perpendicular to y = x.
The graph of f −1 is the reflection of the graph of f through y = x (Figure 11). To check this, note that (a, b) lies on the graph of f if f (a) = b. But f (a) = b if and only if f −1(b) = a, and in this case, (b, a) lies on the graph of f −1.
y = x
x
y
(a, b)
(b, a)
FIGURE 10 The reflection (a, b) through the line y = x is the point (b, a).
x
y
y =
y =
y =
x(b, a)
(a, b)
f −1(x)
f (x)
FIGURE 11 The graph of f −1 is the reflection of the graph of f through the line y = x.
EXAMPLE 5 Sketching the Graph of the Inverse Sketch the graph of the inverse of f (x) =
√ 4 − x.
Solution Let g(x) = f −1(x). Observe that f has domain {x : x ≤ 4} and range {x : x ≥ 0}. We do not need a formula for g(x) to draw its graph. We simply reflect the graph of f through the line y = x as in Figure 12. If desired, however, we can easily solve y =
√ 4 − x to obtain x = 4 − y2 and thus g(x) = 4 − x2 with domain {x : x ≥ 0}.
x
y g(x) = f −1(x) = 4 − x2
2 4 −2
4
2 f (x) = 4 − x
y = x
FIGURE 12 Graph of the inverse g of g(x) =
√ 4 − x.
36 C H A P T E R 1 PRECALCULUS REVIEW
Inverse Trigonometric Functions
We have seen that the inverse function f −1 exists if and only if f is one-to-one on its domain. Because the trigonometric functions are not one-to-one, we must restrict their domains to define their inverses.
First consider the sine function. Figure 13 shows that f (θ) = sin θ is one-to-one onDo not confuse the inverse sin−1 x with the reciprocal
(sin x)−1 = 1 sin x
= csc x
The inverse functions sin−1 x, cos−1 x, . . . are often denoted arcsin x, arccos x, etc.
[ −π2 , π2
] . With this interval as domain, the inverse is called the arcsine function and is
denoted θ = sin−1 x or θ = arcsin x. By definition,
θ = sin−1 x is the unique angle in [ −π
2 , π
2
] such that sin θ = x
− θ
f (θ) = sin θ 1
−1
1
−1
sin θ with restricted domain
θ
θ
θ = sin−1 x
1 x
−1π 2
−π 2
π 2
π 2
−π 2
π 2
y y
FIGURE 13
The range of f (x) = sin x is [−1, 1], so f −1(x) = sin−1 x has domain [−1, 1]. A table
Summary of inverse relation between the sine and arcsine functions:
sin(sin−1 x) = x for −1 ≤ x ≤ 1
sin−1(sin θ) = θ for −π 2
≤ θ ≤ π 2
of values for the arcsine (Table 1) is obtained by reversing the columns in a table of values for sin x.
TABLE 1
x −1 − √
3 2 −
√ 2
2 − 12 0 12 √
2 2
√ 3
2 1
θ = sin−1 x −π2 −π3 −π4 −π6 0 π6 π4 π3 π2
EXAMPLE 6 (a) Show that sin−1 ( sin
( π 4
)) = π4 .
(b) Explain why sin−1 ( sin
( 5π 4
)) ̸= 5π4 .
Solution The equation sin−1(sin θ) = θ is valid only if θ lies in [ −π2 , π2
] .
(a) Because π4 lies in the required interval, sin −1 (sin
( π 4
)) = π4 .
(b) Let θ = sin−1 ( sin
( 5π 4
)) . By definition, θ is the angle in
[ −π2 , π2
] such that sin θ =
sin ( 5π
4
) . By the identity sin θ = sin(π − θ) (Figure 14),
−
y
x 5π 4
π 4
FIGURE 14 sin ( 5π
4 )
= sin ( −π4
) .
sin (
5π 4
) = sin
( π − 5π
4
) = sin
( −π
4
)
The angle −π4 lies in the required interval, so θ = sin−1 ( sin
( 5π 4
)) = −π4 .
The cosine function is one-to-one on [0, π ] rather than [ −π2 , π2
] (Figure 15). With
this domain, the inverse is called the arccosine function and is denoted θ = cos−1 x or θ = arccos x. It has domain [−1, 1]. By definition,
Summary of inverse relation between the cosine and arccosine:
cos(cos−1 x) = x for −1 ≤ x ≤ 1
cos−1(cos θ) = θ for 0 ≤ θ ≤ π θ = cos −1 x is the unique angle in [0, π ] such that cos θ = x
When we study the calculus of inverse trigonometric functions in Section 3.8, we will need to simplify composite expressions such as cos(sin−1 x) and tan(sin−1 x). This can be done in two ways: by referring to the appropriate right triangle or by using trigonometric identities.
S E C T I O N 1.5 Inverse Functions 37
cos θ with restricted domain
θ 2ππ
1
−1
θ
θ π
1
−1
1
π
θ = cos−1 x
x −1
f (θ) = cos θ
FIGURE 15
EXAMPLE 7 Find an alternative form in terms of x for each of cos(sin−1 x) and tan(sin−1 x).
Solution This problem asks for the values of cos θ and tan θ at the angle θ = sin−1 x. Consider a right triangle with hypotenuse of length 1 and angle θ such that sin θ = x, as in Figure 16. By the Pythagorean Theorem, the adjacent side has length
√ 1 − x2. Now
θ
1 x
.1 − x2 FIGURE 16 Right triangle constructed such that sin θ = x.
we can read off the values from Figure 16:
cos(sin−1 x) = cos θ = adjacent hypotenuse
= √
1 − x2
tan(sin−1 x) = tan θ = opposite adjacent
= x√ 1 − x2
Alternatively, we may argue using trigonometric identities. Because sin θ = x,
cos(sin−1 x) = cos θ = √
1 − sin2 θ = √
1 − x2
We are justified in taking the positive square root in either approach because θ = sin−1 x lies in
[ −π2 , π2
] and cos θ is positive in this interval.
We now address the remaining trigonometric functions. The function f (θ) = tan θ is one-to-one on
( −π2 , π2
) , and f (θ) = cot θ is one-to-one on (0, π) (see Figure 10 in
Section 1.4). We define their inverses by restricting them to these domains:
θ = tan−1 x is the unique angle in ( −π
2 , π
2
) such that tan θ = x
θ = cot−1 x is the unique angle in (0, π) such that cot θ = x
The range of both f (θ) = tan θ and f (θ) = cot θ is the set of all real numbers R. There- fore, θ = tan−1 x and θ = cot−1 x have domain R (Figure 17).
x
y
π
y = tan−1 x
y = cot−1 x
y
x
−
π 2
π 2
π 2
FIGURE 17
The function f (θ) = sec θ is not defined at θ = π2 , but we see in Figure 18 that it is one-to-one on both
[ 0, π2
) and
( π 2 , π
] . Similarly, f (θ) = csc θ is not defined at θ = 0,
but it is one-to-one on [ −π2 , 0
) and
( 0, π2
] . We define the inverse functions as follows:
θ = sec−1 x is the unique angle in [ 0,
π
2
) ∪
(π 2
, π ]
such that sec θ = x
θ = csc−1 x is the unique angle in [ −π
2 , 0
) ∪
( 0,
π
2
] such that csc θ = x
38 C H A P T E R 1 PRECALCULUS REVIEW
Figure 18 shows that the range of f (θ) = sec θ is the set of real numbers x such that |x| ≥ 1. The same is true of f (θ) = csc θ . It follows that both θ = sec−1 x and θ = csc−1 x have domain {x : |x| ≥ 1}.
π
π
x
θ = sec−1 x
f (θ) = sec θ
θ −
1
1−1
−1
θ
π 2
−π 2
π 2π
2
FIGURE 18 f (θ) = sec θ is one-to-one on the interval [0, π ] with π2 removed.
1.5 SUMMARY
• A function f is one-to-one on a domain D if for every value c, the equation f (x) = c has at most one solution for x ∈ D, or, equivalently, if for all a, b ∈ D, f (a) ̸= f (b) unless a = b.
• Let f have domain D and range R. The inverse f −1 (if it exists) is the unique function with domain R and range D satisfying f (f −1(x)) = x and f −1(f (x)) = x.
• The inverse of f exists if and only if f is one-to-one on its domain. • To find the inverse function, solve y = f (x) for x in terms of y to obtain x = g(y). The
inverse is the function g. • Horizontal Line Test: f is one-to-one if and only if every horizontal line intersects the
graph of f in at most one point. • The graph of f −1 is obtained by reflecting the graph of f through the line y = x. • The arcsine and arccosine are defined for −1 ≤ x ≤ 1:
θ = sin−1 x is the unique angle in [ −π
2 , π
2
] such that sin θ = x
θ = cos−1 x is the unique angle in [0, π ] such that cos θ = x • tan−1 x and cot−1 x are defined for all x:
θ = tan−1 x is the unique angle in ( −π
2 , π
2
) such that tan θ = x
θ = cot−1 x is the unique angle in (0, π) such that cot θ = x • sec−1 x and csc−1 x are defined for |x| ≥ 1:
θ = sec−1 x is the unique angle in [ 0,
π
2
) ∪
(π 2
, π ]
such that sec θ = x
θ = csc−1 x is the unique angle in [ −π
2 , 0
) ∪
( 0,
π
2
] such that csc θ = x
1.5 EXERCISES
Preliminary Questions 1. Which of the following satisfy f −1(x) = f (x)?
(a) f (x) = x (b) f (x) = 1 − x (c) f (x) = 1 (d) f (x) = √x (e) f (x) = |x| (f) f (x) = x−1
2. The function f maps teenagers in the United States to their last names. Explain why the inverse function f −1 does not exist.
3. The following fragment of a train schedule for the New Jersey Tran- sit System defines a function f from towns to times. Is f one-to-one?
S E C T I O N 1.5 Inverse Functions 39
What is f −1(6:27)?
Trenton 6:21
Hamilton Township 6:27
Princeton Junction 6:34
New Brunswick 6:38
4. A homework problem asks for a sketch of the graph of the inverse of f (x) = x + cos x. Frank, after trying but failing to find a formula
for f −1(x), says it’s impossible to graph the inverse. Bianca hands in an accurate sketch without solving for f −1. How did Bianca complete the problem?
5. Which of the following quantities is undefined?
(a) sin−1 ( − 12
) (b) cos−1(2)
(c) csc−1 ( 1
2 )
(d) csc−1(2)
6. Give an example of an angle θ such that cos−1(cos θ) ̸= θ . Does this contradict the definition of inverse function?
Exercises 1. Show that f (x) = 7x − 4 is invertible and find its inverse. 2. Is f (x) = x2 + 2 one-to-one? If not, describe a domain on which
it is one-to-one.
3. What is the largest interval containing zero on which f (x) = sin x is one-to-one?
4. Show that f (x) = x − 2 x + 3 is invertible and find its inverse.
(a) What is the domain of f ? The range of f −1? (b) What is the domain of f −1? The range of f ?
5. Verify that f (x) = x3 + 3 and g(x) = (x − 3)1/3 are inverses by showing that f (g(x)) = x and g(f (x)) = x.
6. Repeat Exercise 5 for f (t) = t + 1 t − 1 and g(t) =
t + 1 t − 1 .
7. The escape velocity from a planet of radius R is v(R) = √
2GM R
,
where G is the universal gravitational constant and M is the mass. Find the inverse of v(R) expressing R in terms of v.
In Exercises 8–15, find a domain on which f is one-to-one and a for- mula for the inverse of f restricted to this domain. Sketch the graphs of f and f −1.
8. f (x) = 3x − 2 9. f (x) = 4 − x
10. f (x) = 1 x + 1 11. f (x) =
1 7x − 3
12. f (s) = 1 s2
13. f (x) = 1√ x2 + 1
14. f (z) = z3 15. f (x) = √
x3 + 9 16. For each function shown in Figure 19, sketch the graph of the inverse (restrict the function’s domain if necessary).
x
(A)
y
x
(F)
y
x (B)
y
x
(D)
y
x (C)
y
x
(E)
y
FIGURE 19
17. Which of the graphs in Figure 20 is the graph of a function satis- fying f −1 = f ?
(A) x
(B)
y
x (D)
y
(C)
x
y
x
y
FIGURE 20
18. Let n be a nonzero integer. Find a domain on which f (x) = (1 − xn)1/n coincides with its inverse. Hint: The answer depends on whether n is even or odd.
19. Let f (x) = x7 + x + 1. (a) Show that f −1 exists (but do not attempt to find it). Hint: Show that f is increasing.
(b) What is the domain of f −1? (c) Find f −1(3).
20. Show that f (x) = (x2 + 1)−1 is one-to-one on (−∞, 0], and find a formula for f −1 for this domain of f .
21. Let f (x) = x2 − 2x. Determine a domain on which f −1 exists, and find a formula for f −1 for this domain of f .
22. Show that f (x) = x + x−1 is one-to-one on [1, ∞), and find the corresponding inverse f −1. What is the domain of f −1?
For each of the piecewise-defined functions in Exercises 23–26, deter- mine whether or not the function is one-to-one, and if it is, determine its inverse function.
23.
f (x) = { x when x < 0 2x when x ≥ 0
40 C H A P T E R 1 PRECALCULUS REVIEW
24.
g(x) = {−x when x < −1 x when x ≥ −1
25.
f (x) = { x2 when x < 0 x when x ≥ 0
26.
g(x) = { x when x < 0 x2 when x ≥ 0
In Exercises 27–32, evaluate without using a calculator.
27. cos−1 1 28. sin−1 1 2
29. cot−1 1 30. sec−1 2√ 3
31. tan−1 √
3 32. sin−1(−1) In Exercises 33–42, compute without using a calculator.
33. sin−1 (
sin π
3
) 34. sin−1
( sin
4π 3
)
35. cos−1 (
cos 3π 2
) 36. sin−1
( sin
( −5π
6
))
37. tan−1 (
tan 3π 4
) 38. tan−1(tan π)
39. sec−1(sec 3π) 40. sec−1 (
sec 3π 2
)
41. csc−1 ( csc(−π)
) 42. cot−1
( cot
( −π
4
))
In Exercises 43–46, simplify by referring to the appropriate triangle or trigonometric identity.
43. tan(cos−1 x) 44. cos(tan−1 x)
45. cot(sec−1 x) 46. cot(sin−1 x)
In Exercises 47–54, refer to the appropriate triangle or trigonometric identity to compute the given value.
47. cos ( sin−1 23
) 48. tan
( cos−1 23
)
49. tan ( sin−1 0.8
) 50. cos
( cot−1 1
)
51. cot ( csc−1 2
) 52. tan
( sec−1(−2)
)
53. cot ( tan−1 20
) 54. sin
( csc−1 20
)
Further Insights and Challenges 55. Show that if f is odd and f −1 exists, then f −1 is odd. Show, on the other hand, that an even function does not have an inverse.
56. A cylindrical tank of radius R and length L lying horizontally as in Figure 21 is filled with oil to height h. Show that the volume V (h) of oil in the tank as a function of height h is
V (h) = L (
R2 cos−1 (
1 − h R
) − (R − h)
√ 2hR − h2
)
h
L
R
FIGURE 21 Oil in the tank has level h.
1.6 Exponential and Logarithmic Functions An exponential function is a function of the form f (x) = bx , where b > 0 and b ̸= 1. The number b is called the base. Some examples are f (x) = 2x , g(x) = (1.4)x , and h(x) = 10x . The case b = 1 is excluded because f (x) = 1x is a constant function. Calculators give good decimal approximations to values of exponential functions:
24 = 16, 2−3 = 0.125, (1.4)0.8 ≈ 1.309, 104.6 ≈ 39,810.717
Three properties of exponential functions should be singled out from the start (see Figure 1 for the case b = 2):
• Exponential functions are positive: bx > 0 for all x. • The range of f (x) = bx is the set of all positive real numbers. • f (x) = bx is increasing if b > 1 and decreasing if 0 < b < 1. If b > 1, the exponential function f (x) = bx is not merely increasing but is, in a
certain sense, rapidly increasing. Although the term “rapid increase” is perhaps subjective, the following precise statement is true: f (x) = bx increases more rapidly than the power function g(x) = xn for all n (we will prove this in Section 4.5). For example, Figure 2
S E C T I O N 1.6 Exponential and Logarithmic Functions 41
x
y
21−2 −1
4
1
x
y
21−2 −1
4
1
y = 2x is increasing y = ( )x is decreasing
y = 2x
1 2
y = ( )x12
FIGURE 1
xxx
yyy 3x
3x 3x
x3
x4 x5
1 000,051000,051000,05
010101
f (x) =
g(x) =
f (x) = g(x) = g(x) =
f (x) =
FIGURE 2 Comparison of f (x) = 3x and power functions.
shows that f (x) = 3x eventually overtakes and increases faster than the power functions g(x) = x3, g(x) = x4, and g(x) = x5. Table 1 compares f (x) = 3x and g(x) = x5.
We now review the Laws of Exponents. The most important law is
TABLE 1
x x5 3x
1 1 3 5 3125 243
10 100,000 59,049 15 759,375 14,348,907 25 9,765,625 847,288,609,443
bxby = bx+y
In other words, under multiplication, the exponents add, provided that the bases are the
Gordon Moore (1929– ). Moore, who later became chairman of Intel Corporation, predicted that in the decades following 1965, the number of transistors per integrated circuit would grow “exponentially.” This prediction has held up for nearly five decades and may well continue for several more years. Moore has said, “Moore’s Law is a term that got applied to a curve I plotted in the mid-sixties showing the increase in complexity of integrated circuits versus time. It’s been expanded to include a lot more than that, and I’m happy to take credit for all of it.” (AP Photo/Paul Sakuma)
same. This law does not apply to a product such as 32 · 54.
Laws of Exponents (b > 0)
Rule Example
Exponent zero b0 = 1 Products bxby = bx+y 25 · 23 = 25+3 = 28
Quotients bx
by = bx−y 4
7
42 = 47−2 = 45
Negative exponents b−x = 1 bx
3−4 = 1 34
= 1 81
Power to a power ( bx
)y = bxy
( 32
)4 = 32(4) = 38
Roots b1/n = n √
b 51/2 = √
5
EXAMPLE 1 Rewrite as a whole number or fraction: Be sure you are familiar with the Laws of Exponents. They are used throughout calculus.
(a) 16−1/2 (b) 272/3 (c) 416 · 4−18 (d) 9 3
37
Solution
(a) 16−1/2 = 1 161/2
= 1√ 16
= 1 4
(b) 272/3 = ( 271/3
)2 = 32 = 9
(c) 416 · 4−18 = 4−2 = 1 42
= 1 16
(d) 93
37 =
( 32
)3
37 = 3
6
37 = 3−1 = 1
3
42 C H A P T E R 1 PRECALCULUS REVIEW
In the next example, we use the fact that f (x) = bx is one-to-one. In other words, if bx = by , then x = y.
EXAMPLE 2 Solve for the unknown:
(a) 23x+1 = 25 (b) b3 = 56 (c) 7t+1 = (
1 7
)2t
Solution
(a) If 23x+1 = 25, then 3x + 1 = 5 and thus x = 43 . (b) Raise both sides of b3 = 56 to the 13 power. By the “power to a power” rule,
b = ( b3
)1/3 = ( 56
)1/3 = 56/3 = 52 = 25
(c) Since 17 = 7−1, the right-hand side of the equation is ( 1
7
)2t = (7−1)2t = 7−2t . The equation becomes 7t+1 = 7−2t . Therefore, t + 1 = −2t , or t = − 13 .
The Number e In Chapter 3, we will use calculus to study exponential functions. One of the surprisingAlthough written references to the number
π go back more than 4000 years, mathematicians first became aware of the special role played by e in the seventeenth century. The notation e was introduced by Leonhard Euler, who discovered many fundamental properties of this important number.
insights of calculus is that the most convenient or “natural” base for an exponential function is not b = 10 or b = 2, as one might think at first, but rather a certain irrational number, denoted by e, whose value is approximately e ≈ 2.718. A calculator is used to evaluate specific values of f (x) = ex . For example,
e3 ≈ 20.0855, e−1/4 ≈ 0.7788
In calculus, when we speak of the exponential function, it is understood that the base is e. Another common notation for ex is exp(x).
How is e defined? There are many different definitions, but they all rely on the calculus concept of a limit. We shall discuss one way of defining e in Section 3.2.Another definition is described in Example 4 of Section 1.7. For now, we mention the following two graphical descriptions:
• Using Figure 3(A): Among all exponential functions y = bx , b = e is the unique base for which the slope of the tangent line to the graph at (0, 1) is equal to 1.
• Using Figure 3(B): The number e is the unique number such that the area of the region under the hyperbola y = 1/x for 1 ≤ x ≤ e is equal to 1.
(0, 1)
(A) (B)
y = x + 1
y = ex
Region has area 1
Tangent line has slope 1
1 2 x
2 41 e 3 x
4
3
2
y
4
3
2
1
y
y = 1x
FIGURE 3
From these descriptions it is not clear why e is important. As we will learn, however, the exponential function f (x) = ex plays a fundamental role because it behaves in a particularly simple way with respect to the basic operations of calculus: differentiation and integration.
S E C T I O N 1.6 Exponential and Logarithmic Functions 43
EXAMPLE 3 Draw the graph of y = −e(x−2). Solution Figure 3(A) shows the graph of y = ex . The graph of y = −ex is simply the reflection of this graph over the y-axis, making all values negative instead of positive, as in Figure 4. The graph of y = −e(x−2) is obtained by translating this graph 2 units to the right.
x
y
(2, −1)(0, −1)
(0, 1)y = ex
y = −ex
y = −e (x−2)
FIGURE 4 Graphing y = −e(x−2).
Logarithms Logarithmic functions are inverses of exponential functions. More precisely, if b > 0 and
Seismograph of the 2010 Haiti earthquake, which registered 7.0 on the Richter scale. The Richter scale is based on the logarithm (to base 10) of the amplitude of seismic waves. Each whole-number increase in Richter magnitude corresponds to a tenfold increase in amplitude and approximately 31.6 times more energy. (University of South Carolina and the IRIS Consortium)
b ̸= 1, then the logarithm to the base b, denoted logb x, is the inverse of f (x) = bx . By definition, y = logb x if by = x, so we have
blogb x = x and logb(bx) = x
In other words, logb x is the number to which b must be raised in order to get x. For example,
log2(8) = 3 because 23 = 8 log10(1) = 0 because 100 = 1
log3
( 1 9
) = −2 because 3−2 = 1
32 = 1
9
The logarithm to the base e, denoted ln x, plays a special role and is called the natural logarithm.
ln x = loge x
We use a calculator to evaluate logarithms numerically. For example,
In this text, the natural logarithm is denoted ln x. Other common notations are log x and Log x.
ln 17 ≈ 2.83321 because e2.83321 ≈ 17
As in Figure 5, f (x) = ln x and g(x) = ex are inverse functions, so we have
eln x = x and ln(ex) = x
Recall that the domain of f (x) = bx is R and its range is the set of positive real numbers {x : x > 0}. Since the domain and range are reversed in the inverse function,
• The domain of f (x) = logb x is {x : x > 0}. • The range of f (x) = logb x is the set of all real numbers R.
If b > 1, then logb x is positive for x > 1 and negative for 0 < x < 1. Figure 5 illustrates these facts for the base b = e. Keep in mind that the logarithm of a negative number does not exist. For example, log10(−2) does not exist because 10y = −2 has no solution.
y = ex
y = ln x
y = x
1
1 x
y
FIGURE 5 y = ln x is the inverse of y = ex .
For each law of exponents, there is a corresponding law for logarithms. The rule bx+y = bxby corresponds to the rule
logb(xy) = logb x + logb y
In words: The log of a product is the sum of the logs. To verify this rule, observe that
blogb(xy) = xy = blogb x · blogb y
= blogb x+logb y
The exponents logb(xy) and logb x + logb y are equal as claimed because f (x) = bx is one-to-one. The logarithm laws are collected in the following table.
44 C H A P T E R 1 PRECALCULUS REVIEW
Laws of Logarithms
Law Example
Log of 1 logb(1) = 0 Log of b logb(b) = 1 Products logb(xy) = logb x + logb y log5(2 · 3) = log5 2 + log5 3
Quotients logb
( x
y
) = logb x − logb y log2
( 3 7
) = log2 3 − log2 7
Reciprocals logb
( 1 x
) = − logb x log2
( 1 7
) = − log2 7
Powers (any n) logb(x n) = n logb x log10(82) = 2 · log10 8
We note also that all logarithmic functions are proportional. More precisely, the fol- lowing change-of-base formula holds (see Exercise 51):
logb x = loga x loga b
, logb x = ln x ln b
1
EXAMPLE 4 Using the Logarithm Laws Evaluate:
(a) log6 9 + log6 4 (b) ln (
1√ e
) (c) 10 logb(b
3) − 4 logb( √
b)
Solution
(a) log6 9 + log6 4 = log6(9 · 4) = log6(36) = log6(62) = 2
(b) ln (
1√ e
) = ln(e−1/2) = −1
2 ln(e) = −1
2
(c) 10 logb(b 3) − 4 logb(
√ b) = 10(3) − 4 logb(b1/2) = 30 − 4
( 1 2
) = 28
EXAMPLE 5 Solving an Exponential Equation The bacteria population in a bottle at time t (in hours) has size P(t) = 1000e0.35t . After how many hours will there be 5000 bacteria?
Solution We must solve P(t) = 1000e0.35t = 5000 for t (Figure 6):
1 4.62 3 4
Bacteria population P
t (h) 1000 2000 3000 4000 5000 6000
FIGURE 6 Bacteria population as a function of time.
e0.35t = 5000 1000
= 5
ln(e0.35t ) = ln 5 (take logarithm of both sides) 0.35t = ln 5 ≈ 1.609 [because ln(ea) = a]
t ≈ 1.609 0.35
≈ 4.6 hours
FIGURE 7 The St. Louis Arch has the shape of an inverted hyperbolic cosine. (© Corbis)
Hyperbolic Functions The hyperbolic functions are certain special combinations of ex and e−x that play a role in engineering and physics (see Figure 7 for a real-life example). The hyperbolic sine and cosine, often called “cinch” and “cosh,” are defined as follows:
sinh x = e x − e−x
2 , cosh x = e
x + e−x 2
As the terminology suggests, there are similarities between the hyperbolic and trigono- metric functions. Here are some examples:
S E C T I O N 1.6 Exponential and Logarithmic Functions 45
• Parity: The trigonometric functions and their hyperbolic analogs have the same parity. Thus, f (x) = sin x and f (x) = sinh x are both odd, and f (x) = cos x and f (x) = cosh x are both even (Figure 8):
sinh(−x) = − sinh x, cosh(−x) = cosh x • Identities: The basic trigonometric identity sin2 x + cos2 x = 1 has a hyperbolic
analog:
cosh2 x − sinh2 x = 1 2
The addition formulas satisfied by sin x and cos x also have hyperbolic analogs:
sinh(x + y) = sinh x cosh y + cosh x sinh y cosh(x + y) = cosh x cosh y + sinh x sinh y
• Hyperbola instead of the circle: Because of the identity cosh2 t − sinh2 t = 1, the
x
y
y = sinh x
321−3 −2 −1
1
2
−1
−2
y
x
y = cosh x 321−3 −2 −1
2
4
3
FIGURE 8 y = sinh x is an odd function; y = cosh x is an even function.
point (cosh t, sinh t) lies on the hyperbola x2 − y2 = 1, just as (cos t, sin t) lies on the unit circle x2 + y2 = 1 (Figure 9).
x
y
(cosh t, sinh t)
32−3 −2
1
2
3
−1
−2
−3
(cos t, sin t)
x
y
1−1
x2 − y2 = 1 x2 + y2 = 1
FIGURE 9
• Other hyperbolic functions: The hyperbolic tangent, cotangent, secant, and co- secant functions (see Figures 10 and 11) are defined like their trigonometric coun- terparts:
x
y
2
−2
2
−2
y = csch x
x
y
2 4−4 −2
1
y = sech x
FIGURE 10 The hyperbolic secant and cosecant.
tanh x = sinh x cosh x
= e x − e−x
ex + e−x , sech x = 1
cosh x = 2
ex + e−x
coth x = cosh x sinh x
= e x + e−x
ex − e−x , csch x = 1
sinh x = 2
ex − e−x y
y = tanh x
−2
y = coth x
x
y
2−2 x
2
1
−1
1
−1
FIGURE 11 The hyperbolic tangent and cotangent.
EXAMPLE 6 Verifying the Basic Identity Verify Eq. (2): cosh2 x − sinh2 x = 1.
Solution Because cosh x = 1 2 (ex + e−x) and sinh x = 1
2 (ex − e−x), we have
cosh x + sinh x = ex, cosh x − sinh x = e−x
46 C H A P T E R 1 PRECALCULUS REVIEW
We obtain Eq. (2) by multiplying these two equations together:
cosh2 x − sinh2 x = (cosh x + sinh x)(cosh x − sinh x) = ex · e−x = 1
Inverse Hyperbolic Functions Each of the hyperbolic functions, except y = cosh x and y = sech x, is one-to-one on its domain and therefore has a well-defined inverse. The functions y = cosh x and y = sech x are one-to-one on the restricted domain {x : x ≥ 0}. We let y = cosh−1 x and y = sech−1 x denote the corresponding inverses.
Inverse hyperbolic functions
Function Domain
y = sinh−1 x all x y = cosh−1 x x ≥ 1 y = tanh−1 x |x| < 1 y = coth−1 x |x| > 1 y = sech−1 x 0 < x ≤ 1 y = csch−1 x x ̸= 0
Einstein’s Law of Velocity Addition The inverse hyperbolic tangent plays a role in the Special Theory of Relativity, developed
u = 200,000,000 m/s
FIGURE 12 What is the missile’s velocity relative to the earth?
byAlbert Einstein in 1905. One consequence of this theory is that no object can travel faster than the speed of light, c ≈ 3 × 108 m/s. Einstein realized that this contradicts a law stated by Galileo more than 250 years earlier, namely that velocities add. Imagine a train traveling at u = 50 m/s and a man walking down the aisle in the train at v = 2 m/s. According to Galileo, the man’s velocity relative to the ground is u + v = 52 m/s. This agrees with our everyday experience. But now imagine an (unrealistic) rocket traveling away from the earth at u = 2 × 108 m/s, and suppose that the rocket fires a missile with velocity v = 1.5 × 108 m/s (relative to the rocket). If Galileo’s Law were correct, the velocity of the missile relative to the earth would be u + v = 3.5 × 108 m/s, which exceeds Einstein’s maximum speed limit of c ≈ 3 × 108 m/s.
However, Einstein’s theory replaces Galileo’s Law with a new law stating that the
Einstein’s Law of Velocity Addition [Eq. (3)] reduces to Galileo’s Law, w = u + v, when u and v are small relative to the velocity of light c. See Exercise 52 for another way of expressing Eq. (3).
inverse hyperbolic tangents of velocities add. More precisely, if u is the rocket’s velocity relative to the earth and v is the missile’s velocity relative to the rocket, then the velocity of the missile relative to the earth (Figure 12) is w, where
tanh−1 (w
c
) = tanh−1
(u c
) + tanh−1
(v c
) 3
EXAMPLE 7 A rocket travels away from the earth at a velocity of 2 × 108 m/s. A missile is fired from the rocket at a velocity of 1.5 × 108 m/s (relative to the rocket) away from the earth. Use Einstein’s Law to find the velocity w of the missile relative to the earth.
Solution According to Eq. (3),
tanh−1 (w
c
) = tanh−1
( 2 × 108 3 × 108
) + tanh−1
( 1.5 × 108 3 × 108
) ≈ 0.805 + 0.549 ≈ 1.354
Therefore, w/c ≈ tanh(1.354) ≈ 0.875, and w ≈ 0.875c ≈ 2.6 × 108 m/s. This value obeys the Einstein speed limit of 3 × 108 m/s.
EXAMPLE 8 Low Velocities A plane traveling at 300 m/s fires a missile forward at a velocity of 200 m/s. Calculate the missile’s velocity w relative to the earth using both Einstein’s Law and Galileo’s Law.
Solution According to Einstein’s Law,
tanh−1 (w
c
) = tanh−1
( 300 c
) + tanh−1
( 200 c
)
w = c · tanh (
tanh−1 (
300 c
) + tanh−1
( 200 c
)) ≈ 499.99999999967 m/s
This is practically indistinguishable from the value w = 300 + 200 = 500 m/s obtained using Galileo’s Law.
S E C T I O N 1.6 Exponential and Logarithmic Functions 47
1.6 SUMMARY
• f (x) = bx is the exponential function with base b (where b > 0 and b ̸= 1). • f (x) = bx is increasing if b > 1 and decreasing if b < 1. • Important exponent laws:
(i) bxby = bx+y (ii) bxby = bx−y (iii) b−x = 1bx (iv) (bx)y = bxy
• The number e ≈ 2.718. • For b > 0 with b ̸= 1, the logarithmic function f (x) = logb x is the inverse of f (x) =
bx ; y = logb x ⇔ x = by
• The natural logarithm is the logarithm with base e and is denoted ln x. • eln x = x for x > 0 and ln(ex) = x for all x. • Important logarithm laws:
(i) logb(xy) = logb x + logb y (ii) logb (
x
y
) = logb x − logb y
(iii) logb(x n) = n logb x (iv) logb 1 = 0 and logb b = 1
• The hyperbolic sine and cosine:
sinh x = e x − e−x
2 (odd function), cosh x = e
x + e−x 2
(even function)
The remaining hyperbolic functions:
tanh x = sinh x cosh x
, coth x = cosh x sinh x
, sech x = 1 cosh x
, csch x = 1 sinh x
• Basic identity: cosh2 x − sinh2 x = 1. • The inverse hyperbolic functions and their domains:
f (x) = sinh−1 x, for all x f (x) = coth−1 x, for |x| > 1 f (x) = cosh−1 x, for x ≥ 1 f (x) = sech−1 x, for 0 < x ≤ 1 f (x) = tanh−1 x, for |x| < 1 f (x) = csch−1 x, for x ̸= 0
1.6 EXERCISES
Preliminary Questions 1. Which of the following equations is incorrect?
(a) 32 · 35 = 37 (b) ( √
5)4/3 = 52/3
(c) 32 · 23 = 1 (d) (2−2)−2 = 16
2. Compute logb2(b 4). 3. When is ln x negative?
4. What is ln(−3)? Explain.
5. Explain the phrase, “The logarithm converts multiplication into addition.”
6. What are the domain and range of f (x) = ln x? 7. Which hyperbolic functions take on only positive values?
8. Which hyperbolic functions are increasing on their domains?
9. Describe three properties of hyperbolic functions that have trigo- nometric analogs.
Exercises 1. Rewrite as a whole number (without using a calculator):
(a) 70 (b) 102(2−2 + 5−2)
(c)
( 43
)5 ( 45
) 3 (d) 27
4/3
(e) 8−1/3 · 85/3 (f) 3 · 41/4 − 12 · 2−3/2
In Exercises 2–10, solve for the unknown variable.
2. 92x = 98 3. e2x = ex+1
4. et 2 = e4t−3 5. 3x =
( 1 3 )x+1
6. ( √
5)x = 125 7. 4−x = 2x+1
8. b4 = 1012 9. k3/2 = 27 10.
( b2
)x+1 = b−6
In Exercises 11–26, calculate without using a calculator.
11. log3 27 12. log5 1
25
48 C H A P T E R 1 PRECALCULUS REVIEW
13. ln 1 14. log5(5 4)
15. log2(2 5/3) 16. log2(8
5/3)
17. log64 4 18. log7(49 2)
19. log8 2 + log4 2 20. log25 30 + log25 56 21. log4 48 − log4 12 22. ln(
√ e · e7/5)
23. ln(e3) + ln(e4) 24. log2 43 + log2 24
25. 7log7(29) 26. 83 log8(2)
27. Write as the natural log of a single expression: (a) 2 ln 5 + 3 ln 4 (b) 5 ln(x1/2) + ln(9x)
28. Solve for x: ln(x2 + 1) − 3 ln x = ln(2). In Exercises 29–34, solve for the unknown.
29. 7e5t = 100 30. 6e−4t = 2 31. 2x
2−2x = 8 32. e2t+1 = 9e1−t
33. ln(x4) − ln(x2) = 2 34. log3 y + 3 log3(y2) = 14
35. Find the inverse of y = e2x−3. 36. Find the inverse of y = ln(x2 − 2) for x >
√ 2.
37. Use a calculator to compute sinh x and cosh x for x = −3, 0, 5. 38. Compute sinh(ln 5) and tanh(3 ln 5) without using a calculator.
39. Show, by producing a counterexample, that ln(ab) is not equal to (ln a)(ln b).
40. For which values of x are y = sinh x and y = cosh x increasing and decreasing?
41. Show that y = tanh x is an odd function. 42. The population of a city (in millions) at time t (years) is P(t) = 2.4e0.06t , where t = 0 is the year 2000.
(a) What is the population at time t = 0? (b) When will the population double from its size at t = 0?
43. The Gutenberg–Richter Law states that the number N of earth- quakes per year worldwide of Richter magnitude at least M satisfies an approximate relation log10 N = a − M for some constant a. Find a, assuming that there is one earthquake of magnitude M ≥ 8 per year. How many earthquakes of magnitude M ≥ 5 occur per year?
44. The energy E (in joules) radiated as seismic waves from an earth- quake of Richter magnitude M is given by the formula log10 E = 4.8 + 1.5M . (a) Express E as a function of M . (b) Show that when M increases by 1, the energy increases by a factor of approximately 31.6.
45. Refer to the graphs to explain why the equation sinh x = t has a unique solution for every t and why cosh x = t has two solutions for every t > 1.
46. Compute cosh x and tanh x, assuming that sinh x = 0.8.
47. Prove the addition formula for cosh x given by cosh(x + y) = cosh x cosh y + sinh x sinh y.
48. Use the addition formulas to prove
sinh(2x) = 2 cosh x sinh x
cosh(2x) = cosh2 x + sinh2 x
49. A train moves along a track at velocity v. Bionica walks down the aisle of the train with velocity u in the direction of the train’s motion. Compute the velocity w of Bionica relative to the ground using the laws of both Galileo and Einstein in the following cases: (a) v = 500 m/s and u = 10 m/s. Is your calculator accurate enough to detect the difference between the two laws? (b) v = 107 m/s and u = 106 m/s.
Further Insights and Challenges 50. Show that loga b logb a = 1 for all a, b > 0 such that a ̸= 1 and b ̸= 1.
51. Verify that for all x, the formula holds. logb x = loga x loga b
for a, b >
0 such that a ̸= 1, b ̸= 1.
52. (a) Use the addition formulas for sinh x and cosh x to prove
tanh(u + v) = tanh u + tanh v 1 + tanh u tanh v
(b) Use (a) to show that Einstein’s Law of Velocity Addition [Eq. (3)] is equivalent to
w = u + v 1 + uv
c2
53. Prove that every function f can be written as a sum f (x) = f+(x) + f−(x) of an even function f+(x) and an odd function f−(x). Express f (x) = 5ex + 8e−x in terms of cosh x and sinh x. Hint: y = f (x) + f (−x) is an even function, and y = f (x) − f (−x) is an odd function.
1.7 Technology: Calculators and Computers Computer technology has vastly extended our ability to calculate and visualize mathemat- ical relationships. In applied settings, computers are indispensable for solving complex systems of equations and analyzing data, as in weather prediction and medical imaging. Mathematicians use computers to study complex structures such as the Mandelbrot Set (Figures 1 and 2). We take advantage of this technology to explore the ideas of calculus visually and numerically.
S E C T I O N 1.7 Technology: Calculators and Computers 49
FIGURE 1 Computer-generated image of the Mandelbrot Set, which occurs in the mathematical theory of chaos and fractals. (Scott Camazine/Science Source)
FIGURE 2 Even greater complexity is revealed when we zoom in on a portion of the Mandelbrot Set. (Laguna Design/Science Photo Library)
When we plot a function with a graphing calculator or computer algebra system, the graph is contained within a viewing rectangle, the region determined by the range of x- and y-values in the plot. We write [a, b] × [c, d] to denote the rectangle where a ≤ x ≤ b and c ≤ y ≤ d .
The appearance of the graph depends heavily on the choice of viewing rectangle. Different choices may convey very different impressions that are sometimes misleading. Compare the three viewing rectangles for the graph of f (x) = 12 − x − x2 in Figure 3. Only (A) successfully displays the shape of the graph as a parabola. In (B), the graph is cut off, and no graph at all appears in (C). Keep in mind that the scales along the axes may change with the viewing rectangle. For example, the unit increment along the y-axis is larger in (B) than in (A), so the graph in (B) is steeper.
18
−18
4
−4
1
−3 (A) [−6, 5] × [−18, 18] (B) [−6, 5] × [−4, 4] (C) [−1, 2] × [−3, 1]
−6 −65 5
−1 2
FIGURE 3 Viewing rectangles for the graph of f (x) = 12 − x − x2.
There is no single “correct” viewing rectangle. The goal is to select the viewing rectangle that displays the properties you wish to investigate. This usually requires exper- imentation.
EXAMPLE 1 How Many Roots and Where? How many real roots does the functionTechnology is indispensable but also has its limitations. When shown the computer- generated results of a complex calculation, the Nobel prize–winning physicist Eugene Wigner (1902–1995) is reported to have said: “It is nice to know that the computer understands the problem, but I would like to understand it too.”
f (x) = x9 − 20x + 1 have? Find their approximate locations. Solution We experiment with several viewing rectangles (Figure 4). Our first attempt (A) displays a cut-off graph, so we try a viewing rectangle that includes a larger range of y-values. Plot (B) shows that the roots of f probably lie somewhere in the interval [−3, 3], but it does not reveal how many real roots there are. Therefore, we try the viewing
10
−10 (A) [−12, 12] × [−10, 10]
−12 12
10,000
−10,000 (B) [−12, 12] × [−10,000, 10,000]
−12 12
100
−100 (C) [−2, 2] × [−100, 100]
−2 2
25
−20
−1.5−1−.5 .1 .5 1 1.5
(D) [−2, 2] × [−20, 25]
−2 2
FIGURE 4 Graphs of f (x) = x9 − 20x + 1.
50 C H A P T E R 1 PRECALCULUS REVIEW
rectangle in (C). Now we can see clearly that f has three roots. A further zoom in (D) shows that these roots are located near −1.5, 0.1, and 1.5. Further zooming would provide their locations with greater accuracy.
EXAMPLE 2 Does a Solution Exist? Does cos x = tan x have a solution? Describe the set of all solutions.
Solution The solutions of cos x = tan x are the x-coordinates of the points where the graphs of y = cos x and y = tan x intersect. Figure 5(A) shows that there are two solutions in the interval [0, 2π ]. By zooming in on the graph as in (B), we see that the first positive root lies between 0.6 and 0.7 and the second positive root lies between 2.4 and 2.5. Further zooming shows that the first root is approximately 0.67 [Figure 5(C)]. Continuing this process, we find that the first two roots are x ≈ 0.666 and x ≈ 2.475.
Since f (x) = cos x and f (x) = tan x are periodic, the picture repeats itself with period 2π . All solutions are obtained by adding multiples of 2π to the two solutions in [0, 2π ]:
x ≈ 0.666 + 2πk and x ≈ 2.475 + 2πk (for any integer k)
2π 2π 4π
5
−5 (A) [−7, 13] × [−5, 5]
−7 13
5
−5 (B) [0, 3] × [−5, 5] (C) [0.5, 0.7] × [0.55, 0.85]
0 3
y = cos x
y = tan x
0.6 0.7 2.4 2.5
0.55 0.6 0.65 0.7
FIGURE 5 Graphs of y = cos x and y = tan x.
EXAMPLE 3 Functions with Asymptotes Plot the function f (x) = 1 − 3x x − 2 and de-scribe its asymptotic behavior.
Solution First, we plot f in the viewing rectangle [−10, 20] × [−5, 5] as in Figure 7(A). The vertical line x = 2 is called a vertical asymptote. Many graphing calcula- tors display this line, but it is not part of the graph (and it can usually be eliminated by choosing a smaller range of y-values). We see that f (x) tends to ∞ as x approaches 2 from the left, and to −∞ as x approaches 2 from the right. To display the horizon-
CAUTION When considering the graph of a function such as y = ln x (Figure 6), it may appear to approach a horizontal asymptote, but in fact, it does not. For any given horizontal line, the graph eventually rises above it.In this respect, graphing calculators and computer graphing systems must be used judiciously.
x
y
FIGURE 6 y = ln x.
tal asymptotic behavior of f , we use the viewing rectangle [−10, 20] × [−10, 5] [Fig- ure 7(B)]. Here, we see that the graph approaches the horizontal line y = −3, called a hori- zontal asymptote (which we have added as a dashed horizontal line in the figure).
(A) [−10, 20] × [−5, 5]
20−10
5
−5
−3
2
2
(B) [−10, 20] × [−10, 5]
20−10
5
−10
−3
FIGURE 7 Graphs of f (x) = 1 − 3x x − 2 .
Calculators and computer algebra systems give us the freedom to experiment numer- ically. For instance, we can explore the behavior of a function by constructing a table of values. In the next example, we investigate a function related to exponential functions and compound interest (see Section 5.8).
S E C T I O N 1.7 Technology: Calculators and Computers 51
EXAMPLE 4 Investigating the Behavior of a Function How does f (n) = (1 + 1/n)n behave for large whole-number values of n? Does f (n) tend to infinity as n gets larger?
Solution First, we make a table of values of f (n) for larger and larger values of n. Table 1 suggests that f (n) does not tend to infinity. Rather, as n grows larger, f (n) appears to get closer to some value near 2.718 (a number resembling e). This is an example of limiting behavior that we will discuss in Chapter 2. Next, replace n by the variable x and plot the function f (x) = (1 + 1/x)x . The graphs in Figure 8 confirm that f (x) approaches a limit of approximately 2.7. We will prove that f (n) approaches e as n tends to infinity in Section 5.9.
TABLE 1
n
( 1 + 1
n
)n
10 2.59374 102 2.70481 103 2.71692 104 2.71815 105 2.71827 106 2.71828
(A) [0, 10] × [0, 3]
100
3
0
(B) [0, 1000] × [0, 3]
5
2.7
1
10000
3
0 500
2.7
1
FIGURE 8 Graphs of f (x) = (
1 + 1 x
)x .
EXAMPLE 5 Bird Flight: Finding a Minimum Graphically According to one model of bird flight, the power consumed by a pigeon flying at velocity v (in meters per second) is P(v) = 17v−1 + 10−3v3 (in joules per second). Use a graph of P to find the velocity that minimizes power consumption.
Solution The velocity that minimizes power consumption corresponds to the lowest point on the graph of P . We plot P first in a large viewing rectangle (Figure 9). This figure reveals the general shape of the graph and shows that P takes on a minimum value for v somewhere between v = 8 and v = 9. In the viewing rectangle [8, 9.2] × [2.6, 2.65], we see that the minimum occurs at approximately v = 8.65 m/s.
(A) [0, 20] × [0, 12]
200
12
P (J/s) P (J/s)
v (m/s) v (m/s) 0
(B) [8, 9.2] × [2.6, 2.65]
10 155
10
9.28
2.65
2.6
2.64
2.63
2.62
2.61
98.4 8.88.2 8.6
FIGURE 9 Power consumption P(v) as a function of velocity v.
Local linearity is an important concept in calculus that is based on the idea that many functions are nearly linear over small intervals. Local linearity can be illustrated effectively with a graphing calculator.
EXAMPLE 6 Illustrating Local Linearity Illustrate local linearity for the function f (x) = xsin x at x = 1.
Solution First, we plot f (x) = xsin x in the viewing window of Figure 10(A). The graph moves up and down and appears very wavy. However, as we zoom in, the graph straight- ens out. Figures (B)–(D) show the result of zooming in on the point (1, f (1)). When viewed up close, the graph looks like a straight line. This illustrates the local linearity of f at x = 1.
52 C H A P T E R 1 PRECALCULUS REVIEW
8
1
1
0
(A) (B) (C)
120
2
1
0.8 0.95 1.051 1.2
0
20
1.2 1.05
0.8 0.95
1.20.8
(D)
1.050.95
FIGURE 10 Zooming in on the graph of f (x) = xsin x near x = 1.
1.7 SUMMARY
• The appearance of a graph on a graphing calculator depends on the choice of viewing rectangle. Experiment with different viewing rectangles until you find one that displays the information you want. Keep in mind that the scales along the axes may change as you vary the viewing rectangle.
• The following are some ways in which graphing calculators and computer algebra systems can be used in calculus:
– Visualizing the behavior of a function – Finding solutions graphically or numerically – Conducting numerical or graphical experiments – Illustrating theoretical ideas (such as local linearity)
1.7 EXERCISES
Preliminary Questions 1. Is there a definite way of choosing the optimal viewing rectangle,
or is it best to experiment until you find a viewing rectangle appropriate to the problem at hand?
2. Describe the calculator screen produced when the function y = 3 + x2 is plotted with a viewing rectangle: (a) [−1, 1] × [0, 2] (b) [0, 1] × [0, 4]
3. According to the evidence in Example 4, it appears that f (n) = (1 + 1/n)n never takes on a value greater than 3 for n > 0. Does this evidence prove that f (n) ≤ 3 for n > 0?
4. How can a graphing calculator be used to find the minimum value of a function?
Exercises The exercises in this section should be done using a graphing calculator or computer algebra system.
1. Plot f (x) = 2x4 + 3x3 − 14x2 − 9x + 18 in the appropriate viewing rectangles and determine its roots.
2. How many solutions does x3 − 4x + 8 = 0 have?
3. How many positive solutions does x3 − 12x + 8 = 0 have?
4. Does cos x + x = 0 have a solution? A positive solution?
5. Find all the solutions of sin x = √x for x > 0.
6. How many solutions does cos x = x2 have?
7. Let f (x) = (x − 100)2 + 1000. What will the display show if you graph f in the viewing rectangle [−10, 10] by [−10, 10]? Find an ap- propriate viewing rectangle.
8. Plot f (x) = 8x + 1 8x − 4 in an appropriate viewing rectangle. What are
the vertical and horizontal asymptotes?
9. Plot the graph of f (x) = x/(4 − x) in a viewing rectangle that clearly displays the vertical and horizontal asymptotes.
10. Illustrate local linearity for f (x) = x2 by zooming in on the graph at x = 0.5 (see Example 6).
11. Plot f (x) = cos(x2) sin x for 0 ≤ x ≤ 2π . Then illustrate local linearity at x = 3.8 by choosing appropriate viewing rectangles.
12. If P0 dollars are deposited in a bank account paying 5% interest
compounded monthly, then the account has value P0 (
1 + 0.0512 )N
af- ter N months. Find, to the nearest integer N , the number of months after which the account value doubles.
In Exercises 13–18, investigate the behavior of the function as n or x grows large by making a table of function values and plotting a graph (see Example 4). Describe the behavior in words.
13. f (n) = n1/n 14. f (n) = 4n + 1 6n − 5
15. f (n) = (
1 + 1 n
)n2 16. f (x) =
( x + 6 x − 4
)x
17. f (x) = (
x tan 1 x
)x 18. f (x) =
( x tan
1 x
)x2
Chapter Review Exercises 53
19. The graph of f (θ) = A cos θ + B sin θ is a sinusoidal wave for any constants A and B. Confirm this for (A, B) = (1, 1), (1, 2), and (3, 4) by plotting f .
20. Find the maximum value of f for the graphs produced in Exer- cise 19. Can you guess the formula for the maximum value in terms of A and B?
21. Find the intervals on which f (x) = x(x + 2)(x − 3) is positive by plotting a graph.
22. Find the set of solutions to the inequality (x2 − 4)(x2 − 1) < 0 by plotting a graph.
Further Insights and Challenges 23. Let f1(x) = x and define a sequence of functions by fn+1(x) = 12 (fn(x) + x/fn(x)). For example, f2(x) = 12 (x + 1). Use a computer algebra system to compute fn(x) for n = 3, 4, 5 and plot y = fn(x) together with y =
√ x for x ≥ 0. What do you notice?
24. Set P0(x) = 1 and P1(x) = x. The Chebyshev polynomials (use- ful in approximation theory) are defined inductively by the formula Pn+1(x) = 2xPn(x) − Pn−1(x).
(a) Show that P2(x) = 2x2 − 1.
(b) Compute Pn(x) for 3 ≤ n ≤ 6 using a computer algebra system or by hand, and plot y = Pn(x) over [−1, 1].
(c) Check that your plots confirm two interesting properties: (a) y = Pn(x) has n real roots in [−1, 1] and (b) for x ∈ [−1, 1], Pn(x) lies between −1 and 1.
CHAPTER REVIEW EXERCISES
1. Express (4, 10) as a set {x : |x − a| < c} for suitable a and c. 2. Express as an interval:
(a) {x : |x − 5| < 4} (b) {x : |5x + 3| ≤ 2} 3. Express {x : 2 ≤ |x − 1| ≤ 6} as a union of two intervals. 4. Give an example of numbers x, y such that |x| + |y| = x − y. 5. Describe the pairs of numbers x, y such that |x + y| = x − y. 6. Sketch the graph of y = f (x + 2) − 1, where f (x) = x2 for
−2 ≤ x ≤ 2. In Exercises 7–10, let f (x) be the function shown in Figure 1.
7. Sketch the graphs of y = f (x) + 2 and y = f (x + 2). 8. Sketch the graphs of y = 12f (x) and y = f
( 1 2x
) .
9. Continue the graph of f to the interval [−4, 4] as an even function. 10. Continue the graph of f to the interval [−4, 4] as an odd function.
1 2 3 4
1
2
0
3
x
y
FIGURE 1
In Exercises 11–14, find the domain and range of the function.
11. f (x) = √
x + 1 12. f (x) = 4 x4 + 1
13. f (x) = 2 3 − x 14. f (x) =
√ x2 − x + 5
15. Determine whether the function is increasing, decreasing, or nei- ther:
(a) f (x) = 3−x (b) f (x) = 1 x2 + 1
(c) g(t) = t2 + t (d) g(t) = t3 + t
16. Determine whether the function is even, odd, or neither: (a) f (x) = x4 − 3x2 (b) g(x) = sin(x + 1) (c) f (x) = 2−x2
In Exercises 17–24, find the equation of the line.
17. Line passing through (−1, 4) and (2, 6) 18. Line passing through (−1, 4) and (−1, 6) 19. Line of slope 6 through (9, 1)
20. Line of slope − 32 through (4, −12) 21. Line through (2, 1) perpendicular to the line given by y = 3x + 7 22. Line through (3, 4) perpendicular to the line given by y = 4x − 2 23. Line through (2, 3) parallel to y = 4 − x 24. Horizontal line through (−3, 5) 25. Does the following table of market data suggest a linear relation- ship between price and number of homes sold during a one-year period? Explain.
Price (thousands of $) 180 195 220 240
No. of homes sold 127 118 103 91
26. Does the following table of revenue data for a computer manufac- turer suggest a linear relation between revenue and time? Explain.
Year 2005 2009 2011 2014
Revenue (billions of $) 13 18 15 11
27. Suppose that a cell phone plan that is offered at a price of P dollars per month attracts C customers, where C(P ) is a linear demand function for $100 ≤ P ≤ $500. If C(100) = 1,000,000 and C(500) = 100,000, determine the demand function C. What is the decrease in the number of customers for each increase of $100 in the price?
28. Suppose that Internet domain names are sold at a price of $P per month for $2 ≤ P ≤ $100. The number of customers C who buy the domain names is a linear function of the price. If 10,000 customers buy
54 C H A P T E R 1 PRECALCULUS REVIEW
a domain name when the price is $2 per month and 1000 customers buy when the price is $100 per month, determine the demand function C. What is the decrease in the number of customers for every $1 increase in the cost of the domain names?
29. Find the roots of f (x) = x4 − 4x2 and sketch its graph. On which intervals is f decreasing?
30. Let h(z) = −2z2 + 12z + 3. Complete the square and find the maximum value of h.
31. Let f (x) be the square of the distance from the point (2, 1) to a point (x, 3x + 2) on the line y = 3x + 2. Show that f is a quadratic function, and find its minimum value by completing the square.
32. Prove that x2 + 3x + 3 ≥ 0 for all x. In Exercises 33–38, sketch the graph by hand.
33. y = t4 34. y = t5
35. y = sin θ 2
36. y = 10−x
37. y = x1/3 38. y = 1 x2
39. Show that the graph of y = f ( 1
3x − b )
is obtained by shifting the
graph of y = f ( 1
3x )
to the right 3b units. Use this observation to sketch
the graph of y = ∣∣ 1
3x − 4 ∣∣.
40. Let h(x) = cos x and g(x) = x−1. Compute the composite func- tions h(g) and g(h), and find their domains.
41. Find functions f and g such that the function
f (g(t)) = (12t + 9)4
42. Sketch the points on the unit circle corresponding to the follow- ing three angles, and find the values of the six standard trigonometric functions at each angle:
(a) 2π 3
(b) 7π 4
(c) 7π 6
43. What are the periods of these functions? (a) y = sin 2θ (b) y = sin θ2 (c) y = sin 2θ + sin θ2 44. Assume that sin θ = 45 , where π/2 < θ < π . Find:
(a) tan θ (b) sin 2θ (c) csc θ
2
45. Give an example of values a, b such that
(a) cos(a + b) ̸= cos a + cos b (b) cos a 2
̸= cos a 2
46. Let f (x) = cos x. Sketch the graph of y = 2f (
1 3x − π4
) for
0 ≤ x ≤ 6π . 47. Solve sin 2x + cos x = 0 for 0 ≤ x < 2π . 48. How does h(n) = n2/2n behave for large whole-number values of n? Does h(n) tend to infinity?
49. Use a graphing calculator to determine whether the equa- tion cos x = 5x2 − 8x4 has any solutions.
50. Using a graphing calculator, find the number of real roots and estimate the largest root to two decimal places: (a) f (x) = 1.8x4 − x5 − x (b) g(x) = 1.7x4 − x5 − x
51. Match each quantity (a)–(d) with (i), (ii), or (iii) if possible, or state that no match exists.
(a) 2a3b (b) 2a
3b
(c) (2a)b (d) 2a−b3b−a
(i) 2ab (ii) 6a+b (iii) ( 2
3 )a−b
52. Match each quantity (a)–(d) with (i), (ii), or (iii) if possible, or state that no match exists.
(a) ln (a
b
) (b)
ln a ln b
(c) eln a−ln b (d) (ln a)(ln b)
(i) ln a + ln b (ii) ln a − ln b (iii) a b
53. Find the inverse of f (x) = √
x3 − 8 and determine its domain and range.
54. Find the inverse of f (x) = x − 2 x − 1 and determine its domain and
range.
55. Find a domain on which h(t) = (t − 3)2 is one-to-one and deter- mine the inverse on this domain.
56. Show that g(x) = x x − 1 is equal to its inverse on the domain
{x : x ̸= 1}.
57. Let
f (x) = { −x2 when x < 0 x when x ≥ 0
(a) Is f increasing? (b) Does f have an inverse? If so, what is it?
58. Let
f (x) = { x − 1 when x < 1 ln x when x ≥ 1
(a) Is f increasing? (b) Does f have an inverse? If so, what is it?
59. Suppose that g is the inverse of f . Match the functions (a)–(d) with their inverses (i)–(iv).
(a) f (x) + 1 (b) f (x + 1) (c) 4f (x) (d) f (4x)
(i) g(x)/4 (ii) g(x/4) (iii) g(x − 1) (iv) g(x) − 1
60. Plot f (x) = xe−x and use the zoom feature to find two solutions of f (x) = 0.3.
This “strange attractor” represents limit
behavior that appeared first in weather models
studied by meteorologist E. Lorenz in 1963. (Scott Camazine/Science Source)
2 LIMITS
C alculus is usually divided into two branches, differential and integral, partly for his-torical reasons. The subject grew out of efforts in the seventeenth century to solve two important geometric problems: finding tangent lines to curves (differential calculus) and computing areas under curves (integral calculus). However, calculus is a broad subject with no clear boundaries. It includes other topics, such as the theory of infinite series, and it has an extraordinarily wide range of applications. What makes these methods and applications part of calculus is that they all rely on the concept of a limit. We will see throughout the text how limits allow us to make computations and solve problems that cannot be solved using algebra alone.
This chapter introduces the limit concept and sets the stage for our study of the derivative in Chapter 3. The first section, intended as motivation, discusses how limits arise in the study of rates of change and tangent lines.
2.1 Limits, Rates of Change, and Tangent Lines Limits are about how a function f behaves, as x approaches a number a. Does f (x) get closer and closer to a number L? If so, we say L is the limit of f (x) as x approaches a. If not, we say the limit does not exist. Limits play a key role throughout calculus. In this section, we discuss their role in understanding rates of change.
Rates of change become critical whenever we study the relationship between two changing quantities. Velocity is a familiar example (the rate of change of position with respect to time), but there are many others, such as
• Rate of change in the number of infected individuals with respect to time • Rate of change in consumer price index with respect to time • Rate of change of atmospheric temperature with respect to altitude
Roughly speaking, if y and x are related quantities, the rate of change should tell us how much y changes in response to a unit change in x. For example, if an automobile travels at a velocity of 80 km/h, then its position changes by 80 km for each unit change in time (the unit being 1 hour). If the trip lasts only half an hour, its position changes by 40 km, and in general, the change in position is 80t km, where t is the change in time (i.e., the time elapsed in hours). In other words,
Change in position = velocity × change in time
However, this simple formula is not valid or even meaningful if the velocity is not constant. After all, if the automobile is accelerating or decelerating, which velocity would we use in the formula?
The problem of extending this formula to account for changing velocity lies at the heart of calculus. As we will learn, differential calculus uses the limit concept to define instantaneous velocity, and integral calculus enables us to compute the change in position in terms of instantaneous velocity. But these ideas are very general. They apply to all rates of change, making calculus an indispensable tool for modeling an amazing range of real-world phenomena.
In this section, we discuss velocity and other rates of change, emphasizing their graphical interpretation in terms of tangent lines. Although at this stage, we do not define precisely what a tangent line is—this will have to wait until Chapter 3—you can think of a tangent line as a line that skims a curve at a point, as in Figures 1(A) and (B) but not (C).
55
56 C H A P T E R 2 LIMITS
(A) (B) (C) FIGURE 1 The line is tangent in (A) and
(B) but not in (C).
HISTORICAL
PERSPECTIVE
(N A
SA /J
P L-
C al
te ch
/S TS
cI )
Philosophy is written in this grand book—I mean the universe— which stands continually open to our
gaze, but it cannot be understood unless one first learns to comprehend the language … in which it is written. It is written in the language of mathematics.…
—Galileo Galilei, 1623
The scientific revolution of the sixteenth and seventeenth centuries reached its high point in the work of Isaac Newton (1643–1727), who was the first scientist to show that the physical world, despite its complexity and diversity, is governed by a small number of universal laws. One of Newton’s great insights was that the uni- versal laws are dynamical, describing how the world changes over time in response to forces, rather than how the world actually is at any given moment in time. These laws are expressed best in the language of calculus, which is the mathe- matics of change.
More than 50 years before the work of Newton, the astronomer Johannes Kepler (1571–1630) discovered his three laws of plan- etary motion, the most famous of which states that the path of a planet around the sun is an ellipse. Kepler arrived at these laws through a painstaking analysis of astronomical data, but he could not explain why they were true. Accord- ing to Newton, the motion of any object—planet or pebble—is determined by the forces acting on it. The planets, if left undisturbed, would travel in straight lines. Since their paths are el- liptical, some force—in this case, the gravita- tional force of the sun—must be acting to make them change direction continuously. In his mag- num opus Principia Mathematica, published in 1687, Newton proved that Kepler’s laws follow from Newton’s own universal laws of motion and gravity.
For these discoveries, Newton gained widespread fame in his lifetime. His fame con- tinued to increase after his death, assuming a nearly mythic dimension, and his ideas had a profound influence, not only in science but also in the arts and literature, as expressed in this epi- taph by British poet Alexander Pope: “Nature and Nature’s Laws lay hid in Night. God said, Let Newton be! and all was Light.”
(© Je
re m
y P
em br
ey /A
la m
y)
This statue of Isaac Newton in Cambridge University was described in The Prelude, a poem by William Wordsworth (1770–1850):
Newton with his prism and silent face, The marble index of a mind for ever Voyaging through strange seas of Thought,
alone. Velocity When we speak of velocity, we usually mean instantaneous velocity, which indicates theIn linear motion, velocity may be positive or
negative (indicating forward or backward direction of motion). Speed, by definition, is the absolute value of velocity and is always positive.
speed and direction of an object at a particular moment. The idea of instantaneous velocity makes intuitive sense, but care is required to define it precisely.
Consider an object traveling in a straight line (linear motion). The average velocity over a given time interval has a straightforward definition as the ratio
Average velocity = change in position length of time interval
For example, if an automobile travels 200 km in 4 hours, then its average velocity during this 4-hour period is 2004 = 50 km/h. At any given moment, the automobile may be going faster or slower than the average.
We cannot define instantaneous velocity as a ratio because we would have to divide by the length of the time interval (which is zero). However, we should be able to estimate instantaneous velocity by computing average velocity over successively smaller time intervals. The guiding principle is: Average velocity over a very small time interval is very close to instantaneous velocity. To explore this idea further, we introduce some notation.
The Greek letter ! (delta) is commonly used to denote the change in a function or variable. If s(t) is the position of an object (distance from the origin) at time t and [t0, t1] is a time interval, we set
!s = s(t1) − s(t0) = change in position !t = t1 − t0 = change in time (length of time interval)
S E C T I O N 2.1 Limits, Rates of Change, and Tangent Lines 57
The change in position !s is also called the displacement, or net change in position. For t1 ̸= t0,
Average velocity over [t0, t1] = !s
!t = s(t1) − s(t0)
t1 − t0
One type of motion we will study is the motion of an object falling to earth under
t = 0 t = 0.5
0
4.9
1.225
t = 1
FIGURE 2 Distance traveled by a falling object after t seconds is s(t) = 4.9t2 meters.
the influence of gravity (assuming no air resistance). Galileo discovered that if the object is released at time t = 0 from a state of rest (Figure 2), then the distance traveled after t seconds is given by the formula
s(t) = 4.9t2 m
EXAMPLE 1 A hammer falls off a scaffolding at time t = 0. Estimate the instanta- neous velocity at t = 0.8 s. Solution We use Galileo’s formula s(t) = 4.9t2 to compute the average velocity over theTABLE 1
Time intervals Average velocity
[0.8, 0.81] 7.889 [0.8, 0.805] 7.8645 [0.8, 0.8001] 7.8405 [0.8, 0.80005] 7.84024 [0.8, 0.800001] 7.840005
five short time intervals listed in Table 1. Consider the first interval [t0, t1] = [0.8, 0.81]:
!s = s(0.81) − s(0.8) = 4.9(0.81)2 − 4.9(0.8)2 ≈ 3.2149 − 3.1360 = 0.7889 m !t = 0.81 − 0.8 = 0.01 s
The average velocity over [0.8, 0.81] is the ratio !s
!t = s(0.81) − s(0.8)
0.81 − 0.8 = 0.07889
0.01 = 7.889 m/s
Table 1 shows the results of similar calculations for intervals of successively shorterThere is nothing special about the particular time intervals in Table 1. We are looking for a trend, and we could have chosen any intervals [0.8, t] for values of t approaching 0.8. We could also have chosen intervals [t, 0.8] for t < 0.8.
lengths. It looks like these average velocities are getting closer to 7.84 m/s as the length of the time interval shrinks:
7.889, 7.8645, 7.8405, 7.84024, 7.840005
This suggests that 7.84 m/s is a good candidate for the instantaneous velocity at t = 0.8.
We express our conclusion in the previous example by saying the following:
Average velocity converges to instantaneous velocity. Instantaneous velocity is the limit of average velocity as the length of the time interval shrinks to zero.
We might write this as instantaneous velocity = lim !t→0
(average velocity).
Graphical Interpretation of Velocity The idea that average velocity converges to instantaneous velocity as we shorten the time interval has a vivid interpretation in terms of secant lines. The term secant line refers to a line through two points on a curve.
Consider the graph of position s(t) for an object traveling in a straight line such as a bicycle (Figure 3). The ratio defining average velocity over [t0, t1] is nothing more than the slope of the secant line through the points (t0, s(t0)) and (t1, s(t1)). For t1 ̸= t0,
Average velocity = slope of secant line = !s !t
= s(t1) − s(t0) t1 − t0
By interpreting average velocity as a slope, we can visualize what happens as the time interval gets smaller. Figure 4 shows the graph of position for the falling stone of Example 1, where s(t) = 4.9t2. As the time interval shrinks, the secant lines get closer to—and seem to rotate into—the tangent line at t = 0.8.
58 C H A P T E R 2 LIMITS
Secant line
t (time)
s(t0)
s(t1)
!s = s(t1) − s(t0)
!t = t1 − t0
t1t0
s (position)
s(t0)
s(t1)
FIGURE 3 The average velocity over [t0, t1] is equal to the slope of the secant line.
Time Average interval velocity
[0.8, 0.805] 7.8645 [0.8, 0.8001] 7.8405 [0.8, 0.80005] 7.8402
0.800050.8 0.8001
0.805
Tangent line at t = 0.8
Slopes of secants 7.8645
7.8405
7.8402 7.84 Slope of tangent
t (s)
s (m)
FIGURE 4 The secant lines “rotate into” the tangent line as the time interval shrinks. Note: The graph is not drawn to scale.
And since the secant lines approach the tangent line, the slopes of the secant lines get closer and closer to the slope of the tangent line. In other words, the statement
As the time interval shrinks to zero, the average velocity approaches the instantaneous velocity.
has the graphical interpretation
As the time interval shrinks to zero, the slope of the secant line approaches the slope of the tangent line.
We conclude the following:
Instantaneous velocity is equal to the slope of the tangent line to the graph of position as a function of time.
This conclusion and its generalization to other rates of change are of fundamental importance in differential calculus.
EXAMPLE 2 Describe the motion and velocities of a shuttle train that runs on a straight track at the airport, ferrying passengers from one terminal to another according to the graph given in Figure 5.
800
0 4 95
Position x (meters)
Time t (minutes)FIGURE 5 The position of a shuttle train traveling along a straight track.
Solution At time t = 0, the train is at position x = 0 on the track at the first terminal. It gradually begins moving, speeding up until around 2 min. It then begins slowing down, and reaches its destination 800 m down the track at t = 4 min. At this point, it stops. Notice that for t in the interval (0, 4), the slopes of the tangent lines, which represent
S E C T I O N 2.1 Limits, Rates of Change, and Tangent Lines 59
the velocity, are positive. So the instantaneous velocities are positive. The slopes of the tangent lines begin very small, increase, and then decrease to 0. In the interval [4, 5], the graph has a horizontal tangent line with slope 0. In this interval, the train is not moving, having instantaneous velocity 0. The shuttle train then moves in the reverse direction. The slopes of the tangent lines in the interval (5, 9) are all negative. The speed increases and then decreases in this interval but the velocities are all negative. The train has returned to the original terminal at x = 0 on the track at time t = 9 min.
Other Rates of Change Velocity is only one of many examples of a rate of change. Our reasoning applies to any quantity y that depends on a variable x—say, y = f (x). For any interval [x0, x1], we set
!f = f (x1) − f (x0), !x = x1 − x0 For x1 ̸= x0, the average rate of change of y with respect to x over [x0, x1] is the ratioSometimes, we write !y and !y/!x
instead of !f and !f /!x.
Average rate of change = !f !x
= f (x1) − f (x0) x1 − x0︸ ︷︷ ︸
Slope of secant line
The instantaneous rate of change at x = x0 is the limit of the average rates of change.The word “instantaneous” is often dropped. When we use the term “rate of change,” it is understood that the instantaneous rate is the intended not average rate.
We estimate it by computing the average rate over smaller and smaller intervals. In Example 1 above, we considered only right-hand intervals [x0, x1]. In the next
example, we compute the average rate of change for intervals lying to both the left and the right of x0.
EXAMPLE 3 Bacteria in a Petri Dish Suppose the formula B = 5 √
T yields a good approximation to the amount of bacteria, as measured by its weight, that grows in a particular petri dish (in milligrams) over one day as a function of the temperature T (in degrees centigrade) for temperatures in the range 0 ≤ T ≤ 25. Estimate the instantaneous rate of change of B with respect to T when T = 10◦C. What are the units of this rate? Solution To estimate the instantaneous rate of change at T = 10, we compute the average rate for several intervals lying to the left and right of T = 10. For example, the average rate of change over [9.5, 10] is
B(10) − B(9.5) 10 − 9.5 =
5 √
10 − 5 √
9.5 0.5
≈ 0.8007
Tables 2 and 3 suggest that the instantaneous rate is approximately 0.790. This is the rate of increase in the weight of the bacteria with respect to temperature, so it has units of mg/◦C, or milligrams per degree centigrade. The secant lines corresponding to the values in the tables are shown in Figures 6 and 7.
TABLE 2 Left-Hand Intervals
Temperature Average rate interval of change
[9.5, 10] 0.8007 [9.8, 10] 0.7946 [9.9, 10] 0.7926 [9.99, 10] 0.7908
TABLE 3 Right-Hand Intervals
Temperature Average rate interval of change
[10, 10.5] 0.7809 [10, 10.2] 0.7867 [10, 10.1] 0.7886 [10, 10.01] 0.7904
TB = 5
109.5
Tangent line
0.8007 0.7946 0.7926
T (K)
B (mg)
FIGURE 6 Secant lines for intervals lying to the left of T = 10.
TB = 5
10 10.5 T (K)
Tangent line 0.78670.7809
0.7866 B (mg)
FIGURE 7 Secant lines for intervals lying to the right of T = 10.
60 C H A P T E R 2 LIMITS
To conclude this section, we recall an important point discussed in Section 1.2: For any linear function f (x) = mx + b, the average rate of change over every interval is equal to the slope m (Figure 8). We verify as follows:
!f
!x = f (x1) − f (x0)
x1 − x0 = (mx1 + b) − (mx0 + b)
x1 − x0 = m(x1 − x0)
x1 − x0 = m
The instantaneous rate of change at x = x0, which is the limit of these average rates, is
!x
!f
!x
!f
x
y
FIGURE 8 For a linear function f (x) = mx + b, the ratio !f/!x is equal to the slope m for every interval.
also equal to m. This makes sense graphically because all secant lines and all tangent lines to the graph of f coincide with the graph itself.
2.1 SUMMARY
• The limit as x approaches a of a function f is a number L that f (x) approaches, if such an L exists.
• The average rate of change of y = f (x) over an interval [x0, x1]:
Average rate of change = !f !x
= f (x1) − f (x0) x1 − x0
(x1 ̸= x0)
• The instantaneous rate of change is the limit of the average rates of change as the time interval shrinks.
• Graphical interpretation:
– Average rate of change is the slope of the secant line through the points (x0, f (x0)) and (x1, f (x1)) on the graph of f.
– Instantaneous rate of change is the slope of the tangent line at x0.
• To estimate the instantaneous rate of change at x = x0, compute the average rate of change over several intervals [x0, x1] (or [x1, x0]) for x1 close to x0.
• The velocity of an object in linear motion is the rate of change of position s(t). • Linear function f (x) = mx + b: The average rate of change over every interval and the
instantaneous rate of change at every point are equal to the slope m.
2.1 EXERCISES
Preliminary Questions 1. Average velocity is equal to the slope of a secant line through two
points on a graph. Which graph?
2. Can instantaneous velocity be defined as a ratio? If not, how is instantaneous velocity computed?
3. What is the graphical interpretation of instantaneous velocity at a specific time t = t0?
4. Find a graphical interpretation of the following statement: The av- erage rate of change approaches the instantaneous rate of change as the interval [x0, x1] shrinks to x0. 5. The rate of change of atmospheric temperature with respect to al-
titude is equal to the slope of the tangent line to a graph. Which graph? What are possible units for this rate?
Exercises 1. A ball dropped from a state of rest at time t = 0 travels a distance
s(t) = 4.9t2 m in t seconds. (a) How far does the ball travel during the time interval [2, 2.5]? (b) Compute the average velocity over [2, 2.5]. (c) Compute the average velocity for the time intervals in the table and estimate the ball’s instantaneous velocity at t = 2.
Interval [2, 2.01] [2, 2.005] [2, 2.001] [2, 2.00001] Average velocity
2. A wrench dropped from a state of rest at time t = 0 travels a dis- tance s(t) = 4.9t2 m in t seconds. Estimate the instantaneous velocity at t = 3.
3. Let B = 5 √
T as in Example 3. Estimate the instantaneous rate of change of B with respect to T when T = 20◦C.
4. Compute !y/!x for the interval [2, 5], where y = 4x − 9. What is the instantaneous rate of change of y with respect to x at x = 2? In Exercises 5–6, a stone is tossed vertically into the air from ground level with an initial velocity of 15 m/s. Its height at time t is h(t) = 15t − 4.9t2 m.
S E C T I O N 2.1 Limits, Rates of Change, and Tangent Lines 61
5. Compute the stone’s average velocity over the time interval [0.5, 2.5] and indicate the corresponding secant line on a sketch of the graph of h.
6. Compute the stone’s average velocity over the time intervals [1, 1.01], [1, 1.001], [1, 1.0001] and [0.99, 1], [0.999, 1], [0.9999, 1], and then estimate the instantaneous velocity at t = 1.
7. With an initial deposit of $100, and an interest rate of 8%, the balance in a bank account after t years is f (t) = 100(1.08)t dollars. (a) What are the units of the rate of change of f (t)? (b) Find the average rate of change over [0, 0.5] and [0, 1]. (c) Estimate the instantaneous rate of change at t = 0.5 by computing the average rate of change over intervals to the left and right of t = 0.5.
8. The position of a particle at time t is s(t) = t3 + t . Compute the average velocity over the time interval [1, 4] and estimate the instanta- neous velocity at t = 1.
9. Figure 9 shows the estimated percentage P of the Chilean population that uses the Internet, based on data from the United Nations Statistics Division. (a) Estimate the rate of change of P at t = 2010. (b) Does the rate of change increase or decrease as t increases? Explain graphically. (c) Let R be the average rate of change over [2008, 2012]. Com- pute R. (d) Is the rate of change at t = 2012 greater than or less than the aver- age rate R? What about the rate at t = 2008? Explain graphically.
2008 2009 2010 2011 2012
35
50
65
P (percent of Chilean population that used Internet)
t (years)
FIGURE 9
10. The atmospheric temperature T (in degrees Celsius) at alti- tude h meters above a certain point on Earth can be approximated by T = 15 − 0.0065h for h ≤ 12,000 m. What are the average and in- stantaneous rates of change of T with respect to h? Why are they the same? Sketch the graph of T for h ≤ 12,000. In Exercises 11–18, estimate the instantaneous rate of change at the point indicated.
11. P(x) = 3x2 − 5; x = 2 12. f (t) = 12t − 7; t = −4
13. y(x) = 1 x + 2 ; x = 2 14. y(t) =
√ 3t + 1; t = 1
15. f (x) = ex ; x = 0 16. f (x) = ex ; x = e
17. f (x) = ln x; x = 3 18. f (x) = tan−1 x; x = π 4
19. The height (in centimeters) at time t (in seconds) of a small mass oscillating at the end of a spring is h(t) = 8 cos(12π t). (a) Calculate the mass’s average velocity over the time intervals [0, 0.1] and [3, 3.5]. (b) Estimate its instantaneous velocity at t = 3.
20. Assume that the period T (in seconds) of a pendulum (the time required for a complete back-and-forth cycle) is T = 32
√ L, where
L is the pendulum’s length (in meters). (a) What are the units for the rate of change of T with respect to L? Explain what this rate measures. (b) Which quantities are represented by the slopes of lines A and B in Figure 10? (c) Estimate the instantaneous rate of change of T with respect to L when L = 3 m.
Period (s)
Length (m) 1 3
AB
2
FIGURE 10 The period T is the time required for a pendulum to swing back and forth.
21. The number P(t) of E. coli cells at time t (hours) in a petri dish is plotted in Figure 11. (a) Calculate the average rate of change of P(t) over the time interval [1, 3] and draw the corresponding secant line. (b) Estimate the slope m of the line in Figure 11. What does m repre- sent?
t (h) 321
10,000
8000
6000
4000
2000 1000
P (t)
FIGURE 11 Number of E. coli cells at time t .
22. The graphs in Figure 12 represent the positions of moving particles as functions of time. (a) Do the instantaneous velocities at times t1, t2, t3 in (A) form an increasing or a decreasing sequence? (b) Is the particle speeding up or slowing down in (A)? (c) Is the particle speeding up or slowing down in (B)?
Distance Distance
t2 t3t1
(A)
Time Time
(B)
FIGURE 12
62 C H A P T E R 2 LIMITS
23. An advertising campaign boosted sales of Crunchy Crust frozen pizza to a peak level of S0 dollars per month. A marketing study showed that after t months, monthly sales declined to
S(t) = S0g(t), where g(t) = 1√
1 + t Do sales decline more slowly or more rapidly as time increases? An- swer by referring to a sketch of the graph of g together with several tangent lines.
24. The fraction of a city’s population infected by a flu virus is plotted as a function of time (in weeks) in Figure 13. (a) Which quantities are represented by the slopes of lines A and B? Estimate these slopes. (b) Is the flu spreading more rapidly at t = 1, 2, or 3? (c) Is the flu spreading more rapidly at t = 4, 5, or 6?
Fraction infected
Weeks
B
A
1 2 3 4 5 6
0.3
0.2
0.1
FIGURE 13
25. The graphs in Figure 14 represent the positions s of moving par- ticles as functions of time t . Match each graph with a description: (a) Speeding up (b) Speeding up and then slowing down (c) Slowing down (d) Slowing down and then speeding up
(B)(A)
(D)(C)
t
s
t
s
t
s
t
s
FIGURE 14
26. An epidemiologist finds that the percentage N(t) of susceptible children who are sick on day t during the first 3 weeks of a measles outbreak is given, to a reasonable approximation, by the formula (Fig- ure 15)
N(t) = 100t 2
t3 + 5t2 − 100t + 380
Percent infected
Time (days) 2 6 10 14 184 8 12 16 20
20
15
10
5
FIGURE 15 Graph of N .
(a) Draw the secant line whose slope is the average rate of change in infected children over the intervals [4, 6] and [12, 14]. Then compute these average rates (in units of percent per day). (b) Is the rate of decline greater at t = 8 or t = 16? (c) Estimate the rate of change of N(t) on day 12.
27. The fungus Fusarium exosporium infects a field of flax plants through the roots and causes the plants to wilt. Eventually, the entire field is infected. The percentage f (t) of infected plants as a function of time t (in days) since planting is shown in Figure 16. (a) What are the units of the rate of change of f (t) with respect to t? What does this rate measure? (b) Use the graph to rank (from smallest to largest) the average infec- tion rates over the intervals [0, 12], [20, 32], and [40, 52]. (c) Use the following table to compute the average rates of infection over the intervals [30, 40], [40, 50], [30, 50]:
Days 0 10 20 30 40 50 60 Percent infected 0 18 56 82 91 96 98
(d) Draw the tangent line at t = 40 and estimate its slope.
Percent infected
Days after planting 10 20 30 40 50 60
100
80
60
40
20
FIGURE 16
28. Let v = 5 √
T as in Example 3. Is the rate of change of v with respect to T greater at low temperatures or high temperatures? Explain in terms of the graph.
29. If an object in linear motion (but with changing veloc- ity) covers !s meters in !t seconds, then its average velocity is v0 = !s/!t m/s. Show that it would cover the same distance if it trav- eled at constant velocity v0 over the same time interval. This justifies our calling !s/!t the average velocity.
30. Sketch the graph of f (x) = x(1 − x) over [0, 1]. Refer to the graph and, without making any computations, find: (a) the average rate of change over [0, 1]. (b) the (instantaneous) rate of change at x = 12 . (c) the values of x at which the rate of change is positive.
S E C T I O N 2.2 Limits: A Numerical and Graphical Approach 63
31. Which graph in Figure 17 has the following property: For all x, the average rate of change over [0, x] is greater than the instan- taneous rate of change at x. Explain.
(B)
x
y
(A)
x
y
FIGURE 17
Further Insights and Challenges 32. The height of a projectile fired in the air vertically with initial ve- locity 25 m/s is
h(t) = 25t − 4.9t2 m
(a) Compute h(1). Show that h(t) − h(1) can be factored with (t − 1) as a factor. (b) Using part (a), show that the average velocity over the interval [1, t] is 20.1 − 4.9t . (c) Use this formula to find the average velocity over several intervals [1, t] with t close to 1. Then estimate the instantaneous velocity at time t = 1. 33. Let Q(t) = t2. As in the previous exercise, find a formula for the average rate of change of Q over the interval [1, t] and use it to estimate the instantaneous rate of change at t = 1. Repeat for the interval [2, t] and estimate the rate of change at t = 2. 34. Show that the average rate of change of f (x) = x3 over [1, x] is equal to
x2 + x + 1 Use this to estimate the instantaneous rate of change of f (x) at x = 1.
35. Find a formula for the average rate of change of f (x) = x3 over [2, x] and use it to estimate the instantaneous rate of change at x = 2.
36. Let T = 32 √
L as in Exercise 20. The numbers in the sec- ond column of Table 4 are increasing, and those in the last column are decreasing. Explain why in terms of the graph of T as a function of L. Also, explain graphically why the instantaneous rate of change at L = 3 lies between 0.43299 and 0.43303.
TABLE 4 Average Rates of Change of T with Respect to L
Average rate Average rate Interval of change Interval of change
[3, 3.2] 0.42603 [2.8, 3] 0.44048 [3, 3.1] 0.42946 [2.9, 3] 0.43668 [3, 3.001] 0.43298 [2.999, 3] 0.43305 [3, 3.0005] 0.43299 [2.9995, 3] 0.43303
2.2 Limits: A Numerical and Graphical Approach The goal in this section is to define limits and study them using numerical and graphical techniques. We begin with the following question: How do the values of a function f behave when x approaches a number c, whether or not f (c) is defined?
To explore this question, we’ll experiment with the function
f (x) = sin x x
(x in radians)
Notice that f (0) is not defined. In fact, when we set x = 0 inThe undefined expression 0/0 is referred to as an “indeterminate form.”
f (x) = sin x x
we obtain the undefined expression 0/0 because sin 0 = 0. Nevertheless, we can compute f (x) for values of x close to 0. When we do this, a clear trend emerges.
To describe the trend, we use the phrase “x approaches 0” or “x tends to 0” to indicate that x takes on values (both positive and negative) that get closer and closer to 0. The notation for this is x → 0, and more specifically we write
• x → 0+ if x approaches 0 from the right (on the number line). • x → 0− if x approaches 0 from the left (on the number line).
Now consider the values listed in Table 1. The table gives the unmistakable impression that f (x) gets closer and closer to 1 as x → 0+ and as x → 0−.
This conclusion is supported by the graph of f in Figure 1. The point (0, 1) is missing from the graph because f (x) is not defined at x = 0, but the graph approaches
64 C H A P T E R 2 LIMITS
TABLE 1
x sin x
x x
sin x x
1 0.841470985 −1 0.841470985 0.5 0.958851077 −0.5 0.958851077 0.1 0.998334166 −0.1 0.998334166 0.05 0.999583385 −0.05 0.999583385 0.01 0.999983333 −0.01 0.999983333 0.005 0.999995833 −0.005 0.999995833 0.001 0.999999833 −0.001 0.999999833
x → 0+ f (x) → 1 x → 0− f (x) → 1
2π 3π
1
−π−2π−3π π x
y
FIGURE 1 Graph of f (x) = sin x x
.
this missing point as x approaches 0 from the left and right. We say that the limit of f (x) as x → 0 is equal to 1, and we write
lim x→0
f (x) = 1
We also say that f (x) approaches or converges to 1 as x → 0.
CONCEPTUAL INSIGHT The numerical and graphical evidence may convince us that
f (x) = sin x x
converges to 1 as x → 0, but since f (0) yields the undefined expres- sion 0/0, could we not arrive at this conclusion more simply by saying that 0/0 is equal to 1? The answer is no. Algebra does not allow us to divide by 0 under any circumstances, and it is not correct to say that 0/0 equals 1 or any other number.
What we have learned, however, is that a function f may approach a limit as x → c even if the formula for f (c) produces the undefined expression 0/0. The limit of f (x) = sin x
x turns out to be 1. We will encounter other examples where the formula
for f (c) produces 0/0 but the limit is a number other than 1 (or the limit does not exist).
The fact that sin x x
approaches 1 for x approaching 0 can be interpreted to mean that the two functions y = sin x and y = x behave similarly as x approaches 0. Their graphs in Figure 2 make it clear this is the case. The closer we get to x = 0, the closer the two graphs become.
y
x
y = sin x
y = x
FIGURE 2 Definition of a Limit To define limits, let us recall that the distance between two numbers a and b is the absolute value |a − b|. So we can express the idea that f (x) is close to L by saying that |f (x) − L| is small.
DEFINITION Limit Assume thatf (x) is defined for allx in an open interval containing c, but not necessarily at c itself. We say that
the limit of f (x) as x approaches c is equal to the number L
if |f (x) − L| can be made arbitrarily small by taking x sufficiently close (but not equal) to c. In this case, we write
lim x→cf (x) = L
We also say thatf (x)approaches or converges toL asx → c [and we writef (x) → L].
In other words, as x approaches c, f (x) approaches L. See Figure 3 for the graphical interpretation. If the values of f (x) do not converge to any number L as x → c, we say
The concept of a limit was not fully clarified until the nineteenth century. The French mathematician Augustin-Louis Cauchy (1789–1857, pronounced Koh-shee) gave the following verbal definition: “When the values successively attributed to the same variable approach a fixed value indefinitely, in such a way as to end up differing from it by as little as one could wish, this last value is called the limit of all the others. So, for example, an irrational number is the limit of the various fractions which provide values that approximate it more and more closely.” (Translated by J. Grabiner)
that lim x→c f (x) does not exist. It is important to note that the value f (c) itself, which may
or may not be defined, plays no role in the limit. All that matters are the values of f (x) for x close to c. Furthermore, if f (x) approaches a limit as x → c, then the limiting value L is unique.
S E C T I O N 2.2 Limits: A Numerical and Graphical Approach 65
EXAMPLE 1 Use the definition above to verify the following limits:
| f (x) − L |
c x
f (x)
y = f (x)
L
x
y
FIGURE 3 As x → c, f (x) → L. A similar picture holds for x < c as x → c.
(a) lim x→7
5 = 5 (b) lim x→4
(3x + 1) = 13
Solution
(a) Let f (x) = 5. To show that lim x→7
f (x) = 5, we must show that |f (x) − 5| becomes arbitrarily small when x is sufficiently close (but not equal) to 7. But observe that |f (x) − 5| = |5 − 5| = 0 for all x, so what we are required to show is automatic (and it is not necessary to take x close to 7).
(b) Let f (x) = 3x + 1. To show that lim x→4
(3x + 1) = 13, we must show that |f (x) − 13| becomes arbitrarily small when x is sufficiently close (but not equal) to 4. We have
|f (x) − 13| = |(3x + 1) − 13| = |3x − 12| = 3|x − 4|
Because |f (x) − 13| is a multiple of |x − 4|, we can make |f (x) − 13| arbitrarily small by taking x sufficiently close to 4.
Reasoning as in Example 1 but with arbitrary constants, we obtain the following simple but important results:
THEOREM 1 For any constants k and c, (a) lim x→c k = k, (b) limx→c x = c.
To deal with more complicated limits and, especially, to provide mathematicallyHere is one version of the rigorous definition of a limit: lim
x→c f (x) = L if, for
every number n, we can find a value of m so that for any x such that 0 < |x − c| < 10−m, then |f (x) − L| < 10−n.
rigorous proofs, a more precise version of the above limit definition is needed. This more precise version is discussed in Section 2.9, where inequalities are used to pin down the exact meaning of the phrases “arbitrarily small” and “sufficiently close.”
Graphical and Numerical Investigation Our goal in the rest of this section is to develop a better intuitive understanding of limits by investigating them graphically and numerically.
Graphical Investigation Use a graphing utility to produce a graph of f. The graph should give a visual impression of whether or not a limit exists. It can often be used to estimate the value of the limit.
Numerical Investigation We writex → c− to indicate thatx approaches c through values less than c (i.e., from the left), and we write x → c+ to indicate that x approaches c through values greater than c (i.e., from the right). To investigate lim
x→c f (x),
(i) Make a table of values of f (x) for x close to but less than c—that is, as x → c−. (ii) Make a second table of values of f (x) for x close to but greater than c—that is, as x → c+. (iii) If both tables indicate convergence to the same number L, we take L to be an estimate for the limit.
The tables should contain enough values to reveal a clear trend of convergence to a value L.
Keep in mind that graphical and numerical investigations provide evidence for a limit, but they do not prove that the limit exists or has a given value. This is done using the Limit Laws established in the following sections.
If f (x) approaches a limit, the successive values of f (x) will generally agree to more and more decimal places as x is taken closer to c. If no pattern emerges, then the limit may not exist.
66 C H A P T E R 2 LIMITS
EXAMPLE 2 Investigate lim x→9
x − 9√ x − 3 graphically and numerically.
Solution The function f (x) = x − 9√ x − 3 is undefined at x = 9 because the formula for
f (9) leads to the undefined expression 0/0. Therefore, the graph in Figure 4 has a gap at x = 9. However, the graph suggests that f (x) approaches 6 as x → 9.
For numerical evidence, we consider a table of values of f (x) for x approaching 9 from both the left and the right. Table 2 supports our impression that
lim x→9
x − 9√ x − 3 = 6
We will see shortly that, in fact, we can write lim x→9
x − 9√ x − 3 = limx→9
(√ x − 3
) (√ x + 3
) √
x − 3 = lim x→9
( √
x + 3) = 6. Thus, the algebraic solution will confirm our numerical and geometric conclusion.
3 6 9 12
3
6
9
x
y
FIGURE 4 Graph of f (x) = x − 9√ x − 3 .
TABLE 2
x → 9− x − 9√ x − 3 x → 9
+ x − 9√ x − 3
8.9 5.98329 9.1 6.01662 8.99 5.99833 9.01 6.001666 8.999 5.99983 9.001 6.000167 8.9999 5.9999833 9.0001 6.0000167
EXAMPLE 3 Limit Equals Value of the Function Investigate lim x→4
x2.
Solution Figure 5 and Table 3 both suggest that lim x→4
x2 = 16. But f (x) = x2 is defined at x = 4 and f (4) = 16, so in this case, the limit is equal to the function value. This pleasant conclusion is valid whenever f is a continuous function, a concept treated in Section 2.4.
16
2 4 6 x
y
FIGURE 5 Graph of f (x) = x2. The limit is equal to the value of the function f (4) = 16.
TABLE 3
x → 4− x2 x → 4+ x2
3.9 15.21 4.1 16.81 3.99 15.9201 4.01 16.0801 3.999 15.992001 4.001 16.008001 3.9999 15.99920001 4.0001 16.00080001
EXAMPLE 4 Defining Property of e Verify numerically that lim h→0
eh − 1 h
= 1.
Solution The function f (h) = (eh − 1)/h is undefined at h = 0, but both Figure 6 and Table 4 suggest that lim
h→0 (eh − 1)/h = 1. We will ultimately see that the fact this limit is
equal to 1 reflects the fact that the tangent line to the graph of y = ex at x = 0 has slope 1, as in Figure 3 from Section 1.6.
S E C T I O N 2.2 Limits: A Numerical and Graphical Approach 67
2
y
1−1 2−2 h
1
y = h
eh − 1
FIGURE 6
TABLE 4
h → 0− e h − 1 h
h → 0+ e h − 1 h
−0.02 0.990 0.02 1.0101 −0.005 0.99750 0.005 1.00250 −0.001 0.999500 0.001 1.000500 −0.0001 0.99995000 0.0001 1.00005000
EXAMPLE 5 A Limit That Does Not Exist Investigate lim x→0
sin π
x graphically and nu-CAUTION Numerical investigations are often
suggestive, but may be misleading in some cases. If, in Example 5, we had chosen to
evaluate f (x) = sin π x
at the values
x = 0.1, 0.01, 0.001, . . . , we might have concluded incorrectly that f (x) approaches the limit 0 as x → 0. The problem is that f (10−n) = sin(10nπ) = 0 for every whole number n, but f (x) itself does not approach any limit.
merically.
Solution The function f (x) = sin πx is not defined at x = 0, but Figure 7 suggests that it oscillates between +1 and −1 infinitely often as x → 0. It appears, therefore, that lim x→0
sin πx does not exist. This impression is confirmed by Table 5, which shows that the
values of f (x) bounce around and do not tend toward any limit L as x → 0.
−2
y
x −1
1 21 2
1 3
1 4
1 3
1 2
−
−
FIGURE 7 Graph of f (x) = sin πx .
TABLE 5 The Function f (x) = sin πx Does Not Approach a Limit as x → 0
x → 0− sin π x
x → 0+ sin π x
−0.1 0 0.1 0 −0.03 0.866 0.03 −0.866 −0.007 −0.434 0.007 0.434 −0.0009 0.342 0.0009 −0.342 −0.00065 −0.935 0.00065 0.935
One-Sided Limits The limits discussed so far are two-sided. To show that lim
x→c f (x) = L, it is necessary to check that f (x) converges to L as x approaches c through values both larger and smaller than c. In some instances, f (x) may approach L from one side of c without necessarily approaching it from the other side, or f (x) may be defined on only one side of c. For this reason, we define the one-sided limits
lim x→c−
f (x) (left-hand limit), lim x→c+
f (x) (right-hand limit)
The limit itself exists if both one-sided limits exist and are equal.
EXAMPLE 6 Left- and Right-Hand Limits Not Equal Investigate the one-sided limits of f (x) = x|x| as x → 0. Does limx→0 f (x) exist?1
−1 −3 −2 −1 321
x
y
FIGURE 8 Graph of f (x) = x|x| .
Solution Figure 8 shows what is going on. For x < 0,
f (x) = x|x| = x
−x = −1
Therefore, the left-hand limit is lim x→0−
f (x) = −1. But for x > 0,
f (x) = x|x| = x
x = 1
Therefore, lim x→0+
f (x) = 1. These one-sided limits are not equal, so lim x→0
f (x) does not exist.
68 C H A P T E R 2 LIMITS
EXAMPLE 7 The function f in Figure 9 is not defined at c = 0, 2, 4. Investigate the one- and two-sided limits at these points.3
1
−1
−1
4321 x
y
2
FIGURE 9
Solution
• c = 0: The left-hand limit lim x→0−
f (x) does not seem to exist because f (x) appears
to oscillate infinitely often to the left of x = 0. On the other hand, lim x→0+
f (x) = 2. • c = 2: The one-sided limits exist but are not equal:
lim x→2−
f (x) = 3 and lim x→2+
f (x) = 1
Therefore, lim x→2
f (x) does not exist. • c = 4: The one-sided limits exist and both have the value 2. Therefore, the two-sided
limit exists and lim x→4
f (x) = 2.
Infinite Limits For some functions, f (x) tends to ∞ or −∞ as x approaches a value c. If so, lim
x→c f (x)2
4 x − 2 1
(A)
f (x) =
x2 1f (x) =
(B)
2 4 6
−2
−2
−4
x
y
2
2 4
−2
−2−4
−4
x
y
Asymptote x = 2
Asymptote x = 0
(C)
f (x) = ln x
x 21 3 4
y
4
2
−4
−2
Asymptote x = 0
FIGURE 10
does not exist, but we say that f (x) has an infinite limit. More precisely, we write
• lim x→c f (x) = ∞ if f (x) increases without bound as x → c.
• lim x→c f (x) = −∞ if f (x) decreases without bound as x → c.
Here, “decrease without bound” means that f (x) becomes negative and |f (x)| → ∞. One-sided infinite limits are defined similarly. When using this notation, keep in mind that ∞ and −∞ are not numbers.
When f (x) approaches ∞ or −∞ as x approaches c from one or both sides, the line x = c is called a vertical asymptote. In Figure 10, the line x = 2 is a vertical asymptote in (A), and x = 0 is a vertical asymptote in both (B) and (C).
In the next example, the notation x → c± is used to indicate that the left- and right- hand limits are to be considered separately.
EXAMPLE 8 Investigate the one-sided limits graphically:
(a) lim x→2±
1 x − 2 (b) limx→0±
1 x2
(c) lim x→0+
ln x
Solution
(a) Figure 10(A) suggests that
lim x→2−
1 x − 2 = −∞, limx→2+
1 x − 2 = ∞
The vertical line x = 2 is a vertical asymptote. Why are the one-sided limits different? Because f (x) = 1
x − 2 is negative for x < 2 (so the limit from the left is −∞) and f (x) is positive for x > 2 (so the limit from the right is ∞).
(b) Figure 10(B) suggests that lim x→0
1 x2
= ∞. Indeed, f (x) = 1 x2
is positive for all x ̸= 0 and becomes arbitrarily large as x → 0 from either side. The line x = 0 is a vertical asymptote.
(c) Figure 10(C) suggests that lim x→0+
ln x = −∞ because f (x) = ln x is negative for 0 < x < 1 and tends to −∞ as x → 0+. The line x = 0 is a vertical asymptote.
S E C T I O N 2.2 Limits: A Numerical and Graphical Approach 69
CONCEPTUAL INSIGHT You should not think of an infinite limit as a true limit. The notation lim
x→c f (x) = ∞ is merely a shorthand way of saying that f (x) increases beyond all bounds as x approaches c. The limit itself does not exist. We must be careful when using this notation because ∞ and −∞ are not numbers, and contradictions can arise if we try to manipulate them as numbers. For example, if ∞ were a number, it would be larger than any finite number, and presumably, ∞ + 1 = ∞. But then
∞ + 1 = ∞ (∞ + 1) − ∞ = ∞ − ∞
1 = 0 (contradiction!)
To avoid errors, keep in mind the ∞ is not a number but rather a convenient shorthand notation.
2.2 SUMMARY
• By definition, lim x→c f (x) = L if |f (x) − L| can be made arbitrarily small by taking x
sufficiently close (but not equal) to c. We say that
– The limit of f (x) as x approaches c is L, or – f (x) approaches (or converges) to L as x approaches c.
• If f (x) approaches a limit as x → c, then the value of the limit L is unique. • If f (x) does not approach a limit as x → c, we say that lim
x→c f (x) does not exist. • The limit may exist even if f (c) is not defined. • One-sided limits:
– lim x→c−
f (x) = L if f (x) converges to L as x approaches c through values less than c.
– lim x→c+
f (x) = L if f (x) converges to L as x approaches c through values greater than c.
• The limit exists if and only if both one-sided limits exist and are equal. • Infinite limits: lim
x→c f (x) = ∞ if f (x) increases beyond bound as x approaches c, and lim x→c f (x) = −∞ if f (x) becomes arbitrarily large (in absolute value) but negative as x approaches c.
• In the case of a one- or two-sided infinite limit, the vertical line x = c is called a vertical asymptote.
2.2 EXERCISES
Preliminary Questions 1. What is the limit of f (x) = 1 as x → π? 2. What is the limit of g(t) = t as t → π? 3. Is lim
x→10 20 equal to 10 or 20?
4. Can f (x) approach a limit as x → c if f (c) is undefined? If so, give an example.
5. What does the following table suggest about lim x→1−
f (x) and
lim x→1+
f (x)?
x 0.9 0.99 0.999 1.1 1.01 1.001
f (x) 7 25 4317 3.0126 3.0047 3.00011
6. Can you tell whether lim x→5
f (x) exists from a plot of f for x > 5?
Explain.
7. If you know in advance that lim x→5
f (x) exists, can you determine its
value from a plot of f for all x > 5?
70 C H A P T E R 2 LIMITS
Exercises In Exercises 1–4, fill in the tables and guess the value of the limit.
1. lim x→1
f (x), where f (x) = x 3 − 1
x2 − 1 .
x f (x) x f (x)
1.002 0.998
1.001 0.999
1.0005 0.9995
1.00001 0.99999
2. lim t→0
h(t), where h(t) = cos t − 1 t2
. Note that h is even; that is,
h(t) = h(−t).
t ±0.002 ±0.0001 ±0.00005 ±0.00001 h(t)
3. lim y→2
f (y), where f (y) = y 2 − y − 2
y2 + y − 6 .
y f (y) y f (y)
2.002 1.998
2.001 1.999
2.0001 1.9999
4. lim x→0+
f (x), where f (x) = x ln x.
x 1 0.5 0.1 0.05 0.01 0.005 0.001
f (x)
5. Determine lim x→0.5
f (x) for f as in Figure 11.
6. Determine lim x→0.5
g(x) for g as in Figure 12.
0.5
1.5
x
y
1 y = f (x)
FIGURE 11
0.5
1.5
x
y
1 y = g(x)
FIGURE 12
In Exercises 7–8, evaluate the limit.
7. lim x→21
x 8. lim x→4.2
√ 3
In Exercises 9–16, verify each limit using the limit definition. For ex- ample, in Exercise 9, show that |3x − 12| can be made as small as desired by taking x close to 4.
9. lim x→4
3x = 12 10. lim x→5
3 = 3
11. lim x→3
(5x + 2) = 17 12. lim x→2
(7x − 4) = 10
13. lim x→0
x2 = 0 14. lim x→0
(3x2 − 9) = −9
15. lim x→0
(4x2 + 2x + 5) = 5 16. lim x→0
(x3 + 12) = 12
In Exercises 17–38, estimate the limit numerically or state that the limit does not exist. If infinite, state whether the one-sided limits are ∞ or −∞.
17. lim x→1
√ x − 1
x − 1 18. limx→−4 2x2 − 32
x + 4
19. lim x→2
x2 + x − 6 x2 − x − 2 20. limx→3
x3 − 2x2 − 9 x2 − 2x − 3
21. lim x→0
sin 2x x
22. lim x→0
sin 5x x
23. lim θ→0
cos θ − 1 θ
24. lim x→0
sin x
x2
25. lim x→4
1
(x − 4)3 26. limx→1− 3 − x x − 1
27. lim x→−3
x + 3 x2 + x − 6 28. limx→−2−
x + 1 x + 2
29. lim x→3+
x − 4 x2 − 9 30. limh→0
3h − 1 h
31. lim h→0
sin h cos 1 h
32. lim h→0
cos 1 h
33. lim x→0
|x|x 34. lim x→1+
sec−1 x√ x − 1
35. lim t→e
t − e ln t − 1 36. limr→0(1 + r)
1/r
37. lim x→1−
tan−1 x cos−1 x
38. lim x→0
tan−1 x − x sin−1 x − x
39. The greatest integer function, also known as the floor func- tion, is defined by ⌊x⌋ = n, where n is the unique integer such that n ≤ x < n + 1. Sketch the graph of y = ⌊x⌋. Calculate for c an integer: (a) lim
x→c− ⌊x⌋ (b) lim
x→c+ ⌊x⌋ (c) lim
x→2.6 ⌊x⌋
40. Determine the one-sided limits at c = 1, 2, and 4 of the function g shown in Figure 13, and state whether the limit exists at these points.
1 2 3 4 5
1
2
3
x
y
FIGURE 13
In Exercises 41–48, determine the one-sided limits numerically or graphically. If infinite, state whether the one-sided limits are ∞ or −∞, and describe the corresponding vertical asymptote. In Exercise 48, f (x) = ⌊x⌋ is the greatest integer function defined in Exercise 39.
41. lim x→0±
sin x |x| 42. limx→0±
|x|1/x
43. lim x→0±
x − sin |x| x3
44. lim x→4±
x + 1 x − 4
S E C T I O N 2.2 Limits: A Numerical and Graphical Approach 71
45. lim x→−2±
4x2 + 7 x3 + 8 46. limx→−3±
x2
x2 − 9
47. lim x→1±
x5 + x − 2 x2 + x − 2 48. limx→2±
cos (π
2 (x − ⌊x⌋)
)
49. Determine the one-sided limits at c = 2 and c = 4 of the function f in Figure 14. What are the vertical asymptotes of f ?
50. Determine the infinite one- and two-sided limits in Figure 15.
−5 42
15
5
10
x
y
FIGURE 14
x
y
−1 3 5
FIGURE 15
In Exercises 51–54, sketch the graph of a function with the given limits.
51. lim x→1
f (x) = 2, lim x→3−
f (x) = 0, lim x→3+
f (x) = 4
52. lim x→1
f (x) = ∞, lim x→3−
f (x) = 0, lim x→3+
f (x) = −∞
53. lim x→2+
f (x) = f (2) = 3, lim x→2−
f (x) = −1, lim x→4
f (x) = 2 ̸= f (4)
54. lim x→1+
f (x) = ∞, lim x→1−
f (x) = 3, lim x→4
f (x) = −∞
55. Determine the one-sided limits of the function f in Figure 16, at the points c = 1, 3, 5, 6.
−1 −2 −3 −4
1 2 3 4 5
y
x 1 2 3 4 5 6 7 8
FIGURE 16 Graph of f .
56. Does either of the two oscillating functions in Figure 17 appear to approach a limit as x → 0?
(A) (B)
xx
y y
FIGURE 17
In Exercises 57–62, plot the function and use the graph to esti- mate the value of the limit.
57. lim θ→0
sin 5θ sin 2θ
58. lim x→0
12x − 1 4x − 1
59. lim x→0
2x − cos x x
60. lim θ→0
sin2 4θ cos θ − 1
61. lim θ→0
cos 7θ − cos 5θ θ2
62. lim θ→0
sin2 2θ − θ sin 4θ θ4
63. Let n be a positive integer. For which n are the two infinite one- sided limits lim
x→0± 1/xn equal?
64. Let L(n) = lim x→1
( n
1 − xn − 1
1 − x
) for n a positive integer. In-
vestigate L(n) numerically for several values of n, and then guess the value of L(n) in general.
65. In some cases, numerical investigations can be misleading. Plot f (x) = cos πx . (a) Does lim
x→0 f (x) exist?
(b) Show, by evaluating f (x) at x = ± 12 , ± 14 , ± 16 , . . . , that you might be able to trick your friends into believing that the limit exists and is equal to L = 1. (c) Which sequence of evaluations might trick them into believing that the limit is L = −1.
Further Insights and Challenges 66. Light waves of frequency λ passing through a slit of width a pro- duce a Fraunhoferdiffraction pattern of light and dark fringes (Figure 18). The intensity as a function of the angle θ is
I (θ) = Im (
sin(R sin θ) R sin θ
)2
where R = πa/λ and Im is a constant. Show that the intensity function is not defined at θ = 0. Then choose any two values for R and check numerically that I (θ) approaches Im as θ → 0.
67. Investigate lim θ→0
sin nθ θ
numerically for several positive integer
values of n. Then guess the value in general.
a
Intensity pattern
Viewing screen
Slit
Incident light waves
θ
FIGURE 18 Fraunhofer diffraction pattern.
72 C H A P T E R 2 LIMITS
68. Show numerically that lim x→0
bx − 1 x
for b = 3 and b = 5 appears to equal ln 3 and ln 5, respectively, where ln x is the natural logarithm. Then make a conjecture (guess) for the value in general and test your conjecture for two additional values of b.
69. Investigate lim x→1
xn − 1 xm − 1 for (m, n) equal to (2, 1), (1, 2), (2, 3),
and (3, 2). Then guess the value of the limit in general and check your guess for two additional pairs.
70. Find by numerical experimentation the positive integers k such that
lim x→0
sin(sin2 x) xk
exists.
71. Plot the graph of f (x) = 2 x − 8 x − 3 .
(a) Zoom in on the graph to estimate L = lim x→3
f (x).
(b) Explain why
f (2.99999) ≤ L ≤ f (3.00001)
Use this to determine L to three decimal places.
72. The function f (x) = 2 1/x − 2−1/x
21/x + 2−1/x is defined for x ̸= 0. (a) Investigate lim
x→0+ f (x) and lim
x→0− f (x) numerically.
(b) Plot the graph of f and describe its behavior near x = 0.
2.3 Basic Limit Laws In Section 2.2, we relied on graphical and numerical approaches to investigate limits and estimate their values. In the next four sections, we go beyond this intuitive approach and develop tools for computing limits in a precise way. The next theorem provides our first set of tools.
The proof of Theorem 1 is discussed in Section 2.9 and Appendix D. To illustrate the underlying idea, consider two numbers such as 2.99 and 5.001. Observe that 2.99 is close to 3 and 5.0001 is close to 5, so certainly the sum 2.99 + 5.0001 is close to 3 + 5 and the product 2.99 × 5.0001 is close to 3 × 5. In the same way, if f (x) approaches L and g(x) approaches M as x → c, then f (x) + g(x) approaches the sum L + M, and f (x)g(x) approaches the product LM. The other laws are similar.
THEOREM 1 Basic Limit Laws If lim x→c f (x) and limx→c g(x) exist, then
(i) Sum Law: lim x→c
( f (x) + g(x)
) exists and
lim x→c
( f (x) + g(x)
) = lim
x→c f (x) + limx→c g(x)
(ii) Constant Multiple Law: For any number k, lim x→c kf (x) exists and
lim x→c kf (x) = k limx→c f (x)
(iii) Product Law: lim x→c f (x)g(x) exists and
lim x→c f (x)g(x) =
( lim x→c f (x)
) ( lim x→c g(x)
)
(iv) Quotient Law: If lim x→c g(x) ̸= 0, then limx→c
f (x)
g(x) exists and
lim x→c
f (x)
g(x) =
lim x→c f (x)
lim x→c g(x)
(v) Powers and Roots: If n is a positive integer, then
lim x→c[f (x)]
n = (
lim x→c f (x)
)n , lim
x→c n √
f (x) = n √
lim x→c f (x)
In the second limit, assume that lim x→c f (x) ≥ 0 if n is even.
If p, q are integers with q ̸= 0, then lim x→c[f (x)]
p/q exists and
lim x→c[f (x)]
p/q = (
lim x→c f (x)
)p/q
Assume that lim x→c f (x) ≥ 0 if q is even, and that limx→c f (x) ̸= 0 if p/q < 0.
Before proceeding to the examples, we make some useful remarks.
• The Sum and Product Laws are valid for any number of functions. For example,
lim x→c
( f1(x) + f2(x) + f3(x)
) = lim
x→c f1(x) + limx→c f2(x) + limx→c f3(x)
S E C T I O N 2.3 Basic Limit Laws 73
• The Sum Law has a counterpart for differences:
lim x→c
( f (x) − g(x)
) = lim
x→c f (x) − limx→c g(x)
This follows from the Sum and Constant Multiple Laws (with k = −1):
lim x→c
( f (x) − g(x)
) = lim
x→c f (x) + limx→c ( − g(x)
) = lim
x→c f (x) − limx→c g(x)
• Recall two basic limits from Theorem 1 in Section 2.2:
lim x→c k = k, limx→c x = c
Applying Law (v) to f (x) = x, we obtain
lim x→cx
p/q = cp/q 1
for integers p, q, q ̸= 0. Assume that c ≥ 0 if q is even and that c ̸= 0 if p/q < 0.
EXAMPLE 1 Use the Basic Limit Laws to evaluate:
(a) lim x→2
x3 (b) lim x→2
(x3 + 5x + 7) (c) lim x→2
√ x3 + 5x + 7
Solution
(a) By Eq. (1), lim x→2
x3 = 23 = 8. (b)
lim x→2
(x3 + 5x + 7) = lim x→2
x3 + lim x→2
5x + lim x→2
7 (Sum Law)
= lim x→2
x3 + 5 lim x→2
x + lim x→2
7 (Constant Multiple Law)
= 8 + 5(2) + 7 = 25
(c) By Law (v) for roots and (b),
lim x→2
√ x3 + 5x + 7 =
√ lim x→2
(x3 + 5x + 7) = √
25 = 5
EXAMPLE 2 Evaluate (a) lim t→−1
t + 6 2t4
and (b) lim t→3
t−1/4(t + 5)1/3. You may have noticed that each of the limits in Examples 1 and 2 could have been evaluated by a simple substitution. For example, set t = −1 to evaluate
lim t→−1
t + 6 2t4
= −1 + 6 2(−1)4 =
5 2
Substitution is valid when the function is continuous, a concept we shall study in the next section.
Solution
(a) Use the Quotient, Sum, and Constant Multiple Laws:
lim t→−1
t + 6 2t4
= lim
t→−1 (t + 6)
lim t→−1
2t4 =
lim t→−1
t + lim t→−1
6
2 lim t→−1
t4 = −1 + 6
2(−1)4 = 5 2
(b) Use the Product, Powers, and Sum Laws:
lim t→3
t−1/4(t + 5)1/3 = (
lim t→3
t−1/4 ) (
lim t→3
3√ t + 5
) =
( 3−1/4
) ( 3 √
lim t→3
t + 5 )
= 3−1/4 3 √
3 + 5 = 3−1/4(2) = 2 31/4
The next example reminds us that the Basic Limit Laws apply only when the limits of both f (x) and g(x) exist.
74 C H A P T E R 2 LIMITS
EXAMPLE 3 Assumptions Matter Show that the Product Law cannot be applied to lim x→0
f (x)g(x) if f (x) = x and g(x) = x−1.
Solution For all x ̸= 0, we have f (x)g(x) = x · x−1 = 1, so the limit of the product exists:
lim x→0
f (x)g(x) = lim x→0
1 = 1
However, lim x→0
x−1 does not exist because g(x) = x−1 approaches ∞ as x → 0+ and it approaches −∞ as x → 0−. Therefore, the Product Law cannot be applied and its conclusion does not hold:
( lim x→0
f (x) ) (
lim x→0
g(x) )
= (
lim x→0
x ) (
lim x→0
x−1 )
︸ ︷︷ ︸ Does not exist
2.3 SUMMARY
• The Basic Limit Laws: If lim x→c f (x) and limx→c g(x) both exist, then
(i) lim x→c
( f (x) + g(x)
) = lim
x→c f (x) + limx→c g(x) (ii) lim
x→c kf (x) = k limx→c f (x)
(iii) lim x→c f (x) g(x) =
( lim x→c f (x)
)( lim x→c g(x)
)
(iv) If lim x→c g(x) ̸= 0, then limx→c
f (x)
g(x) =
lim x→c f (x)
lim x→c g(x)
(v) If p, q are integers with q ̸= 0,
lim x→c[f (x)]
p/q = (
lim x→c f (x)
)p/q
For n a positive integer,
lim x→c[f (x)]
n = (
lim x→c f (x)
)n , lim
x→c n √
f (x) = n √
lim x→c f (x)
• If lim x→c f (x) or limx→c g(x) does not exist, then the Basic Limit Laws cannot be applied.
2.3 EXERCISES
Preliminary Questions 1. State the Sum Law and Quotient Law.
2. Which of the following is a verbal version of the Product Law (as- suming the limits exist)? (a) The product of two functions has a limit.
(b) The limit of the product is the product of the limits.
(c) The product of a limit is a product of functions. (d) A limit produces a product of functions.
3. Which statement is correct? The Quotient Law does not hold if: (a) the limit of the denominator is zero. (b) the limit of the numerator is zero.
Exercises In Exercises 1–24, evaluate the limit using the Basic Limit Laws and the limits lim
x→c x p/q = cp/q and lim
x→c k = k. 1. lim
x→9 x 2. lim
x→−3 14
3. lim x→ 12
x4 4. lim z→27
z2/3
5. lim t→2
t−1 6. lim x→5
x−2
7. lim x→0.2
(3x + 4) 8. lim x→ 13
(3x3 + 2x2)
9. lim x→−1
(3x4 − 2x3 + 4x) 10. lim x→8
(3x2/3 − 16x−1)
S E C T I O N 2.4 Limits and Continuity 75
11. lim x→2
(x + 1)(3x2 − 9) 12. lim x→ 12
(4x + 1)(6x − 1)
13. lim t→4
3t − 14 t + 1 14. limz→9
√ z
z − 2 15. lim
y→ 14 (16y + 1)(2y1/2 + 1) 16. lim
x→2 x(x + 1)(x + 2)
17. lim y→4
1√ 6y + 1 18. limw→7
√ w + 2 + 1√ w − 3 − 1
19. lim x→−1
x
x3 + 4x 20. limt→−1 t2 + 1
(t3 + 2)(t4 + 1)
21. lim t→25
3 √
t − 15 t (t − 20)2 22. limy→ 13
(18y2 − 4)4
23. lim t→ 32
(4t2 + 8t − 5)3/2 24. lim t→7
(t + 2)1/2 (t + 1)2/3
25. Use the Quotient Law to prove that if lim x→c f (x) exists and is
nonzero, then
lim x→c
1 f (x)
= 1 lim x→c f (x)
26. Assuming that lim x→6
f (x) = 4, compute:
(a) lim x→6
f (x)2 (b) lim x→6
1 f (x)
(c) lim x→6
x √
f (x)
In Exercises 27–30, evaluate the limit assuming that lim x→−4
f (x) = 3 and lim
x→−4 g(x) = 1.
27. lim x→−4
f (x)g(x) 28. lim x→−4
(2f (x) + 3g(x))
29. lim x→−4
g(x)
x2 30. lim
x→−4 f (x) + 1 3g(x) − 9
31. Can the Quotient Law be applied to evaluate lim x→0
sin x x
? Explain.
32. Show that the Product Law cannot be used to evaluate the limit lim
x→π/2 ( x − π2
) tan x.
33. Give an example where lim x→0
(f (x) + g(x)) exists but neither lim x→0
f (x) nor lim x→0
g(x) exists.
34. Give an example where lim x→0
(f (x) · g(x)) exists but neither lim x→0
f (x) nor lim x→0
g(x) exists.
35. Give an example where lim x→0
f (x) g(x) exists but neither limx→0
f (x) nor
lim x→0
g(x) exists.
Further Insights and Challenges 36. Show that if both lim
x→c f (x) g(x) and limx→c g(x) exist and
lim x→c g(x) ̸= 0, then limx→c f (x) exists. Hint: Write f (x) =
f (x) g(x)
g(x) .
37. Suppose that lim t→3
tg(t) = 12. Show that lim t→3
g(t) exists and equals 4.
38. Prove that if lim t→3
h(t) t = 5, then limt→3 h(t) = 15.
39. Assuming that lim x→0
f (x) x = 1, which of the following
statements is necessarily true? Why? (a) f (0) = 0 (b) lim
x→0 f (x) = 0
40. Prove that if lim x→c f (x) = L ̸= 0 and limx→c g(x) = 0, then the limit
lim x→c
f (x) g(x) does not exist.
41. Suppose that lim h→0
g(h) = L. (a) Explain why lim
h→0 g(ah) = L for any constant a ̸= 0.
(b) If we assume instead that lim h→1
g(h) = L, is it still necessarily true that lim
h→1 g(ah) = L?
(c) Illustrate (a) and (b) with the function f (x) = x2.
42. Assume that L(a) = lim x→0
ax − 1 x
exists for all a > 0.Assume also
that lim x→0
ax = 1. (a) Prove that L(ab) = L(a) + L(b) for a, b > 0. Hint: (ab)x − 1 = axbx − ax + ax − 1 = ax(bx − 1) + (ax − 1). This shows that L(a) “behaves” like a logarithm, in the sense that ln(ab) = ln a + ln b. We will see that L(a) = ln a in Section 3.9. (b) Verify numerically that L(12) = L(3) + L(4).
2.4 Limits and Continuity In everyday speech, the word “continuous” means having no breaks or interruptions. In
c
y = f (x)
f (c)
x
y
FIGURE 1 f is continuous at x = c.
calculus, continuity is used to describe functions whose graphs have no breaks. If we imagine the graph of a function f as a wavy metal wire, then f is continuous if its graph consists of a single piece of wire as in Figure 1.
Most physical phenomena are continuous in nature. Our position and velocity vary continuously with time. Temperature varies continuously with time. Viscosity of a fluid varies continuously with temperature, assuming we do not freeze or boil the liquid. Ulti- mately, when we determine the rate of change of a function as we do in the next chapter, we will need the function to be continuous.
76 C H A P T E R 2 LIMITS
A break in the wire as in Figure 2 is called a discontinuity. Observe in Figure 2 that the break in the graph occurs because the left- and right-hand limits as x approaches c are not equal and thus lim
x→c g(x) does not exist. By contrast, in Figure 1, limx→c f (x) exists and
y = g(x)
c
g(c)
x
y
FIGURE 2 Discontinuity at x = c: The left- and right-hand limits as x → c are not equal.
is equal to the function value f (c). This suggests the following definition of continuity in terms of limits.
DEFINITION Continuity at a Point Assume that f (x) is defined on an open interval containing x = c. Then f is continuous at x = c if
lim x→cf (x) = f (c)
If the limit does not exist, or if it exists but is not equal to f (c), we say that f has a discontinuity (or is discontinuous) at x = c.
Note that for f to be continuous at c, three conditions must hold:
1. f (c) is defined. 2. lim x→c f (x) exists. 3. They are equal.
A function f may be continuous at some points and discontinuous at others. If f is continuous at all points in an interval I , then f is said to be continuous on I . If I is an interval [a, b] or [a, b) that includes a as a left endpoint, we require that lim
x→a+ f (x) =
f (a). Similarly, we require that lim x→b−
f (x) = f (b) if I includes b as a right endpoint. If f is continuous at all points in its domain, then f is simply called continuous.
EXAMPLE 1 Show that the following functions are continuous:
c
k
x
y
FIGURE 3 The function f (x) = k is continuous.
(a) f (x) = k (k any constant) (b) g(x) = xn (n a whole number)
Solution
(a) We have lim x→c f (x) = limx→c k = k and f (c) = k. The limit exists and is equal to the
function value for all c, so f is continuous (Figure 3).
(b) By Eq. (1) in Section 2.3, lim x→c g(x) = limx→c x
n = cn for all c.Also g(c) = cn, so again,
c
c
x
y
FIGURE 4 The function g(x) = x is continuous.
the limit exists and is equal to the function value. Therefore, g is continuous. (Figure 4 illustrates the case n = 1.)
Examples of Discontinuities To understand continuity better, let’s consider some ways in which a function can fail to be continuous. Keep in mind that continuity at a point x = c requires that:
1. f (c) is defined. 2. lim x→c f (x) exists. 3. They are equal.
If lim x→c f (x) exists but is not equal to f (c), we say that f has a removable discon-
tinuity at x = c. The function in Figure 5(A) has a removable discontinuity at c = 2 because
f (2) = 10 but lim x→2
f (x) = 5 ︸ ︷︷ ︸
Limit exists but is not equal to function value
Removable discontinuities are “mild” in the following sense: We can make f contin- uous at x = c by redefining f (c). In Figure 5(B), f (2) has been redefined as f (2) = 5, and this makes f continuous at x = 2.
S E C T I O N 2.4 Limits and Continuity 77
2
5
10
2
5
10
x
y
x
y
(A) Removable discontinuity at x = 2 (B) Function redefined at x = 2
FIGURE 5 Removable discontinuity: The discontinuity can be removed by redefining f (2).
A“worse” type of discontinuity is a jump discontinuity, which occurs if the one-sided limits lim
x→c− f (x) and lim
x→c+ f (x) exist but are not equal. Figure 6 shows two functions with
jump discontinuities at c = 2. Unlike the removable case, we cannot make f continuous by redefining f (c).
(A) Left-continuous at x = 2 2
(B) Neither left- nor right-continuous at x = 2 2
x
y
x
y
FIGURE 6 Jump discontinuities.
In connection with jump discontinuities, it is convenient to define one-sided continuity.
DEFINITION One-Sided Continuity A function f is called:
• Left-continuous at x = c if lim x→c−
f (x) = f (c) • Right-continuous at x = c if lim
x→c+ f (x) = f (c)
In Figure 6 above, the function in (A) is left-continuous but the function in (B) is neither left- nor right-continuous. The next example explores one-sided continuity using a piecewise-defined function—that is, a function defined by different formulas on different intervals.
EXAMPLE 2 Piecewise-Defined Function Discuss the continuity of
F(x) =
⎧ ⎪⎨
⎪⎩
x for x < 1 3 for 1 ≤ x ≤ 3 x for x > 3
Solution The functions f (x) = x and g(x) = 3 are continuous, so F is also continuous,
21 4 53
1
2
3
4
5
x
y
FIGURE 7 Piecewise-defined function F in Example 2.
except possibly at the transition points x = 1 and x = 3, where the formula for F(x) changes (Figure 7).
• At x = 1, the one-sided limits exist but are not equal:
lim x→1−
F(x) = lim x→1−
x = 1, lim x→1+
F(x) = lim x→1+
3 = 3
Thus, F has a jump discontinuity at x = 1. However, the right-hand limit is equal to the function value F(1) = 3, so F is right-continuous at x = 1.
• At x = 3, the left- and right-hand limits exist and both are equal to F(3), so F is CAUTION Piecewise-defined functions may OR may not be continuous at points where they are pieced together.
continuous at x = 3:
lim x→3−
F(x) = lim x→3−
3 = 3, lim x→3+
F(x) = lim x→3+
x = 3
78 C H A P T E R 2 LIMITS
We say that f has an infinite discontinuity at x = c if one or both of the one-sided limits are infinite [even if f (x) itself is not defined at x = c]. Figure 8 illustrates three types of infinite discontinuities occurring at x = 2. Notice that x = 2 does not belong to the domain of the function in cases (A) and (B).
1
2
(B) (C)(A)
22 x x x
y y y
FIGURE 8 Functions with an infinite discontinuity at x = 2.
Finally, we note that some functions have more “severe” types of discontinuity than those discussed above. For example, f (x) = sin 1x oscillates infinitely often between +1 and −1 as x → 0 (Figure 9). Neither the left- nor the right-hand limit exists at x = 0, so this discontinuity is not a jump discontinuity. See Exercises 88 and 89 for even stranger examples.Although of interest from a theoretical point of view, these discontinuities rarely arise in practice.1−1 −
x
y
1
−1
2 π
2 π
FIGURE 9 Graph of y = sin 1x . The discontinuity at x = 0 is not a jump, removable, or infinite discontinuity.
Building Continuous Functions Having studied some examples of discontinuities, we focus again on continuous functions. How can we show that a function is continuous? One way is to use the Laws of Continuity, which state, roughly speaking, that a function is continuous if it is built out of functions that are known to be continuous.
THEOREM 1 Basic Laws of Continuity If f and g are continuous at x = c, then the following functions are also continuous at x = c:
(i) f + g and f − g (ii) kf for any constant k
(iii) fg (iv) f/g if g(c) ̸= 0
Proof These laws follow directly from the corresponding Basic Limit Laws (Theorem 1, Section 2.3). We illustrate by proving the first part of (i) in detail. The remaining laws are proved similarly. By definition, we must show that lim
x→c(f (x) + g(x)) = f (c) + g(c). Because f and g are both continuous at x = c, we have
lim x→c f (x) = f (c), limx→c g(x) = g(c)
The Sum Law for limits yields the desired result:
lim x→c(f (x) + g(x)) = limx→c f (x) + limx→c g(x) = f (c) + g(c)
In Section 2.3, we noted that the Basic Limit Laws for Sums and Products are valid for an arbitrary number of functions. The same is true for continuity; that is, if f1, . . . , fn are continuous, then so are the functions
f1 + f2 + · · · + fn, f1 · f2 · · · fn
The basic functions are continuous on their domains. Recall (Section 1.3) that the termWhen a function f is defined and continuous for all values of x, we say that f is continuous on the real line.
basic function refers to polynomials, rational functions, nth-root and algebraic functions, trigonometric functions and their inverses, and exponential and logarithmic functions.
S E C T I O N 2.4 Limits and Continuity 79
THEOREM 2 Continuity of Polynomial and Rational Functions Let P and Q be polynomials. Then:
• P and Q are continuous on the real line. • P/Q is continuous on its domain [at all values x = c such that Q(c) ̸= 0].
REMINDER A rational function is a quotient of two polynomials P/Q.
Proof The function f (x) = xm is continuous for all whole numbers m by Example 1. By Continuity Law (ii), f (x) = axm is continuous for every constant a. A polynomial
P(x) = anxn + an−1xn−1 + · · · + a1x + a0 is a sum of continuous functions, so it too is continuous. By Continuity Law (iv), a quotient function P/Q is continuous at x = c, provided that Q(c) ̸= 0.
This result shows, for example, that f (x) = 3x4 − 2x3 + 8x is continuous for all x and that
g(x) = x + 3 x2 − 1
is continuous forx ̸= ±1. Note that ifn is a positive integer, thenf (x) = x−n is continuous for x ̸= 0 because f (x) = x−n = 1/xn is a rational function.
The continuity of the nth-root, sine, cosine, exponential, and logarithmic functions should not be surprising because their graphs have no visible breaks (Figure 10). However, complete proofs of continuity are somewhat technical and are omitted.
REMINDER The domain of y = x1/n is the real line if n is odd and the half-line [0, ∞) if n is even.
THEOREM 3 Continuity of Some Basic Functions
• y = x1/n is continuous on its domain for n a natural number. • y = sin x and y = cos x are continuous on the real line. • y = bx is continuous on the real line (for b > 0, b ̸= 1). • y = logb x is continuous for x > 0 (for b > 0, b ̸= 1).
2
2
−2
4 8−8
y = x1/2
y = 2 x y = x1/3
3−3
8
x x x
y y
y
1 y = sin x
x
y
π 2
FIGURE 10 As the graphs suggest, these functions are continuous on their domains.
Because f (x) = sin x and f (x) = cos x are continuous, the Continuity Law (iv) for Quotients implies that the other standard trigonometric functions are continuous on their domains, consisting of the values of x where their denominators are nonzero:
tan x = sin x cos x
, cot x = cos x sin x
, sec x = 1 cos x
, csc x = 1 sin x
They have infinite discontinuities at points where their denominators are zero. For example, −π
2 π 2
3π 2
x
y
FIGURE 11 Graph of y = tan x.
f (x) = tan x has infinite discontinuities at the points (Figure 11)
x = ±π 2
, ±3π 2
, ±5π 2
, . . .
80 C H A P T E R 2 LIMITS
The next theorem states that the inverse f −1 of a continuous function f is continuous. This is to be expected because the graph of f −1 is the reflection of the graph of f through the line y = x. If the graph of f has “no breaks,” the same ought to be true of the graph of f −1 (see the proof of Theorem 6 in Appendix D).
THEOREM 4 Continuity of the Inverse Function If f is continuous on an interval I with range R, and if f −1 exists, then f −1 is continuous with domain R.
One consequence of this theorem is that the logarithms, nth roots, and inverse trigono- metric functions f (x) = sin−1 x, f (x) = cos−1 x, f (x) = tan−1 x, and so on are all con- tinuous on their domains.
Finally, it is important to know that a composition of continuous functions is again continuous. The following theorem is proved in Appendix D.
THEOREM 5 Continuity of Composite Functions If g is continuous at x = c, and f is continuous at x = g(c), then the composite function F(x) = f (g(x)) is continuous at x = c.
For example, F(x) = (x2 + 9)1/3 is continuous because it is the composite of the continuous functions f (x) = x1/3 and g(x) = x2 + 9. Similarly, F(x) = cos(x−1) is con- tinuous for all x ̸= 0, and F(x) = 2sin x is continuous for all x.
More generally, an elementary function is a function that is constructed out of basic functions using the operations of addition, subtraction, multiplication, division, and composition. Since the basic functions are continuous (on their domains), an elementary function is also continuous on its domain by the Laws of Continuity. An example of an elementary function is
F(x) = tan−1 (
x2 + cos(2x + 9) x − 8
)
This function is continuous on its domain {x : x ̸= 8}.
Substitution: Evaluating Limits Using Continuity It is easy to evaluate a limit when the function in question is known to be continuous. In this case, by definition, the limit is equal to the function value:
lim x→c f (x) = f (c)
We call this the Substitution Method because the limit is evaluated by “plugging in” x = c.
EXAMPLE 3 Evaluate (a) lim y→ π3
sin y and (b) lim x→−1
3x√ x + 5
.
Solution
(a) We can use substitution because f (y) = sin y is continuous.
lim y→ π3
sin y = sin π 3
= √
3 2
(b) The function f (x) = 3x/√x + 5 is continuous at x = −1 because the numerator and denominator are both continuous at x = −1 and the denominator √x + 5 is nonzero at x = −1. Therefore, we can use substitution:
lim x→−1
3x√ x + 5
= 3 −1
√ −1 + 5
= 1 6
S E C T I O N 2.4 Limits and Continuity 81
The greatest integer function f (x) = ⌊x⌋ is the function defined by ⌊x⌋ = n, where
1
2
3
−3
1 32−2 x
y
FIGURE 12 Graph of f (x) = ⌊x⌋.
n is the unique integer such that n ≤ x < n + 1 (Figure 12). For example, ⌊4.7⌋ = 4 and ⌊−2.3⌋ = −3.
EXAMPLE 4 Assumptions Matter Can we evaluate lim x→2
⌊x⌋ using substitution?
Solution Substitution cannot be applied because f (x) = ⌊x⌋ is not continuous at x = 2. Although f (2) = 2, lim
x→2 ⌊x⌋ does not exist because the one-sided limits are not equal:
lim x→2+
⌊x⌋ = 2 and lim x→2−
⌊x⌋ = 1
CONCEPTUAL INSIGHT Real-World Modeling by Continuous Functions Continuous func- tions are used often to represent physical quantities such as velocity, temperature, and voltage. This reflects our everyday experience that change in the physical world tends to occur continuously rather than through abrupt transitions. However, mathematical models are at best approximations to reality, and it is important to be aware of their limitations.
In Figure 13, atmospheric temperature is represented as a continuous function of al- titude. This is justified for large-scale objects such as the earth’s atmosphere because the reading on a thermometer appears to vary continuously as altitude changes. However, temperature is a measure of the average kinetic energy of molecules. At the micro- scopic level, it would not be meaningful to treat temperature as a quantity that varies continuously from point to point.
Similarly, the size P(t) of a population is usually treated as a continuous function of time t . Strictly speaking, P(t) is a whole number that changes by ±1 when an individual is born or dies, so it is not continuous, but if the population is large, the effect of an individual birth or death is small, and it is both reasonable and convenient to treat P as a continuous function.
World population (millions)
6,000
4,000
2,000
0 17501700 1800 1850 1900 1950 2000
Tr op
os ph
er e
St ra
to sp
he re
M es
os ph
er e
T he
rm os
ph er
e
Temperature (°C)
200
100
0
−100
10 50 100 150
FIGURE 13 Atmospheric temperature and world population are represented by continuous graphs.
2.4 SUMMARY
• Definition: f is continuous at x = c if lim x→c f (x) = f (c). This means that f (c) exists,
lim x→c f (x) exists, and they are equal.
• If lim x→c f (x) does not exist, or if it exists but does not equal f (c), then f is discontinuous
at x = c. • If f is continuous at all points in its domain, f is simply called continuous. • Right-continuous at x = c: lim
x→c+ f (x) = f (c).
• Left-continuous at x = c: lim x→c−
f (x) = f (c).
82 C H A P T E R 2 LIMITS
• Three common types of discontinuities: removable discontinuity [
lim x→c f (x) exists but
does not equal f (c) ] , jump discontinuity (the one-sided limits both exist but are not
equal), and infinite discontinuity (the limit is infinite as x approaches c from one or both sides).
• Laws of Continuity: Sums, products, multiples, inverses, and composites of continuous functions are again continuous. The same holds for a quotient f/g at points where g(x) ̸= 0.
• Basic functions: Polynomials, rational functions, nth-root and algebraic functions, trigonometric functions and their inverses, exponential and logarithmic functions. Basic functions are continuous on their domains.
• Substitution Method: If f is known to be continuous at x = c, then the value of the limit lim x→c f (x) is f (c).
2.4 EXERCISES
Preliminary Questions 1. Which property of f (x) = x3 allows us to conclude that lim x→2
x3 = 8?
2. What can be said about f (3) if f is continuous and lim x→3
f (x) = 12 ?
3. Suppose that f (x) < 0 if x is positive and f (x) > 1 if x is negative. Can f be continuous at x = 0? 4. Is it possible to determine f (7) if f (x) = 3 for all x < 7 and f is right-continuous at x = 7? What if f is left-continuous? 5. Are the following true or false? If false, then draw or give a coun- terexample, and state a correct version.
(a) f is continuous at x = a if the left- and right-hand limits of f (x) as x → a exist and are equal.
(b) f is continuous at x = a if the left- and right-hand limits of f (x) as x → a exist and equal f (a).
(c) If the left- and right-hand limits of f (x) as x → a exist, then f has a removable discontinuity at x = a.
(d) If f and g are continuous at x = a, then f + g is continuous at x = a.
(e) If f and g are continuous at x = a, then f/g is continuous at x = a.
Exercises 1. Referring to Figure 14, state whether f is left- or right-continuous
(or neither) at each point of discontinuity. Does f have any removable discontinuities?
Exercises 2–4 refer to the function g whose graph appears in Figure 15.
2. State whether g is left- or right-continuous (or neither) at each of its points of discontinuity.
3. At which point c does g have a removable discontinuity? How should g(c) be redefined to make g continuous at x = c?
4. Find the point c1 at which g has a jump discontinuity but is left- continuous. How should g(c1) be redefined to make g right-continuous at x = c1?
1 2 3 4 5 6 x
5
4
3
2
1
y
FIGURE 14 Graph of y = f (x). 1 2 3 4 5 6
x
5
4
3
2
1
y
FIGURE 15 Graph of y = g(x).
5. In Figure 16, determine the one-sided limits at the points of dis- continuity. Which discontinuity is removable and how should f be redefined to make it continuous at this point?
42−2
6
2
x
y
FIGURE 16
6. Suppose that f (x) = 2 for x < 3 and f (x) = −4 for x > 3. (a) What is f (3) if f is left-continuous at x = 3? (b) What is f (3) if f is right-continuous at x = 3? In Exercises 7–16, use the Laws of Continuity and Theorems 2 and 3 to show that the function is continuous.
7. f (x) = x + sin x 8. f (x) = x sin x 9. f (x) = 3x + 4 sin x 10. f (x) = 3x3 + 8x2 − 20x
11. f (x) = 1 x2 + 1 12. f (x) =
x2 − cos x 3 + cos x
13. f (x) = cos(x2) 14. f (x) = tan−1(4x) 15. f (x) = ex cos 3x 16. f (x) = ln(x4 + 1) In Exercises 17–34, determine the points of discontinuity. State the type of discontinuity (removable, jump, infinite, or none of these) and whether the function is left- or right-continuous.
S E C T I O N 2.4 Limits and Continuity 83
17. f (x) = 1 x
18. f (x) = |x|
19. f (x) = x − 2|x − 1| 20. f (x) = ⌊x⌋
21. f (x) = ⌊x
2
⌋ 22. g(t) = 1
t2 − 1
23. f (x) = x + 1 4x − 2 24. h(z) =
1 − 2z z2 − z − 6
25. f (x) = 3x2/3 − 9x3 26. g(t) = 3t−2/3 − 9t3
27. f (x) =
⎧ ⎨
⎩
x − 2 |x − 2| x ̸= 2
−1 x = 2 28. f (x) =
{ cos
1 x
x ̸= 0 1 x = 0
29. g(t) = tan 2t 30. f (x) = csc(x2) 31. f (x) = tan(sin x) 32. f (x) = cos(π⌊x⌋)
33. f (x) = 1 ex − e−x 34. f (x) = ln |x − 4|
In Exercises 35–48, determine the domain of the function and prove that it is continuous on its domain using the Laws of Continuity and the facts quoted in this section.
35. f (x) = 2 sin x + 3 cos x 36. f (x) = √
x2 + 9
37. f (x) = √x sin x 38. f (x) = x 2
x + x1/4
39. f (x) = x2/32x 40. f (x) = x1/3 + x3/4
41. f (x) = x−4/3 42. f (x) = ln(9 − x2)
43. f (x) = tan2 x 44. f (x) = cos(2x)
45. f (x) = (x4 + 1)3/2 46. f (x) = e−x2
47. f (x) = cos(x 2)
x2 − 1 48. f (x) = 9 tan x
49. Show that the function
f (x) =
⎧ ⎪⎨
⎪⎩
x2 + 3 for x < 1 10 − x for 1 ≤ x ≤ 2 6x − x2 for x > 2
is continuous for x ̸= 1, 2. Then compute the right- and left-hand lim- its at x = 1, 2, and determine whether f is left-continuous, right- continuous, or continuous at these points (Figure 17).
621
9
y = 10 − x
y = 6x − x2
y = x2 + 3 x
y
FIGURE 17
50. Sawtooth Function Draw the graph of f (x) = x − ⌊x⌋. At which points is f discontinuous? Is it left- or right-continuous at those points?
In Exercises 51–54, sketch the graph of f . At each point of discontinuity, state whether f is left- or right-continuous.
51. f (x) = {
x2 for x ≤ 1 2 − x for x > 1
52. f (x) =
⎧ ⎨
⎩
x + 1 for x < 1 1 x
for x ≥ 1
53. f (x) =
⎧ ⎨
⎩
x2 − 3x + 2 |x − 2| x ̸= 2
0 x = 2
54. f (x) =
⎧ ⎪⎨
⎪⎩
x3 + 1 for −∞ < x ≤ 0 −x + 1 for 0 < x < 2 −x2 + 10x − 15 for x ≥ 2
55. Show that the function
f (x) =
⎧ ⎨
⎩
x2 − 16 x − 4 x ̸= 4
10 x = 4
has a removable discontinuity at x = 4.
56. Define f (x) = x sin 1x + 2 for x ̸= 0. Plot f . How should f (0) be defined so that f is continuous at x = 0? In Exercises 57–59, find the value of the constant (a, b, or c) that makes the function continuous.
57. f (x) = {
x2 − c for x < 5 4x + 2c for x ≥ 5
58. f (x) = {
2x + 9x−1 for x ≤ 3 −4x + c for x > 3
59. f (x) =
⎧ ⎪⎨
⎪⎩
x−1 for x < −1 ax + b for − 1 ≤ x ≤ 12 x−1 for x > 12
60. Define
g(x) =
⎧ ⎪⎨
⎪⎩
x + 3 for x < −1 cx for − 1 ≤ x ≤ 2 x + 2 for x > 2
Find a value of c such that g is (a) left-continuous (b) right-continuous In each case, sketch the graph of g.
61. Define g(t) = tan−1 (
1 t − 1
) for t ̸= 1. Answer the following
questions, using a plot if necessary. (a) Can g(1) be defined so that g is continuous at t = 1? (b) How should g(1) be defined so that g is left-continuous at t = 1?
62. Each of the following statements is false. For each statement, sketch the graph of a function that provides a counterexample. (a) If lim
x→a f (x) exists, then f is continuous at x = a. (b) If f has a jump discontinuity at x = a, then f (a) is equal to either
lim x→a−
f (x) or lim x→a+
f (x).
84 C H A P T E R 2 LIMITS
In Exercises 63–66, draw the graph of a function on [0, 5] with the given properties.
63. f is not continuous at x = 1, but lim x→1+
f (x) and lim x→1−
f (x) exist
and are equal.
64. f is left-continuous but not continuous at x = 2, and right- continuous but not continuous at x = 3. 65. f has a removable discontinuity at x = 1, a jump discontinuity at x = 2, and
lim x→3−
f (x) = −∞, lim x→3+
f (x) = 2
66. f is right- but not left-continuous at x = 1, left- but not right- continuous at x = 2, and neither left- nor right-continuous at x = 3. In Exercises 67–80, evaluate using substitution.
67. lim x→−1
(2x3 − 4) 68. lim x→2
(5x − 12x−2)
69. lim x→3
x + 2 x2 + 2x 70. limx→π sin
(x 2
− π )
71. lim x→ π4
tan(3x) 72. lim x→π
1 cos x
73. lim x→4
x−5/2 74. lim x→2
√ x3 + 4x
75. lim x→−1
(1 − 8x3)3/2 76. lim x→2
(7x + 2 4 − x
)2/3
77. lim x→3
10x 2−2x 78. lim
x→− π2 3sin x
79. lim x→4
sin−1 (x
4
) 80. lim
x→0 tan−1(ex)
81. Suppose that f and g are discontinuous at x = c. Does it follow that f + g is discontinuous at x = c? If not, give a counterexample. Does this contradict Theorem 1(i)?
82. Prove that f (x) = |x| is continuous for all x. Hint: To prove con- tinuity at x = 0, consider the one-sided limits.
83. Use the result of Exercise 82 to prove that if g is continuous, then f (x) = |g(x)| is also continuous.
84. Which of the following quantities would be represented by contin- uous functions of time and which would have one or more discontinu- ities? (a) Velocity of an airplane during a flight (b) Temperature in a room under ordinary conditions (c) Value of a bank account with interest paid yearly (d) The salary of a teacher (e) The population of the world
85. In 2009, the federal income tax T on income of x dollars (up to $82,250) was determined by the formula
T (x) =
⎧ ⎪⎨
⎪⎩
0.10x for 0 ≤ x < 8350 0.15x − 417.50 for 8350 ≤ x < 33,950 0.25x − 3812.50 for 33,950 ≤ x < 82,250
Sketch the graph of T . Does T have any discontinuities? Explain why, if T had a jump discontinuity, it might be advantageous in some situations to earn less money.
Further Insights and Challenges 86. If f has a removable discontinuity at x = c, then it is pos- sible to redefine f (c) so that f is continuous at x = c. Can this be done in more than one way?
87. Give an example of functions f and g such that f (g(x)) is con- tinuous but g has at least one discontinuity.
88. Continuous at Only One Point Show that the following func- tion is continuous only at x = 0:
f (x) = {
x for x rational −x for x irrational
89. Show that f is a discontinuous function for all x, where f (x) is defined as follows:
f (x) = {
1 for x rational −1 for x irrational
Show that f 2 is continuous for all x.
2.5 Evaluating Limits Algebraically Substitution can be used to evaluate limits when the function in question is known to be continuous. For example, f (x) = x−2 is continuous at x = 3, and therefore,
lim x→3
x−2 = 3−2 = 1 9
When we study derivatives in Chapter 3, we will be faced with limits lim x→c f (x), where
f (c) is not defined. In such cases, substitution cannot be used directly. However, many of these limits can be evaluated if we use algebra to rewrite the formula for f (x).
To illustrate, consider the limit (Figure 1): 4 8
4
8
12
x
y
FIGURE 1 Graph of f (x) = x 2 − 16 x − 4 . This
function is undefined at x = 4, but the limit as x → 4 exists. limx→4
x2 − 16 x − 4
S E C T I O N 2.5 Evaluating Limits Algebraically 85
The function f (x) = x 2 − 16 x − 4 is not defined at x = 4 because the formula for f (4) pro-
duces the undefined expression 0/0. However, the numerator of f (x) factors:
x2 − 16 x − 4 =
(x + 4)(x − 4) x − 4 = x + 4 (valid for x ̸= 4)
This shows that f coincides with the continuous function y = x + 4 for all x ̸= 4. Since the limit depends only on the values of f (x) for x ̸= 4, we have
lim x→4
x2 − 16 x − 4 = limx→4(x + 4) = 8︸ ︷︷ ︸
Evaluate by substitution
We say that f (x) has an indeterminate form (or is indeterminate) at x = c if the formula for f (c) yields an undefined expression of the type 00 ,
∞ ∞ , ∞ · 0, ∞ − ∞.
Indeterminate forms are warning signs that tell us more work needs to be done to evaluate the limit. Our strategy, when this occurs, is to transform f (x) algebraically, if possible, into a new expression that is defined and continuous at x = c, and then evaluate the limit by substitution (“plugging in”). As you study the following examples, notice that the critical step is to cancel a common factor from the numerator and denominator at the appropriate moment, thereby removing the indeterminacy.
EXAMPLE 1 Calculate lim x→3
x2 − 4x + 3 x2 + x − 12 .
Other indeterminate forms are 1∞, ∞0, and 00. These are treated in Section 4.5.
Solution The function has the indeterminate form 0/0 at x = 3 because Numerator at x = 3: x2 − 4x + 3 = 32 − 4(3) + 3 = 0 Denominator at x = 3: x2 + x − 12 = 32 + 3 − 12 = 0
Step 1. Transform algebraically and cancel.
x2 − 4x + 3 x2 + x − 12 =
(x − 3)(x − 1) (x − 3)(x + 4)︸ ︷︷ ︸
Cancel common factor
= x − 1 x + 4︸ ︷︷ ︸
Continuous at x = 3
(if x ̸= 3) 1
Step 2. Substitute (evaluate using continuity). Because the expression on the right in Eq. (1) is continuous at x = 3,
lim x→3
x2 − 4x + 3 x2 + x − 12 = limx→3
x − 1 x + 4 =
2 7︸ ︷︷ ︸
Evaluate by substitution
EXAMPLE 2 The Form ∞ ∞ Calculate limx→ π2
tan x sec x
.
Solution As we see in Figure 2, both f (x) = tan x and f (x) = sec x have infinite dis- continuities at x = π2 , so this limit has the indeterminate form ∞/∞ at x = π2 .
1 −1
y = tan x
y = sec x
y
x π 2
FIGURE 2
86 C H A P T E R 2 LIMITS
Step 1. Transform algebraically and cancel.
tan x sec x
= (sin x)
( 1
cos x
)
1 cos x
= sin x (if cos x ̸= 0)
Step 2. Substitute (evaluate using continuity). Because f (x) = sin x is continuous,
lim x→ π2
tan x sec x
= lim x→ π2
sin x = sin π 2
= 1
The next example illustrates the algebraic technique of “multiplying by the conju- gate,” which can be used to treat some indeterminate forms involving square roots.
EXAMPLE 3 Multiplying by the Conjugate Evaluate lim x→4
√ x − 2
x − 4 .
Solution We check that f (x) = √
x − 2 x − 4 has the indeterminate form 0/0 at x = 4:
Numerator at x = 4: √x − 2 = √
4 − 2 = 0 Denominator at x = 4: x − 4 = 4 − 4 = 0
Step 1. Multiply by the conjugate and cancel. Note, in Step 1, that the conjugate of√
x − 2 is √x + 2, so ( √
x − 2)(√x + 2) = x − 4.
(√ x − 2
x − 4
) (√ x + 2√ x + 2
) = x − 4
(x − 4)(√x + 2) = 1√
x + 2 (if x ̸= 4)
Step 2. Substitute (evaluate using continuity). Because f (x) = 1/(√x + 2) is continuous at x = 4,
lim x→4
√ x − 2
x − 4 = limx→4 1√
x + 2 = 1 4
EXAMPLE 4 Evaluate lim h→5
h − 5√ h + 4 − 3
.
Solution We note that f (h) = h − 5√ h + 4 − 3
yields 0/0 at h = 5:
Numerator at h = 5: h − 5 = 5 − 5 = 0 Denominator at h = 5:
√ h + 4 − 3 =
√ 5 + 4 − 3 = 0
The conjugate of √
h + 4 − 3 is √
h + 4 + 3, and
h − 5√ h + 4 − 3
= (
h − 5√ h + 4 − 3
) (√ h + 4 + 3√ h + 4 + 3
)
= (h − 5) (√
h + 4 + 3 )
(√ h + 4 − 3
)(√ h + 4 + 3
)
The denominator is equal to (√
h + 4 − 3 )(√
h + 4 + 3 )
= (√
h + 4 )2 − 9 = h − 5
Thus, for h ̸= 5,
f (h) = h − 5√ h + 4 − 3
= (h − 5) (√
h + 4 + 3 )
h − 5 = √
h + 4 + 3
We obtain
lim h→5
h − 5√ h + 4 − 3
= lim h→5
(√ h + 4 + 3
) =
√ 9 + 3 = 6
S E C T I O N 2.5 Evaluating Limits Algebraically 87
EXAMPLE 5 The Form ∞ − ∞ Calculate lim x→1
( 1
x − 1 − 2
x2 − 1
) .
Solution As we see in Figure 3, y = 1 x − 1 and y =
2 x2 − 1 both have infinite disconti-
nuities at x = 1, so this limit has the indeterminate form ∞ − ∞. 1
−2 −4
−6
2
4
6
x2 − 1 y = 2
x − 1 y = 1
y
x
FIGURE 3
Step 1. Transform algebraically and cancel. Combine the fractions and simplify (for x ̸= 1):
1 x − 1 −
2 x2 − 1 =
x + 1 x2 − 1 −
2 x2 − 1 =
x − 1 x2 − 1 =
x − 1 (x − 1)(x + 1) =
1 x + 1
Step 2. Substitute (evaluate using continuity).
lim x→1
( 1
x − 1 − 2
x2 − 1
) = lim
x→1 1
x + 1 = 1
1 + 1 = 1 2
In the next example, the function has the undefined form a/0 with a nonzero. This isCAUTION The form a0 with nonzero a is NOT an indeterminate form. In this case, the limit does not exist, and we have a vertical asymptote.
not an indeterminate form (it is not of the form 0/0, ∞/∞, etc.).
EXAMPLE 6 Infinite But Not Indeterminate Evaluate lim x→2
x2 − x + 5 x − 2 .
Solution The function f (x) = x 2 − x + 5 x − 2 is undefined at x = 2 because the formula
for f (2) yields 7/0:
Numerator at x = 2: x2 − x + 5 = 22 − 2 + 5 = 7 Denominator at x = 2: x − 2 = 2 − 2 = 0
But f (x) is not indeterminate at x = 2 because 7/0 is not an indeterminate form. As in Figure 4, the one-sided limits are infinite:
−20
20
2 x
y
FIGURE 4 Graph of f (x) = x 2 − x + 5 x − 2 .
lim x→2−
x2 − x + 5 x − 2 = −∞, limx→2+
x2 − x + 5 x − 2 = ∞
The limit itself does not exist since the numerator approaches a fixed nonzero value and the denominator approaches 0.
As preparation for the derivative in Chapter 3, we evaluate a limit involving a sym- bolic constant.
EXAMPLE 7 Symbolic Constant Calculate lim h→0
(h + a)2 − a2 h
, where a is a constant.
Solution We have the indeterminate form 0/0 at h = 0 because Numerator at h = 0: (h + a)2 − a2 = (0 + a)2 − a2 = 0 Denominator at h = 0: h = 0
Expand the numerator and simplify (for h ̸= 0): (h + a)2 − a2
h = (h
2 + 2ah + a2) − a2 h
= h 2 + 2ah
h = h(h + 2a)
h = h + 2a
The function y = h + 2a is continuous (for any constant a), so
lim h→0
(h + a)2 − a2 h
= lim h→0
(h + 2a) = 2a
Given an expression that yields an indeterminate form, it will not always be the case
that algebraic manipulation yields the limit. For instance, consider lim x→0
sin x x
. Although
this is an indeterminate form of type 0/0, algebraic manipulation does not provide an
88 C H A P T E R 2 LIMITS
answer. In the next section, we use the Squeeze Theorem to evaluate this limit. It can also be evaluated by L’Hôpital’s Rule, which will allow us to evaluate many indeterminate forms and which we will discuss in Section 4.5.
2.5 SUMMARY
• When f is known to be continuous at x = c, the limit can be evaluated by substitu- tion: lim
x→c f (x) = f (c). • We say that f (x) is indeterminate (or has an indeterminate form) at x = c if the formula
for f (c) yields an undefined expression of the type
0 0 ,
∞ ∞ , ∞ · 0, ∞ − ∞
• If f (x) is indeterminate at x = c, try to transform f (x) algebraically into a new expres- sion that is defined and continuous at x = c. Then evaluate by substitution.
2.5 EXERCISES
Preliminary Questions 1. Which of the following is indeterminate at x = 1?
x2 + 1 x − 1 ,
x2 − 1 x + 2 ,
x2 − 1√ x + 3 − 2
, x2 + 1√ x + 3 − 2
2. Give counterexamples to show that these statements are false: (a) If f (c) is indeterminate, then the right- and left-hand limits as x → c are not equal.
(b) If lim x→c f (x) exists, then f (c) is not indeterminate.
(c) If f (x) is undefined at x = c, then f (x) has an indeterminate form at x = c.
3. The method for evaluating limits discussed in this section is some- times called “simplify and plug in.” Explain how it actually relies on the property of continuity.
Exercises In Exercises 1–4, show that the limit leads to an indeterminate form. Then carry out the two-step procedure: Transform the function alge- braically and evaluate using continuity.
1. lim x→6
x2 − 36 x − 6 2. limh→3
9 − h2 h − 3
3. lim x→−1
x2 + 2x + 1 x + 1 4. limt→9
2t − 18 5t − 45
In Exercises 5–34, evaluate the limit, if it exists. If not, determine whether the one-sided limits exist (finite or infinite).
5. lim x→7
x − 7 x2 − 49 6. limx→8
x2 − 64 x − 9
7. lim x→−2
x2 + 3x + 2 x + 2 8. limx→8
x3 − 64x x − 8
9. lim x→5
2x2 − 9x − 5 x2 − 25 10. limh→0
(1 + h)3 − 1 h
11. lim x→− 12
2x + 1 2x2 + 3x + 1 12. limx→3
x2 − x x2 − 9
13. lim x→2
3x2 − 4x − 4 2x2 − 8 14. limh→0
(3 + h)3 − 27 h
15. lim t→0
42t − 1 4t − 1 16. limh→4
(h + 2)2 − 9h h − 4
17. lim x→16
√ x − 4
x − 16 18. limt→−2 2t + 4
12 − 3t2
19. lim h→0
1
(h + 2)2 − 1 4
h 20. lim
y→3 y2 + y − 12 y3 − 10y + 3
21. lim h→0
√ 2 + h − 2
h 22. lim
x→8
√ x − 4 − 2 x − 8
23. lim x→4
x − 4√ x −
√ 8 − x
24. lim x→4
√ 5 − x − 1 2 − √x
25. lim x→4
( 1√
x − 2 − 4
x − 4
) 26. lim
x→0+
( 1√ x
− 1√ x2 + x
)
27. lim x→0
cot x csc x
28. lim θ→ π2
cot θ csc θ
29. lim x→1
( 1
1 − x − 2
1 − x2 )
30. lim x→ π4
sin x − cos x tan x − 1
31. lim t→2
22t + 2t − 20 2t − 4 32. limθ→ π2
( sec θ − tan θ
)
33. lim θ→ π4
( 1
tan θ − 1 − 2
tan2 θ − 1
)
34. lim x→ π3
2 cos2 x + 3 cos x − 2 2 cos x − 1
S E C T I O N 2.6 Trigonometric Limits 89
35. Use a plot of f (x) = x − 4√ x −
√ 8 − x
to estimate lim x→4
f (x)
to two decimal places. Compare with the answer obtained algebraically in Exercise 23.
36. Use a plot of f (x) = 1√ x − 2 −
4 x − 4 to estimate
lim x→4
f (x) numerically. Compare with the answer obtained alge-
braically in Exercise 25.
In Exercises 37–42, evaluate using the identity
a3 − b3 = (a − b)(a2 + ab + b2)
37. lim x→2
x3 − 8 x − 2 38. limx→3
x3 − 27 x2 − 9
39. lim x→1
x2 − 5x + 4 x3 − 1 40. limx→−2
x3 + 8 x2 + 6x + 8
41. lim x→1
x4 − 1 x3 − 1 42. limx→27
x − 27 x1/3 − 3
43. Evaluate lim h→0
4√1 + h − 1 h
. Hint: Set x = 4 √
1 + h, express h as a function of x, and rewrite as a limit as x → 1.
44. Evaluate lim h→0
3√1 + h − 1 2√1 + h − 1
. Hint: Set x = 6 √
1 + h, express h as a function of x, and rewrite as a limit as x → 1. In Exercises 45–54, evaluate in terms of the constant a.
45. lim x→0
(2a + x) 46. lim h→−2
(4ah + 7a)
47. lim t→−1
(4t − 2at + 3a) 48. lim h→0
(3a + h)2 − 9a2 h
49. lim h→0
2(a + h)2 − 2a2 h
50. lim x→a
(x + a)2 − 4x2 x − a
51. lim x→a
√ x − √a x − a 52. limh→0
√ a + 2h − √a
h
53. lim x→0
(x + a)3 − a3 x
54. lim h→a
1 h
− 1 a
h − a
Further Insights and Challenges In Exercises 55–58, find all values of c such that the limit exists.
55. lim x→c
x2 − 5x − 6 x − c 56. limx→1
x2 + 3x + c x − 1
57. lim x→1
( 1
x − 1 − c
x3 − 1
) 58. lim
x→0 1 + cx2 −
√ 1 + x2
x4
59. For which sign, + or −, does the following limit exist?
lim x→0
( 1 x
± 1 x(x − 1)
)
2.6 Trigonometric Limits In our study of the derivative, we will need to evaluate certain limits involving transcen- dental functions such as sine and cosine. The algebraic techniques of the previous section are often ineffective for such functions, and other tools are required. In this section, we discuss one such tool—the Squeeze Theorem—and use it to evaluate the trigonometric limits needed in Section 3.6.
The Squeeze Theorem Consider a function f that is “trapped” between two functions l, for lower bound, and u,
y " u(x)
c x
y
y " f (x)
y " l (x)
FIGURE 1 f is trapped between l and u (but not squeezed at x = c).
for upper bound, on an interval I . In other words,
l(x) ≤ f (x) ≤ u(x) for all x ∈ I Thus, the graph of f lies between the graphs of l and u (Figure 1).
The Squeeze Theorem applies when f is not just trapped but squeezed at a point x = c (Figure 2). By this we mean that for all x ̸= c in some open interval containing c,
c
L
x
y
y " u(x)
y " l(x)
y " f (x)
FIGURE 2 f is squeezed by l and u at x = c.
l(x) ≤ f (x) ≤ u(x) and lim x→c l(x) = limx→c u(x) = L
We do not require that f (x) be defined at x = c, but it is clear graphically that f (x) must approach the limit L, as stated in the next theorem. See Appendix D for a proof.
THEOREM 1 Squeeze Theorem Assume that for x ̸= c (in some open interval con- taining c),
l(x) ≤ f (x) ≤ u(x) and lim x→c l(x) = limx→c u(x) = L
Then lim x→c f (x) exists and limx→c f (x) = L.
90 C H A P T E R 2 LIMITS
EXAMPLE 1 Show that lim x→0
x sin 1x = 0.
Solution Although f (x) = x sin 1x is a product of two functions, we cannot use the Prod- uct Law because lim
x→0 sin 1x does not exist. However, the sine function takes on values
between 1 and −1, and therefore ∣∣sin 1x
∣∣ ≤ 1 for all x ̸= 0. Multiplying by |x|, we obtain∣∣x sin 1x ∣∣ ≤ |x| and conclude that (Figure 3)
−|x| ≤ x sin 1 x
≤ |x|
Because
y = x sin 1x
−0.4
−0.1
0.4
0.1
y = −|x|
y = |x|
x
y
FIGURE 3
lim x→0
|x| = 0 and lim x→0
(−|x|) = − lim x→0
|x| = 0
we can apply the Squeeze Theorem to conclude that lim x→0
x sin 1x = 0.
In Section 2.2, we found numerical and graphical evidence suggesting that the limit
lim θ→0
sin θ θ
is equal to 1. The Squeeze Theorem will allow us to prove this fact.
THEOREM 2 Important Trigonometric Limits
lim θ→0
sin θ θ
= 1 and lim θ→0
1 − cos θ θ
= 0
To apply the Squeeze Theorem, we must find functions that squeeze sin θ
θ at θ = 0.
Note that both sin θ θ
and cos θ−1 θ
are indeterminate at θ = 0, so Theorem 2 cannot be proved by substitution.
These are provided by the next theorem (Figure 4).
−
−1
1 y = 1
y = cos θ
y = sin θ θ
−π ππ 2
θ
y
π 2
FIGURE 4 Graph illustrating the inequalities of Theorem 3.
THEOREM 3
cos θ ≤ sin θ θ
≤ 1 for −π 2
< θ < π
2 , θ ̸= 0 1
Proof Assume first that 0 < θ < π2 . Our proof is based on the following relation between the areas in Figure 5:
Area of △OAB < area of sector BOA < area of △OAC 2 Let’s compute these three areas. First, △OAB has base 1 and height sin θ , so its area is
REMINDER Let’s recall why a sector of angle θ in a circle of radius r has area 1 2 r
2θ . A sector of angle θ represents a fraction θ2π of the entire circle. The circle has area πr2, so the sector has area(
θ 2π
) πr2 = 12 r2θ . In the unit circle
(r = 1), the sector has area 12 θ .
NOTE Our proof of Theorem 3 uses the formula 12 θ for the area of a sector, but this formula is based on the formula πr2 for the area of a circle, a complete proof of which requires integral calculus.
1 2 sin θ . Next, recall that a sector of angle θ has area
1 2θ . Finally, to compute the area of
△OAC, we observe that
tan θ = opposite side adjacent side
= AC OA
= AC 1
= AC
Thus, △OAC has base 1, height tan θ , and area 12 tan θ . We have shown, therefore, that 1 2
sin θ ︸ ︷︷ ︸
Area △OAB
≤ 1 2 θ
︸︷︷︸ Area of sector
≤ 1 2
sin θ cos θ︸ ︷︷ ︸
Area △OAC
3
S E C T I O N 2.6 Trigonometric Limits 91
O A
B = (cos θ, sin θ)
Area of triangle = sin θ Area of triangle =Area of sector =
tan θ
θ
O A11 1
C
B
θ
O A
B
θ xxx
y y y
1 2
tan θθ
11
1 2
1 2
FIGURE 5
The first inequality yields sin θ ≤ θ , and because θ > 0, we obtain sin θ
θ ≤ 1 4
Next, multiply the second inequality in (3) by 2 cos θ
θ to obtain
cos θ ≤ sin θ θ
5
The combination of (4) and (5) gives us (1) when 0 < θ < π2 . However, the functions in (1) do not change value when θ is replaced by −θ because both f (x) = cos θ and f (x) = sin θ
θ are even functions. Indeed, cos(−θ) = cos θ and
sin(−θ) −θ =
− sin θ −θ =
sin θ θ
Therefore, (1) holds for −π2 < θ < 0 as well. This completes the proof of Theorem 3.
Proof of Theorem 2 According to Theorem 3,
cos θ ≤ sin θ θ
≤ 1
Since lim θ→0
cos θ = cos 0 = 1 and lim θ→0
1 = 1, the Squeeze Theorem yields lim θ→0
sin θ θ
= 1, as required. It then follows that
lim θ→0
1 − cos θ θ
= lim θ→0
( 1 + cos θ 1 + cos θ
) 1 − cos θ
θ = lim
θ→0 1 − cos2 θ
(1 + cos θ)θ
= lim θ→0
1 1 + cos θ
sin2 θ θ
= lim x→0
sin θ 1 + cos θ
sin θ θ
= 0 2
· 1 = 0
In the next example, we evaluate another trigonometric limit. The key idea is to rewrite the function of h in terms of the new variable θ = 4h.
EXAMPLE 2 Evaluating a Limit by Changing Variables Investigate lim h→0
sin 4h hnumerically and then evaluate it exactly.
Solution The table of values at the left suggests that the limit is equal to 4. To evaluate
h sin 4h
h
±1.0 −0.75680 ±0.5 1.81859 ±0.2 3.58678 ±0.1 3.8 9 418 ±0.05 3.9 7 339 ±0.01 3.99 893 ±0.005 3.999 73
the limit exactly, we rewrite it in terms of the limit of sin θ
θ so that Theorem 2 can be
applied. Thus, we set θ = 4h and write sin 4h
h = 4
( sin 4h 4h
) = 4sin θ
θ
92 C H A P T E R 2 LIMITS
The new variable θ tends to zero as h → 0 because θ is a multiple of h. Therefore, we may change the limit as h → 0 into a limit as θ → 0 to obtain
lim h→0
sin 4h h
= lim θ→0
4 sin θ
θ = 4
( lim θ→0
sin θ θ
) = 4(1) = 4 6
Note that the change of variables demonstrates that sin(kx)
kx approaches 1 as x → 0.
We can use this to our advantage in the next example.
EXAMPLE 3 Find lim x→0
tan(3x) tan(2x)
.
Solution
lim x→0
tan(3x) tan(2x)
= lim x→0
sin(3x) cos(3x)
· cos(2x) sin(2x)
= lim x→0
sin(3x) cos(3x)
· cos(2x) sin(2x)
· x x
7
= lim x→0
3 2
( sin(3x)
3x
) ( 2x
sin(2x)
) cos(2x) cos(3x)
= 3 2
· 1 · 1 · 1 1
= 3 2
8
2.6 SUMMARY
• We say that f is squeezed at x = c if there exist functions l and u such that l(x) ≤ f (x) ≤ u(x) for all x ̸= c in an open interval I containing c, and
lim x→c l(x) = limx→c u(x) = L
The Squeeze Theorem states that in this case, lim x→c f (x) = L.
• Two important trigonometric limits:
lim θ→0
sin θ θ
= 1 and lim θ→0
1 − cos θ θ
= 0
2.6 EXERCISES
Preliminary Questions 1. Assume that −x4 ≤ f (x) ≤ x2. What is lim
x→0 f (x)? Is there
enough information to evaluate lim x→ 12
f (x)? Explain.
2. State the Squeeze Theorem carefully.
3. If you want to evaluate lim h→0
sin 5h 3h
, it is a good idea to rewrite the
limit in terms of the variable (choose one):
(a) θ = 5h (b) θ = 3h (c) θ = 5h 3
Exercises 1. State precisely the hypothesis and conclusions of the Squeeze The-
orem for the situation in Figure 6.
1 2
2
x
y y ! u(x)
y ! l(x)
y ! f (x)
FIGURE 6
2. In Figure 7, is f squeezed by u and l at x = 3? At x = 2?
1 2 3 4
1.5
x
y y ! u(x)
y ! l (x)
y ! f (x)
FIGURE 7
S E C T I O N 2.6 Trigonometric Limits 93
3. What does the Squeeze Theorem say about lim x→7
f (x) if the limits
lim x→7
l(x) = lim x→7
u(x) = 6 and f , u, and l are related as in Figure 8? The inequality f (x) ≤ u(x) is not satisfied for all x. Does this affect the validity of your conclusion?
7
6
x
y y ! u(x)
y ! l(x)
y ! f (x)
FIGURE 8
4. Determine lim x→0
f (x) assuming that cos x ≤ f (x) ≤ 1.
5. State whether the inequality provides sufficient information to de- termine lim
x→1 f (x), and if so, find the limit.
(a) 4x − 5 ≤ f (x) ≤ x2 (b) 2x − 1 ≤ f (x) ≤ x2 (c) 4x − x2 ≤ f (x) ≤ x2 + 2 6. Plot the graphs of u(x) = 1 +
∣∣x − π2 ∣∣ and l(x) = sin x on
the same set of axes. What can you say about lim x→ π2
f (x) if f is squeezed by l and u at x = π2 ? In Exercises 7–16, evaluate using the Squeeze Theorem.
7. lim x→0
x2 cos 1 x
8. lim x→0
x sin 1
x2
9. lim x→1
(x − 1) sin π x − 1 10. limx→3(x
2 − 9) x − 3|x − 3|
11. lim t→0
(2t − 1) cos 1 t
12. lim x→0+
√ x ecos(π/x)
13. lim t→2
(t2 − 4) cos 1 t − 2 14. limx→0 tan x cos
( sin
1 x
)
15. lim θ→ π2
cos θ cos(tan θ) 16. lim t→0+
sin t tan−1(ln t)
In Exercises 17–26, evaluate using Theorem 2 as necessary.
17. lim x→0
tan x x
18. lim x→0
sin x sec x x
19. lim t→0
√ t3 + 9 sin t
t 20. lim
t→0 sin2 t
t
21. lim x→0
x2
sin2 x 22. lim
t→ π2
1 − cos t t
23. lim θ→0
sec θ − 1 θ
24. lim θ→0
1 − cos θ sin θ
25. lim t→ π4
sin t t
26. lim t→0
cos t − cos2 t t
27. Let L = lim x→0
sin 14x x
.
(a) Show, by letting θ = 14x, that L = lim θ→0
14 sin θ
θ .
(b) Compute L.
28. Evaluate lim h→0
sin 9h sin 7h
. Hint: sin 9h sin 7h
= (
9 7
) ( sin 9h
9h
) ( 7h
sin 7h
) .
In Exercises 29–48, evaluate the limit.
29. lim h→0
sin 9h h
30. lim h→0
sin 4h 4h
31. lim h→0
sin h 5h
32. lim x→ π6
x
sin 3x
33. lim θ→0
sin 7θ sin 3θ
34. lim x→0
tan 4x 9x
35. lim x→0
x csc 25x 36. lim t→0
tan 4t t sec t
37. lim h→0
sin 2h sin 3h
h2 38. lim
z→0 sin(z/3)
sin z
39. lim θ→0
sin(−3θ) sin(4θ)
40. lim x→0
tan 4x tan 9x
41. lim t→0
csc 8t csc 4t
42. lim x→0
sin 5x sin 2x sin 3x sin 5x
43. lim x→0
sin 3x sin 2x x sin 5x
44. lim h→0
1 − cos 2h h
45. lim h→0
sin(2h)(1 − cos h) h2
46. lim t→0
1 − cos 2t sin2 3t
47. lim θ→0
cos 2θ − cos θ θ
48. lim h→ π2
1 − cos 3h h
49. Calculate lim x→0−
sin x |x| .
50. Use the identity sin 3θ = 3 sin θ − 4 sin3 θ to evaluate the limit lim θ→0
sin 3θ − 3 sin θ θ3
.
51. Prove the following result:
lim θ→0
csc θ − cot θ = 0 9
52. Investigate lim h→0
1 − cos h h2
numerically (and graphically if
you have a graphing utility). Then prove that the limit is equal to 12 . Hint: See the proof of Theorem 2.
In Exercises 53–55, evaluate using the result of Exercise 52.
53. lim h→0
cos 3h − 1 h2
54. lim h→0
cos 3h − 1 cos 2h − 1
55. lim t→0
√ 1 − cos t
t
56. Use the Squeeze Theorem to prove that if lim x→c |f (x)| = 0, then
lim x→c f (x) = 0.
94 C H A P T E R 2 LIMITS
Further Insights and Challenges 57. Use the result of Exercise 52 to prove that for m ̸= 0,
lim x→0
cos mx − 1 x2
= −m 2
2
58. Using a diagram of the unit circle and the Pythagorean Theorem, show that
sin2 θ ≤ (1 − cos θ)2 + sin2 θ ≤ θ2
Conclude that sin2 θ ≤ 2(1 − cos θ) ≤ θ2 and use this to give an alter- native proof of Eq. (9) in Exercise 51. Then give an alternative proof of the result in Exercise 52.
59. (a) Investigate lim x→c
sin x − sin c x − c numerically for the five values
c = 0, π6 , π4 , π3 , π2 . (b) Can you guess the answer for general c? (c) Check numerically that your answer to (b) works for two other values of c.
2.7 Limits at Infinity
5 10 15 20 25
283.00 283.05 283.10 283.15 283.20 283.25
T (K)
t (years)
(N A
SA )
FIGURE 1 The earth’s average temperature (according to a simple climate model) in response to an 0.25% increase in solar radiation. According to this model, lim
t→∞ T (t) = 283.255.
So far we have considered limits as x approaches a number c. It is also important to consider limits where x approaches ∞ or −∞, which we refer to as limits at infinity. In applications, limits at infinity arise naturally when we describe the “long-term” behavior of a system as in Figure 1.
The notation x → ∞ indicates that x increases without bound, and x → −∞ indi- cates that x decreases (through negative values) without bound. We write
• lim x→∞ f (x) = L if f (x) gets closer and closer to L as x → ∞.
• lim x→−∞
f (x) = L if f (x) gets closer and closer to L as x → −∞.
As before, “closer and closer” means that |f (x) − L| becomes arbitrarily small. In either case, the line y = L is called a horizontal asymptote. We use the notation x → ±∞ to indicate that we are considering both infinite limits, as x → ∞ and as x → −∞.
Infinite limits describe the asymptotic behavior of a function, which is determined by the behavior of the graph as we move out indefinitely to the right or the left.
EXAMPLE 1 Discuss the asymptotic behavior in Figure 2.
Solution The function g approaches L = 7 as we move to the right and it approaches L = 3 as we move to left, so
lim x→∞ g(x) = 7, limx→−∞ g(x) = 3
Accordingly, the lines y = 7 and y = 3 are horizontal asymptotes of g.
A function may approach an infinite limit as x → ±∞. We write
−400 −200 200 400
3
7
x
y y = g(x)
FIGURE 2 The lines y = 7 and y = 3 are horizontal asymptotes of g.
lim x→∞ f (x) = ∞ or limx→−∞ f (x) = ∞
if f (x) becomes arbitrarily large as x → ∞ or −∞. Similar notation is used if f (x) approaches −∞ as x → ±∞. For example, we see in Figure 3(A) that
lim x→∞ e
x = ∞ and lim x→−∞
ex = 0
x
1
yy
x
y = ex y = sin x
(A) (B)
−1
1
2π−2π
FIGURE 3
S E C T I O N 2.7 Limits at Infinity 95
However, limits at infinity do not always exist. For example, f (x) = sin x oscillatesWhen a limit equals either ∞ or −∞, the limit does not exist, since the function is not approaching a finite number. But the fact that the limit is ∞ or −∞ is useful information nonetheless, and we record that fact, rather than just saying the limit does not exist.
indefinitely [Figure 3(B)], so
lim x→∞ sin x and limx→−∞
sin x
do not exist. The limits at infinity of the power functions f (x) = xn are easily determined. If
n > 0, then xn certainly increases without bound as x → ∞, so (Figure 4)
lim x→∞ x
n = ∞ and lim x→∞ x
−n = lim x→∞
1 xn
= 0
To describe the limits as x → −∞, assume that n is a whole number so that xn is defined for x < 0. If n is even, then xn becomes large and positive as x → −∞, and if n is odd, it becomes large and negative. In summary,CAUTION lim
x→−∞ x1/2 does not exist, since
the square root of a negative number is not a real number. THEOREM 1 For all n > 0,
lim x→∞ x
n = ∞ and lim x→∞ x
−n = lim x→∞
1 xn
= 0
If n is a positive whole number,
lim x→−∞
xn = {∞ if n is even −∞ if n is odd and limx→−∞ x
−n = lim x→−∞
1 xn
= 0
x
y
y = x2
y = x4
x
y
y = x3
y = x5
(B) n odd: lim xn = ∞, lim xn = −∞
x
y
y = 1x
x→∞ x→−∞(A) n even: lim x n = lim xn = ∞
x→∞ x→−∞ (C) lim = 0 = lim x→∞ x→−∞ 1 x
1 x
FIGURE 4
Note also that if p and q are positive integers, then
lim x→−∞
xp/q = {−∞ if q is odd
undefined if q is even
The Basic Limit Laws (Theorem 1 in Section 2.3) are valid for limits at infinity. For example, the Sum and Constant Multiple Laws yield
lim x→∞
( 3 − 4x−3 + 5x−5
) = lim
x→∞ 3 − 4 limx→∞ x −3 + 5 lim
x→∞ x −5
= 3 + 0 + 0 = 3
EXAMPLE 2 Calculate lim x→∞
20x2 − 3x 3x5 − 4x2 + 5 .
Solution It would be nice if we could apply the Quotient Law directly, but this law is valid only if the denominator has a finite, nonzero limit. Our limit has the indeterminate form ∞/∞ because
lim x→∞ (20x
2 − 3x) = ∞ and lim x→∞ (3x
5 − 4x2 + 5) = ∞
The way around this difficulty is to divide the numerator and denominator by x5 (the highest power of x in the denominator):
20x2 − 3x 3x5 − 4x2 + 5 =
x−5(20x2 − 3x) x−5(3x5 − 4x2 + 5) =
20x−3 − 3x−4 3 − 4x−3 + 5x−5
96 C H A P T E R 2 LIMITS
Now we can use the Quotient Law:
lim x→∞
20x2 − 3x 3x5 − 4x2 + 5 =
lim x→∞
( 20x−3 − 3x−4
)
lim x→∞
( 3 − 4x−3 + 5x−5
) = 0 3
= 0
In general, if
f (x) = anx n + an−1xn−1 + · · · + a0
bmxm + bm−1xm−1 + · · · + b0 where an ̸= 0 and bm ̸= 0, divide the numerator and denominator by xm:
f (x) = anx n−m + an−1xn−1−m + · · · + a0x−m bm + bm−1x−1 + · · · + b0x−m
= xn−m (
an + an−1x−1 + · · · + a0x−n bm + bm−1x−1 + · · · + b0x−m
)
The quotient in parentheses approaches the finite limit an/bm because
lim x→∞(an + an−1x
−1 + · · · + a0x−n) = an
lim x→∞(bm + bm−1x
−1 + · · · + b0x−m) = bm This also holds true for x → −∞, and therefore,
lim x→±∞
f (x) = lim x→±∞
xn−m lim x→±∞
an + an−1x−1 + · · · + a0x−n bm + bm−1x−1 + · · · + b0x−m
= an bm
lim x→±∞
xn−m
THEOREM 2 Limits at Infinity of a Rational Function The asymptotic behavior of a rational function depends only on the leading terms of its numerator and denominator. If an, bm ̸= 0, then
lim x→±∞
anx n + an−1xn−1 + · · · + a0
bmxm + bm−1xm−1 + · · · + b0 = an
bm lim
x→±∞ xn−m
Here are some examples:
• n = m: lim x→∞
3x4 − 7x + 9 7x4 − 4 =
3 7
lim x→∞ x
0 = 3 7
• n < m: lim x→∞
3x3 − 7x + 9 7x4 − 4 =
3 7
lim x→∞ x
−1 = 0
• n > m, n − m odd: lim x→−∞
3x8 − 7x + 9 7x3 − 4 =
3 7
lim x→−∞
x5 = −∞
• n > m, n − m even: lim x→−∞
3x7 − 7x + 9 7x3 − 4 =
3 7
lim x→−∞
x4 = ∞
Our method can be adapted to noninteger exponents and algebraic functions.
EXAMPLE 3 Calculate the limits (a) lim x→∞
3x7/2 + 7x−1/2 x2 − x1/2 (b) limx→∞
x2√ x3 + 1
.
Solution
(a) As before, divide the numerator and denominator by x2, which is the highest powerThe Quotient Law is valid if limx→c f (x) = ∞ and lim
x→c g(x) = L, where L ̸= 0:
lim x→c
f (x)
g(x) =
lim x→c
f (x)
lim x→c
g(x) =
{∞ if L > 0 −∞ if L < 0
A similar result holds when lim x→c
f (x) = −∞.
of x occurring in the denominator (this means multiply by x−2):
3x7/2 + 7x−1/2 x2 − x1/2 =
( x−2
x−2
) 3x7/2 + 7x−1/2
x2 − x1/2 = 3x3/2 + 7x−5/2
1 − x−3/2
lim x→∞
3x7/2 + 7x−1/2 x2 − x1/2 =
lim x→∞(3x
3/2 + 7x−5/2) lim
x→∞(1 − x −3/2)
= ∞ 1
= ∞
S E C T I O N 2.7 Limits at Infinity 97
(b) The key is to observe that the denominator of x2√
x3 + 1 “behaves” like x3/2:
√ x3 + 1 =
√ x3(1 + x−3) = x3/2
√ 1 + x−3 (for x > 0)
This suggests that we divide the numerator and denominator by x3/2:
x2√ x3 + 1
= (
x−3/2
x−3/2
) x2
x3/2 √
1 + x−3 = x
1/2 √
1 + x−3
Then apply the Quotient Law:
lim x→∞
x2√ x3 + 1
= lim x→∞
x1/2√ 1 + x−3
= lim
x→∞ x 1/2
lim x→∞
√ 1 + x−3
= ∞ 1
= ∞
EXAMPLE 4 Calculate the limits at infinity of f (x) = 12x + 25√ 16x2 + 100x + 500
.
Solution Divide the numerator and denominator by x (multiply by x−1), but notice the difference between x positive and x negative. For x > 0,
x−1 √
16x2 + 100x + 500 = √
x−2 √
16x2 + 100x + 500 = √
16 + 100 x
+ 500 x2
lim x→∞
12x + 25√ 16x2 + 100x + 500
= lim
x→∞
( 12 + 25x
)
lim x→∞
√ 16 + 100x + 500x2
= 12√ 16
= 3
However, if x < 0, then x = − √
x2 and
x−1 √
16x2 + 100x + 500 = − √
x−2 √
16x2 + 100x + 500 = − √
16 + 100 x
+ 500 x2
So the limit as x → −∞ is −3 instead of 3 (Figure 5): 25 50−25−50
−3
3
x
y
FIGURE 5 Graph of
f (x) = 12x + 25√ 16x2 + 100x + 500
.
lim x→−∞
12x + 25√ 16x2 + 100x + 500
= lim
x→−∞
( 12 + 25x
)
− lim x→−∞
√ 16 + 100x + 500x2
= 12 −
√ 16
= −3
2.7 SUMMARY
• Limits as infinity:
– lim x→∞ f (x) = L if |f (x) − L| becomes arbitrarily small as x increases without bound.
– lim x→−∞
f (x) = L if |f (x) − L| becomes arbitrarily small as x decreases without bound.
– lim x→∞ e
x = ∞ and lim x→−∞
ex = 0
• A horizontal line y = L is a horizontal asymptote if
lim x→∞ f (x) = L and/or limx→−∞ f (x) = L
A function can have 0, 1 or 2 horizontal asymptotes.
98 C H A P T E R 2 LIMITS
• If n > 0, then lim x→∞ x
n = ∞ and lim x→±∞
x−n = 0. If n > 0 is a whole number, then
lim x→−∞
xn = {∞ if n is even −∞ if n is odd and limx→−∞ x
−n = 0
• If f (x) = anx n + an−1xn−1 + · · · + a0
bmxm + bm−1xm−1 + · · · + b0 with an, bm ̸= 0, then
lim x→±∞
f (x) = an bm
lim x→±∞
xn−m
2.7 EXERCISES
Preliminary Questions 1. Assume that
lim x→∞ f (x) = L and limx→L g(x) = ∞
Which of the following statements are correct? (a) x = L is a vertical asymptote of g. (b) y = L is a horizontal asymptote of g. (c) x = L is a vertical asymptote of f . (d) y = L is a horizontal asymptote of f . 2. What are the following limits?
(a) lim x→∞ x
3 (b) lim x→−∞ x
3 (c) lim x→−∞ x
4
3. Sketch the graph of a function that approaches a limit as x → ∞ but does not approach a limit (either finite or infinite) as x → −∞.
4. What is the sign of a if f (x) = ax3 + x + 1 satisfies lim
x→−∞ f (x) = ∞?
5. What is the sign of the coefficient multiplying x7 if f is a polyno- mial of degree 7 such that lim
x→−∞ f (x) = ∞?
6. Explain why lim x→∞ sin
1 x exists but limx→0
sin 1x does not exist. What
is lim x→∞ sin
1 x ?
Exercises 1. What are the horizontal asymptotes of the function in Figure 6?
−20 20 40 60 80 x
1
2
y
y = f (x)
FIGURE 6
2. Sketch the graph of a function f that has both y = −1 and y = 5 as horizontal asymptotes.
3. Sketch the graph of a function f with a single horizontal asymptote y = 3.
4. Sketch the graphs of two functions f and g that have both y = −2 and y = 4 as horizontal asymptotes but lim
x→∞ f (x) ̸= limx→∞ g(x).
5. Investigate the asymptotic behavior of f (x) = x 3
x3 + x numerically and graphically: (a) Make a table of values of f (x) for x = ±50, ±100, ±500, ±1000. (b) Plot the graph of f . (c) What are the horizontal asymptotes of f ?
6. Investigate lim x→±∞
12x + 1 √
4x2 + 9 numerically and graphically:
(a) Make a table of values of f (x) = 12x + 1√ 4x2 + 9
for x = ±100, ±500, ±1000, ±10,000. (b) Plot the graph of f . (c) What are the horizontal asymptotes of f ?
In Exercises 7–16, evaluate the limit.
7. lim x→∞
x
x + 9 8. limx→∞ 3x2 + 20x
4x2 + 9
9. lim x→∞
3x2 + 20x 2x4 + 3x3 − 29 10. limx→∞
4 x + 5
11. lim x→∞
7x − 9 4x + 3 12. limx→∞
9x2 − 2 6 − 29x
13. lim x→−∞
7x2 − 9 4x + 3 14. limx→−∞
5x − 9 4x3 + 2x + 7
15. lim x→−∞
3x3 − 10 x + 4 16. limx→−∞
2x5 + 3x4 − 31x 8x4 − 31x2 + 12
In Exercises 17–22, find the horizontal asymptotes.
17. f (x) = 2x 2 − 3x
8x2 + 8 18. f (x) = 8x3 − x2
7 + 11x − 4x4
19. f (x) = √
36x2 + 7 9x + 4 20. f (x) =
√ 36x4 + 7 9x2 + 4
21. f (t) = e t
1 + e−t 22. f (t) = t1/3
(64t2 + 9)1/6 In Exercises 23–30, evaluate the limit.
23. lim x→∞
√ 9x4 + 3x + 2
4x3 + 1 24. limx→∞
√ x3 + 20x 10x − 2
S E C T I O N 2.7 Limits at Infinity 99
25. lim x→−∞
8x2 + 7x1/3 √
16x4 + 6 26. lim
x→−∞ 4x − 3
√ 25x2 + 4x
27. lim t→∞
t4/3 + t1/3 (4t2/3 + 1)2 28. limt→∞
t4/3 − 9t1/3 (8t4 + 2)1/3
29. lim x→−∞
|x| + x x + 1 30. limt→−∞
4 + 6e2t 5 − 9e3t
31. Determine lim x→∞ tan
−1 x. Explain geometrically.
32. Show that lim x→∞(
√ x2 + 1 − x) = 0. Hint: Observe that
√ x2 + 1 − x = 1√
x2 + 1 + x 33. According to the Michaelis–Menten equation (Figure 7), when an enzyme is combined with a substrate of concentration s (in millimo- lars), the reaction rate (in micromolars/min) is
R(s) = As K + s (A, K constants)
(a) Show, by computing lim s→∞ R(s), that A is the limiting reaction rate
as the concentration s approaches ∞. (b) Show that the reaction rate R(s) attains one-half of the limiting value A when s = K . (c) For a certain reaction, K = 1.25 mM and A = 0.1. For which con- centration s is R(s) equal to 75% of its limiting value?
Leonor Michaelis 1875–1949 (Rockefeller Archive Center)
Maud Menten 1879–1960 (University Archives, University of Pittsburgh)
FIGURE 7 Canadian-born biochemist Maud Menten is best known for her fundamental work on enzyme kinetics with German scientist Leonor Michaelis. She was also an accomplished painter, clarinetist, mountain climber, and master of numerous languages.
34. Suppose that the average temperature of Earth is T (t) = 283 + 3(1 − e−0.03t ) kelvins, where t is the number of years since 2000.
(a) Calculate the long-term average L = lim t→∞ T (t).
(b) At what time is T (t) within one-half a degree of its limiting value?
In Exercises 35–42, calculate the limit.
35. lim x→∞(
√ 4x4 + 9x − 2x2) 36. lim
x→∞( √
9x3 + x − x3/2)
37. lim x→∞(2
√ x −
√ x + 2) 38. lim
x→∞
( 1 x
− 1 x + 2
)
39. lim x→∞ (ln(3x + 1) − ln(2x + 1))
40. lim x→∞
( ln(
√ 5x2 + 2) − ln x
)
41. lim x→∞ tan
−1 (
x2 + 9 9 − x
)
42. lim x→∞ tan
−1 (
1 + x 1 − x
)
43. Let P(n) be the perimeter of an n-gon inscribed in a unit circle (Figure 8). (a) Explain, intuitively, why P(n) approaches 2π as n → ∞. (b) Show that P(n) = 2n sin
(π n
) .
(c) Combine (a) and (b) to conclude that lim n→∞
n π sin
(π n
) = 1.
(d) Use this to give another argument that lim θ→0
sin θ θ
= 1.
n = 6 n = 9 n = 12 FIGURE 8
44. Physicists have observed that Einstein’s theory of special relativ- ity reduces to Newtonian mechanics in the limit as c → ∞, where c is the speed of light. This is illustrated by a stone tossed up vertically from ground level so that it returns to Earth 1 s later. Using Newton’s Laws, we find that the stone’s maximum height is h = g/8 meters (g = 9.8 m/s2). According to special relativity, the stone’s mass depends on its velocity divided by c, and the maximum height is
h(c) = c √
c2/g2 + 1/4 − c2/g
Prove that lim c→∞ h(c) = g/8.
Further Insights and Challenges 45. Every limit as x → ∞ can be rewritten as a one-sided limit as t → 0+, where t = x−1. Setting g(t) = f (t−1), we have
lim x→∞ f (x) = limt→0+
g(t)
Show that lim x→∞
3x2 − x 2x2 + 5 = limt→0+
3 − t 2 + 5t2 , and evaluate using the
Quotient Law.
46. Rewrite the following as one-sided limits as in Exercise 45 and evaluate.
(a) lim x→∞
3 − 12x3 4x3 + 3x + 1 (b) limx→∞ e
1/x
(c) lim x→∞ x sin
1 x
(d) lim x→∞ ln
( x + 1 x − 1
)
47. Let G(b) = lim x→∞(1 + b
x)1/x for b ≥ 0. Investigate G(b) numer- ically and graphically for b = 0.2, 0.8, 2, 3, 5 (and additional values if necessary). Then make a conjecture for the value of G(b) as a function of b. Draw a graph of y = G(b). Does G appear to be continuous? We will evaluate G(b) using L’Hôpital’s Rule in Section 4.5 (see Ex- ercise 69 there).
100 C H A P T E R 2 LIMITS
2.8 Intermediate Value Theorem The Intermediate Value Theorem (IVT) says, roughly speaking, that a continuous func- tion cannot skip values. Consider a plane that takes off and climbs from 0 to 10,000 m in 20 min. The plane must reach every altitude between 0 and 10,000 m during this 20-min interval. Thus, at some moment, the plane’s altitude must have been exactly 8371 m. Of course, this assumes that the plane’s motion is continuous, so its altitude cannot jump abruptly from, say, 8000 to 9000 m.
To state this conclusion formally, let A(t) be the plane’s altitude at time t . The IVT asserts that for every altitude M between 0 and 10,000, there is a time t0 between 0 and 20 such that A(t0) = M . In other words, the graph of A must intersect the horizontal line y = M [Figure 1(A)].
−1 1 2 3
1
2
3
4
20t0 Time (min)
(A) Altitude of plane A(t) (B) Graph of f (x) = ⌊x⌋
Altitude (m)
5000
10,000
M
x
y
FIGURE 1
By contrast, a discontinuous function can skip values. The greatest integer function f (x) = ⌊x⌋ in Figure 1(B) satisfies ⌊1⌋ = 1 and ⌊2⌋ = 2, but it does not take on the value 1.5 (or any other value between 1 and 2).
THEOREM 1 Intermediate Value Theorem If f is continuous on a closed interval [a, b], then for every value M between f (a) and f (b), there exists at least one value c ∈ (a, b) such that f (c) = M .
Graphically, as in Figure 2, the result appears obvious. For a continuous function, a bc
f (c) = M
x
y
f (a)
f (b) 0
FIGURE 2 For every height M , there is a c in (a, b) such that f (c) = M .
every horizontal line at height M between f (a) and f (b) is forced to hit the continuous graph and therefore there must be at least one value c in (a, b) such that f (c) = M . The proof appears in Appendix B.
EXAMPLE 1 Prove that the equation sin x = 0.3 has at least one solution.
0.3
1 y = sin x
y = 0.3
c π 2
x
y
FIGURE 3
Solution We may apply the IVT because f (x) = sin x is continuous. We choose an interval where we suspect that a solution exists. The desired value 0.3 lies between the two values of the function
sin 0 = 0 and sin π 2
= 1
so the interval [ 0, π2
] will work (Figure 3). The IVT tells us that sin x = 0.3 has at least
one solution in ( 0, π2
) .
The IVT can be used to show the existence of zeros of functions. If f is continuous
A zero or root of a function is a value c such that f (c) = 0. Sometimes the word “root” is reserved to refer specifically to the zero of a polynomial.
and takes on both positive and negative values—say, f (a) < 0 and f (b) > 0—then the IVT guarantees that f (c) = 0 for some c between a and b. This is extremely useful in a case where we cannot explicitly solve for the zero but would like to know that it is there.
COROLLARY 2 Existence of Zeros If f is continuous on [a, b] and if f (a) and f (b) are nonzero and have opposite signs, then f has a zero in (a, b).
We can locate zeros of functions to arbitrary accuracy using the Bisection Method. The idea is to find an interval [a, b] such that the function has opposite signs at the end points. Then Corollary 2 tells us that there is a zero on this interval. To find its location
S E C T I O N 2.8 Intermediate Value Theorem 101
more precisely, we cut the interval into two equal subintervals. Then, check the signs at the end points of each of these intervals to see which one Corollary 2 tells us has a zero. (But keep in mind that there may be more than one zero, so both could contain a zero). Next we repeat the process on this smaller interval. Eventually, we narrow down on the zero. This is illustrated in the next example.
EXAMPLE 2 The Bisection Method Show that f (x) = cos2 x − 2 sin x4 has a zero in (0, 2). Then locate the zero more accurately using the Bisection Method.
1 2
1
−1
1
0 2
x
y
f (x) > 0
f (x) < 0
Zero of f
3 4
FIGURE 4 Graph of f (x) = cos2 x − 2 sin x4 .
Solution Using a calculator, we find that f (0) and f (2) have opposite signs:
f (0) = 1 > 0, f (2) ≈ −0.786 < 0
Corollary 2 guarantees that f (x) = 0 has a solution in (0, 2) (Figure 4). To locate a zero more accurately, divide [0, 2] into two intervals [0, 1] and [1, 2]. At
Computer algebra systems have built-in commands for finding roots of a function or solving an equation numerically. These systems use a variety of methods, including more sophisticated versions of the Bisection Method. Notice that to use the Bisection Method, we must first find an interval containing a root.
least one of these intervals must contain a zero of f . To determine which, evaluate f at the midpoint m = 1. A calculator gives f (1) ≈ −0.203 < 0, and since f (0) = 1, we see that
f (x) takes on opposite signs at the endpoints of [0, 1]
Therefore, (0, 1) must contain a zero. We discard [1, 2] because both f (1) and f (2) are negative.
The Bisection Method consists of continuing this process until we narrow down the location of the zero to any desired accuracy. In the following table, the process is carried out three times:
Interval Midpoint of interval Function values Conclusion
[0, 1] 12 f ( 1
2 )
≈ 0.521 f (1) ≈ −0.203
Zero lies in ( 1
2 , 1 )
[ 1 2 , 1
] 3 4 f
( 3 4 )
≈ 0.163 f (1) ≈ −0.203
Zero lies in ( 3
4 , 1 )
[ 3 4 , 1
] 7 8 f
( 7 8 )
≈ −0.0231 f
( 3 4 )
≈ 0.163 Zero lies in
( 3 4 ,
7 8 )
We conclude that f has a zero c satisfying 0.75 < c < 0.875.
CONCEPTUAL INSIGHT The IVT seems to state the obvious, namely that a continuous function cannot skip values. Yet its proof (given in Appendix B) is subtle because it depends on the completeness property of real numbers. To highlight the subtlety, observe that the IVT is false for functions defined only on the rational numbers. For example, f (x) = x2 is continuous, but it does not have the intermediate value property if we restrict its domain to the rational numbers. Indeed, f (0) = 0 and f (2) = 4, but f (c) = 2 has no solution for c rational. The solution c =
√ 2 is “missing” from the set
of rational numbers because it is irrational. No doubt the IVT was always regarded as obvious, but it was not possible to give a correct proof until the completeness property was clarified in the second half of the nineteenth century.
2.8 SUMMARY
• The Intermediate Value Theorem (IVT) says that a continuous function cannot skip values.
• More precisely, if f is continuous on [a, b] with f (a) ̸= f (b), and if M is a number between f (a) and f (b), then f (c) = M for some c ∈ (a, b).
102 C H A P T E R 2 LIMITS
• Existence of zeros: If f is continuous on [a, b] and if f (a) and f (b) take opposite signs (one is positive and the other negative), then f (c) = 0 for some c ∈ (a, b).
• Bisection Method: Assume f is continuous and that f (a) and f (b) have opposite signs, so that f has a zero in (a, b). Then f has a zero in [a, m] or [m, b], where m = (a + b)/2 is the midpoint of [a, b]. A zero lies in (a, m) if f (a) and f (m) have opposite signs and in (m, b) if f (m) and f (b) have opposite signs. Continuing the process, we can locate a zero with arbitrary accuracy.
2.8 EXERCISES
Preliminary Questions 1. Prove that f (x) = x2 takes on the value 0.5 in the interval [0, 1].
2. The temperature in Vancouver was 8◦C at 6 am and rose to 20◦C at noon. Which assumption about temperature allows us to conclude that the temperature was 15◦C at some moment of time between 6 am and noon?
3. What is the graphical interpretation of the IVT?
4. Show that the following statement is false by drawing a graph that provides a counterexample:
If f is continuous and has a root in [a, b], then f (a) and f (b) have opposite signs.
5. Assume that f is continuous on [1, 5] and that f (1) = 20, f (5) = 100. Determine whether each of the following statements is always true, never true, or sometimes true. (a) f (c) = 3 has a solution with c ∈ [1, 5]. (b) f (c) = 75 has a solution with c ∈ [1, 5]. (c) f (c) = 50 has no solution with c ∈ [1, 5]. (d) f (c) = 30 has exactly one solution with c ∈ [1, 5].
Exercises 1. Use the IVT to show that f (x) = x3 + x takes on the value 9 for
some x in [1, 2].
2. Show that g(t) = t t + 1 takes on the value 0.499 for some t in
[0, 1].
3. Show that g(t) = t2 tan t takes on the value 12 for some t in [ 0, π4
] .
4. Show that f (x) = x 2
x7 + 1 takes on the value 0.4.
5. Show that cos x = x has a solution in the interval [0, 1]. Hint: Show that f (x) = x − cos x has a zero in [0, 1].
6. Use the IVT to find an interval of length 12 containing a root of f (x) = x3 + 2x + 1.
In Exercises 7–16, prove using the IVT.
7. √
c + √
c + 2 = 3 has a solution.
8. For all integers n, sin nx = cos x for some x ∈ [0, π ].
9. √
2 exists. Hint: Consider f (x) = x2.
10. A positive number c has an nth root for all positive integers n.
11. For all positive integers k, cos x = xk has a solution.
12. 2x = bx has a solution if b > 2.
13. 2x + 3x = 4x has a solution.
14. cos x = cos−1 x has a solution in (0, 1).
15. ex + ln x = 0 has a solution.
16. tan−1 x = cos−1 x has a solution.
17. Use the Intermediate Value Theorem to show that the equation x6 − 8x4 + 10x2 − 1 = 0 has at least six distinct solutions.
In Exercises 18–20, determine whether or not the IVT applies to show that the given function takes on all values between f (a) and f (b) for x ∈ (a, b). If it does not apply, determine any values between f (a) and f (b) that the function does not take on for x ∈ (a, b). 18.
f (x) = { x for x < 0 x2 for x ≥ 0
for the interval [−1, 1]. 19.
g(x) = {−x for x < 0 x3 + 1 for x ≥ 0
for the interval [−1, 1]. 20.
j (x) =
⎧ ⎨
⎩
−x2 for x < 0 1 for x = 0 x for x > 0
for the interval [−2, 2]. 21. Carry out three steps of the Bisection Method for f (x) = 2x − x3 as follows: (a) Show that f has a zero in [1, 1.5]. (b) Show that f has a zero in [1.25, 1.5]. (c) Determine whether [1.25, 1.375] or [1.375, 1.5] contains a zero. 22. Figure 5 shows that f (x) = x3 − 8x − 1 has a root in the inter- val [2.75, 3]. Apply the Bisection Method twice to find an interval of length 116 containing this root.
1 2 3 x
y
FIGURE 5 Graph of y = x3 − 8x − 1.
S E C T I O N 2.9 The Formal Definition of a Limit 103
23. Find an interval of length 14 in [1, 2] containing a root of the equa- tion x7 + 3x − 10 = 0.
24. Show that tan3 θ − 8 tan2 θ + 17 tan θ − 8 = 0 has a root in [0.5, 0.6]. Apply the Bisection Method twice to find an interval of length 0.025 containing this root.
In Exercises 25–28, draw the graph of a function f on [0, 4] with the given property.
25. Jump discontinuity at x = 2 and does not satisfy the conclusion of the IVT
26. Jump discontinuity at x = 2 and satisfies the conclusion of the IVT on [0, 4]
27. Infinite one-sided limits at x = 2 and does not satisfy the conclu- sion of the IVT
28. Infinite one-sided limits at x = 2 and satisfies the conclusion of the IVT on [0, 4]
29. Can Corollary 2 be applied to f (x) = x−1 on [−1, 1]? Does f have any roots?
30. x6 − 8x4 + 10x2 − 1 = 0 has at least six distinct solutions.
Further Insights and Challenges 31. Take any map and draw a circle on it anywhere (Figure 6). Prove that at any moment in time there exists a pair of diametrically opposite points A and B on that circle corresponding to locations where the tem- peratures at that moment are equal. Hint: Let θ be an angular coordinate along the circle and let f (θ) be the difference in temperatures at the locations corresponding to θ and θ + π .
θ
B
A
FIGURE 6 f (θ) is the difference between the temperatures at A and B.
32. Show that if f is continuous and 0 ≤ f (x) ≤ 1 for 0 ≤ x ≤ 1, then f (c) = c for some c in [0, 1] (Figure 7).
1
1
y = f (x)
y = x
c x
y
FIGURE 7 A function satisfying 0 ≤ f (x) ≤ 1 for 0 ≤ x ≤ 1.
33. Use the IVT to show that if f is continuous and one-to-one on an interval [a, b], then f is either an increasing or a decreasing function.
34. Ham Sandwich Theorem Figure 8(A) shows a slice of ham. Prove that for any angle θ (0 ≤ θ ≤ π ), it is possible to cut the slice in half with a cut of incline θ . Hint: The lines of inclination θ are given by the equations y = (tan θ)x + b, where b varies from −∞ to ∞. Each such line divides the slice into two pieces (one of which may be empty). Let A(b) be the amount of ham to the left of the line minus the amount to the right, and let A be the total area of the ham. Show that A(b) = −A if b is sufficiently large and A(b) = A if b is sufficiently negative. Then use the IVT. This works if θ ̸= 0 or π2 . If θ = 0, define A(b) as the amount of ham above the line y = b minus the amount below. How can you modify the argument to work when θ = π2 (in which case tan θ = ∞)?
35. Figure 8(B) shows a slice of ham on a piece of bread. Prove that it is possible to slice this open-faced sandwich so that each part has equal amounts of ham and bread. Hint: By Exercise 34, for all 0 ≤ θ ≤ π there is a line L(θ) of incline θ (which we assume is unique) that divides the ham into two equal pieces. Let B(θ) denote the amount of bread to the left of (or above) L(θ) minus the amount to the right (or below). Notice that L(π) and L(0) are the same line, but B(π) = −B(0) since left and right get interchanged as the angle moves from 0 to π . Assume that B is continuous and apply the IVT. (By a further extension of this argument, one can prove the full “Ham Sandwich Theorem,” which states that if you allow the knife to cut at a slant, then it is possible to cut a sandwich consisting of a slice of ham and two slices of bread so that all three layers are divided in half.)
L (0) = L(π)
L(θ)L ( )π2
θ
(A) Cutting a slice of ham at an angle θ
(B) A slice of ham on top of a slice of bread
x
y
x
y
FIGURE 8
2.9 The Formal Definition of a Limit In this section, we reexamine the definition of a limit in order to state it in a more rigorous and precise fashion. Why is this necessary? In Section 2.2, we defined limits by saying that lim
x→c f (x) = L if |f (x) − L| becomes arbitrarily small when x is sufficiently close (but not equal) to c. The problem with this definition lies in the phrases “arbitrarily small” and “sufficiently close.” We must find a way to specify just how close is sufficiently close.
104 C H A P T E R 2 LIMITS
The Size of the Gap Recall that the distance from f (x) to L is |f (x) − L|. It is convenient to refer to theA “rigorous proof” in mathematics is a
proof based on a complete chain of logic without any gaps or ambiguity. The formal definition of a limit is a key ingredient of rigorous proofs in calculus. A few such proofs are included in Appendix D. More complete developments can be found in textbooks on the branch of mathematics called “analysis.”
quantity |f (x) − L| as the gap between the value f (x) and the limit L. Let’s reexamine the trigonometric limit
lim x→0
sin x x
= 1 1
In this example, f (x) = sin x x
and L = 1, so Eq. (1) tells us that the gap |f (x) − 1| gets arbitrarily small when x is sufficiently close, but not equal, to 0 [Figure 1(A)].
The gap | f (x) − 1| is less than 0.004.
The gap | f (x) − 1| is less than 0.2.
The interval |x | < 1 2π 3π
1
−π−2π 00
0.8
1
1
−1 1−3π π
(A () B)
The interval |x | < 0.15 0.150−0.15
(C)
0.996
Enlarged view of graph near x = 0
x
y
xx
y
y
0.5
FIGURE 1 Graphs of y = sin x x
. To shrink the gap from 0.2 to 0.004, we require that x lie within 0.15 of 0.
Suppose we want the gap |f (x) − 1| to be less than 0.2. How close to 0 must x be? Figure 1(B) shows that f (x) lies within 0.2 of L = 1 for all values of x in the interval [−1, 1]. In other words, the following statement is true:
If 0 < |x| < 1, then ∣∣∣∣ sin x
x − 1
∣∣∣∣ < 0.2
If we insist instead that the gap be smaller than 0.004, we can check by zooming in on the graph, as in Figure 1(C), that
If 0 < |x| < 0.15, then ∣∣∣∣ sin x
x − 1
∣∣∣∣ < 0.004
It would seem that this process can be continued: By zooming in on the graph, we can find a small interval around c = 0, where the gap |f (x) − 1| is smaller than any prescribed positive number.
To express this in a precise fashion, we follow time-honored tradition in using the Greek letters ϵ (epsilon) and δ (delta) to denote small numbers specifying the sizes of the gap and the quantity |x − c|, respectively. In our case, c = 0 and |x − c| = |x|. The precise meaning of Eq. (1) is that for every choice of ϵ > 0, there exists some δ (depending on ϵ) such that
If 0 < |x| < δ, then ∣∣∣∣ sin x
x − 1
∣∣∣∣ < ϵ
The number δ pins down just how close is “sufficiently close” for a given ϵ. With this motivation, we are ready to state the formal definition of the limit.
S E C T I O N 2.9 The Formal Definition of a Limit 105
FORMAL DEFINITION OF A LIMIT Suppose that f (x) is defined for all x in an open interval containing c (but not necessarily at x = c). Then
lim x→c f (x) = L
if for all ϵ > 0, there exists δ > 0 such that
if 0 < |x − c| < δ, then |f (x) − L| < ϵ
The condition 0 < |x − c| < δ in this definition excludes x = c. In other words, the limit
The formal definition of a limit is often called the ϵ-δ definition. The tradition of using the symbols ϵ and δ originated in the writings of Augustin-Louis Cauchy on calculus and analysis in the 1820s.
If the symbols ϵ and δ seem to make this definition too abstract, keep in mind that we can take ϵ = 10−n and δ = 10−m. Thus, lim
x→c f (x) = L if, for any n, there
exist m > 0 such that if 0 < |x − c| < 10−m, then |f (x) − L| < 10−n.
depends only on values of f (x) near c but not on f (c) itself. As we have seen in previous sections, the limit may exist even when f (c) is not defined.
EXAMPLE 1 Let f (x) = 8x + 3. (a) Prove that lim
x→3 f (x) = 27 using the formal definition of the limit.
(b) Find values of δ that work for ϵ = 0.2 and 0.001. Solution
(a) We break the proof into two steps.
Step 1. Relate the gap to |x − c|. We must find a relation between two absolute values: |f (x) − L| for L = 27 and |x − c| for c = 3. Observe that
|f (x) − 27|︸ ︷︷ ︸ Size of gap
= |(8x + 3) − 27| = |8x − 24| = 8|x − 3|
Thus, the gap is 8 times as large as |x − 3|. Step 2. Choose δ (in terms of ϵ).
We can now see how to make the gap small: If |x − 3| < ϵ8 , then the gap is less than 8
( ϵ 8
) = ϵ. Therefore, for any ϵ > 0, we choose δ = ϵ8 . With this choice, the following
statement holds:
If 0 < |x − 3| < δ, then |f (x) − 27| < ϵ, where δ = ϵ 8
Since we have specified δ for all ϵ > 0, we have fulfilled the requirements of the formal definition, thus proving rigorously that lim
x→3 (8x + 3) = 27.
(b) For the particular choice ϵ = 0.2, we may take δ = ϵ8 = 0.28 = 0.025:
If 0 < |x − 3| < 0.025, then |f (x) − 27| < 0.2
This statement is illustrated in Figure 2. But note that any positive δ smaller than 0.025
27
27.2
26.8
3 3.0252.975
y = 8x + 3
x
y
FIGURE 2 To make the gap less than 0.2, we may take δ = 0.025 (not drawn to scale).
will also work. For example, the following statement is also true, although it places an unnecessary restriction on x:
If 0 < |x − 3| < 0.019, then |f (x) − 27| < 0.2
Similarly, to make the gap less than ϵ = 0.001, we may take
δ = ϵ 8
= 0.001 8
= 0.000125
The difficulty in applying the limit definition lies in trying to relate |f (x) − L| to |x − c|. The next two examples illustrate how this can be done in special cases.
106 C H A P T E R 2 LIMITS
EXAMPLE 2 Prove that lim x→2
x2 = 4.
Solution Let f (x) = x2. Step 1. Relate the gap to |x − c|.
In this case, we must relate the gap |f (x) − 4| = |x2 − 4| to the quantity |x − 2| (Figure 3). This is more difficult than in the previous example because the gap is not a constant multiple of |x − 2|. To proceed, consider the factorization
|x2 − 4| = |x + 2| |x − 2| Because we are going to require that |x − 2| be small, we may as well assume from the outset that |x − 2| < 1, which means that 1 < x < 3. In this case, |x + 2| is less than 5 and the gap satisfies
If |x − 2| < 1, then |x2 − 4| = |x + 2| |x − 2| < 5 |x − 2| 2
22 − δ
4 − ϵ
4 + ϵ
2 + δ
4 Function values
within ϵ of 4
x
y
FIGURE 3 Graph of f (x) = x2. We may choose δ so that f (x) lies within ϵ of 4 for all x in [2 − δ, 2 + δ].
Step 2. Choose δ (in terms of ϵ). We see from Eq. (2) that if |x − 2| is smaller than both ϵ5 and 1, then the gap satisfies
|x2 − 4| < 5|x − 2| < 5 (ϵ
5
) = ϵ
Therefore, the following statement holds for all ϵ > 0:
If 0 < |x − 2| < δ, then |x2 − 4| < ϵ, where δ is the smaller of ϵ5 and 1
We have specified δ for all ϵ > 0, so we have fulfilled the requirements of the formal limit definition, thus proving that lim
x→2 x2 = 4.
EXAMPLE 3 Prove that lim x→3
1 x
= 1 3
.
Solution
Step 1. Relate the gap to |x − c|. The gap is equal to
∣∣∣∣ 1 x
− 1 3
∣∣∣∣ = ∣∣∣∣ 3 − x
3x
∣∣∣∣ = |x − 3| ∣∣∣∣
1 3x
∣∣∣∣
Because we are going to require that |x − 3| be small, we may as well assume from the outset that |x − 3| < 1, or equivalently, 2 < x < 4. Now observe that if x > 2, then 3x > 6 and 13x <
1 6 , so the following inequality is valid if |x − 3| < 1:
REMINDER If a > b > 0, then 1 a
< 1 b .
Thus, if 3x > 6, then 13x < 1 6 .
∣∣∣∣f (x) − 1 3
∣∣∣∣ = ∣∣∣∣ 3 − x
3x
∣∣∣∣ = ∣∣∣∣
1 3x
∣∣∣∣ |x − 3| < 1 6
|x − 3| 3
Step 2. Choose δ (in terms of ϵ). By Eq. (3), if |x − 3| < 1 and |x − 3| < 6ϵ, then
∣∣∣∣ 1 x
− 1 3
∣∣∣∣ < 1 6
|x − 3| < 1 6 (6ϵ) = ϵ
S E C T I O N 2.9 The Formal Definition of a Limit 107
Therefore, given any ϵ > 0, we let δ be the smaller of the numbers 6ϵ and 1. Then we have:
If 0 < |x − 3| < δ, then ∣∣∣∣ 1 x
− 1 3
∣∣∣∣ < ϵ, where δ is the smaller of 6ϵ and 1
Again, we have fulfilled the requirements of the formal limit definition, thus proving rigorously that lim
x→3 1 x = 13 .
GRAPHICAL INSIGHT Keep the graphical interpretation of limits in mind. In Figure 4(A), f (x) approaches L as x → c because for any ϵ > 0, we can make the gap less than ϵ by taking δ sufficiently small. By contrast, the function in Figure 4(B) has a jump discontinuity at x = c. The gap cannot be made small, no matter how small δ is taken. Therefore, the limit does not exist.
c − δ c + δ
L
L + ϵ
L − ϵ
The function is continuous at x = c. By taking δ sufficiently small, we can make the gap smaller than ϵ.
(A) (B) The function is not continuous at x = c. The gap is always larger than (b − a)/2, no matter how small δ is.
Width 2ϵ
Width at least b − a
c c − δ c + δc
b
a
x x
y y
FIGURE 4
Proving Limit Theorems In practice, the formal definition of the limit is rarely used to evaluate limits. Most limits are evaluated using the Basic Limit Laws or other techniques such as the Squeeze Theorem. However, the formal definition allows us to prove these laws in a rigorous fashion and thereby ensure that calculus is built on a solid foundation. We illustrate by proving the Sum Law. Other proofs are given in Appendix D.
Proof of the Sum Law Assume that
lim x→c f (x) = L and limx→c g(x) = M
We must prove that lim x→c(f (x) + g(x)) = L + M .
Apply the Triangle Inequality (see margin) with a = f (x) − L and b = g(x) − M:REMINDER The Triangle Inequality [Eq. (1) in Section 1.1] states
|a + b| ≤ |a| + |b|
for all a and b.
|(f (x) + g(x)) − (L + M)| ≤ |f (x) − L| + |g(x) − M| 4 Each term on the right in (4) can be made small by the limit definition. More precisely, given ϵ > 0, we can choose δ such that |f (x) − L| < ϵ2 and |g(x) − M| < ϵ2 if 0 < |x − c| < δ (in principle, we might choose different δ’s for f and g, but we may then use the smaller of the two δ’s). Thus, Eq. (4) gives
If 0 < |x − c| < δ, then |f (x) + g(x) − (L + M)| < ϵ 2
+ ϵ 2
= ϵ 5
This proves that
lim x→c
( f (x) + g(x)
) = L + M = lim
x→c f (x) + limx→c g(x)
108 C H A P T E R 2 LIMITS
2.9 SUMMARY
• Informally speaking, the statement lim x→c f (x) = L means that the gap |f (x) − L| tends
to 0 as x approaches c. • The formal definition (called the ϵ-δ definition): lim
x→c f (x) = L if, for all ϵ > 0, there exists a δ > 0 such that
if 0 < |x − c| < δ, then |f (x) − L| < ϵ
2.9 EXERCISES
Preliminary Questions 1. Given that lim
x→0 cos x = 1, which of the following statements is true?
(a) If |cos x − 1| is very small, then x is close to 0.
(b) There is an ϵ > 0 such that if if 0 < |cos x − 1| < ϵ, then |x| < 10−5 .
(c) There is a δ > 0 such that if 0 < |x| < δ, then |cos x − 1| < 10−5.
(d) There is a δ > 0 such that if 0 < |x − 1| < δ, then |cos x| < 10−5.
2. Suppose it is known that for a given ϵ and δ, if 0 < |x − 3| < δ, then |f (x) − 2| < ϵ . Which of the following statements must also be true? (a) If 0 < |x − 3| < 2δ, then |f (x) − 2| < ϵ. (b) If 0 < |x − 3| < δ, then|f (x) − 2| < 2ϵ. (c) If 0 < |x − 3| < δ
2 , then |f (x) − 2| < ϵ
2 .
(d) If 0 < |x − 3| < δ 2
, then |f (x) − 2| < ϵ.
Exercises 1. Based on the information conveyed in Figure 5(A), find values of
L, ϵ, and δ > 0 such that the following statement holds: If |x| < δ, then |f (x) − L| < ϵ.
2. Based on the information conveyed in Figure 5(B), find values of c, L, ϵ, and δ > 0 such that the following statement holds: If 0 < |x − c| < δ, then |f (x) − L| < ϵ.
3 3.12.9
10 10.4
9.8
x
y
y = f (x) y = f (x)
(A) (B)
0.1−0.1
4
4.8
3.5
x
y
FIGURE 5
3. Consider lim x→4
f (x), where f (x) = 8x + 3. (a) Show that |f (x) − 35| = 8|x − 4|. (b) Show that for any ϵ > 0, if 0 < |x − 4| < δ, then |f (x) − 35| < ϵ, where δ = ϵ8 . Explain how this proves rigorously that limx→4 f (x) = 35.
4. Consider lim x→2
f (x), where f (x) = 4x − 1. (a) Show that if 0 < |x − 2| < δ, then |f (x) − 7| < 4δ. (b) Find a δ such that
If 0 < |x − 2| < δ, then |f (x) − 7| < 0.01 (c) Prove rigorously that lim
x→2 f (x) = 7.
5. Consider lim x→2
x2 = 4 (refer to Example 2).
(a) Show that if 0 < |x − 2| < 0.01, then |x2 − 4| < 0.05.
(b) Show that if 0 < |x − 2| < 0.0002, then |x2 − 4| < 0.0009. (c) Find a value of δ such that if 0 < |x − 2| < δ, then |x2 − 4| is less than 10−4.
6. With regard to the limit lim x→5
x2 = 25,
(a) show that if 4 < x < 6, then |x2 − 25| < 11|x − 5|. Hint: Write |x2 − 25| = |x + 5| · |x − 5|. (b) find a δ such that if 0 < |x − 5| < δ, then |x2 − 25| < 10−3. (c) give a rigorous proof of the limit by showing that if 0 < |x − 5| < δ, then |x2 − 25| < ϵ , where δ is the smaller of ϵ11 and 1.
7. Refer to Example 3 to find a value of δ > 0 such that
If 0 < |x − 3| < δ, then ∣∣∣∣ 1 x
− 1 3
∣∣∣∣ < 10 −4
8. Use Figure 6 to find a value of δ > 0 such that the following state- ment holds: If 0 < |x − 2| < δ, then
∣∣1/x2 − 14 ∣∣ < ϵ for ϵ = 0.03.
Then find a value of δ that works for ϵ = 0.01.
0.05
0.10
0.15
0.20
0.25
0.30
1.9 2.0 2.1
y
x
1 x2
y =
FIGURE 6
9. Plot f (x) = √
2x − 1 together with the horizontal lines y = 2.9 and y = 3.1. Use this plot to find a value of δ > 0 such that if 0 < |x − 5| < δ, then |
√ 2x − 1 − 3| < 0.1.
S E C T I O N 2.9 The Formal Definition of a Limit 109
10. Plot f (x) = tan x together with the horizontal lines y = 0.99 and y = 1.01. Use this plot to find a value of δ > 0 such that if 0 <
∣∣x − π4 ∣∣ < δ, then |tan x − 1| < 0.01.
11. The number e has the following property: lim x→0
ex − 1 x
= 1.
Use a plot of f (x) = e x − 1 x
to find a value of δ > 0 such that if
0 < |x − 1| < δ, then |f (x) − 1| < 0.01.
12. Let f (x) = 4 x2 + 1 and ϵ = 0.5. Using a plot of f , find
a value of δ > 0 such that if 0 < ∣∣∣x − 12
∣∣∣ < δ, then ∣∣∣f (x) − 165
∣∣∣ < ϵ. Repeat for ϵ = 0.2 and 0.1.
13. Consider lim x→2
1 x
.
(a) Show that if |x − 2| < 1, then ∣∣∣∣ 1 x
− 1 2
∣∣∣∣ < 1 2 |x − 2|
(b) Let δ be the smaller of 1 and 2ϵ. Prove the following:
If 0 < |x − 2| < δ, then ∣∣∣∣ 1 x
− 1 2
∣∣∣∣ < ϵ
(c) Find a δ > 0 such that if 0 < |x − 2| < δ, then ∣∣∣ 1x − 12
∣∣∣ < 0.01.
(d) Prove rigorously that lim x→2
1 x
= 1 2
.
14. Consider lim x→1
√ x + 3.
(a) Show that if |x − 1| < 4, then | √
x + 3 − 2| < 12 |x − 1|. Hint: Multiply the inequality by |
√ x + 3 + 2| and observe that |
√ x + 3 +
2| > 2. (b) Find δ > 0 such that if 0 < |x − 1| < δ, then |
√ x + 3 − 2| <10−4.
(c) Prove rigorously that the limit is equal to 2.
15. Let f (x) = sin x. Using a calculator, we find
f (π
4 − 0.1
) ≈ 0.633, f
(π 4
) ≈ 0.707, f
(π 4
+ 0.1 )
≈ 0.774
Use these values and the fact that f is increasing on [ 0, π2
] to justify
the statement
If 0 < ∣∣∣x − π
4
∣∣∣ < 0.1, then ∣∣∣f (x) − f
(π 4
)∣∣∣ < 0.08
Then draw a figure like Figure 3 to illustrate this statement.
16. Adapt the argument in Example 1 to prove rigorously that lim x→c(ax + b) = ac + b, where a, b, c are arbitrary.
17. Adapt the argument in Example 2 to prove rigorously that lim x→c x
2 = c2 for all c.
18. Adapt the argument in Example 3 to prove rigorously that lim x→c x
−1 = 1c for all c ̸= 0.
In Exercises 19–24, use the formal definition of the limit to prove the statement rigorously.
19. lim x→4
√ x = 2 20. lim
x→1 (3x2 + x) = 4
21. lim x→1
x3 = 1 22. lim x→0
(x2 + x3) = 0
23. lim x→2
x−2 = 1 4
24. lim x→0
x sin 1 x
= 0
25. Let f (x) = x|x| . Prove rigorously that limx→0 f (x) does not exist. Hint: Show that for any L, there always exists some x such that |x| < δ but |f (x) − L| ≥ 12 , no matter how small δ is taken.
26. Prove rigorously that lim x→0
|x| = 0.
27. Let f (x) = min(x, x2), where min(a, b) is the minimum of a and b. Prove rigorously that lim
x→1 f (x) = 1.
28. Prove rigorously that lim x→0
sin 1x does not exist.
29. First, use the identity
sin x + sin y = 2 sin (
x + y 2
) cos
( x − y
2
)
to verify the relation
sin(a + h) − sin a = h sin(h/2) h/2
cos (
a + h 2
) 6
Then use the inequality ∣∣∣∣ sin x
x
∣∣∣∣ ≤ 1 for x ̸= 0 to show that
|sin(a + h) − sin a| < |h| for all a. Finally, prove rigorously that lim x→a sin x = sin a.
Further Insights and Challenges 30. Uniqueness of the Limit Prove that a function converges to at most one limiting value. In other words, use the limit definition to prove that if lim
x→c f (x) = L1 and limx→c f (x) = L2, then L1 = L2.
In Exercises 31–33, prove the statement using the formal limit defini- tion.
31. The Constant Multiple Law [Theorem 1, part (ii) in Section 2.3].
32. The Squeeze Theorem (Theorem 1 in Section 2.6).
33. The Product Law [Theorem 1, part (iii) in Section 2.3]. Hint: Use the identity
f (x)g(x) − LM = (f (x) − L) g(x) + L(g(x) − M)
34. Let f (x) = 1 if x is rational and f (x) = 0 if x is irrational. Prove that lim
x→c f (x) does not exist for any c. Hint: There exist rational and irrational numbers arbitrarily close to any c.
35. Here is a function with strange continuity properties:
f (x) =
⎧ ⎪⎨
⎪⎩
1 q
if x is the rational number p/q in lowest terms
0 if x is an irrational number
(a) Show that f is discontinuous at c if c is rational. Hint: There exist irrational numbers arbitrarily close to c.
110 C H A P T E R 2 LIMITS
(b) Show that f is continuous at c if c is irrational. Hint: Let I be the interval {x : |x − c| < 1}. Show that for any Q > 0, I contains at most finitely many fractions p/q with q < Q. Conclude that there is a δ such that all fractions in {x : |x − c| < δ} have a denominator larger than Q.
36. Write a formal definition of the following:
lim x→∞ f (x) = L
37. Write a formal definition of the following:
lim x→a f (x) = ∞
CHAPTER REVIEW EXERCISES
1. The position of a particle at time t (s) is s(t) = √
t2 + 1 m. Com- pute its average velocity over [2, 5] and estimate its instantaneous ve- locity at t = 2.
2. The “wellhead” price p of natural gas in the United States (in dol- lars per 1000 ft3) on the first day of each month in 2012 is listed in the table below.
J F M A M J
2.89 2.46 2.25 1.89 1.94 2.54
J A S O N D
2.59 2.86 2.71 3.03 3.35 3.35
Compute the average rate of change of p (in dollars per 1000 ft3 per month) over the quarterly periods January–March, April–June, and July–September.
3. For a positive integer n, let P(n) be the number of partitions of n, that is, the number of ways of writing n as a sum of one or more positive integers. For example, P(4) = 5 since the number 4 can be partitioned in five different ways: 4, 3 + 1, 2 + 2, 2 + 1 + 1, and 1 + 1 + 1 + 1. Suppose P is a continuous function whose values at positive integers are known. Use Figure 1 to estimate the rate of change of P at n = 12.
n
P(n)
14121086420 0
40
80
120
160
FIGURE 1 Graph of P .
4. The average velocity v (m/s) of an oxygen molecule in the air at temperature T (◦C) is v = 25.7
√ 273.15 + T . What is the average
speed at T = 25◦ (room temperature)? Estimate the rate of change of average velocity with respect to temperature at T = 25◦. What are the units of this rate?
In Exercises 5–10, estimate the limit numerically to two decimal places or state that the limit does not exist.
5. lim x→0
1 − cos3(x) x2
6. lim x→1
x1/(x−1)
7. lim x→2
xx − 4 x2 − 4 8. limx→2
x − 2 ln(3x − 5)
9. lim x→1
( 7
1 − x7 − 3
1 − x3 )
10. lim x→2
3x − 9 5x − 25
In Exercises 11–50, evaluate the limit if it exists. If not, determine whether the one-sided limits exist (finite or infinite).
11. lim x→4
(3 + x1/2) 12. lim x→1
5 − x2 4x + 7
13. lim x→−2
4
x3 14. lim
x→−1 3x2 + 4x + 1
x + 1
15. lim t→9
√ t − 3
t − 9 16. limx→3
√ x + 1 − 2 x − 3
17. lim x→1
x3 − x x − 1 18. limh→0
2(a + h)2 − 2a2 h
19. lim t→9
t − 6√ t − 3 20. lims→0
1 − √
s2 + 1 s2
21. lim x→−1+
1 x + 1 22. limy→ 13
3y2 + 5y − 2 6y2 − 5y + 1
23. lim x→1
x3 − 2x x − 1 24. lima→b
a2 − 3ab + 2b2 a − b
25. lim x→0
e3x − ex ex − 1 26. limθ→0
sin 5θ θ
27. lim x→1.5
⌊ 1 x
⌋ 28. lim
θ→ π4 sec θ
29. lim z→−3
z + 3 z2 + 4z + 3 30. limx→1
x3 − ax2 + ax − 1 x − 1
31. lim x→b
x3 − b3 x − b 32. limx→0
sin 4x sin 3x
33. lim x→0
( 1
3x − 1
x(x + 3)
) 34. lim
θ→ 14 3tan(πθ)
35. lim x→0−
⌊x⌋ x
36. lim x→0+
⌊x⌋ x
37. lim θ→ π2
θ sec θ 38. lim y→2
ln (
sin π
y
)
39. lim θ→0
cos θ − 2 θ
40. lim x→4.3
1 x − ⌊x⌋
41. lim x→2−
x − 3 x − 2 42. limt→0
sin2 t
t3
43. lim x→1+
( 1√
x − 1 − 1√
x2 − 1
)
44. lim t→e
√ t(ln t − 1)
Chapter Review Exercises 111
45. lim x→ π2
tan x 46. lim t→0
cos 1 t
47. lim t→0+
√ t cos
1 t
48. lim x→5+
x2 − 24 x2 − 25
49. lim x→0
cos x − 1 sin x
50. lim θ→0
tan θ − sin θ sin3 θ
51. Find the left- and right-hand limits of the function f in Figure 2 at x = 0, 2, 4. State whether f is left- or right-continuous (or both) at these points.
x
y
1 3 52 4
1
2
FIGURE 2
52. Sketch the graph of a function f such that (a) lim
x→2− f (x) = 1, lim
x→2+ f (x) = 3
(b) lim x→4
f (x) exists but does not equal f (4).
53. Graph h and describe the discontinuity:
h(x) = {
ex for x ≤ 0 ln x for x > 0
Is h left- or right-continuous?
54. Sketch the graph of a function g such that
lim x→−3−
g(x) = ∞, lim x→−3+
g(x) = −∞, lim x→4
g(x) = ∞
55. Find the points of discontinuity of
g(x) =
⎧ ⎪⎨
⎪⎩
cos (πx
2
) for |x| < 1
|x − 1| for |x| ≥ 1
Determine the type of discontinuity and whether g is left- or right- continuous.
56. Show that f (x) = xesin x is continuous on its domain.
57. Find a constant b such that h is continuous at x = 2, where
h(x) = {
x + 1 for |x| < 2 b − x2 for |x| ≥ 2
With this choice of b, find all points of discontinuity.
In Exercises 58–63, find the horizontal asymptotes of the function by computing the limits at infinity.
58. f (x) = 9x 2 − 4
2x2 − x 59. f (x) = x2 − 3x4
x − 1
60. f (u) = 8u − 3√ 16u2 + 6
61. f (u) = 2u 2 − 1
√ 6 + u4
62. f (x) = 3x 2/3 + 9x3/7
7x4/5 − 4x−1/3 63. f (t) = t1/3 − t−1/3 (t − t−1)1/3
64. Calculate (a)–(d), assuming that
lim x→3
f (x) = 6, lim x→3
g(x) = 4
(a) lim x→3
(f (x) − 2g(x)) (b) lim x→3
x2f (x)
(c) lim x→3
f (x)
g(x) + x (d) limx→3(2g(x) 3 − g(x)3/2)
65. Assume that the following limits exist:
A = lim x→a f (x), B = limx→a g(x), L = limx→a
f (x)
g(x)
Prove that if L = 1, then A = B. Hint: You cannot use the Quotient Law if B = 0, so apply the Product Law to L and B instead. 66. Define g(t) = (1 + 21/t )−1 for t ̸= 0. How should g(0) be defined to make g left-continuous at t = 0?
67. In the notation of Exercise 65, give an example where L exists but neither A nor B exists.
68. True or false? (a) If lim
x→3 f (x) exists, then lim
x→3 f (x) = f (3).
(b) If lim x→0
f (x)
x = 1, then f (0) = 0.
(c) If lim x→−7
f (x) = 8, then lim x→−7
1 f (x)
= 1 8
.
(d) If lim x→5+
f (x) = 4 and lim x→5−
f (x) = 8, then lim x→5
f (x) = 6.
(e) If lim x→0
f (x)
x = 1, then lim
x→0 f (x) = 0.
(f) If lim x→5
f (x) = 2, then lim x→5
f (x)3 = 8.
69. Let f (x) = ⌊
1 x
⌋ , where ⌊x⌋ is the greatest integer func-
tion. Show that for x ̸= 0,
1 x
− 1 < ⌊
1 x
⌋ ≤ 1
x
Then use the Squeeze Theorem to prove that
lim x→0
x
⌊ 1 x
⌋ = 1
Hint: Treat the one-sided limits separately.
70. Let r1 and r2 be the roots of f (x) = ax2 − 2x + 20. Observe that f “approaches” the linear function L(x) = −2x + 20 as a → 0. Be- cause r = 10 is the unique root of L, we might expect one of the roots of f to approach 10 as a → 0 (Figure 3). Prove that the roots can be labeled so that lim
a→0 r1 = 10 and lim
a→0 r2 = ∞.
x
y
100 200
Root tends to ∞ as a → 0
Root near 10
300 400
200
−200 y = −2x + 20
a = 0.002 a = 0.008
FIGURE 3 Graphs of f (x) = ax2 − 2x + 20.
112 C H A P T E R 2 LIMITS
71. Use the IVT to prove that the curves y = x2 and y = cos x inter- sect.
72. Use the IVT to prove that f (x) = x3 − x 2 + 2
cos x + 2 has a root in the interval [0, 2].
73. Use the IVT to show that e−x2 = x has a solution on (0, 1). 74. Use the Bisection Method to locate a solution of x2 − 7 = 0 to two decimal places.
75. Give an example of a (discontinuous) function that does not satisfy the conclusion of the IVT on [−1, 1]. Then show that the function
f (x) =
⎧ ⎨
⎩ sin
1 x
x ̸= 0
0 x = 0
satisfies the conclusion of the IVT on every interval [−a, a].
76. Let f (x) = 1 x + 2 .
(a) Show that if |x − 2| < 1, then ∣∣∣f (x) − 14
∣∣∣ < |x − 2|
12 . Hint: Ob-
serve that if |x − 2| < 1, then |4(x + 2)| > 12. (b) Find δ > 0 such that if |x − 2| < δ, then
∣∣∣f (x) − 14 ∣∣∣ < 0.01.
(c) Prove rigorously that lim x→2
f (x) = 14 .
77. Plot the function f (x) = x1/3. Use the zoom feature to find a δ > 0 such that if |x − 8| < δ, then |x1/3 − 2| < 0.05.
78. Use the fact that f (x) = 2x is increasing to find a value of δ such that |2x − 8| < 0.001 if |x − 2| < δ. Hint: Find c1 and c2 such that 7.999 < f (c1) < f (c2) < 8.001.
79. Prove rigorously that lim x→−1
(4 + 8x) = −4.
80. Prove rigorously that lim x→3
(x2 − x) = 6.
The velocity at any given moment in free fall is
given by evaluating the derivative of the position
function at that time. (Germanskydiver/Shutterstock)
3 DIFFERENTIATION
D ifferential calculus is the study of the derivative, and differentiation is the process ofcomputing derivatives. What is a derivative? There are three equally important an- swers: A derivative is a rate of change, it is the slope of a tangent line, and (more formally), it is the limit of a difference quotient, as we will explain shortly. In this chapter, we explore all three facets of the derivative and develop the basic rules of differentiation. When you master these techniques, you will possess one of the most useful and flexible tools that mathematics has to offer.
3.1 Definition of the Derivative We begin with two questions: What is the precise definition of a tangent line? And how can we compute its slope? To answer these questions, let’s return to the relationship between tangent and secant lines first mentioned in Section 2.1.
The secant line through distinct points P = (a, f (a)) and Q = (x, f (x)) on the graph of a function f has slope [Figure 1(A)]
REMINDER A secant line is any line through two points on a curve or graph.
!f
!x = f (x) − f (a)
x − a
where
!f = f (x) − f (a) and !x = x − a
The expression f (x) − f (a)
x − a is called the difference quotient.
xa
(A)
a
(B)
Tangent
y
x
y
x
P = (a, f (a))
Q = (x, f (x))
!x = x − a
∆ f = f (x) − f (a) P = (a, f (a))
FIGURE 1 The secant line has slope !f/!x. Our goal is to compute the slope of the tangent line at (a, f (a)).
Now observe what happens as Q approaches P or, equivalently, as x approaches a. Figure 2 suggests that the secant lines get progressively closer to the tangent line. If we imagine Q moving toward P , then the secant line appears to rotate into the tangent line as in (D). Therefore, we may expect the slopes of the secant lines to approach the slope of the tangent line.
(C)(B)
P
xa
Q
a (D)
y
x
y
x xa
(A)
y
x xa
y
x
P
Q
P Q
P
x
Q
FIGURE 2 The secant lines approach the tangent line as Q approaches P .
113
114 C H A P T E R 3 DIFFERENTIATION
Based on this intuition, we define the derivative f ′(a) (which is read “f prime of a”) at a point x = a as the limit
f ′(a)︸ ︷︷ ︸ Slope of the tangent line
= lim x→a
f (x) − f (a) x − a︸ ︷︷ ︸
Limit of slopes of secant lines
There is another way of writing the difference quotient using a new variable h:
h = x − a
We have x = a + h and, for x ̸= a (Figure 3),P
Q
y
x a
h
f (a + h) − f (a)
x = a + h
FIGURE 3 The difference quotient can be written in terms of h.
f (x) − f (a) x − a =
f (a + h) − f (a) h
The variable h approaches 0 as x → a, so we can rewrite the derivative as
f ′(a) = lim h→0
f (a + h) − f (a) h
Each way of writing the derivative is useful. The version using h is often more convenient in computations.
DEFINITION The Derivative The derivative of f at a point a is the limit of the dif- ference quotients (if it exists):
f ′(a) = lim h→0
f (a + h) − f (a) h
1
When the limit exists, we say that f is differentiable at a. An equivalent definition of the derivative at a point a is
f ′(a) = lim x→a
f (x) − f (a) x − a 2
We can now define the tangent line in a precise way, as the line of slope f ′(a) through P = (a, f (a)).
DEFINITION Tangent Line Assume that f is differentiable at a. The tangent line to the graph of y = f (x) at P = (a, f (a)) is the line through P of slope f ′(a). The equation of the tangent line in point-slope form is
y − f (a) = f ′(a)(x − a) 3
REMINDER The equation of the line through P = (a, b) of slope m in point-slope form:
y − b = m(x − a)
EXAMPLE 1 Equation of a Tangent Line Find an equation of the tangent line to the graph of f (x) = x2 at x = 5.
y = 10x − 25
y = x2
3 5 7
(5, 25)
75
50
25
x
y
FIGURE 4 Tangent line to y = x2 at x = 5.
Solution First, we must compute f ′(5). We are free to use either Eq. (1) or Eq. (2). Using Eq. (2), we have
f ′(5) = lim x→5
f (x) − f (5) x − 5 = limx→5
x2 − 25 x − 5 = limx→5
(x − 5)(x + 5) x − 5
= lim x→5
(x + 5) = 10
Next, we apply Eq. (3) with a = 5. Because f (5) = 25, an equation of the tangent line is y − 25 = 10(x − 5), or in slope-intercept form, y = 10x − 25 (Figure 4).
S E C T I O N 3.1 Definition of the Derivative 115
If instead, we had used Eq. (1) to find f ′(5), we obtain the same slope:
f ′(5) = lim h→0
f (5 + h) − f (5) h
= lim h→0
(5 + h)2 − 52 h
= lim h→0
(25 + 10h + h2) − 25 h
= lim h→0
(10 + h) = 10
In the next two examples, we perform the differentiation (the process of computing the derivative) using Eq. (1). For clarity, we break up the computations into three steps.Isaac Newton referred to calculus as the
“method of fluxions” (from the Latin word for “flow”), but the term “differential calculus,” introduced in its Latin form “calculus differentialis” by Gottfried Wilhelm Leibniz, eventually won out and was adopted universally.
EXAMPLE 2 Compute f ′(3), where f (x) = x2 − 8x.
Solution Using Eq. (1), we write the difference quotient at a = 3 as
f (a + h) − f (a) h
= f (3 + h) − f (3) h
(h ̸= 0)
Step 1. Write out the numerator of the difference quotient.
f (3 + h) − f (3) = ( (3 + h)2 − 8(3 + h)
) −
( 32 − 8(3)
)
= ( (9 + 6h + h2) − (24 + 8h)
) − (9 − 24)
= h2 − 2h
Step 2. Divide by h and simplify.
f (3 + h) − f (3) h
= h 2 − 2h
h = h(h − 2)
h = h − 2
︸ ︷︷ ︸ Cancel h
Step 3. Compute the limit.
f ′(3) = lim h→0
f (3 + h) − f (3) h
= lim h→0
(h − 2) = −2
EXAMPLE 3 Sketch the graph of f (x) = 1 x
and the tangent line at x = 2.
(a) Based on the sketch, do you expect f ′(2) to be positive or negative? (b) Find an equation of the tangent line at x = 2.
Solution The graph and tangent line at x = 2 are shown in Figure 5.
54321
3
2
1
x
y
FIGURE 5 Graph of f (x) = 1x . The tangent line at x = 2 has equation y = − 14x + 1.
(a) We see that the tangent line has negative slope, so f ′(2) must be negative. (b) We compute f ′(2) in three steps as before.
Step 1. Write out the numerator of the difference quotient.
f (2 + h) − f (2) = 1 2 + h −
1 2
= 2 2(2 + h) −
2 + h 2(2 + h) = −
h
2(2 + h)
Step 2. Divide by h and simplify.
f (2 + h) − f (2) h
= 1 h
· (
− h 2(2 + h)
) = − 1
2(2 + h)
116 C H A P T E R 3 DIFFERENTIATION
Step 3. Compute the limit.
f ′(2) = lim h→0
f (2 + h) − f (2) h
= lim h→0
−1 2(2 + h) = −
1 4
The function value is f (2) = 12 , so the tangent line passes through ( 2, 12
) and has equation
y − 1 2
= −1 4 (x − 2)
In slope-intercept form, y = − 14x + 1.
The graph of a linear function f (x) = mx + b (where m and b are constants) is a line of slope m. The tangent line at any point coincides with the line itself (Figure 6), so we should expect that f ′(a) = m for all a. Let’s check this by computing the derivative:
f ′(a) = lim h→0
f (a + h) − f (a) h
= lim h→0
(m(a + h) + b) − (ma + b) h
= lim h→0
mh
h = lim
h→0 m = m
If m = 0, then f (x) = b is constant and f ′(a) = 0 (Figure 7). In summary,
4
2
42
f (x) = mx + b
−1
y
x
FIGURE 6 The derivative of f (x) = mx + b is f ′(a) = m for all a.
4
2
42 x
y
f (x) = b
FIGURE 7 The derivative of a constant function f (x) = b is f ′(a) = 0 for all a.
THEOREM 1 Derivative of Linear and Constant Functions
• If f (x) = mx + b is a linear function, then f ′(a) = m for all a. • If f (x) = b is a constant function, then f ′(a) = 0 for all a.
EXAMPLE 4 Find the derivative of f (x) = 9x − 5 at x = 2 and x = 5. Solution We have f ′(a) = 9 for all a. Hence, f ′(2) = f ′(5) = 9.
EXAMPLE 5 Determine the derivative of the function f whose graph appears in Figure 8 at x = 2, 3, 4.3
2
1
0 54321 x
y
FIGURE 8 Determining the derivative at x = 2, 3, 4.
Solution At x = 2, the graph is a line with slope given by
m = f (3) − f (0) 3 − 0 =
3 − 0 3 − 0 = 1
Hence, f ′(2) = 1. At x = 3, there is no well-defined tangent line, since the limit of the slopes of the
secant lines as x approaches 3 from the left is different from the limit of the slopes of the secant lines as x approaches 3 from the right. So the derivative f ′(3) does not exist.
At x = 4, the tangent line passes through the two points (3, 2) and (5, 0). Hence, it has slope m = 2−03−5 = −1. Therefore, f ′(4) = −1.
Estimating the Derivative Approximations to the derivative are useful in situations where we cannot evaluate f ′(a) exactly. Since the derivative is the limit of difference quotients, the difference quotient should give a good numerical approximation when h is sufficiently small:
f ′(a) ≈ f (a + h) − f (a) h
if h is small
Graphically, this says that for small h, the slope of the secant line is nearly equal to the slope of the tangent line (Figure 9).
a + ha
y
x
P Q
Tangent
Secant
FIGURE 9 When h is small, the secant line has nearly the same slope as the tangent line.
S E C T I O N 3.1 Definition of the Derivative 117
EXAMPLE 6 Estimate the derivative of f (x) = sin x at x = π6 . Solution We calculate the difference quotient for several small values of h:
sin (
π 6 + h
) − sin π6
h = sin
( π 6 + h
) − 0.5
h
Table 1 suggests that the limit has a decimal expansion beginning 0.866. In other words, f ′
( π 6
) ≈ 0.866.
TABLE 1 Values of the Difference Quotient for Small h
h > 0 sin
(π 6 + h
) − 0.5
h h < 0
sin (π
6 + h ) − 0.5
h
0.01 0.863511 −0.01 0.868511 0.001 0.865775 −0.001 0.866275 0.0001 0.8660 00 −0.0001 0.866 050 0.00001 0.8660 229 −0.00001 0.8660 279
In the next example, we use graphical reasoning to determine the accuracy of the estimates obtained in Example 6.
EXAMPLE 7 Determining Accuracy Graphically Let f (x) = sin x. Show that the approximation f ′
( π 6
) ≈ 0.8660 is accurate to four decimal places.π
6
Tangent
Secant (h > 0)
y = sin x
Secant (h < 0)
x
y
FIGURE 10 The tangent line is squeezed in between the secant lines with h > 0 and h < 0.
Solution Observe in Figure 10 that the position of the secant line relative to the tangent line depends on whether h is positive or negative. When h > 0, the slope of the secant line is smaller than the slope of the tangent line, but it is larger when h < 0. This tells us that the difference quotients in the second column of Table 1 are smaller than f ′
( π 6
) and
those in the fourth column are greater than f ′ (
π 6
) . From the last line in Table 1 we may
conclude thatThis technique of estimating an unknown quantity by showing that it lies between two known values (“squeezing it”) is used frequently in calculus.
0.866022 ≤ f ′ (π
6
) ≤ 0.866028
It follows that the estimate f ′ (
π 6
) ≈ 0.8660 is accurate to four decimal places. In Sec-
tion 3.6, we will see that the exact value is f ′ (
π 6
) = cos
( π 6
) =
√ 3
2 ≈ 0.8660254, just about midway between 0.866022 and 0.866028.
CONCEPTUAL INSIGHT Are Limits Really Necessary? It is natural to ask whether limits are really necessary. The tangent line is easy to visualize. Is there perhaps a better or simpler way to find its equation? History gives one answer: The methods of calculus based on limits have stood the test of time and are used more widely today than ever before.
History aside, we can see directly why limits play such a crucial role. The slope of a line can be computed if the coordinates of two points P = (x1, y1) and Q = (x2, y2) on the line are known:
Slope of line = y2 − y1 x2 − x1
This formula cannot be applied to the tangent line because we know only that it passes through the single point P = (a, f (a)). Limits provide an ingenious way around this obstacle. We choose a point Q = (a + h, f (a + h)) on the graph near P and form the secant line. The slope of this secant line is just an approximation to the slope of the tangent line:
Slope of secant line = f (a + h) − f (a) h
≈ slope of tangent line
But this approximation improves as h → 0, and by taking the limit, we convert our approximations into the exact slope.
118 C H A P T E R 3 DIFFERENTIATION
3.1 SUMMARY
• The difference quotient:
f (a + h) − f (a) h
The difference quotient is the slope of the secant line through the points P = (a, f (a)) and Q = (a + h, f (a + h)) on the graph of f .
• The derivative f ′(a) is defined by the following equivalent limits:
f ′(a) = lim h→0
f (a + h) − f (a) h
= lim x→a
f (x) − f (a) x − a
If the limit exists, we say that f is differentiable at x = a. • By definition, the tangent line at P = (a, f (a)) is the line through P with slope f ′(a)
[assuming that f ′(a) exists]. • Equation of the tangent line in point-slope form:
y − f (a) = f ′(a)(x − a) • To calculate f ′(a) using the limit definition:
Step 1. Write out the numerator of the difference quotient. Step 2. Divide by h and simplify. Step 3. Compute the derivative by taking the limit.
• For small values of h, we have the estimate f ′(a) ≈ f (a + h) − f (a) h
.
3.1 EXERCISES
Preliminary Questions 1. Which of the lines in Figure 11 are tangent to the curve?
A
B C
D
FIGURE 11
2. What are the two ways of writing the difference quotient?
3. Find a and h such that f (a + h) − f (a)
h is equal to the slope of
the secant line between (3, f (3)) and (5, f (5)).
4. Which derivative is approximated by tan
(π 4 + 0.0001
) − 1
0.0001 ?
5. What do the following quantities represent in terms of the graph of f (x) = sin x? (a) sin 1.3 − sin 0.9 (b) sin 1.3 − sin 0.9
0.4 (c) f ′(0.9)
Exercises 1. Let f (x) = 5x2. Show that f (3 + h) = 5h2 + 30h + 45. Then
show that
f (3 + h) − f (3) h
= 5h + 30
and compute f ′(3) by taking the limit as h → 0.
2. Let f (x) = 2x2 − 3x − 5. Show that the secant line through (2, f (2)) and (2 + h, f (2 + h)) has slope 2h + 5. Then use this for- mula to compute the slope of: (a) The secant line through (2, f (2)) and (3, f (3)) (b) The tangent line at x = 2 (by taking a limit) In Exercises 3–8, compute f ′(a) in two ways, using Eq. (1) and Eq. (2).
3. f (x) = x2 + 9x, a = 0
4. f (x) = x2 + 9x, a = 2 5. f (x) = 3x2 + 4x + 2, a = −1 6. f (x) = x3, a = 2 7. f (x) = x3 + 2x, a = 1 8. f (x) = 1x , a = 2
In Exercises 9–12, refer to Figure 12.
9. Find the slope of the secant line through (2, f (2)) and (2.5, f (2.5)). Is it larger or smaller than f ′(2)? Explain.
10. Estimate f (2 + h) − f (2)
h for h = −0.5. What does this
quantity represent? Is it larger or smaller than f ′(2)? Explain.
S E C T I O N 3.1 Definition of the Derivative 119
11. Estimate f ′(1) and f ′(2).
12. Find a value of h for which f (2 + h) − f (2)
h = 0.
0.5
1.0
1.5
2.0
2.5
3.0
f (x)
1.0 2.0 3.00.5 1.5 2.5 x
y
FIGURE 12
In Exercises 13–16, refer to Figure 13.
13. Determine f ′(a) for a = 1, 2, 4, 7. 14. For which values of x is f ′(x) < 0?
15. Which is larger, f ′(5.5) or f ′(6.5)?
16. Show that f ′(3) does not exist.
1
2
3
5
4
1 2 3 4 5 6 7 8 9 x
y
FIGURE 13 Graph of f .
In Exercises 17–20, use the limit definition to calculate the derivative of the linear function.
17. f (x) = 7x − 9 18. f (x) = 12 19. g(t) = 8 − 3t 20. k(z) = 14z + 12 21. Find an equation of the tangent line at x = 3, assuming that f (3) = 5 and f ′(3) = 2. 22. Find f (3) and f ′(3), assuming that the tangent line to y = f (x) at a = 3 has equation y = 5x + 2. 23. Describe the tangent line at an arbitrary point on the “curve” y = 2x + 8. 24. Suppose that f (2 + h) − f (2) = 3h2 + 5h. Calculate: (a) The slope of the secant line through (2, f (2)) and (6, f (6)) (b) f ′(2)
25. Let f (x) = 1 x
. Does f (−2 + h) equal 1−2 + h or 1
−2 + 1 h
?
Compute the difference quotient at a = −2 with h = 0.5. 26. Let f (x) = √x. Does f (5 + h) equal √5 + h or
√ 5 +
√ h?
Compute the difference quotient at a = 5 with h = 1. 27. Let f (x) = 1/√x. Compute f ′(5) by showing that
f (5 + h) − f (5) h
= − 1√ 5 √
5 + h(√5 + h + √
5)
28. Find an equation of the tangent line to the graph of f (x) = 1/√x at x = 9.
In Exercises 29–46, use the limit definition to compute f ′(a) and find an equation of the tangent line.
29. f (x) = 2x2 + 10x, a = 3 30. f (x) = 4 − x2, a = −1
31. f (t) = t − 2t2, a = 3 32. f (x) = 8x3, a = 1
33. f (x) = x3 + x, a = 0 34. f (t) = 2t3 + 4t , a = 4
35. f (x) = x−1, a = 8 36. f (x) = x + x−1, a = 4
37. f (x) = 1 x + 3 , a = −2 38. f (t) =
2 1 − t , a = −1
39. f (x) = √
x + 4, a = 1 40. f (t) = √
3t + 5, a = −1
41. f (x) = 1√ x
, a = 4 42. f (x) = 1√ 2x + 1
, a = 4
43. f (t) = √
t2 + 1, a = 3 44. f (x) = x−2, a = −1
45. f (x) = 1 x2 + 1 , a = 0 46. f (t) = t
−3, a = 1
47. Figure 14 displays data collected by the biologist Julian Huxley (1887–1975) on the average antler weight W of male red deer as a function of age t . Estimate the derivative at t = 4. For which values of t is the slope of the tangent line equal to zero? For which values is it negative?
2 40 6 8 10 12 14 t
Age (years)
Antler weight W (kg)
0 1 2 3 4 5 6 7 8
FIGURE 14
48. Figure 15(A) shows the graph of f (x) = √x. The close-up in Fig- ure 15(B) shows that the graph is nearly a straight line near x = 16. Estimate the slope of this line and take it as an estimate for f ′(16). Then compute f ′(16) and compare with your estimate.
3.9
4.1
(B) Zoom view near (16, 4)
x
y
1 2
5 4 3
2 4 6 8 10 12 14 16 18 x
y
(A) Graph of y = x
16.1
15.9
FIGURE 15
49. Let f (x) = 4 1 + 2x .
(a) Plot f over [−2, 2]. Then zoom in near x = 0 until the graph ap- pears straight, and estimate the slope f ′(0). (b) Use (a) to find an approximate equation to the tangent line at x = 0. Plot this line and y = f (x) on the same set of axes.
120 C H A P T E R 3 DIFFERENTIATION
50. Let f (x) = cot x. Estimate f ′ (π
2 )
graphically by zooming in on a plot of f near x = π2 .
51. Determine the intervals along the x-axis on which the derivative in Figure 16 is positive.
1.0 1.5 2.0 2.5 3.0 3.5 4.00.5
1.0 0.5
1.5 2.0 2.5 3.0 3.5 4.0
x
y
FIGURE 16
52. Sketch the graph of f (x) = sin x on [0, π ] and guess the value of f ′
(π 2 ) . Then calculate the difference quotient at x = π2 for two small
positive and negative values of h.Are these calculations consistent with your guess?
In Exercises 53–58, each limit represents a derivative f ′(a). Find f (x) and a.
53. lim h→0
(5 + h)3 − 125 h
54. lim x→5
x3 − 125 x − 5
55. lim h→0
sin (π
6 + h ) − 0.5
h 56. lim
x→ 14
x−1 − 4 x − 14
57. lim h→0
52+h − 25 h
58. lim h→0
5h − 1 h
59. Apply the method of Example 7 to f (x) = sin x to determine f ′
(π 4 )
accurately to four decimal places.
60. Apply the method of Example 7 to f (x) = cos x to de- termine f ′
(π 5 )
accurately to four decimal places. Use a graph of f to explain how the method works in this case.
61. For each graph in Figure 17, determine whether f ′(1) is larger or smaller than the slope of the secant line between x = 1 and x = 1 + h for h > 0. Explain.
1 1
(A) (B)
y
x
y
x
y = f (x) y = f (x)
FIGURE 17
62. Refer to the graph of f (x) = 2x in Figure 18. (a) Explain graphically why, for h > 0,
f (−h) − f (0) −h ≤ f
′(0) ≤ f (h) − f (0) h
(b) Use (a) to show that 0.69314 ≤ f ′(0) ≤ 0.69315.
(c) Similarly, compute f ′(x) to four decimal places for x = 1, 2, 3, 4. (d) Now compute the ratios f ′(x)/f ′(0) for x = 1, 2, 3, 4. Can you guess an approximate formula for f ′(x)?
321−1
1 x
y
FIGURE 18 Graph of f (x) = 2x .
63. Sketch the graph of f (x) = x5/2 on [0, 6]. (a) Use the sketch to justify the inequalities for h > 0:
f (4) − f (4 − h) h
≤ f ′(4) ≤ f (4 + h) − f (4) h
(b) Use (a) to compute f ′(4) to four decimal places. (c) Use a graphing utility to plot y = f (x) and the tangent line at x = 4, utilizing your estimate for f ′(4).
64. Verify that P = ( 1, 12
) lies on the graphs of both
f (x) = 1/(1 + x2) and L(x) = 12 + m(x − 1) for every slope m. Plot y = f (x) and y = L(x) on the same axes for several values of m until you find a value of m for which y = L(x) appears tangent to the graph of f . What is your estimate for f ′(1)?
65. Use a plot of f (x) = xx to estimate the value c such that f ′(c) = 0. Find c to sufficient accuracy so that
∣∣∣∣ f (c + h) − f (c)
h
∣∣∣∣ ≤ 0.006 for h = ±0.001
66. Plot f (x) = xx and y = 2x + a on the same set of axes for several values of a until the line becomes tangent to the graph. Then estimate the value c such that f ′(c) = 2.
In Exercises 67–73, estimate derivatives using the symmetric differ- ence quotient (SDQ), defined as the average of the difference quotients at h and −h:
1 2
( f (a + h) − f (a)
h + f (a − h) − f (a)−h
)
= f (a + h) − f (a − h) 2h
4
The SDQ usually gives a better approximation to the derivative than the difference quotient.
67. The vapor pressure of water at temperature T (in kelvins) is the atmospheric pressure P at which no net evaporation takes place. Use the following table to estimate P ′(T ) for T = 303, 313, 323, 333, 343 by computing the SDQ given by Eq. (4) with h = 10.
T (K) 293 303 313 323 333 343 353
P (atm) 0.0278 0.0482 0.0808 0.1311 0.2067 0.3173 0.4754
68. Use the SDQ with h = 1 year to estimate P ′(T ) in the years 2005, 2007, 2009, 2011, where P(T ) is the U.S. ethanol production (Figure 19). Express your answer in the correct units.
S E C T I O N 3.2 The Derivative as a Function 121
2.12
4.00
6.20
19 98
19 97
19 99
20 00
20 01
20 02
20 03
20 04
20 05
20 06
20 07
20 08
20 09
20 10
20 11
20 12
1.63 1.77 2.81
4.89
P (billions of gallons)
9.31
10.94
13.30 13.93
13.30
1.30 1.40 1.47
3.40
FIGURE 19 U.S. ethanol production.
In Exercises 69–70, traffic speed S along a certain road (in kilometers per hour) varies as a function of traffic density q (number of cars per kilometer of road). Use the following data to answer the questions:
q (density) 60 70 80 90 100
S (speed) 72.5 67.5 63.5 60 56
69. Estimate S′(80).
70. Explain why V = qS, called traffic volume, is equal to the number of cars passing a point per hour. Use the data to estimate V ′(80).
Exercises 71–73: The current (in amperes) at time t (in seconds) flowing in the circuit in Figure 20 is given by Kirchhoff’s Law:
i(t) = Cv′(t) + R−1v(t)
where v(t) is the voltage (in volts, V ), C the capacitance (in farads, F ), and R the resistance (in ohms, #).
+
−
v R
i
C
FIGURE 20
71. Calculate the current at t = 3 if
v(t) = 0.5t + 4 V
where C = 0.01 F and R = 100 #.
72. Use the following data to estimate v′(10) (by an SDQ). Then esti- mate i(10), assuming C = 0.03 and R = 1000.
t 9.8 9.9 10 10.1 10.2
v(t) 256.52 257.32 258.11 258.9 259.69
73. Assume that R = 200 # but C is unknown. Use the following data to estimate v′(4) (by an SDQ) and deduce an approximate value for the capacitance C.
t 3.8 3.9 4 4.1 4.2
v(t) 388.8 404.2 420 436.2 452.8
i(t) 32.34 33.22 34.1 34.98 35.86
Further Insights and Challenges 74. The SDQ usually approximates the derivative much more closely than does the ordinary difference quotient. Let f (x) = 2x and a = 0. Compute the SDQ with h = 0.001 and the ordinary difference quo- tients with h = ±0.001. Compare with the actual value, which is f ′(0) = ln 2.
75. Explain how the symmetric difference quotient defined by Eq. (4) can be interpreted as the slope of a secant line.
76. Which of the two functions in Figure 21 satisfies the inequality
f (a + h) − f (a − h) 2h
≤ f (a + h) − f (a) h
for h > 0? Explain in terms of secant lines.
a x
y
a x
y
(A) (B)
FIGURE 21
77. Show that if f is a quadratic polynomial, then the SDQ at x = a (for any h ̸= 0) is equal to f ′(a). Explain the graphical meaning of this result.
78. Let f (x) = x−2. Compute f ′(1) by taking the limit of the SDQs (with a = 1) as h → 0.
3.2 The Derivative as a Function In the previous section, we computed the derivative f ′(a) for specific values of a. It is also useful to view the derivative as a function f ′ whose value at x = a is f ′(a). The function f ′ is still defined as a limit, but the fixed number a is replaced by the variable x:
f ′(x) = lim h→0
f (x + h) − f (x) h
1
If y = f (x), we also write y′ or y′(x) for f ′(x).
122 C H A P T E R 3 DIFFERENTIATION
The domain of f ′ consists of all values of x in the domain of f for which the limit inOften, the domain of f ′ is clear from the context. If so, we usually do not mention the domain explicitly.
Eq. (1) exists. We say that f is differentiable on (a, b) if f ′(x) exists for all x in (a, b). When f ′(x) exists for all x in the interval or intervals on which f (x) is defined, we say simply that f is differentiable.
EXAMPLE 1 Prove that f (x) = x3 − 12x is differentiable. Compute f ′(x) and find an equation of the tangent line at x = −3.
Solution We compute f ′(x) in three steps as in the previous section.
Step 1. Write out the numerator of the difference quotient.
f (x + h) − f (x) = ( (x + h)3 − 12(x + h)
) −
( x3 − 12x
)
= (x3 + 3x2h + 3xh2 + h3 − 12x − 12h) − (x3 − 12x) = 3x2h + 3xh2 + h3 − 12h = h(3x2 + 3xh + h2 − 12) (factor out h)
Step 2. Divide by h and simplify.
f (x + h) − f (x) h
= h(3x 2 + 3xh + h2 − 12)
h = 3x2 + 3xh + h2 − 12 (h ̸= 0)
Step 3. Compute the limit.
f ′(x) = lim h→0
f (x + h) − f (x) h
= lim h→0
(3x2 + 3xh + h2 − 12) = 3x2 − 12
In this limit, x is treated as a constant because it does not change as h → 0. We see that the limit exists for all x, so f is differentiable and f ′(x) = 3x2 − 12.
Now evaluate:
f ′(−3) = 3(−3)2 − 12 = 15
This is the slope of the tangent line. Since f (−3) = 9, the line passes through (−3, 9). So an equation of the tangent line at x = −3 is y − 9 = 15(x + 3) or y = 15x + 54
20
x
y
y = 15x + 54
f (x) = x3 − 12x
(−3, 9)
−3 2
−20
FIGURE 1 Graph of f (x) = x3 − 12x. (Figure 1).
EXAMPLE 2 Prove that y = x−2 is differentiable and calculate y′.
Solution The domain of f (x) = x−2 is {x : x ̸= 0}, so assume that x ̸= 0. We compute f ′(x) directly, without the separate steps of the previous example:
y′ = lim h→0
f (x + h) − f (x) h
= lim h→0
1 (x + h)2 −
1 x2
h
= lim h→0
x2 − (x + h)2 x2(x + h)2
h = lim
h→0 1 h
( x2 − (x + h)2 x2(x + h)2
)
= lim h→0
1 h
(−h(2x + h) x2(x + h)2
) = lim
h→0 − 2x + h
x2(x + h)2 (cancel h)
= − 2x + 0 x2(x + 0)2 = −
2x x4
= −2x−3
The limit exists for all x ̸= 0, so y is differentiable and y′ = −2x−3.
S E C T I O N 3.2 The Derivative as a Function 123
Leibniz Notation The “prime” notation y′ and f ′(x) was introduced by the French mathematician Joseph
FIGURE 2 Gottfried Wilhelm von Leibniz (1646–1716), German philosopher and scientist. Newton and Leibniz (pronounced “Libe-nitz”) are often regarded as the inventors of calculus (working independently). It is more accurate to credit them with developing calculus into a general and fundamental discipline, because many particular results of calculus had been discovered previously by other mathematicians. (The Granger Collection, NYC. All rights reserved.)
Louis Lagrange (1736–1813). There is another standard notation for the derivative that we owe to Leibniz (Figure 2):
df
dx or
dy
dx
In Example 2, we showed that the derivative of y = x−2 is y′ = −2x−3. In Leibniz notation, we would write
dy
dx = −2x−3 or d
dx x−2 = −2x−3
To specify the value of the derivative for a fixed value of x, say, x = 4, we write df
dx
∣∣∣∣ x=4
or dy
dx
∣∣∣∣ x=4
You should not think of dy/dx as the fraction “dy divided by dx.” The expressions dy and dx are called differentials. They play a role in some situations (in linear approximation and in more advanced calculus). At this stage, we treat them merely as symbols with no independent meaning.
CONCEPTUAL INSIGHT Leibniz notation is widely used for several reasons. First, it re- minds us that the derivative df/dx, although not itself a ratio, is in fact a limit of ratios !f /!x. Second, the notation specifies the independent variable. This is useful when variables other than x are used. For example, if the independent variable is t , we write df/dt . Third, we often think of d/dx as an “operator” that performs differentiation on functions. In other words, we apply the operator d/dx to f to obtain the derivative df/dx. We will see other advantages of Leibniz notation when we discuss the Chain Rule in Section 3.7.
A main goal of this chapter is to develop the basic rules of differentiation. These rules enable us to find derivatives without computing limits. For example, in Theorem ?? of the previous section, we stated the following fact in slightly different notation. We will prove it again directly.
THEOREM 1 The Constant Rule For any constant c,
d
dx (c) = 0
Proof If f (x) = c, then
f ′(x) = lim h→0
f (x + h) − f (x) h
= lim h→0
c − c h
= lim h→0
0 = 0 2
Here is another useful rule that is straightforward to prove:
THEOREM 2 The x Rule
d
dx (x) = 1
124 C H A P T E R 3 DIFFERENTIATION
Proof If f (x) = x, then
f ′(x) = lim h→0
f (x + h) − f (x) h
= lim h→0
(x + h) − x h
= lim h→0
h
h = 1 3
This next theorem will prove to be incredibly useful for differentiating polynomials. It includes the last rule as a special case.
THEOREM 3 The Power Rule For all exponents n,
d
dx xn = nxn−1
Proof We prove this only for the case that n is a positive integer. Let f (x) = xn. Then
The Power Rule is valid for all exponents. We prove it here for a positive integer n (see Exercise 95 for a negative integer n and the marginal note on p. 176 for arbitrary n).
f ′(a) = lim x→a
xn − an x − a
To simplify the difference quotient, we need to generalize the following identities:
x2 − a2 = (x − a)(x + a) x3 − a3 =
( x − a
)( x2 + xa + a2
)
x4 − a4 = ( x − a
)( x3 + x2a + xa2 + a3
)
The generalization is
xn − an = (x − a) ( xn−1 + xn−2a + xn−3a2 + · · · + xan−2 + an−1
) 4
To verify Eq. (4), observe that the right-hand side is equal to
x ( xn−1 + xn−2a + xn−3a2 + · · · + xan−2 + an−1
)
− a ( xn−1 + xn−2a + xn−3a2 + · · · + xan−2 + an−1
)
When we carry out the multiplications, all terms cancel except the first and the last, so only xn − an remains, as required.
Equation (4) gives us
xn − an x − a = x
n−1 + xn−2a + xn−3a2 + · · · + xan−2 + an−1︸ ︷︷ ︸ n terms
(x ̸= a) 5
Therefore,
f ′(a) = lim x→a
( xn−1 + xn−2a + xn−3a2 + · · · + xan−2 + an−1
)
= an−1 + an−2a + an−3a2 + · · · + aan−2 + an−1 (n terms) = nan−1
This proves that f ′(a) = nan−1, which we may also write as f ′(x) = nxn−1.
We make a few remarks before proceeding:
• It may be helpful to remember the Power Rule in words: To differentiate xn, “bring down the exponent and subtract one (from the exponent).”
d
dx xexponent = (exponent) xexponent−1
S E C T I O N 3.2 The Derivative as a Function 125
• The Power Rule is valid for all exponents, whether negative, fractional, or irrational:CAUTION The Power Rule applies only to the power functions y = xn. It does not apply to exponential functions such as y = 2x . The derivative of y = 2x is not x2x−1. We will study the derivatives of exponential functions later in this section.
d
dx x−3/5 = −3
5 x−8/5,
d
dx x
√ 2 =
√ 2 x
√ 2−1
• The Power Rule can be applied with any variable, not just x. For example,
d
dz z2 = 2z, d
dt t20 = 20t19, d
dr r1/2 = 1
2 r−1/2
Next, we state the Linearity Rules for derivatives, which are analogous to the linearity laws for limits.
THEOREM 4 Linearity Rules Assume that f and g are differentiable. Then
Sum and Difference Rules: f + g and f − g are differentiable, and
(f + g)′ = f ′ + g′, (f − g)′ = f ′ − g′
Constant Multiple Rule: For any constant c, cf is differentiable and
(cf )′ = cf ′
Proof To prove the Sum Rule, we use the definition
(f + g)′(x) = lim h→0
(f (x + h) + g(x + h)) − (f (x) + g(x)) h
This difference quotient is equal to a sum (h ̸= 0): (f (x + h) + g(x + h)) − (f (x) + g(x))
h = f (x + h) − f (x)
h + g(x + h) − g(x)
h
Therefore, by the Sum Law for limits,
(f + g)′(x) = lim h→0
f (x + h) − f (x) h
+ lim h→0
g(x + h) − g(x) h
= f ′(x) + g′(x)
as claimed. The Difference and Constant Multiple Rules are proved similarly.
EXAMPLE 3 Find the points on the graph of f (t) = t3 − 12t + 4 where the tangent line is horizontal (Figure 3).
42−2
−40
−4
40
t
f (t)
FIGURE 3 Graph of f (t) = t3 − 12t + 4. Tangent lines at t = ±2 are horizontal.
Solution We calculate the derivative:
df
dt = d
dt
( t3 − 12t + 4
)
= d dt
t3 − d dt
(12t) + d dt
4 (Sum and Difference Rules)
= d dt
t3 − 12 d dt
t + 0 (Constant Multiple Rule and Constant Rule)
= 3t2 − 12 (Power Rule)
Note in the second line that the derivative of the constant 4 is zero. The tangent line is horizontal at points where the slope f ′(t) is zero, so we solve
f ′(t) = 3t2 − 12 = 0 ⇒ t = ±2
Now f (2) = −12 and f (−2) = 20. Hence, the tangent lines are horizontal at (2, −12) and (−2, 20).
126 C H A P T E R 3 DIFFERENTIATION
EXAMPLE 4 Calculate dg
dt
∣∣∣∣ t=1
, where g(t) = t−3 + 2 √
t − t−4/5.
Solution We differentiate term-by-term using the Power Rule without justifying the in- termediate steps. Writing
√ t as t1/2, we have
dg
dt = d
dt
( t−3 + 2t1/2 − t−4/5
) = −3t−4 + 2
( 1 2
) t−1/2 −
( −4
5
) t−9/5
= −3t−4 + t−1/2 + 4 5
t−9/5
dg
dt
∣∣∣∣ t=1
= −3 + 1 + 4 5
= −6 5
The Derivative and Behavior of the Graph The derivative f ′ gives us important information about the graph of f . For example, the sign of f ′(x) tells us whether the tangent line has positive or negative slope. When the tangent line has positive slope, it slopes upward and the graph must be increasing. When the tangent line has negative slope, it slopes downward and the graph must be decreasing. The magnitude of f ′(x) reveals how steep the slope is.
EXAMPLE 5 Graphical Insight How is the graph of f (x) = x3 − 12x2 + 36x − 16 related to the derivative f ′(x) = 3x2 − 24x + 36?
y
x
f ´(x) > 0 f ´(x) < 0
(B) Graph of the derivative f ´(x) = 3x2 − 24x + 36
(A) Graph of f (x) = x3 − 12x2 + 36x − 16
f ´(x) > 0
y Here tangent lines have
negative slope.
x
16
−16
2 4 6 8
16
2 4 6 8
FIGURE 4
Solution The derivative f ′(x) = 3x2 − 24x + 36 = 3(x − 6)(x − 2) is negative for 2 < x < 6 and positive elsewhere [Figure 4(B)]. The following table summarizes this sign information [Figure 4(A)]:
Property of f ′(x) Property of the Graph of f
f ′(x) < 0 for 2 < x < 6 Tangent has negative slope for 2 < x < 6 (graph is decreasing).
f ′(2) = f ′(6) = 0 Tangent is horizontal at x = 2 and x = 6. f ′(x) > 0 for x < 2 and x > 6 Tangent has positive slope for x < 2 and x > 6
(graph is increasing).
Note also that f ′(x) → ∞ as |x| becomes large. This corresponds to the fact that the tangent lines to the graph of f get steeper as |x| grows large.
EXAMPLE 6 Identifying the Derivative The graph of f is shown in Figure 5(A). Which graph, (B) or (C), is the graph of f ′?
)C()B(
74 71 41741 x
y
x
y
x
y
(A) Graph of f
FIGURE 5
Solution In Figure 5(A) we see that on the intervals (0, 1) and (4, 7), the graph is de- creasing, and therefore the tangent lines to the graph have negative slope . Thus, f ′(x) is negative on these intervals. Similarly, on the intervals (1, 4) and (7, ∞), the graph is increasing, and therefore the tangent lines have positive slope and f ′(x) is positive (see the table in the margin). Only (C) has these properties, so (C) is the graph of f ′.
Slope of Tangent Line Where
Negative (0, 1) and (4, 7) Zero x = 1, 4, 7 Positive (1, 4) and (7, ∞)
S E C T I O N 3.2 The Derivative as a Function 127
The Derivative of f (x) = ex The number e was introduced informally in Section 1.6. Now that we have the derivative in our arsenal, we can define e as follows: e is the unique number for which the exponential function f (x) = ex is its own derivative. To justify this definition, we must prove that a number with this property exists.
In some ways, the number e is “complicated”: It is irrational and it cannot be defined without using limits. However, the elegant formula d
dx ex = ex shows that
e is “simple” from the point of view of calculus and that f (x) = ex is simpler than the seemingly more natural exponential functions f (x) = 2x and f (x) = 10x .
THEOREM 5 The Number e There is a unique positive real number e with the property
d
dx ex = ex 6
The number e is irrational, with approximate value e ≈ 2.718.
Proof We shall take for granted a few plausible facts whose proofs are somewhat tech- nical. The first fact is that f (x) = bx is differentiable for all b > 0. Assuming this, let us compute its derivative:
f (x + h) − f (x) h
= b x+h − bx
h = b
xbh − bx h
= b x(bh − 1)
h
f ′(x) = lim h→0
f (x + h) − f (x) h
= lim h→0
bx(bh − 1) h
= bx lim h→0
( bh − 1
h
)
Notice that we took the factor bx outside the limit. This is legitimate because bx does not depend on h. Denote the value of the limit on the right by m(b):
m(b) = lim h→0
( bh − 1
h
) 7
What we have shown, then, is that the derivative of f (x) = bx is proportional to bx :
d
dx bx = m(b) bx 8
Before continuing, let’s investigate m(b) numerically using Eq. (7).
EXAMPLE 7 Estimate m(b) numerically for b = 2, 2.5, 3, and 10. Solution We create a table of values of difference quotients to estimate m(b).
h 2h − 1
h
(2.5)h − 1 h
3h − 1 h
10h − 1 h
0.01 0.69556 0.92050 1.10467 2.32930 0.001 0.69339 0.91671 1.09921 2.30524 0.0001 0.69317 0.91633 1.09867 2.30285 0.00001 0.69315 0.916295 1.09861 2.30261
m(2) ≈ 0.69 m(2.5) ≈ 0.92 m(3) ≈ 1.10 m(10) ≈ 2.30
Since m(2.5) ≈ 0.92 and m(3) ≈ 1.10, there must exist a number b between 2.5 and
In many books, ex is denoted exp(x). Whenever we refer to the exponential function without specifying the base, the reference is to f (x) = ex . The number e has been computed to an accuracy of more than 100 billion digits. To 20 places,
e = 2.71828182845904523536 . . .
3 such that m(b) = 1. This follows from the Intermediate Value Theorem [if we assume the fact that m(b) is a continuous function of b]. If we also use the fact that m(b) is an increasing function of b, we may conclude that there is precisely one number b such that m(b) = 1. This is the number e.
128 C H A P T E R 3 DIFFERENTIATION
Using infinite series (see Exercise 93 in Section 10.7), we can show that e is irrational
x
y
1−1
1
3x
2x 2.5x
ex
FIGURE 6 The tangent lines to y = bx at x = 0 grow steeper as b increases.
and we can compute its value to any desired degree of accuracy. For most purposes, the approximation e ≈ 2.718 is adequate.
GRAPHICAL INSIGHT The graph of f (x) = bx passes through (0, 1) because b0 = 1 (Figure 6). The number m(b) is simply the slope of the tangent line at (0, 1):
d
dx bx
∣∣∣∣ x=0
= m(b) · b0 = m(b)
These tangent lines become steeper as b increases, and b = e is the unique value for which the tangent line has slope 1. In Section 3.9, we will show more generally that
m(b) = ln b, the natural logarithm of b, and therefore d dx
bx = bx ln b.
EXAMPLE 8 Find the tangent line to the graph of f (x) = 3ex − 5x2 at x = 2.
Solution We compute both f ′(2) and f (2):
y = 2.17x − 2.17
f (x) = 3ex − 5x2
1−1 2 43 x
y
3
4
2
1
FIGURE 7
f ′(x) = d dx
(3ex − 5x2) = 3 d dx
ex − 5 d dx
x2 = 3ex − 10x
f ′(2) = 3e2 − 10(2) ≈ 2.17 f (2) = 3e2 − 5(22) ≈ 2.17
Since f ′(2) is the slope and the tangent line passes through (2, f (2)), an equation of the tangent line is y − f (2) = f ′(2)(x − 2). Using these approximate values, we write the equation as (Figure 7)
y − 2.17 = 2.17(x − 2) or y = 2.17x − 2.17
CONCEPTUAL INSIGHT What precisely do we mean by bx? We have taken for granted that bx is meaningful for all real numbers x, but we never specified how bx is defined when x is irrational. If n is a whole number, bn is simply the product b · b · · · b (n times), and for any rational number x = m/n,
bx = bm/n = ( b1/n
)m = (
n √
b )m
When x is irrational, this definition does not apply and bx cannot be defined directly in terms of roots and powers of b. However, it makes sense to view bm/n as an approx- imation to bx when m/n is a rational number close to x. For example, 3
√ 2 should be
approximately equal to 31.4142 ≈ 4.729 because 1.4142 is a good rational approxima- tion to
√ 2. Formally, then, we may define bx as a limit over rational numbers m/n
approaching x:
bx = lim m/n→x
bm/n
We can show that this limit exists and that the function f (x) = bx thus defined is not only continuous but also differentiable (see Exercise 80 in Section 5.7).
Differentiability, Continuity, and Local Linearity In the rest of this section, we examine the concept of differentiability more closely. We begin by proving that a differentiable function is necessarily continuous. In particular, a differentiable function cannot have any jumps. Figure 8 shows why: Although the secant lines from the right approach the line L (which is tangent to the right half of the graph), the secant lines from the left approach the vertical (and their slopes tend to ∞).
y
c
y = f (x)
L
x
FIGURE 8 Secant lines at a jump discontinuity.
S E C T I O N 3.2 The Derivative as a Function 129
THEOREM 6 Differentiability Implies Continuity If f is differentiable at x = c, then f is continuous at x = c.
Proof By definition, if f is differentiable at x = c, then the following limit exists:
f ′(c) = lim x→c
f (x) − f (c) x − c
We must prove that lim x→c f (x) = f (c), because this is the definition of continuity at x = c.
To relate the two limits, consider the equation (valid for x ̸= c)
f (x) − f (c) = (x − c) f (x) − f (c) x − c
Both factors on the right approach a limit as x → c, so
lim x→c
( f (x) − f (c)
) = lim
x→c
( (x − c) f (x) − f (c)
x − c
)
= (
lim x→c (x − c)
) ( lim x→c
f (x) − f (c) x − c
)
= 0 · f ′(c) = 0 by the Product Law for limits. The Sum Law now yields the desired conclusion:
lim x→c f (x) = limx→c(f (x) − f (c)) + limx→c f (c) = 0 + f (c) = f (c)
Most of the functions encountered in this text are differentiable, but exceptions exist, as the next example shows.
EXAMPLE 9 Continuous But Not Differentiable Show that f (x) = |x| is continuousAll differentiable functions are continuous by Theorem 6, but Example 9 shows that the converse is false. A continuous function is not necessarily differentiable.
but not differentiable at x = 0. Solution The function f is continuous at x = 0 because lim
x→0 |x| = 0 = f (0). On the
other hand,
f ′(0) = lim h→0
f (0 + h) − f (0) h
= lim h→0
|0 + h| − |0| h
= lim h→0
|h| h
This limit does not exist [and hence f is not differentiable at x = 0] because
|h| h
= {
1 if h > 0 −1 if h < 0
and thus the one-sided limits are not equal:
lim h→0+
|h| h
= 1 and lim h→0−
|h| h
= −1
GRAPHICAL INSIGHT Differentiability has an important graphical interpretation in terms of local linearity. We say that f is locally linear at x = a if the graph looks more and more like a straight line as we zoom in on the point (a, f (a)). In this context, the adjective linear means “resembling a line,” and local indicates that we are concerned only with the behavior of the graph near (a, f (a)). The graph of a locally linear function may be very wavy or nonlinear, as in Figure 9. But as soon as we zoom in on a sufficiently small piece of the graph, it begins to appear straight.
Not only does the graph look like a line as we zoom in on a point, but as Figure 9 suggests, the “zoom line” is the tangent line. Thus, the relation between differentiability and local linearity can be expressed as follows:
If f ′(a) exists, then f is locally linear at x = a: As we zoom in on the point (a, f (a)), the graph becomes nearly indistinguishable from its tangent line.
130 C H A P T E R 3 DIFFERENTIATION
Tangent
y
x
FIGURE 9 Local linearity: The graph looks more and more like the tangent line as we zoom in on a point.
Local linearity gives us a graphical way to understand why f (x) = |x| is not differ- entiable at x = 0 (as shown in Example 9). Figure 10 shows that the graph of f (x) = |x| has a corner at x = 0, and this corner does not disappear, no matter how closely we zoom in on the origin. Since the graph does not straighten out under zooming, f is not locally linear at x = 0, and we cannot expect f ′(0) to exist.
10.50.2 0.1 0.2 x
y
0.1 FIGURE 10 The graph of f (x) = |x| is
not locally linear at x = 0. The corner does not disappear when we zoom in on the origin.
Another way that a continuous function can fail to be differentiable is if the tangent line exists but is vertical (in which case the slope of the tangent line is undefined).
EXAMPLE 10 Vertical Tangents Show that f (x) = x1/3 is not differentiable at x = 0. Solution The limit defining f ′(0) is infinite:
lim h→0
f (h) − f (0) h
= lim h→0
h1/3 − 0 h
= lim h→0
h1/3
h = lim
h→0 1
h2/3 = ∞
Therefore, f ′(0) does not exist (Figure 11).
As a final remark, we mention that there are more complicated ways in which a
0.30.20.1−0.2−0.3 −0.1
1
0.5
−1
−0.5
y
x
FIGURE 11 The tangent line to the graph of f (x) = x1/3 at the origin is the (vertical) y-axis. The derivative f ′(0) does not exist.
continuous function can fail to be differentiable. Figure 12 shows the graph of f (x) = x sin 1x . If we define f (0) = 0, then f is continuous but not differentiable at x = 0. The secant lines keep oscillating and never settle down to a limiting position (see Exercise 97).
0.1
−0.1
0.30.2
0.1
−0.1 0.30.2
(A) Graph of f (x) = x sin (B) Secant lines do not settle down to a limiting position.
x 1
x
y
x
y
FIGURE 12
S E C T I O N 3.2 The Derivative as a Function 131
3.2 SUMMARY
• The derivative f ′ is the function whose value at x = a is the derivative f ′(a). • We have several different notations for the derivative of y = f (x):
y′, y′(x), f ′(x), dy
dx ,
df
dx
The value of the derivative at x = a is written
y′(a), f ′(a), dy
dx
∣∣∣∣ x=a
, df
dx
∣∣∣∣ x=a
THEOREM 7 Rules for Taking a Derivative
d
dx (c) = 0
d
dx xn = nxn−1
(f + g)′ = f ′ + g′
(cf )′ = cf ′
• The derivative of f (x) = bx is proportional to bx :
d
dx bx = m(b)bx, where m(b) = lim
h→0 bh − 1
h
• The number e ≈ 2.718 is defined by the property m(e) = 1, so that d
dx ex = ex
• Differentiability implies continuity: If f is differentiable at x = a, then f is continuous at x = a. However, there exist continuous functions that are not differentiable.
• If f ′(a) exists, then f is locally linear in the following sense: As we zoom in on the point (a, f (a)), the graph becomes nearly indistinguishable from its tangent line.
3.2 EXERCISES
Preliminary Questions 1. What is the slope of the tangent line through the point (2, f (2)) if
f ′(x) = x3?
2. Evaluate (f − g)′(1) and (3f + 2g)′(1), assuming that f ′(1) = 3 and g′(1) = 5.
3. To which of the following does the Power Rule apply? (a) f (x) = x2 (b) f (x) = 2e
(c) f (x) = xe (d) f (x) = ex
(e) f (x) = xx (f) f (x) = x−4/5
4. Choose (a) or (b). The derivative does not exist if the tangent line is: (a) horizontal (b) vertical.
5. Which property distinguishes f (x) = ex from all other exponen- tial functions g(x) = bx?
132 C H A P T E R 3 DIFFERENTIATION
Exercises In Exercises 1–6, compute f ′(x) using the limit definition.
1. f (x) = 3x − 7 2. f (x) = x2 + 3x
3. f (x) = x3 4. f (x) = 1 − x−1
5. f (x) = x − √x 6. f (x) = x−1/2
In Exercises 7–14, use the Power Rule to compute the derivative.
7. d
dx x4
∣∣∣∣ x=−2
8. d
dt t−3
∣∣∣∣ t=4
9. d
dt t2/3
∣∣∣∣ t=8
10. d
dt t−2/5
∣∣∣∣ t=1
11. d
dx x0.35 12.
d
dx x14/3
13. d
dt t √
17 14. d
dt t−π
2
In Exercises 15–18, compute f ′(x) and find an equation of the tangent line to the graph at x = a.
15. f (x) = x4, a = 2 16. f (x) = x−2, a = 5
17. f (x) = 5x − 32√x, a = 4 18. f (x) = 3√x, a = 8
19. Calculate:
(a) d
dx 12ex (b)
d
dt (25t − 8et ) (c) d
dt et−3
Hint for (c): Write et−3 as e−3et .
20. Find an equation of the tangent line to y = 24ex at x = 2.
In Exercises 21–32, calculate the derivative.
21. f (x) = 2x3 − 3x2 + 5 22. f (x) = 2x3 − 3x2 + 2x
23. f (x) = 4x5/3 − 3x−2 − 12
24. f (x) = x5/4 + 4x−3/2 + 11x
25. g(z) = 7z−5/14 + z−5 + 9 26. h(t) = 6√t + 1√ t
27. f (s) = 4√s + 3√s 28. W(y) = 6y4 + 7y2/3
29. g(x) = e2 30. f (x) = 3ex − x3
31. h(t) = 5et−3
32. f (x) = 9 − 12x1/3 + 8ex
In Exercises 33–36, calculate the derivative by expanding or simplify- ing the function.
33. P(s) = (4s − 3)2
34. Q(r) = (1 − 2r)(3r + 5)
35. g(x) = x 2 + 4x1/2
x2 36. s(t) = 1 − 2t
t1/2
In Exercises 37–42, calculate the derivative indicated.
37. dT
dC
∣∣∣ C=8
, T = 3C2/3 38. dP dV
∣∣∣ V =−2
, P = 7 V
39. ds
dz
∣∣∣ z=2
, s = 4z − 16z2 40. dR dW
∣∣∣∣ W=1
, R = Wπ
41. dr
dt
∣∣∣∣ t=4
, r = t − et 42. dp dh
∣∣∣∣ h=4
, p = 7eh−2
43. Match the functions in graphs (A)–(D) with their derivatives (I)– (III) in Figure 13. Note that two of the functions have the same deriva- tive. Explain why.
y
x
x
(A)
y
(I)
x
y
(II)
x
y
(III)
y
x
(B)
y
x
(C)
y
x
(D)
FIGURE 13
44. Of the two functions f and g in Figure 14, which is the derivative of the other? Justify your answer.
f (x)
g(x)
1−1
2
x
y
FIGURE 14
45. Assign the labels y = f (x), y = g(x), and y = h(x) to the graphs in Figure 15 in such a way that f ′(x) = g(x) and g′(x) = h(x).
y
x
y
x
y
x
(A) (B) (C)
FIGURE 15
46. According to the peak oil theory, first proposed in 1956 by geo- physicist M. Hubbert, the total amount of crude oil Q(t) produced worldwide up to time t has a graph like that in Figure 16. (a) Sketch the derivative Q′(t) for 1900 ≤ t ≤ 2150. What does Q′(t) represent? (b) In which year (approximately) does Q′(t) take on its maximum value? (c) What is L = lim
t→∞ Q(t)? And what is its interpretation?
(d) What is the value of lim t→∞ Q
′(t)?
S E C T I O N 3.2 The Derivative as a Function 133
Q (trillions of barrels)
t (year)
1900 21501950 2000 2050 2100
0.5
1.0
2.0
2.3
1.5
FIGURE 16 Total oil production up to time t .
47. Use the table of values of f to determine which of (A) or (B) in Figure 17 is the graph of f ′. Explain.
x 0 0.5 1 1.5 2 2.5 3 3.5 4
f (x) 10 55 98 139 177 210 237 257 268
x
y
x
y
(A) (B)
FIGURE 17 Which is the graph of f ′?
48. Let R be a variable and r a constant. Compute the derivatives:
(a) d
dR R (b)
d
dR r (c)
d
dR r2R3
49. Compute the derivatives, where c is a constant.
(a) d
dt ct3 (b)
d
dz (5z + 4cz2)
(c) d
dy (9c2y3 − 24c)
50. Find the points on the graph of f (x) = 12x − x3 where the tangent line is horizontal.
51. Find the points on the graph of y = x2 + 3x − 7 at which the slope of the tangent line is equal to 4.
52. Find the values of x where y = x3 and y = x2 + 5x have parallel tangent lines.
53. Determine a and b such that p(x) = x2 + ax + b satisfies p(1) = 0 and p′(1) = 4.
54. Find all values of x such that the tangent line to y = 4x2 + 11x + 2 is steeper than the tangent line to y = x3.
55. Let f (x) = x3 − 3x + 1. Show that f ′(x) ≥ −3 for all x and that, for every m > −3, there are precisely two points where f ′(x) = m. In- dicate the position of these points and the corresponding tangent lines for one value of m in a sketch of the graph of f .
56. Show that the tangent lines to y = 13x3 − x2 at x = a and at x = b are parallel if a = b or a + b = 2.
57. Compute the derivative of f (x) = x3/2 using the limit definition. Hint: Show that
f (x + h) − f (x) h
= (x + h) 3 − x3
h
( 1
√ (x + h)3 +
√ x3
)
58. Use the limit definition of m(b) to approximate m(4). Then esti- mate the slope of the tangent line to y = 4x at x = 0 and x = 2. 59. Let f (x) = xex . Use the limit definition to compute f ′(0), and find the equation of the tangent line at x = 0. 60. The average speed (in meters per second) of a gas molecule is
vavg = √
8RT πM
where T is the temperature (in kelvins), M is the molar mass (in kilo- grams per mole), and R = 8.31. Calculate dvavg/dT at T = 300 K for oxygen, which has a molar mass of 0.032 kg/mol.
61. Biologists have observed that the pulse rate P (in beats per minute) in animals is related to body mass (in kilograms) by the approximate formula P = 200m−1/4. This is one of many allometric scaling laws prevalent in biology. Is P an increasing or decreasing function of m? Find an equation of the tangent line at the points on the graph in Figure 18 that represent goat (m = 33) and man (m = 68).
Mass (kg) 500400300200100
Cattle
200
100
Guinea pig
Goat
Man
Pulse (beats/min)
FIGURE 18
62. Some studies suggest that kidney mass K in mammals (in kilo- grams) is related to body mass m (in kilograms) by the approximate formula K = 0.007m0.85. Calculate dK/dm at m = 68. Then calcu- late the derivative with respect to m of the relative kidney-to-mass ratio K/m at m = 68. 63. The Clausius–Clapeyron Law relates the vapor pressure of water P (in atmospheres) to the temperature T (in kelvins):
dP
dT = k P
T 2
where k is a constant. Estimate dP/dT for T = 303, 313, 323, 333, 343 using the data and the approximation
dP
dT ≈ P(T + 10) − P(T − 10)
20
T (K) 293 303 313 323 333 343 353
P (atm) 0.0278 0.0482 0.0808 0.1311 0.2067 0.3173 0.4754
Do your estimates seem to confirm the Clausius–Clapeyron Law? What is the approximate value of k?
64. Let L be the tangent line to the hyperbola xy = 1 at x = a, where a > 0. Show that the area of the triangle bounded by L and the coordi- nate axes does not depend on a.
134 C H A P T E R 3 DIFFERENTIATION
65. In the setting of Exercise 64, show that the point of tangency is the midpoint of the segment of L lying in the first quadrant.
66. Match functions (A)–(C) with their derivatives (I)–(III) in Fig- ure 19.
(A) (I)
(B) (II)
(C) (III)
x
x
x
yy
x
y
x
y
y
x
y
FIGURE 19
67. Make a rough sketch of the graph of the derivative of the function in Figure 20(A).
68. Graph the derivative of the function in Figure 20(B), omitting points where the derivative is not defined.
(A) (B)
y = x2
434321 20 1−1
3
2
x
y
x
y
1 2
FIGURE 20
69. Sketch the graph of f (x) = x |x|. Then show that f ′(0) exists. 70. Determine the values of x at which the function in Figure 21 is: (a) discontinuous and (b) nondifferentiable.
4321 x
y
FIGURE 21
In Exercises 71–76, find the points c (if any) such that f ′(c) does not exist.
71. f (x) = |x − 1| 72. f (x) = ⌊x⌋
73. f (x) = x2/3 74. f (x) = x3/2
75. f (x) = |x2 − 1| 76. f (x) = |x − 1|2
In Exercises 77–82, zoom in on a plot of f at the point (a, f (a)) and state whether or not f appears to be differentiable at x = a. If it is nondifferentiable, state whether the tangent line appears to be vertical or does not exist.
77. f (x) = (x − 1)|x|, a = 0
78. f (x) = (x − 3)5/3, a = 3
79. f (x) = (x − 3)1/3, a = 3
80. f (x) = sin(x1/3), a = 0 81. f (x) = | sin x|, a = 0
82. f (x) = |x − sin x|, a = 0
83. Find the coordinates of the point P in Figure 22 at which the tangent line passes through (5, 0).
9 y
Pf (x) = 9 − x2
−3 3 4 5 x
FIGURE 22
84. Plot the derivative f ′ of f (x) = 2x3 − 10x−1 for x > 0 (set the bounds of the viewing box appropriately) and observe that f ′(x) > 0. What does the positivity of f ′(x) tell us about the graph of f itself? Plot f and confirm this conclusion.
Exercises 85–88 refer to Figure 23. Length QR is called the subtangent at P , and length RT is called the subnormal.
85. Calculate the subtangent of
f (x) = x2 + 3x at x = 2
86. Show that the subtangent of f (x) = ex is everywhere equal to 1.
87. Prove in general that the subnormal at P is |f ′(x)f (x)|.
88. Show that PQ has length |f (x)| √
1 + f ′(x)−2.
x
y
P = (x, f (x))
TR
y = f (x)
Q
Tangent line
FIGURE 23
S E C T I O N 3.3 Product and Quotient Rules 135
89. Prove the following theorem of Apollonius of Perga (the Greek mathematician born in 262 bce who gave the parabola, ellipse, and hy- perbola their names): The subtangent of the parabola y = x2 at x = a is equal to a/2.
90. Show that the subtangent to y = x3 at x = a is equal to 13a.
91. Formulate and prove a generalization of Exercise 90 for y = xn.
Further Insights and Challenges 92. Two small arches have the shape of parabolas. The first is given by f (x) = 1 − x2 for −1 ≤ x ≤ 1 and the second by g(x) = 4 − (x − 4)2 for 2 ≤ x ≤ 6. A board is placed on top of these arches so it rests on both (Figure 24). What is the slope of the board? Hint: Find the tangent line to y = f (x) that intersects y = g(x) in exactly one point.
FIGURE 24
93. A vase is formed by rotating y = x2 around the y-axis. If we drop in a marble, it will either touch the bottom point of the vase or be sus- pended above the bottom by touching the sides (Figure 25). How small must the marble be to touch the bottom?
FIGURE 25
94. Let f be a differentiable function, and set the function g(x) = f (x + c), where c is a constant. Use the limit definition to show that g′(x) = f ′(x + c). Explain this result graphically, recalling that the graph of g is obtained by shifting the graph of f c units to the left (if c > 0) or right (if c < 0).
95. Negative Exponents Let n be a whole number. Use the Power Rule for xn to calculate the derivative of f (x) = x−n by showing that
f (x + h) − f (x) h
= −1 xn(x + h)n
(x + h)n − xn h
96. Verify the Power Rule for the exponent 1/n, where n is a positive integer, using the following trick: Rewrite the difference quotient for y = x1/n at x = b in terms of
u = (b + h)1/n and a = b1/n
97. Infinitely Rapid Oscillations Define
f (x) =
⎧ ⎪⎨
⎪⎩
x sin 1 x
x ̸= 0
0 x = 0
Show that f is continuous at x = 0 but f ′(0) does not exist (see Fig- ure 12).
98. For which value of λ does the equation ex = λx have a unique solution? For which values of λ does it have at least one solution? For intuition, plot y = ex and the line y = λx.
3.3 Product and Quotient Rules This section covers the Product Rule and Quotient Rule for computing derivatives. These two rules, together with the Chain Rule and implicit differentiation (covered in later sections), make up an extremely effective “differentiation toolkit.”
REMINDER The product function fg is defined by (fg)(x) = f (x) g(x).
THEOREM 1 Product Rule If f and g are differentiable functions, then fg is differ- entiable and
(fg)′(x) = f ′(x) g(x) + f (x) g′(x)
It may be helpful to remember the Product Rule in words: The derivative of a product is equal to the derivative of the first function times the second function plus the first function times the derivative of the second function:
(First)′ · Second + First · (Second)′
We prove the Product Rule after presenting three examples.
136 C H A P T E R 3 DIFFERENTIATION
EXAMPLE 1 Find the derivative of h(x) = x2(9x + 2). Solution This function is a product:
h(x) = First︷︸︸︷ x2
Second︷ ︸︸ ︷ (9x + 2)
By the Product Rule (in Leibniz notation),
h′(x) =
(First)′︷ ︸︸ ︷ d
dx (x2)
Second︷ ︸︸ ︷ (9x + 2) +
First︷︸︸︷ (x2)
(Second)′︷ ︸︸ ︷ d
dx (9x + 2)
= (2x)(9x + 2) + (x2)(9) = 27x2 + 4x
EXAMPLE 2 Find the derivative of y = (2 + x−1)(x3/2 + 1). Solution Use the Product Rule:
Note how the prime notation is used in the solution to Example 2. We write (x3/2 + 1)′ to denote the derivative of f (x) = x3/2 + 1, etc.
y′= (First)′ · Second)+ First · (Second)′︷ ︸︸ ︷(
2 + x−1 )′(
x3/2 + 1 ) +
( 2 + x−1
)( x3/2 + 1
)′
= ( − x−2
)( x3/2 + 1
) +
( 2 + x−1
) (3 2 x1/2
) (compute the derivatives)
= −x−1/2 − x−2 + 3x1/2 + 32x−1/2 = 12x−1/2 − x−2 + 3x1/2 (simplify)
In the previous two examples, we could have avoided the Product Rule by expanding the function. Thus, the result of Example 2 can be obtained as follows:
y = ( 2 + x−1
)( x3/2 + 1
) = 2x3/2 + 2 + x1/2 + x−1
y′ = d dx
( 2x3/2 + 2 + x1/2 + x−1
) = 3x1/2 + 12x−1/2 − x−2
In the next example, the function cannot be expanded, so we must use the Product Rule (or go back to the limit definition of the derivative).
EXAMPLE 3 Calculate d
dt
( t2et
) .
Solution Use the Product Rule and the formula d
dt et = et :
d
dt
( t2et
) =
(First)′ · Second + First · (Second)′︷ ︸︸ ︷( d
dt t2
) et + t2
( d
dt et
) = 2tet + t2(et ) = (2t + t2)et
Proof of the Product Rule According to the limit definition of the derivative,
f (x + h)(g(x + h) − g(x))
f (x)
g( x)
f (x + h)
g( x
+ h
)
g(x)(f(x + h) −
f(x))
FIGURE 1
(fg)′(x) = lim h→0
f (x + h)g(x + h) − f (x)g(x) h
We can interpret the numerator as the area of the shaded region in Figure 1: the area of the larger rectangle f (x + h)g(x + h) minus the area of the smaller rectangle f (x)g(x). This shaded region is the union of two rectangular strips, so we obtain the following identity [which we can also obtain algebraically by adding and subtracting the term f (x + h)g(x) from the left-hand side and then manipulating the result algebraically]:
f (x + h)g(x + h) − f (x)g(x) = ( f (x + h) − f (x)
) g(x) + f (x + h)
( g(x + h) − g(x)
)
Now use this identity to write (fg)′(x) as a sum of two limits:
(fg)′(x) = lim h→0
f (x + h) − f (x) h
g(x)
︸ ︷︷ ︸ Show that this equals f ′(x)g(x).
+ lim h→0
f (x + h)g(x + h) − g(x) h︸ ︷︷ ︸
Show that this equals f (x)g′(x).
1
S E C T I O N 3.3 Product and Quotient Rules 137
The use of the Sum Law is valid, provided that each limit on the right exists. To check that the first limit exists and to evaluate it, we note that f is differentiable. Thus,
lim h→0
f (x + h) − f (x) h
g(x) = lim h→0
f (x + h) − f (x) h
lim h→0
g(x)
= f ′(x) g(x) 2 The second limit is similar, but using the facts f is continuous (because it is differentiable) and g is differentiable:
lim h→0
f (x + h) g(x + h) − g(x) h
= lim h→0
f (x + h) lim h→0
g(x + h) − g(x) h
= f (x) g′(x)
3
Using Eq. (2) and Eq. (3) in Eq. (1), we conclude that fg is differentiable and that (fg)′(x) = f ′(x)g(x) + f (x)g′(x) as claimed.
CONCEPTUAL INSIGHT The Product Rule was first stated by the 29-year-old Leibniz in 1675, the year he developed some of his major ideas on calculus. To document his process of discovery for posterity, he recorded his thoughts and struggles, the moments of inspiration as well as the mistakes. In a manuscript dated November 11, 1675, Leibniz suggests incorrectly that (fg)′ equals f ′g′. He then catches his error by taking f (x) = g(x) = x and noticing that
(fg)′(x) = ( x2
)′ = 2x is not equal to f ′(x)g′(x) = 1 · 1 = 1
Ten days later, on November 21, Leibniz writes down the correct Product Rule and comments, “Now this is a really noteworthy theorem.”
With the benefit of hindsight, we can point out that Leibniz might have avoided his error if he had paid attention to units. Suppose f (t) and g(t) represent distances in meters, where t is time in seconds. Then (fg)′ has units of m2/s. This cannot equal f ′g′, which has units of (m/s)(m/s) = m2/s2.
The next theorem states the rule for differentiating quotients. Note, in particular, that (f/g)′ is not equal to the quotient f ′/g′.
REMINDER The quotient function f/g is defined by
( f
g
) (x) = f (x)
g(x)
THEOREM 2 Quotient Rule If f and g are differentiable functions, then f/g is dif- ferentiable for all x such that g(x) ̸= 0, and
( f
g
)′ (x) = g(x)f
′(x) − f (x)g′(x) g(x)2
The numerator in the Quotient Rule is equal to the bottom times the derivative of the top minus the top times the derivative of the bottom:CAUTION It is easy to mistakenly reverse the
order of the two terms in the numerator of the quotient rule. Thinking of the original function as Hi/Lo, the derivative is “Lo D Hi minus Hi D Lo, draw the line and square below.”
Bottom · (Top)′ − Top · (Bottom)′ Bottom2
Proof of the Quotient Rule Let Q(x) = f (x)/g(x). Our goal is to find the formula for Q′(x). Then f (x) = Q(x) · g(x). Differentiating both sides, utilizing the Product Rule for the right side, we obtain f ′(x) = Q′(x) · g(x) + Q(x) · g′(x). Solving for Q′(x), we obtain
Q′(x) = f ′(x) − Q(x) · g′(x)
g(x) =
f ′(x) − f (x)g(x) · g′(x) g(x)
= f ′(x)g(x) − f (x)g′(x)
g(x)2
as we wanted to show.
An alternative proof appears in Exercises 58–60.
138 C H A P T E R 3 DIFFERENTIATION
EXAMPLE 4 Compute the derivative of f (x) = x 1 + x2 .
Solution Apply the Quotient Rule:Note that it is not always the simplest method to apply the quotient rule. If we want to differentiate the function
f (x) = √
x − x3 x
, it is easier to rewrite it
as f (x) = x−1/2 − x2 and then differentiate it directly.
f ′(x) =
Bottom︷ ︸︸ ︷ (1 + x2)
(Top)′ ︷︸︸︷ (x)′ −
Top ︷︸︸︷ (x)
(Bottom)′︷ ︸︸ ︷ (1 + x2)′
(1 + x2)2 = (1 + x2)(1) − (x)(2x)
(1 + x2)2
= 1 + x 2 − 2x2
(1 + x2)2 = 1 − x2
(1 + x2)2
EXAMPLE 5 Calculate d
dt
( et
et + t
) .
Solution Use the Quotient Rule and the formula (et )′ = et :
d
dt
( et
et + t
) = (e
t + t)(et )′ − et (et + t)′ (et + t)2 =
(et + t)et − et (et + 1) (et + t)2 =
(t − 1)et (et + t)2
EXAMPLE 6 Find the tangent line to the graph of f (x) = 3x 2 + x − 2 4x3 + 1 at x = 1.
Solution
f ′(x) = d dx
( 3x2 + x − 2
4x3 + 1
) =
Bottom︷ ︸︸ ︷ (4x3 + 1)
(Top)′ ︷ ︸︸ ︷ (3x2 + x − 2)′ −
Top ︷ ︸︸ ︷ (3x2 + x − 2)
(Bottom)′︷ ︸︸ ︷ (4x3 + 1)′
(4x3 + 1)2
= (4x 3 + 1)(6x + 1) − (3x2 + x − 2)(12x2)
(4x3 + 1)2
= (24x 4 + 4x3 + 6x + 1) − (36x4 + 12x3 − 24x2)
(4x3 + 1)2
= −12x 4 − 8x3 + 24x2 + 6x + 1
(4x3 + 1)2
At x = 1,
f (1) = 3 + 1 − 2 4 + 1 =
2 5
f ′(1) = −12 − 8 + 24 + 6 + 1 52
= 11 25
An equation of the tangent line at ( 1, 25
) is
y − 2 5
= 11 25
(x − 1) or y = 11 25
x − 1 25
EXAMPLE 7 Power Delivered by a Battery The power that a battery supplies to an
R V
r
FIGURE 2 Apparatus of resistance R attached to a battery of voltage V .
apparatus such as a laptop depends on the internal resistance of the battery. For a battery of voltage V and internal resistance r , the total power delivered to an apparatus of resistance R (Figure 2) is
P = V 2R
(R + r)2 (a) Calculate dP/dR, assuming that V and r are constants. (b) Where, in the graph of P versus R, is the tangent line horizontal?
Solution
(a) Because V is a constant, we obtain (using the Quotient Rule)
dP dR
= V 2 d dR
( R
(R + r)2 )
= V 2 (R + r) 2 d
dRR − R ddR (R + r)2 (R + r)4 4
S E C T I O N 3.3 Product and Quotient Rules 139
We have ddRR = 1, and ddR r = 0 because r is a constant. Thus, d
dR (R + r)2 = d
dR (R2 + 2rR + r2)
= d dR
R2 + 2r d dR
R + d dR
r2
= 2R + 2r + 0 = 2(R + r) 5
Using Eq. (5) in Eq. (4), we obtain
dP dR
= V 2 (R + r) 2 − 2R(R + r)
(R + r)4 = V 2 (R + r) − 2R
(R + r)3 = V 2 r − R (R + r)3 6
(b) The tangent line is horizontal when the derivative is zero. We see from Eq. (6) that the derivative is zero when r − R = 0—that is, when R = r .
r R
P
FIGURE 3 Graph of power versus resistance:
P = V 2R
(R + r)2
GRAPHICAL INSIGHT Figure 3 shows that the point where the tangent line is horizontal is the maximum point on the graph. This proves an important result in circuit design: Maximum power is delivered when the resistance of the load (apparatus) is equal to the internal resistance of the battery.
3.3 SUMMARY
• Two basic rules of differentiation:
Product Rule: (fg)′ = f ′g + fg′
Quotient Rule: (
f
g
)′ = gf
′ − fg′ g2
• Remember: The derivative of fg is not equal to f ′g′. Similarly, the derivative of f/g is not equal to f ′/g′.
3.3 EXERCISES
Preliminary Questions 1. Are the following statements true or false? If false, state the correct
version.
(a) fg denotes the function whose value at x is f (g(x)).
(b) f/g denotes the function whose value at x is f (x)/g(x).
(c) The derivative of the product is the product of the derivatives.
(d) d
dx (fg)
∣∣∣∣ x=4
= f (4)g′(4) − g(4)f ′(4)
(e) d
dx (fg)
∣∣∣∣ x=0
= f ′(0)g(0) + f (0)g′(0)
2. Find (f/g)′(1) if f (1) = f ′(1) = g(1) = 2 and g′(1) = 4.
3. Find g(1) if f (1) = 0, f ′(1) = 2, and (fg)′(1) = 10.
Exercises In Exercises 1–6, use the Product Rule to calculate the derivative.
1. f (x) = x3(2x2 + 1) 2. f (x) = (3x − 5)(2x2 − 3)
3. f (x) = x2ex 4. f (x) = (2x − 9)(4ex + 1)
5. dh
ds
∣∣∣∣ s=4
, h(s) = (s−1/2 + 2s)(7 − s−1)
6. dy
dt
∣∣∣∣ t=2
, y = (t − 8t−1)(et + t2)
In Exercises 7–12, use the Quotient Rule to calculate the derivative.
7. f (x) = x x − 2 8. f (x) =
x + 4 x2 + x + 1
9. dg
dt
∣∣∣∣ t=−2
, g(t) = t 2 + 1
t2 − 1 10. dw
dz
∣∣∣∣ z=9
, w = z 2
√ z + z
11. g(x) = 1 1 + ex 12. f (x) =
ex
x2 + 1
140 C H A P T E R 3 DIFFERENTIATION
In Exercises 13–16, calculate the derivative in two ways. First use the Product or Quotient Rule; then rewrite the function algebraically and apply the Power Rule directly.
13. f (t) = (2t + 1)(t2 − 2) 14. f (x) = x2(3 + x−1)
15. h(t) = t 2 − 1 t − 1
16. g(x) = x 3 + 2x2 + 3x−1
x
In Exercises 17–38, calculate the derivative.
17. f (x) = (x3 + 5)(x3 + x + 1)
18. f (x) = (4ex − x2)(x3 + 1)
19. dy
dx
∣∣∣∣ x=3
, y = 1 x + 10 20.
dz
dx
∣∣∣∣ x=−2
, z = x 3x2 + 1
21. f (x) = (√x + 1)(√x − 1) 22. f (x) = 9x 5/2 − 2
x
23. dy
dx
∣∣∣∣ x=2
, y = x 4 − 4
x2 − 5 24. f (x) = x4 + ex x + 1
25. dz
dx
∣∣∣∣ x=1
, z = 1 x3 + 1 26. f (x) =
3x3 − x2 + 2√ x
27. h(t) = t (t + 1)(t2 + 1)
28. f (x) = x3/2 ( 2x4 − 3x + x−1/2
)
29. f (t) = 31/2 · 51/2 30. h(x) = π2(x − 1)
31. f (x) = (x + 3)(x − 1)(x − 5)
32. f (x) = ex(x2 + 1)(x + 4)
33. f (x) = e x
x + 1 34. g(x) = ex+1 + ex
e + 1
35. g(z) = (
z2 − 4 z − 1
) ( z2 − 1 z + 2
)
Hint: Simplify first.
36. d
dx
( (ax + b)(abx2 + 1)
) (a, b constants)
37. d
dt
( xt − 4 t2 − x
) (x constant)
38. d
dx
( ax + b cx + d
) (a, b, c, d constants)
In Exercises 39–42, calculate the derivative using the values:
f (4) f ′(4) g(4) g′(4) 10 −2 5 −1
39. (fg)′(4) and (f/g)′(4)
40. F ′(4), where F(x) = x2f (x)
41. G′(4), where G(x) = (g(x))2
42. H ′(4), where H(x) = x g(x)f (x)
43. Calculate F ′(0), where
F(x) = x 9 + x8 + 4x5 − 7x x4 − 3x2 + 2x + 1
Hint: Do not calculate F ′(x). Instead, write F(x) = f (x)/g(x) and express F ′(0) directly in terms of f (0), f ′(0), g(0), g′(0).
44. Proceed as in Exercise 43 to calculate F ′(0), where
F(x) = ( 1 + x + x4/3 + x5/3
) 3x5 + 5x4 + 5x + 1 8x9 − 7x4 + 1
45. Use the Product Rule to calculate d
dx e2x .
46. Plot the derivative of f (x) = x/(x2 + 1) over [−4, 4]. Use the graph to determine the intervals on which f ′(x) > 0 and f ′(x) < 0. Then plot f and describe how the sign of f ′(x) is reflected in the graph of f .
47. Plot f (x) = x/(x2 − 1) (in a suitably bounded viewing box). Use the plot to determine whether f ′(x) is positive or negative on its domain {x : x ̸= ±1}. Then compute f ′(x) and confirm your conclusion algebraically.
48. Let P = V 2R/(R + r)2 as in Example 7. Calculate dP/dr, assum- ing that r is variable and R is constant.
49. Find a > 0 such that the tangent line to the graph of
f (x) = x2e−x at x = a
passes through the origin (Figure 4).
y
x a
f (x) = x2e−x
FIGURE 4
50. Current I (amperes), voltage V (volts), and resistance R (ohms) in a circuit are related by Ohm’s Law, I = V/R. (a) Calculate
dI
dR
∣∣∣∣ R=6
if V is constant with value V = 24.
(b) Calculate dV
dR
∣∣∣∣ R=6
if I is constant with value I = 4.
51. The revenue per month earned by the Couture clothing chain at time t is R(t) = N(t)S(t), where N(t) is the number of stores and S(t) is average revenue per store per month. Couture embarks on a two-part campaign: (A) to build new stores at a rate of 5 stores per month, and (B) to use advertising to increase average revenue per store at a rate of $10,000 per month. Assume that N(0) = 50 and S(0) = $150,000. (a) Show that total revenue will increase at the rate
dR
dt = 5S(t) + 10,000N(t)
Note that the two terms in the Product Rule correspond to the separate effects of increasing the number of stores on the one hand, and the average revenue per store on the other.
(b) Calculate dR
dt
∣∣∣∣ t=0
.
(c) If Couture can implement only one leg (A or B) of its expansion at t = 0, which choice will grow revenue most rapidly?
S E C T I O N 3.3 Product and Quotient Rules 141
52. The tip speed ratio of a turbine (Figure 5) is the ratio R = T/W , where T is the speed of the tip of a blade and W is the speed of the wind. (Engineers have found empirically that a turbine with n blades extracts maximum power from the wind when R = 2π/n.) Calculate dR/dt (t in minutes) if W = 35 km/h and W decreases at a rate of 4 km/h per minute, and the tip speed has constant value T = 150 km/h.
FIGURE 5 Turbines on a wind farm (Brian A. Jackson/iStockphoto.com)
53. The curve y = 1/(x2 + 1) is called the witch of Agnesi (Figure 6) after the Italian mathematician Maria Agnesi (1718–1799), who wrote one of the first books on calculus. This strange name is the result of a mistranslation of the Italian word la versiera, meaning “that which turns.” Find equations of the tangent lines at x = ±1.
321−2−3 −1
1
x
y
FIGURE 6 The witch of Agnesi.
54. Let f (x) = g(x) = x. Show that (f/g)′ ̸= f ′/g′.
55. Use the Product Rule to show that (f 2)′ = 2ff ′.
56. Show that (f 3)′ = 3f 2f ′.
Further Insights and Challenges 57. Let f , g, h be differentiable functions. Show that (fgh)′(x) is equal to
f ′(x)g(x)h(x) + f (x)g′(x)h(x) + f (x)g(x)h′(x) Hint: Write fgh as f (gh).
58. Prove the Quotient Rule using the limit definition of the derivative.
59. Derivative of the Reciprocal Use the limit definition to prove
d
dx
( 1
f (x)
) = − f
′(x) f 2(x)
7
Hint: Show that the difference quotient for 1/f (x) is equal to
f (x) − f (x + h) hf (x)f (x + h)
60. Prove the Quotient Rule using Eq. (7) and the Product Rule.
61. Use the limit definition of the derivative to prove the following special case of the Product Rule:
d
dx (xf (x)) = f (x) + xf ′(x)
62. Carry out Maria Agnesi’s proof of the Quotient Rule from her book on calculus, published in 1748: Assume that f , g, and h = f/g are dif- ferentiable. Compute the derivative of hg = f using the Product Rule, and solve for h′.
63. The Power Rule Revisited If you are familiar with proof by in- duction, use induction to prove the Power Rule for all whole numbers n. Show that the Power Rule holds for n = 1; then write xn as x · xn−1 and use the Product Rule.
Exercises 64 and 65: A basic fact of algebra states that c is a root of a polynomial f if and only if f (x) = (x − c)g(x) for some polynomial g. We say that c is a multiple root if f (x) = (x − c)2h(x), where h is a polynomial.
64. Show that c is a multiple root of f if and only if c is a root of both f and f ′.
65. Use Exercise 64 to determine whether c = −1 is a multiple root: (a) x5 + 2x4 − 4x3 − 8x2 − x + 2 (b) x4 + x3 − 5x2 − 3x + 2
66. Figure 7 is the graph of a polynomial with roots at A, B, and C. Which of these is a multiple root? Explain your reasoning using Exercise 64.
x
y
B CA
FIGURE 7
67. According to Eq. (8) in Section 3.2, ddx b x = m(b) bx . Use the
Product Rule to show that m(ab) = m(a) + m(b).
142 C H A P T E R 3 DIFFERENTIATION
3.4 Rates of Change Recall the notation for the average rate of change of a function y = f (x) over an interval [x0, x1]:
!y = change in y = f (x1) − f (x0) !x = change in x = x1 − x0
Average Rate of Change = !y !x
= f (x1) − f (x0) x1 − x0
In our prior discussion in Section 2.1, limits and derivatives had not yet been introduced.We usually omit the word “instantaneous” and refer to the derivative simply as the rate of change. This is shorter and also more accurate when applied to general rates, because the term “instantaneous” would seem to refer only to rates with respect to time.
Now that we have them at our disposal, we can define the instantaneous rate of change of y with respect to x at x = x0:
Instantaneous Rate of Change = f ′(x0) = lim !x→0
!y
!x = lim
x1→x0 f (x1) − f (x0)
x1 − x0
Keep in mind the geometric interpretations: The average rate of change is the slope of the secant line (Figure 1), and the instantaneous rate of change is the slope of the tangent line (Figure 2).
(x0, f (x0))
(x1, f (x1))
!x
!y
x0 x1 x
y
FIGURE 1 The average rate of change over [x0, x1] is the slope of the secant line.
(x0, f (x0))
x0 x
y
FIGURE 2 The instantaneous rate of change at x0 is the slope of the tangent line.
Leibniz notation dy/dx is particularly convenient because it specifies that we are considering the rate of change of y with respect to the independent variable x. The rate dy/dx is measured in units ofy per unit ofx. For example, the rate of change of temperature with respect to time has units such as degrees per minute, whereas the rate of change of temperature with respect to altitude has units such as degrees per kilometer.
EXAMPLE 1 Table 1 contains data on the temperature T on the surface of Mars at Martian time t , collected by the NASA Pathfinder space probe.
TABLE 1 Data from Mars Pathfinder Mission, July 1997
Time Temperature (◦C)
5:42 −74.7 6:11 −71.6 6:40 −67.2 7:09 −63.7 7:38 −59.5 8:07 −53 8:36 −47.7 9:05 −44.3 9:34 −42
(a) Calculate the average rate of change of temperature T from 6:11 am to 9:05 am. (b) Use Figure 3 to estimate the rate of change at t = 12:28 pm.
Solution
(a) The time interval [6:11, 9:05] has length 2 h, 54 min, or !t = 2.9 h. According to Table 1, the change in temperature over this time interval is
!T = −44.3 − (−71.6) = 27.3◦C
The average rate of change is the ratio
!T
!t = 27.3
2.9 ≈ 9.4◦C/h
S E C T I O N 3.4 Rates of Change 143
(b) The rate of change is the derivative dT /dt , which is equal to the slope of the tangent
0:00 4:48 9:36 14:24 19:12 0:00 −80
−70
−60
−50
−40
−30
−20
−10
0 T (°C)
(12:28, −22.3)
A
t
FIGURE 3 Temperature variation on the surface of Mars on July 6, 1997.
line through the point (12:28, −22.3) in Figure 3. To estimate the slope, we must choose a second point on the tangent line. Let’s use the point labeled A, whose coordinates are approximately (4:48, −51). The time interval from 4:48 am to 12:28 pm has length 7 h, 40 min, or !t ≈ 7.67 h, and
dT
dt = slope of tangent line ≈ −22.3 − (−51)
7.67 ≈ 3.7◦C/h
EXAMPLE 2 Let A = πr2 be the area of a circle of radius r . (a) Compute dA/dr at r = 2 and r = 5. (b) Why is dA/dr larger at r = 5? Solution The rate of change of area with respect to radius is the derivative
dA
dr = d
dr (πr2) = 2πr 1
(a) We haveBy Eq. (1), dA/dr is equal to the circumference 2πr. We can explain this intuitively as follows: Up to a small error, the area !A of the band of width !r in Figure 4 is equal to the circumference 2πr times the width !r. Therefore, !A ≈ 2πr!r and
dA
dr = lim
!r→0 !A
!r = 2πr
dA
dr
∣∣∣∣ r=2
= 2π(2) ≈ 12.57 and dA dr
∣∣∣∣ r=5
= 2π(5) ≈ 31.42
(b) The derivative dA/dr measures how the area of the circle changes when r increases. Figure 4 shows that when the radius increases by !r , the area increases by a band of thickness !r . The area of the band is greater at r = 5 than at r = 2. Therefore, the derivative is larger (and the tangent line is steeper) at r = 5. In general, for a fixed !r , the change in area !A is greater when r is larger.
5
Tangent at r = 5
Tangent at r = 2
Area
2
r = 2
!r
!r
r = 5
rFIGURE 4 The pink bands represent the change in area when r is increased by !r .
The Effect of a 1-Unit Change For small values of h, the difference quotient is close to the derivative itself:
f ′(x0) ≈ f (x0 + h) − f (x0)
h 2
This approximation generally improves as h gets smaller, but in some applications, the approximation is already useful with h = 1. Setting h = 1 in Eq. (2) gives
f ′(x0) ≈ f (x0 + 1) − f (x0) 3
In other words, f ′(x0) is approximately equal to the change in f caused by a 1-unit change in x when x = x0.
EXAMPLE 3 Stopping Distance For speeds s between 30 and 75 mph, the stopping distance of an automobile after the brakes are applied is approximately F(s) = 1.1s + 0.05s2 ft. For s = 60 mph: (a) Estimate the change in stopping distance if the speed is increased by 1 mph. (b) Compare your estimate with the actual increase in stopping distance.
144 C H A P T E R 3 DIFFERENTIATION
Solution
(a) We have
F ′(s) = d ds
(1.1s + 0.05s2) = 1.1 + 0.1s ft/mph
F ′(60) = 1.1 + 6 = 7.1 ft/mph
Using Eq. (3), we estimate
F(61) − F(60)︸ ︷︷ ︸ Change in stopping distance
≈ F ′(60) = 7.1 ft
Thus, when you increase your speed from 60 to 61 mph, your stopping distance increases by roughly 7 ft. (b) The actual change in stopping distance is F(61) − F(60) = 253.15 − 246 = 7.15, so the estimate in (a) is fairly accurate.
Marginal Cost in Economics Let C(x) denote the dollar cost (including labor and parts) of producing x units of aAlthough C(x) is meaningful only when x
is a whole number, economists often treat C(x) as a differentiable function of x so that the techniques of calculus can be applied.
particular product. The number x of units manufactured is called the production level. To study the relation between costs and production, economists define the marginal cost at production level x0 as the cost of producing 1 additional unit:
Marginal cost = C(x0 + 1) − C(x0)
In this setting, Eq. (3) usually gives a good approximation, so we take C′(x0) as an estimate of the marginal cost.
EXAMPLE 4 Cost of an Air Flight Company data suggest that the total dollar cost of a certain flight is approximately C(x) = 0.0005x3 − 0.38x2 + 120x, where x is the number of passengers (Figure 5).
Total cost ($)
Number of passengers
10,000
15,000
5,000
25020015010050
FIGURE 5 Cost of an air flight. The slopes of the tangent lines are decreasing, so marginal cost is decreasing.
(a) Estimate the marginal cost of an additional passenger if the flight already has 150 passengers. (b) Compare your estimate with the actual cost of an additional passenger. (c) Is it more expensive to add a passenger when x = 150 or when x = 200?
Solution The derivative is C′(x) = 0.0015x2 − 0.76x + 120.
(a) We estimate the marginal cost at x = 150 by the derivative
C′(150) = 0.0015(150)2 − 0.76(150) + 120 = 39.75
Thus, it costs approximately $39.75 to add one additional passenger. (b) The actual cost of adding one additional passenger is
C(151) − C(150) ≈ 11,177.10 − 11,137.50 = 39.60
Our estimate of $39.75 is close enough for practical purposes. (c) The marginal cost at x = 200 is approximately
C′(200) = 0.0015(200)2 − 0.76(200) + 120 = 28
Since 39.75 > 28, it is more expensive to add a passenger when x = 150.
S E C T I O N 3.4 Rates of Change 145
Linear Motion Recall that linear motion is motion along a straight line. This includes horizontal motion
In his famous textbook Lectures on Physics, Nobel laureate Richard Feynman (1918–1988) uses a dialogue to make a point about instantaneous velocity:
Policeman: “My friend, you were going 75 miles an hour.”
Driver: “That’s impossible, sir, I was traveling for only seven minutes.”
along a straight highway and vertical motion of a falling object. Let s(t) denote the position or distance from the origin at time t . Velocity is the rate of change of position with respect to time:
v(t) = velocity = ds dt
The sign of v(t) indicates the direction of motion. For example, if s(t) is the height above ground, then v(t) > 0 indicates that the object is rising. Speed is defined as the absolute value of velocity |v(t)|.
Figure 6 shows the position of a car as a function of time. Remember that the height of the graph represents the car’s distance from the point of origin. The slope of the tangent line is the velocity. Here are some facts we can glean from the graph:
225
150
75
t (h) 54321
s (km)
FIGURE 6 Graph of distance versus time.
• Speeding up or slowing down? The tangent lines get steeper in the interval [0, 1], so the car was speeding up during the first hour. They get flatter in the interval [1, 2], so the car slowed down in the second hour.
• Standing still The graph is horizontal over [2, 3] (perhaps the driver stopped at a restaurant for an hour).
• Returning to the same spot The graph rises and falls in the interval [3, 4], in- dicating that the driver returned to the restaurant (perhaps she left her cell phone there).
• Average velocity The graph rises more over [0, 2] than over [3, 5], so the average velocity was greater over the first 2 hours than over the last two hours.
EXAMPLE 5 A truck enters the off-ramp of a highway at t = 0. Its position after t seconds is s(t) = 25t − 0.3t3 m for 0 ≤ t ≤ 5.
(a) How fast is the truck going at the moment it enters the off-ramp? (b) Is the truck speeding up or slowing down?
t (s) 1 2 3 4 5
10
20
30 v (m/s)
FIGURE 7 Graph of velocity v(t) = 25 − 0.9t2.
Solution The truck’s velocity at time t is v(t) = d dt
(25t − 0.3t3) = 25 − 0.9t2.
(a) The truck enters the off-ramp with velocity v(0) = 25 m/s. (b) Since v(t) = 25 − 0.9t2 is decreasing (Figure 7), the truck is slowing down.
Motion Under the Influence of Gravity Galileo discovered that the height s(t) and velocity v(t) at time t (seconds) of an object tossed vertically in the air near the earth’s surface are given by the formulas
Galileo’s formulas are valid only when air resistance is negligible. We assume this to be the case in all examples.
s(t) = s0 + v0t − 1 2 gt2, v(t) = ds
dt = v0 − gt 4
The constants s0 and v0 are the initial values:
• s0 = s(0), the position at time t = 0. • v0 = v(0), the velocity at t = 0. • −g is the acceleration due to gravity on the surface of the earth (negative because
the up direction is positive), where
g ≈ 9.8 m/s2 or g ≈ 32 ft/s2
146 C H A P T E R 3 DIFFERENTIATION
A simple observation enables us to find the object’s maximum height. Since velocity is positive as the object rises and negative as it falls back to Earth, the object reaches its maximum height at the moment of transition, when it is no longer rising and has not yet begun to fall. At that moment, its velocity is zero. In other words, the maximum height is attained when v(t) = 0. At this moment, the tangent line to the graph of s is horizontal (Figure 8).
2 75.1 10 t (s)10
50
100
150 Maximum height
s (m)
FIGURE 8 Maximum height occurs when s′(t) = v(t) = 0, where the tangent line is horizontal.
EXAMPLE 6 Finding the Maximum Height A stone is shot with a slingshot vertically upward with an initial velocity of 50 m/s from an initial height of 10 m.
(a) Find the velocity at t = 2 and at t = 7. Explain the change in sign.
Galileo’s formulas:
s(t) = s0 + v0t − 1 2 gt2
v(t) = ds dt
= v0 − gt
(b) What is the stone’s maximum height and when does it reach that height?
Solution Apply Eq. (4) with s0 = 10, v0 = 50, and g = 9.8:
s(t) = 10 + 50t − 4.9t2, v(t) = 50 − 9.8t
(a) Therefore,
v(2) = 50 − 9.8(2) = 30.4 m/s, v(7) = 50 − 9.8(7) = −18.6 m/s
At t = 2, the stone is rising and its velocity v(2) is positive (Figure 8). At t = 7, the stone is already on the way down and its velocity v(7) is negative. (b) Maximum height is attained when the velocity is zero, so we solve
v(t) = 50 − 9.8t = 0 ⇒ t = 50 9.8
≈ 5.1
The stone reaches maximum height at t = 5.1 s. Its maximum height is
s(5.1) = 10 + 50(5.1) − 4.9(5.1)2 ≈ 137.6 m
In the previous example, we specified the initial values of position and velocity. In the next example, the goal is to determine initial velocity.
EXAMPLE 7 Finding Initial Conditions What initial velocity v0 is required for a bullet,How important are units? In September 1999 the $125 million Mars Climate Orbiter spacecraft burned up in the Martian atmosphere before completing its scientific mission. According to Arthur Stephenson, NASA chairman of the Mars Climate Orbiter Mission Failure Investigation Board, 1999, “The ‘root cause’ of the loss of the spacecraft was the failed translation of English units into metric units in a segment of ground-based, navigation-related mission software.”
fired vertically from ground level, to reach a maximum height of 2 km?
Solution We need a formula for maximum height as a function of initial velocity v0. The initial height is s0 = 0, so the bullet’s height is s(t) = v0t − 12gt2 by Galileo’s formula. Maximum height is attained when the velocity is zero:
v(t) = v0 − gt = 0 ⇒ t = v0
g
The maximum height is the value of s(t) at t = v0/g:
s
( v0
g
) = v0
( v0
g
) − 1
2 g
( v0
g
)2 = v
2 0
g − 1
2 v20 g
= v 2 0
2g
Now we can solve for v0 using the value g = 9.8 m/s2 (note that 2 km = 2000 m). In Eq. (5), distance must be in meters because our value of g has units of m/s2. Maximum height = v
2 0
2g = v
2 0
2(9.8) = 2000 m 5
This yields v0 = √
(2)(9.8)2000 ≈ 198 m/s. In reality, the initial velocity would have to be considerably greater to overcome air resistance.
S E C T I O N 3.4 Rates of Change 147
HISTORICAL
PERSPECTIVE
(© B
et tm
an n/
C O
R B
IS )
Galileo Galilei (1564– 1642) discovered the laws of motion for falling objects on the earth’s surface around 1600. This paved the
way for Newton’s general laws of motion. How did Galileo arrive at his formulas? The motion of a falling object is too rapid to measure directly, without modern photographic or electronic ap- paratus. To get around this difficulty, Galileo experimented with balls rolling down an incline (Figure 9). For a sufficiently flat incline, he was able to measure the motion with a water clock and found that the velocity of the rolling ball is proportional to time. He then reasoned that
motion in free-fall is just a faster version of mo- tion down an incline and deduced the formula v(t) = −gt for falling objects (assuming zero initial velocity).
Prior to Galileo, it had been assumed incor- rectly that heavy objects fall more rapidly than lighter ones. Galileo realized that this was not true (as long as air resistance is negligible), and indeed, the formula v(t) = −gt shows that the velocity depends on time but not on the weight of the object. Interestingly, 300 years later, an- other great physicist,Albert Einstein, was deeply puzzled by Galileo’s discovery that all objects fall at the same rate regardless of their weight. He called this the Principle of Equivalence and sought to understand why it was true. In 1916, after a decade of intensive work, Einstein de- veloped the General Theory of Relativity, which finally gave a full explanation of the Principle of Equivalence in terms of the geometry of space and time.
3.4 SUMMARY
• The (instantaneous) rate of change of y = f (x) with respect to x at x = x0 is defined as the derivative
FIGURE 9 To explain the motion of falling objects, Galileo studied the motion of balls on an inclined plane. (Dorling Kindersley/Getty Images)
f ′(x0) = lim !x→0
!y
!x = lim
x1→x0 f (x1) − f (x0)
x1 − x0 • The rate dy/dx is measured in units of y per unit of x. • For linear motion, velocity v(t) is the rate of change of position s(t) with respect to
time—that is, v(t) = s′(t). • In some applications, f ′(x0) provides a good estimate of the change in f due to a 1-unit
increase in x when x = x0: f ′(x0) ≈ f (x0 + 1) − f (x0)
• Marginal cost is the cost of producing one additional unit. If C(x) is the cost of pro- ducing x units, then the marginal cost at production level x0 is C(x0 + 1) − C(x0). The derivative C′(x0) is often a good estimate for marginal cost.
• Galileo’s formulas for an object rising or falling under the influence of gravity near the Earth’s surface ignoring air resistance (s0 = initial position, v0 = initial velocity):
s(t) = s0 + v0t − 1 2 gt2, v(t) = v0 − gt
where g ≈ 9.8 m/s2, or g ≈ 32 ft/s2. Maximum height is attained when v(t) = 0.
3.4 EXERCISES
Preliminary Questions 1. Which units might be used for each rate of change?
(a) Pressure (in atmospheres) in a water tank with respect to depth (b) The rate of a chemical reaction (change in concentration with re- spect to time with concentration in moles per liter)
2. Two trains travel from New Orleans to Memphis in 4 h. The first train travels at a constant velocity of 90 mph, but the velocity of the sec- ond train varies. What was the second train’s average velocity during the trip?
3. Estimate f (26), assuming that
f (25) = 43, f ′(25) = 0.75
4. The population P(t) of Freedonia in 2009 was P(2009) = 5 mil- lion. (a) What is the meaning of P ′(2009)? (b) Estimate P(2010) if P ′(2009) = 0.2.
148 C H A P T E R 3 DIFFERENTIATION
Exercises In Exercises 1–8, find the rate of change.
1. Area of a square with respect to its side s when s = 5
2. Volume of a cube with respect to its side s when s = 5
3. Cube root 3 √
x with respect to x when x = 1, 8, 27
4. The reciprocal 1/x with respect to x when x = 1, 2, 3
5. The diameter of a circle with respect to radius
6. Surface area A of a sphere with respect to radius r (A = 4πr2)
7. Volume V of a cylinder with respect to radius if the height is equal to the radius
8. Speed of sound v (in m/s) with respect to air temperature T (in kelvins), where v = 20
√ T
In Exercises 9–11, refer to Figure 10, the graph of distance s from the origin as a function of time for a car trip.
9. Find the average velocity over each interval. (a) [0, 0.5] (b) [0.5, 1] (c) [1, 1.5] (d) [1, 2]
10. At what time is velocity at a maximum?
11. Match the descriptions (i)–(iii) with the intervals (a)–(c). (i) Velocity increasing
(ii) Velocity decreasing (iii) Velocity negative (a) [0, 0.5] (b) [2.5, 3] (c) [1.5, 2]
t (h) 3.02.52.01.51.00.5
Distance (km)
150
100
50
FIGURE 10 Distance from the origin versus time for a car trip.
12. Use the data from Table 1 in Example 1 to calculate the average rate of change of Martian temperature T with respect to time t over the interval from 8:36 am to 9:34 am.
13. Use Figure 3 from Example 1 to estimate the instantaneous rate of change of Martian temperature with respect to time (in degrees Celsius per hour) at t = 4 am.
14. The temperature (in degrees Celsius) of an object at time t (in min- utes) is T (t) = 38 t2 − 15t + 180 for 0 ≤ t ≤ 20. At what rate is the object cooling at t = 10? (Give correct units.)
15. The velocity (in centimeters per second) of blood molecules flow- ing through a capillary of radius 0.008 cm is v = 6.4 × 10−8 − 0.001r2, where r is the distance from the molecule to the center of the capillary. Find the rate of change of velocity with respect to r when r = 0.004 cm.
16. Figure 11 displays the voltage V across a capacitor as a function of time while the capacitor is being charged. Estimate the rate of change of voltage at t = 20 s. Indicate the values in your calculation and include proper units. Does voltage change more quickly or more slowly as time goes on? Explain in terms of tangent lines.
t (s) 4010 20 30
4
3
2
1
5 V (V)
FIGURE 11
17. Use Figure 12 to estimate dT /dh at h = 30 and 70, where T is atmospheric temperature (in degrees Celsius) and h is altitude (in kilo- meters). Where is dT /dh equal to zero?
Tr op
os ph
er e
St ra
to sp
he re
M es
os ph
er e
T he
rm os
ph er
e
h (km)
T (°C)
250
200
150
100
50
0
−50
−100
10 50 100 150
FIGURE 12 Atmospheric temperature versus altitude.
18. The earth exerts a gravitational force of F(r) = (2.99 × 1016)/r2 newtons on an object with a mass of 75 kg located r meters from the center of the earth. Find the rate of change of force with respect to distance r at the surface of the earth.
19. Calculate the rate of change of escape velocity vesc = (2.82 × 107)r−1/2 m/s with respect to distance r from the center of the earth.
20. The power delivered by a battery to an apparatus of resistance R (in ohms) is P = 2.25R/(R + 0.5)2 watts (W). Find the rate of change of power with respect to resistance for R = 3 # and R = 5 #. 21. The position of a particle moving in a straight line during a 5-s trip is s(t) = t2 − t + 10 cm. Find a time t at which the instantaneous velocity is equal to the average velocity for the entire trip beginning at t = 0. 22. The height (in meters) of a helicopter at time t (in minutes) is s(t) = 600t − 3t3 for 0 ≤ t ≤ 12. (a) Plot s and velocity v as functions of time. (b) Find the velocity at t = 8 and t = 10. (c) Find the maximum height of the helicopter.
23. A particle moving along a line has position s(t) = t4 − 18t2 m at time t seconds. At which times does the particle pass through the origin? At which times is the particle instantaneously motionless (i.e., it has zero velocity)?
24. Plot the position of the particle in Exercise 23. What is the farthest distance to the left of the origin attained by the particle?
25. Abullet is fired in the air vertically from ground level with an initial velocity 200 m/s. Find the bullet’s maximum velocity and maximum height.
S E C T I O N 3.4 Rates of Change 149
26. Find the velocity of an air conditioner accidentally dropped from a height of 300 m at the moment it hits the ground.
27. A ball tossed in the air vertically from ground level returns to earth 4 s later. Find the initial velocity and maximum height of the ball.
28. Olivia is gazing out a window from the tenth floor of a building when a bucket (dropped by a window washer) passes by. She notes that it hits the ground 1.5 s later. Determine the floor from which the bucket was dropped if each floor is 5 m high and the window is in the middle of the tenth floor. Neglect air friction.
29. Show that for an object falling according to Galileo’s formula, the average velocity over any time interval [t1, t2] is equal to the average of the instantaneous velocities at t1 and t2.
30. An object falls under the influence of gravity near the earth’s surface. Which of the following statements is true? Explain. (a) Distance traveled increases by equal amounts in equal time inter- vals. (b) Velocity increases by equal amounts in equal time intervals. (c) The derivative of velocity increases with time.
31. By Faraday’s Law, if a conducting wire of length ℓ meters moves at velocity v m/s perpendicular to a magnetic field of strength B (in teslas), a voltage of size V = −Bℓv is induced in the wire. Assume that B = 2 and ℓ = 0.5. (a) Calculate dV/dv. (b) Find the rate of change of V with respect to time t if v(t) = 4t + 9. 32. The voltage V , current I , and resistance R in a circuit are related by Ohm’s Law: V = IR, where the units are volts, amperes, and ohms. Assume that voltage is constant with V = 12 volts (V). Calculate (spec- ifying units): (a) The average rate of change of I with respect to R for the interval from R = 8 to R = 8.1 (b) The rate of change of I with respect to R when R = 8 (c) The rate of change of R with respect to I when I = 1.5
33. Ethan finds that with h hours of tutoring, he is able to an- swer correctly S(h) percent of the problems on a math exam. Which would you expect to be larger: S′(3) or S′(30)? Explain. 34. Suppose θ(t) measures the angle between a clock’s minute and hour hands. What is θ ′(t) at 3 o’clock? 35. To determine drug dosages, doctors estimate a person’s body surface area (BSA) (in meters squared) using the formula BSA =√
hm/60, where h is the height in centimeters and m the mass in kilo- grams. Calculate the rate of change of BSA with respect to mass for a person of constant height h = 180. What is this rate at m = 70 and m = 80? Express your result in the correct units. Does BSA increase more rapidly with respect to mass at lower or higher body mass?
36. The atmospheric CO2 level A(t) at Mauna Loa, Hawaii, at time t (in parts per million by volume) is recorded by the Scripps Institu- tion of Oceanography. Reading across, the annual values for the 4-year intervals are
1960 1964 1968 1972 1976 1980 1984 0.54 0.28 1.03 1.69 1.02 1.73 1.36
1988 1992 1996 2000 2004 2008 2012 2.13 0.48 1.25 1.62 1.56 1.60 2.66
(a) Estimate A′(t) in 1962, 1970, 1978, 1986, 1994, 2002, and 2010. (b) In which of the years from (a) did the approximation to A′(t) take on its largest and smallest values? (c) In which of these years does the approximation suggest that the CO2 level was the most constant?
37. The tangent lines to the graph of f (x) = x2 grow steeper as x increases. At what rate do the slopes of the tangent lines increase?
38. Figure 13 shows the height y of a mass oscillating at the end of a spring, through one cycle of the oscillation. Sketch the graph of velocity as a function of time.
t
y
FIGURE 13
In Exercises 39–46, use Eq. (3) to estimate the unit change.
39. Estimate √
2 − √
1 and √
101 − √
100. Compare your estimates with the actual values.
40. Estimate f (4) − f (3) if f ′(x) = 2−x . Then estimate f (4), as- suming that f (3) = 12.
41. Let F(s) = 1.1s + 0.05s2 be the stopping distance as in Ex- ample 3. Calculate F(65) and estimate the increase in stopping distance if speed is increased from 65 to 66 mph. Compare your estimate with the actual increase.
42. According to Kleiber’s Law, the metabolic rate P (in kilocalo- ries per day) and body mass m (in kilograms) of an animal are related by a three-quarter-power law P = 73.3m3/4. Estimate the increase in metabolic rate when body mass increases from 60 to 61 kg.
43. The dollar cost of producing x bagels is given by the function C(x) = 300 + 0.25x − 0.5(x/1000)3. Determine the cost of produc- ing 2000 bagels and estimate the cost of the 2001st bagel. Compare your estimate with the actual cost of the 2001st bagel.
44. Suppose the dollar cost of producing x video cameras is C(x) = 500x − 0.003x2 + 10−8x3. (a) Estimate the marginal cost at production level x = 5000 and com- pare it with the actual cost C(5001) − C(5000). (b) Compare the marginal cost at x = 5000 with the average cost per camera, defined as C(x)/x.
45. Demand for a commodity generally decreases as the price is raised. Suppose that the demand for oil (per capita per year) is D(p) = 900/p barrels, where p is the dollar price per barrel. Find the demand when p = $40. Estimate the decrease in demand if p rises to $41 and the increase if p declines to $39.
46. The reproduction rate f of the fruit fly Drosophila melanogaster, grown in bottles in a laboratory, decreases with the number p of flies in the bottle. A researcher has found the number of offspring per female per day to be approximately f (p) = (34 − 0.612p)p−0.658. (a) Calculate f (15) and f ′(15). (b) Estimate the decrease in daily offspring per female when p is in- creased from 15 to 16. Is this estimate larger or smaller than the actual value f (16) − f (15)? (c) Plot f for 5 ≤ p ≤ 25 and verify that f (p) is a decreasing function of p. Do you expect f ′(p) to be positive or negative? Plot f ′ and confirm your expectation.
150 C H A P T E R 3 DIFFERENTIATION
47. According to Stevens’ Law in psychology, the perceived magnitude of a stimulus is proportional (approximately) to a power of the actual intensity I of the stimulus. Experiments show that the perceived brightness B of a light satisfies B = kI2/3, where I is the light intensity, whereas the perceived heaviness H of a weight W sat- isfies H = kW3/2 (k is a constant that is different in the two cases). Compute dB/dI and dH/dW and state whether they are increasing or decreasing functions. Then explain the following statements: (a) A 1-unit increase in light intensity is felt more strongly when I is small than when I is large. (b) Adding another pound to a load W is felt more strongly when W is large than when W is small.
48. Let M(t) be the mass (in kilograms) of a plant as a function of time (in years). Recent studies by Niklas and Enquist have suggested that a remarkably wide range of plants (from algae and grass to palm trees) obey a three-quarter-power growth law—that is,
dM
dt = CM3/4 for some constant C
(a) If a tree has a growth rate of 6 kg/year when M = 100 kg, what is its growth rate when M = 125 kg? (b) If M = 0.5 kg, how much more mass must the plant acquire to double its growth rate?
Further Insights and Challenges Exercises 49–51: The Lorenz curve y = F(r) is used by economists to study income distribution in a given country (see Figure 14). By definition, F(r) is the fraction of the total income that goes to the bottom rth part of the population, where 0 ≤ r ≤ 1. For example, if F(0.4) = 0.245, then the bottom 40% of households receive 24.5% of the total income. Note that F(0) = 0 and F(1) = 1.
49. Our goal is to find an interpretation for F ′(r). The average income for a group of households is the total income going to the group divided by the number of households in the group. The national average income is A = T/N , where N is the total number of households and T is the total income earned by the entire population.
(a) Show that the average income among households in the bottom rth part is equal to (F (r)/r)A.
(b) Show more generally that the average income of households be- longing to an interval [r, r + !r] is equal to
( F(r + !r) − F(r)
!r
) A
(c) Let 0 ≤ r ≤ 1. A household belongs to the 100rth percentile if its income is greater than or equal to the income of 100r % of all house- holds. Pass to the limit as !r → 0 in (b) to derive the following inter- pretation: A household in the 100rth percentile has income F ′(r)A. In particular, a household in the 100rth percentile receives more than the national average if F ′(r) > 1 and less if F ′(r) < 1.
(d) For the Lorenz curves L1 and L2 in Figure 14(B), what percentage of households have above-average income?
50. The following table provides values of F(r) for the United States in 2010. Assume that the national average income was A = $66,000.
r 0 0.2 0.4 0.6 0.8 1 F(r) 0 0.033 0.118 0.264 0.480 1
(a) What was the average income in the lowest 40% of households?
(b) Show that the average income of the households belonging to the interval [0.4, 0.6] was $48,180. (c) Estimate F ′(0.5). Estimate the income of households in the 50th percentile? Was it greater or less than the national average?
51. Use Exercise 49(c) to prove:
(a) F ′(r) is an increasing function of r .
(b) Income is distributed equally (all households have the same in- come) if and only if F(r) = r for 0 ≤ r ≤ 1.
0.2 0.4 0.6 0.8 1.0
0.2
0.4
0.6
0.8
1.0
r
F(r)
0.2 0.4 0.6 0.8 1.0
0.2
0.4
0.6
0.8
1.0
r
F(r)
L2 L1
P
(A) Lorenz curve for the United States in 2010
(B) Two Lorenz curves: The tangent lines at P and Q have slope 1.
Q
FIGURE 14
52. Studies of Internet usage show that Web site popularity is described quite well by Zipf’s Law, according to which the nth most popular Web site receives roughly the fraction 1/n of all visits. Suppose that on a particular day, the nth most popular site had approximately V (n) = 106/n visitors (for n ≤ 15,000). (a) Verify that the top 50 Web sites received nearly 45% of the visits. Hint: Let T (N) denote the sum of V (n) for 1 ≤ n ≤ N . Use a computer algebra system to compute T (50) and T (15,000).
(b) Verify, by numerical experimentation, that when Eq. (3) is used to estimate V (n + 1) − V (n), the error in the estimate decreases as n grows larger. Find (again, by experimentation) an N such that the error is at most 10 for n ≥ N . (c) Using Eq. (3), show that for n ≥ 100, the nth Web site received at most 100 more visitors than the (n + 1)st Web site.
S E C T I O N 3.5 Higher Derivatives 151
In Exercises 53 and 54, the average cost per unit at production level x is defined as Cavg(x) = C(x)/x, where C(x) is the cost of producing x units. Average cost is a measure of the efficiency of the production process.
53. Show that Cavg(x) is equal to the slope of the line through the origin and the point (x, C(x)) on the graph of y = C(x). Using this in- terpretation, determine whether average cost or marginal cost is greater at points A, B, C, D in Figure 15.
C
x Production level
A B C
D
FIGURE 15 Graph of y = C(x).
54. The cost in dollars of producing alarm clocks is given by C(x) = 50x3 − 750x2 + 3740x + 3750, where x is in units of 1000. (a) Calculate the average cost at x = 4, 6, 8, and 10. (b) Use the graphical interpretation of average cost to find the pro- duction level x0 at which average cost is lowest. What is the relation between average cost and marginal cost at x0 (see Figure 16)?
10,000
15,000
5000
1 2 3 4 5 6 7 8 9 10
C ($)
x
FIGURE 16 Cost function C(x) = 50x3 − 750x2 + 3740x + 3750.
3.5 Higher Derivatives Higher derivatives are obtained by repeatedly differentiating a function y = f (x). If f ′ is differentiable, then the second derivative, denoted f ′′ or y′′, is the derivative
f ′′(x) = d dx
( f ′(x)
)
The second derivative is the rate of change of f ′(x). The next example highlights the difference between the first and second derivatives.
EXAMPLE 1 Figure 1 and Table 1 show the number of cell phone subscribers C(t)
2009 2010 2011 2012 t
270 280 290 300 310 320 330
C (millions)
FIGURE 1 Number of cell phone users C in the United States in millions.
in the United States in year t . Discuss C′(t) and C′′(t).
TABLE 1 Number of Cell Phone Subscribers in the United States
Year 2009 2010 2011 2012
Number in millions 277 301 316 326 Yearly increase 24 15 10
Solution We will show that C′(t) is positive but C′′(t) is negative. According to Table 1, the number of cell phone users each year was greater than the previous year, so the rate of change C′(t) is certainly positive. However, the amount of increase declined from 24 million in 2010 to 10 million in 2012. So although C′(t) is positive, C′(t) decreases from one year to the next, and therefore its rate of change C′′(t) is negative. Figure 1 supports this conclusion: The slopes of the segments in the graph are decreasing.
The process of differentiation can be continued, provided that the derivatives exist. The third derivative, denoted f ′′′(x) or f (3)(x), is the derivative of f ′′(x). More generally, the nth derivative f (n)(x) is the derivative of the (n − 1)st derivative. We call f (x) the zeroeth derivative and f ′(x) the first derivative. In Leibniz notation, we write
• dy/dx has units of y per unit of x. • d2y/dx2 has units of dy/dx per unit of
x or units of y per unit of x squared.
df
dx ,
d2f
dx2 ,
d3f
dx3 ,
d4f
dx4 , . . .
152 C H A P T E R 3 DIFFERENTIATION
EXAMPLE 2 Calculate f ′′′(−1) for f (x) = 3x5 − 2x2 + 7x−2. Solution We must calculate the first three derivatives:
f ′(x) = d dx
( 3x5 − 2x2 + 7x−2
) = 15x4 − 4x − 14x−3
f ′′(x) = d dx
( 15x4 − 4x − 14x−3
) = 60x3 − 4 + 42x−4
f ′′′(x) = d dx
( 60x3 − 4 + 42x−4
) = 180x2 − 168x−5
At x = −1, f ′′′(−1) = 180 + 168 = 348.
Polynomials have a special property: Their higher derivatives are eventually the zero function. More precisely, if f is a polynomial of degree k, then f (n)(x) is zero for n > k. Table 2 illustrates this property for f (x) = x5. By contrast, the higher derivatives of a nonpolynomial function are never the zero function (see Exercise 87, Section 5.3).
TABLE 2 Derivatives of x5
f (x) f ′(x) f ′′(x) f ′′′(x) f (4)(x) f (5)(x) f (6)(x)
x5 5x4 20x3 60x2 120x 120 0
EXAMPLE 3 Calculate the first four derivatives of y = x−1. Then find the pattern and determine a general formula for y(n).
Solution By the Power Rule,
y′(x) = −x−2, y′′ = 2x−3, y′′′ = −2(3)x−4, y(4) = 2(3)(4)x−5
We see that y(n)(x) is equal to ±n! x−n−1. Now observe that the sign alternates. Since theREMINDER n-factorial is the number n! = n(n − 1)(n − 2) · · · (2)(1)
Thus,
1! = 1, 2! = (2)(1) = 2 3! = (3)(2)(1) = 6
By convention, we set 0! = 1.
odd-order derivatives occur with a minus sign, the sign of y(n)(x) is (−1)n. In general, therefore, y(n)(x) = (−1)nn! x−n−1.
EXAMPLE 4 Calculate the first three derivatives of f (x) = xex . Then determine a
It is not always possible to find a simple formula for the higher derivatives of a function. In most cases, they become increasingly complicated.
general formula for f (n)(x).
Solution Use the Product Rule:
f ′(x) = d dx
(xex) = ex + xex = (1 + x)ex
f ′′(x) = d dx
( (1 + x)ex
) = ex + (1 + x)ex = (2 + x)ex
f ′′′(x) = d dx
( (2 + x)ex
) = ex + (2 + x)ex = (3 + x)ex
We see that f n(x) = ex + f n−1(x), which leads to the general formula f (n)(x) = (n + x)ex
One familiar second derivative is acceleration. An object in linear motion with posi- tion s(t) at time t has velocity v(t) = s′(t) and acceleration a(t) = v′(t) = s′′(t). Thus, acceleration is the rate at which velocity changes and is measured in units of velocity per unit of time or “distance per time squared” such as m/s2.
EXAMPLE 5 Acceleration Due to Gravity Find the acceleration a(t) of a ball tossed vertically in the air from ground level with an initial velocity of 12 m/s. How does a(t) describe the change in the ball’s velocity as it rises and falls?
S E C T I O N 3.5 Higher Derivatives 153
Solution The ball’s height at time t is s(t) = s0 + v0t − 4.9t2 m by Galileo’s formulaHeight (m) 7
1
(A)
(B)
2 2.45
Velocity (m/s) 12
−12
1 t (s)
2 2.45
t (s)
FIGURE 2 Height and velocity of a ball tossed vertically with initial velocity 12 m/s.
[Figure 2(A)]. In our case, s0 = 0 and v0 = 12, so s(t) = 12t − 4.9t2 m. Therefore, v(t) = s′(t) = 12 − 9.8t m/s and the ball’s acceleration is
a(t) = s′′(t) = d dt
(12 − 9.8t) = −9.8 m/s2
As expected, the acceleration is constant with value −g = −9.8 m/s2. As the ball rises and falls, its velocity decreases from 12 to −12 m/s at the constant rate −g [Figure 2(B)].
GRAPHICAL INSIGHT Can we visualize the rate represented by f ′′(x)? The second derivative is the rate at which f ′(x) is changing, so f ′′(x) is large if the slopes of the tangent lines change rapidly, as in Figure 3(A). Similarly, f ′′(x) is small if the slopes of the tangent lines change slowly—in this case, the curve is relatively flat, as in Figure 3(B). If f is a linear function [Figure 3(C)], then the tangent line does not change at all and f ′′(x) = 0. Thus, f ′′(x) measures the “bending” or concavity of the graph.
(A) Large second derivative: Tangent lines turn rapidly.
(B) Smaller second derivative: Tangent lines turn slowly.
(C) Second derivative is zero: Tangent line does not change.
FIGURE 3
EXAMPLE 6 Identify curves I and II in Figure 4(B) as the graphs of f ′ or f ′′ for the function f in Figure 4(A).
a b
a b
(A) Graph of f (B) Graph of first two derivatives
Slopes of tangent lines increasing
x
y
x
y
II I
FIGURE 4
Solution The slopes of the tangent lines to the graph of f are increasing on the interval [a, b]. Therefore, f ′ is an increasing function and its graph must be II. Since f ′′(x) is the rate of change of f ′(x), f ′′(x) is positive and its graph must be I.
3.5 SUMMARY
• The higher derivatives f ′, f ′′, f ′′′, . . . are defined by successive differentiation:
f ′′(x) = d dx
f ′(x) = d 2f
dx2 , f ′′′(x) = d
dx f ′′(x) = d
3f
dx3 , . . .
The nth derivative is denoted f (n)(x) = dnfdxn .
154 C H A P T E R 3 DIFFERENTIATION
• The second derivative plays an important role: It is the rate at which f ′(x) changes. Graphically, f ′′(x) measures how fast the tangent lines change direction and thus mea- sures the “bending” of the graph.
• If s(t) is the position of an object at time t , then s′(t) is velocity and s′′(t) is acceleration.
3.5 EXERCISES
Preliminary Questions 1. On September 4, 2003, the Wall Street Journal printed the headline
“Stocks Go Higher, Though the Pace of Their Gains Slows.” Rephrase this headline as a statement about the first and second derivatives of stock prices and sketch a possible graph.
2. True or false? The third derivative of position with respect to time
is zero for an object falling to Earth under the influence of gravity. Explain.
3. Which type of polynomial satisfies f ′′′(x) = 0 for all x? 4. What is the millionth derivative of f (x) = e x?
Exercises In Exercises 1–16, calculate y′′ and y′′′.
1. y = 14x2 2. y = 7 − 2x
3. y = x4 − 25x2 + 2x 4. y = 4t3 − 9t2 + 7
5. y = 4 3 πr3 6. y = √x
7. y = 20t4/5 − 6t2/3 8. y = x−9/5
9. y = z − 4 z
10. y = 5t−3 + 7t−8/3
11. y = θ2(2θ + 7) 12. y = (x2 + x)(x3 + 1)
13. y = x − 4 x
14. y = 1 1 − x
15. y = x5e x 16. y = e x
x
In Exercises 17–26, calculate the derivative indicated.
17. f (4)(1), f (x) = x4 18. g′′′(−1), g(t) = −4t−5
19. d2y
dt2
∣∣∣∣ t=1
, y = 4t−3 + 3t2
20. d4f
dt4
∣∣∣∣ t=1
, f (t) = 6t9 − 2t5
21. d4x
dt4
∣∣∣∣ t=16
, x = t−3/4 22. f ′′′(4), f (t) = 2t2 − t
23. f ′′′(−3), f (x) = 4ex − x3 24. f ′′(1), f (t) = t t + 1
25. h′′(1), h(w) = √wew 26. g′′(0), g(s) = e s
s + 1 27. Calculate y(k)(0) for 0 ≤ k ≤ 5, where y = x4 + ax3 + bx2 + cx + d (with a, b, c, d the constants). 28. Which of the following satisfy f (k)(x) = 0 for all k ≥ 6? (a) f (x) = 7x4 + 4 + x−1 (b) f (x) = x3 − 2 (c) f (x) = √x (d) f (x) = 1 − x6 (e) f (x) = x9/5 (f) f (x) = 2x2 + 3x5
29. Use the result in Example 3 to find d6
dx6 x−1.
30. Calculate the first five derivatives of f (x) = √x. (a) Show that f (n)(x) is a multiple of x−n+1/2. (b) Show that f (n)(x) alternates in sign as (−1)n−1 for n ≥ 1. (c) Find a formula for f (n)(x) for n ≥ 2. Hint: Verify that the coeffi- cient is ±1 · 3 · 5 · · · 2n − 3
2n .
In Exercises 31–36, find a general formula for f (n)(x).
31. f (x) = x−2 32. f (x) = (x + 2)−1
33. f (x) = x−1/2 34. f (x) = x−3/2
35. f (x) = xe−x 36. f (x) = x2e x
37. (a) Find the acceleration at time t = 5 min of a helicopter whose height is s(t) = 300t − 4t3 m. (b) Plot the acceleration s′′ for 0 ≤ t ≤ 6. How does this graph show that the helicopter is slowing down during this time interval?
38. Find an equation of the tangent to the graph of y = f ′(x) at x = 3, where f (x) = x4. 39. Figure 5 shows f , f ′, and f ′′. Determine which is which.
(A) (B)
x
y
321 x
y
321 x
y
(C)
321
FIGURE 5
40. The second derivative f ′′ is shown in Figure 6. Which of (A) or (B) is the graph of f and which is f ′?
x
y
x
y
x
y
(A) (B)f ´´(x) FIGURE 6
S E C T I O N 3.5 Higher Derivatives 155
41. Figure 7 shows the graph of the position s of an object as a function of time t . Determine the intervals on which the acceleration is positive.
Time
40302010
Position
FIGURE 7
42. Find a polynomial f (x) that satisfies the equation xf ′′(x) + f (x) = x2. 43. Find all values of n such that y = xn satisfies
x2y′′ − 2xy′ = 4y
44. Which of the following descriptions could not apply to Figure 8? Explain. (a) Graph of acceleration when velocity is constant (b) Graph of velocity when acceleration is constant (c) Graph of position when acceleration is zero
Time
Position
FIGURE 8
45. According to one model that takes into account air resistance, the acceleration a(t) (in m/s2) of a skydiver of mass m in free-fall satisfies
a(t) = −9.8 + k m
v(t)2
where v(t) is velocity (negative since the object is falling) and k is a constant. Suppose that m = 75 kg and k = 14 kg/m. (a) What is the object’s velocity when a(t) = −4.9? (b) What is the object’s velocity when a(t) = 0? This velocity is the object’s terminal velocity.
46. According to one model that attempts to account for air resistance, the distance s(t) (in meters) traveled by a falling raindrop satisfies
d2s
dt2 = g − 0.0005
D
( ds
dt
)2
where D is the raindrop diameter and g = 9.8 m/s2. Terminal velocity vterm is defined as the velocity at which the drop has zero acceleration (one can show that velocity approaches vterm as time proceeds).
(a) Show that vterm = √
2000gD.
(b) Find vterm for drops of diameter 10−3 m and 10−4 m. (c) In this model, do raindrops accelerate more rapidly at higher or lower velocities?
47. A servomotor controls the vertical movement of a drill bit that will drill a pattern of holes in sheet metal. The maximum vertical speed of the drill bit is 4 in./s, and while drilling the hole, it must move no more than 2.6 in./s to avoid warping the metal. During a cycle, the bit begins and ends at rest, quickly approaches the sheet metal, and quickly returns to its initial position after the hole is drilled. Sketch possible graphs of the drill bit’s vertical velocity and acceleration. Label the point where the bit enters the sheet metal.
In Exercises 48 and 49, refer to the following. In a 1997 study, Board- man and Lave related the traffic speed S on a two-lane road to traffic density Q (number of cars per mile of road) by the formula
S = 2882Q−1 − 0.052Q + 31.73
for 60 ≤ Q ≤ 400 (Figure 9).
Q 400300200100
S (mph)
10 20 30 40 50 60 70
FIGURE 9 Speed as a function of traffic density.
48. Calculate dS/dQ and d2S/dQ2.
49. (a) Explain intuitively why we should expect that dS/dQ < 0.
(b) Show that d2S/dQ2 > 0. Then use the fact that dS/dQ < 0 and d2S/dQ2 > 0 to justify the following statement: A 1-unit increase in traffic density slows down traffic more when Q is small than when Q is large.
(c) Plot dS/dQ. Which property of this graph shows that d2S/dQ2 > 0?
50. Use a computer algebra system to compute f (k)(x) for k = 1, 2, 3 for the following functions:
(a) f (x) = (1 + x3)5/3 (b) f (x) = 1 − x 4
1 − 5x − 6x2
51. Let f (x) = x + 2 x − 1 . Use a computer algebra system to
compute the f (k)(x) for 1 ≤ k ≤ 4. Can you find a general formula for f (k)(x)?
Further Insights and Challenges 52. Find the 100th derivative of
p(x) = (x + x5 + x7)10(1 + x2)11(x3 + x5 + x7)
53. What is p(99)(x) for p(x) as in Exercise 52?
54. Use the Product Rule twice to find a formula for (fg)′′ in terms of f and g and their first and second derivatives.
55. Use the Product Rule to find a formula for (fg)′′′ and compare your result with the expansion of (a + b)3. Then try to guess the gen- eral formula for (fg)(n).
156 C H A P T E R 3 DIFFERENTIATION
56. Compute
!f (x) = lim h→0
f (x + h) + f (x − h) − 2f (x) h2
for the following functions:
(a) f (x) = x (b) f (x) = x2 (c) f (x) = x3 Based on these examples, what do you think the limit !f represents?
3.6 Trigonometric Functions We can use the rules developed so far to differentiate functions involving powers of x, but we cannot yet handle the trigonometric functions. What is missing are the formulas for the derivatives of sin x and cos x. Fortunately, their derivatives are simple—each is the derivative of the other up to a sign.
Recall our convention: Angles are measured in radians, unless otherwise specified.
CAUTION In Theorem 1, we are differentiating with respect to x measured in radians. The derivatives of sine and cosine with respect to degrees involve an extra, unwieldy factor of π/180 (see Example 8 in Section 3.7).
THEOREM 1 Derivative of Sine and Cosine The functions y = sin x and y = cos x are differentiable and
d
dx sin x = cos x and d
dx cos x = − sin x
Proof We must go back to the definition of the derivative:
d
dx sin x = lim
h→0 sin(x + h) − sin x
h 1
We cannot cancel the h by rewriting the difference quotient, but we can use the additionREMINDER Addition formula for sin x:
sin(x + h) = sin x cos h + cos x sin h formula (see marginal note) to write the numerator as a sum of two terms:
sin(x + h) − sin x = sin x cos h + cos x sin h − sin x (addition formula) = (sin x cos h − sin x) + cos x sin h = sin x(cos h − 1) + cos x sin h
This gives us
sin(x + h) − sin x h
= sin x (cos h − 1) h
+ cos x sin h h
d sin x dx
= lim h→0
sin(x + h) − sin x h
= lim h→0
sin x (cos h − 1) h
+ lim h→0
cos x sin h h
= (sin x) lim h→0
cos h − 1 h︸ ︷︷ ︸
This equals 0.
+ (cos x) lim h→0
sin h h︸ ︷︷ ︸
This equals 1.
2
Here, we can take sin x and cos x outside the limits in Eq. (2) because they do not depend on h. The two limits are given by Theorem 2 in Section 2.6:
lim h→0
cos h − 1 h
= 0 and lim h→0
sin h h
= 1
Therefore, Eq. (2) reduces to the formula ddx sin x = cos x, as desired. The formula d dx cos x = − sin x is proved similarly (see Exercise 53).
EXAMPLE 1 Calculate f ′′(x), where f (x) = x cos x. Solution By the Product Rule,
f ′(x) = x′ cos x + x(cos x)′ = cos x − x sin x f ′′(x) = (cos x − x sin x)′ = − sin x −
( x′(sin x) + x(sin x)′
) = −2 sin x − x cos x
S E C T I O N 3.6 Trigonometric Functions 157
GRAPHICAL INSIGHT The formula (sin x)′ = cos x is made plausible when we compare the graphs in Figure 1. The tangent lines to the graph of y = sin x have positive slope on the interval
( − π2 , π2
) , and on this interval, the derivative y′ = cos x is positive.
Similarly, the tangent lines have negative slope on the interval (
π 2 ,
3π 2
) , where y′ = cos x
is negative. The tangent lines are horizontal at x = −π2 , π2 , 3π2 , where cos x = 0.
π 2
π 2
3π 2
y´ = cos x
y = sin x
−
x
x
y
FIGURE 1 Compare the graphs of y = sin x and its derivative y′ = cos x.
The derivatives of the other standard trigonometric functions can be computedREMINDER The standard trigonometric functions are defined in Section 1.4. using the Quotient Rule. We derive the formula for (tan x)′ in Example 2 and leave the
remaining formulas for the exercises (Exercises 35–37).
THEOREM 2 Derivatives of Standard Trigonometric Functions
d
dx tan x = sec2 x, d
dx sec x = sec x tan x
d
dx cot x = − csc2 x, d
dx csc x = − csc x cot x
EXAMPLE 2 Verify the formula d
dx (tan x) = sec2 x (Figure 2).
1
y = tan x
y´ = sec2 x
x
y
x
y
π 2
3π 2
π π 2
−
π 2
3π 2
π π 2
−
FIGURE 2 Graphs of y = tan x and its derivative y′ = sec2 x.
Solution Use the Quotient Rule and the identity cos2 x + sin2 x = 1:
d
dx (tan x) =
( sin x cos x
)′ = cos x · (sin x)
′ − sin x · (cos x)′ cos2 x
= cos x cos x − sin x(− sin x) cos2 x
= cos 2 x + sin2 x cos2 x
= 1 cos2 x
= sec2 x
EXAMPLE 3 Find the tangent line to the graph of y = tan θ sec θ at θ = π4 . Solution By the Product Rule,
y′ = (tan θ)′ sec θ + tan θ (sec θ)′ = sec2 θ sec θ + tan θ (sec θ tan θ) = sec3 θ + tan2 θ sec θ
Now use the values sec π4 = √
2 and tan π4 = 1 to compute
y y = tan θ sec θ
θ
5
π 2
π 4
π 2
−
π 4
−
FIGURE 3 Tangent line to y = tan θ sec θ at θ = π4 .
y (π
4
) = tan
(π 4
) sec
(π 4
) =
√ 2
y′ (π
4
) = sec3
(π 4
) + tan2
(π 4
) sec
(π 4
) = 2
√ 2 +
√ 2 = 3
√ 2
An equation of the tangent line (Figure 3) is y − √
2 = 3 √
2 ( θ − π4
) .
158 C H A P T E R 3 DIFFERENTIATION
3.6 SUMMARY
• Basic trigonometric derivatives:
d
dx sin x = cos x, d
dx cos x = − sin x
• Additional formulas:
d
dx tan x = sec2 x, d
dx sec x = sec x tan x
d
dx cot x = − csc2 x, d
dx csc x = − csc x cot x
3.6 EXERCISES
Preliminary Questions 1. Determine the sign (+ or −) that yields the correct formula for the
following:
(a) d
dx (sin x + cos x) = ± sin x ± cos x
(b) d
dx sec x = ± sec x tan x
(c) d
dx cot x = ± csc2 x
2. Which of the following functions can be differentiated using the rules we have covered so far? (a) y = 3 cos x cot x (b) y = cos(x2) (c) y = ex sin x
3. Compute ddx (sin 2 x + cos2 x) without using the derivative formu-
las for sin x and cos x.
4. How is the addition formula used in deriving the formula (sin x)′ = cos x?
Exercises In Exercises 1–4, find an equation of the tangent line at the point indi- cated.
1. y = sin x, x = π4 2. y = cos x, x = π3 3. y = tan x, x = π4 4. y = sec x, x = π6
In Exercises 5–24, compute the derivative.
5. f (x) = sin x cos x 6. f (x) = x2 cos x
7. f (x) = sin2 x 8. f (x) = 9 sec x + 12 cot x
9. H(t) = sin t sec2 t 10. h(t) = 9 csc t + t cot t
11. f (θ) = tan θ sec θ 12. k(θ) = θ2 sin2 θ
13. f (x) = (2x4 − 4x−1) sec x 14. f (z) = z tan z
15. y = sec θ θ
16. G(z) = 1 tan z − cot z
17. R(y) = 3 cos y − 4 sin y
18. f (x) = x sin x + 2
19. f (x) = 1 + tan x 1 − tan x 20. f (θ) = θ tan θ sec θ
21. f (x) = ex sin x 22. h(t) = et csc t
23. f (θ) = eθ (5 sin θ − 4 tan θ) 24. f (x) = xex cos x
In Exercises 25–34, find an equation of the tangent line at the point specified.
25. y = x3 + cos x, x = 0 26. y = tan θ , θ = π6
27. y = sin t 1 + cos t , t =
π 3
28. y = sin x + 3 cos x, x = 0
29. y = 2(sin θ + cos θ), θ = π3 30. y = csc x − cot x, x = π4
31. y = ex cos x, x = 0 32. y = ex cos2 x, x = π4
33. y = et (1 − cos t), t = π2 34. y = eθ sec θ , θ = π4 In Exercises 35–37, use Theorem 1 to verify the formula.
35. d
dx cot x = − csc2 x 36. d
dx sec x = sec x tan x
37. d
dx csc x = − csc x cot x
38. Show that both y = sin x and y = cos x satisfy y′′ = −y.
In Exercises 39–42, calculate the higher derivative.
39. f ′′(θ), f (θ) = θ sin θ 40. d 2
dt2 cos2 t
41. y′′, y′′′, y = tan x 42. y′′, y′′′, y = et sin t
43. Calculate the first five derivatives of f (x) = cos x. Then determine f (8)(x) and f (37)(x).
44. Find y(157), where y = sin x.
45. Find the values of x between 0 and 2π where the tangent line to the graph of y = sin x cos x is horizontal.
S E C T I O N 3.7 The Chain Rule 159
46. Plot the graph f (θ) = sec θ + csc θ over [0, 2π ] and deter- mine the number of solutions to f ′(θ) = 0 in this interval graphically. Then compute f ′(θ) and find the solutions.
47. Let g(t) = t − sin t . (a) Plot the graph of g with a graphing utility for 0 ≤ t ≤ 4π . (b) Show that the slope of the tangent line is nonnegative. Verify this on your graph.
(c) For which values of t in the given range is the tangent line hori- zontal?
48. Let f (x) = (sin x)/x for x ̸= 0 and f (0) = 1. (a) Plot f on [−3π, 3π ]. (b) Show that f ′(c) = 0 if c = tan c. Use the numerical root finder on a computer algebra system to find a good approximation to the smallest positive value c0 such that f ′(c0) = 0. (c) Verify that the horizontal line y = f (c0) is tangent to the graph of y = f (x) at x = c0 by plotting them on the same set of axes.
49. Show that no tangent line to the graph of f (x) = tan x has zero slope. What is the least slope of a tangent line? Justify by sketching the graph of f ′(x) = (tan x)′.
50. The height at time t (in seconds) of a mass, oscillating at the end of a spring, is s(t) = 300 + 40 sin t cm. Find the velocity and acceleration at t = π3 s.
51. The horizontal range R of a projectile launched from ground level at an angle θ and initial velocity v0 m/s is R = (v20/9.8) sin θ cos θ . Calculate dR/dθ . If θ = 7π/24, will the range increase or decrease if the angle is increased slightly? Base your answer on the sign of the derivative.
52. Show that if π2 < θ < π , then the distance along the x-axis be- tween θ and the point where the tangent line intersects the x-axis is equal to |tan θ | (Figure 4).
π 2
π
y = sin x
θ x
y
| tan θ | FIGURE 4
Further Insights and Challenges 53. Use the limit definition of the derivative and the addition law for the cosine function to prove that (cos x)′ = − sin x. 54. Use the addition formula for the tangent
tan(x + h) = tan x + tan h 1 + tan x tan h
to compute (tan x)′ directly as a limit of the difference quotients. You
will also need to show that lim h→0
tan h h
= 1.
55. Verify the following identity and use it to give another proof of the formula (sin x)′ = cos x:
sin(x + h) − sin x = 2 cos ( x + 12h
) sin
( 1 2h
)
Hint: Use the addition formula to prove that sin(a + b) − sin(a − b) = 2 cos a sin b.
56. Show that a nonzero polynomial function y = f (x) can- not satisfy the equation y′′ = −y. Use this to prove that neither f (x) = sin x nor f (x) = cos x is a polynomial. Can you think of an- other way to reach this conclusion by considering limits as x → ∞? 57. Let f (x) = x sin x and g(x) = x cos x. (a) Show that f ′(x) = g(x) + sin x and g′(x) = −f (x) + cos x. (b) Verify that f ′′(x) = −f (x) + 2 cos x and g′′(x) = −g(x) − 2 sin x.
(c) By further experimentation, try to find formulas for all higher derivatives of f and g. Hint: The kth derivative depends on whether k = 4n, 4n + 1, 4n + 2, or 4n + 3.
58. Figure 5 shows the geometry behind the derivative for- mula (sin θ)′ = cos θ . Segments BA and BD are parallel to the x- and y-axes. Let ! sin θ = sin(θ + h) − sin θ . Verify the following state- ments: (a) ! sin θ = BC (b) ̸ BDA = θ Hint: OA ⊥ AD. (c) BD = (cos θ)AD Now explain the following intuitive argument: If h is small, then BC ≈ BD and AD ≈ h, so ! sin θ ≈ (cos θ)h and (sin θ)′ = cos θ .
1
h
θ
B
C A
O
D
x
y
FIGURE 5
3.7 The Chain Rule The Chain Rule is used to differentiate composite functions such as y = cos(x3) and y =
√ x4 + 1.
Recall that a composite function is obtained by “plugging” one function into another. The composite of f and g, denoted f ◦ g, is defined by
(f ◦ g)(x) = f ( g(x)
)
160 C H A P T E R 3 DIFFERENTIATION
For convenience, we call f the outside function and g the inside function. Often, we write the composite function as f (u), where u = g(x). For example, y = cos(x3) is the function y = cos u, where u = x3.
THEOREM 1 Chain Rule If f and g are differentiable, then the composite function (f ◦ g)(x) = f (g(x)) is differentiable and
( f (g(x))
)′ = f ′ ( g(x)
) g′(x)
EXAMPLE 1 Calculate the derivative of y = cos(x3).
In verbal form, the Chain Rule says ( f (g(x))
)′ = outside ′(inside) · inside ′
In words, it is “ the derivative of the outside function at the inside function times the derivative of the inside function.” A proof of the Chain Rule is given at the end of this section.
Solution As noted above, y = cos(x3) is a composite f (g(x)), where f (u) = cos u, u = g(x) = x3
f ′(u) = − sin u, g′(x) = 3x2
Since u = x3, f ′(g(x)) = f ′(u) = f ′(x3) = − sin(x3). So, by the Chain Rule, d
dx cos(x3) = − sin(x3)︸ ︷︷ ︸
f ′(g(x))
(3x2)︸ ︷︷ ︸ g′(x)
= −3x2 sin(x3)
EXAMPLE 2 Calculate the derivative of y = √
x4 + 1. Solution The function y =
√ x4 + 1 is a composite f (g(x)), where
f (u) = u1/2, u = g(x) = x4 + 1
f ′(u) = 1 2 u−1/2, g′(x) = 4x3
Note that f ′(g(x)) = 12 (x4 + 1)−1/2, so by the Chain Rule, d
dx
√ x4 + 1 = 1
2 (x4 + 1)−1/2
︸ ︷︷ ︸ f ′(g(x))
(4x3)︸ ︷︷ ︸ g′(x)
= 4x 3
2 √
x4 + 1
EXAMPLE 3 Calculate dy
dx for y = tan
( x
x + 1
) .
Solution The outside function is f (u) = tan u. Because f ′(u) = sec2 u, the Chain Rule gives us
d
dx tan
( x
x + 1
) = sec2
( x
x + 1
) d
dx
( x
x + 1
)
︸ ︷︷ ︸ Derivative of
inside function
Now, by the Quotient Rule,
d
dx
( x
x + 1
) =
(x + 1) d dx
x − x d dx
(x + 1) (x + 1)2 =
1 (x + 1)2
We obtain
d
dx tan
( x
x + 1
) = sec2
( x
x + 1
) 1
(x + 1)2 = sec2
( x
x + 1
)
(x + 1)2
EXAMPLE 4 The daily natural gas usage in a household follows a pattern given by G(t) = 300(1 + cos 2π t365 ) cubic feet per day, where t = 1 corresponds to January 1. As- suming it is not Leap Year, find the rate of change of usage on March 1, June 1, September 1 and December 1.
S E C T I O N 3.7 The Chain Rule 161
Solution By the Chain Rule,
G′(t) = −300 sin (
2π t 365
) · 2π
365
On March 1, t = 60, so G′(60) = −300 sin (
2π(60) 365
) · 2π
365 ≈ −4.4349.
On June 1, t = 152, so G′(152) = −300 sin (
2π(152) 365
) · 2π
365 ≈ −2.5885.
On Sept. 1, t = 244, so G′(244) = −300 sin (
2π(244) 365
) · 2π
365 ≈ 4.5017.
On Dec. 1, t = 335, so G′(335) = −300 sin (
2π(335) 365
) · 2π
365 ≈ 2.5500.
It is not surprising that the derivative is negative in the spring, as usage drops as temperatures rise. The derivative is nearer 0 in the summer, as the weather remains warm, and usage does not change. Usage increases substantially in the fall and is still increasing in December.
It is instructive to write the Chain Rule in Leibniz notation. Let
y = f (u) = f (g(x))
Then, by the Chain Rule,
dy
dx = f ′(u) g′(x) = df
du
du
dx
or
dy
dx = dy
du
du
dx
CONCEPTUAL INSIGHT In Leibniz notation, it appears as if we are multiplying fractions and the Chain Rule is simply a matter of “canceling the du.” Since the symbolic expres- sions dy/du and du/dx are not fractions, this does not make sense literally, but it does suggest that derivatives behave as if they were fractions (this is reasonable because a derivative is a limit of fractions, namely of the difference quotients). Leibniz’s form also emphasizes a key aspect of the Chain Rule: Rates of change multiply. To illustrate, sup- pose that (thanks to your knowledge of calculus) your salary increases twice as fast as your friend’s. If your friend’s salary increases $4000 per year, your salary will increase at the rate of 2 × 4000 or $8000 per year. In terms of derivatives,
d(your salary) dt
= d(your salary) d(friend’s salary)
×d(friend’s salary) dt
$8000/year = 2 × $4000/yearChristiaan Huygens (1629–1695), one of the greatest scientists of his age, was Leibniz’s teacher in mathematics and physics. He admired Isaac Newton greatly but did not accept Newton’s theory of gravitation. He referred to it as the “improbable principle of attraction,” because it did not explain how two masses separated by a distance could influence each other. (© Bettmann/CORBIS)
EXAMPLE 5 Imagine a sphere whose radius r increases at a rate of 3 cm/s. At what rate is the volume V of the sphere increasing when r = 10 cm? Solution Because we are asked to determine the rate at which V is increasing, we must find dV /dt . What we are given is the rate dr/dt , namely dr/dt = 3 cm/s. The Chain Rule allows us to express dV /dt in terms of dV /dr and dr/dt :
dV
dt︸︷︷︸ Rate of change of volume
with respect to time
= dV dr︸︷︷︸
Rate of change of volume with respect to radius
× dr dt︸︷︷︸
Rate of change of radius with respect to time
162 C H A P T E R 3 DIFFERENTIATION
To compute dV /dr , we use the formula for the volume of a sphere, V = 43πr3: dV
dr = d
dr
( 4 3 πr3
) = 4πr2
Because dr/dt = 3, we obtain dV
dt = dV
dr
dr
dt = 4πr2(3) = 12πr2
For r = 10, dV
dt
∣∣∣∣ r=10
= (12π)102 = 1200π ≈ 3770 cm3/s
We now discuss some important special cases of the Chain Rule.
THEOREM 2 General Power and Exponential Rules If g is differentiable, then
• d
dx (g(x))n = n(g(x))n−1g′(x) (for any number n)
• d
dx eg(x) = eg(x)g′(x)
Proof Let f (u) = un. Then (g(x))n = f (g(x)), and the Chain Rule yields d
dx (g(x))n = f ′(g(x))g′(x) = n(g(x))n−1g′(x)
On the other hand, eg(x) = h(g(x)), where h(u) = eu. We obtain d
dx eg(x) = h′(g(x))g′(x) = eg(x)g′(x)
EXAMPLE 6 General Power and Exponential Rules Find the derivatives of (a) y = (x2 + 7x + 2)−1/3 and (b) y = ecos t .
Solution Apply d
dx g(x)n = ng(x)n−1g′(x) in (A) and d
dx eg(x) = eg(x)g′(x) in (B).
(a) d
dx (x2 + 7x + 2)−1/3 = −1
3 (x2 + 7x + 2)−4/3 d
dx (x2 + 7x + 2)
= −1 3 (x2 + 7x + 2)−4/3(2x + 7)
(b) d
dt ecos t = ecos t d
dt (cos t) = −(sin t)ecos t
EXAMPLE 7 Using the Chain Rule Twice Calculate d
dx
√ 1 +
√ x2 + 1.
Solution First apply the Chain Rule with inside function u = 1 + √
x2 + 1: d
dx
( 1 + (x2 + 1)1/2
)1/2 = 1
2
( 1 + (x2 + 1)1/2
)−1/2 d dx
( 1 + (x2 + 1)1/2
)
Then apply the Chain Rule again to the remaining derivative:
d
dx
( 1 + (x2 + 1)1/2
)1/2 = 1
2
( 1 + (x2 + 1)1/2
)−1/2 (
1 2 (x2 + 1)−1/2(2x)
)
= 1 2 x(x2 + 1)−1/2
( 1 + (x2 + 1)1/2
)−1/2
S E C T I O N 3.7 The Chain Rule 163
According to our convention, sin x denotes the sine of x radians, and with this con- vention, the formula (sin x)′ = cos x holds. In the next example, we derive a formula for the derivative of the sine function when x is measured in degrees.
EXAMPLE 8 Trigonometric Derivatives in Degrees Calculate the derivative of the sine function as a function of degrees rather than radians.
Solution To solve this problem, it is convenient to use an underline to indicate a function of degrees rather than radians. For example,
sin x = sine of x degrees
The functions f (x) = sin x and g(x) = sin x are different, but they are related by
sin x = sin ( π
180 x )
because x degrees corresponds to π180x radians. By Theorem 1,
A similar calculation shows that the factor π
180 appears in the formulas for the derivatives of the other standard trigonometric functions with respect to degrees. For example,
d
dx tan x =
( π 180
) sec2 x
d
dx sin x = d
dx sin
( π 180
x )
= ( π
180
) cos
( π 180
x )
= ( π
180
) cos x
Proof of the Chain Rule The difference quotient for the composite f ◦ g is
f (g(x + h)) − f (g(x)) h
(h ̸= 0)
Our goal is to show that (f ◦ g)′(x) is the product of f ′(g(x)) and g′(x), so it makes sense to write the difference quotient as a product:
f (g(x + h)) − f (g(x)) h
= f (g(x + h)) − f (g(x)) g(x + h) − g(x) ×
g(x + h) − g(x) h
1
This is legitimate only if the denominator g(x + h) − g(x) is nonzero. Therefore, to continue our proof, we make the extra assumption that g(x + h) − g(x) ̸= 0 for all h close to but not equal to 0. This assumption is not necessary, but without it, the argument is more technical (see Exercise 105).
Under our assumption, we may use Eq. (1) to write (f ◦ g)′(x) as a product of two limits:
(f ◦ g)′(x) = lim h→0
f (g(x + h)) − f (g(x)) g(x + h) − g(x)︸ ︷︷ ︸
Show that this equals f ′(g(x)).
× lim h→0
g(x + h) − g(x) h︸ ︷︷ ︸
This is g′(x).
The second limit on the right is g′(x). The Chain Rule will follow if we show that the first limit equals f ′(g(x)). To verify this, set
k = g(x + h) − g(x)
Then g(x + h) = g(x) + k and
f (g(x + h)) − f (g(x)) g(x + h) − g(x) =
f (g(x) + k) − f (g(x)) k
The function g is continuous because it is differentiable. Therefore, g(x + h) tends to g(x) and k = g(x + h) − g(x) tends to zero as h → 0. Thus, we may rewrite the limit in terms of k to obtain the desired result:
lim h→0
f (g(x + h)) − f (g(x)) g(x + h) − g(x) = limk→0
f (g(x) + k) − f (g(x)) k
= f ′(g(x))
164 C H A P T E R 3 DIFFERENTIATION
3.7 SUMMARY
• The Chain Rule expresses (f ◦ g)′ in terms of f ′ and g′:
(f (g(x)))′ = f ′(g(x)) g′(x)
• In Leibniz notation: dy
dx = dy
du
du
dx , where y = f (u) and u = g(x)
• General Power Rule: d
dx (g(x))n = n(g(x))n−1g′(x)
• General Exponential Rule: d
dx eg(x) = eg(x)g′(x)
3.7 EXERCISES
Preliminary Questions 1. Identify the outside and inside functions for each of these compos-
ite functions.
(a) y = √
4x + 9x2 (b) y = tan(x2 + 1) (c) y = sec5 x (d) y = (1 + ex)4
2. Which of the following can be differentiated easily without using the Chain Rule? (a) y = tan(7x2 + 2) (b) y = x
x + 1
(c) y = √x · sec x (d) y = √x cos x (e) y = xex (f) y = esin x
3. Which is the derivative of f (5x)? (a) 5f ′(x) (b) 5f ′(5x) (c) f ′(5x)
4. Suppose that f ′(4) = g(4) = g′(4) = 1. Do we have enough in- formation to compute F ′(4), where F(x) = f (g(x))? If not, what is missing?
Exercises In Exercises 1–4, fill in a table of the following type:
f (g(x)) f ′(u) f ′(g(x)) g′(x) (f ◦ g)′
1. f (u) = u3/2, g(x) = x4 + 1
2. f (u) = u3, g(x) = 3x + 5
3. f (u) = tan u, g(x) = x4
4. f (u) = u4 + u, g(x) = cos x
In Exercises 5 and 6, write the function as a composite f (g(x)) and compute the derivative using the Chain Rule.
5. y = (x + sin x)4 6. y = cos(x3)
7. Calculate d
dx cos u for the following choices of u(x):
(a) u(x) = 9 − x2 (b) u(x) = x−1 (c) u(x) = tan x
8. Calculate d
dx f (x2 + 1) for the following choices of f (u):
(a) f (u) = sin u (b) f (u) = 3u3/2 (c) f (u) = u2 − u
9. Compute df
dx if
df
du = 2 and du
dx = 6.
10. Compute df
dx
∣∣∣ x=2
if f (u) = u2, u(2) = −5, and u′(2) = −5.
In Exercises 11–22, use the General Power Rule, Exponential Rule, or the Chain Rule to compute the derivative.
11. y = (x4 + 5)3 12. y = (8x4 + 5)3
13. y = √
7x − 3 14. y = (4 − 2x − 3x2)5
15. y = (x2 + 9x)−2 16. y = (x3 + 3x + 9)−4/3
17. y = cos4 θ 18. y = cos(9θ + 41)
19. y = (2 cos θ + 5 sin θ)9 20. y = √
9 + x + sin x
21. y = ex−12 22. y = e8x+9
In Exercises 23–26, compute the derivative of f ◦ g. 23. f (u) = sin u, g(x) = 2x + 1 24. f (u) = 2u + 1, g(x) = sin x 25. f (u) = eu, g(x) = x + x−1
26. f (u) = u u − 1 , g(x) = csc x
In Exercises 27 and 28, find the derivatives of f (g(x)) and g(f (x)).
27. f (u) = cos u, u = g(x) = x2 + 1
28. f (u) = u3, u = g(x) = 1 x + 1
In Exercises 29–42, use the Chain Rule to find the derivative.
29. y = sin(x2) 30. y = sin2 x
31. y = √
t2 + 9 32. y = (t2 + 3t + 1)−5/2
S E C T I O N 3.7 The Chain Rule 165
33. y = (x4 − x3 − 1)2/3 34. y = ( √
x + 1 − 1)3/2
35. y = (
x + 1 x − 1
)4 36. y = cos3(12θ)
37. y = sec 1 x
38. y = tan(θ2 − 4θ)
39. y = tan(θ + cos θ) 40. y = e2x2
41. y = e2−9t2 42. y = cos3(e4θ ) In Exercises 43–72, find the derivative using the appropriate rule or combination of rules.
43. y = tan(x2 + 4x) 44. y = sin(x2 + 4x)
45. y = x cos(1 − 3x) 46. y = sin(x2) cos(x2)
47. y = (4t + 9)1/2 48. y = (z + 1)4(2z − 1)3
49. y = (x3 + cos x)−4 50. y = sin(cos(sin x))
51. y = √
sin x cos x 52. y = (9 − (5 − 2x4)7)3
53. y = (cos 6x + sin x2)1/2 54. y = (x + 1) 1/2
x + 2
55. y = tan3 x + tan(x3) 56. y = √
4 − 3 cos x
57. y = √
z + 1 z − 1
58. y = (cos3 x + 3 cos x + 7)9
59. y = cos(1 + x) 1 + cos x 60. y = sec(
√ t2 − 9)
61. y = cot7(x5) 62. y = cos(1/x) 1 + x2
63. y = (
1 + cot5(x4 + 1) )9
64. y = 4e−x + 7e−2x
65. y = (2e3x + 3e−2x)4 66. y = cos(te−2t )
67. y = e(x2+2x+3)2 68. y = eex
69. y = √
1 + √
1 + √x 70. y = √√
x + 1 + 1
71. y = (kx + b)−1/3; k and b any constants
72. y = 1√ kt4 + b
; k, b constants, not both zero
In Exercises 73–76, compute the higher derivative.
73. d2
dx2 sin(x2) 74.
d2
dx2 (x2 + 9)5
75. d3
dx3 (9 − x)8 76. d
3
dx3 sin(2x)
77. The average molecular velocity v of a gas in a certain container is given by v(T ) = 29
√ T m/s, where T is the temperature in kelvins. The
temperature is related to the pressure (in atmospheres) by T = 200P . Find
dv
dP
∣∣∣∣ P=1.5
.
78. The power P in a circuit is P = Ri2, where R is the resistance and i is the current. Find dP/dt at t = 13 if R = 1000 # and i varies according to i = sin(4π t) (time in seconds). 79. An expanding sphere has radius r = 0.4t cm at time t (in sec-
onds). Let V be the sphere’s volume. Find dV /dt when (a) r = 3 and (b) t = 3.
80. A 2005 study by the Fisheries Research Services in Aberdeen, Scotland, suggests that the average length of the species Clupea haren- gus (Atlantic herring) as a function of age t (in years) can be modeled by L(t) = 32(1 − e−0.37t ) cm for 0 ≤ t ≤ 13. See Figure 1. (a) How fast is the average length changing at age t = 6 years? (b) At what age is the average length changing at a rate of 5 cm/year?
2 4 6 8 10 12
10
20
30 32
t (year)
L (cm)
FIGURE 1 Average length of the species Clupea harengus. (© A & J Visage/Alamy)
81. A 1999 study by Starkey and Scarnecchia developed the follow- ing model for the average weight (in kilograms) at age t (in years) of channel catfish in the Lower Yellowstone River (Figure 2):
W(t) = (3.46293 − 3.32173e−0.03456t )3.4026
Find the rate at which average weight is changing at age t = 10.
Lower Yellowstone River
5 10 15 20
1 2 3 4 5 6 7 8
t (year)
W (kg)
FIGURE 2 Average weight of channel catfish at age t . (© Doug James/Dreamstime.com)
82. The functions in Exercises 80 and 81 are examples of the von Bertalanffy growth function
M(t) = ( a + (b − a)ekmt
)1/m (m ̸= 0)
introduced in the 1930s by Austrian-born biologist Karl Ludwig von Bertalanffy. Calculate M ′(0) in terms of the constants a, b, k and m.
83. With notation as in Example 8, calculate
(a) d
dθ sin θ
∣∣∣∣ θ=60◦
(b) d
dθ
( θ + tan θ
) ∣∣∣∣ θ=45◦
84. Assume that
f (0) = 2, f ′(0) = 3, h(0) = −1, h′(0) = 7 Calculate the derivatives of the following functions at x = 0: (a) (f (x))3 (b) f (7x) (c) f (4x)h(5x)
166 C H A P T E R 3 DIFFERENTIATION
85. Compute the derivative of h(sin x) at x = π6 , assuming that h′(0.5) = 10.
86. Let F(x) = f (g(x)), where the graphs of f and g are shown in Figure 3. Estimate g′(2) and f ′(g(2)) and compute F ′(2).
1
2
3
4
1 2 3 4 5
f (x)
g(x)
x
y
FIGURE 3
In Exercises 87–90, use the table of values to calculate the derivative of the function at the given point.
x 1 4 6
f (x) 4 0 6 f ′(x) 5 7 4 g(x) 4 1 6 g′(x) 5 12 3
87. f (g(x)), x = 6 88. ef (x), x = 4 89. g(
√ x), x = 16 90. f (2x + g(x)), x = 1
91. The price (in dollars) of a computer component is P = 2C − 18C−1, where C is the manufacturer’s cost to produce it. Assume that cost at time t (in years) is C = 9 + 3t−1. Determine the rate of change of price with respect to time at t = 3.
92. Plot the “astroid” y = (4 − x2/3)3/2 for 0 ≤ x ≤ 8. Show that the part of every tangent line in the first quadrant has a constant length 8.
93. According to the U.S. standard atmospheric model, developed by the National Oceanic and Atmospheric Administration for use in aircraft and rocket design, atmospheric temperature T (in degrees Cel- sius), pressure P (kPa = 1000 pascals), and altitude h (in meters) are related by these formulas (valid in the troposphere h ≤ 11,000):
T = 15.04 − 0.000649h, P = 101.29 + (
T + 273.1 288.08
)5.256
Use the Chain Rule to calculate dP/dh. Then estimate the change in P (in pascals, Pa) per additional meter of altitude when h = 3000.
94. Climate scientists use the Stefan–Boltzmann Law R = σT 4 to estimate the change in the earth’s average temperature T (in kelvins) caused by a change in the radiation R (in joules per square meter per second) that the earth receives from the sun. Here, σ = 5.67 × 10−8 Js−1m−2K−4. Calculate dR/dt , assuming that T = 283 and dT dt = 0.05 K/year. What are the units of the derivative?
95. In the setting of Exercise 94, calculate the yearly rate of change of T if T = 283 K and R increases at a rate of 0.5 Js−1m−2 per year.
96. Use a computer algebra system to compute f (k)(x) for k = 1, 2, 3 for the following functions: (a) f (x) = cot(x2) (b) f (x) =
√ x3 + 1
97. Use the Chain Rule to express the second derivative of f ◦ g in terms of the first and second derivatives of f and g.
98. Compute the second derivative of sin(g(x)) at x = 2, assuming that g(2) = π4 , g′(2) = 5, and g′′(2) = 3.
Further Insights and Challenges 99. Show that if f , g, and h are differentiable, then
[f (g(h(x)))]′ = f ′(g(h(x)))g′(h(x))h′(x)
100. Show that differentiation reverses parity: If f is even, then f ′ is odd, and if f is odd, then f ′ is even. Hint: Differentiate f (−x).
101. (a) Sketch a graph of any even function f and explain graphically why f ′ is odd. (b) Suppose that f ′ is even. Is f necessarily odd? Hint: Check whether this is true for linear functions.
102. Power Rule for Fractional Exponents Let f (u) = uq and g(x) = xp/q . Assume that g is differentiable. (a) Show that f (g(x)) = xp (recall the Laws of Exponents). (b) Apply the Chain Rule and the Power Rule for whole-number ex- ponents to show that f ′(g(x)) g′(x) = pxp−1. (c) Then derive the Power Rule for xp/q .
103. Prove that for all whole numbers n ≥ 1,
dn
dxn sin x = sin
( x + nπ
2
)
Hint: Use the identity cos x = sin ( x + π2
) .
104. A Discontinuous Derivative Use the limit definition to show that g′(0) exists but g′(0) ̸= lim
x→0 g′(x), where
g(x) =
⎧ ⎪⎨
⎪⎩
x2 sin 1 x
x ̸= 0
0 x = 0
105. Chain Rule This exercise proves the Chain Rule without the special assumption made in the text. For any number b, define a new function
F(u) = f (u) − f (b) u − b for all u ̸= b
(a) Show that if we define F(b) = f ′(b), then F is continuous at u = b. (b) Take b = g(a). Show that if x ̸= a, then for all u,
f (u) − f (g(a)) x − a = F(u)
u − g(a) x − a 2
Note that both sides are zero if u = g(a). (c) Substitute u = g(x) in Eq. (2) to obtain
f (g(x)) − f (g(a)) x − a = F(g(x))
g(x) − g(a) x − a
Derive the Chain Rule by computing the limit of both sides as x → a.
S E C T I O N 3.8 Implicit Differentiation 167
3.8 Implicit Differentiation We have developed the basic techniques for calculating a derivative dy/dx when y is given in terms of x by a formula—such as y = x3 + 1. But suppose that y is determined instead by an equation such as
y4 + xy = x3 − x + 2 1 In this case, we say that y is defined implicitly. How can we find the slope of the tangent
2 4
2
(1, 1)
−2
x
y
FIGURE 1 Graph of the implicitly defined function y4 + xy = x3 − x + 2.
line at a point on the graph (Figure 1)? Although it may be difficult or even impossible to solve for y explicitly as a function of x, we can find dy/dx using the method of implicit differentiation.
x
y
1
1
−1
−1
, 45P = ( )35
FIGURE 2 The tangent line to the unit circle x2 + y2 = 1 at P has slope − 34 .
To illustrate, consider the equation of the unit circle (Figure 2):
x2 + y2 = 1 Compute dy/dx by taking the derivative of both sides of the equation:
d
dx
( x2 + y2
) = d
dx (1)
d
dx
( x2
) + d
dx
( y2
) = 0
2x + d dx
( y2
) = 0 2
How do we handle the term ddx (y 2)? We use the Chain Rule. Think of y as a function
y = f (x). Then y2 = (f (x))2 and by the Chain Rule, d
dx y2 = d
dx (f (x))2 = 2f (x)df
dx = 2y dy
dx
Equation (2) becomes 2x + 2y dydx = 0, and we can solve for dy dx if y ̸= 0:
dy
dx = −x
y 3
EXAMPLE 1 Use Eq. (3) to find the slope of the tangent line at the point P = ( 3
5 , 4 5
)
on the unit circle.
Solution Set x = 35 and y = 45 in Eq. (3):
dy
dx
∣∣∣∣ P
= −x y
= − 3 5 4 5
= −3 4
In this particular example, we could have computed dy/dx directly, without implicit differentiation. The upper semicircle is the graph of y =
√ 1 − x2 and
dy
dx = d
dx
√ 1 − x2 = 1
2
( 1 − x2
)−1/2 d dx
( 1 − x2
) = − x√
1 − x2 This formula expresses dy/dx in terms of x alone, whereas Eq. (3) expresses dy/dx in terms of both x and y, as is typical when we use implicit differentiation. The two formulas agree because y =
√ 1 − x2.
Before presenting additional examples, let’s examine again how the factor dy/dx arises when we differentiate an expression involving y with respect to x. It would not
Notice what happens if we insist on applying the Chain Rule to d
dy sin y. The
extra factor appears, but it is equal to 1:
d
dy sin y = (cos y)dy
dy = cos y
appear if we were differentiating with respect to y. Thus,
d
dy sin y = cos y but d
dx sin y = (cos y) dy
dx
d
dy y4 = 4y3 but d
dx y4 = 4y3 dy
dx
168 C H A P T E R 3 DIFFERENTIATION
Similarly, the Product Rule applied to xy yields d
dx (xy) = dx
dx y + x dy
dx = y + x dy
dx
The Quotient Rule applied to t2/y yields
d
dt
( t2
y
) = y
d dt t
2 − t2 dydt y2
= 2ty − t 2 dy
dt
y2
EXAMPLE 2 Find an equation of the tangent line at the point P = (1, 1) on the curve (Figure 1)
y4 + xy = x3 − x + 2 Solution We break up the calculation into two steps.
Step 1. Differentiate both sides of the equation with respect to x. Note that each occurrence of y in the original equation generates an additional dydx upon differentiation.
d
dx y4 + d
dx (xy) = d
dx
( x3 − x + 2
)
4y3 dy
dx +
( y + x dy
dx
) = 3x2 − 1 4
Step 2. Solve for dy
dx .
Move the terms involving dy/dx in Eq. (4) to the left and place the remaining terms on the right:
4y3 dy
dx + x dy
dx = 3x2 − 1 − y
Then factor out dy/dx and divide: ( 4y3 + x
)dy dx
= 3x2 − 1 − y
dy
dx = 3x
2 − 1 − y 4y3 + x 5
To find the derivative at P = (1, 1), apply Eq. (5) with x = 1 and y = 1: dy
dx
∣∣∣∣ (1,1)
= 3 · 1 2 − 1 − 1
4 · 13 + 1 = 1 5
An equation of the tangent line is y − 1 = 15 (x − 1) or y = 15x + 45 .
CONCEPTUAL INSIGHT The graph of an equation does not always define a function be- cause there may be more than one y-value for a given value of x. Implicit differentiation works because the graph is generally made up of several pieces called branches, each of which does define a function (a proof of this fact relies on the Implicit Function Theorem from advanced calculus). For example, the branches of the unit circle x2 + y2 = 1 are the graphs of the functions y =
√ 1 − x2 and y = −
√ 1 − x2. Similarly, the graph in
Figure 3 has an upper and a lower branch. In most examples, the branches are differen- tiable except at certain exceptional points where the tangent line may be vertical.
Upper branch Lower branch
x
y
x
y
x
y
FIGURE 3 Each branch of the graph of y4 + xy = x3 − x + 2 defines a function of x.
S E C T I O N 3.8 Implicit Differentiation 169
EXAMPLE 3 Find the slope of the tangent line at the point P = (1, 1) on the graph of ex−y = 2x2 − y2. Solution We follow the steps of the previous example, this time writing y′ for dy/dx:
−2 4
−2
2
4
x
y
P = (1, 1)
FIGURE 4 Graph of ex−y = 2x2 − y2.
d
dx ex−y = d
dx (2x2 − y2)
ex−y(1 − y′) = 4x − 2yy′ (Chain Rule applied to ex−y)
ex−y − ex−yy′ = 4x − 2yy′
(2y − ex−y)y′ = 4x − ex−y (place all y′-terms on left)
y′ = 4x − e x−y
2y − ex−y
The slope of the tangent line at P = (1, 1) is (Figure 4)
dy
dx
∣∣∣∣ (1,1)
= 4(1) − e 1−1
2(1) − e1−1 = 4 − 1 2 − 1 = 3
EXAMPLE 4 Shortcut to Derivative at a Specific Point Calculate dy
dt
∣∣∣∣ P
at the point
−1−2−3 1 2 3
−10
−5
5
10
15
P
t
y
FIGURE 5 Graph of y cos(y + t + t2) = t3. The tangent line at P =
( 0, 5π2
) has slope −1.
P = ( 0, 5π2
) on the curve (Figure 5):
y cos(y + t + t2) = t3
Solution As before, differentiate both sides of the equation (we write y′ for dy/dt):
d
dt y cos(y + t + t2) = d
dt t3
y′ cos(y + t + t2) − y sin(y + t + t2)(y′ + 1 + 2t) = 3t2 6
We could continue to solve for y′, but that is not necessary. Instead, we can substitute t = 0, y = 5π2 directly in Eq. (6) to obtain
y′ cos (
5π 2
+ 0 + 02 )
− (
5π 2
) sin
( 5π 2
+ 0 + 02 )
(y′ + 1 + 0) = 0
0 − (
5π 2
) (1)(y′ + 1) = 0
This gives us y′ + 1 = 0 or y′ = −1.
Derivatives of Inverse Trigonometric Functions We now apply implicit differentiation to determine the derivatives of the inverse trigono- metric functions. An interesting feature of these functions is that their derivatives are not trigonometric. Rather, they involve quadratic expressions and their square roots. Keep in mind the restricted domains of these functions.
THEOREM 1 Derivatives of Arcsine and Arccosine
d
dx (sin−1 x) = 1√
1 − x2 ,
d
dx (cos−1 x) = − 1√
1 − x2 7
Proof If y = sin−1 x, our goal is to find dydx . By applying sine to both sides, we have
sin y = x
170 C H A P T E R 3 DIFFERENTIATION
Differentiating both sides of the equation, treating x as itself and y as a function of x, we obtain
cos y dy
dx = 1
dy
dx = 1
cos y
In order to determine an algebraic expression in x for cos y, we construct a right triangle
REMINDER In Example 7 of Section 1.5, we used the right triangle in Figure 6 in the computation:
cos(sin−1 x) = cos y = adjacent hypotenuse
= √
1 − x2
1 − x2
1 x
y
FIGURE 6 Right triangle constructed so that sin y = x.
as in Figure 6 such that sin y = x. We choose y to be its angle, and take its hypotenuse to be of length 1 and its opposite edge to have length x. Then, by the Pythagorean Theorem, its adjacent side must have length
√ 1 − x2. We can therefore read off the triangle that
cos y = √
1−x2 1 =
√ 1 − x2. Thus,
dy
dx = 1
cos y = 1√
1 − x2
The fact that the domain of the inverse sine function is from −π/2 to π/2, over which cosine is nonnegative, allows us to take the positive square root rather than the negative square root.
The computation of d
dx (cos−1 x) is similar (see Exercise 45 or the next example).
EXAMPLE 5 Complementary Angles The derivatives of sin−1 x and cos−1 x are equal up to a minus sign. Explain this by proving that
sin−1 x + cos−1 x = π 2
Solution In Figure 7, we have θ = sin−1 x and ψ = cos−1 x. These angles are comple-
θ
ψ 1
x
FIGURE 7 The angles θ = sin−1 x and ψ = cos−1 x are complementary and thus sum to π/2.
mentary, so θ + ψ = π2 as claimed. Therefore,
sin−1 x = π 2
− cos−1 x
d
dx sin−1 x = d
dx
(π 2
− cos−1 x )
= − d dx
cos−1 x
EXAMPLE 6 Calculate f ′ ( 1
2
) , where f (x) = arcsin(x2).
Solution Recall that arcsin x is another notation for sin−1 x. By the Chain Rule,
The proofs of the formulas in Theorem 2 are similar to the proof of Theorem 1. See Exercises 46–48.
d
dx arcsin(x2) = d
dx (sin−1(x2)) = 1√
1 − (x2)2 d
dx (x2) = 2x√
1 − x4
f ′ (
1 2
) = 2
( 1 2
) √
1 − ( 1
2
)4 = 1√
15 16
= 4√ 15
THEOREM 2 Derivatives of Inverse Trigonometric Functions
d
dx tan−1 x = 1
x2 + 1 , d
dx cot−1 x = − 1
x2 + 1 d
dx sec−1 x = 1
|x| √
x2 − 1 ,
d
dx csc−1 x = − 1
|x| √
x2 − 1
S E C T I O N 3.8 Implicit Differentiation 171
EXAMPLE 7 Calculate d
dx (csc−1(ex + 1))
∣∣∣∣ x=0
.
Solution Apply the Chain Rule using the formula d
du csc−1 u = − 1
|u| √
u2 − 1 :
d
dx csc−1(ex + 1) = − 1
|ex + 1| √
(ex + 1)2 − 1 d
dx (ex + 1)
= − e x
(ex + 1) √
e2x + 2ex
We have replaced |ex + 1| by ex + 1 because this quantity is positive. Now we have
d
dx csc−1(ex + 1)
∣∣∣∣ x=0
= − e 0
(e0 + 1) √
e0 + 2e0 = − 1
2 √
3
Finding Higher Order Derivatives Implicitly We may need to find a higher order derivative of a function that is defined implicitly, as in the next example.
EXAMPLE 8 Find a formula for d 2y
dx2 if y is defined implicitly as a function of x by
x2 + 4y2 = 7. Solution We differentiate with respect to x, writing y′ for dydx .
2x + 8yy′ = 0
Solving for y′, we obtain
y′ = −x 4y
Differentiating again with respect to x, we obtain
y′′ = 4y(−1) − (−x)(4y ′)
16y2 = −y + xy
′
4y2
Substituting in the fact that y′ = −x4y yields
y′′ = −y + x(−x/4y) 4y2
= −4y 2 − x2
16y3
3.8 SUMMARY
• Implicit differentiation is used to compute dy/dx when x and y are related by an equation.
Step 1. Take the derivative of both sides of the equation with respect to x. Step 2. Solve for dy/dx by collecting the terms involving dy/dx on one side and the remaining terms on the other side of the equation.
• Remember to include the factor dy/dx when differentiating expressions involving y with respect to x. For instance,
d
dx sin y = (cos y) dy
dx
172 C H A P T E R 3 DIFFERENTIATION
• Derivative formulas:
d
dx sin−1 x = 1√
1 − x2 ,
d
dx cos−1 x = − 1√
1 − x2 d
dx tan−1 x = 1
x2 + 1 , d
dx cot−1 x = − 1
x2 + 1 d
dx sec−1 x = 1
|x| √
x2 − 1 ,
d
dx csc−1 x = − 1
|x| √
x2 − 1
3.8 EXERCISES
Preliminary Questions 1. Which differentiation rule is used to show
d
dx sin y = cos y dy
dx ?
2. One of (a)–(c) is incorrect. Find and correct the mistake.
(a) d
dy sin(y2) = 2y cos(y2) (b) d
dx sin(x2) = 2x cos(x2)
(c) d
dx sin(y2) = 2y cos(y2)
3. On an exam, Jason was asked to differentiate the equation
x2 + 2xy + y3 = 7
Find the errors in Jason’s answer: 2x + 2xy′ + 3y2 = 0.
4. Which of (a) or (b) is equal to d
dx (x sin t)?
(a) (x cos t) dt
dx (b) (x cos t)
dt
dx + sin t
5. Determine which inverse trigonometric function g has the deriva- tive
g′(x) = 1 x2 + 1
6. What does the following identity tell us about the derivatives of sin−1 x and cos−1 x?
sin−1 x + cos−1 x = π 2
Exercises 1. Show that if you differentiate both sides of x2 + 2y3 = 6, the re-
sult is 2x + 6y2 dydx = 0. Then solve for dy/dx and evaluate it at the point (2, 1).
2. Show that if you differentiate both sides of xy + 4x + 2y = 1, the result is (x + 2) dydx + y + 4 = 0. Then solve for dy/dx and evaluate it at the point (1, −1). In Exercises 3–8, differentiate the expression with respect to x, assum- ing that y = f (x).
3. x2y3 4. x3
y2 5. (x2 + y2)3/2
6. tan(xy) 7. y
y + 1 8. e y/x
In Exercises 9–26, calculate the derivative with respect to x.
9. 3y3 + x2 = 5 10. y4 − 2y = 4x3 + x
11. x2y + 2x3y = x + y 12. xy2 + x2y5 − x3 = 3
13. x3R5 = 1 14. x4 + z4 = 1
15. y
x + x
y = 2y 16.
√ x + s = 1
x + 1
s
17. y−2/3 + x3/2 = 1 18. x1/2 + y2/3 = −4y
19. y + 1 y
= x2 + x 20. sin(xt) = t
21. sin(x + y) = x + cos y 22. tan(x2y) = (x + y)3
23. xey = 2xy + y3 24. exy = sin(y2)
25. ln x + ln y = x − y 26. ln(x2 + y2) = x + 4 In Exercises 27–30, compute the derivative at the point indicated with- out using a calculator.
27. y = sin−1 x, x = 35 28. y = tan−1 x, x = 12 29. y = sec−1 x, x = 4 30. y = arccos(4x), x = 15 In Exercises 31–44, find the derivative.
31. y = sin−1(7x) 32. y = arctan (x
3
)
33. y = cos−1(x2) 34. y = sec−1(t + 1)
35. y = x tan−1 x 36. y = ecos−1 x
37. y = arcsin(ex) 38. y = csc−1(x−1)
39. y = √
1 − t2 + sin−1 t 40. y = tan−1 (
1 + t 1 − t
)
41. y = (tan−1 x)3 42. y = cos −1 x
sin−1 x 43. y = cos−1 t−1 − sec−1 t 44. y = cos−1(x + sin−1 x)
45. Use Figure 8 to prove that (cos−1 x)′ = − 1√ 1 − x2
.
1
x y
1 − x2
FIGURE 8 Right triangle with y = cos−1 x.
S E C T I O N 3.8 Implicit Differentiation 173
46. Show that (tan−1 x)′ = cos2(tan−1 x) and then use Figure 9 to prove that (tan−1 x)′ = (x2 + 1)−1.
1
x
y
1 + x2
FIGURE 9 Right triangle with y = tan−1 x.
47. Let y = sec−1 x. Show that tan y = √
x2 − 1 if x ≥ 1 and that tan y = −
√ x2 − 1 if x ≤ −1. Hint: tan y ≥ 0 on
( 0, π2
) and tan y ≤ 0
on (π
2 , π ) .
48. Use Exercise 47 to verify the formula
(sec−1 x)′ = 1 |x|
√ x2 − 1
49. Show that x + yx−1 = 1 and y = x − x2 define the same curve [except that (0, 0) is not a solution of the first equation] and that im- plicit differentiation yields y′ = yx−1 − x and y′ = 1 − 2x. Explain why these formulas produce the same values for the derivative.
50. Use the method of Example 4 to compute dydx ∣∣ P at P = (2, 1) on
the curve y2x3 + y3x4 − 10x + y = 5.
In Exercises 51 and 52, find dy/dx at the given point.
51. (x + 2)2 − 6(2y + 3)2 = 3, (1, −1)
52. sin2(3y) = x + y, (
2 − π 4
, π
4
)
In Exercises 53–60, find an equation of the tangent line at the given point.
53. xy + x2y2 = 6, (2, 1) 54. x2/3 + y2/3 = 2, (1, 1)
55. x2 + sin y = xy2 + 1, (1, 0)
56. sin(x − y) = x cos ( y + π4
) ,
(π 4 ,
π 4 )
57. 2x1/2 + 4y−1/2 = xy, (1, 4) 58. x2ey + yex = 4, (2, 0)
59. e2x−y = x 2
y , (2, 4)
60. y2ex 2−16 − xy−1 = 2, (4, 2)
61. Find the points on the graph of y2 = x3 − 3x + 1 (Figure 10) where the tangent line is horizontal.
(a) First show that 2yy′ = 3x2 − 3, where y′ = dy/dx. (b) Do not solve for y′. Rather, set y′ = 0 and solve for x. This yields two values of x where the slope may be zero.
(c) Show that the positive value of x does not correspond to a point on the graph.
(d) The negative value corresponds to the two points on the graph where the tangent line is horizontal. Find their coordinates.
2
−2
−2 −1 1 2 x
y
FIGURE 10 Graph of y2 = x3 − 3x + 1.
62. Show, by differentiating the equation, that if the tangent line at a point (x, y)on the curvex2y − 2x + 8y = 2 is horizontal, thenxy = 1. Then substitute y = x−1 in x2y − 2x + 8y = 2 to show that the tan- gent line is horizontal at the points
( 2, 12
) and
( − 4, − 14
) .
63. Find all points on the graph of 3x2 + 4y2 + 3xy = 24 where the tangent line is horizontal (Figure 11).
x
y
FIGURE 11 Graph of 3x2 + 4y2 + 3xy = 24.
64. Show that no point on the graph of x2 − 3xy + y2 = 1 has a hor- izontal tangent line.
65. Figure 1 shows the graph of y4 + xy = x3 − x + 2. Find dy/dx at the two points on the graph with x-coordinate 0 and find an equation of the tangent line at (1, 1).
66. Folium of Descartes The curve x3 + y3 = 3xy (Figure 12) was first discussed in 1638 by the French philosopher-mathematician René Descartes, who called it the folium (meaning “leaf”). Descartes’s sci- entific colleague Gilles de Roberval called it the jasmine flower. Both men believed incorrectly that the leaf shape in the first quadrant was repeated in each quadrant, giving the appearance of petals of a flower. Find an equation of the tangent line at the point
( 2 3 ,
4 3 ) .
2
−2
−2 2 x
y
FIGURE 12 Folium of Descartes: x3 + y3 = 3xy.
67. Find a point on the folium x3 + y3 = 3xy other than the origin at which the tangent line is horizontal.
174 C H A P T E R 3 DIFFERENTIATION
68. Plot x3 + y3 = 3xy + b for several values of b and describe how the graph changes as b → 0. Then compute dy/dx at the point (b1/3, 0). How does this value change as b → ∞? Do your plots confirm this conclusion?
69. Find the x-coordinates of the points where the tangent line is hor- izontal on the trident curve xy = x3 − 5x2 + 2x − 1, so named by Isaac Newton in his treatise on curves published in 1710 (Figure 13). Hint: 2x3 − 5x2 + 1 = (2x − 1)(x2 − 2x − 1).
20
−20
−2 86
4
2 x
y
FIGURE 13 Trident curve: xy = x3 − 5x2 + 2x − 1.
70. Find an equation of the tangent line at each of the four points on the curve (x2 + y2 − 4x)2 = 2(x2 + y2) where x = 1. This curve (Figure 14) is an example of a limaçon of Pascal, named after the father of the French philosopher Blaise Pascal, who first described it in 1650.
3
−3
531 x
y
FIGURE 14 Limaçon: (x2 + y2 − 4x)2 = 2(x2 + y2).
71. Find the derivative at the points where x = 1 on the folium (x2 + y2)2 = 254 xy
2. See Figure 15.
2
−2
1 x
y
FIGURE 15 Folium curve: (x2 + y2)2 = 25 4
xy2.
72. Plot (x2 + y2)2 = 12(x2 − y2) + 2 for −4 ≤ x ≤ 4, −4 ≤ y ≤ 4 using a computer algebra system. How many horizon- tal tangent lines does the curve appear to have? Find the points where these occur.
73. Calculate dx/dy for the equation y4 + 1 = y2 + x2 and find the points on the graph where the tangent line is vertical.
74. Show that the tangent lines at x = 1 ± √
2 to the conchoid with equation (x − 1)2(x2 + y2) = 2x2 are vertical (Figure 16).
2
1
−1
−2
21 x
y
FIGURE 16 Conchoid: (x − 1)2(x2 + y2) = 2x2.
75. Use a computer algebra system to plot y2 = x3 − 4x for −4 ≤ x ≤ 4, −4 ≤ y ≤ 4. Show that if dx/dy = 0, then y = 0. Con- clude that the tangent line is vertical at the points where the curve intersects the x-axis. Does your plot confirm this conclusion?
76. Show that for all points P on the graph in Figure 17, the segments OP and PR have equal length.
x
y
P
Tangent line
RO
FIGURE 17 Graph of x2 − y2 = a2.
In Exercises 77–80, use implicit differentiation to calculate higher derivatives.
77. Consider the equation y3 − 32x 2 = 1.
(a) Show that y′ = x/y2 and differentiate again to show that
y′′ = y 2 − 2xyy′
y4
(b) Express y′′ in terms of x and y using part (a).
78. Use the method of the previous exercise to show that y′′ = −y−3 on the circle x2 + y2 = 1.
79. Calculate y′′ at the point (1, 1) on the curve xy2 + y − 2 = 0 by the following steps: (a) Find y′ by implicit differentiation and calculate y′ at the point (1, 1). (b) Differentiate the expression for y′ found in (a). Then compute y′′ at (1, 1) by substituting x = 1, y = 1, and the value of y′ found in (a).
80. Use the method of the previous exercise to compute y′′ at the point (1, 1) on the curve x3 + y3 = 3x + y − 2. In Exercises 81–83, x and y are functions of a variable t and use implicit differentiation to relate dy/dt and dx/dt .
81. Differentiate xy = 1 with respect to t and derive the relation dy
dt = −y
x
dx
dt .
S E C T I O N 3.9 Derivatives of General Exponential and Logarithmic Functions 175
82. Differentiate
x3 + 3xy2 = 1
with respect to t and express dy/dt in terms of dx/dt , as in Exer- cise 81.
83. Calculate dy/dt in terms of dx/dt . (a) x3 − y3 = 1 (b) y4 + 2xy + x2 = 0
84. The volume V and pressure P of gas in a piston (which vary in time t) satisfy PV 3/2 = C, where C is a constant. Prove that
dP/dt
dV /dt = −3
2 P
V
The ratio of the derivatives is negative. Could you have predicted this from the relation PV 3/2 = C?
Further Insights and Challenges 85. Show that if P lies on the intersection of the two curves x2 − y2 = c and xy = d (c, d constants), then the tangents to the curves at P are perpendicular.
86. The lemniscate curve (x2 + y2)2 = 4(x2 − y2) was discovered by Jacob Bernoulli in 1694, who noted that it is “shaped like a figure 8, or a knot, or the bow of a ribbon.” Find the coordinates of the four points at which the tangent line is horizontal (Figure 18).
1
−1
−1 1 x
y
FIGURE 18 Lemniscate curve: (x2 + y2)2 = 4(x2 − y2).
87. Divide the curve in Figure 19 into five branches, each of which is the graph of a function. Sketch the branches.
2
−2
−2−4 4
2 x
y
FIGURE 19 Graph of y5 − y = x2y + x + 1.
3.9 Derivatives of General Exponential and Logarithmic Functions In Section 3.2, we proved that for any base b > 0,
d
dx bx = m(b) bx, where m(b) = lim
h→0 bh − 1
h
but we were not able to identify the factorm(b) [other than to say that e is the unique numberREMINDER ln x is the natural logarithm; that is, ln x = loge x. for which m(e) = 1]. Now we can use implicit differentiation to prove that m(b) = ln b.
If y = bx , then our goal is to find dydx . Taking the natural log of both sides yields
ln y = ln bx = x ln b
Then we implicitly differentiate each side of the equation with respect to x, treating x as itself and treating y as a function of x. This yields
1 y
dy
dx = ln b
Thus, since y = bx , we have dydx = y ln b = bx ln b. Therefore, we have the following theorem.
THEOREM 1 Derivative of f (x) = bx
d
dx bx = (ln b)bx for b > 0 1
For example, (10 x)′ = (ln 10)10 x .
176 C H A P T E R 3 DIFFERENTIATION
EXAMPLE 1 Differentiate: (a) f (x) = 43x and (b) f (x) = 5x2 . Solution
(a) The function f (x) = 43x is a composite of 4u and u = 3x: d
dx 43x =
( d
du 4u
) du
dx = (ln 4)4u(3x)′ = (ln 4)43x(3) = (3 ln 4)43x
(b) The function f (x) = 5x2 is a composite of 5u and u = x2: d
dx 5x
2 = (
d
du 5u
) du
dx = (ln 5)5u(x2)′ = (ln 5)5x2(2x) = (2 ln 5) x 5x2
The Derivative of the Natural Logarithm Next, we’ll find the derivative of f (x) = ln x. Letting y = ln x and assuming x > 0 so it is in the domain of ln x, our goal is to find dy/dx. But then we have
ey = eln x
ey = x
Implicitly differentiating, we obtain
ey dy
dx = 1
dy
dx = 1
ey = 1
x
THEOREM 2 Derivative of the Natural Logarithm
d
dx ln x = 1
x for x > 0 2
EXAMPLE 2 Differentiate: (a) y = x ln x and (b) y = (ln x)2.The two most important calculus facts about exponentials and logs are
d
dx ex = ex, d
dx ln x = 1
x
Solution
(a) Use the Product Rule:
d
dx (x ln x) = x · (ln x)′ + (x)′ · ln x
= x · 1 x
+ ln x = 1 + ln x
(b) Use the General Power Rule:
d
dx (ln x)2 = 2 ln x · d
dx ln x = 2 ln x
x
We obtain a useful formula for the derivative of ln(f (x)) by applying the Chain Rule
In Section 3.2, we proved the Power Rule for whole-number exponents. We can now prove it for all exponents n by writing xn as an exponential and using the Chain Rule. For x > 0,
xn = (eln x)n = en ln x
d
dx xn = d
dx en ln x =
( d
dx n ln x
) en ln x
= (n
x
) xn = nxn−1
with u = f (x): d
dx ln(f (x)) = d
du ln(u)
du
dx = 1
u · u′ = 1
f (x) f ′(x)
d
dx ln(f (x)) = f
′(x) f (x)
3
S E C T I O N 3.9 Derivatives of General Exponential and Logarithmic Functions 177
EXAMPLE 3 Differentiate: (a) y = ln(x3 + 1) and (b) y = ln( √
sin x).
Solution Use Eq. (3):
(a) d
dx ln(x3 + 1) = (x
3 + 1)′ x3 + 1 =
3x2
x3 + 1 (b) The algebra is simpler if we write ln(
√ sin x) = ln
( (sin x)1/2
) = 12 ln(sin x):
d
dx ln
(√ sin x
) = 1
2 d
dx ln(sin x)
= 1 2
(sin x)′
sin x = 1
2 cos x sin x
= 1 2
cot x
EXAMPLE 4 Logarithm to Another Base Calculate d
dx log10 x.
REMINDER According to Eq. (1) in Section 1.6, we have the “change-of-base” formulas:
logb x = loga x loga b
, logb x = ln x ln b
It follows, as in Example 4, that for any base b > 0, b ̸= 1:
d
dx logb x =
1 (ln b)x
Solution By the change-of-base formula (see margin), log10 x = ln xln 10 . Therefore,
d
dx log10 x =
d
dx
( ln x ln 10
) = 1
ln 10 d
dx ln x = 1
(ln 10)x
Logarithmic Differentiation The next example illustrates logarithmic differentiation. This technique saves work when the function is a product or quotient with several factors.
EXAMPLE 5 Find the derivative ofLogarithmic differentiation makes what would be a painful and tedious derivative to take, involving multiple applications of the product and quotient rules, into a relatively easy procedure.
f (x) = (x + 1) 2(2x2 − 3)√ x2 + 1
Solution In logarithmic differentiation, we differentiate ln(f (x)) rather than f (x) itself. First, we take the natural log of both sides of the equation:
ln f (x) = ln (
(x + 1)2(2x2 − 3)√ x2 + 1
)
Then we expand the right-hand side using the logarithm rules:
ln(f (x)) = ln ( (x + 1)2
) + ln
( 2x2 − 3
) − ln
(√ x2 + 1
)
= 2 ln(x + 1) + ln ( 2x2 − 3
) − 1
2 ln(x2 + 1)
Next use Eq. (3):
f ′(x) f (x)
= d dx
ln(f (x)) = 2 d dx
ln ( x + 1
) + d
dx ln
( 2x2 − 3
) − 1
2 d
dx ln
( x2 + 1
)
f ′(x) f (x)
= 2 x + 1 +
4x 2x2 − 3 −
1 2
2x x2 + 1
Finally, multiply through by f (x):
f ′(x) = (
2 x + 1 +
4x 2x2 − 3 −
x
x2 + 1
)( (x + 1)2(2x2 − 3)√
x2 + 1
)
Logarithmic differentiation also allows us to take the derivative of functions of the form y = f (x)g(x), where both the base and the exponent depend on x.
178 C H A P T E R 3 DIFFERENTIATION
EXAMPLE 6 Differentiate (for x > 0): (a) f (x) = xx and (b) g(x) = xsin x . Solution The two problems are similar (Figure 1). We illustrate two different methods.
4 8 x
y
4
8
g(x) = x sin x
2 4 x
y
2
4
f(x) = xx
FIGURE 1 Graphs of f (x) = xx and g(x) = xsin x .
(a) Method 1: Use the identity x = eln x to rewrite f (x) as an exponential: f (x) = xx = (eln x)x = ex ln x
f ′(x) = (x ln x)′ex ln x = (1 + ln x)ex ln x = (1 + ln x)xx
(b) Method 2: Apply Eq. (3) to ln(g(x)). Since ln(g(x)) = ln(xsin x) = (sin x) ln x, g′(x) g(x)
= d dx
ln(g(x)) = d dx
( (sin x) ln x
) = sin x
x + (cos x) ln x
g′(x) = (
sin x x
+ (cos x) ln x )
g(x) = (
sin x x
+ (cos x) ln x )
xsin x
Derivatives of Hyperbolic Functions Recall from Section 1.6 that the hyperbolic functions are special combinations of ex
and e−x . The formulas for their derivatives are similar to those for the corresponding trigonometric functions, differing at most by a sign.
Consider the hyperbolic sine and cosine:
sinh x = e x − e−x
2 , cosh x = e
x + e−x 2
Their derivatives are
d
dx sinh x = cosh x, d
dx cosh x = sinh x
We can check this directly. For example,
d
dx
( ex − e−x
2
) =
( ex − e−x
2
)′ = e
x + e−x 2
= cosh x
Note the resemblance to the formulas ddx sin x = cos x, ddx cos x = − sin x. The deriva- tives of the other hyperbolic functions, which are computed in a similar fashion, also differ from their trigonometric counterparts by a sign at most.
Derivatives of Hyperbolic and Trigonometric Functions
d
dx tanh x = sech2 x, d
dx tan x = sec2 x
d
dx coth x = − csch2 x, d
dx cot x = − csc2 x
d
dx sech x = − sech x tanh x, d
dx sec x = sec x tan x
d
dx csch x = − csch x coth x, d
dx csc x = − csc x cot x
REMINDER
tanh x = sinh x cosh x
= e x − e−x
ex + e−x
sech x = 1 cosh x
= 2 ex + e−x
coth x = cosh x sinh x
= e x + e−x
ex − e−x
csch x = 1 sinh x
= 2 ex − e−x
EXAMPLE 7 Verify d
dx coth x = − csch2 x.REMINDER Hyperbolic sine and cosine
satisfy the basic identity (Section 1.6)
cosh2 x − sinh2 x = 1 Solution By the Quotient Rule and the identity cosh2 x − sinh2 x = 1,
d
dx coth x =
( cosh x sinh x
)′ = (sinh x)(cosh x)
′ − (cosh x)(sinh x)′ sinh2 x
= sinh 2 x − cosh2 x sinh2 x
= −1 sinh2 x
= − csch2 x
S E C T I O N 3.9 Derivatives of General Exponential and Logarithmic Functions 179
EXAMPLE 8 Calculate: (a) d
dx cosh(3x2 + 1) and (b) d
dx sinh x tanh x.
Solution
(a) By the Chain Rule, ddx cosh(3x 2 + 1) = 6x sinh(3x2 + 1).
(b) By the Product Rule,
d
dx (sinh x tanh x) = sinh x sech2 x + tanh x cosh x = sech x tanh x + sinh x
Inverse Hyperbolic Functions Recall that a function f with domain D has an inverse if it is one-to-one on D. Each of the hyperbolic functions except f (x) = cosh x and f (x) = sech x is one-to-one on its domain and therefore has a well-defined inverse. The functions f (x) = cosh x and f (x) = sech x are one-to-one on the restricted domain {x : x ≥ 0}. We let f (x) = cosh−1 x and f (x) = sech−1 x denote the corresponding inverses (Figure 2). In reading the following
y = cosh−1 x
y = cosh x
y
3
2
1
1 2 3 x
−3 −1−2
y = sech x
y = sech−1 x
y
3
2
1
1
(B)
(A)
2 3 x
−3 −1−2
FIGURE 2
table, keep in mind that the domain of the inverse is equal to the range of the function.
Inverse Hyperbolic Functions and Their Derivatives
Function Domain Derivative
y = sinh−1 x all x d dx
sinh−1 x = 1√ x2 + 1
y = cosh−1 x x ≥ 1 d dx
cosh−1 x = 1√ x2 − 1
y = tanh−1 x |x| < 1 d dx
tanh−1 x = 1 1 − x2
y = coth−1 x |x| > 1 d dx
coth−1 x = 1 1 − x2
y = sech−1 x 0 < x ≤ 1 d dx
sech−1 x = − 1 x √
1 − x2
y = csch−1 x x ̸= 0 d dx
csch−1 x = − 1 |x|
√ x2 + 1
EXAMPLE 9 Verify d
dx tanh−1 x = 1
1 − x2 .
REMINDER The derivatives of cosh−1 x and sech−1 x are undefined at the endpoint x = 1 of their domains.
Solution Let y = tanh−1 x. Then tanh y = x. Differentiating implicitly yields
sech2 y dy
dx = 1
dy
dx = 1
sech2 y
Therefore,
d
dx tanh−1 x = 1
sech2(tanh−1 x)
To compute sech2(y),
cosh2 y − sinh2 y = 1 (basic identity) 1 − tanh2 y = sech2 y (divide by cosh2 t)
1 − x2 = sech2(y) (because x = tanh y)
180 C H A P T E R 3 DIFFERENTIATION
This gives the desired result:
d
dx tanh−1 x = 1
sech2 y = 1
1 − x2
y = coth−1 x
coth−1 x
y = tanh−1 x
x
y
1−1
y =
FIGURE 3 The functions y = tanh−1 x and y = coth−1 x have disjoint domains.
The functions y = tanh−1 x and y = coth−1 x both have derivative 1/(1 − x2). Note, however, that their domains are disjoint (Figure 3).
3.9 SUMMARY
• Derivative formulas:
d
dx ex = ex, d
dx ln x = 1
x ,
d
dx bx = (ln b)bx, d
dx logb x =
1 (ln b)x
• Use logarithmic differentiation on functions that are products or quotients of several factors, and on functions of the form y = f (x)g(x).
• Hyperbolic functions:
d
dx sinh x = cosh x, d
dx cosh x = sinh x
d
dx tanh x = sech2 x, d
dx coth x = − csch2 x
d
dx sech x = − sech x tanh x, d
dx csch x = − csch x coth x
• Inverse hyperbolic functions:
d
dx sinh−1 x = 1√
x2 + 1 ,
d
dx cosh−1 x = 1√
x2 − 1 (x > 1)
d
dx tanh−1 x = 1
1 − x2 (|x| < 1), d
dx coth−1 x = 1
1 − x2 (|x| > 1)
d
dx sech−1 x = −1
x √
1 − x2 (0 < x < 1),
d
dx csch−1 x = − 1
|x| √
x2 + 1 (x ̸= 0)
3.9 EXERCISES
Preliminary Questions 1. What is the slope of the tangent line to y = 4x at x = 0?
2. What is the rate of change of y = ln x at x = 10?
3. What is b > 0 if the tangent line to y = bx at x = 0 has slope 2?
4. What is b if (logb x) ′ = 1
3x ?
5. What are y(100) and y(101) for y = cosh x?
Exercises In Exercises 1–20, find the derivative.
1. y = x ln x 2. y = t ln t − t
3. y = 2x3 4. y = ln(x5)
5. y = ln(9x2 − 8) 6. y = ln(t5t )
7. y = (ln x)2 8. y = x2 ln x
9. y = e(ln x)2 10. y = ln x x
11. y = ln(ln x) 12. y = ln(cot x)
13. y = (
ln(ln x) )3 14. y = ln
( (ln x)3
)
15. y = ln ( (x + 1)(2x + 9)
) 16. y = ln
( x + 1 x3 + 1
)
17. y = 11x 18. y = 74x−x2
19. y = 2 x − 3−x
x 20. y = 16sin x
In Exercises 21–24, compute the derivative.
21. f ′(x), f (x) = log2 x 22. f ′(3), f (x) = log5 x
23. d
dt log3(sin t) 24.
d
dt log10(t + 2t )
S E C T I O N 3.9 Derivatives of General Exponential and Logarithmic Functions 181
In Exercises 25–36, find an equation of the tangent line at the point indicated.
25. f (x) = 6x , x = 2 26. y = ( √
2)x , x = 8
27. s(t) = 39t , t = 2 28. y = π5x−2, x = 1
29. f (x) = 5x2−2x , x = 1 30. s(t) = ln t , t = 5
31. s(t) = ln(8 − 4t), t = 1 32. f (x) = ln(x2), x = 4
33. R(z) = log5(2z2 + 7), z = 3 34. y = ln(sin x), x = π
4
35. f (w) = log2 w, w = 18 36. y = log2(1 + 4x−1), x = 4 In Exercises 37–44, find the derivative using logarithmic differentiation as in Example 5.
37. y = (x + 5)(x + 9) 38. y = (3x + 5)(4x + 9)
39. y = (x − 1)(x − 12)(x + 7) 40. y = x(x + 1) 3
(3x − 1)2
41. y = x(x 2 + 1)√ x + 1
42. y = (2x + 1)(4x2) √
x − 9
43. y = √
x(x + 2) (2x + 1)(3x + 2)
44. y = (x3 + 1)(x4 + 2)(x5 + 3)2
In Exercises 45–50, find the derivative using either method of Ex- ample 6.
45. f (x) = x3x 46. f (x) = x3x
47. f (x) = xex 48. f (x) = xx2
49. f (x) = xcos x 50. f (x) = exx
In Exercises 51–74, calculate the derivative.
51. y = sinh(9x) 52. y = sinh(x2)
53. y = cosh2(9 − 3t) 54. y = tanh(t2 + 1)
55. y = √
cosh x + 1 56. y = sinh x tanh x
57. y = coth t 1 + tanh t 58. y = (ln(cosh x))
5
59. y = sinh(ln x) 60. y = ecoth x
61. y = tanh(ex) 62. y = sinh(cosh3 x)
63. y = sech(√x) 64. y = ln(coth x)
65. y = sech x coth x 66. y = xsinh x
67. y = cosh−1(3x) 68. y = tanh−1(ex + x2)
69. y = (sinh−1(x2))3 70. y = (csch−1 3x)4
71. y = ecosh−1 x 72. y = sinh−1( √
x2 + 1)
73. y = tanh−1(ln t) 74. y = ln(tanh−1 x) In Exercises 75–77, prove the formula.
75. d
dx (coth x) = − csch2 x 76. d
dt sinh−1 t = 1√
t2 + 1
77. d
dt cosh−1 t = 1√
t2 − 1 for t > 1
78. Use the formula (ln f (x))′ = f ′(x)/f (x) to show that ln x and ln(2x) have the same derivative. Is there a simpler explanation of this result?
79. According to one simplified model, the purchasing power of a dol- lar in the year 2000 + t is equal to P(t) = 0.68(1.04)−t (in 1983 dol- lars). Calculate the predicted rate of decline in purchasing power (in cents per year) in the year 2020.
80. The energy E (in joules) radiated as seismic waves by an earth- quake of Richter magnitude M satisfies log10 E = 4.8 + 1.5M . (a) Show that when M increases by 1, the energy increases by a factor of approximately 31.5. (b) Calculate dE/dM .
81. Show that for any constants M , k, and a, the function
y(t) = 1 2 M
( 1 + tanh
( k(t − a)
2
))
satisfies the logistic equation: y′
y = k
( 1 − y
M
) .
82. Show that V (x) = 2 ln(tanh(x/2)) satisfies the Poisson– Boltzmann equation V ′′(x) = sinh(V (x)), which is used to describe electrostatic forces in certain molecules.
83. The Palermo Technical Impact Hazard Scale P is used to quantify the risk associated with the impact of an asteroid colliding with the earth:
P = log10 (
piE 0.8
0.03T
)
where pi is the probability of impact, T is the number of years until impact, and E is the energy of impact (in megatons of TNT). The risk is greater than a random event of similar magnitude if P > 0. (a) Calculate dP/dT , assuming that pi = 2 × 10−5 and E = 2 mega- tons. (b) Use the derivative to estimate the change in P if T increases from 8 to 9 years.
Further Insights and Challenges 84. (a) Show that if f and g are differentiable, then
d
dx ln(f (x)g(x)) = f
′(x) f (x)
+ g ′(x)
g(x) 4
(b) Give a new proof of the Product Rule by observing that the left-
hand side of Eq. (4) is equal to (f (x)g(x))′
f (x)g(x) .
85. Use the formula logb x = loga x loga b
for a, b > 0 to verify the formula
d
dx logb x =
1 (ln b)x
182 C H A P T E R 3 DIFFERENTIATION
3.10 Related Rates In related-rate problems, the goal is to calculate an unknown rate of change in terms of other rates of change that are known. The “sliding ladder problem” is a good example: A ladder leans against a wall as the bottom is pulled away at constant velocity. How fast does the top of the ladder move? What is interesting and perhaps surprising is that the top and bottom travel at different speeds. Figure 1 shows this clearly: The bottom travels the
t = 0 t = 1 t = 2 x
y
FIGURE 1 Positions of a ladder at times t = 0, 1, 2.
same distance over each time interval, but the top travels farther during the second time interval than the first. In other words, the top is speeding up while the bottom moves at a constant speed. In the next example, we use calculus to find the velocity of the ladder’s top.
EXAMPLE 1 Sliding Ladder Problem A 5-m ladder leans against a wall. The bottom of the ladder is 1.5 m from the wall at time t = 0 and slides away from the wall at a rate of 0.8 m/s. Find the velocity of the top of the ladder at time t = 1. Solution The first step in any related-rate problem is to choose variables for the relevant
h
x
5
FIGURE 2 The variables x and h.
quantities. Since we are considering how the top and bottom of the ladder change position, we use variables (Figure 2):
• x = x(t) distance from the bottom of the ladder to the wall • h = h(t) height of the ladder’s top
Both x and h are functions of time. The velocity of the bottom is dx/dt = 0.8 m/s. The unknown velocity of the top is dh/dt , and the initial distance from the bottom to the wall is x(0) = 1.5, so we can restate the problem as
Compute dh
dt at t = 1 given that dx
dt = 0.8 m/s and x(0) = 1.5 m
To solve this problem, we need an equation relating x and h (Figure 2). This is provided by the Pythagorean Theorem:
x2 + h2 = 52
To calculate dh/dt , we differentiate both sides of this equation with respect to t :
d
dt x2 + d
dt h2 = d
dt 52
2x dx
dt + 2hdh
dt = 0
Therefore, dh
dt = −x
h
dx
dt , and because
dx
dt = 0.8 m/s, the velocity of the top ist x h dh/dt
0 1.5 4.77 −0.25 1 2.3 4.44 −0.41 2 3.1 3.92 −0.63 3 3.9 3.13 −1.00
This table of values confirms that the top of the ladder is speeding up.
dh
dt = −0.8x
h m/s 1
To apply this formula, we must find x and h at time t = 1. Since the bottom slides away at 0.8 m/s and x(0) = 1.5, we have x(1) = 2.3 and h(1) =
√ 52 − 2.32 ≈ 4.44. We obtain
(note that the answer is negative because the ladder top is falling)
dh
dt
∣∣∣∣ t=1
= −0.8x(1) h(1)
≈ −0.8 2.3 4.44
≈ −0.41 m/s
CONCEPTUAL INSIGHT A puzzling feature of Eq. (1) is that the velocity dh/dt , which is equal to −0.8x/h, becomes infinite as h → 0 (as the top of the ladder gets close to the ground). Since this is impossible, our mathematical model must break down as h → 0. In fact, one can show that the ladder’s top loses contact with the wall before reaching the bottom and from that moment on, the formula is no longer valid.
S E C T I O N 3.10 Related Rates 183
In the next examples, we divide the solution into three steps that can be followed when working the exercises.
EXAMPLE 2 Filling a Rectangular Tank Water pours into a fish tank at a rate of 0.3 m3/min. How fast is the water level rising if the base of the tank is a rectangle of dimensions 2 × 3 m? Solution To solve a related-rate problem, it is useful to draw a diagram if possible. Figure 3 illustrates our problem.h = water level
23
FIGURE 3 V = water volume at time t . Step 1. Identify variables and restate the problem.
First, we must recognize that the rate at which water pours into the tank is the derivative of water volume with respect to time. Therefore, let V be the volume and h the height of the water at time t . ThenIt is helpful to choose variables that are
related to or traditionally associated with the quantity represented, such as V for volume, θ for an angle, h or y for height, and r for radius.
dV
dt = rate at which water is added to the tank
dh
dt = rate at which the water level is rising
Now we can restate our problem in terms of derivatives:
Compute dh
dt given that
dV
dt = 0.3 m3/min
Step 2. Find an equation relating the variables and differentiate with respect to time. We need a relation between V and h. We have V = 6h since the tank’s base has area 6 m2. Therefore,
dV
dt = 6dh
dt ⇒ dh
dt = 1
6 dV
dt
Step 3. Use the data to find the unknown derivative. Because dV /dt = 0.3, the water level rises at the rate
dh
dt = 1
6 dV
dt = 1
6 (0.3) = 0.05 m/min
Note that dh/dt has units of meters per minute because h and t are in meters and minutes, respectively.
The set-up in the next example is similar but more complicated because the water tank has the shape of a circular cone. We use similar triangles to derive a relation between the volume and height of the water. We also need the formula V = 13πhr2 for the volume of a circular cone of height h and radius r .
EXAMPLE 3 Filling a Conical Tank Water pours into a conical tank of height 10 m and radius 4 m at a rate of 6 m3/min.
(a) At what rate is the water level rising when the level is 5 m high? (b) As time passes, what happens to the rate at which the water level rises?
Solution
(a) Step 1. Assign variables and restate the problem. As in the previous example, let V and h be the volume and height of the water in the tank at time t . Our problem, in terms of derivatives, is
Compute dh
dt at h = 5 given that dV
dt = 6 m3/min
184 C H A P T E R 3 DIFFERENTIATION
Step 2. Find an equation relating the variables and differentiate with respect to time. When the water level is h, the volume of water in the cone is V = 13πhr2, where r is the radius of the cone at height h. In order to use this relation, we eliminate the variable r . Using similar triangles in Figure 4, we see that
h
r
10
4
FIGURE 4 By similar triangles,
r
h = 4
10
r
h = 4
10
or
r = 0.4 h
Therefore,
CAUTION A common mistake is substituting the particular value h = 5 in Eq. (2). Do not set h = 5 until the end of the problem, after the derivatives have been computed. This applies to all related-rate problems.
V = 1 3 πh(0.4 h)2 =
( 0.16
3
) πh3
dV
dt = (0.16)πh2 dh
dt 2
Step 3. Use the data to find the unknown derivative.
We are given dV
dt = 6. Using this in Eq. (2), we obtain
(0.16)πh2 dh
dt = 6
dh
dt = 6
(0.16)πh2 3
When h = 5, the level is rising at a rate of dh dt
= 6 (0.16)π52
≈ 0.48 m/min.
(b) Eq. (3) shows that dh/dt is inversely proportional to h2. As h increases, the water level rises more slowly. This is reasonable if you consider that a thin slice of the cone of width !h has more volume when h is large, so more water is needed to raise the level when h is large (Figure 5).
#h
#h
FIGURE 5 When h is larger, it takes more water to raise the level by an amount !h.
EXAMPLE 4 Tracking a Rocket A spy uses a telescope to track a rocket launched vertically from a launching pad 6 km away, as in Figure 6. At a certain moment, the angle θ between the telescope and the ground is equal to π3 and is changing at a rate of 0.9 radians rad/min. What is the rocket’s velocity at that moment?
Solution
Step 1. Assign variables and restate the problem. Let y be the height of the rocket at time t . Our goal is to compute the rocket’s velocity
6 km
θ
y
FIGURE 6 Tracking a rocket through a telescope.
dy/dt when θ = π3 so we can restate the problem as follows:
Compute dy
dt
∣∣∣∣ θ= π3
given that dθ
dt = 0.9 rad/min when θ = π
3
Step 2. Find an equation relating the variables and differentiate. We need a relation between θ and y. As we see in Figure 6,
tan θ = y 6
Now differentiate with respect to time:
sec2 θ dθ
dt = 1
6 dy
dt
dy
dt = 6
cos2 θ dθ
dt 4
S E C T I O N 3.10 Related Rates 185
Step 3. Use the given data to find the unknown derivative. At the given moment, θ = π3 and dθ/dt = 0.9, so Eq. (4) yields
dy
dt = 6
cos2(π/3) (0.9) = 6
(0.5)2 (0.9) = 21.6 km/min
The rocket’s velocity at this moment is 21.6 km/min, or approximately 1296 km/h.
EXAMPLE 5 Farmer John’s tractor, traveling at 3 m/s, pulls a rope attached to a bale of hay through a pulley. With dimensions as indicated in Figure 7, how fast is the bale rising when the tractor is 5 m from the bale?
x
h
6 − h4.5 m 6 m
Hay
3 m/s
FIGURE 7
Solution
Step 1. Assign variables and restate the problem. Let x be the horizontal distance from the tractor to the bale of hay, and let h be the height above ground of the top of the bale. The tractor is 5 m from the bale when x = 5, so we can restate the problem as follows:
Compute dh
dt
∣∣∣∣ x=5
given that dx
dt = 3 m/s
Step 2. Find an equation relating the variables and differentiate. Let L be the total length of the rope. From Figure 7 (using the Pythagorean Theorem),
L = √
x2 + 4.52 + (6 − h)
Although the length L is not given, it is a constant, and therefore dL/dt = 0. Thus,
dL
dt = d
dt
(√ x2 + 4.52 + (6 − h)
) = x
dx dt√
x2 + 4.52 − dh
dt = 0 5
Step 3. Use the given data to find the unknown derivative. Apply Eq. (5) with x = 5 and dx/dt = 3. The bale is rising at the rate
dh
dt = x
dx dt√
x2 + 4.52 = (5)(3)√
52 + 4.52 ≈ 2.23 m/s
3.10 SUMMARY
• Related-rate problems present us with situations in which two or more variables are related and we are asked to compute the rate of change of one of the variables in terms of the rates of change of the other variable(s).
• Draw a diagram if possible. It may also be useful to break the solution into three steps:
Step 1. Identify relevant variables and restate the problem.
Step 2. Find an equation that relates the variables and differentiate with respect to time.
This gives us an equation relating the known and unknown derivatives. Remember not to substitute the specific values for the variables until after you have computed all derivatives.
Step 3. Use the given data to find the unknown derivative.
• Two facts from geometry arise often in related-rate problems: the Pythagorean Theorem and Theorem of Similar Triangles (ratios of corresponding sides are equal).
186 C H A P T E R 3 DIFFERENTIATION
3.10 EXERCISES
Preliminary Questions 1. Assign variables and restate the following problem in terms of
known and unknown derivatives (but do not solve it): How fast is the volume of a cube increasing if its side increases at a rate of 0.5 cm/s?
2. What is the relation between dV /dt and dr/dt if V = ( 4
3 ) πr3?
In Questions 3 and 4, water pours into a cylindrical glass of radius 4 cm. Let V and h denote the volume and water level respectively, at time t .
3. Restate this question in terms of dV /dt and dh/dt : How fast is the water level rising if water pours in at a rate of 2 cm3/min?
4. Restate this question in terms of dV /dt and dh/dt : At what rate is water pouring in if the water level rises at a rate of 1 cm/min?
Exercises In Exercises 1 and 2, consider a rectangular bathtub whose base is 18 ft2.
1. How fast is the water level rising if water is filling the tub at a rate of 0.7 ft3/min?
2. At what rate is water pouring into the tub if the water level rises at a rate of 0.8 ft/min?
3. The radius of a circular oil slick expands at a rate of 2 m/min. (a) How fast is the area of the oil slick increasing when the radius is 25 m? (b) If the radius is 0 at time t = 0, how fast is the area increasing after 3 min?
4. At what rate is the diagonal of a cube increasing if its edges are increasing at a rate of 2 cm/s?
In Exercises 5–8, assume that the radius r of a sphere is expanding at a rate of 30 cm/min. The volume of a sphere is V = 43πr3 and its surface area is 4πr2. Determine the given rate.
5. Volume with respect to time when r = 15 cm 6. Volume with respect to time at t = 2 min, assuming that r = 0 at
t = 0 7. Surface area with respect to time when r = 40 cm 8. Surface area with respect to time at t = 2 min, assuming that r = 10
at t = 0 In Exercises 9–12, refer to a 5-m ladder sliding down a wall, as in Figures 1 and 2. The variable h is the height of the ladder’s top at time t , and x is the distance from the wall to the ladder’s bottom.
9. Assume the bottom slides away from the wall at a rate of 0.8 m/s. Find the velocity of the top of the ladder at t = 2 s if the bottom is 1.5 m from the wall at t = 0 s. 10. Suppose that the top is sliding down the wall at a rate of 1.2 m/s. Calculate dx/dt when h = 3 m. 11. Suppose that h(0) = 4 and the top slides down the wall at a rate of 1.2 m/s. Calculate x and dx/dt at t = 2 s. 12. What is the relation between h and x at the moment when the top and bottom of the ladder move at the same speed?
13. A conical tank has height 3 m and radius 2 m at the top. Water flows in at a rate of 2 m3/min. How fast is the water level rising when it is 2 m?
14. Follow the same set-up as in Exercise 13, but assume that the water level is rising at a rate of 0.3 m/min when it is 2 m. At what rate is water flowing in?
15. The radius r and height h of a circular cone change at a rate of 2 cm/s. How fast is the volume of the cone increasing when r = 10 and h = 20?
16. A road perpendicular to a highway leads to a farmhouse located 2 km away (Figure 8). An automobile travels past the farmhouse at a speed of 80 km/h. How fast is the distance between the automobile and the farmhouse increasing when the automobile is 6 km past the intersection of the highway and the road?
80 km/h
Automobile
2
FIGURE 8
17. A man of height 1.8 m walks away from a 5-m lamppost at a speed of 1.2 m/s (Figure 9). Find the rate at which his shadow is increasing in length.
x y
5
FIGURE 9
18. As Claudia walks away from a 264-cm lamppost, the tip of her shadow moves twice as fast as she does. What is Claudia’s height?
19. At a given moment, a plane passes directly above a radar station at an altitude of 6 km. (a) The plane’s speed is 800 km/h. How fast is the distance between the plane and the station changing half a minute later?
(b) How fast is the distance between the plane and the station changing when the plane passes directly above the station?
20. In the setting of Exercise 19, let θ be the angle that the line through the radar station and the plane makes with the horizontal. How fast is θ changing 12 min after the plane passes over the radar station?
S E C T I O N 3.10 Related Rates 187
21. A hot air balloon rising vertically is tracked by an observer located 4 km from the lift-off point. At a certain moment, the angle between the observer’s line of sight and the horizontal is π5 , and it is changing at a rate of 0.2 rad/min. How fast is the balloon rising at this moment?
22. Alaser pointer is placed on a platform that rotates at a rate of 20 rev- olutions per minute. The beam hits a wall 8 m away, producing a dot of light that moves horizontally along the wall. Let θ be the angle between the beam and the line through the searchlight perpendicular to the wall (Figure 10). How fast is this dot moving when θ = π6 ?
8 mθ
Wall
Laser
FIGURE 10
23. A rocket travels vertically at a speed of 1200 km/h. The rocket is tracked through a telescope by an observer located 16 km from the launching pad. Find the rate at which the angle between the telescope and the ground is increasing 3 min after lift-off.
24. Using a telescope, you track a rocket that was launched 4 km away, recording the angle θ between the telescope and the ground at half- second intervals. Estimate the velocity of the rocket if θ(10) = 0.205 and θ(10.5) = 0.225.
25. A police car traveling south toward Sioux Falls at 160 km/h pur- sues a truck traveling east away from Sioux Falls, Iowa, at 140 km/h (Figure 11). At time t = 0, the police car is 20 km north and the truck is 30 km east of Sioux Falls. Calculate the rate at which the distance between the vehicles is changing: (a) At time t = 0 (b) 5 min later
160 km/h
140 km/h
Sioux Falls
x
y
FIGURE 11
26. A car travels down a highway at 25 m/s. An observer stands 150 m from the highway. (a) How fast is the distance from the observer to the car increasing when the car passes in front of the observer? Explain your answer without making any calculations. (b) How fast is the distance increasing 20 s later?
27. In the setting of Example 5, at a certain moment, the tractor’s speed is 3 m/s and the bale is rising at 2 m/s. How far is the tractor from the bale at this moment?
28. Placido pulls a rope attached to a wagon through a pulley at a rate of q m/s. With dimensions as in Figure 12: (a) Find a formula for the speed of the wagon in terms of q and the variable x in the figure.
(b) Find the speed of the wagon when x = 0.6 if q = 0.5 m/s.
x
0.6 m
3 m
FIGURE 12
29. Julian is jogging around a circular track of radius 50 m. In a co- ordinate system with its origin at the center of the track, Julian’s x- coordinate is changing at a rate of −1.25 m/s when his coordinates are (40, 30). Find dy/dt at this moment.
30. A particle moves counterclockwise around the ellipse with equa- tion 9x2 + 16y2 = 25 (Figure 13). (a) In which of the four quadrants is dx/dt > 0? Explain. (b) Find a relation between dx/dt and dy/dt . (c) At what rate is the x-coordinate changing when the particle passes the point (1, 1) if its y-coordinate is increasing at a rate of 6 m/s? (d) Find dy/dt when the particle is at the top and bottom of the ellipse.
−
−
5 4
5 4
5 3
5 3
x
y
FIGURE 13
In Exercises 31 and 32, assume that the pressure P (in kilopascals) and volume V (in cubic centimeters) of an expanding gas are related by PV b = C, where b and C are constants (this holds in an adiabatic expansion, without heat gain or loss).
31. Find dP/dt if b = 1.2, P = 8 kPa, V = 100 cm2, and dV /dt = 20 cm3/min.
32. Find b if P = 25 kPa, dP/dt = 12 kPa/min, V = 100 cm2, and dV /dt = 20 cm3/min. 33. The base x of the right triangle in Figure 14 increases at a rate of 5 cm/s, while the height remains constant at h = 20. How fast is the angle θ changing when x = 20?
x θ
20
FIGURE 14
34. Two parallel paths 15 m apart run east–west through the woods. Brooke jogs east on one path at 10 km/h, while Jamail walks west on the other path at 6 km/h. If they pass each other at time t = 0, how far apart are they 3 s later, and how fast is the distance between them changing at that moment?
188 C H A P T E R 3 DIFFERENTIATION
35. A particle travels along a curve y = f (x) as in Figure 15. Let L(t) be the particle’s distance from the origin.
(a) Show that dL
dt =
( x + f (x)f ′(x) √
x2 + f (x)2
) dx
dt if the particle’s location
at time t is P = (x, f (x)). (b) Calculate L′(t) when x = 1 and x = 2 if f (x) =
√ 3x2 − 8x + 9
and dx/dt = 4.
x
y
y = f (x)
O
P
θ
1 2
2
FIGURE 15
36. Let θ be the angle in Figure 15, where P = (x, f (x)). In the setting of the previous exercise, show that
dθ
dt =
( xf ′(x) − f (x) x2 + f (x)2
) dx
dt
Hint: Differentiate tan θ = f (x)/x and observe that cos θ = x/
√ x2 + f (x)2.
Exercises 37 and 38 refer to the baseball diamond (a square of side 90 ft) in Figure 16.
37. A baseball player runs from home plate toward first base at 20 ft/s. How fast is the player’s distance from second base changing when the player is halfway to first base?
38. Player 1 runs to first base at a speed of 20 ft/s, while Player 2 runs from second base to third base at a speed of 15 ft/s. Let s be the distance
between the two players. How fast is s changing when Player 1 is 30 ft from home plate and Player 2 is 60 ft from second base?
20 ft/s
15 ft/s
s
90 ft
First base
Second base
Home plate
FIGURE 16
39. The conical watering pail in Figure 17 has a grid of holes. Water flows out through the holes at a rate of kA m3/min, where k is a constant and A is the surface area of the part of the cone in contact with the water. This surface area is A = πr
√ h2 + r2 and the volume is V = 13πr2h.
Calculate the rate dh/dt at which the water level changes at h = 0.3 m, assuming that k = 0.25 m.
0.45 m
0.15 m
h
r
FIGURE 17
Further Insights and Challenges 40. A bowl contains water that evaporates at a rate propor- tional to the surface area of water exposed to the air (Figure 18). Let A(h) be the cross-sectional area of the bowl at height h. (a) Explain why V (h + !h) − V (h) ≈ A(h)!h if !h is small. (b) Use (a) to argue that
dV
dh = A(h).
(c) Show that the water level h decreases at a constant rate.
V(h) = volume up to height h Cross-sectional area A(h)
h
!h
V(h + !h) − V(h)
FIGURE 18
41. A roller coaster has the shape of the graph in Figure 19. Show that when the roller coaster passes the point (x, f (x)), the vertical velocity of the roller coaster is equal to f ′(x) times its horizontal velocity.
(x, f (x))
FIGURE 19 Graph of f as a roller coaster track.
42. Two trains leave a station at t = 0 and travel with constant velocity v along straight tracks that make an angle θ .
(a) Show that the trains are separating from each other at a rate v √
2 − 2 cos θ . (b) What does this formula give for θ = π?
43. As the wheel of radius r cm in Figure 20 rotates, the rod of length L attached at point P drives a piston back and forth in a straight line. Let x be the distance from the origin to point Q at the end of the rod, as shown in the figure.
Chapter Review Exercises 189
(a) Use the Pythagorean Theorem to show that
L2 = (x − r cos θ)2 + r2 sin2 θ 6
(b) Differentiate Eq. (6) with respect to t to prove that
2(x − r cos θ) (
dx
dt + r sin θ dθ
dt
) + 2r2 sin θ cos θ dθ
dt = 0
(c) Calculate the speed of the piston when θ = π2 , assuming that r = 10 cm, L = 30 cm, and the wheel rotates at 4 revolutions per minute.
Piston moves back and forth
x
L θP
Q
r
FIGURE 20
44. A spectator seated 300 m away from the center of a circular track of radius 100 m watches an athlete run laps at a speed of 5 m/s. How fast is the distance between the spectator and athlete changing when the runner is approaching the spectator and the distance between them is 250 m? Hint: The diagram for this problem is similar to Figure 20, with r = 100 and x = 300.
45. A cylindrical tank of radius R and length L lying horizontally as in Figure 21 is filled with oil to height h. (a) Show that the volume V (h) of oil in the tank is
V (h) = L (
R2 cos−1 (
1 − h R
) − (R − h)
√ 2hR − h2
)
(b) Show that dVdh = 2L √
h(2R − h). (c) Suppose that R = 1.5 m and L = 10 m and that the tank is filled at a constant rate of 0.6 m3/min. How fast is the height h increasing when h = 0.5?
h
L
R
FIGURE 21 Oil in the tank has level h.
CHAPTER REVIEW EXERCISES
In Exercises 1–4, refer to the function f whose graph is shown in Fig- ure 1.
1. Compute the average rate of change of f (x) over [0, 2]. What is the graphical interpretation of this average rate?
2. For which value of h is f (0.7 + h) − f (0.7)
h equal to the slope
of the secant line between the points where x = 0.7 and x = 1.1?
3. Estimate f (0.7 + h) − f (0.7)
h for h = 0.3. Is this number larger
or smaller than f ′(0.7)?
4. Estimate f ′(0.7) and f ′(1.1).
y
2.01.51.00.5 x
7 6 5 4 3 2 1
FIGURE 1
In Exercises 5–8, compute f ′(a) using the limit definition and find an equation of the tangent line to the graph of f at x = a.
5. f (x) = x2 − x, a = 1 6. f (x) = 5 − 3x, a = 2
7. f (x) = x−1, a = 4 8. f (x) = x3, a = −2
In Exercises 9–12, compute dy/dx using the limit definition.
9. y = 4 − x2 10. y = √
2x + 1
11. y = 1 2 − x 12. y =
1
(x − 1)2
In Exercises 13–16, express the limit as a derivative.
13. lim h→0
√ 1 + h − 1
h 14. lim
x→−1 x3 + 1 x + 1
15. lim t→π
sin t cos t t − π 16. limθ→π
cos θ − sin θ + 1 θ − π
17. Find f (4) and f ′(4) if the tangent line to the graph of f at x = 4 has equation y = 3x − 14.
18. Each graph in Figure 2 shows the graph of a function f and its derivative f ′. Determine which is the function and which is the deriva- tive.
y
x
(I)
y
x x
(II)
y
(III)
A
B
A
B
A
B
FIGURE 2 Graph of f.
190 C H A P T E R 3 DIFFERENTIATION
19. Is (A), (B), or (C) the graph of the derivative of the function f shown in Figure 3?
(A) (B)
y
(C)
y
x −2 2−1 1
x −2 2−1 1
y
y = f (x)
x −2 2−1 1
y
x −2 2−1 1
FIGURE 3
20. Sketch the graph of f ′ if the graph of f appears as in Figure 4.
x
y
1 2
2
1
3 4
FIGURE 4
21. Sketch the graph of a continuous function f if the graph of f ′ appears as in Figure 5 and f (0) = 0.
x
y
1 2
2
1
3 4
FIGURE 5
22. Let N(t) be the percentage of a state population infected with a flu virus on week t of an epidemic. What percentage is likely to be infected in week 4 if N(3) = 8 and N ′(3) = 1.2? 23. Agirl’s height h(t) (in centimeters) is measured at time t (in years)
for 0 ≤ t ≤ 14: 52, 75.1, 87.5, 96.7, 104.5, 111.8, 118.7, 125.2, 131.5, 137.5, 143.3, 149.2, 155.3, 160.8, 164.7
(a) What is the average growth rate over the 14-year period? (b) Is the average growth rate larger over the first half or the second half of this period? (c) Estimate h′(t) (in centimeters per year) for t = 3, 8. 24. A planet’s period P (number of days to complete one revolution
around the sun) is approximately 0.199A3/2, where A is the average distance (in millions of kilometers) from the planet to the sun. (a) Calculate P and dP/dA for Earth using the value A = 150. (b) Estimate the increase in P if A is increased to 152.
In Exercises 25 and 26, use the following table of values for the number A(t) of automobiles (in millions) manufactured in the United States in year t .
t 1970 1971 1972 1973 1974 1975 1976
A(t) 6.55 8.58 8.83 9.67 7.32 6.72 8.50
25. What is the interpretation of A′(t)? Estimate A′(1971). Does A′(1974) appear to be positive or negative?
26. Given the data, which of (A)–(C) in Figure 6 could be the graph of the derivative A′? Explain.
(A) (B) (C)
−2
'75'73'71−1
1 2
−2
'75'73'71−1
1 2
−2
'75'73'71−1
1 2
FIGURE 6
27. Which of the following is equal to d
dx 2x?
(a) 2x (b) (ln 2)2x (c) x2x−1 (d) 1
ln 2 2x
28. Use the Chain Rule to show that if g is the inverse of f , then g′(x) = 1/f ′(g(x)) for all x in the domain of g such that f (g(x)) ̸= 0. Use this to obtain another method for finding the derivative of ln x using the derivative of ex .
In Exercises 29–80, compute the derivative.
29. y = 3x5 − 7x2 + 4 30. y = 4x−3/2
31. y = t−7.3 32. y = 4x2 − x−2
33. y = x + 1 x2 + 1 34. y =
3t − 2 4t − 9
35. y = (x4 − 9x)6 36. y = (3t2 + 20t−3)6
37. y = (2 + 9x2)3/2 38. y = (x + 1)3(x + 4)4
39. y = z√ 1 − z
40. y = (
1 + 1 x
)3
41. y = x 4 + √x
x2 42. y = 1
(1 − x) √
2 − x
43. y = √
x + √
x + √x
44. h(z) = ( z + (z + 1)1/2
)−3/2
45. y = tan(t−3) 46. y = 4 cos(2 − 3x)
47. y = sin(2x) cos2 x 48. y = sin (
4 θ
)
49. y = t 1 + sec t 50. y = z csc(9z + 1)
51. y = 8 1 + cot θ 52. y = tan(cos x)
53. y = tan( √
1 + csc θ) 54. y = cos(cos(cos(θ)))
Chapter Review Exercises 191
55. f (x) = 9e−4x 56. f (x) = e −x
x
57. g(t) = e4t−t2 58. g (t) = t2e1/t
59. f (x) = ln(4x2 + 1) 60. f (x) = ln(ex − 4x)
61. G(s) = (ln(s))2 62. G(s) = ln(s2) 63. f (θ) = ln(sin θ) 64. f (θ) = sin(ln θ)
65. h(z) = sec(z + ln z) 66. f (x) = esin2x
67. f (x) = 7−2x 68. h (y) = 1 + e y
1 − ey
69. g(x) = tan−1(ln x) 70. G(s) = cos−1(s−1)
71. f (x) = ln(csc−1 x) 72. f (x) = esec−1 x
73. R(s) = sln s 74. f (x) = (cos2 x)cos x
75. G(t) = (sin2 t)t 76. h(t) = t (t t )
77. g(t) = sinh(t2) 78. h(y) = y tanh(4y)
79. g(x) = tanh−1(ex) 80. g(t) = √
t2 − 1 sinh−1 t 81. For which values of α is f (x) = |x|α differentiable at x = 0?
82. Find f ′(2) if f (g(x)) = ex2 , g(1) = 2, and g′(1) = 4.
In Exercises 83 and 84, let f (x) = xe−x . 83. Show that f has an inverse on [1, ∞). Let g be this inverse. Find
the domain and range of g and compute g′(2e−2).
84. Show that f (x) = c has two solutions if 0 < c < e−1. In Exercises 85–90, use the following table of values to calculate the derivative of the given function at x = 2:
x f (x) g(x) f ′(x) g′(x) 2 5 4 −3 9 4 3 2 −2 3
85. S(x) = 3f (x) − 2g(x) 86. H(x) = f (x)g(x)
87. R(x) = f (x) g(x)
88. G(x) = f (g(x))
89. F(x) = f (g(2x)) 90. K(x) = f (x2)
91. Find the points on the graph of f (x) = x3 − 3x2 + x + 4 where the tangent line has slope 10.
92. Find the points on the graph of x2/3 + y2/3 = 1 where the tangent line has slope 1.
93. Find a such that the tangent lines to y = x3 − 2x2 + x + 1 at x = a and x = a + 1 are parallel.
94. Use the table to compute the average rate of change of Candidate A’s percentage of votes over the intervals from day 20 to day 15, day 15 to day 10, and day 10 to day 5. If this trend continues over the last 5 days before the election, will Candidate A win?
Days Before Election 20 15 10 5
Candidate A 44.8% 46.8% 48.3% 49.3%
Candidate B 55.2% 53.2% 51.7% 50.7%
In Exercises 95–100, calculate y′′.
95. y = 12x3 − 5x2 + 3x 96. y = x−2/5
97. y = √
2x + 3 98. y = 4x x + 1
99. y = tan(x2) 100. y = sin2(4x + 9)
In Exercises 101–106, compute dy
dx .
101. x3 − y3 = 4 102. 4x2 − 9y2 = 36
103. y = xy2 + 2x2 104. y x
= x + y
105. y = sin(x + y) 106. tan(x + y) = xy
107. In Figure 7, label the graphs f , f ′, and f ′′.
y
x
y
x
FIGURE 7
108. Let f (x) = x2 sin(x−1) for x ̸= 0 and f (0) = 0. Show that f ′(x) exists for all x (including x = 0) but that f ′ is not continuous at x = 0 (Figure 8).
y
x
−0.05
0.05
−0.5 0.5
FIGURE 8 Graph of f (x) = x2 sin(x−1).
In Exercises 109–114, use logarithmic differentiation to find the deriva- tive.
109. y = (x + 1) 3
(4x − 2)2 110. y = (x + 1)(x + 2)2 (x + 3)(x + 4)
111. y = e(x−1)2e(x−3)2 112. y = e x sin−1 x
ln x
113. y = e 3x(x − 2)2 (x + 1)2 114. y = x
√ x(xln x)
Exercises 115–117: Let q be the number of units of a product (cell phones, barrels of oil, etc.) that can be sold at the price p. The price elasticity of demand E is defined as the percentage rate of change of q with respect to p. In terms of derivatives,
E = p q
dq
dp = lim
!p→0 (100!q)/q (100!p)/p
115. Show that the total revenue R = pq satisfies dR dp
= q(1 + E).
192 C H A P T E R 3 DIFFERENTIATION
116. Acommercial bakery can sell q chocolate cakes per week at price $p, where q = 50p(10 − p) for 5 < p < 10. (a) Show that E(p) = 2p − 10
p − 10 .
(b) Show, by computing E(8), that if p = $8, then a 1% increase in price reduces demand by approximately 3%.
117. The monthly demand (in thousands) for flights between Chicago and St. Louis at the price p is q = 40 − 0.2p. Calculate the price elas- ticity of demand when p = $150 and estimate the percentage increase in number of additional passengers if the ticket price is lowered by 1%.
118. How fast does the water level rise in the tank in Figure 9 when the water level is h = 4 m and water pours in at 20 m3/min?
24 m 10 m
8 m
36 m
FIGURE 9
119. The minute hand of a clock is 8 cm long, and the hour hand is 5 cm long. How fast is the distance between the tips of the hands changing at 3 o’clock?
120. Chloe and Bao are in motorboats at the center of a lake. At time t = 0, Chloe begins traveling south at a speed of 50 km/h. One minute later, Bao takes off, heading east at a speed of 40 km/h. At what rate is the distance between them increasing at t = 12 min?
121. A bead slides down the curve xy = 10. Find the bead’s hori- zontal velocity at time t = 2 s if its height at time t seconds is y = 400 − 16t2 cm.
122. In Figure 10, x is increasing at 2 cm/s, y is increasing at 3 cm/s, and θ is decreasing such that the area of the triangle has the constant value 4 cm2. (a) How fast is θ decreasing when x = 4, y = 4? (b) How fast is the distance between P and Q changing when x = 4, y = 4?
P
Q θ
y
x
FIGURE 10
123. A light moving at 0.8 m/s approaches a man standing 4 m from a wall (Figure 11). The light is 1 m above the ground. How fast is the tip P of the man’s shadow moving when the light is 7 m from the wall?
1.8 m 1 m
4 m 0.8 m/s
P
FIGURE 11
Sun-tracking mirrors, known as heliostats, in the
Tabernas Desert in Spain, use the Principle of
Least Distance (see Section 4.7) to concentrate
the Sun’s light and generate energy. (Thomas Dressler/Gallo Images/Getty Images)
4 APPLICATIONS OF THE DERIVATIVE
T his chapter puts the derivative to work. The first and second derivatives are used to ana-lyze functions and their graphs and to solve optimization problems (finding minimum and maximum values of a function). Newton’s Method in Section 4.8 employs the deriva- tive to approximate solutions of equations.
4.1 Linear Approximation and Applications In some situations we are interested in determining the “effect of a small change.” For example:
• How does a small change in angle affect the distance of a basketball shot? (Exer- cise 39)
• How are revenues at the box office affected by a small change in ticket prices? (Exercise 29)
• The cube root of 27 is 3. How much larger is the cube root of 27.2? (Exercise 7)
In each case, we have a function f and we’re interested in the change
!f = f (a + !x) − f (a)
where !x is small. The LinearApproximation uses the derivative to estimate !f without computing it exactly. By definition, the derivative is the limit
f ′(a) = lim !x→0
f (a + !x) − f (a) !x
= lim !x→0
!f
!x
So when !x is small, we have !f/!x ≈ f ′(a), and thus,
REMINDER The notation ≈ means “approximately equal to.” The accuracy of the Linear Approximation is discussed at the end of this section.
!f ≈ f ′(a)!x
Linear Approximation of !f If f is differentiable at x = a and !x is small, then
!f ≈ f ′(a)!x 1
where !f = f (a + !x) − f (a). Therefore,
f (a + !x) ≈ f (a) + f ′(a)!x 2
Keep in mind the different roles played by !f and f ′(a)!x. The quantity of interest is the actual change !f . We estimate it by f ′(a) !x. The Linear Approximation tells us that up to a small error, !f is directly proportional to !x when !x is small.
GRAPHICAL INSIGHT The Linear Approximation is sometimes called the tangent line approximation. Why? Observe in Figure 1 that !f is the vertical change in the graph from x = a to x = a + !x. For a straight line, the vertical change is equal to the slope times the horizontal change !x, and since the tangent line has slope f ′(a), its vertical change is f ′(a)!x. So the Linear Approximation approximates !f by the vertical change in the tangent line. When !x is small, the two quantities are nearly equal.
193
194 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
x
y
a
f (a)
!f = actual change in the graph of f
Tangent line at (a, f (a))
y = f (x)
f (a + !x)
a + !x
!x
f ´(a)!x
FIGURE 1 Graphical meaning of the Linear Approximation !f ≈ f ′(a)!x.
EXAMPLE 1 Use the Linear Approximation to estimate 110.2 − 110 , and hence 110.2 .The Linear Approximation !f ≈ f ′(a)!x
where !f = f (a + !x) − f (a) yields the approximation for the value of the function at a + !x to be
f (a + !x) ≈ f (a) + f ′(a)!x
How accurate is your estimate?
Solution We apply the Linear Approximation to f (x) = 1x with a = 10 and !x = 0.2:
!f = f (10.2) − f (10) = 1 10.2
− 1 10
We have f ′(x) = −x−2 and f ′(10) = −0.01, so !f is approximated by f ′(10)!x = (−0.01)(0.2) = −0.002
In other words,
1 10.2
− 1 10
≈ −0.002
Then, we have
1 10.2
≈ 1 10
+ (−0.002) ≈ 0.098
A calculator gives the value 110.2 − 110 ≈ −0.00196 and thus our error is less than 10−4:The error in the Linear Approximation is the quantity
Error = ∣∣!f − f ′(a)!x
∣∣ Error ≈
∣∣−0.00196 − (−0.002) ∣∣ = 0.00004 < 10−4
Differential Notation The Linear Approximation to y = f (x) is often written using the “differentials” dx and dy. In this notation, dx is used interchangeably with !x to represent the change in x, and dy is the corresponding vertical change in the tangent line:
dy = f ′(a)dx 3
Let !y = f (a + !x) − f (a). Then the Linear Approximation says
!y ≈ dy 4
This is simply another way of writing !f ≈ f ′(a)!x.
EXAMPLE 2 Differential Notation How much larger is 3 √
8.1 than 3 √
8 = 2? Solution We are interested in 3
√ 8.1 − 3
√ 8, so we apply the Linear Approximation to
f (x) = x1/3 with a = 8 and change !x = dx = 0.1. Step 1. Write out !y.
!y = f (a + !x) − f (a) = 3 √
8 + 0.1 − 3 √
8 = 3 √
8.1 − 2 Step 2. Compute dy.
f ′(x) = 1 3 x−2/3 and f ′(8) =
( 1 3
) 8−2/3 =
( 1 3
) ( 1 4
) = 1
12
Therefore, dy = f ′(8) dx = 112 (0.1) ≈ 0.0083.
S E C T I O N 4.1 Linear Approximation and Applications 195
Step 3. Use the Linear Approximation.
!y ≈ dy ⇒ 3 √
8.1 − 2 ≈ 0.0083
Thus, 3 √
8.1 is larger than 3 √
8 by approximately the amount 0.0083, and 3 √
8.1 ≈ 2.0083.
When engineers need to monitor the change in position of an object with great accu- racy, they may use a cable position transducer (Figure 2). This device detects and records the movement of a metal cable attached to the object. Its accuracy is affected by changes in temperature because heat causes the cable to stretch. The Linear Approximation can be used to estimate these effects.
FIGURE 2 Cable position transducer (manufactured by Space Age Control, Inc.). In one application, a transducer was used to compare the changes in throttle position on a Formula 1 race car with the shifting actions of the driver. (Space Age Control Inc., photo by Tom Anderson)
EXAMPLE 3 Thermal Expansion A thin metal cable has length L = 12 cm when the temperature is T = 21◦C. Estimate the change in length when T rises to 24◦C, assuming that
dL
dT = kL 5
where k = 1.7 × 10−5 ◦C−1 (k is called the coefficient of thermal expansion). Solution How does the Linear Approximation apply here? We will use the differential dL to estimate the actual change in length !L when T increases from 21◦ to 24◦—that is, when dT = !T = 3◦. By Eq. (3), the differential dL is
dL = (
dL
dT
) dT
By Eq. (5), since L = 12, dL
dT
∣∣∣ L=12
= kL = (1.7 × 10−5)(12) ≈ 2 × 10−4 cm/◦C
The Linear Approximation !L ≈ dL tells us that the change in length is approximately
!L ≈ (
dL
dT
) dT
︸ ︷︷ ︸ dL
≈ (2 × 10−4)(3) = 6 × 10−4 cm
Suppose that we measure the diameter D of a circle and use this result to compute the area of the circle. If our measurement of D is inexact, the area computation will also be inexact. What is the effect of the measurement error on the resulting area computation? This can be estimated using the Linear Approximation, as in the next example.
EXAMPLE 4 Effect of an Inexact Measurement The Cheezy Pizza Parlor claims that its pizzas are circular with diameter 50 cm (Figure 3).
50 cm Width 0.6 cm
FIGURE 3 The border of the actual pizza lies between the dashed circles.
(a) What is the area of the pizza? (b) Estimate the quantity of pizza lost or gained if the diameter is off by at most 1.2 cm.
Solution First, we need a formula for the area A of a circle in terms of its diameter D. Since the radius is r = D/2, the area is
A(D) = π r2 = π (
D
2
)2 = π
4 D2
(a) If D = 50 cm, then the pizza has area A(50) = (
π 4
) (50)2 ≈ 1963.5 cm2.
(b) If the actual diameter is equal to 50 + !D, then the loss or gain in pizza area is In this example, we interpret !A as the possible error in the computation of A(D). This should not be confused with the error in the Linear Approximation. This latter error refers to the accuracy in using A′(D) !D to approximate !A.
!A = A(50 + !D) − A(50). Observe that A′(D) = π2 D and A′(50) = 25π ≈ 78.5 cm, so the Linear Approximation yields
!A = A(50 + !D) − A(50) ≈ A′(D)!D ≈ (78.5) !D
196 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
Because !D is at most ±1.2 cm, the loss or gain in pizza is no more than around
!A ≈ ±(78.5)(1.2) ≈ ±94.2 cm2
This is a loss or gain of approximately 4.8%.
Linearization To approximate the function f itself rather than the change !f , we use the linearization L(x) “centered at x = a,” defined by
L(x) = f ′(a)(x − a) + f (a)
Notice that y = L(x) is the equation of the tangent line at x = a (Figure 4). For values ofP
y = f (x) y = L(x)
FIGURE 4 The tangent line is a good approximation in a small neighborhood of P = (a, f (a)).
x close to a, L(x) provides a good approximation to f (x).
Approximating f by Its Linearization If f is differentiable at x = a and x is close to a, then
f (x) ≈ L(x) = f (a) + f ′(a)(x − a)
CONCEPTUAL INSIGHT Keep in mind that the linearization and the LinearApproximation are two ways of saying the same thing. Indeed, when we apply the linearization with x = a + !x and rearrange, we obtain the Linear Approximation:
f (x) ≈ f (a) + f ′(a)(x − a) f (a + !x) ≈ f (a) + f ′(a) !x (since !x = x − a)
f (a + !x) − f (a) ≈ f ′(a)!x
EXAMPLE 5 Compute the linearization of f (x) = √xex−1 at a = 1. Solution By the Product Rule:
f ′(x) = 1 2 x−1/2ex−1 + x1/2ex−1 =
( 1 2 x−1/2 + x1/2
) ex−1
f (1) = √
1e0 = 1, f ′(1) = (
1 2
+ 1 )
e0 = 3 2
Therefore, the linearization at a = 1 is
L(x) = f (1) + f ′(1)(x − 1) = 1 + 3 2 (x − 1) = 3
2 x − 1
2
The linearization can be used to approximate function values. The following table compares values of the linearization to values obtained from a calculator for the function f (x) = √xex−1 in the previous example. Note that the error is large for x = 2.5, as expected, because 2.5 is not close to the center a = 1 (Figure 5).
x
y
2
4
6
8
10
12
f (x) = xex−1
L(x) = x −
1 2 32.5
Error is large for x = 2.5
3 2
1 2
FIGURE 5 Graph of f (x) = √xex−1 and its linearization at a = 1.
x √
xex−1 Linearization at a = 1: L(x) = 32x − 1 2 Calculator Error
1.1 √
1.1e0.1 L(1.1) = 32 (1.1) − 12 = 1.15 1.15911 10−2
0.999 √
0.999e−0.001 L(0.999) = 32 (0.999) − 12 = 0.9985 0.998501 10−6
2.5 √
2.5e1.5 L(2.5) = 32 (2.5) − 12 = 3.25 7.086 3.84
S E C T I O N 4.1 Linear Approximation and Applications 197
In the next example, we compute the percentage error, which is often more important than the error itself. By definition,
Percentage error = ∣∣∣∣
error actual value
∣∣∣∣ × 100%
EXAMPLE 6 Estimate tan (
π 4 + 0.02
) and compute the percentage error.
Solution We find the linearization of f (x) = tan x at a = π4 :
f (π
4
) = tan
(π 4
) = 1, f ′
(π 4
) = sec2
(π 4
) =
(√ 2 )2 = 2
L(x) = f (π
4
) + f ′
(π 4
) ( x − π
4
) = 1 + 2
( x − π
4
)
At x = π4 + 0.02, the linearization yields the estimate
tan (π
4 + 0.02
) ≈ L
(π 4
+ 0.02 )
= 1 + 2(0.02) = 1.04
A calculator gives tan (
π 4 + 0.02
) ≈ 1.0408, so
Percentage error ≈ ∣∣∣∣ 1.0408 − 1.04
1.0408
∣∣∣∣ × 100 ≈ 0.08%
The Size of the Error The examples in this section may have convinced you that the Linear Approximation yields a good approximation to !f when !x is small, but if we want to rely on the Linear Approximation, we need to know more about the size of the error:
E = Error = ∣∣!f − f ′(a)!x
∣∣
Remember that the error E is simply the vertical gap between the graph and the tangent line (Figure 6). In Section 8.4, we will prove the following Error Bound:x
y
a
f (a)
Error
f (a + !x)
a + !x
!x
f ´(a)!x
FIGURE 6 Graphical interpretation of the error in the Linear Approximation.
E ≤ 1 2 K (!x)2 6
where K is the maximum value of |f ′′(x)| on the interval from a to a + !x. The Error Bound tells us two important things. First, it says that the error is smallError Bound:
E ≤ 1 2 K (!x)2
where K is the max value of |f ′′(x)| on the interval [a, a + !x].
when the second derivative (and hence K) is small. This makes sense, because f ′′(x) measures how quickly the tangent lines change direction. When |f ′′(x)| is smaller, the graph is flatter and the LinearApproximation is more accurate over a larger interval around x = a (compare the graphs in Figure 7).
(A) Graph flat, f ´´(x) is small.
Small error in the Linear Approximation
(B) Graph bends a lot, f ´´(x) is large.
(a, f (a)) (a, f (a))
Large error in the Linear Approximation
FIGURE 7 The accuracy of the Linear Approximation depends on how much the curve bends.
Second, the Error Bound tells us that the error is of order 2 in !x, meaning that E is no larger than a constant times (!x)2. So if !x is small, say, !x = 10−n, then E has a substantially smaller order of magnitude, since (!x)2 = 10−2n. In particular, E/!x tends to zero (because E/!x < K!x), so the Error Bound tells us that the graph becomes nearly indistinguishable from its tangent line as we zoom in on the graph around x = a. This is a precise version of the “local linearity” property discussed in Section 3.2.
198 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
4.1 SUMMARY
• Let !f = f (a + !x) − f (a). The Linear Approximation is the estimate
!f ≈ f ′(a)!x (for !x small) and f (a + !x) ≈ f (a) + f ′(a)!x
• Differential notation: dx = !x is the change in x, dy = f ′(a)dx, !y = f (a + !x) − f (a). In this notation, the Linear Approximation reads
!y ≈ dy (for dx small)
• The linearization of f (x) at x = a is the function
L(x) = f (a) + f ′(a)(x − a)
• The Linear Approximation is equivalent to the approximation
f (x) ≈ L(x) (for x close to a)
• The error in the Linear Approximation is the quantity
Error = ∣∣∣!f − f ′(a)!x
∣∣∣
In many cases, the percentage error is more important than the error itself:
Percentage error = ∣∣∣
error actual value
∣∣∣ × 100%
4.1 EXERCISES
Preliminary Questions 1. True or False? The Linear Approximation says that the vertical
change in the graph is approximately equal to the vertical change in the tangent line.
2. Estimate g(1.2) − g(1) if g′(1) = 4.
3. Estimate f (2.1) if f (2) = 1 and f ′(2) = 3. 4. Complete the following sentence: The Linear Approximation
shows that up to a small error, the change in output !f is directly proportional to ….
Exercises In Exercises 1–6, use Eq. (2) to estimate !f = f (3.02) − f (3). 1. f (x) = x2 2. f (x) = x4
3. f (x) = x−1 4. f (x) = 1 x + 1
5. f (x) = √
x + 6 6. f (x) = tan πx 3
7. The cube root of 27 is 3. How much larger is the cube root of 27.2? Estimate using the Linear Approximation.
8. Estimate ln(e3 + 0.1) − ln(e3) using differentials. In Exercises 9–12, use Eq. (2) to estimate !f . Use a calculator to compute both the error and the percentage error.
9. f (x) = √
1 + x, a = 3, !x = 0.2 10. f (x) = 2x2 − x, a = 5, !x = −0.4
11. f (x) = 1 1 + x2 , a = 3, !x = 0.5
12. f (x) = ln(x2 + 1), a = 1, !x = 0.1
In Exercises 13–16, estimate !y using differentials [Eq. (4)].
13. y = cos x, a = π6 , dx = 0.014
14. y = tan2 x, a = π4 , dx = −0.02
15. y = 10 − x 2
2 + x2 , a = 1, dx = 0.01
16. y = x1/3ex−1, a = 1, dx = 0.1
In Exercises 17–24, estimate using the Linear Approximation and find the error using a calculator.
17. √
26 − √
25 18. 16.51/4 − 161/4
19. 1√ 101
− 1 10
20. 1√ 98
− 1 10
21. 91/3 − 2 22. tan−1(1.05) − π4
23. e−0.1 − 1 24. ln(0.97)
S E C T I O N 4.1 Linear Approximation and Applications 199
25. Estimate f (4.03) for f (x) as in Figure 8.
x
y
(4, 2)
(10, 4) y = f (x)
Tangent line
FIGURE 8
26. At a certain moment, an object in linear motion has veloc- ity 100 m/s. Estimate the distance traveled over the next quarter-second, and explain how this is an application of the Linear Approximation.
27. Which is larger: √
2.1 − √
2 or √
9.1 − √
9? Explain using the Linear Approximation.
28. Estimate sin 61◦ − sin 60◦ using the Linear Approximation. Hint: Express !θ in radians.
29. Box office revenue at a multiplex cinema in Paris is R(p) = 3600p − 10p3 euros per showing when the ticket price is p euros. Calculate R(p) for p = 9 and use the Linear Approximation to esti- mate !R if p is raised or lowered by 0.5 euros.
30. The stopping distance for an automobile is F(s) = 1.1s + 0.054s2 ft, where s is the speed in mph. Use the Linear Approximation to estimate the change in stopping distance per additional mph when s = 35 and when s = 55.
31. A thin silver wire has length L = 18 cm when the temperature is T = 30◦C. Estimate !L when T decreases to 25◦C if the coefficient of thermal expansion is k = 1.9 × 10−5◦C−1 (see Example 3).
32. At a certain moment, the temperature in a snake cage satisfies dT /dt = 0.008◦C/s. Estimate the rise in temperature over the next 10 s.
33. The atmospheric pressure at altitude h (kilometers) for 11 ≤ h ≤ 25 is approximately
P(h) = 128e−0.157h kilopascals
(a) Estimate !P at h = 20 when !h = 0.5. (b) Compute the actual change, and compute the percentage error in the Linear Approximation.
34. The resistance R of a copper wire at temperature T = 20◦C is R = 15 $. Estimate the resistance at T = 22◦C, assuming that dR/dT
∣∣ T =20 = 0.06 $/◦C.
35. Newton’s Law of Gravitation shows that if a person weighs w pounds on the surface of the earth, then his or her weight at distance x from the center of the earth is
W(x) = wR 2
x2 (for x ≥ R)
where R = 3960 miles is the radius of the earth (Figure 9). (a) Show that the weight lost at altitude h miles above the earth’s surface is approximately !W ≈ −(0.0005w)h. Hint: Use the Linear Approximation with dx = h. (b) Estimate the weight lost by a 200-lb football player flying in a jet at an altitude of 7 miles.
396 0
h
FIGURE 9 The distance to the center of the earth is 3960 + h miles.
36. Using Exercise 35(a), estimate the altitude at which a 130-lb pilot would weigh 129.5 lb.
37. A stone tossed vertically into the air with initial velocity v cm/s reaches a maximum height of h = v2/1960 cm. (a) Estimate !h if v = 700 cm/s and !v = 1 cm/s. (b) Estimate !h if v = 1000 cm/s and !v = 1 cm/s. (c) In general, does a 1 cm/s increase in v lead to a greater change in h at low or high initial velocities? Explain.
38. The side s of a square carpet is measured at 6 m. Estimate the maximum error in the area A of the carpet if s is accurate to within 2 cm.
In Exercises 39 and 40, use the following fact derived from Newton’s Laws: An object released at an angle θ with initial velocity v ft/s travels a horizontal distance
s = 1 32
v2 sin 2θ ft (Figure 10)
39. A player located 18.1 ft from the basket launches a successful jump shot from a height of 10 ft (level with the rim of the basket), at an angle θ = 34◦ and initial velocity v = 25 ft/s. (a) Show that !s ≈ 0.255!θ ft for a small change of !θ . (b) Is it likely that the shot would have been successful if the angle had been off by 2◦?
θ x
s
y
FIGURE 10 Trajectory of an object released at an angle θ .
40. Estimate !s if θ = 34◦, v = 25 ft/s, and !v = 2. 41. The radius of a spherical ball is measured at r = 25 cm. Estimate the maximum error in the volume and surface area if r is accurate to within 0.5 cm.
42. The dosage D of diphenhydramine for a dog of body mass w kg is D = 4.7w2/3 mg. Estimate the maximum allowable error in w for a cocker spaniel of mass w = 10 kg if the percentage error in D must be less than 3%.
43. The volume (in liters) and pressure P (in atmospheres) of a cer- tain gas satisfy PV = 24. A measurement yields V = 4 with a possible error of ±0.3 L. Compute P and estimate the maximum error in this computation.
200 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
44. In the notation of Exercise 43, assume that a measurement yields V = 4. Estimate the maximum allowable error in V if P must have an error of less than 0.2 atm.
In Exercises 45–54, find the linearization at x = a.
45. f (x) = x4, a = 1 46. f (x) = 1 x
, a = 2
47. f (θ) = sin2 θ , a = π4 48. g(x) = x2
x − 3 , a = 4
49. y = (1 + x)−1/2, a = 0 50. y = (1 + x)−1/2, a = 3
51. y = (1 + x2)−1/2, a = 0 52. y = tan−1 x, a = 1
53. y = e √
x , a = 1 54. y = ex ln x, a = 1
55. What is f (2) if the linearization of f (x) at a = 2 is L(x) = 2x + 4?
56. Compute the linearization of f (x) = 3x − 4 at a = 0 and a = 2. Prove more generally that a linear function coincides with its lineariza- tion at x = a for all a.
57. Estimate √
16.2 using the linearization L(x) of f (x) = √x at a = 16. Plot f and L on the same set of axes and determine whether the estimate is too large or too small.
58. Estimate 1/ √
15 using a suitable linearization of f (x) = 1/
√ x. Plot f and L on the same set of axes and determine whether
the estimate is too large or too small. Use a calculator to compute the percentage error.
In Exercises 59–67, approximate using linearization and use a calcu- lator to compute the percentage error.
59. 1√ 17
60. 1
101 61.
1
(10.03)2
62. (17)1/4 63. (64.1)1/3 64. (1.2)5/3
65. cos−1(0.52) 66. ln 1.07 67. e−0.012
68. Compute the linearization L(x) of f (x) = x2 − x3/2 at a = 4. Then plot f − L and find an interval I around a = 4 such that |f (x) − L(x)| ≤ 0.1 for x ∈ I .
69. Show that the Linear Approximation to f (x) = √x at x = 9 yields the estimate
√ 9 + h − 3 ≈ 16h. Set K = 0.01 and show that
|f ′′(x)| ≤ K for x ≥ 9. Then verify numerically that the error E sat- isfies Eq. (6) for h = 10−n, for 1 ≤ n ≤ 4.
70. The LinearApproximation to f (x) = tan x at x = π4 yields the estimate tan
(π 4 + h
) − 1 ≈ 2h. Set K = 6.2 and show, using a plot,
that |f ′′(x)| ≤ K for x ∈ [π4 , π4 + 0.1]. Then verify numerically that the error E satisfies Eq. (6) for h = 10−n, for 1 ≤ n ≤ 4.
Further Insights and Challenges 71. Compute dy/dx at the point P = (2, 1) on the curve y3 + 3xy = 7 and show that the linearization at P is L(x) = − 13x + 53 . Use L(x) to estimate the y-coordinate of the point on the curve where x = 2.1. 72. Apply the method of Exercise 71 to P = (0.5, 1) on y5 + y − 2x = 1 to estimate the y-coordinate of the point on the curve where x = 0.55. 73. Apply the method of Exercise 71 to P = (−1, 2) on y4 + 7xy = 2 to estimate the solution of y4 − 7.7y = 2 near y = 2.
74. Show that for any real number k, (1 + !x)k ≈ 1 + k!x for small !x. Estimate (1.02)0.7 and (1.02)−0.3.
75. Let !f = f (5 + h) − f (5), where f (x) = x2. Verify directly that E = |!f − f ′(5)h| satisfies (6) with K = 2.
76. Let !f = f (1 + h) − f (1), where f (x) = x−1. Show directly that E = |!f − f ′(1)h| is equal to h2/(1 + h). Then prove that E ≤ 2h2 if − 12 ≤ h ≤ 12 . Hint: In this case, 12 ≤ 1 + h ≤ 32 .
4.2 Extreme Values In many applications, it is important to find the minimum or maximum value of a function f . For example, a physician needs to know the maximum drug concentration in a patient’s
Maximum concentration
108642
C(t) mg/mL 0.002
0.001
t (h)
FIGURE 1 Drug concentration in bloodstream (see Exercise 74).
bloodstream when a drug is administered. This amounts to finding the highest point on the graph of C, the concentration at time t (Figure 1).
We refer to the maximum and minimum values (max and min for short) as extreme values or extrema (singular: extremum) and to the process of finding them as optimiza- tion. Sometimes, we are interested in finding the min or max for x in a particular interval I , rather than on the entire domain of f .
Often, we drop the word “absolute” and speak simply of the min or max on an interval I . When no interval is mentioned, it is understood that we refer to the extreme values on the entire domain of the function.
DEFINITION Extreme Values on an Interval Let f be a function on an interval I and let a ∈ I . We say that f (a) is the
• Absolute minimum of f on I if f (a) ≤ f (x) for all x ∈ I . • Absolute maximum of f on I if f (a) ≥ f (x) for all x ∈ I .
Does every function have a minimum or maximum value? Clearly not, as we see by taking f (x) = x. Indeed, f (x) = x increases without bound as x → ∞ and decreases
S E C T I O N 4.2 Extreme Values 201
without bound as x → −∞. In fact, extreme values do not always exist even if we restrict ourselves to an interval I . Figure 2 illustrates what can go wrong if I is open or f has a discontinuity.
• Discontinuity: (A) shows a discontinuous function with no maximum value. The values of f (x) get arbitrarily close to 3 from below, but 3 is not the maximum value because f (x) never actually takes on the value 3.
• Open interval: In (B), g(x) is defined on the open interval (a, b). It has no max because it tends to ∞ on the right, and it has no min because it tends to 10 on the left without ever reaching this value.
Fortunately, our next theorem guarantees that extreme values exist when the function is continuous and I is closed [Figure 2(C)].
x xx
y y y
Every continuous function on a closed interval [a, b] has both a min and a max on [a, b].
(C)Continuous function with no min or max on the open interval (a, b).
(B)Discontinuous function with no max on [a, b], and a min at x = a.
(A)
y = g(x)
10
Max on [a, b]
Min on [a, b] Min on [a, b]
y = h(x)
1
2
3 y = f (x)
a c b a b a b
FIGURE 2
THEOREM 1 Existence of Extrema on a Closed Interval A continuous function f on a closed (bounded) interval I = [a, b] takes on both a minimum and a maximum value on I .
REMINDER A closed, bounded interval is an interval I = [a, b] (endpoints included), where a and b are both finite. Often, we drop the word “bounded” and refer to I more simply as a closed interval. An open interval (a, b) (endpoints not included) may have one or two infinite endpoints.
CONCEPTUAL INSIGHT Why does Theorem 1 require a closed interval? Think of the graph of a continuous function as a string. If the interval is closed, the string is pinned down at the two endpoints and cannot fly off to infinity (or approach a min/max without reaching it) as in Figure 2(B). Intuitively, therefore, it must have a highest and lowest point. However, a rigorous proof of Theorem 1 relies on the completeness property of the real numbers (see Appendix D).
Local Extrema and Critical Points We focus now on the problem of finding extreme values. A key concept is that of a local minimum or maximum.
DEFINITION Local Extrema We say that f (c) is a
• Local minimum occurring at x = c if f (c) is the minimum value of f on some open interval (in the domain of f ) containing c.
• Local maximum occurring at x = c if f (c) is the maximum value of f on some open interval (in the domain of f ) containing c.
When we get to the top of a hill in an otherwise flat region, our altitude is at a local maximum, but we are still far from the point of absolute maximum altitude, which is located at the peak of Mt. Everest. That’s the difference between local and absolute extrema.
Adapted from V. M. Tikhomirov, Stories About Maxima and Minima, 1990.
A local max occurs at x = c if (c, f (c)) is the highest point on the graph within some small box [Figure 3(A)]. Thus, f (c) is greater than or equal to all other nearby values, but it does not have to be the absolute maximum value of f . Local minima are similar. Figure 3(B) illustrates the difference between local and absolute extrema: f (a) is the absolute max on [a, b] but is not a local max because f (x) takes on larger values to the left of x = a.
202 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
x
y
x
y
(A)
ca b
(B)
Local max (c, f (c))
y = f (x) Absolute max on [a, b]
c
Local min and abs. min
Local min
Local max
f (c)
f (a)
FIGURE 3
How do we find the local extrema? The crucial observation is that the tangent line at a local min or max is horizontal [Figure 4(A)]. In other words, if f (c) is a local min or max, then f ′(c) = 0. However, this assumes that f is differentiable. Otherwise, the tangent line may not exist, as in Figure 4(B). To take both possibilities into account, we define the notion of a critical point.
Tangent line is horizontal at the local extrema.
(A) (B) This local minimum occurs at a point where the function is not differentiable.
c x
c x
FIGURE 4
DEFINITION Critical Points A number c in the domain of f is called a critical point if either f ′(c) = 0 or f ′(c) does not exist.
EXAMPLE 1 Find the critical points of f (x) = x3 − 9x2 + 24x − 10. x
y
2 4
FIGURE 5 Graph of f (x) = x3 − 9x2 + 24x − 10.
Solution The function f is differentiable everywhere (Figure 5), so the critical points are the solutions of f ′(x) = 0:
f ′(x) = 3x2 − 18x + 24 = 3(x2 − 6x + 8) = 3(x − 2)(x − 4) = 0
The critical points are the roots c = 2 and c = 4.
EXAMPLE 2 Nondifferentiable Function Find the critical points of f (x) = |x|. Solution As we see in Figure 6, f ′(x) = −1 for x < 0 and f ′(x) = 1 for x > 0. There-
x
y
−1
1
FIGURE 6 Graph of f (x) = |x|.
fore, f ′(x) = 0 has no solutions with x ̸= 0. However, f ′(0) does not exist. Thus, c = 0 is a critical point.
The next theorem tells us that we can find local extrema by solving for the critical points. It is one of the most important results in calculus.
THEOREM 2 Fermat’s Theorem on Local Extrema If f (c) is a local min or max, then c is a critical point of f .
S E C T I O N 4.2 Extreme Values 203
Proof Suppose that f (c) is a local minimum (the case of a local maximum is similar). If f ′(c) does not exist, then c is a critical point and there is nothing more to prove. So assume that f ′(c) exists. We must then prove that f ′(c) = 0.
Because f (c) is a local minimum, we have f (c + h) ≥ f (c) for all sufficiently small h ̸= 0. Equivalently, f (c + h) − f (c) ≥ 0. Now divide this inequality by h:
f (c + h) − f (c) h
≥ 0 if h > 0 1
f (c + h) − f (c) h
≤ 0 if h < 0 2
Figure 7 shows the graphical interpretation of these inequalities. Taking the one-sided
c
Secant line has positive slope
for h > 0.
Secant line has negative slope
for h < 0.
c − h c ⇓ h x
FIGURE 7
limits of both sides of (1) and (2), we obtain
f ′(c) = lim h→0+
f (c + h) − f (c) h
≥ lim h→0+
0 = 0
f ′(c) = lim h→0−
f (c + h) − f (c) h
≤ lim h→0−
0 = 0
Thus, f ′(c) ≥ 0 and f ′(c) ≤ 0. The only possibility is f ′(c) = 0 as claimed.
CONCEPTUAL INSIGHT Fermat’s Theorem does not claim that all critical points yield local extrema. “False positives” may exist—that is, we might have f ′(c) = 0 without f (c) being a local min or max. For example, f (x) = x3 has derivative f ′(x) = 3x2 and f ′(0) = 0, but f (0) is neither a local min nor max (Figure 8). The origin is a point of inflection (studied in Section 4.4), where the tangent line crosses the graph.
Optimizing on a Closed Interval Finally, we have all the tools needed for optimizing a continuous function on a closed
f (x) = x3 1
−1
−1 x
y
1
FIGURE 8 The tangent line at (0, 0) is horizontal, but f (0) is not a local min or max.
In this section, we restrict our attention to closed intervals because in this case extreme values are guaranteed to exist (Theorem 1). Optimization on open intervals is discussed in Section 4.7.
interval. Theorem 1 guarantees that the extreme values exist, and the next theorem tells us where to find them, namely among the critical points or endpoints of the interval.
THEOREM 3 Extreme Values on a Closed Interval Assume that f is continuous on [a, b] and let f (c) be the minimum or maximum value on [a, b]. Then c is either a critical point or one of the endpoints a or b.
Proof If c is one of the endpoints a or b, there is nothing to prove. If not, then c belongs to the open interval (a, b). In this case, f (c) is also a local min or max because it is the min or max on (a, b). By Fermat’s Theorem, c is a critical point.
EXAMPLE 3 Find the extrema of f (x) = 2x3 − 15x2 + 24x + 7 on [0, 6]. Solution The extreme values occur at critical points or endpoints by Theorem 3, so we can break up the problem neatly into two steps.
Step 1. Find the critical points. The function f is differentiable, so we find the critical points by solving
f ′(x) = 6x2 − 30x + 24 = 6(x − 1)(x − 4) = 0 The critical points are c = 1 and 4.
Step 2. Compare values of f (x) at the critical points and endpoints.
x-value Value of f (x)
1 (critical point) f (1) = 18 4 (critical point) f (4) = −9 min 0 (endpoint) f (0) = 7 6 (endpoint) f (6) = 43 max
204 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
The maximum value of f (x) on [0, 6] is the largest of the values in this table, namely f (6) = 43. Similarly, the minimum is f (4) = −9. See Figure 9.
x
y
20
40
1
4
Min
Max
6
FIGURE 9 Extreme values of f (x) = 2x3 − 15x2 + 24x + 7 on [0, 6].
EXAMPLE 4 Function with a Cusp Find the maximum of f (x) = 1 − (x − 1)2/3 on [−1, 2]. Solution First, find the critical points:
f ′(x) = −2 3 (x − 1)−1/3 = − 2
3(x − 1)1/3
The equation f ′(x) = 0 has no solutions because f ′(x) is never zero. However, f ′(x) does not exist at x = 1, so c = 1 is a critical point (Figure 10).
1 2−1
1
Min
Max
x
y
FIGURE 10 Extreme values of f (x) = 1 − (x − 1)2/3 on [−1, 2].
Next, compare values of f (x) at the critical points and endpoints:
x-value Value of f (x)
1 (critical point) f (1) = 1 max −1 (endpoint) f (−1) ≈ −0.59 min 2 (endpoint) f (2) = 0
EXAMPLE 5 Logarithmic Example Find the extreme values of the function f (x) = x2 − 8 ln x on [1, 4].
x
y
(2, −1.55) Min
2
−1.5
4
6
1 2 3 4 5
Max
FIGURE 11 Extreme values of f (x) = x2 − 8 ln x on [1, 4].
Solution First, solve for the critical points:
f ′(x) = 2x − 8 x
= 0 ⇒ 2x = 8 x
⇒ x = ±2
The only critical point in the interval [1, 4] is c = 2. Next, compare the values of f (x) at the critical points and endpoints (Figure 11):
x-value Value of f (x)
2 (critical point) f (2) ≈ −1.55 min 1 (endpoint) f (1) = 1 4 (endpoint) f (4) ≈ 4.9 max
We see that the min on [1, 4] is f (2) ≈ −1.55 and the max is f (4) ≈ 4.9.
EXAMPLE 6 Trigonometric Function Find the minimum and maximum of the func- tion f (x) = sin x + cos2 x on [0, 2π ] (Figure 12). Solution First, solve for the critical points:
f ′(x) = cos x − 2 sin x cos x = cos x(1 − 2 sin x) = 0 ⇒ cos x = 0 or sin x = 1 2
cos x = 0 ⇒ x = π 2
, 3π 2
and sin x = 1 2
⇒ x = π 6
, 5π 6
Then compare the values of f (x) at the critical points and endpoints:
y
−1
1
π 6
π 2
5π 6
3π 2π 2
x
FIGURE 12 f attains a max at π6 and 5π 6
and a min at 3π2 .
x-value Value of f (x)
π 2 (critical point) f
(π 2 )
= 1 + 02 = 1 3π 2 (critical point) f
( 3π 2
) = −1 + 02 = −1 min
π 6 (critical point) f
(π 6 )
= 12 + (√
3 2
)2 = 54 max
5π 6 (critical point) f
( 5π 6
) = 12 +
( −
√ 3
2
)2 = 54 max
0 and 2π (endpoints) f (0) = f (2π) = 1
S E C T I O N 4.2 Extreme Values 205
Rolle’s Theorem As an application of our optimization methods, we prove Rolle’s Theorem: If f is dif- ferentiable and takes on the same value at two different points a and b, then somewhere between these two points the derivative is zero. Graphically, if the secant line between x = a and x = b is horizontal, then at least one tangent line between a and b is also horizontal (Figure 13).
x
y
a bc
f (a) = f (b)
f '(c) = 0
FIGURE 13 Rolle’s Theorem: If f (a) = f (b), then f ′(c) = 0 for some c between a and b.
THEOREM 4 Rolle’s Theorem Assume that f is continuous on [a, b] and differen- tiable on (a, b). If f (a) = f (b), then there exists a number c between a and b such that f ′(c) = 0.
Proof Since f is continuous and [a, b] is closed, f has a min and a max in [a, b]. Where do they occur? If either the min or the max occurs at a point c in the open interval (a, b), then f (c) is a local extreme value and f ′(c) = 0 by Fermat’s Theorem (Theorem 2). Otherwise, both the min and the max occur at the endpoints. However, f (a) = f (b), so in this case, the min and max coincide and f is a constant function with zero derivative. Then, f ′(c) = 0 for all c in (a, b).
EXAMPLE 7 Illustrating Rolle’s Theorem Verify Rolle’s Theorem for
f (x) = x4 − x2 on [−2, 2] Solution The hypotheses of Rolle’s Theorem are satisfied because f is differentiable (and therefore continuous) everywhere, and f (2) = f (−2):
f (2) = 24 − 22 = 12, f (−2) = (−2)4 − (−2)2 = 12 We must verify that f ′(c) = 0 has a solution in (−2, 2), so we solve f ′(x) = 4x3 − 2x = 2x(2x2 − 1) = 0. The solutions are c = 0 and c = ±1/
√ 2 ≈ ±0.707. They all lie in
(−2, 2), so Rolle’s Theorem is satisfied with three values of c.
EXAMPLE 8 Using Rolle’s Theorem Show that f (x) = x3 + 9x − 4 has precisely one real root.
Solution First, we note that f (0) = −4 is negative and f (1) = 6 is positive. By the
−2 −1 21a
20
−20
x
y
FIGURE 14 Graph of f (x) = x3 + 9x − 4. This function has one real root.
Intermediate Value Theorem (Section 2.8), f has at least one root a in [0, 1]. If f had a second root b, then f (a) = f (b) = 0 and Rolle’s Theorem would imply that f ′(c) = 0 for some c ∈ (a, b). This is not possible because f ′(x) = 3x2 + 9 ≥ 9, so f ′(c) = 0 has no solutions. We conclude that a is the only real root of f (Figure 14).
We can hardly expect a more general method…. This method never fails and could be extended to a number of beautiful problems; with its aid we have found the centers of gravity of figures bounded by straight lines or curves, as well as those of solids, and a number of other results which we may treat elsewhere if we have the time to do so.
—From Fermat’s On Maxima and Minima and on Tangents
4.2 SUMMARY
• The extreme values of f on an interval I are the minimum and maximum values of f for x ∈ I (also called absolute extrema on I ).
• Basic Theorem: If f is continuous on a closed interval [a, b], then f has both a min and a max on [a, b].
• f (c) is a local minimum if f (x) ≥ f (c) for all x in some open interval around c. Local maxima are defined similarly.
• x = c is a critical point of f if either f ′(c) = 0 or f ′(c) does not exist. • Fermat’s Theorem: If f (c) is a local min or max, then c is a critical point. • To find the extreme values of a continuous function f on a closed interval [a, b]:
Step 1. Find the critical points of f in [a, b]. Step 2. Calculate f (x) at the critical points in [a, b] and at the endpoints. The min and max on [a, b] are the smallest and largest among the values computed in Step 2.
• Rolle’s Theorem: If f is continuous on [a, b] and differentiable on (a, b), and if f (a) = f (b), then there exists c between a and b such that f ′(c) = 0.
206 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
Pierre de Fermat (1601–1665)
(© Bettmann/Corbis)
René Descartes (1596–1650)
(© Stapleton Collection/Corbis)
HISTORICAL PERSPECTIVE
Sometime in the 1630s, in the decade before Isaac Newton was born, the French mathe- matician Pierre de Fermat invented a general method for finding extreme values. Fermat said, in essence, that if you want to find extrema, you must set the derivative equal to zero and solve for the critical points, just as we have done in this section. He also described a general method for finding tangent lines that is not essentially dif- ferent from our method of derivatives. For this reason, Fermat is often regarded as an inventor of calculus, together with Newton and Leibniz.
At around the same time, René Descartes (1596-1650) developed a different but less effec- tive approach to finding tangent lines. Descartes, after whom Cartesian coordinates are named, was a profound thinker—the leading philoso- pher and scientist of his time in Europe. He is re- garded today as the father of modern philosophy and the founder (along with Fermat) of analytic geometry. A dispute developed when Descartes learned through an intermediary that Fermat had criticized his work on optics. Sensitive and stub- born, Descartes retaliated by attacking Fermat’s method of finding tangents and only after some
third-party refereeing did he admit that Fermat was correct. He wrote:
…Seeing the last method that you use for finding tangents to curved lines, I can reply to it in no other way than to say that it is very good and that, if you had explained it in this manner at the outset, I would have not contradicted it at all.
However, in subsequent private correspondence, Descartes was less generous, referring at one point to some of Fermat’s work as “le galimatias le plus ridicule”—meaning the most ridiculous gibberish. Today Fermat is recognized as one of the greatest mathematicians of his age who made far-reaching contributions in several areas of mathematics.
4.2 EXERCISES
Preliminary Questions 1. What is the definition of a critical point?
In Questions 2 and 3, choose the correct conclusion. 2. If f is not continuous on [0, 1], then
(a) f has no extreme values on [0, 1]. (b) f might not have any extreme values on [0, 1].
3. If f is continuous but has no critical points in [0, 1], then (a) f has no min or max on [0, 1]. (b) Either f (0) or f (1) is the minimum value on [0, 1]. 4. Fermat’s Theorem does not claim that if f ′(c) = 0, then f (c) is a
local extreme value (this is false). What does Fermat’s Theorem assert?
Exercises 1. The following questions refer to Figure 15.
(a) How many critical points does f have on [0, 8]? (b) What is the maximum value of f on [0, 8]? (c) What are the local maximum values of f ? (d) Find a closed interval on which both the minimum and maximum values of f occur at critical points. (e) Find an interval on which the minimum value occurs at an endpoint.
x
y
83 4 5 6 721
2
3
4
5
6
1
y = f (x)
FIGURE 15
2. State whether f (x) = x−1 (Figure 16) has a minimum or maxi- mum value on the following intervals: (a) (0, 2) (b) (1, 2) (c) [1, 2]
x
y
1 2 3 FIGURE 16 Graph of f (x) = x−1.
In Exercises 3–20, find all critical points of the function.
3. f (x) = x2 − 2x + 4 4. f (x) = 7x − 2
5. f (x) = x3 − 92x2 − 54x + 2 6. f (t) = 8t3 − t2
S E C T I O N 4.2 Extreme Values 207
7. f (x) = x−1 − x−2 8. g(z) = 1 z − 1 −
1 z
9. f (x) = x x2 + 1 10. f (x) =
x2
x2 − 4x + 8
11. f (t) = t − 4 √
t + 1 12. f (t) = 4t − √
t2 + 1
13. f (x) = xe2x 14. f (x) = x + |2x + 1|
15. g(θ) = sin2 θ 16. R(θ) = cos θ + sin2 θ
17. f (x) = x ln x 18. f (x) = x2 √
1 − x2
19. f (x) = sin−1 x − 2x 20. f (x) = sec−1 x − ln x
21. Let f (x) = x2 − 4x + 1. (a) Find the critical point c of f and compute f (c). (b) Compute the value of f (x) at the endpoints of the interval [0, 4]. (c) Determine the min and max of f on [0, 4]. (d) Find the extreme values of f on [0, 1]. 22. Find the extreme values of f (x) = 2x3 − 9x2 + 12x on [0, 3] and [0, 2]. 23. Find the critical points of f (x) = sin x + cos x and determine the extreme values on
[ 0, π2
] .
24. Compute the critical points of h(t) = (t2 − 1)1/3. Check that your answer is consistent with Figure 17. Then find the extreme values of h on [0, 1] and on [0, 2].
1 2−1−2
1
−1
t
h(t)
FIGURE 17 Graph of h(t) = (t2 − 1)1/3.
25. Plot f (x) = 2√x − x on [0, 4] and determine the maxi- mum value graphically. Then verify your answer using calculus.
26. Plot f (x) = ln x − 5 sin x on [0.1, 2] and approximate both the critical points and the extreme values.
27. Approximate the critical points of g(x) = x cos−1 x and estimate the maximum value of g.
28. Approximate the critical points of g(x) = 5ex − tan x in( −π2 , π2
) .
In Exercises 29–58, find the minimum and maximum value of the func- tion on the given interval by comparing values at the critical points and endpoints.
29. y = 2x2 + 4x + 5, [−2, 2] 30. y = 2x2 + 4x + 5, [0, 2]
31. y = 6t − t2, [0, 5] 32. y = 6t − t2, [4, 6]
33. y = x3 − 6x2 + 8, [1, 6] 34. y = x3 + x2 − x, [−2, 2]
35. y = 2t3 + 3t2, [1, 2] 36. y = x3 − 12x2 + 21x, [0, 2]
37. y = z5 − 80z, [−3, 3] 38. y = 2x5 + 5x2, [−2, 2]
39. y = x 2 + 1 x − 4 , [5, 6] 40. y =
1 − x x2 + 3x , [1, 4]
41. y = x − 4x x + 1 , [0, 3]
42. y = 2 √
x2 + 1 − x, [0, 2]
43. y = (2 + x) √
2 + (2 − x)2, [0, 2]
44. y = √
1 + x2 − 2x, [0, 1]
45. y = √
x + x2 − 2√x, [0, 4] 46. y = (t − t2)1/3, [−1, 2]
47. y = sin x cos x, [ 0, π2
] 48. y = x + sin x, [0, 2π ]
49. y = √
2 θ − sec θ , [ 0, π3
]
50. y = cos θ + sin θ , [0, 2π ]
51. y = θ − 2 sin θ , [0, 2π ]
52. y = 4 sin3 θ − 3 cos2 θ , [0, 2π ]
53. y = tan x − 2x, [0, 1] 54. y = xe−x , [0, 2]
55. y = ln x x
, [1, 3] 56. y = 5 tan−1 x − x, [1, 5]
57. y = 3ex − e2x , [ − 12 , 1
] 58. y = x3 − 24 ln x,
[ 1 2 , 3
]
59. Let f (θ) = 2 sin 2θ + sin 4θ . (a) Show that θ is a critical point if cos 4θ = − cos 2θ . (b) Show, using a unit circle, that cos θ1 = − cos θ2 if and only if θ1 = π ± θ2 + 2πk for an integer k. (c) Show that cos 4θ = − cos 2θ if and only if θ = π2 + πk or θ = π 6 +
(π 3 ) k.
(d) Find the six critical points of f on [0, 2π ] and find the extreme values of f on this interval.
(e) Check your results against a graph of f .
60. Find the critical points of f (x) = 2 cos 3x + 3 cos 2x in [0, 2π ]. Check your answer against a graph of f . In Exercises 61–64, find the critical points and the extreme values on [0, 4]. In Exercises 63 and 64, refer to Figure 18. 61. y = |x − 2| 62. y = |3x − 9|
63. y = |x2 + 4x − 12| 64. y = | cos x|
x
y = |x2 + 4x − 12| 2−6
10
20
30 y = |cos x|
1
−π 2
π π 2
3π 2
x
yy
FIGURE 18
In Exercises 65–68, verify Rolle’s Theorem for the given interval by checking f (a) = f (b) and then finding a value c in (a, b) such that f ′(c) = 0. 65. f (x) = x + x−1,
[ 1 2 , 2
] 66. f (x) = sin x,
[π 4 ,
3π 4
]
208 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
67. f (x) = x 2
8x − 15 , [3, 5]
68. f (x) = sin2 x − cos2 x, [π
4 , 3π 4
]
69. Prove that f (x) = x5 + 2x3 + 4x − 12 has precisely one real root.
70. Prove that f (x) = x3 + 3x2 + 6x has precisely one real root. 71. Prove that f (x) = x4 + 5x3 + 4x has no root c satisfying c > 0. Hint: Note that x = 0 is a root and apply Rolle’s Theorem. 72. Prove that c = 4 is the largest root of f (x) = x4 − 8x2 − 128. 73. The position of a mass oscillating at the end of a spring is s(t) = A sin ωt , where A is the amplitude and ω is the angular frequency. Show that the speed |v(t)| is at a maximum when the acceleration a(t) is zero and that |a(t)| is at a maximum when v(t) is zero. 74. The concentration C(t) (in milligrams per cubic centimeter) of a drug in a patient’s bloodstream after t hours is
C(t) = 0.016t t2 + 4t + 4
Find the maximum concentration in the time interval [0, 8] and the time at which it occurs.
75. Antibiotic Levels A study shows that the concentration C(t) (in micrograms per milliliter) of antibiotic in a patient’s blood serum after t hours is C(t) = 120(e−0.2t − e−bt ), where b ≥ 1 is a constant that depends on the particular combination of antibiotic agents used. Solve numerically for the value of b (to two decimal places) for which maximum concentration occurs at t = 1 h. You may assume that the maximum occurs at a critical point as suggested by Figure 19.
t (h)
C (mcg/mL)
2 4 6 8 10 12
20
40
60
80
100
FIGURE 19 Graph of C(t) = 120(e−0.2t − e−bt ) with b chosen so that the maximum occurs at t = 1 h.
76. In the notation of Exercise 75, find the value of b (to two decimal places) for which the maximum value of C is equal to 100 mcg/ml.
77. In 1919 physicist Alfred Betz argued that the maximum efficiency of a wind turbine is around 59%. If wind enters a turbine with speed v1 and exits with speed v2, then the power extracted is the difference in kinetic energy per unit time:
P = 1 2 mv21 −
1 2 mv22 watts
where m is the mass of wind flowing through the rotor per unit time (Figure 20). Betz assumed that m = ρA(v1 + v2)/2, where ρ is the density of air and A is the area swept out by the rotor. Wind flowing undisturbed through the same area A would have mass per unit time ρAv1 and power P0 = 12ρAv
3 1. The fraction of power extracted by the
turbine is F = P/P0.
(a) Show that F depends only on the ratio r = v2/v1 and is equal to F(r) = 12 (1 − r
2)(1 + r), where 0 ≤ r ≤ 1. (b) Show that the maximum value of F , called the Betz Limit, is 16/27 ≈ 0.59. (c) Explain why Betz’s formula for F is not meaningful for r close to zero. Hint: How much wind would pass through the turbine if v2 were zero? Is this realistic?
1
0.1 0.2 0.3
0.5 0.4
0.6
0.5
F
(A) Wind flowing through a turbine. (B) F is the fraction of energy extracted by the turbine as a function of r = v2/v1.
v1 v2
r
FIGURE 20
78. The Bohr radius a0 of the hydrogen atom is the value of r that minimizes the energy
E(r) = h̄ 2
2mr2 − e
2
4πϵ0r
where h̄, m, e, and ϵ0 are physical constants. Show that a0 = 4πϵ0h̄2/(me2). Assume that the minimum occurs at a critical point, as suggested by Figure 21.
1 32 −1
−2
1
2
r (10−10 m)
E(r) (10−18 joules)
FIGURE 21
79. The response of a circuit or other oscillatory system to an input of frequency ω (“omega”) is described by the function
φ(ω) = 1√ (ω20 − ω2)2 + 4D2ω2
Both ω0 (the natural frequency of the system) and D (the damping factor) are positive constants. The graph of φ is called a resonance curve, and the positive frequency ωr > 0, where φ takes its maxi- mum value, if it exists, is called the resonant frequency. Show that
ωr = √
ω20 − 2D2 if 0 < D < ω0/ √
2 and that no resonant frequency exists otherwise (Figure 22).
ω
(A) D = 0.01 (B) D = 0.2 2 2ωr
(C) D = 0.75 (no resonance)
50
φ φ φ
ω ωr
1
2
3
ω 31 2
1
0.5
FIGURE 22 Resonance curves with ω0 = 1.
S E C T I O N 4.2 Extreme Values 209
80. Bees build honeycomb structures out of cells with a hexagonal base and three rhombus-shaped faces on top, as in Figure 23. We can show that the surface area of this cell is
A(θ) = 6hs + 3 2 s2(
√ 3 csc θ − cot θ)
with h, s, and θ as indicated in the figure. Remarkably, bees “know” which angle θ minimizes the surface area (and therefore requires the least amount of wax). (a) Show that θ ≈ 54.7◦ (assume h and s are constant). Hint: Find the critical point of A(θ) for 0 < θ < π/2. (b) Confirm, by graphing f (θ) =
√ 3 csc θ − cot θ , that the
critical point indeed minimizes the surface area.
s
h
θ
FIGURE 23 A cell in a honeycomb constructed by bees.
81. Find the maximum of y = xa − xb on [0, 1], where 0 < a < b. In particular, find the maximum of y = x5 − x10 on [0, 1].
In Exercises 82–84, plot the function using a graphing utility and find its critical points and extreme values on [−5, 5].
82. y = 1 1 + |x − 1|
83. y = 1 1 + |x − 1| +
1 1 + |x − 4|
84. y = x|x2 − 1| + |x2 − 4| 85. (a) Use implicit differentiation to find the critical points on the curve 27x2 = (x2 + y2)3.
(b) Plot the curve and the horizontal tangent lines on the same set of axes.
86. Sketch the graph of a continuous function on (0, 4) with a minimum value but no maximum value.
87. Sketch the graph of a continuous function on (0, 4) having a local minimum but no absolute minimum.
88. Sketch the graph of a function on [0, 4] having (a) Two local maxima and one local minimum. (b) An absolute minimum that occurs at an endpoint, and an absolute maximum that occurs at a critical point.
89. Sketch the graph of a function f on [0, 4] with a discontinuity such that f has an absolute minimum but no absolute maximum.
90. A rainbow is produced by light rays that enter a raindrop (assumed spherical) and exit after being reflected internally as in Figure 24. The angle between the incoming and reflected rays is θ = 4r − 2i, where the angle of incidence i and refraction r are related by Snell’s Law sin i = n sin r with n ≈ 1.33 (the index of refraction for air and water). (a) Use Snell’s Law to show that
dr
di = cos i
n cos r .
(b) Show that the maximum value θmax of θ occurs when i satisfies
cos i = √
n2 − 1 3
. Hint: Show that dθ
di = 0 if cos i = n
2 cos r . Then
use Snell’s Law to eliminate r . (c) Show that θmax ≈ 42.53◦.
i r
r r
r
i
θ
Incoming light ray
Water droplet
Reflected ray
(Daniel Grill/iStockphoto.com)
FIGURE 24
Further Insights and Challenges 91. Show that the extreme values of f (x) = a sin x + b cos x are ±
√ a2 + b2.
92. Show, by considering its minimum, that f (x) = x2 − 2x + 3 takes on only positive values. More generally, find the conditions on r and s under which the quadratic function f (x) = x2 + rx + s takes on only positive values. Give examples of r and s for which f takes on both positive and negative values.
93. Show that if the quadratic polynomial f (x) = x2 + rx + s takes on both positive and negative values, then its minimum value occurs at the midpoint between the two roots.
94. Generalize Exercise 93: Show that if the horizontal line y = c in- tersects the graph of f (x) = x2 + rx + s at two points (x1, f (x1)) and (x2, f (x2)), then f takes its minimum value at the midpoint
M = x1 + x2 2
(Figure 25).
x x1 M
c
y = f (x)
y = c
x2
y
FIGURE 25
95. A cubic polynomial may have a local min and max, or it may have neither (Figure 26). Find conditions on the coefficients a and b of
f (x) = 1 3 x3 + 1
2 ax2 + bx + c
that ensure f has neither a local min nor a local max. Hint: Apply Exercise 92 to f ′(x).
210 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
−4 −2 42
(A) (B)
−2 42
20
−20
60
30
x
y
x
y
FIGURE 26 Cubic polynomials.
96. Find the min and max of
f (x) = xp(1 − x)q on [0, 1]
where p, q > 0.
97. Prove that if f is continuous and f (a) and f (b) are local minima where a < b, then there exists a value c between a and b such that f (c) is a local maximum. (Hint: Apply Theorem 1 to the interval [a, b].) Show that continuity is a necessary hypothesis by sketching the graph of a function (necessarily discontinuous) with two local minima but no local maximum.
4.3 The Mean Value Theorem and Monotonicity We have taken for granted that if f ′(x) is positive, the function f is increasing, and if f ′(x)
a c b
Slope f '(c)
Slope f (b) − f (a)
b − a x
FIGURE 1 By the MVT, there exists at least one tangent line parallel to the secant line.
is negative, f is decreasing. In this section, we prove this rigorously using an important result called the Mean Value Theorem (MVT). Then we develop a method for “test- ing” critical points—that is, for determining whether they correspond to local minima or maxima.
The MVT says that a secant line between two points (a, f (a)) and (b, f (b)) on a graph is parallel to at least one tangent line in the interval (a, b) (Figure 1). Since the
secant line between (a, f (a)) and (b, f (b) has slope f (b) − f (a)
b − a and since two lines are parallel if they have the same slope, the MVT is claiming that there exists a point c between a and b such that
f ′(c)︸ ︷︷ ︸ Slope of tangent line
= f (b) − f (a) b − a︸ ︷︷ ︸
Slope of secant line
THEOREM 1 The Mean Value Theorem Assume that f is continuous on the closed interval [a, b] and differentiable on (a, b). Then there exists at least one value c in (a, b) such that
f ′(c) = f (b) − f (a) b − a
Rolle’s Theorem (Section 4.2) is the special case of the MVT in which f (a) = f (b). In this case, the conclusion is that f ′(c) = 0.
FIGURE 2 Move the secant line in a parallel fashion until it becomes tangent to the curve.
GRAPHICAL INSIGHT Imagine what happens when a secant line is moved parallel to itself. Eventually, it becomes a tangent line, as shown in Figure 2. This is the idea behind the MVT. We present a formal proof at the end of this section.
CONCEPTUAL INSIGHT The conclusion of the MVT can be rewritten as
f (b) − f (a) = f ′(c)(b − a)
We can think of this as a variation on the Linear Approximation, which says
f (b) − f (a) ≈ f ′(a)(b − a)
The MVT turns this approximation into an equality by replacing f ′(a) with f ′(c) for a suitable choice of c in (a, b).
S E C T I O N 4.3 The Mean Value Theorem and Monotonicity 211
EXAMPLE 1 Verify the MVT with f (x) = √x, a = 1, and b = 9.
Solution First, compute the slope of the secant line (Figure 3):
y
x 1 2 3 4 5 6 7 8 9 10 11 12
1
2
3
4
(1, 1)
(9, 3)
Secant line
Tangent line f (x) = x
FIGURE 3 The tangent line at c = 4 is parallel to the secant line.
f (b) − f (a) b − a =
√ 9 −
√ 1
9 − 1 = 3 − 1 9 − 1 =
1 4
We must find c such that f ′(c) = 1/4. The derivative is f ′(x) = 12x−1/2, and
f ′(c) = 1 2 √
c = 1
4 ⇒ 2√c = 4 ⇒ c = 4
The value c = 4 lies in (1, 9) and satisfies f ′(4) = 14 . This verifies the MVT.
As a first application, we prove that a function with zero derivative is constant.
COROLLARY If f is differentiable and f ′(x) = 0 for all x ∈ (a, b), then f is constant on (a, b). In other words, f (x) = C for some constant C.
Proof If a1 and b1 are any two distinct points in (a, b), then, by the MVT, there exists c between a1 and b1 such that
f (b1) − f (a1) = f ′(c)(b1 − a1) = 0 (since f ′(c) = 0)
Thus, f (b1) = f (a1). This says that f (x) is constant on (a, b).
Increasing / Decreasing Behavior of Functions We prove now that the sign of the derivative determines whether a function f is increasing or decreasing. Recall that f is
• Increasing on (a, b) if f (x1) < f (x2) for all x1, x2 ∈ (a, b) such that x1 < x2. • Decreasing on (a, b) if f (x1) > f (x2) for all x1, x2 ∈ (a, b) such that x1 < x2.
We say that f is monotonic on (a, b) if it is either increasing or decreasing on (a, b).
We say that f is “nondecreasing” if
f (x1) ≤ f (x2) for x1 ≤ x2 “Nonincreasing” is defined similarly. In Theorem 2, if we assume that f ′(x) ≥ 0 (instead of > 0), then f is nondecreasing on (a, b). If f ′(x) ≤ 0, then f is nonincreasing on (a, b).
THEOREM 2 The Sign of the Derivative Let f be a differentiable function on an open interval (a, b).
• If f ′(x) > 0 for x ∈ (a, b), then f is increasing on (a, b). • If f ′(x) < 0 for x ∈ (a, b), then f is decreasing on (a, b).
Proof Suppose first that f ′(x) > 0 for all x ∈ (a, b). The MVT tells us that for any two points x1 < x2 in (a, b), there exists c between x1 and x2 such that
f (x2) − f (x1) = f ′(c)(x2 − x1) > 0
The inequality holds because f ′(c) and (x2 − x1) are both positive. Therefore, f (x2) > f (x1), as required. The case f ′(x) < 0 is similar.
GRAPHICAL INSIGHT Theorem 2 confirms our graphical intuition (Figure 4):
• f ′(x) > 0 ⇒ Tangent lines have positive slope ⇒ f increasing • f ′(x) < 0 ⇒ Tangent lines have negative slope ⇒ f decreasing
Increasing function: Tangent lines have positive slope.
Decreasing function: Tangent lines have negative slope.
FIGURE 4
212 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
EXAMPLE 2 Show that f (x) = ln x is increasing.
Solution The derivative f ′(x) = x−1 is positive on the domain {x : x > 0}, so f (x) = ln x is increasing. Observe, however, that f ′(x) = x−1 is decreasing, so the graph of f grows flatter as x → ∞ (Figure 5).
f (x) = ln x
1 x
y
FIGURE 5 The tangent lines to y = ln x get flatter as x → ∞.
f ´ > 0f ´ < 0 f increasingf decreasing
−1
−4
31
y
x
FIGURE 6 Graph of f (x) = x2 − 2x − 3.
EXAMPLE 3 Find the intervals on which f (x) = x2 − 2x − 3 is monotonic.
Solution The derivative f ′(x) = 2x − 2 = 2(x − 1) is positive for x > 1 and negative for x < 1. By Theorem 2, f is decreasing on the interval (−∞, 1) and increasing on the interval (1, ∞), as confirmed in Figure 6.
Testing Critical Points There is a useful test for determining whether a critical point is a min or max (or neither) based on the sign change of the derivative f ′(x).
To explain the term “sign change,” suppose that a function g satisfies g(c) = 0. We say that g(x) changes from positive to negative at x = c if g(x) > 0 to the left of c and g(x) < 0 to the right of c for x within a small open interval around c (Figure 7). A sign change from negative to positive is defined similarly. Observe in Figure 7 that
y
x
No sign change Sign change from − to +
Sign change from + to −
y = g(x)
4321 5
FIGURE 7
g(5) = 0 but g(x) does not change sign at x = 5.
Now suppose that f ′(c) = 0 and that f ′(x) changes sign at x = c, say, from + to −. Then f is increasing to the left of c and decreasing to the right, so f (c) is a local maximum. Similarly, if f ′(x) changes sign from − to +, then f (c) is a local minimum. See Figure 8(A).
Figure 8(B) illustrates a case where f ′(c) = 0 but f ′(x) does not change sign. In this case, f ′(x) > 0 for all x near but not equal to c, so f is increasing and has neither a local min nor a local max at c. The same analysis holds true when f ′(c) does not exist.
THEOREM 3 First Derivative Test for Critical Points Let c be a critical point of f . Then
• f ′(x) changes from + to − at c ⇒ f (c) is a local maximum. • f ′(x) changes from − to + at c ⇒ f (c) is a local minimum.
To carry out the First Derivative Test, we make a useful observation: f ′(x) can change sign at a critical point, but it cannot change sign on the interval between two consecutive critical points (this can be proved even if f ′ is not assumed to be continuous). So we can determine the sign of f ′(x) on an interval between consecutive critical points by evaluating f ′(x) at an any test point x0 inside the interval. The sign of f ′(x0) is the sign of f ′(x) on the entire interval.
S E C T I O N 4.3 The Mean Value Theorem and Monotonicity 213
(A)
f ´(x) = 3x2 − 27
f (x) = x3 − 27x − 20
3
Local max
Local min
−3
f ´(x) changes from − to +
f ´(x) changes from + to −
3−3
(B)
f ´(x) does not change sign
Neither a local min nor max
y = f (x)
c
c
y = f ´(x)
x
x
y
y
y
y
x
x
FIGURE 8
EXAMPLE 4 Analyze the critical points of f (x) = x3 − 27x − 20. Solution Our analysis will confirm the picture in Figure 8(A).
Step 1. Find the critical points. The roots of f ′(x) = 3x2 − 27 = 3(x2 − 9) = 0 are c = ±3.
Step 2. Find the sign of f ′(x) on the intervals between the critical points. The critical points c = ±3 divide the real line into three intervals:
(−∞, −3), (−3, 3), (3, ∞) To determine the sign of f ′(x) on these intervals, we choose a test point inside each interval and evaluate. For example, in (−∞, −3) we choose x = −4. Because f ′(−4) = 21 > 0, f ′(x) is positive on the entire interval (−3, ∞). Similarly,
We chose the test points −4, 0, and 4 arbitrarily. To find the sign of f ′(x) on (−∞, −3), we could just as well have computed f ′(−5) or any other value of f ′ in the interval (−∞, −3).
f ′(−4) = 21 > 0 ⇒ f ′(x) > 0 for all x ∈ (−∞, −3) f ′(0) = −27 < 0 ⇒ f ′(x) < 0 for all x ∈ (−3, 3) f ′(4) = 21 > 0 ⇒ f ′(x) > 0 for all x ∈ (3, ∞)
This information is displayed in the following sign diagram:
3−3
−+ +Sign of f ´(x) 0
Behavior of f (x)
Step 3. Use the First Derivative Test.
• c = −3: f ′(x) changes from + to − ⇒ f (−3) = 34 is a local maximum value.
• c = 3: f ′(x) changes from − to + ⇒ f (3) = −74 is a local minimum value.
EXAMPLE 5 Analyze the critical points and the increase/decrease behavior of f (x) = cos2 x + sin x in (0, π). Solution First, find the critical points:
f ′(x) = −2 cos x sin x + cos x = (cos x)(1 − 2 sin x) = 0 ⇒ cos x = 0 or sin x = 1 2
214 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
The critical points are π6 , π 2 , and
5π 6 . They divide (0, π) into four intervals:
−− −−− +++ ++
1
−1
1
y = f ´(x)
y = f (x)
π π
π
2 π 6
5π 6
π 2
π 6
5π 6
y
y
x
x
FIGURE 9 Graph of f (x) = cos2 x + sin x and its derivative.
( 0,
π
6
) ,
(π 6
, π
2
) ,
(π 2
, 5π 6
) ,
(5π 6
, π )
We determine the sign of f ′(x) by evaluating f ′(x) at a test point inside each interval. Since π6 ≈ 0.52, π2 ≈ 1.57, 5π6 ≈ 2.62, and π ≈ 3.14, we can use the following test points:
Interval Test Value Sign of f ′(x) Behavior of f (x) ( 0, π6
) f ′(0.5) ≈ 0.04 + ↗
(π 6 ,
π 2 )
f ′(1) ≈ −0.37 − ↘ (π
2 , 5π 6
) f ′(2) ≈ 0.34 + ↗
( 5π 6 , π
) f ′(3) ≈ −0.71 − ↘
Now apply the First Derivative Test:
• Local max at c = π6 and c = 5π6 because f ′(x) changes from + to −. • Local min at c = π2 because f ′(x) changes from − to +.
The behavior of f (x) and f ′(x) is reflected in the graphs in Figure 9.
EXAMPLE 6 A Critical Point Without a Sign Transition Analyze the critical points of f (x) = 13x3 − x2 + x.
21−1
f ´(1) = 0
y
x
FIGURE 10 Graph of f (x) = 13x3 − x2 + x.
Solution The derivative is f ′(x) = x2 − 2x + 1 = (x − 1)2, so c = 1 is the only critical point. However, (x − 1)2 ≥ 0, so f ′(x) does not change sign at c = 1, and therefore f (1) is neither a local min nor a local max. See Figure 10.
EXAMPLE 7 A Critical Point Where f ′(x) Is Undefined Analyze the critical points of f (x) = (1 − x)2/3.
x 1
y
FIGURE 11 Graph of f (x) = (1 − x)2/3.
Solution The derivative is f ′(x) = − 23 (1 − x)−1/3 = −23(1−x)1/3 . The only critical point occurs at c = 1, when f ′(x) is undefined. For x < 1, f ′(x) is negative. For x > 1, f ′(x) is positive. So f ′(x) changes sign as we pass through c = 1, and by the First Derivative Test, f (c) is a local minimum. See Figure 11.
Proof of the MVT Let m = f (b) − f (a) b − a be the slope of the secant line joining (a, f (a))
and (b, f (b)). The secant line has equation y = mx + r for some r (Figure 12). The value of r is not important, but you can check that r = f (a) − ma. Now consider the function
G(x) = f (x) − (mx + r) As indicated in Figure 12, G(x) is the vertical distance between the graph and the secant
x
y
a x b
G(x) = f (x) − (mx + r)
y = f (x)
y = mx + r
FIGURE 12 G(x) is the vertical distance between the graph and the secant line.
line at x (it is negative at points where the graph of f lies below the secant line). This distance is zero at the endpoints, and therefore, G(a) = G(b) = 0. By Rolle’s Theorem (Section 4.2), there exists a point c in (a, b) such that G′(c) = 0. But G′(x) = f ′(x) − m, so G′(c) = f ′(c) − m = 0, and f ′(c) = m as desired.
4.3 SUMMARY
• The Mean Value Theorem (MVT): If f is continuous on [a, b] and differentiable on (a, b), then there exists at least one value c in (a, b) such that
f ′(c) = f (b) − f (a) b − a
This conclusion can also be written
f (b) − f (a) = f ′(c)(b − a)
S E C T I O N 4.3 The Mean Value Theorem and Monotonicity 215
• Important corollary of the MVT: If f ′(x) = 0 for all x ∈ (a, b), then f is constant on (a, b).
• The sign of f ′(x) determines whether f is increasing or decreasing:
f ′(x) > 0 for x ∈ (a, b) ⇒ f is increasing on (a, b) f ′(x) < 0 for x ∈ (a, b) ⇒ f is decreasing on (a, b)
• The sign of f ′(x) can change only at the critical points, so f is monotonic (increasing or decreasing) on the intervals between the critical points.
• To find the sign of f ′(x) on the interval between two critical points, calculate the sign of f ′(x0) at any test point x0 in that interval.
• First Derivative Test: If f is differentiable and c is a critical point, then
Sign Change of f ′(x) at c Type of Critical Point
From + to − Local maximum From − to + Local minimum
4.3 EXERCISES
Preliminary Questions 1. For which value of m is the following statement correct? If
f (2) = 3 and f (4) = 9, and f is differentiable, then f has a tangent line of slope m.
2. Assume f is differentiable. Which of the following statements does not follow from the MVT? (a) If f has a secant line of slope 0, then f has a tangent line of slope 0. (b) If f (5) < f (9), then f ′(c) > 0 for some c ∈ (5, 9). (c) If f has a tangent line of slope 0, then f has a secant line of slope 0. (d) If f ′(x) > 0 for all x, then every secant line has positive slope.
3. Can a function with the real numbers as its domain that takes on only negative values have a positive derivative? If so, sketch an ex- ample.
4. For f with derivative as in Figure 13: (a) Is f (c) a local minimum or maximum?
(b) Is f a decreasing function?
c x
y
FIGURE 13 Graph of derivative f ′.
Exercises In Exercises 1–8, find a point c satisfying the conclusion of the MVT for the given function and interval.
1. y = x−1, [2, 8] 2. y = √x, [9, 25]
3. y = cos x − sin x, [0, 2π ] 4. y = x x + 2 , [1, 4]
5. y = x3, [−4, 5] 6. y = x ln x, [1, 2]
7. y = e−2x , [0, 3] 8. y = ex − x, [−1, 1]
In Exercises 9–12, find a point c satisfying the conclusion of the MVT for the given function and interval. Then draw the graph of the func- tion, the secant line between the endpoints of the graph and the tangent line at (c, f (c)), to see that the secant and tangent lines are, in fact, parallel.
9. y = x2, [0, 1] 10. y = x2/3, [0, 8]
11. y = ex, [0, 1] 12. y = √x, [0, 3]
13. Let f (x) = x5 + x2. The secant line between x = 0 and x = 1 has slope 2 (check this), so by the MVT, f ′(c) = 2 for some c ∈ (0, 1). Plot f and the secant line on the same axes. Then plot
y = 2x + b for different values of b until the line becomes tangent to the graph of f . Zoom in on the point of tangency to estimate the x-coordinate c of the point of tangency.
14. Plot the derivative of f (x) = 3x5 − 5x3. Describe its sign changes and use this to determine the local extreme values of f . Then graph f to confirm your conclusions.
15. Determine the intervals on which f ′(x) is positive and negative, assuming that Figure 14 is the graph of f .
16. Determine the intervals on which f is increasing or decreasing, assuming that Figure 14 is the graph of f ′.
17. State whether f (2) and f (4) are local minima or local maxima, assuming that Figure 14 is the graph of f ′.
654321
y
x
FIGURE 14
216 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
18. Figure 15 shows the graph of the derivative f ′ of a function f . Find the critical points of f and determine whether they are local minima, local maxima, or neither.
320.5−2 −1
y = f ´(x) 6
−2
y
x
FIGURE 15
In Exercises 19–22, sketch the graph of a function f whose derivative f ′ has the given description.
19. f ′(x) > 0 for x > 3 and f ′(x) < 0 for x < 3
20. f ′(x) > 0 for x < 1 and f ′(x) < 0 for x > 1
21. f ′(x) is negative on (1, 3) and positive everywhere else.
22. f ′(x) makes the sign transitions +, −, +, −. In Exercises 23–26, find all critical points of f and use the First Deriva- tive Test to determine whether they are local minima or maxima.
23. f (x) = 4 + 6x − x2 24. f (x) = x3 − 12x − 4
25. f (x) = x 2
x + 1 26. f (x) = x 3 + x−3
In Exercises 27–58, find the critical points and the intervals on which the function is increasing or decreasing. Use the First Derivative Test to determine whether the critical point is a local min or max (or neither).
27. y = −x2 + 7x − 17 28. y = 5x2 + 6x − 4
29. y = x3 − 12x2 30. y = x(x − 2)3
31. y = 3x4 + 8x3 − 6x2 − 24x 32. y = x2 + (10 − x)2
33. y = 13x3 + 32x2 + 2x + 4 34. y = x4 + x3
35. y = x5 + x3 + 1 36. y = x5 + x3 + x
37. y = x4 − 4x3/2 (x > 0) 38. y = x5/2 − x2 (x > 0)
39. y = x + x−1 (x > 0) 40. y = x−2 − 4x−1 (x > 0)
41. y = 1 x2 + 1 42. y =
2x + 1 x2 + 1
43. y = x 3
x2 + 1 44. y = x3
x2 − 3 45. y = θ + sin θ + cos θ 46. y = sin θ +
√ 3 cos θ
47. y = sin2 θ + sin θ 48. y = θ − 2 cos θ , [0, 2π ]
49. y = x + e−x 50. y = e x
x (x > 0)
51. y = e−x cos x, [ − π2 , π2
] 52. y = x2ex
53. y = tan−1 x − 12x 54. y = (x2 − 2x)ex
55. y = x − ln x (x > 0) 56. y = ln x x
(x > 0)
57. y = x1/3 58. y = x2/3 − x2
59. Find the minimum value of f (x) = xx for x > 0.
60. Show that f (x) = x2 + bx + c is decreasing on ( − ∞, − b2
) and
increasing on ( − b2 , ∞
) .
61. Show that f (x) = x3 − 2x2 + 2x is an increasing function. Hint: Find the minimum value of f ′.
62. Find conditions on a and b that ensure f (x) = x3 + ax + b is increasing on (−∞, ∞).
63. Leth(x) = x(x 2 − 1)
x2 + 1 and suppose thatf ′(x) = h(x). Plot
h and use the plot to describe the local extrema and the increasing/ decreasing behavior of f . Sketch a plausible graph for f itself.
64. Sam made two statements that Deborah found dubious. (a) “The average velocity for my trip was 70 mph; at no point in time did my speedometer read 70 mph.” (b) “Apoliceman clocked me going 70 mph, but my speedometer never read 65 mph.” In each case, which theorem did Deborah apply to prove Sam’s state- ment false: the Intermediate Value Theorem or the Mean Value Theo- rem? Explain.
65. Determine where f (x) = (1,000 − x)2 + x2 is decreasing. Use this to decide which is larger: 8002 + 2002 or 6002 + 4002.
66. Show that f (x) = 1 − |x| satisfies the conclusion of the MVT on [a, b] if both a and b are positive or negative, but not if a < 0 and b > 0.
67. Which values of c satisfy the conclusion of the MVT on the interval [a, b] if f is a linear function?
68. Show that if f is any quadratic polynomial, then the midpoint
c = a + b 2
satisfies the conclusion of the MVT on [a, b] for any a and b.
69. Suppose that f (0) = 2 and f ′(x) ≤ 3 for x > 0. Apply the MVT to the interval [0, 4] to prove that f (4) ≤ 14. Prove more generally that f (x) ≤ 2 + 3x for all x > 0.
70. Show that if f (2) = −2 and f ′(x) ≥ 5 for x > 2, then f (4) ≥ 8.
71. Show that if f (2) = 5 and f ′(x) ≥ 10 for x > 2, then f (x) ≥ 10x − 15 for all x > 2.
Further Insights and Challenges 72. Show that a cubic function f (x) = x3 + ax2 + bx + c is increas- ing on (−∞, ∞) if b > a2/3. 73. Prove that if f (0) = g(0) and f ′(x) ≤ g′(x) for x ≥ 0, then f (x) ≤ g(x) for all x ≥ 0. Hint: Show that the function given by y = f (x) − g(x) is nonincreasing.
74. Use Exercise 73 to prove that x ≤ tan x for 0 ≤ x < π2 .
75. Use Exercise 73 and the inequality sin x ≤ x for x ≥ 0 (estab- lished in Theorem 3 of Section 2.6) to prove the following assertions for all x ≥ 0 (each assertion follows from the previous one): (a) cos x ≥ 1 − 12x2
S E C T I O N 4.4 The Shape of a Graph 217
(b) sin x ≥ x − 16x3
(c) cos x ≤ 1 − 12x2 + 124x4 Can you guess the next inequality in the series?
76. Let f (x) = e−x . Use the method of Exercise 75 to prove the fol- lowing inequalities for x ≥ 0: (a) e−x ≥ 1 − x (b) e−x ≤ 1 − x + 12x
2
(c) e−x ≥ 1 − x + 12x 2 − 16x
3
Can you guess the next inequality in the series?
77. Assume that f ′′ exists and f ′′(x) = 0 for all x. Prove that f (x) = mx + b, where m = f ′(0) and b = f (0).
78. Define f (x) = x3 sin ( 1 x
) for x ̸= 0 and f (0) = 0.
(a) Show that f ′ is continuous at x = 0 and that x = 0 is a critical point of f . (b) Examine the graphs of f and f ′. Can the First Derivative Test be applied?
(c) Show that f (0) is neither a local min nor a local max.
79. Suppose that f (x) satisfies the following equation (an example of a differential equation):
f ′′(x) = −f (x) 1
(a) Show that f (x)2 + f ′(x)2 = f (0)2 + f ′(0)2 for all x. Hint: Show that the function on the left has zero derivative. (b) Verify that sin x and cos x satisfy Eq. (1), and deduce that sin2 x + cos2 x = 1.
80. Suppose that functions f and g satisfy Eq. (1) and have the same initial values—that is, f (0) = g(0) and f ′(0) = g′(0). Prove that f (x) = g(x) for all x. Hint: Apply Exercise 79(a) to f − g.
81. Use Exercise 80 to prove f (x) = sin x is the unique solution of Eq. (1) such that f (0) = 0 and f ′(0) = 1; and g(x) = cos x is the unique solution such that g(0) = 1 and g′(0) = 0. This result can be used to develop all the properties of the trigonometric functions “analytically”—that is, without reference to triangles.
4.4 The Shape of a Graph In the previous section, we studied the increasing/decreasing behavior of a function, as determined by the sign of the derivative. Another important property is concavity, which refers to the way the graph bends. Informally, a curve is concave up if it bends up and concave down if it bends down (Figure 1).
Concave downConcave up
FIGURE 1
To analyze concavity in a precise fashion, let’s examine how concavity is related to tangent lines and derivatives. Observe in Figure 2 that when f is concave up, f ′ is increasing (the slopes of the tangent lines increase as we move to the right). Similarly, when f is concave down, f ′ is decreasing. This suggests the following definition.
Concave up: Slopes of tangent lines are increasing.
Concave down: Slopes of tangent lines are decreasing.
f ´ = −1 f ´ = 0
f ´ = 1 f ´ = −1
f ´ = 0 f ´ = 1
FIGURE 2
DEFINITION Concavity Let f be a differentiable function on an open interval (a, b). Then
• f is concave up on (a, b) if f ′ is increasing on (a, b). • f is concave down on (a, b) if f ′ is decreasing on (a, b).
EXAMPLE 1 Concavity and Stock Prices The stocks of two companies, Arenot In- dustries (AI) and Blurbenthal Business Associates (BBA), went up in value, and both currently sell for $75 (Figure 3). However, one is clearly a better investment than the other. Explain in terms of concavity.
218 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
Stock price
75
25
75
25
Stock price
Company AI Company BBA
Time Time
FIGURE 3
Solution The graph of Stock AI is concave down, so its growth rate (first derivative) is declining as time goes on. The graph of Stock BBA is concave up, so its growth rate is increasing. If these trends continue, Stock BBA is the better investment.
y = f (x)
FIGURE 4 This function is decreasing. Its derivative is negative but increasing.
GRAPHICAL INSIGHT Keep in mind that a function can decrease while its derivative increases. In Figure 4, the derivative f ′ is increasing. Although the tangent lines are getting less steep, their slopes are becoming less negative.
The concavity of a function is determined by the sign of its second derivative. Indeed, if f ′′(x) > 0, then f ′ is increasing and hence f is concave up. Similarly, if f ′′(x) < 0, then f ′ is decreasing and f is concave down.
THEOREM 1 Test for Concavity Assume that f ′′(x) exists for all x ∈ (a, b). • If f ′′(x) > 0 for all x ∈ (a, b), then f is concave up on (a, b). • If f ′′(x) < 0 for all x ∈ (a, b), then f is concave down on (a, b).
Of special interest are the points on the graph where the concavity changes. We say that P = (c, f (c)) is a point of inflection of f if the concavity changes from up to downCAUTION A critical point c is just a single
number, whereas a point of inflection (c, f (c)) is a point in the xy-plane.
or from down to up at x = c. Figure 5 shows a curve made up of two arcs—one is concave down and one is concave up (the word “arc” refers to a piece of a curve). The point P where the arcs are joined is a point of inflection. We will denote points of inflection in graphs by a solid square .
Concave down Concave up
P
P = point of inflection
FIGURE 5
According to Theorem 1, the concavity of f is determined by the sign of f ′′(x). Therefore, a point of inflection is a point where f ′′(x) changes sign.
THEOREM 2 Test for Inflection Points If f ′′(c) = 0 or f ′′(c) does not exist and f ′′(x) changes sign at x = c, then f has a point of inflection at x = c.
EXAMPLE 2 Find the points of inflection of f (x) = cos x on [0, 2π ].
y
π 2
3π 2π 2
π 2
3π 2π 2
Concave down
Concave up
Concave down
1
−1
−1
1
f ´́ (x) = −cos x
f (x) = cos x
−−−− +++
x
y
x
FIGURE 6
Solution We have f ′′(x) = − cos x, and f ′′(x) = 0 for x = π2 , 3π2 . Figure 6 shows that f ′′(x) changes sign at x = π2 and 3π2 , so f has a point of inflection at both points.
S E C T I O N 4.4 The Shape of a Graph 219
EXAMPLE 3 Points of Inflection and Intervals of Concavity Find the points of inflec- tion and the intervals on which f (x) = 3x5 − 5x4 + 1 is concave up and concave down. Solution The first derivative is f ′(x) = 15x4 − 20x3 and
f ′′(x) = 60x3 − 60x2 = 60x2(x − 1) The zeros of f ′′(x) = 60x2(x − 1) are x = 0 and x = 1. They divide the x-axis into three
y = f ´´(x)
y = f (x)
2
f ´´(x) does not change sign
No point of
Point of
f ´´(x) changes sign
+++
−−−−−− 2
1
1−2
−2
y
x
x
y
FIGURE 7 Graph of f (x) = 3x5 − 5x4 + 1 and its second derivative.
intervals: (−∞, 0), (0, 1), and (1, ∞). We determine the sign of f ′′(x) and the concavity of f by computing “test values” within each interval (Figure 7):
Interval Test Value Sign of f ′′(x) Behavior of f (x)
(−∞, 0) f ′′(−1)= −120 − Concave down (0, 1) f ′′
( 1 2 ) = − 152 − Concave down
(1, ∞) f ′′(2)= 240 + Concave up
We can read off the points of inflection from this table:
• c = 0: no point of inflection, because f ′′(x) does not change sign at 0. • c = 1: point of inflection, because f ′′(x) changes sign at 1.
Usually, we find the inflection points by solving f ′′(x) = 0. However, an inflection point can also occur at a point (c, f (c)), where f ′′(c) does not exist.
EXAMPLE 4 A Case Where the Second Derivative Does Not Exist Find the points of inflection of f (x) = x5/3.
−2 −1 1 Point of
inflection
2
2
1
−2
−1
y
x
FIGURE 8 The concavity of f (x) = x5/3 changes at x = 0 even though f ′′(0) does not exist.
Solution In this case, f ′(x) = 53x2/3 and f ′′(x) = 109 x−1/3. Although f ′′(0) does not exist, f ′′(x) does change sign at x = 0:
f ′′(x) = 10 9x1/3
{ > 0 for x > 0 < 0 for x < 0
Therefore, the concavity of f changes at x = 0, and (0, 0) is a point of inflection (Figure 8).
GRAPHICAL INSIGHT Points of inflection are easy to spot on the graph of the first deriva- tive f ′. If f ′′(c) = 0 and f ′′(x) changes sign at x = c, then the increasing/decreasing behavior of f ′ changes at x = c. Thus, inflection points of f occur where f ′ has a local min or max (Figure 9).
y
y
y
x
f ´´(x) changes sign
Local max of f ´
Local min of f ´
y = f (x)
y = f ´(x)
y = f ´´(x)
x
x
FIGURE 9
Second Derivative Test for Critical Points There is a simple test for critical points based on concavity. Suppose that f ′(c) = 0. As we see in Figure 10, f (c) is a local max if f is concave down, and it is a local min if f is concave up. Concavity is determined by the sign of f ′′(x), so we obtain the following Second Derivative Test. (See Exercise 67 for a detailed proof.)
y
x
y
x c
Concave down—local max
f ´´(c) > 0
c
Concave up—local min
f ´´(c) < 0 y = f (x) y = f (x)
FIGURE 10 Concavity determines the type of the critical point.
220 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
THEOREM 3 Second Derivative Test Let c be a critical point of f (x). If f ′′(c) exists, then
• f ′′(c) > 0 ⇒ f (c) is a local minimum. • f ′′(c) < 0 ⇒ f (c) is a local maximum. • f ′′(c) = 0 ⇒ inconclusive: f (c) may be a local min, a local max, or neither.
Mnemonic Device:
f ´´(c) > 0 ⇒ local min
f ´´(c) < 0 ⇒ local max
+ +
− −
FIGURE 11
The mnemonic device appearing in Figure 11 provides an easy way to remember the test.
EXAMPLE 5 Analyze the critical points of f (x) = (2x − x2)ex . Solution First, solve
f ′(x) = ex(2 − 2x) + (2x − x2)ex = (2 − x2)ex = 0 The critical points are c = ±
√ 2 (Figure 12). Next, determine the sign of the second
f (x) = (2x − x2)ex
Local min ( f ´´ > 0)
Local max ( f ´´ < 0)
− 2
y
x 2
3.4
−1.2
FIGURE 12
derivative at the critical points:
f ′′(x) = (−2x)ex + (2 − x2)ex = (2 − 2x − x2)ex
f ′′(− √
2) = ( 2 − 2(−
√ 2) − (−
√ 2)2
) e−
√ 2 = 2
√ 2e−
√ 2 > 0 (local min)
f ′′( √
2) = ( 2 − 2
√ 2 − (
√ 2)2
) e √
2 = −2 √
2e √
2 < 0 (local max)
By the Second Derivative Test, f has a local min at c = − √
2 and a local max at c = √
2 (Figure 12).
EXAMPLE 6 Second Derivative Test Inconclusive Analyze the critical points of f (x) = x5 − 5x4. Solution The first two derivatives are
f ′(x) = 5x4 − 20x3 = 5x3(x − 4) f ′′(x) = 20x3 − 60x2
The critical points are c = 0, 4, and the Second Derivative Test yields f ′′(0) = 0 ⇒ Second Derivative Test fails f ′′(4) = 320 > 0 ⇒ f (4) is a local min
The Second Derivative Test fails at c = 0, so we fall back on the First Derivative Test. Choosing test points to the left and right of c = 0, we find
f ′(−1) = 5 + 20 = 25 > 0 ⇒ f ′(x) is positive on (−∞, 0)
f ′(1) = 5 − 20 = −15 < 0 ⇒ f ′(x) is negative on (0, 4) Since f ′(x) changes from + to − at c = 0, f (0) is a local max (Figure 13).
4
f (x) = x5 − 5x4
x
y
−256
FIGURE 13
4.4 SUMMARY
• A differentiable function f is concave up on (a, b) if f ′ is increasing and concave down if f ′ is decreasing on (a, b).
• The signs of the first two derivatives provide the following information:
First Derivative Second Derivative
f ′ > 0 ⇒ f is increasing f ′′ > 0 ⇒ f is concave up f ′ < 0 ⇒ f is decreasing f ′′ < 0 ⇒ f is concave down
• A point of inflection is a point (c, f (c)) where the concavity changes from concave up to concave down, or vice versa.
S E C T I O N 4.4 The Shape of a Graph 221
• If f ′′(c) = 0 or does not exist and f ′′(x) changes sign at c, then (c, f (c)) is a point of inflection.
• Second Derivative Test: If f ′(c) = 0 and f ′′(c) exists, then – f (c) is a local maximum value if f ′′(c) < 0. – f (c) is a local minimum value if f ′′(c) > 0. – The test fails if f ′′(c) = 0.
If this test fails, use the First Derivative Test.
4.4 EXERCISES
Preliminary Questions 1. If f is concave up, then f ′ is (choose one):
(a) increasing. (b) decreasing.
2. What conclusion can you draw if f ′(c) = 0 and f ′′(c) < 0?
3. True or False? If f (c) is a local min, then f ′′(c) must be positive.
4. True or False? If f ′′(x) changes from + to − at x = c, then f has a point of inflection at x = c.
Exercises 1. Match the graphs in Figure 14 with the description:
(a) f ′′(x) < 0 for all x. (b) f ′′(x) goes from + to −. (c) f ′′(x) > 0 for all x. (d) f ′′(x) goes from − to +.
(A) (B) (C) (D)
FIGURE 14
2. Match each statement with a graph in Figure 15 that represents company profits as a function of time. (a) The outlook is great: The growth rate keeps increasing. (b) We’re losing money, but not as quickly as before. (c) We’re losing money, and it’s getting worse as time goes on. (d) We’re doing well, but our growth rate is leveling off. (e) Business had been cooling off, but now it’s picking up. (f) Business had been picking up, but now it’s cooling off.
(i) (ii) (iii) (iv) (v) (vi)
FIGURE 15
In Exercises 3–18, determine the intervals on which the function is concave up or down and find the points of inflection.
3. y = x2 − 4x + 3 4. y = t3 − 6t2 + 4 5. y = 10x3 − x5 6. y = 5x2 + x4
7. y = θ − 2 sin θ , [0, 2π ] 8. y = θ + sin2 θ , [0, π ] 9. y = x(x − 8√x) (x ≥ 0) 10. y = x7/2 − 35x2
11. y = (x − 2)(1 − x3) 12. y = x7/5
13. y = 1 x2 + 3 14. y =
x
x2 + 9 15. y = xe−3x 16. y = (x2 − 7)ex
17. y = 2x2 + ln x (x > 0) 18. y = x − ln x (x > 0)
19. The position of an ambulance in kilometers on a straight road over a period of 4 h is given by the graph in Figure 16.
(a) Describe the motion of the ambulance.
(b) Explain what the fact that this graph is concave up tells us about the speed of the ambulance.
4 t
100
y
FIGURE 16
20. The position of a bicyclist on a straight road in kilometers over a period of 4 h is given by the graph in Figure 17, where inflection points occur when t = 0.5 and t = 2. (a) Describe the motion of the bicyclist.
(b) Explain what the concavity of the graph over various intervals tells us about the speed of the bicyclist.
3 4210.5 t
30 25 20 15 10 5
y
FIGURE 17
21. The growth of a sunflower during the first 100 days af- ter sprouting is modeled well by the logistic curve y = h(t) shown in Figure 18. Estimate the growth rate at the point of inflection and ex- plain its significance. Then make a rough sketch of the first and second derivatives of h.
222 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
20 40 60 80 100
50
100
150
200
250
t (days)
Height (cm)
FIGURE 18
22. Assume that Figure 19 is the graph of f . Where do the points of inflection of f occur, and on which interval is f concave down?
gecba d f
y
x
FIGURE 19
23. Repeat Exercise 22 but assume that Figure 19 is the graph of the derivative f ′.
24. Repeat Exercise 22 but assume that Figure 19 is the graph of the second derivative f ′′.
25. Figure 20 shows the derivative f ′ on [0, 1.2]. Locate the points of inflection of f and the points where the local minima and maxima occur. Determine the intervals on which f has the following properties: (a) Increasing (b) Decreasing (c) Concave up (d) Concave down
1.210.17 0.640.4
y = f ´(x) y
x
FIGURE 20
26. Leticia has been selling solar-powered laptop chargers through her website, with monthly sales as recorded below. In a report to investors, she states, “Sales reached a point of inflection when I started using pay-per-click advertising.” In which month did that occur? Explain.
Month 1 2 3 4 5 6 7 8
Sales 2 30 50 60 90 150 230 340
In Exercises 27–40, find the critical points and apply the Second Deriva- tive Test (or state that it fails).
27. f (x) = x3 − 12x2 + 45x 28. f (x) = x4 − 8x2 + 1
29. f (x) = 3x4 − 8x3 + 6x2 30. f (x) = x5 − x3
31. f (x) = x 2 − 8x x + 1 32. f (x) =
1
x2 − x + 2
33. y = 6x3/2 − 4x1/2 34. y = 9x7/3 − 21x1/2
35. f (x) = sin2 x + cos x, [0, π ]
36. y = 1 sin x + 4 , [0, 2π ]
37. f (x) = xe−x2 38. f (x) = e−x − 4e−2x
39. f (x) = x3 ln x (x > 0)
40. f (x) = ln x + ln(4 − x2), (0, 2)
In Exercises 41–56, find the intervals on which f is concave up or down, the points of inflection, the critical points, and the local minima and maxima.
41. f (x) = x3 − 2x2 + x 42. f (x) = x2(x − 4)
43. f (t) = t2 − t3 44. f (x) = 2x4 − 3x2 + 2
45. f (x) = x2 − 8x1/2 (x ≥ 0)
46. f (x) = x3/2 − 4x−1/2 (x > 0)
47. f (x) = x x2 + 27 48. f (x) =
1
x4 + 1
49. f (x) = x5/3 − x 50. f (x) = (x − 1)3/5
51. f (θ) = θ + sin θ , [0, 2π ] 52. f (x) = cos2 x, [0, π ]
53. f (x) = tan x, ( −π2 , π2
)
54. f (x) = e−x cos x, [ −π2 , 3π2
]
55. y = (x2 − 2)e−x (x > 0) 56. y = ln(x2 + 2x + 5)
57. Sketch the graph of an increasing function such that f ′′(x) changes from + to − at x = 2 and from − to + at x = 4. Do the same for a decreasing function.
In Exercises 58–60, sketch the graph of a function f satisfying all of the given conditions.
58. f ′(x) > 0 and f ′′(x) < 0 for all x.
59. (i) f ′(x) > 0 for all x, and (ii) f ′′(x) < 0 for x < 0 and f ′′(x) > 0 for x > 0.
60. (i) f ′(x) < 0 for x < 0 and f ′(x) > 0 for x > 0, and (ii) f ′′(x) < 0 for |x| > 2, and f ′′(x) > 0 for |x| < 2.
61. An infectious flu spreads slowly at the beginning of an epidemic. The infection process accelerates until a majority of the sus- ceptible individuals are infected, at which point the process slows down.
(a) If R(t) is the number of individuals infected at time t , describe the concavity of the graph of R near the beginning and end of the epidemic.
(b) Describe the status of the epidemic on the day that R has a point of inflection.
62. Water is pumped into a sphere at a constant rate (Fig- ure 21). Let h(t) be the water level at time t . Sketch the graph of h (approximately, but with the correct concavity). Where does the point of inflection occur?
S E C T I O N 4.4 The Shape of a Graph 223
63. Water is pumped into a sphere of radius R at a variable rate in such a way that the water level rises at a constant rate (Figure 21). Let V (t) be the volume of water in the tank at time t . Sketch the graph V (approximately, but with the correct concavity). Where does the point of inflection occur?
h R
FIGURE 21
64. (Continuation of Exercise 63) If the sphere has radiusR, the volume of water is V = π
( Rh2 − 13h3
) , where h is the water level. Assume
the level rises at a constant rate of 1 (i.e., h = t). (a) Find the inflection point of V . Does this agree with your conclusion in Exercise 63?
(b) Plot V for R = 1.
65. Image Processing The intensity of a pixel in a digital image is measured by a number u between 0 and 1. Often, images can be en- hanced by rescaling intensities (Figure 22), where pixels of intensity u are displayed with intensity g(u) for a suitable function g. One common choice is the sigmoidal correction, defined for constants a, b by
g(u) = f (u) − f (0) f (1) − f (0) , where f (u) =
( 1 + eb(a−u)
)−1
Figure 23 shows that g(u) reduces the intensity of low-intensity pixels [where g(u) < u] and increases the intensity of high-intensity pixels.
(a) Verify that f ′(u) > 0 and use this to show that g(u) increases from 0 to 1 for 0 ≤ u ≤ 1. (b) Where does g(u) have a point of inflection?
Original Sigmoidal correction (both: Library of Congress Prints and Photographs Division)
FIGURE 22
0.2 0.4 0.6 0.8 1.0
0.2
0.4
0.6
0.8
1.0
y = g(u) y = u
u
y
FIGURE 23 Sigmoidal correction with a = 0.47, b = 12.
66. Use graphical reasoning to determine whether the follow- ing statements are true or false. If false, modify the statement to make it correct. (a) If f is increasing, then f −1 is decreasing. (b) If f is decreasing, then f −1 is decreasing. (c) If f is concave up, then f −1 is concave up. (d) If f is concave down, then f −1 is concave up.
Further Insights and Challenges In Exercises 67–69, assume that f is differentiable.
67. Proof of the Second Derivative Test Let c be a critical point such that f ′′(c) > 0 [the case f ′′(c) < 0 is similar].
(a) Show that f ′′(c) = lim h→0
f ′(c + h) h
.
(b) Use (a) to show that there exists an open interval (a, b) contain- ing c such that f ′(x) < 0 if a < x < c and f ′(x) > 0 if c < x < b. Conclude that f (c) is a local minimum.
68. Prove that if f ′′ exists and f ′′(x) > 0 for all x, then the graph of f “sits above” its tangent lines. (a) For any c, set G(x) = f (x) − f ′(c)(x − c) − f (c). It is sufficient to prove that G(x) ≥ 0 for all c. Explain why with a sketch. (b) Show that G(c) = G′(c) = 0 and G′′(x) > 0 for all x. Conclude that G′(x) < 0 for x < c and G′(x) > 0 for x > c. Then deduce, using the MVT, that G(x) > G(c) for x ̸= c.
69. Assume that f ′′ exists and let c be a point of inflection of f . (a) Use the method of Exercise 68 to prove that the tangent line at x = c crosses the graph (Figure 24). Hint: Show that G(x) changes sign at x = c.
(b) Verify this conclusion for f (x) = x 3x2 + 1 by graphing f
and the tangent line at each inflection point on the same set of axes.
FIGURE 24 Tangent line crosses graph at point of inflection.
70. Let C(x) be the cost of producing x units of a certain good.Assume that the graph of C is concave up. (a) Show that the average cost A(x) = C(x)/x is minimized at the production level x0 such that average cost equals marginal cost—that is, A(x0) = C′(x0). (b) Show that the line through (0, 0) and (x0, C(x0)) is tangent to the graph of C.
224 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
71. Let f be a polynomial of degree n ≥ 2. Show that f has at least one point of inflection if n is odd. Then give an example to show that f need not have a point of inflection if n is even.
72. Critical and Inflection Points If f ′(c) = 0 and f (c) is neither a local min nor a local max, must x = c be a point of inflection? This is true for “reasonable” functions (including the functions studied in this text), but it is not true in general. Let
f (x) = {
x2 sin 1x for x ̸= 0 0 for x = 0
(a) Use the limit definition of the derivative to show that f ′(0) exists and f ′(0) = 0. (b) Show that f (0) is neither a local min nor a local max. (c) Show that f ′(x) changes sign infinitely often near x = 0. Conclude that x = 0 is not a point of inflection.
4.5 L’Hôpital’s Rule L’Hôpital’s Rule is a valuable tool for computing certain limits that are otherwise difficult to evaluate, and also for determining “asymptotic behavior” (limits at infinity). We will use it for graph sketching in the next section.
Consider the limit of a quotient
L’Hôpital’s Rule is named for the French mathematician Guillaume François Antoine Marquis de L’Hôpital (1661–1704), who wrote the first textbook on calculus in 1696. The name L’Hôpital is pronounced “Lo-pee-tal.”
lim x→a
f (x)
g(x)
Roughly speaking, L’Hôpital’s Rule states that when f (x)/g(x) has an indeterminate form of type 0/0 or ∞/∞ at x = a, then we can replace f (x)/g(x) by the quotient of the derivatives f ′(x)/g′(x).
THEOREM 1 L’Hôpital’s Rule Assume that f and g are differentiable on an open interval containing a and that
f (a) = g(a) = 0
Also assume that g′(x) ̸= 0 (except possibly at a). Then
lim x→a
f (x)
g(x) = lim
x→a f ′(x) g′(x)
if the limit on the right exists or is infinite (∞ or −∞). This conclusion also holds if f and g are differentiable for x near (but not equal to) a and
lim x→a f (x) = ±∞ and limx→a g(x) = ±∞
Furthermore, this rule is valid for one-sided limits.
EXAMPLE 1 Use L’Hôpital’s Rule to evaluate lim x→2
x3 − 8 x4 + 2x − 20 .
Solution Let f (x) = x3 − 8 and g(x) = x4 + 2x − 20. Both f and g are differentiable and f (x)/g(x) is indeterminate of type 0/0 at a = 2 because f (2) = g(2) = 0:
• Numerator: f (2) = 23 − 1 = 0 • Denominator: g(2) = 24 + 2(2) − 20 = 0
Furthermore, g′(x) = 4x3 + 2 is nonzero near x = 2, so L’Hôpital’s Rule applies. We may replace the numerator and denominator by their derivatives to obtain
CAUTION When using L’Hôpital’s Rule, be sure to take the derivative of the numerator and denominator separately:
lim x→a
f (x)
g(x) = lim
x→a f ′(x)
g′(x)
Do not differentiate the quotient function y = f (x)/g(x).
lim x→2
x3 − 8 x4 + 2x − 2 = limx→2
(x3 − 8)′ (x4 + 2x − 2)′︸ ︷︷ ︸
L’Hôpital’s Rule
= lim x→2
3x2
4x3 + 2 = 3(22)
4(23) + 2 = 12 34
= 6 17
S E C T I O N 4.5 L’Hôpital’s Rule 225
EXAMPLE 2 Evaluate lim x→2
4 − x2 sin πx
.
Solution The quotient is indeterminate of type 0/0 at x = 2: • Numerator: 4 − x2 = 4 − 22 = 0 • Denominator: sin πx = sin 2π = 0
The other hypotheses [that f and g are differentiable and g′(x) ̸= 0 for x near a = 2] are also satisfied, so we may apply L’Hôpital’s Rule:
lim x→2
4 − x2 sin πx
= lim x→2
(4 − x2)′ (sin πx)′︸ ︷︷ ︸
L’Hôpital’s Rule
= lim x→2
−2x π cos πx
= −2(2) π cos 2π
= −4 π
EXAMPLE 3 Evaluate lim x→π/2
cos2 x 1 − sin x .
Solution Again, the quotient is indeterminate of type 0/0 at x = π2 :
cos2 (π
2
) = 0, 1 − sin π
2 = 1 − 1 = 0
The other hypotheses are satisfied, so we may apply L’Hôpital’s Rule:
lim x→π/2
cos2 x 1 − sin x = limx→π/2
(cos2 x)′
(1 − sin x)′︸ ︷︷ ︸ L’Hôpital’s Rule
= lim x→π/2
−2 cos x sin x − cos x = limx→π/2(2 sin x)︸ ︷︷ ︸
simplified
= 2
Note that the quotient −2 cos x sin x
− cos x is still indeterminate at x = π/2. We removed this indeterminacy by cancelling the factor − cos x.
EXAMPLE 4 The Form 0 · ∞ Evaluate lim x→0+
x ln x.
Solution This limit is one-sided because f (x) = x ln x is not defined for x ≤ 0. Further- more, as x → 0+,
• x approaches 0. • ln x approaches −∞.
So f (x) presents an indeterminate form of type 0 · ∞. To apply L’Hôpital’s Rule, we rewrite our function as f (x) = (ln x)/x−1 so that f (x) presents an indeterminate form of type −∞/∞. Then L’Hôpital’s Rule applies:
lim x→0+
x ln x = lim x→0+
ln x x−1
= lim x→0+
(ln x)′
(x−1)′︸ ︷︷ ︸ L’Hôpital’s Rule
= lim x→0+
( x−1
−x−2 )
= lim x→0+
(−x) ︸ ︷︷ ︸
simplified
= 0
EXAMPLE 5 Using L’Hôpital’s Rule Twice Evaluate lim x→0
ex − x − 1 cos x − 1 .
Solution For x = 0, we have
ex − x − 1 = e0 − 0 − 1 = 0, cos x − 1 = cos 0 − 1 = 0 A first application of L’Hôpital’s Rule gives
lim x→0
ex − x − 1 cos x − 1 = limx→0
(ex − x − 1)′ (cos x − 1)′ = limx→0
( ex − 1 − sin x
) = lim
x→0 1 − ex sin x
This limit is again indeterminate of type 0/0, so we apply L’Hôpital’s Rule a second time:
lim x→0
1 − ex sin x
= lim x→0
−ex cos x
= −e 0
cos 0 = −1
226 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
EXAMPLE 6 Assumptions Matter Can L’Hôpital’s Rule be applied to lim x→1
x2 + 1 2x + 1?
Solution The answer is no. The function does not have an indeterminate form because
x2 + 1 2x + 1
∣∣∣∣ x=1
= 1 2 + 1
2 · 1 + 1 = 2 3
However, the limit can be evaluated directly by substitution: lim x→1
x2 + 1 2x + 1 =
2 3
. An incor-
rect application of L’Hôpital’s Rule gives the wrong answer:
lim x→1
(x2 + 1)′ (2x + 1)′ = limx→1
2x 2
= 1 (not equal to original limit)
EXAMPLE 7 The Form ∞ − ∞ Evaluate lim x→0
( 1
sin x − 1
x
) .
Solution Both 1/ sin x and 1/x become infinite at x = 0, so we have an indeterminate form of type ∞ − ∞. We must rewrite the function as
1 sin x
− 1 x
= x − sin x x sin x
to obtain an indeterminate form of type 0/0. L’Hôpital’s Rule yields (see Figure 1)
lim x→0
( 1
sin x − 1
x
) = lim
x→0 x − sin x x sin x
= lim x→0
1 − cos x x cos x + sin x︸ ︷︷ ︸
L’Hôpital’s Rule
= lim x→0
sin x −x sin x + 2 cos x︸ ︷︷ ︸
L’Hôpital’s Rule again
= 0 2
= 0
x 1 2-1
0.5 y = − 1
sin x 1 x
y
FIGURE 1 The graph confirms that
y = 1 sin x
− 1 x
approaches 0 as x → 0.
Limits of functions of the form f (x)g(x) can lead to the indeterminate forms 00, 1∞, or ∞0. These are indeterminate as the limit can take on a variety of values, depending on the relative speed with which the base and exponent approach their limits. In such cases, we take the logarithm and then apply L’Hôpital’s Rule.
The form 0∞ is NOT an indeterminate form. See Problem 59.
EXAMPLE 8 The Form 00 Evaluate lim x→0+
xx .
Solution First, set y = xx so that ln y = x ln x. Then we take the limit of ln y:
lim x→0+
ln y = lim x→0+
x ln x = lim x→0+
ln x x−1
= 0 (by Example 4)
Since f (x) = ex is continuous, we can exponentiate to obtain the desired limit (see Fig- ure 2):
x
y
1 2
4
2
1
3 y = xx
FIGURE 2 The function y = xx approaches 1 as x → 0+.
lim x→0+
xx = lim x→0+
eln(x x) = elimx→0+ ln(xx) = elimx→0+ y = e0 = 1
EXAMPLE 9 The Form 1∞ Find lim x→0
(1 + 4x)1/2x .
Solution This has the indeterminate form 1∞. Thus, we take y = (1 + 4x)1/2x and there- fore ln y = ln(1+4x)2x .
Then
lim x→0
ln y = lim x→0
ln(1 + 4x) 2x
= lim x→0
4 1+4x
2︸ ︷︷ ︸ L’Hôpital’s Rule
= 2
So
lim x→0
(1 + 4x)1/2x = lim x→0
eln y = elimx→0 ln y = e2.
S E C T I O N 4.5 L’Hôpital’s Rule 227
Comparing Growth of Functions Sometimes, we are interested in determining which of two functions, f and g, grows faster. For example, there are two standard computer algorithms for sorting data (alphabetizing, ordering according to rank, etc.): Quick Sort and Bubble Sort. The average time required to sort a list of size n has order of magnitude n ln n for Quick Sort and n2 for Bubble Sort. Which algorithm is faster when the size n is large? Although n is a whole number, this problem amounts to comparing the growth of f (x) = x ln x and g(x) = x2 as x → ∞.
We say that f (x) grows faster than g(x) if
lim x→∞
f (x)
g(x) = ∞ or, equivalently, lim
x→∞ g(x)
f (x) = 0
To indicate that f (x) grows faster than g(x), we use the notation f (x) ≪ g(x). For example, x2 ≪ x because
lim x→∞
x2
x = lim
x→∞ x = ∞
To compare the growth of functions, we need a version of L’Hôpital’s Rule that applies to limits at infinity.
THEOREM 2 L’Hôpital’s Rule for Limits at Infinity Assume that f and g are differen- tiable in an interval (b, ∞) and that g′(x) ̸= 0 for x > b. If lim
x→∞ f (x) and limx→∞ g(x)
exist and either both are zero or both are infinite, then
lim x→∞
f (x)
g(x) = lim
x→∞ f ′(x) g′(x)
provided that the limit on the right exists. A similar result holds for limits as x → −∞.
EXAMPLE 10 The Form ∞ ∞ Which of f (x) = x
2 and g(x) = x ln x grows faster as x → ∞? Solution Both f (x) and g(x) approach infinity as x → ∞, so L’Hôpital’s Rule applies to the quotient:
lim x→∞
f (x)
g(x) = lim
x→∞ x2
x ln x = lim
x→∞ x
ln x = lim
x→∞ 1
x−1︸ ︷︷ ︸ L’Hôpital’s Rule
= lim x→∞ x = ∞
We conclude that x ln x ≪ x2 (Figure 3).
y
321 4
10
15
5
f(x) = x2
g(x) = x ln x
x
FIGURE 3
Note that this example implies that Quick Sort is a much faster sorting algorithm than Bubble Sort for large n.
EXAMPLE 11 Jonathan is interested in comparing two computer algorithms whose average run times are approximately (ln n)2 and
√ n. Which algorithm takes less time for
large values of n?
Solution Replace n by the continuous variable x and apply L’Hôpital’s Rule twice:
lim x→∞
√ x
(ln x)2 = lim
x→∞
1 2x
−1/2
2x−1 ln x︸ ︷︷ ︸ L’Hôpital’s Rule
= lim x→∞
x1/2
4 ln x︸ ︷︷ ︸ simplified
= lim x→∞
1 2x
−1/2
4x−1︸ ︷︷ ︸ L’Hôpital’s Rule again
= lim x→∞
x1/2
8︸ ︷︷ ︸ simplified
= ∞
This shows that (ln x)2 ≪ √x. We conclude that the algorithm whose average time is proportional to (ln n)2 takes less time for large n.
228 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
In Section 1.6, we asserted that exponential functions increase more rapidly than the power functions. We now prove this by showing that xn ≪ ex for every exponent n (Figure 4).
1284
3,000,000
2,000,000
1,000,000
y = ex
y = x5
x
y
FIGURE 4 Graph illustrating that x5 ≪ ex .
THEOREM 3 Growth of f (x) = ex
xn ≪ ex for every exponent n
In other words, lim x→∞
ex
xn = ∞ for all n.
Proof The theorem is true for n = 0 since lim x→∞ e
x = ∞. We use L’Hôpital’s Rule re- peatedly to prove that ex/xn tends to ∞ for n = 1, 2, 3 . . . . For example,
lim x→∞
ex
x = lim
x→∞ ex
1 = lim
x→∞ e x = ∞
Then, having proved that ex/x → ∞, we use L’Hôpital’s Rule again:
lim x→∞
ex
x2 = lim
x→∞ ex
2x = 1
2 lim
x→∞ ex
x = ∞
Proceeding in this way, we prove the result for all whole numbers n. A more formal proof would use the principle of induction. Finally, if k is any exponent, choose any whole number n such that n > k. Then ex/xn < ex/xk for x > 1, so ex/xk must also tend to infinity as x → ∞.
Proof of L’Hôpital’s Rule We prove L’Hôpital’s Rule here only in the first case of Theorem 1—namely, in the caseA full proof of L’Hôpital’s Rule, without
simplifying assumptions, is presented in a supplement on the text’s Companion Web Site.
that f (a) = g(a) = 0. We also assume that f ′ and g′ are continuous at x = a and that g′(a) ̸= 0. Then g(x) ̸= g(a) for x near but not equal to a, and
f (x)
g(x) = f (x) − f (a)
g(x) − g(a) = f (x) − f (a)
x − a g(x) − g(a)
x − a By the Quotient Law for Limits and the definition of the derivative,
lim x→a
f (x)
g(x) =
lim x→a
f (x) − f (a) x − a
lim x→a
g(x) − g(a) x − a
= f ′(a)
g′(a) = lim
x→a f ′(x) g′(x)
4.5 SUMMARY
• L’Hôpital’s Rule: Assume that f and g are differentiable near a and that
f (a) = g(a) = 0
Assume also that g′(x) ̸= 0 (except possibly at a). Then
lim x→a
f (x)
g(x) = lim
x→a f ′(x) g′(x)
provided that the limit on the right exists or is infinite (∞ or −∞). • L’Hôpital’s Rule applies to indeterminate forms 0/0 and ±∞/∞. It often also applies
to 0 · ∞ and ∞ − ∞, once they are rewritten appropriately. • L’Hôpital’s Rule also applies to limits as x → ∞ or x → −∞.
S E C T I O N 4.5 L’Hôpital’s Rule 229
• Limits involving the indeterminate forms 00, 1∞, or ∞0 can often be evaluated by first taking the logarithm and then applying L’Hôpital’s Rule.
• In comparing the growth rates of functions, we say that f (x) grows faster than g(x), and we write f ≪ g, if
lim x→∞
f (x)
g(x) = ∞
4.5 EXERCISES
Preliminary Questions
1. What is wrong with applying L’Hôpital’s Rule to lim x→0
x2 − 2x 3x − 2 ?
2. Does L’Hôpital’s Rule apply to lim x→a f (x)g(x) if f (x) and g(x)
both approach ∞ as x → a?
Exercises In Exercises 1–10, use L’Hôpital’s Rule to evaluate the limit, or state that L’Hôpital’s Rule does not apply.
1. lim x→3
2x2 − 5x − 3 x − 4 2. limx→−5
x2 − 25 5 − 4x − x2
3. lim x→4
x3 − 64 x2 + 16 4. limx→−1
x4 + 2x + 1 x5 − 2x − 1
5. lim x→9
x1/2 + x − 6 x3/2 − 27 6. limx→3
√ x + 1 − 2
x3 − 7x − 6
7. lim x→0
sin 4x
x2 + 3x + 1 8. limx→0 x3
sin x − x
9. lim x→0
cos 2x − 1 sin 5x
10. lim x→0
cos x − sin2 x sin x
In Exercises 11–16, show that L’Hôpital’s Rule is applicable to the limit as x → ±∞ and evaluate.
11. lim x→∞
9x + 4 3 − 2x 12. limx→−∞ x sin
1 x
13. lim x→∞
ln x
x1/2 14. lim
x→∞ x
ex
15. lim x→−∞
ln(x4 + 1) x
16. lim x→∞
x2
ex
In Exercises 17–54, evaluate the limit.
17. lim x→1
√ 8 + x − 3x1/3 x2 − 3x + 2 18. limx→4
[ 1√
x − 2 − 4
x − 4
]
19. lim x→−∞
3x − 2 1 − 5x 20. limx→∞
x2/3 + 3x x5/3 − x
21. lim x→−∞
7x2 + 4x 9 − 3x2 22. limx→∞
3x3 + 4x2 4x3 − 7
23. lim x→1
(1 + 3x)1/2 − 2 (1 + 7x)1/3 − 2 24. limx→8
x5/3 − 2x − 16 x1/3 − 2
25. lim x→0
sin 2x sin 7x
26. lim x→0
tan 4x tan 5x
27. lim x→0
tan x x
28. lim x→0
( cot x − 1
x
)
29. lim x→0
sin x − x cos x x − sin x 30. limx→π/2
( x − π
2
) tan x
31. lim x→0
cos(x + π2 ) sin x
32. lim x→0
x2
1 − cos x
33. lim x→π/2
cos x sin(2x)
34. lim x→0
( 1
x2 − csc2 x
)
35. lim x→π/2
(sec x − tan x) 36. lim x→2
ex 2 − e4 x − 2
37. lim x→1
tan (πx
2
) ln x 38. lim
x→1 x(ln x − 1) + 1
(x − 1) ln x
39. lim x→0
ex − 1 sin x
40. lim x→1
ex − e ln x
41. lim x→0
e2x − 1 − x x2
42. lim x→∞
e2x − 1 − x x2
43. lim t→0+
(sin t)(ln t) 44. lim x→∞ e
−x(x3 − x2 + 9)
45. lim x→0
ax − 1 x
(a > 0) 46. lim x→∞ x
1/x2
47. lim x→1
(1 + ln x)1/(x−1) 48. lim x→0+
xsin x
49. lim x→0
(cos x)3/x 2
50. lim x→∞
( x
x + 1
)x
51. lim x→0
sin−1 x x
52. lim x→0
tan−1 x sin−1 x
53. lim x→1
tan−1 x − π4 tan π4 x − 1
54. lim x→0+
ln x tan−1 x
55. Evaluate lim x→π/2
cos mx cos nx
, where m, n ̸= 0 are integers.
56. Evaluate lim x→1
xm − 1 xn − 1 for any numbers m, n ̸= 0.
57. Prove the following limit formula for e:
e = lim x→0
(1 + x)1/x
Then find a value of x such that |(1 + x)1/x − e| ≤ 0.001.
230 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
58. Prove the following limit formula for e:
e = lim x→∞
( 1 + 1
x
)x
59. Show that 0∞ is not an indeterminate form by showing that if f is a positive function and lim
x→0 f (x) = 0 and lim
x→0 g(x) = ∞ , then
lim x→0
(f (x))g(x) = 0.
60. Can L’Hôpital’s Rule be applied to lim x→0+
xsin(1/x)? Does
a graphical or numerical investigation suggest that the limit exists?
61. Let f (x) = x1/x for x > 0. (a) Calculate lim
x→0+ f (x) and lim
x→∞ f (x).
(b) Find the maximum value of f and determine the intervals on which f is increasing or decreasing.
62. (a) Use the results of Exercise 61 to prove that x1/x = c has a unique solution if 0 < c ≤ 1 or c = e1/e, two solutions if 1 < c < e1/e, and no solutions if c > e1/e. (b) Plot the graph of f (x) = x1/x and verify that it confirms the conclusions of (a).
63. Determine whether f ≪ g or g ≪ f (or neither) for the functions f (x) = log10 x and g(x) = ln x. 64. Show that (ln x)3 ≪ x1/3 and (ln x)4 ≪ x1/10. 65. Just as exponential functions are distinguished by their rapid rate of increase, the logarithm functions grow particularly slowly. Show that ln x ≪ xa for all a > 0. 66. Show that (ln x)N ≪ xa for all N and all a > 0.
67. Determine whether √
x ≪ e √
ln x or e √
ln x ≪ √x. Hint: Use the substitution u = ln x instead of L’Hôpital’s Rule. 68. Show that lim
x→∞ x ne−x = 0 for all whole numbers n > 0.
69. Assumptions Matter Suppose f (x) = x(2 + sin x) and let g(x) = x2 + 1.
(a) Show directly that lim x→∞ f (x)/g(x) = 0.
(b) Show that lim x→∞ f (x) = limx→∞ g(x) = ∞, but limx→∞ f
′(x)/g′(x) does not exist. Do (a) and (b) contradict L’Hôpital’s Rule? Explain.
70. Let H(b) = lim x→∞
ln(1 + bx) x
for b > 0.
(a) Show that H(b) = ln b if b ≥ 1. (b) Determine H(b) for 0 < b ≤ 1.
71. Let G(b) = lim x→∞(1 + b
x)1/x .
(a) Use the result of Exercise 70 to evaluate G(b) for all b > 0. (b) Verify your result graphically by plotting y = (1 + bx)1/x together with the horizontal line y = G(b) for the values b = 0.25, 0.5, 2, 3.
72. Show that lim t→∞ t
ke−t 2 = 0 for all k. Hint: Compare with
lim t→∞ t
ke−t = 0.
In Exercises 73–75, let
f (x) = {
e−1/x2 for x ̸= 0 0 for x = 0
These exercises show that f has an unusual property: All of its deriva- tives at x = 0 exist and are equal to zero.
73. Show that lim x→0
f (x)
xk = 0 for all k. Hint: Let t = x−1 and apply
the result of Exercise 72.
74. Show that f ′(0) exists and is equal to zero. Also, verify that f ′′(0) exists and is equal to zero.
75. Show that for k ≥ 1 and x ̸= 0,
f (k)(x) = P(x)e −1/x2
xr
for some polynomial P(x) and some exponent r ≥ 1. Use the result of Exercise 73 to show that f (k)(0) exists and is equal to zero for all k ≥ 1.
Further Insights and Challenges 76. Show that L’Hôpital’s Rule applies to lim
x→∞ x
√ x2 + 1
but that it
does not help. Then evaluate the limit directly.
77. The Second Derivative Test for critical points fails if f ′′(c) = 0. This exercise develops a Higher Derivative Test based on the sign of the first nonzero derivative. Suppose that
f ′(c) = f ′′(c) = · · · = f (n−1)(c) = 0, but f (n)(c) ̸= 0
(a) Show, by applying L’Hôpital’s Rule n times, that
lim x→c
f (x) − f (c) (x − c)n =
1 n! f
(n)(c)
where n! = n(n − 1)(n − 2) · · · (2)(1). (b) Use (a) to show that if n is even, then f (c) is a local minimum if f (n)(c) > 0 and is a local maximum if f (n)(c) < 0. Hint: If n is even, then (x − c)n > 0 for x ̸= a, so f (x) − f (c) must be positive for x near c if f (n)(c) > 0. (c) Use (a) to show that if n is odd, then f (c) is neither a local minimum nor a local maximum.
78. When a spring with natural frequency λ/2π is driven with a sinu- soidal force sin(ωt) with ω ̸= λ, it oscillates according to
y(t) = 1 λ2 − ω2
( λ sin(ωt) − ω sin(λt)
)
Let y0(t) = lim ω→λ
y(t).
(a) Use L’Hôpital’s Rule to determine y0(t).
(b) Show that y0(t) ceases to be periodic and that its amplitude |y0(t)| tends to ∞ as t → ∞ (the system is said to be in resonance; eventually, the spring is stretched beyond its structural tolerance).
(c) Plot y for λ = 1 and ω = 0.8, 0.9, 0.99, and 0.999. Do the graphs confirm your conclusion in (b)?
79. We expended a lot of effort to evaluate lim x→0
sin x x
in
Chapter 2. Show that we could have evaluated it easily using L’Hôpital’s Rule. Then explain why this method would involve circular reasoning.
S E C T I O N 4.6 Graph Sketching and Asymptotes 231
80. By a fact from algebra, if f , g are polynomials such that f (a) = g(a) = 0, then there are polynomials f1, g1 such that
f (x) = (x − a)f1(x), g(x) = (x − a)g1(x)
Use this to verify L’Hôpital’s Rule directly for lim x→a f (x)/g(x).
81. Patience Required Use L’Hôpital’s Rule to evaluate and check your answers numerically:
(a) lim x→0+
( sin x
x
)1/x2 (b) lim
x→0
( 1
sin2 x − 1
x2
)
82. In the following cases, check that x = c is a critical point and use Exercise 77 to determine whether f (c) is a local minimum or a local maximum. (a) f (x) = x5 − 6x4 + 14x3 − 16x2 + 9x + 12 (c = 1) (b) f (x) = x6 − x3 (c = 0)
4.6 Graph Sketching and Asymptotes In this section, our goal is to sketch graphs using the information provided by the first two derivatives f ′ and f ′′. We will see that a useful sketch can be produced without plotting a large number of points. Although nowadays almost all graphs are produced by computer (including, of course, the graphs in this textbook), sketching graphs by hand is a useful way of solidifying your understanding of the basic concepts in this chapter.
Most graphs are made up of smaller arcs that have one of the four basic shapes, corresponding to the four possible sign combinations of f ′ and f ′′ (Figure 1). Since f ′
and f ′′ can each have sign + or −, the sign combinations are
+ + + − − + −−
In this notation, the first sign refers to f ′ and the second sign to f ′′. For instance, −+ indicates that f ′(x) < 0 and f ′′(x) > 0. We use a slanted arrow over the first sign to indicate whether the function is increasing or decreasing, and an upturned or downturned
over the second sign to indicate the concavity.
+ Concave
up
+ Increasing
– Decreasing
– Concave
down
f ´´ f ´
– –
+ – + +
– + – –
FIGURE 1 The four basic shapes.
In graph sketching, we focus on the transition points, where the basic shape changes due to a sign change in either f ′ (local min or max) or f ′′ (point of inflection). In this section, local extrema are indicated by solid dots, and points of inflection are indicated by green solid squares (Figure 2).
+ +− +− −+ −+ +− +
FIGURE 2 The graph of f with transition points and sign combinations of f ′ and f ′′.
In graph sketching, we must also pay attention to asymptotic behavior—that is, to the behavior of f (x) as x approaches either ±∞ or a vertical asymptote.
The next three examples treat polynomials. Recall from Section 2.7 that the limits at infinity of a polynomial
f (x) = anxn + an−1xn−1 + · · · + a1x + a0 (assuming that an ̸= 0) are determined by
lim x→∞ f (x) = an limx→∞ x
n
In general, then, the graph of a polynomial “wiggles” up and down a finite number of times and then tends to positive or negative infinity. Typical examples appear in Figure 3.
x x
(A) Degree 3, a3 > 0 (B) Degree 4, a4 > 0 (C) Degree 5, a5 < 0
x
yyy
FIGURE 3 Graphs of polynomials.
EXAMPLE 1 Quadratic Polynomial Sketch the graph of f (x) = x2 − 4x + 3. Solution Note that f (x) = (x − 1)(x − 3) so the graph intersects the x-axis at x = 1 and x = 3. We have f ′(x) = 2x − 4 = 2(x − 2). We can see directly that f ′(x) is negative for x < 2 and positive for x > 2, but let’s confirm this using test values, as in previous sections:
232 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
Interval Test Value Sign of f ′
(−∞, 2) f ′(1) = −2 − (2, ∞) f ′(3) = 2 +
Furthermore, f ′′(x) = 2 is positive, so the graph is everywhere concave up. To sketch the
Local min
− + + +
3
1 3
2
y
x
FIGURE 4 Graph of f (x) = x2 − 4x + 3.
graph, plot the local minimum (2, −1), the y-intercept, and the roots x = 1, 3. Since the leading term of f is x2, f (x) tends to ∞ as x → ±∞. This asymptotic behavior is noted by the arrows in Figure 4.
EXAMPLE 2 Cubic Polynomial Sketch the graph of f (x) = 13x3 − 12x2 − 2x + 3. Solution
Step 1. Determine the signs of f ′ and f ′′. First, solve for the critical points:
f ′(x) = x2 − x − 2 = (x + 1)(x − 2) = 0 The critical points c = −1, 2 divide the x-axis into three intervals (−∞, −1), (−1, 2), and (2, ∞), on which we determine the sign of f ′ by computing test values:
Interval Test Value Sign of f ′
(−∞, −1) f ′(−2) = 4 + (−1, 2) f ′(0) = −2 − (2, ∞) f ′(3) = 4 +
Next, solve f ′′(x) = 2x − 1 = 0. The solution is c = 12 and we have
Interval Test Value Sign of f ′′
( −∞, 12
) f ′′(0) = −1 −
( 1 2 , ∞
) f ′′(1) = 1 +
Step 2. Note transition points and sign combinations. This step merges the information about f ′ and f ′′ in a sign diagram (Figure 5). There− −+ − + +− +
Local min
Local max
Inflection point
−1 0 21 2
x
FIGURE 5 Sign combinations of f ′ and f ′′.
are three transition points:
• c = −1: local max since f ′ changes from + to − at c = −1. • c = 12 : corresponds to a point of inflection since f ′′ changes sign at c = 12 . • c = 2: local min since f ′ changes from − to + at c = 2.
In Figure 6(A), we plot the transition points and, for added accuracy, the y-intercept f (0), using the values
f (−1) = 25 6
, f
( 1 2
) = 23
12 , f (0) = 3, f (2) = −1
3
Step 3. Draw arcs of appropriate shape and asymptotic behavior. The leading term of f (x) is 13x
3. Therefore, lim x→∞ f (x) = ∞ and limx→−∞ f (x) = −∞.
To create the sketch, it remains only to connect the transition points by arcs of the appropriate concavity and asymptotic behavior, as in Figure 6(B) and (C).
EXAMPLE 3 Sketch the graph of f (x) = 3x4 − 8x3 + 6x2 + 1. Solution
Step 1. Determine the signs of f ′ and f ′′. First, solve for the transition points:
f ′(x) = 12x3 − 24x2 + 12x = 12x(x − 1)2 = 0 ⇒ x = 0, 1
f ′′(x) = 36x2 − 48x + 12 = 12(x − 1)(3x − 1) = 0 ⇒ x = 1 3 , 1
S E C T I O N 4.6 Graph Sketching and Asymptotes 233
(A) (B) (C)
+ − − − − + + + + − − − − + + +
1−3 −1
3
31−3 −1
3
xx
y
,( )12 2312
−1,( )256
1 32, −( )
+ − − −
− + + +
y
FIGURE 6 Graph of f (x) = 13x3 − 12x2 − 2x + 3.
The signs of f ′ and f ′′ are recorded in the following tables:
Interval Test Value Sign of f ′
(−∞, 0) f ′(−1) = −48 − (0, 1) f ′
( 1 2 )
= 32 + (1, ∞) f ′(2) = 24 +
Interval Test Value Sign of f ′′ ( − ∞, 13
) f ′′(0) = 12 +
( 1 3 , 1
) f ′′
( 1 2 )
= −3 − (1, ∞) f ′′(2) = 60 +
Step 2. Note transition points and sign combinations. The transition points c = 0, 13 , 1 divide the x-axis into four intervals (Figure 7). The10
+ −+ + + + − +
Inflection point
Local min
Inflection point
x 1 3
FIGURE 7
type of sign change determines the nature of the transition point:
• c = 0: local min since f ′ changes from − to + at c = 0. • c = 13 : corresponds to a point of inflection since f ′′ changes sign at c = 13 . • c = 1: neither a local min nor a local max since f ′ does not change sign, but it
is a point of inflection since f ′′(x) changes sign at c = 1. We plot the transition points c = 0, 13 , 1 in Figure 8(A) using function values f (0) = 1, f
( 1 3
) = 3827 , and f (1) = 2.
1 3
1 3
1−1
2
4
1−1
2
4 + − + −+ + + ++ + + +− + − +
x x
y y
(A) (B)
Points of inflection
FIGURE 8 f (x) = 3x4 − 8x3 + 6x2 + 1.
Step 3. Draw arcs of appropriate shape and asymptotic behavior. Before drawing the arcs, we note that f (x) has leading term 3x4, so f (x) tends to ∞ as x → ∞ and as x → −∞. We obtain Figure 8(B).
EXAMPLE 4 Trigonometric Function Sketch f (x) = cos x + 12x over [0, π ]. Solution First, we find the transition points for x in [0, π ]:
f ′(x) = − sin x + 1 2
= 0 ⇒ x = π 6
, 5π 6
f ′′(x) = − cos x = 0 ⇒ x = π 2
234 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
The sign combinations are shown in the following tables:
Interval Test Value Sign of f ′
( 0, π6
) f ′
( π 12
) ≈ 0.24 +
(π 6 ,
5π 6
) f ′
(π 2 )
= − 12 −( 5π 6 , π
) f ′
( 11π 12
) ≈ 0.24 +
Interval Test Value Sign of f ′′
( 0, π2
) f ′′
(π 4 )
= − √
2 2 −
(π 2 , π
) f ′′
( 3π 4
) =
√ 2
2 +
We record the sign changes and transition points in Figure 9 and sketch the graph using the values
1
0.75 0.5
+ − + +− +− −
x
y
π π 2
π 6
5π 6
FIGURE 9 f (x) = cos x + 12x.
f (0) = 1, f (π
6
) ≈ 1.13, f
(π 2
) ≈ 0.79, f
( 5π 6
) ≈ 0.44, f (π) ≈ 0.57
EXAMPLE 5 A Function Involving ex Sketch the graph of f (x) = xex . Solution As usual, we solve for the transition points and determine the signs:
f ′(x) = xex + ex = (x + 1)ex = 0 ⇒ x = −1 f ′′(x) = (x + 1)ex + ex = (x + 2)ex = 0 ⇒ x = −2
Interval Test Value Sign of f ′
(−∞, −1) f ′(−2) = −e−2 − (−1, ∞) f ′(0) = e0 +
Interval Test Value Sign
of f ′′
( − ∞, −2
) f ′′(−3) = −e−3 −
( − 2, ∞
) f ′′(0) = 2e0 +
The sign change of f ′ shows that f (−1) is a local min. The sign change of f ′′ shows that
− −
x
y
21
−1−2
1
−+ ++
FIGURE 10 Graph of f (x) = xex . The sign combinations −−, −+, ++ indicate the signs of f ′ and f ′′.
f has a point of inflection at x = −2, where the graph changes from concave down to concave up.
The last pieces of information we need are the limits at infinity. Bothx and ex tend to ∞ as x → ∞, so lim
x→∞ xe x = ∞. On the other hand, the limit as x → −∞ is indeterminate of
type ∞ · 0 because x tends to −∞ and ex tends to zero. Therefore, we write xex = x/e−x and apply L’Hôpital’s Rule:
lim x→−∞
xex = lim x→−∞
x
e−x = lim
x→−∞ 1
−e−x = − limx→−∞ e x = 0
Figure 10 shows the graph with its local minimum and point of inflection, drawn with the correct concavity and asymptotic behavior.
The next two examples deal with horizontal and vertical asymptotes.
EXAMPLE 6 Sketch the graph of f (x) = 3x + 2 2x − 4 .
Solution The function f is not defined for all x. This plays a role in our analysis so we add a Step 0 to our procedure.
Step 0. Determine the domain of f . Since f (x) is not defined for x = 2, the domain of f consists of the two intervals (−∞, 2) and (2, ∞). We must analyze f on these intervals separately.
Step 1. Determine the signs of f ′ and f ′′. Calculation shows that
f ′(x) = − 4 (x − 2)2 , f
′′(x) = 8 (x − 2)3
S E C T I O N 4.6 Graph Sketching and Asymptotes 235
Although f ′(x) is not defined at x = 2, we do not call it a critical point because x = 2 is not in the domain of f . In fact, f ′(x) is negative for x ̸= 2, so f is decreasing and has no critical points.
On the other hand, f ′′(x) > 0 for x > 2 and f ′′(x) < 0 for x < 2. Although f ′′(x) changes sign at x = 2, we do not call x = 2 a point of inflection because it is not in the domain of f .
Step 2. Note transition points and sign combinations. There are no transition points in the domain of f .
(−∞, 2) f ′(x) < 0 and f ′′(x) < 0 (2, ∞) f ′(x) < 0 and f ′′(x) > 0
Step 3. Draw arcs of appropriate shape and asymptotic behavior. The following limits show that y = 32 is a horizontal asymptote:
lim x→±∞
3x + 2 2x − 4 = limx→±∞
3 + 2x−1 2 − 4x−1 =
3 2
The line x = 2 is a vertical asymptote because f (x) has infinite one-sided limits
lim x→2−
3x + 2 2x − 4 = −∞, limx→2+
3x + 2 2x − 4 = ∞
To verify this, note that for x near 2, the denominator 2x − 4 is small and negative if x < 2 and small and positive if x > 2, whereas the numerator 3x + 4 is positive.
Figure 11(A) summarizes the asymptotic behavior. What does the graph look like to the right of x = 2? It is decreasing and concave up since f ′ < 0 and f ′′ > 0, and it approaches the asymptotes. The only possibility is the right-hand curve in Figure 11(B). To the left of x = 2, the graph is decreasing, is concave down, and approaches the asymptotes. The x-intercept is x = − 23 because f
( − 23
) = 0 and the y-intercept is
y = f (0) = − 12 .
− −
3 2
2 3
−
(B)
2
(A)
Horizontal asymptote
Vertical asymptote
2
− −
+ −+ −
x x
yy
3 2
FIGURE 11 Graph of y = 3x + 2 2x − 4 .
EXAMPLE 7 Sketch the graph of f (x) = 1 x2 − 1 .
Solution The function f is defined for x ̸= ±1. By calculation,
f ′(x) = − 2x (x2 − 1)2 , f
′′(x) = 6x 2 + 2
(x2 − 1)3
For x ̸= ±1, the denominator of f ′(x) is positive. Therefore, f ′(x) and x have op- posite signs:
• f ′(x) > 0 for x < 0, f ′(x) < 0 for x > 0, x = 0 is a local max
236 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
The sign of f ′′(x) is equal to the sign of x2 − 1 because 6x2 + 2 is positive: • f ′′(x) > 0 for x < −1 or x > 1 and f ′′(x) < 0 for −1 < x < 1
Figure 12 summarizes the sign information.
Local max
f (x) undefined
1
f (x) undefined
−1 0
− −+ −+ + − + x
FIGURE 12
The x-axis, y = 0, is a horizontal asymptote because
lim x→∞
1 x2 − 1 = 0 and limx→−∞
1 x2 − 1 = 0
The lines x = ±1 are vertical asymptotes. To determine the one-sided limits, note thatIn this example,
f (x) = 1 x2 − 1
f ′(x) = − 2x (x2 − 1)2
f ′′(x) = 6x 2 + 2
(x2 − 1)3
f (x) < 0 for −1 < x < 1 and f (x) > 0 for |x| > 1. Therefore, as x → ±1, f (x) ap- proaches −∞ from within the interval (−1, 1), and it approaches ∞ from outside (−1, 1) (Figure 13). We display the sketch in Figure 14.
Vertical Asymptote Left-Hand Limit Right-Hand Limit
x = −1 lim x→−1−
1
x2 − 1 = ∞ limx→−1+ 1
x2 − 1 = −∞
x = 1 lim x→1−
1
x2 − 1 = −∞ limx→1+ 1
x2 − 1 = ∞
1−1 0
f (x) < 0
f (x) > 0f (x) > 0
x
FIGURE 13 Behavior at vertical asymptotes.
1−1
− −+ −+ + − +
x
y
FIGURE 14 Graph of y = 1 x2 − 1 .
4.6 SUMMARY
• Most graphs are made up of arcs that have one of the four basic shapes (Figure 15):
− −
+ − + +
− +
FIGURE 15 The four basic shapes.
Sign Combination Curve Type
++ f ′ > 0, f ′′ > 0 Increasing and concave up +− f ′ > 0, f ′′ < 0 Increasing and concave down −+ f ′ < 0, f ′′ > 0 Decreasing and concave up −− f ′ < 0, f ′′ < 0 Decreasing and concave down
• A transition point is a point in the domain of f at which either f ′ changes sign (local min or max) or f ′′ changes sign (point of inflection).
• It is convenient to break up the curve-sketching process into steps:
Step 0. Determine the domain of f .
Step 1. Determine the signs of f ′ and f ′′. Step 2. Note transition points and sign combinations.
Step 3. Determine the asymptotic behavior of f (x).
Step 4. Draw arcs of appropriate shape and asymptotic behavior.
S E C T I O N 4.6 Graph Sketching and Asymptotes 237
4.6 EXERCISES
Preliminary Questions 1. Sketch an arc where f ′ and f ′′ have the sign combination ++. Do
the same for −+. 2. If the sign combination of f ′ and f ′′ changes from ++ to +− at
x = c, then (choose the correct answer): (a) f (c) is a local min. (b) f (c) is a local max.
(c) (c, f (c)) is a point of inflection.
3. The second derivative of the function f (x) = (x − 4)−1 is f ′′(x) = 2(x − 4)−3. Although f ′′(x) changes sign at x = 4, f does not have a point of inflection at x = 4. Why not?
Exercises 1. Determine the sign combinations of f ′ and f ′′ for each interval
A–G in Figure 16.
CB D E F GA x
y
y = f (x)
FIGURE 16
2. State the sign change at each transition point A–G in Figure 17. Example: f ′(x) goes from + to − at A.
A x
y
CB D E F G
y = f (x)
FIGURE 17
In Exercises 3–6, draw the graph of a function for which f ′ and f ′′ take on the given sign combinations.
3. ++, +−, −− 4. +−, −−, −+
5. −+, −−, −+ 6. −+, ++, +−
7. Sketch the graph of a function that could have the graphs of f ′ and f ′′ appearing in Figure 18.
x
y
y = f '(x)
1 2 3 4 5
x
y
y = f ''(x)
1 2 3 4 5
FIGURE 18
8. Sketch the graph of a function that could have the graphs of f ′ and f ′′ appearing in Figure 19.
x
y
y = f '(x)
1 2 3 4 5
x
y
y = f ''(x)
1 2 3 4 5
FIGURE 19
9. Sketch the graph of y = x2 − 5x + 4. 10. Sketch the graph of y = 12 − 5x − 2x2. 11. Sketch the graph of f (x) = x3 − 3x2 + 2. Include the zeros of f , which are x = 1 and 1 ±
√ 3 (approximately −0.73, 2.73).
12. Show that f (x) = x3 − 3x2 + 6x has a point of inflection but no local extreme values. Sketch the graph.
13. Extend the sketch of the graph of f (x) = cos x + 12x in Example 4 to the interval [0, 5π ]. 14. Sketch the graphs of y = x2/3 and y = x4/3. In Exercises 15–36, find the transition points, intervals of in- crease/decrease, concavity, and asymptotic behavior. Then sketch the graph, with this information indicated.
15. y = x3 + 24x2 16. y = x3 − 3x + 5 17. y = x2 − 4x3 18. y = 13x3 + x2 + 3x
19. y = 4 − 2x2 + 16x4 20. y = 7x4 − 6x2 + 1 21. y = x5 + 5x 22. y = x5 − 15x3
23. y = x4 − 3x3 + 4x 24. y = x2(x − 4)2
25. y = x7 − 14x6 26. y = x6 − 9x4
27. y = x − 4√x 28. y = √x + √
16 − x 29. y = x(8 − x)1/3 30. y = (x2 − 4x)1/3
31. y = xe−x2 32. y = (2x2 − 1)e−x2
33. y = x − 2 ln x 34. y = x(4 − x) − 3 ln x 35. y = x2 − 2 ln x 36. y = x − 2 ln(x2 + 1) 37. Sketch the graph of f (x) = 18(x − 3)(x − 1)2/3 using the formu- las
f ′(x) = 30 ( x − 95
)
(x − 1)1/3 , f ′′(x) = 20
( x − 35
)
(x − 1)4/3
238 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
38. Sketch the graph of f (x) = x x2 + 1 using the formulas
f ′(x) = 1 − x 2
(1 + x2)2 , f ′′(x) = 2x(x
2 − 3) (x2 + 1)3
In Exercises 39–42, sketch the graph of the function, indicating all transition points. If necessary, use a graphing utility or computer algebra system to locate the transition points numerically.
39. y = x2 − 10 ln(x2 + 1) 40. y = e−x/2 ln x 41. y = x4 − 4x2 + x + 1 42. y = 2√x − sin x, 0 ≤ x ≤ 2π In Exercises 43–48, sketch the graph over the given interval, with all transition points indicated.
43. y = x + sin x, [0, 2π ] 44. y = sin x + cos x, [0, 2π ] 45. y = 2 sin x − cos2 x, [0, 2π ] 46. y = sin x + 12x, [0, 2π ]
47. y = sin x + √
3 cos x, [0, π ] 48. y = sin x − 12 sin 2x, [0, π ]
49. Are all sign transitions possible? Explain with a sketch why the transitions ++ → −+ and −− → +− do not occur if the function is differentiable. (See Exercise 78 for a proof.)
50. Suppose that f is twice differentiable satisfying (i) f (0) = 1, (ii) f ′(x) > 0 for all x ̸= 0, and (iii) f ′′(x) < 0 for x < 0 and f ′′(x) > 0 for x > 0. Let g(x) = f (x2). (a) Sketch a possible graph of f . (b) Prove that g has no points of inflection and a unique local extreme value at x = 0. Sketch a possible graph of g. 51. Which of the graphs in Figure 20 cannot be the graph of a polyno- mial? Explain.
(A) (B) (C)
x
x
x
yy y
FIGURE 20
52. Which curve in Figure 21 is the graph of f (x) = 2x 4 − 1
1 + x4 ? Explain on the basis of horizontal asymptotes.
(A)
−4 −2 2 4
2
−1.5
(B)
−4 −2 2 4
2
−1.5
x x
yy
FIGURE 21
53. Match the graphs in Figure 22 with the two functions y = 3x x2 − 1
and y = 3x 2
x2 − 1 . Explain.
(A) (B)
−1 1−1 1 xx
y y
FIGURE 22
54. Match the functions below with their graphs in Figure 23.
(a) y = 1 x2 − 1 (b) y =
x2
x2 + 1 (c) y = 1
x2 + 1 (d) y = x
x2 − 1
(A) (B)
(D)(C)
x x
y y
xx
y y
FIGURE 23
In Exercises 55–72, sketch the graph of the function. Indicate the tran- sition points and asymptotes.
55. y = 1 3x − 1 56. y =
x − 2 x − 3
57. y = x + 3 x − 2 58. y = x +
1 x
59. y = 1 x
+ 1 x − 1 60. y =
1 x
− 1 x − 1
61. y = 1 x(x − 2) 62. y =
x
x2 − 9
63. y = 1 x2 − 6x + 8 64. y =
x3 + 1 x
65. y = 1 − 3 x
+ 4 x3
66. y = 1 x2
+ 1 (x − 2)2
67. y = 1 x2
− 1 (x − 2)2 68. y =
4
x2 − 9
S E C T I O N 4.7 Applied Optimization 239
69. y = 1 (x2 + 1)2 70. y =
x2
(x2 − 1)(x2 + 1) 71. y = 1√
x2 + 1 72. y = x√
x2 + 1
Further Insights and Challenges In Exercises 73–77, we explore functions whose graphs approach a nonhorizontal line as x → ∞. A line y = ax + b is called a slant asymptote if
lim x→∞(f (x) − (ax + b)) = 0
or
lim x→−∞(f (x) − (ax + b)) = 0
73. Let f (x) = x 2
x − 1 (Figure 24). Verify the following: (a) f (0) is a local max and f (2) a local min. (b) f is concave down on (−∞, 1) and concave up on (1, ∞). (c) lim
x→1− f (x) = −∞ and lim
x→1+ f (x) = ∞.
(d) y = x + 1 is a slant asymptote of f as x → ±∞. (e) The slant asymptote lies above the graph of f for x < 1 and below the graph for x > 1.
y = x + 1
10−10
10
−10
x
y f (x) = x
2
x − 1
FIGURE 24
74. If f (x) = P(x)/Q(x), where P and Q are polynomials of degrees m + 1 and m, then by long division, we can write
f (x) = (ax + b) + P1(x)/Q(x)
where P1 is a polynomial of degree < m. Show that y = ax + b is the slant asymptote of f (x). Use this procedure to find the slant asymptotes of the following functions:
(a) y = x 2
x + 2 (b) y = x3 + x
x2 + x + 1 75. Sketch the graph of
f (x) = x 2
x + 1 Proceed as in the previous exercise to find the slant asymptote.
76. Show that y = 3x is a slant asymptote for f (x) = 3x + x−2. De- termine whether f (x) approaches the slant asymptote from above or below and make a sketch of the graph.
77. Sketch the graph of f (x) = 1 − x 2
2 − x .
78. Assume that f ′ and f ′′ exist for all x and let c be a critical point of f . Show that f (x) cannot make a transition from ++ to −+ at x = c. Hint: Apply the MVT to f ′(x).
79. Assume that f ′′ exists and f ′′(x) > 0 for all x. Show that f (x) cannot be negative for all x. Hint: Show that f ′(b) ̸= 0 for some b and use the result of Exercise 68 in Section 4.4.
4.7 Applied Optimization Optimization plays a role in a wide range of disciplines, including the physical sciences, economics, and biology. For example, scientists have studied how migrating birds choose an optimal velocity v that maximizes the distance they can travel without stopping, given the energy that can be stored as body fat (Figure 1).
10 20 30 40 v (m/s)
D(v) (km)
200
150
100
50
FIGURE 1 Physiology and aerodynamics are applied to obtain a plausible formula for bird migration distance D as a function of velocity v. The optimal velocity corresponds to the maximum point on the graph (see Exercise 67).
In many optimization problems, the first step is to write down the objective function. This is the function whose minimum or maximum we seek. Once we find the objective function, we can apply the techniques developed in this chapter. Our first examples require optimization on a closed interval [a, b]. Let’s recall the steps for finding extrema developed in Section 4.2:
(i) Find the critical points of f in [a, b]. (ii) Evaluate f (x) at the critical points and the endpoints a and b. (iii) The largest and smallest values are the extreme values of f on [a, b].
EXAMPLE 1 A piece of wire of length L is bent into the shape of a rectangle (Figure 2). Which dimensions produce the rectangle of maximum area?
xL
y = − xL 2
FIGURE 2
240 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
Solution The rectangle has area A = xy, where x and y are the lengths of the sides. Since A depends on two variables x and y, we cannot find the maximum until we eliminate one of the variables. We can do this because the variables are related: The rectangle has perimeter L = 2x + 2y, so y = 12L − x. This allows us to rewrite the area in terms of x alone to
An equation relating two or more variables in an optimization problem is called a “constraint equation.” In Example 1, the constraint equation is
2x + 2y = L
obtain the objective function
A(x) = x (
1 2 L − x
) = 1
2 Lx − x2
On which interval does the optimization take place? The sides of the rectangle are non- negative, so we require both x ≥ 0 and 12L − x ≥ 0. Thus, 0 ≤ x ≤ 12L. Our problem is to maximize A(x) on the closed interval
[ 0, 12L
] .
We solve A′(x) = 12L − 2x = 0 to obtain the critical point x = 14L and compare:
Endpoints: A(0) = 0
A
( 1 2 L
) = 1
2 L
( 1 2 L − 1
2 L
) = 0
Critical point: A (
1 4 L
) =
( 1 4 L
) ( 1 2 L − 1
4 L
) = 1
16 L2
The largest value occurs for x = 14L, and in this case, y = 12L − 14L = 14L. The rectangle of maximum area is the square of sides x = y = 14L.
EXAMPLE 2 Minimizing Travel Time Your task is to build a road joining a ranch to a highway that enables drivers to reach the city in the shortest time (Figure 3). How should this be done if the speed limit is 60 km/h on the road and 110 km/h on the highway? The perpendicular distance from the ranch to the highway is 30 km, and the city is 50 km down the highway.30
P
x
Q
50 − x 50
1302 + x2
Ranch
City
FIGURE 3
Solution This problem is more complicated than the previous one, so we’ll analyze it in three steps. You can follow these steps to solve other optimization problems.
Step 1. Choose variables. We need to determine the point Q where the road will join the highway. So let x be the distance from Q to the point P where the perpendicular joins the highway.
Step 2. Find the objective function and the interval. Our objective function is the time T (x) of the trip as a function of x. To find a formula for T (x), recall that distance traveled at constant velocity v is d = vt , and the time required to travel a distance d is t = d/v. The road has length
√ 302 + x2 by the
Pythagorean Theorem, so at velocity v = 60 km/h, it takes √
302 + x2 60
hours to travel from the ranch to Q
The strip of highway from Q to the city has length 50 − x. At velocity v = 110 km/h, it takes
50 − x 110
hours to travel from Q to the city
The total number of hours for the trip is
T (x) = √
302 + x2 60
+ 50 − x 110
Our interval is 0 ≤ x ≤ 50 because the road joins the highway somewhere between 5019.52
x (km)
0.5
1
T(x) (h)
FIGURE 4 Graph of time of trip as function of x. P and the city. So our task is to minimize T on [0, 50] (Figure 4).
S E C T I O N 4.7 Applied Optimization 241
Step 3. Optimize. Solve for the critical points:
T ′(x) = x 60
√ 302 + x2
− 1 110
= 0
110x = 60 √
302 + x2 ⇒ 11x = 6 √
302 + x2 ⇒
121x2 = 36(302 + x2) ⇒ 85x2 = 32,400 ⇒ x = √
32,400/85 ≈ 19.52
To find the minimum value of T , we compare the values of T (x) at the critical point and the endpoints of [0, 50]:
T (0) ≈ 0.95 h, T (19.52) ≈ 0.87 h, T (50) ≈ 0.97 h
We conclude that the travel time is minimized if the road joins the highway at a distance x ≈ 19.52 km along the highway from P .
EXAMPLE 3 Optimal Price All units in a 30-unit apartment building are rented out when the monthly rent is set at r = $1000/month. A survey reveals that for each $40 increase in rent, one additional apartment becomes vacant. Suppose that each occupied unit costs $120/month in maintenance. Which rent r maximizes monthly profit?
Solution
Step 1. Choose variables. Our goal is to maximize the total monthly profit P . Let r be the monthly rent and let N(r) be the number of occupied units when the rent is set at r .
Step 2. Find the objective function and the interval. Since one unit becomes vacant with each $40 increase in rent above $1000, we find that (r − 1000)/40 units are vacant when r > 1000. Therefore,
N(r) = 30 − 1 40
(r − 1000) = 55 − 1 40
r
Total monthly profit is equal to the number of occupied units times the profit per unit, which is r − 120 (because each unit costs $120 in maintenance), so
P(r) = N(r)(r − 120) = (
55 − 1 40
r ) (r − 120) = −6600 + 58r − 1
40 r2
Which interval of r-values should we consider? There is no reason to lower the rent below r = 1000 because all units are already occupied when r = 1000. On the other hand, N(r) = 0 for r = 40 · 55 = 2200. Therefore, zero units are occupied when r = 2200 and it makes sense to take 1000 ≤ r ≤ 2200.
Step 3. Optimize. Solve for the critical points:
P ′(r) = 58 − 1 20
r = 0 ⇒ r = 1160
and compare values at the critical point and the endpoints:
P(1000) = 26,400, P (1160) = 27,040, P (2200) = 0
We conclude that the profit is maximized when the rent is set at r = $1160. In this case, 26 units are occupied. Note that if the maximum profit had occurred at a price that gave us a fractional number of units occupied, we could not have achieved that maximum. Instead, we would have taken the price corresponding to rounding the fractional number up or down to the integer number of units that maximized our profit.
242 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
Open Versus Closed Intervals When we have to optimize over an open interval, there is no guarantee that a min or max
ba x
y
FIGURE 5 A function with no maximum over the open interval (a, b).
exists as for example in Figure 5 (unlike the case of closed intervals). However, if a min or max does exist, then it must occur at a critical point (because it is also a local min or max). Often, we can show that a min or max exists by examining f (x) near the endpoints of the open interval. If f (x) tends to infinity at the endpoints (as in Figure 7), then a minimum occurs at a critical point somewhere in the interval.
EXAMPLE 4 Design a cylindrical can of volume 900 cm3 so that it uses the least amount of metal (Figure 6). In other words, minimize the surface area of the can (including its top and bottom).
h
r
FIGURE 6 Cylinders with the same volume but different surface areas.
Solution
Step 1. Choose variables. We must specify the can’s radius and height. Therefore, let r be the radius and h the height. Let A be the surface area of the can.
Step 2. Find the objective function and the interval. We compute A as a function of r and h:
A = πr2︸︷︷︸ Top
+ πr2︸︷︷︸ Bottom
+ 2πrh︸ ︷︷ ︸ Side
= 2πr2 + 2πrh
The can’s volume is V = πr2h. Since we require that V = 900 cm3, we have the constraint equation πr2h = 900. Thus, h = (900/π)r−2 and
A(r) = 2πr2 + 2πr (
900 πr2
) = 2πr2 + 1800
r
The radius r can take on any positive value, so we minimize A(r) on (0, ∞). Step 3. Optimize the function.
Observe that A(r) tends to infinity as r approaches the endpoints of (0, ∞): 5 10 15 20
Radius r
Surface area A
500
1000
FIGURE 7 Surface area increases as r tends to 0 or ∞. The minimum value exists.
• A(r) → ∞ as r → ∞ (because of the r2 term). • A(r) → ∞ as r → 0 (because of the 1/r term).
Therefore, A(r) must take on a minimum value at a critical point in (0, ∞) (Figure 7). We solve in the usual way:
dA
dr = 4πr − 1800
r2 = 0 ⇒ r3 = 450
π ⇒ r =
( 450 π
)1/3 ≈ 5.23 cm
We also need to calculate the height:
h = 900 πr2
= 2 (
450 π
) r−2 = 2
( 450 π
) ( 450 π
)−2/3 = 2
( 450 π
)1/3 ≈ 10.46 cm
Notice that the optimal dimensions satisfy h = 2r . In other words, the optimal can is
In the case of a single critical point, as we have here, a second method for proving that the point corresponds to a minimum is to apply the First Derivative Test. Since A′(r) < 0 for r <
( 450 π
)1/3 and A′(r) > 0
for r > ( 450
π
)1/3 , the critical point must be
a local minimum and as the only critical point, the global minimum. A third method would be to apply the Second Derivative Test to show this is a local minimum and therefore, as the only extreme point, the global minimum. as tall as it is wide.
S E C T I O N 4.7 Applied Optimization 243
EXAMPLE 5 Optimization Problem with No Solution Is it possible to design a cylinder of volume 900 cm3 with the largest possible surface area?
Solution The answer is no. In the previous example, we showed that a cylinder of volume 900 and radius r has surface area
A(r) = 2πr2 + 1800 r
This function has no maximum value because it tends to infinity as r → 0 or r → ∞ (Figure 7). This means that a cylinder of fixed volume has a large surface area if it is either very fat and short (r large) or very tall and skinny (r small).
The Principle of Least Distance states that a light beam reflected in a mirror travelsThe Principle of Least Distance is also called Heron’s Principle after the mathematician Heron of Alexandria (c. 100 CE). See Exercise 79 for an elementary proof that does not use calculus and would have been known to Heron. Exercise 54 develops Snell’s Law, a more general optical law based on the Principle of Least Time.
along the shortest path. More precisely, a beam traveling from A to B, as in Figure 8, is reflected at the point P for which the path APB has minimum length. In the next example, we show that this minimum occurs when the angle of incidence is equal to the angle of reflection, that is, θ1 = θ2.
A
B
θ1 θ2
h1
h2
L − xx
L
P
FIGURE 8 Reflection of a light beam in a mirror.
EXAMPLE 6 Show that if P is the point for which the path APB in Figure 8 has minimal length, then θ1 = θ2. Solution By the Pythagorean Theorem, the path APB has length
f (x) = AP + PB = √
x2 + h21 + √
(L − x)2 + h22 with x, h1, and h2 as in the figure. The function f tends to infinity as x approaches ±∞ (i.e., as P moves arbitrarily far to the right or left), so f takes on its minimum value at a critical point x such that (see Figure 9)
10 20 30 40
25
50
y
x
FIGURE 9 Graph of path length for h1 = 10, h2 = 20, L = 40.
f ′(x) = x√ x2 + h21
− L − x√ (L − x)2 + h22
= 0 1
It is not necessary to solve for x because our goal is not to find the critical point, but rather to show that θ1 = θ2. To do this, we rewrite Eq. (1) as
x √
x2 + h21︸ ︷︷ ︸ cos θ1
= L − x√ (L − x)2 + h22︸ ︷︷ ︸
cos θ2
Referring to Figure 8, we see that this equation says cos θ1 = cos θ2, and since θ1 and θ2 lie between 0 and π2 , we conclude that θ1 = θ2 as claimed.
CONCEPTUAL INSIGHT The examples in this section were selected because they lead to optimization problems where the min or max occurs at a critical point. Often, the critical point represents the best compromise between “competing factors.” In Example 3, we maximized profit by finding the best compromise between raising the rent and keeping the apartment units occupied. In Example 4, our solution minimizes surface area by finding the best compromise between height and width. In daily life, however, we often encounter endpoint rather than critical point solutions. For example, to run 10 m in minimal time, you should run as fast as you can—the solution is not a critical point but rather an endpoint (your maximum speed).
244 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
4.7 SUMMARY
• There are usually three main steps in solving an applied optimization problem:
Step 1. Choose variables. Determine which quantities are relevant, often by drawing a diagram, and assign appropriate variables.
Step 2. Find the objective function and the interval. Restate as an optimization problem for a function f over an interval. If f depends on more than one variable, use a constraint equation to write f as a function of just one variable.
Step 3. Optimize the objective function.
• If the interval is open, f does not necessarily take on a minimum or maximum value. But if it does, these must occur at critical points within the interval. To determine if a min or max exists, analyze the behavior of f as x approaches the endpoints of the interval.
4.7 EXERCISES
Preliminary Questions 1. The problem is to find the right triangle of perimeter 10 whose area
is as large as possible. What is the constraint equation relating the base b and height h of the triangle?
2. Describe a way of showing that a continuous function on an open interval (a, b) has a minimum value.
3. Is there a rectangle of area 100 of largest perimeter? Explain.
Exercises 1. Find the dimensions x and y of the rectangle of maximum area that
can be formed using 3 m of wire.
(a) What is the constraint equation relating x and y?
(b) Find a formula for the area in terms of x alone.
(c) What is the interval of optimization? Is it open or closed?
(d) Solve the optimization problem.
2. Wire of length 12 m is divided into two pieces and each piece is bent into a square. How should this be done in order to minimize the sum of the areas of the two squares?
(a) Express the sum of the areas of the squares in terms of the lengths x and y of the two pieces.
(b) What is the constraint equation relating x and y?
(c) What is the interval of optimization? Is it open or closed?
(d) Solve the optimization problem.
3. A rectangular bird sanctuary is being created with one side along a straight riverbank. The remaining three sides are to be enclosed with a protective fence. If there are 12 km of fence available, find the dimen- sion of the rectangle to maximize the area of the sanctuary.
4. The rectangular bird sanctuary with one side along a straight river is to be constructed so that it contains 8 km2 of area. Find the dimen- sions of the rectangle to minimize the amount of fence necessary to enclose the remaining three sides.
5. Find two positive real numbers such that the sum of the first number squared and the second number is 48 and their product is a maximum.
6. Find two positive real numbers such that they sum to 108 and the product of the first times the square of the second is a maximum.
7. A wire of length 12 m is divided into two pieces and the pieces are bent into a square and a circle. How should this be done in order to minimize the sum of their areas?
8. Find the positive number x such that the sum of x and its reciprocal is as small as possible. Does this problem require optimization over an open interval or a closed interval?
9. Find two positive real numbers such that they add to 40 and their product is as large as possible.
10. Find two positive real numbers x and y such that they add to 120 and x2y is as large as possible.
11. Find two positive real numbers x and y such that their product is 800 and x + 2y is as small as possible.
12. A flexible tube of length 4 m is bent into an L-shape. Where should the bend be made to minimize the distance between the two ends?
13. Find the dimensions of the box with square base with: (a) Volume 12 and the minimal surface area.
(b) Surface area 20 and maximal volume.
14. A jewelry box with a square base is to be built with copper plated sides, nickel plated bottom and top, and a volume of 40 cm3. If nickel plating costs $2 per cm2 and copper plating costs $1 per cm2, find the dimensions of the box to minimize the cost of the materials.
S E C T I O N 4.7 Applied Optimization 245
15. A rancher will use 600 m of fencing to build a corral in the shape of a semicircle on top of a rectangle (Figure 10). Find the dimensions that maximize the area of the corral.
FIGURE 10
16. What is the maximum area of a rectangle inscribed in a right trian- gle with legs of length 3 and 4 as in Figure 11. The sides of the rectangle are parallel to the legs of the triangle.
3
5 4
FIGURE 11
17. Find the dimensions of the rectangle of maximum area that can be inscribed in a circle of radius r = 4 (Figure 12).
r
FIGURE 12
18. Find the dimensions x and y of the rectangle inscribed in a circle of radius r that maximizes the quantity xy2.
19. In the article “Do Dogs Know Calculus?” the author Timothy Pen- nings explained how he noticed that when he threw a ball diagonally into Lake Michigan along a straight shoreline, his dog Elvis seemed to pick the optimal point in which to enter the water so as to minimize his time to reach the ball, as in Figure 13. He timed the dog and found Elvis could run at 6.4 m/s on the sand and swim at 0.91 m/s. If Tim stood at point A and threw the ball to a point B in the water, which was a perpendicular distance 10 m from point C on the shore, where C is a distance 15 m from where he stood, at what distance x from point C did Elvis enter the water if the dog effectively minimized his time to reach the ball?
x A D C
B
15
10
FIGURE 13
20. A four-wheel-drive vehicle is transporting an injured hiker to the hospital from a point that is 30 km from the nearest point on a straight road. The hospital is 50 km down that road from that nearest point. If the vehicle can drive at 30 kph over the terrain and at 120 kph on the road, how far down the road should the vehicle aim to reach the road to minimize the time it takes to reach the hospital?
21. Find the point on the line y = x closest to the point (1, 0). Hint: It is equivalent and easier to minimize the square of the distance.
22. Find the point P on the parabola y = x2 closest to the point (3, 0) (Figure 14).
3 x
y
P y = x2
FIGURE 14
23. Find a good numerical approximation to the coordinates of the point on the graph of y = ln x − x closest to the origin (Figure 15).
x
y
y = ln x − x
FIGURE 15
24. Problem of Tartaglia (1500–1557) Among all positive numbers a, b whose sum is 8, find those for which the product of the two numbers and their difference is largest.
25. Find the angle θ that maximizes the area of the isosceles triangle whose legs have length ℓ (Figure 16), using the fact the area is given by A = 12ℓ2 sin θ .
θ
ℓ ℓ
FIGURE 16
26. A right circular cone (Figure 17) has volume V = π3 r2h and sur- face area S = πr
√ r2 + h2. Find the dimensions of the cone with sur-
face area 1 and maximal volume.
r
h
FIGURE 17
246 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
27. Find the area of the largest isosceles triangle that can be inscribed in a circle of radius 1 (Figure 18).
(x, y)
1 x
y
FIGURE 18
28. Find the radius and height of a cylindrical can of total surface area A whose volume is as large as possible. Does there exist a cylinder of surface area A and minimal total volume?
29. A poster of area 6000 cm2 has blank margins of width 10 cm on the top and bottom and 6 cm on the sides. Find the dimensions that maximize the printed area.
30. According to postal regulations, a carton is classified as “oversized” if the sum of its height and girth (perimeter of its base) exceeds 108 in. Find the dimensions of a carton with a square base that is not oversized and has maximum volume.
31. Kepler’s Wine Barrel Problem In his work Nova stereometria doliorum vinariorum (New Solid Geometry of a Wine Barrel), pub- lished in 1615, astronomer Johannes Kepler stated and solved the fol- lowing problem: Find the dimensions of the cylinder of largest volume that can be inscribed in a sphere of radius R. Hint: Show that an in- scribed cylinder has volume 2πx(R2 − x2), where x is one-half the height of the cylinder.
32. Find the angle θ that maximizes the area of the trapezoid with a base of length 4 and sides of length 2, as in Figure 19.
4
2 2
θθ
FIGURE 19
33. A landscape architect wishes to enclose a rectangular garden of area 1000 m2 on one side by a brick wall costing $90/m and on the other three sides by a metal fence costing $30/m. Which dimensions minimize the total cost?
34. The amount of light reaching a point at a distance r from a light source A of intensity IA is IA/r2. Suppose that a second light source B of intensity IB = 4IA is located 10 m from A. Find the point on the segment joining A and B where the total amount of light is at a minimum.
35. Find the maximum area of a rectangle inscribed in the region
bounded by the graph of y = 4 − x 2 + x and the axes (Figure 20).
2
4
y = 4 − x 2 + x
x
y
FIGURE 20
36. Find the maximum area of a triangle formed by the axes and a tangent line to the graph of y = (x + 1)−2 with x > 0.
37. Find the maximum area of a rectangle circumscribed around a rect- angle of sides L and H . Hint: Express the area in terms of the angle θ (Figure 21).
H
θ
L
FIGURE 21
38. A contractor is engaged to build steps up the slope of a hill that has
the shape of the graph of y = x 2(120 − x)
6400 for 0 ≤ x ≤ 80 with x in
meters (Figure 22). What is the maximum vertical rise of a stair if each stair has a horizontal length of 13 m.
20 40 60 80
20
40
y
x
FIGURE 22
39. Find the equation of the line through P = (4, 12) such that the tri- angle bounded by this line and the axes in the first quadrant has minimal area.
40. Let P = (a, b) lie in the first quadrant. Find the slope of the line through P such that the triangle bounded by this line and the axes in the first quadrant has minimal area. Then show that P is the midpoint of the hypotenuse of this triangle.
41. Archimedes’s Problem Aspherical cap (Figure 23) of radius r and height h has volume V = πh2
( r − 13h
) and surface area S = 2πrh.
Prove that the hemisphere encloses the largest volume among all spher- ical caps of fixed surface area S.
r
h
FIGURE 23
42. Find the isosceles triangle of smallest area (Figure 24) that circum- scribes a circle of radius 1 (from Thomas Simpson’s The Doctrine and Application of Fluxions, a calculus text that appeared in 1750).
S E C T I O N 4.7 Applied Optimization 247
θ
1
FIGURE 24
43. A box of volume 72 m3 with a square bottom and no top is con- structed out of two different materials. The cost of the bottom is $40/m2
and the cost of the sides is $30/m2. Find the dimensions of the box that minimize total cost.
44. Find the dimensions of a cylinder of volume 1 m3 of minimal cost if the top and bottom are made of material that costs twice as much as the material for the side.
45. Your task is to design a rectangular industrial warehouse consisting of three separate spaces of equal size as in Figure 25. The wall materials cost $500 per linear meter and your company allocates $2,400,000 for that part of the project involving the walls. (a) Which dimensions maximize the area of the warehouse? (b) What is the area of each compartment in this case?
FIGURE 25
46. Suppose, in the previous exercise, that the warehouse consists of n separate spaces of equal size. Find a formula in terms of n for the maximum possible area of the warehouse.
47. According to a model developed by economists E. Heady and J. Pe- sek, if fertilizer made from N pounds of nitrogen and P pounds of phosphate is used on an acre of farmland, then the yield of corn (in bushels per acre) is
Y = 7.5 + 0.6N + 0.7P − 0.001N2 − 0.002P 2 + 0.001NP
A farmer intends to spend $30/acre on fertilizer. If nitrogen costs 25 cents/lb and phosphate costs 20 cents/lb, which combination of N and P produces the highest yield of corn?
48. Experiments show that the quantities x of corn and y of soybean required to produce a hog of weight Q satisfy Q = 0.5x1/2y1/4. The unit of x, y, and Q is the cwt, an agricultural unit equal to 100 lb. Find the values of x and y that minimize the cost of a hog of weight Q = 2.5 cwt if corn costs $3/cwt and soy costs $7/cwt.
49. All units in a 100-unit apartment building are rented out when the monthly rent is set at r = $900/month. Suppose that one unit becomes vacant with each $10 increase in rent and that each occupied unit costs $80/month in maintenance. Which rent r maximizes monthly profit?
50. An 8-billion-bushel corn crop brings a price of $2.40/bushel. A commodity broker uses the rule of thumb: If the crop is reduced by x percent, then the price increases by 10x cents. Which crop size results in maximum revenue and what is the price per bushel? Hint: Revenue is equal to price times crop size.
51. The monthly output of a Spanish light bulb factory is P = 2LK2 (in millions), where L is the cost of labor and K is the cost of equipment
(in millions of euros). The company needs to produce 1.7 million units per month. Which values of L and K would minimize the total cost L + K? 52. The rectangular plot in Figure 26 has size 100 m × 200 m. Pipe is to be laid from A to a point P on side BC and from there to C. The cost of laying pipe along the side of the plot is $45/m and the cost through the plot is $80/m (since it is underground). (a) Let f (x) be the total cost, where x is the distance from P to B. De- termine f (x), but note that f is discontinuous at x = 0 (when x = 0, the cost of the entire pipe is $45/ft). (b) What is the most economical way to lay the pipe? What if the cost along the sides is $65/m?
100
200
200 − x
A
B P C x
FIGURE 26
53. Brandon is on one side of a river that is 50 m wide and wants to reach a point 200 m downstream on the opposite side as quickly as possible by swimming diagonally across the river and then running the rest of the way. Find the best route if Brandon can swim at 1.5 m/s and run at 4 m/s.
54. Snell’s Law When a light beam travels from a point A above a swimming pool to a point B below the water (Figure 27), it chooses the path that takes the least time. Let v1 be the velocity of light in air and v2 the velocity in water (it is known that v1 > v2). Prove Snell’s Law of Refraction:
sin θ1 v1
= sin θ2 v2
A
h1 θ1
θ2
B
h2
FIGURE 27
55. Vascular Branching A small blood vessel of radius r branches off at an angle θ from a larger vessel of radius R to supply blood along a path from A to B. According to Poiseuille’s Law, the total resistance to blood flow is proportional to
T = (
a − b cot θ R4
+ b csc θ r4
)
where a and b are as in Figure 28. Show that the total resistance is minimized when cos θ = (r/R)4.
B
A
R
r
θ
b
a FIGURE 28
248 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
In Exercises 56–58, a box (with no top) is to be constructed from a piece of cardboard with sides of length A and B by cutting out squares of length h from the corners and folding up the sides (Figure 29).
56. Find the value of h that maximizes the volume of the box if A = 15 and B = 24. What are the dimensions of this box?
57. Which values of A and B maximize the volume of the box if h = 10 cm and AB = 900 cm.
h
A
B
FIGURE 29
58. Which value of h maximizes the volume of the box if A = B?
59. Given n numbers x1, . . . , xn, find the value of x minimizing the sum of the squares:
(x − x1)2 + (x − x2)2 + · · · + (x − xn)2
First solve for n = 2, 3 and then try it for arbitrary n.
60. A billboard of height b is mounted on the side of a building with its bottom edge at a distance h from the street as in Figure 30. At what distance x should an observer stand from the wall to maximize the angle of observation θ?
61. Solve Exercise 60 again using geometry rather than calculus. There is a unique circle passing through points B and C that is tangent to the street. Let R be the point of tangency. Note that the two angles labeled ψ in Figure 30 are equal because they subtend equal arcs on the circle. (a) Show that the maximum value of θ is θ = ψ . Hint: Show that ψ = θ + ̸ PBA, where A is the intersection of the circle with PC. (b) Prove that this agrees with the answer to Exercise 60. (c) Show that ̸ QRB = ̸ RCQ for the maximal angle ψ .
h
b
x
P θ
θ
ψ ψ
P
A
R
B
C
Q
FIGURE 30
62. Optimal Delivery Schedule A gas station sells Q gallons of gasoline per year, which is delivered N times per year in equal ship- ments of Q/N gallons. The cost of each delivery is d dollars and the yearly storage costs are sQT , where T is the length of time (a fraction of a year) between shipments and s is a constant. Show that costs are mini- mized for N = √sQ/d. (Hint: T = 1/N .) Find the optimal number of deliveries if Q = 2 million gal, d = $8000, and s = 30 cents/gal-year. Your answer should be a whole number, so compare costs for the two integer values of N nearest the optimal value.
63. Victor Klee’s Endpoint Maximum Problem Given 40 m of straight fence, your goal is to build a rectangular enclosure using 80 additional meters of fence that encompasses the greatest area. Let A(x) be the area of the enclosure, with x as in Figure 31. (a) Find the maximum value of A(x). (b) Which interval of x values is relevant to our problem? Find the maximum value of A(x) on this interval.
40
20 − x
40 + x
20 − x
x
FIGURE 31
64. Let (a, b) be a fixed point in the first quadrant and let S(d) be the sum of the distances from (d, 0) to the points (0, 0), (a, b), and (a, −b). (a) Find the value of d for which S(d) is minimal. The answer de- pends on whether b <
√ 3a or b ≥
√ 3a. Hint: Show that d = 0 when
b ≥ √
3a. (b) Let a = 1. Plot S for b = 0.5,
√ 3, 3 and describe the posi-
tion of the minimum.
65. The force F (in Newtons) required to move a box of mass m kg in motion by pulling on an attached rope (Figure 32) is
F(θ) = f mg cos θ + f sin θ
where θ is the angle between the rope and the horizontal, f is the coefficient of static friction, and g = 9.8 m/s2. Find the angle θ that minimizes the required force F , assuming f = 0.4. Hint: Find the max- imum value of cos θ + f sin θ .
F
θ
FIGURE 32
66. In the setting of Exercise 65, show that for any f the minimal force required is proportional to 1/
√ 1 + f 2.
67. Bird Migration Ornithologists have found that the power (in joules per second) consumed by a certain pigeon flying at velocity v m/s is described well by the function P(v) = 17v−1 + 10−3v3 joules/s. Assume that the pigeon can store 5 × 104 joules of usable energy as body fat. (a) Show that at velocity v, a pigeon can fly a total distance of D(v) = (5 × 104)v/P (v) if it uses all of its stored energy.
S E C T I O N 4.7 Applied Optimization 249
(b) Find the velocity vp that minimizes P . (c) Migrating birds are smart enough to fly at the velocity that max- imizes distance traveled rather than minimizes power consumption. Show that the velocity vd which maximizes D(v) satisfies P ′(vd) = P(vd)/vd . Show that vd is obtained graphically as the velocity coordi- nate of the point where a line through the origin is tangent to the graph of P (Figure 33). (d) Find vd and the maximum distance D(vd).
10 155
Velocity (m/s)
Minimum power consumption
Maximum distance traveled
Power ( joules /s)
4
FIGURE 33
68. The problem is to put a “roof” of side s on an attic room of height h and width b. Find the smallest length s for which this is possible if b = 27 and h = 8 (Figure 34). 69. Redo Exercise 68 for arbitrary b and h.
s
h
b FIGURE 34
a
b
FIGURE 35
70. Find the maximum length of a pole that can be carried horizontally around a corner joining corridors of widths a = 24 and b = 3 (Figure 35).
71. Redo Exercise 70 for arbitrary widths a and b.
72. Find the minimum length ℓ of a beam that can clear a fence of height h and touch a wall located b ft behind the fence (Figure 36).
b x
h
ℓ
FIGURE 36
73. A basketball player stands d feet from the basket. Let h and α be as in Figure 37. Using physics, one can show that if the player releases the ball at an angle θ , then the initial velocity required to make the ball go through the basket satisfies
v2 = 16d cos2 θ(tan θ − tan α)
(a) Explain why this formula is meaningful only for α < θ < π2 . Why does v approach infinity at the endpoints of this interval?
(b) Take α = π6 and plot v2 as a function of θ for π6 < θ < π2 . Verify that the minimum occurs at θ = π3 . (c) Set F(θ) = cos2 θ(tan θ − tan α). Explain why v is minimized for θ such that F(θ) is maximized.
(d) Verify that F ′(θ) = cos(α − 2θ) sec α (you will need to use the addition formula for cosine) and show that the maximum value of F on
[ α, π2
] occurs at θ0 = α2 + π4 .
(e) For a given α, the optimal angle for shooting the basket is θ0 be- cause it minimizes v2 and therefore minimizes the energy required to make the shot (energy is proportional to v2). Show that the velocity vopt at the optimal angle θ0 satisfies
v2opt = 32d cos α 1 − sin α =
32 d2
−h + √
d2 + h2
(f) Show with a graph that for fixed d (say, d = 15 ft, the dis- tance of a free throw), v2opt is an increasing function of h. Use this to explain why taller players have an advantage and why it can help to jump while shooting.
θ α
h
d
FIGURE 37
74. Three towns A, B, and C are to be joined by an underground fiber cable as illustrated in Figure 38(A). Assume that C is located directly below the midpoint of AB. Find the junction point P that minimizes the total amount of cable used. (a) First show that P must lie directly above C. Hint: Use the result of Example 6 to show that if the junction is placed at point Q in Figure 38(B), then we can reduce the cable length by moving Q horizontally over to the point P lying above C.
(b) With x as in Figure 38(A), let f (x) be the total length of cable used. Show that f has a unique critical point c. Compute c and show that 0 ≤ c ≤ L if and only if D ≤ 2
√ 3 L.
(c) Find the minimum of f on [0, L] in two cases: D = 2, L = 4 and D = 8, L = 2.
D
PCable
(A)
L
x x
C
A B
(B)
PQ
C
A B
FIGURE 38
250 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
Further Insights and Challenges 75. Tom and Ali drive along a highway represented by the graph of f in Figure 39. During the trip, Ali views a billboard represented by the segment BC along the y-axis. Let Q be the y-intercept of the tangent line to y = f (x). Show that θ is maximized at the value of x for which the angles ̸ QPB and ̸ QCP are equal. This generalizes Exercise 61 (c) [which corresponds to the case f (x) = 0]. Hints: (a) Show that dθ/dx is equal to
(b − c) · (x 2 + (xf ′(x))2) − (b − (f (x) − xf ′(x)))(c − (f (x) − xf ′(x)))
(x2 + (b − f (x))2)(x2 + (c − f (x))2)
(b) Show that the y-coordinate of Q is f (x) − xf ′(x). (c) Show that the condition dθ/dx = 0 is equivalent to
PQ2 = BQ · CQ
(d) Conclude that △QPB and △QCP are similar triangles.
x x
y
Billboard
Highway
θ
P = (x, f (x))
y = f (x) B = (0, b)
C = (0, c)
Q
FIGURE 39
Seismic Prospecting Exercises 76–78 are concerned with determin- ing the thickness d of a layer of soil that lies on top of a rock formation. Geologists send two sound pulses from point A to point D separated by a distance s. The first pulse travels directly from A to D along the surface of the earth. The second pulse travels down to the rock forma- tion, then along its surface, and then back up to D (path ABCD), as in Figure 40. The pulse travels with velocity v1 in the soil and v2 in the rock.
76. (a) Show that the time required for the first pulse to travel from A to D is t1 = s/v1. (b) Show that the time required for the second pulse is
t2 = 2d v1
sec θ + s − 2d tan θ v2
provided that
tan θ ≤ s 2d
2
(Note: If this inequality is not satisfied, then point B does not lie to the left of C.)
(c) Show that t2 is minimized when sin θ = v1/v2.
77. In this exercise, assume that v2/v1 ≥ √
1 + 4(d/s)2. (a) Show that inequality (2) holds if sin θ = v1/v2.
(b) Show that the minimal time for the second pulse is
t2 = 2d v1
(1 − k2)1/2 + s v2
where k = v1/v2.
(c) Conclude that t2 t1
= 2d(1 − k 2)1/2
s + k.
78. Continue with the assumption of the previous exercise. (a) Find the thickness of the soil layer, assuming that v1 = 0.7v2, t2/t1 = 1.3, and s = 400 m. (b) The times t1 and t2 are measured experimentally. The equation in Exercise 77(c) shows that t2/t1 is a linear function of 1/s. What might you conclude if experiments were formed for several values of s and the points (1/s, t2/t1) did not lie on a straight line?
A
B C
s D
Soil
Rock
θ θ d
FIGURE 40
79. In this exercise, we use Figure 41 to prove Heron’s prin- ciple of Example 6 without calculus. By definition, C is the reflection of B across the line MN (so that BC is perpendicular to MN and BN = CN ). Let P be the intersection of AC and MN . Use geometry to justify the following: (a) △PNB and △PNC are congruent and θ1 = θ2. (b) The paths APB and APC have equal length. (c) Similarly AQB and AQC have equal length. (d) The path APC is shorter than AQC for all Q ̸= P . Conclude that the shortest path AQB occurs for Q = P .
A B
h1 h2
P
h2
Q
C
M N
θ1
θ1
θ2
FIGURE 41
80. A jewelry designer plans to incorporate a component made of gold in the shape of a frustum of a cone of height 1 cm and fixed lower radius r (Figure 42). The upper radius x can take on any value between 0 and r . Note that x = 0 and x = r correspond to a cone and cylinder, respec- tively. As a function of x, the surface area (not including the top and bottom) is S(x) = πs(r + x), where s is the slant height as indicated in the figure. Which value of x yields the least expensive design [the minimum value of S(x) for 0 ≤ x ≤ r]? (a) Show that S(x) = π(r + x)
√ 1 + (r − x)2.
(b) Show that if r < √
2, then S is an increasing function. Conclude that the cone (x = 0) has minimal area in this case.
S E C T I O N 4.8 Newton’s Method 251
(c) Assume that r > √
2. Show that S has two critical points x1 < x2 in (0, r), and that S(x1) is a local maximum, and S(x2) is a local min- imum. (d) Conclude that the minimum occurs at x = 0 or x2. (e) Find the minimum in the cases r = 1.5 and r = 2. (f) Challenge: Let c =
√ (5 + 3
√ 3)/4 ≈ 1.597. Prove that the mini-
mum occurs at x = 0 (cone) if √
2 < r < c, but the minimum occurs at x = x2 if r > c.
s
r
x
1 cm
FIGURE 42 Frustum of height 1 cm.
4.8 Newton’s Method Newton’s Method is a procedure for finding numerical approximations to zeros of func- tions. Numerical approximations are important because it is often impossible to find the
REMINDER A “zero” or “root” of a function f is a solution of the equation f (x) = 0. zeros exactly. For example, the polynomial f (x) = x5 − x − 1 has one real root c (see
Figure 1), but we can prove, using an advanced branch of mathematics called Galois
21
1.1673
−2
1
−1
x
y
FIGURE 1 Graph of y = x5 − x − 1. The value 1.1673 is a good numerical approximation to the root.
Theory, that there is no algebraic formula for this root. Newton’s Method shows that c ≈ 1.1673, and with enough computation, we can compute c to any desired degree of accuracy.
In Newton’s Method, we begin by choosing a number x0, which we believe is close to a root of the equation f (x) = 0. This starting value x0 is called the initial guess. Newton’s Method then produces a sequence x0, x1, x2, . . . of successive approximations that, in favorable situations, converge to a root.
Figure 2 illustrates the procedure. Given an initial guess x0, we draw the tangent line to the graph at (x0, f (x0)). The approximation x1 is defined as the x-coordinate of the point where the tangent line intersects the x-axis. To produce the second approximation x2 (also called the second iterate), we apply this procedure to x1.
First iteration
x0x1
Second iteration
x0x1x2 xx
yy
FIGURE 2 The sequence produced by iteration converges to a root.
Let’s derive a formula for x1. The tangent line at (x0, f (x0)) has equation
y = f (x0) + f ′(x0)(x − x0)
The tangent line crosses the x-axis at x1, where
y = f (x0) + f ′(x0)(x1 − x0) = 0
If f ′(x0) ̸= 0, we can solve for x1 to obtain x1 − x0 = −f (x0)/f ′(x0), or
x1 = x0 − f (x0)
f ′(x0)
The second iterate x2 is obtained by applying this formula to x1 instead of x0:
x2 = x1 − f (x1)
f ′(x1)
and so on. Notice in Figure 2 that x1 is closer to the root than x0 and that x2 is closer still. This is typical: The successive approximations usually converge to the actual root. However, there are cases where Newton’s Method fails (see Figure 4).
252 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
Newton’s Method To approximate a root of f (x) = 0: Step 1. Choose an initial guess x0 (close to the desired root if possible). Step 2. Generate successive approximations x1, x2, . . . , where
xn+1 = xn − f (xn)
f ′(xn) 1
EXAMPLE 1 Approximating √
5 Calculate the first three approximations x1, x2, x3 to
Newton’s Method is an example of an iterative procedure. To “iterate” means to repeat, and in Newton’s Method, we use Eq. (1) repeatedly to produce the sequence of approximations.
a root of f (x) = x2 − 5 using the initial guess x0 = 2. Solution We have f ′(x) = 2x. Therefore,
x1 = x0 − f (x0)
f ′(x0) = x0 −
x20 − 5 2x0
We compute the successive approximations as follows:
x1 = x0 − f (x0)
f ′(x0) = 2 − 2
2 − 5 2 · 2 = 2.25
x2 = x1 − f (x1)
f ′(x1) = 2.25 − 2.25
2 − 5 2 · 2.25 ≈ 2.23611
x3 = x2 − f (x2)
f ′(x2) = 2.23611 − 2.23611
2 − 5 2 · 2.23611 ≈ 2.23606797789
This sequence provides successive approximations to a root of x2 − 5 = 0, namely √
5 = 2.236067977499789696 . . . Observe that x3 is accurate to within an error of less than 10−9. This is impressive accuracy for just three iterations of Newton’s Method.
How Many Iterations Are Required? How many iterations of Newton’s Method are required to approximate a root to within a given accuracy? There is no definitive answer, but in practice, it is usually safe to assume that if xn and xn+1 agree to m decimal places, then the approximation xn is correct to these m places.
EXAMPLE 2 Let c be the smallest positive solution of sin 3x = cos x. (a) Use a computer-generated graph to choose an initial guess x0 for c. (b) Use Newton’s Method to approximate c to within an error of at most 10−6.
Solution
(a) A solution of sin 3x = cos x is a zero of the function f (x) = sin 3x − cos x. Figure 3
π π 2
π 4
1
−1
x
y
FIGURE 3 Graph of f (x) = sin 3x − cos x. shows that the smallest zero is approximately halfway between 0 and π4 . Because π 4 ≈
0.785, a good initial guess is x0 = 0.4. There is no single “correct” initial guess. In Example 2, we chose x0 = 0.4, but another possible choice is x0 = 0, leading to the sequence
x1 ≈ 0.3333333333 x2 ≈ 0.3864547725 x3 ≈ 0.3926082513 x4 ≈ 0.3926990816
You can check, however, that x0 = 1 yields a sequence converging to π4 , which is the second positive solution of sin 3x = cos x.
(b) Since f ′(x) = 3 cos 3x + sin x, Eq. (1) yields the formula
xn+1 = xn − sin 3xn − cos xn
3 cos 3xn + sin xn With x0 = 0.4 as the initial guess, the first four iterates are
x1 ≈ 0.3925647447 x2 ≈ 0.3926990382 x3 ≈ 0.3926990816987196 x4 ≈ 0.3926990816987241
Stopping here, we can be fairly confident that x4 approximates the smallest positive root c to at least 12 places. In fact, c = π8 and x4 is accurate to 16 places.
S E C T I O N 4.8 Newton’s Method 253
Which Root Does Newton’s Method Compute? Sometimes, Newton’s Method computes no root at all. In Figure 4, the iterates diverge
Zero of f
x0 x1 x2 x
y
FIGURE 4 Function has only one zero but the sequence of Newton iterates goes off to infinity.
to infinity. In practice, however, Newton’s Method usually converges quickly, and if a particular choice of x0 does not lead to a root, the best strategy is to try a different initial guess, consulting a graph if possible. If f (x) = 0 has more than one root, different initial guesses x0 may lead to different roots.
EXAMPLE 3 Figure 5 shows that f (x) = x4 − 6x2 + x + 5 has four real roots. (a) Show that with x0 = 0, Newton’s Method converges to the root near −2. (b) Show that with x0 = −1, Newton’s Method converges to the root near −1. Solution We have f ′(x) = 4x3 − 12x + 1 and
321−3
−2 −1 x
y
FIGURE 5 Graph of f (x) = x4 − 6x2 + x + 5.
xn+1 = xn − x4n − 6x2n + xn + 5
4x3n − 12xn + 1 = 3x
4 n − 6x2n − 5
4x3n − 12xn + 1
(a) On the basis of Table 1, we can be confident that when x0 = 0, Newton’s Method converges to a root near −2.3. Notice in Figure 5 that this is not the closest root to x0. (b) Table 2 suggests that with x0 = −1, Newton’s Method converges to the root near −0.9.
TABLE 1
x0 0 x1 −5 x2 −3.9179954 x3 −3.1669480 x4 −2.6871270 x5 −2.4363303 x6 −2.3572979 x7 −2.3495000
TABLE 2
x0 −1 x1 −0.8888888888 x2 −0.8882866140 x3 −0.88828656234358 x4 −0.888286562343575
4.8 SUMMARY
• Newton’s Method: To find a sequence of numerical approximations to a root of f , begin with an initial guess x0. Then construct the sequence x0, x1, x2, . . . using the formula
xn+1 = xn − f (xn)
f ′(xn)
You should choose the initial guess x0 as close as possible to a root, possibly by referring to a graph. In favorable cases, the sequence converges rapidly to a root.
• If xn and xn+1 agree to m decimal places, it is usually safe to assume that xn agrees with a root to m decimal places.
4.8 EXERCISES
Preliminary Questions 1. How many iterations of Newton’s Method are required to compute
a root if f is a linear function?
2. What happens in Newton’s Method if your initial guess happens to be a zero of f ?
3. What happens in Newton’s Method if your initial guess happens to be a local min or max of f ?
4. Is the following a reasonable description of Newton’s Method: “A root of the equation of the tangent line to the graph of f is used as an approximation to a root of f itself”? Explain.
254 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
Exercises In this exercise set, all approximations should be carried out using Newton’s Method.
In Exercises 1–6, apply Newton’s Method to f and initial guess x0 to calculate x1, x2, x3.
1. f (x) = x2 − 6, x0 = 2 2. f (x) = x2 − 3x + 1, x0 = 3 3. f (x) = x3 − 10, x0 = 2 4. f (x) = x3 + x + 1, x0 = −1 5. f (x) = cos x − 4x, x0 = 1 6. f (x) = 1 − x sin x, x0 = 7 7. Use Figure 6 to choose an initial guess x0 to the unique real root
of x3 + 2x + 5 = 0 and compute the first three Newton iterates.
21−2 −1 x
y
FIGURE 6 Graph of y = x3 + 2x + 5.
8. Approximate a solution of sin x = cos 2x in the interval [ 0, π2
] to
three decimal places. Then find the exact solution and compare with your approximation.
9. Approximate both solutions of ex = 5x to three decimal places (Figure 7).
321 x
y
10
20 y = ex
y = 5x
FIGURE 7 Graphs of y = ex and y = 5x.
10. The first positive solution of sin x = 0 is x = π . Use Newton’s Method to calculate π to four decimal places.
In Exercises 11–14, approximate to three decimal places using Newton’s Method and compare with the value from a calculator.
11. √
11 12. 51/3 13. 27/3 14. 3−1/4
15. Approximate the largest positive root of f (x) = x4 − 6x2 + x + 5 to within an error of at most 10−4. Refer to Figure 5.
In Exercises 16–19, approximate the root specified to three dec- imal places using Newton’s Method. Use a plot to choose an initial guess.
16. Largest positive root of f (x) = x3 − 5x + 1 17. Negative root of f (x) = x5 − 20x + 10 18. Positive solution of sin θ = 0.8θ 19. Solution of ln(x + 4) = x
20. Let x1, x2 be the estimates to a root obtained by applying Newton’s Method with x0 = 1 to the function graphed in Figure 8. Estimate the numerical values of x1 and x2, and draw the tangent lines used to obtain them.
31 2−1 x
y
FIGURE 8
21. Find the smallest positive value of x at which y = x and y = tan x intersect. Hint: Draw a plot.
22. In 1535 the mathematician Antonio Fior challenged his rival Nic- colo Tartaglia to solve this problem: A tree stands 12 braccia high; it is broken into two parts at such a point that the height of the part left standing is the cube root of the length of the part cut away. What is the height of the part left standing? Show that this is equivalent to solving x3 + x = 12 and finding the height to three decimal places. Tartaglia, who had discovered the secret of solving the cubic equation, was able to determine the exact answer:
x = (
3 √√
2919 + 54 − 3 √√
2919 − 54 )/
3√9
23. Find (to two decimal places) the coordinates of the point P in Figure 9 where the tangent line to y = cos x passes through the origin.
P
y = cos x
2π
1
x
y
FIGURE 9
Newton’s Method is often used to determine interest rates in financial calculations. In Exercises 24–26, r denotes a yearly interest rate ex- pressed as a decimal (rather than as a percent).
24. If P dollars are deposited every month in an account earning in- terest at the yearly rate r , then the value S of the account after N years is
S = P (
b12N+1 − b b − 1
)
, where b = 1 + r 12
You have decided to deposit P = $100 per month. (a) Determine S after 5 years if r = 0.07 (i.e., 7%). (b) Show that to save $10,000 after 5 years, you must earn interest at a rate r determined by the equation b61 − 101b + 100 = 0. Use New- ton’s Method to solve for b. Then find r . Note that b = 1 is a root, but you want the root satisfying b > 1.
25. If you borrow L dollars for N years at a yearly interest rate r , your monthly payment of P dollars is calculated using the equation
L = P (
1 − b−12N b − 1
)
, where b = 1 + r 12
S E C T I O N 4.8 Newton’s Method 255
(a) Find P if L = $5000, N = 3, and r = 0.08 (8%). (b) You are offered a loan of L = $5000 to be paid back over 3 years with monthly payments of P = $200. Use Newton’s Method to com- pute b and find the implied interest rate r of this loan. Hint: Show that
(L/P )b12N+1 − (1 + L/P )b12N + 1 = 0
26. If you deposit P dollars in a retirement fund every year for N years with the intention of then withdrawing Q dollars per year for M years, you must earn interest at a rate r satisfying
P(bN − 1) = Q(1 − b−M), where b = 1 + r
Assume that $2000 is deposited each year for 30 years and the goal is to withdraw $10,000 per year for 25 years. Use Newton’s Method to compute b and then find r . Note that b = 1 is a root, but you want the root satisfying b > 1.
27. There is no simple formula for the position at time t of a planet P in its orbit (an ellipse) around the sun. Introduce the auxiliary circle and angle θ in Figure 10 (note that P determines θ because it is the central angle of point B on the circle). Let a = OA and e = OS/OA (the eccentricity of the orbit).
(a) Show that sector BSA has area (a2/2)(θ − e sin θ). (b) By Kepler’s Second Law, the area of sector BSA is proportional to the time t elapsed since the planet passed point A, and because the circle has area πa2, BSA has area (πa2)(t/T ), where T is the period of the orbit. Deduce Kepler’s Equation:
2π t T
= θ − e sin θ
(c) The eccentricity of Mercury’s orbit is approximately e = 0.2. Use Newton’s Method to find θ after a quarter of Mercury’s year has elapsed (t = T/4). Convert θ to degrees. Has Mercury covered more than a quarter of its orbit at t = T/4?
O
P
A S
Auxiliary circle
Elliptical orbit
Sun θ
B
FIGURE 10
28. The roots of f (x) = 13x3 − 4x + 1 to three decimal places are −3.583, 0.251, and 3.332 (Figure 11). Determine the root to which Newton’s Method converges for the initial choices x0 = 1.85, 1.7, and 1.55. The answer shows that a small change in x0 can have a significant effect on the outcome of Newton’s Method.
0.251
4
−4
−3.583
3.332 x
y
FIGURE 11 Graph of f (x) = 13x3 − 4x + 1.
29. What happens when you apply Newton’s Method to find a zero of f (x) = x1/3? Note that x = 0 is the only zero.
30. What happens when you apply Newton’s Method to the equation x3 − 20x = 0 with the unlucky initial guess x0 = 2?
Further Insights and Challenges 31. Newton’s Method can be used to compute reciprocals without per- forming division. Let c > 0 and set f (x) = x−1 − c. (a) Show that x − (f (x)/f ′(x)) = 2x − cx2. (b) Calculate the first three iterates of Newton’s Method with c = 10.3 and the two initial guesses x0 = 0.1 and x0 = 0.5. (c) Explain graphically why x0 = 0.5 does not yield a sequence con- verging to 1/10.3.
In Exercises 32 and 33, consider a metal rod of length L fastened at both ends. If you cut the rod and weld on an additional segment of length m, leaving the ends fixed, the rod will bow up into a circular arc of radius R (unknown), as indicated in Figure 12.
32. Let h be the maximum vertical displacement of the rod. (a) Show that L = 2R sin θ and conclude that
h = L(1 − cos θ) 2 sin θ
(b) Show that L + m = 2Rθ and then prove sin θ
θ = L
L + m 2
33. Let L = 3 and m = 1. Apply Newton’s Method to Eq. (2) to esti- mate θ , and use this to estimate h.
R
h
θ
L
FIGURE 12 The bold circular arc has length L + m.
34. Quadratic Convergence to Square Roots Let f (x) = x2 − c and let en = xn −
√ c be the error in xn.
(a) Show that xn+1 = 12 (xn + c/xn) and en+1 = e2n/2xn. (b) Show that if x0 >
√ c, then xn >
√ c for all n. Explain graphically.
(c) Show that if x0 > √
c, then en+1 ≤ e2n/(2 √
c).
In Exercises 35–37, a flexible chain of length L is suspended between two poles of equal height separated by a distance 2M (Figure 13). By Newton’s laws, the chain describes a catenary
y = a cosh (x
a
)
256 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
where a is the number such that
L = 2a sinh (
M
a
)
The sag s is the vertical distance from the highest to the lowest point on the chain.
35. Suppose that L = 120 and M = 50. (a) Use Newton’s Method to find a value of a (to two decimal places) satisfying L = 2a sinh(M/a). (b) Compute the sag s.
36. Assume that M is fixed. (a) Calculate dsda . Note that s = a cosh
(M a
) − a.
(b) Calculate dadL by implicit differentiation using the relation L = 2a sinh
(M a
) .
(c) Use (a) and (b) and the Chain Rule to show that
ds
dL = ds
da
da
dL = cosh(M/a) − (M/a) sinh(M/a) − 1
2 sinh(M/a) − (2M/a) cosh(M/a) 3
37. Suppose that L = 160 and M = 50. (a) Use Newton’s Method to find a value of a (to two decimal places) satisfying L = 2a sinh(M/a). (b) Use Eq. (3) and the Linear Approximation to estimate the increase in sag !s for changes in length !L = 1 and !L = 5. (c) Compute s(161) − s(160) and s(165) − s(160) directly and compare with your estimates in (b).
y = a cosh(x/a)
2 M
s
x
y
FIGURE 13 Chain hanging between two poles.
CHAPTER REVIEW EXERCISES
In Exercises 1–6, estimate using the Linear Approximation or lineariza- tion, and use a calculator to estimate the error.
1. 8.11/3 − 2 2. 1√ 4.1
− 1 2
3. 6251/4 − 6241/4 4. √
101
5. 1
1.02 6. 5
√ 33
In Exercises 7–12, find the linearization at the point indicated.
7. y = √x, a = 25 8. v(t) = 32t − 4t2, a = 2
9. A(r) = 43πr3, a = 3 10. V (h) = 4h(2 − h)(4 − 2h), a = 1
11. P(x) = e−x2/2, a = 1 12. f (x) = ln(x + e), a = e In Exercises 13–18, use the Linear Approximation.
13. The position of an object in linear motion at time t is s(t) = 0.4t2 + (t + 1)−1. Estimate the distance traveled over the time interval [4, 4.2]. 14. A bond that pays $10,000 in 6 years is offered for sale at a price P . The percentage yield Y of the bond is
Y = 100 ((
10,000 P
)1/6 − 1
)
Verify that if P = $7500, then Y = 4.91%. Estimate the drop in yield if the price rises to $7700.
15. When a bus pass from Albuquerque to Los Alamos is priced at p dollars, a bus company takes in a monthly revenue of R(p) = 1.5p − 0.01p2 (in thousands of dollars). (a) Estimate !R if the price rises from $50 to $53. (b) If p = 80, how will revenue be affected by a small increase in price? Explain using the Linear Approximation.
16. A store sells 80 MP4 players per week when the players are priced at P = $75. Estimate the number N sold if P is raised to $80, assuming that dN/dP = −4. Estimate N if the price is lowered to $69.
17. The circumference of a sphere is measured at C = 100 cm. Esti- mate the maximum percentage error in V if the error in C is at most 3 cm.
18. Show that √
a2 + b ≈ a + b2a if b is small. Use this to estimate√ 26 and find the error using a calculator.
19. Use the Intermediate Value Theorem to prove that sin x − cos x = 3x has a solution, and use Rolle’s Theorem to show that this solution is unique.
20. Show that f (x) = 2x3 + 2x + sin x + 1 has precisely one real root.
21. Verify the MVT for f (x) = ln x on [1, 4].
22. Suppose that f (1) = 5 and f ′(x) ≥ 2 for x ≥ 1. Use the MVT to show that f (8) ≥ 19.
23. Use the MVT to prove that if f ′(x) ≤ 2 for x > 0 and f (0) = 4, then f (x) ≤ 2x + 4 for all x ≥ 0.
24. Afunction f has derivative f ′(x) = 1 x4 + 1 . Where on the interval
[1, 4] does f take on its maximum value? In Exercises 25–30, find the critical points and determine whether they are minima, maxima, or neither.
25. f (x) = x3 − 4x2 + 4x 26. s(t) = t4 − 8t2
27. f (x) = x2(x + 2)3 28. f (x) = x2/3(1 − x)
29. g(θ) = sin2 θ + θ 30. h(θ) = 2 cos 2θ + cos 4θ In Exercises 31–38, find the extreme values on the interval.
31. f (x) = x(10 − x), [−1, 3]
32. f (x) = 6x4 − 4x6, [−2, 2]
33. g(θ) = sin2 θ − cos θ , [0, 2π ]
34. R(t) = t t2 + t + 1 , [0, 3]
Chapter Review Exercises 257
35. f (x) = x2/3 − 2x1/3, [−1, 3]
36. f (x) = 4x − tan2 x, [ −π4 , π3
]
37. f (x) = x − 12 ln x, [5, 40]
38. f (x) = ex − 20x − 1, [0, 5]
39. Find the critical points and extreme values of f (x) = |x − 1| + |2x − 6| in [0, 8].
40. Match the description of f with the graph of its derivative f ′ in Figure 1. (a) f is increasing and concave up.
(b) f is decreasing and concave up.
(c) f is increasing and concave down.
y y y
x
x x
(ii) (iii)(i)
FIGURE 1 Graphs of the derivative.
In Exercises 41–46, find the points of inflection.
41. y = x3 − 4x2 + 4x 42. y = x − 2 cos x
43. y = x 2
x2 + 4 44. y = x
(x2 − 4)1/3
45. f (x) = (x2 − x)e−x 46. f (x) = x(ln x)2
In Exercises 47–56, sketch the graph, noting the transition points and asymptotic behavior.
47. y = 12x − 3x2 48. y = 8x2 − x4
49. y = x3 − 2x2 + 3 50. y = 4x − x3/2
51. y = x x3 + 1 52. y =
x
(x2 − 4)2/3
53. y = 1|x + 2| + 1 54. y = √
2 − x3
55. y = √
3 sin x − cos x on [0, 2π ]
56. y = 2x − tan x on [0, 2π ]
57. Draw a curve y = f (x) for which f ′ and f ′′ have signs as indi- cated in Figure 2.
x −2 0 1 3 5
− + − + + + + −− −
FIGURE 2
58. Find the dimensions of a cylindrical can with a bottom but no top of volume 4 m3 that uses the least amount of metal.
59. A rectangular box of height h with a square base of side b has volume V = 4 m3. Two of the side faces are made of material costing $40/m2. The remaining sides cost $20/m2. Which values of b and h minimize the cost of the box?
60. The corn yield on a certain farm is
Y = −0.118x2 + 8.5x + 12.9 (bushels per acre)
where x is the number of corn plants per acre (in thousands). Assume that corn seed costs $1.25 (per thousand seeds) and that corn can be sold for $1.50/bushel. Let P(x) be the profit (revenue minus the cost of seeds) at planting level x. (a) Compute P(x0) for the value x0 that maximizes yield Y . (b) Find the maximum value of P(x). Does maximum yield lead to maximum profit?
61. Let N(t) be the size of a tumor (in units of 106 cells) at time t (in days). According to the Gompertz Model, dN/dt = N(a − b ln N) where a, b are positive constants. Show that the maximum value of N is e
a b and that the tumor increases most rapidly when N = e ab −1.
62. Atruck gets 10 miles per gallon (mpg) of diesel fuel traveling along an interstate highway at 50 mph. This mileage decreases by 0.15 mpg for each mile per hour increase above 50 mph.
(a) If the truck driver is paid $30/h and diesel fuel costs P = $3/gal, which speed v between 50 and 70 mph will minimize the cost of a trip along the highway? Notice that the actual cost depends on the length of the trip, but the optimal speed does not. (b) Plot cost as a function of v (choose the length arbitrarily) and verify your answer to part (a). (c) Do you expect the optimal speed v to increase or decrease if fuel costs go down to P = $2/gal? Plot the graphs of cost as a function of v for P = 2 and P = 3 on the same axis and verify your conclusion.
63. Find the maximum volume of a right-circular cone placed upside- down in a right-circular cone of radius R = 3 and height H = 4 as in Figure 3. A cone of radius r and height h has volume 13πr
2h.
64. Redo Exercise 63 for arbitrary R and H .
R
H
FIGURE 3
65. Show that the maximum area of a parallelogram ADEF that is inscribed in a triangle ABC, as in Figure 4, is equal to one-half the area of △ABC.
D E
B
F CA
FIGURE 4
66. A box of volume 8 m3 with a square top and bottom is constructed out of two types of metal. The metal for the top and bottom costs $50/m2
and the metal for the sides costs $30/m2. Find the dimensions of the box that minimize total cost.
258 C H A P T E R 4 APPLICATIONS OF THE DERIVATIVE
67. Let f be a function whose graph does not pass through the x-axis and let Q = (a, 0). Let P = (x0, f (x0)) be the point on the graph clos- est to Q (Figure 5). Prove that PQ is perpendicular to the tangent line to the graph of x0. Hint: Find the minimum value of the square of the distance from (x, f (x)) to (a, 0).
y
x
y = f (x)
P = (x0, f (x0))
Q = (a, 0)
FIGURE 5
68. Take a circular piece of paper of radius R, remove a sector of angle θ (Figure 6), and fold the remaining piece into a cone-shaped cup. Which angle θ produces the cup of largest volume?
θ
R
FIGURE 6
69. Use Newton’s Method to estimate 3 √
25 to four decimal places.
70. Use Newton’s Method to find a root of f (x) = x2 − x − 1 to four decimal places.
71. Find the local extrema of f (x) = e 2x + 1 ex+1
.
72. Find the points of inflection of f (x) = ln(x2 + 1) and, at each point, determine whether the concavity changes from up to down or from down to up.
In Exercises 73–76, find the local extrema and points of inflection, and sketch the graph. Use L’Hôpital’s Rule to determine the limits as x → 0+ or x → ±∞ if necessary.
73. y = x ln x (x > 0) 74. y = ex−x2
75. y = x(ln x)2 (x > 0) 76. y = tan−1 (
x2
4
)
77. Explain why L’Hôpital’s Rule gives no information about
lim x→∞
2x − sin x 3x + cos 2x . Evaluate the limit by another method.
78. Let f be a differentiable function with inverse g which is also differentiable. Assume that f (0) = 0 and f ′(0) ̸= 0. (a) Use the fact that f (g(x)) = x and the Chain Rule to show that
g′(x) = 1 f ′(g(x))
.
(b) Prove that
lim x→0
f (x)
g(x) = f ′(0)2
In Exercises 79–90, verify that L’Hôpital’s Rule applies and evaluate the limit.
79. lim x→3
4x − 12 x2 − 5x + 6
80. lim x→−2
x3 + 2x2 − x − 2 x4 + 2x3 − 4x − 8
81. lim x→0+
x1/2 ln x 82. lim t→∞
ln(et + 1) t
83. lim θ→0
2 sin θ − sin 2θ sin θ − θ cos θ 84. limx→0
√ 4 + x − 2 8
√ 1 + x
x2
85. lim t→∞
ln(t + 2) log2 t
86. lim x→0
( ex
ex − 1 − 1 x
)
87. lim y→0
sin−1 y − y y3
88. lim x→1
√ 1 − x2
cos−1 x
89. lim x→0
sinh(x2) cosh x − 1 90. limx→0
tanh x − sinh x sin x − x
91. Let f (x) = e−Ax2/2, where A > 0 is a constant. Given any n num- bers a1, a2, . . . , an, set
-(x) = f (x − a1)f (x − a2) · · · f (x − an)
(a) Assume n = 2 and prove that - attains its maximum value at the average x = 12 (a1 + a2). Hint: Calculate -′(x) using logarithmic dif- ferentiation. (b) Show that for any n, - attains its maximum value at x = 1n (a1 + a2 + · · · + an). This fact is related to the role of f (x) (whose graph is a bell-shaped curve) in statistics.
Carbon dating, which relies on the exponential
decay of C14 relative to C12, allows for the
determination of the age of these cave paintings. (© John Mitchell/Alamy)
5 THE INTEGRAL
T he basic problem in integral calculus is finding the area under a curve. You may wonderwhy calculus deals with two seemingly unrelated topics: tangent lines on the one hand and areas on the other. One reason is that both are computed using limits. A deeper connection is revealed by the Fundamental Theorem of Calculus, discussed in Sections 5.4 and 5.5. This theorem expresses the “inverse” relationship between integration and differentiation. It plays a truly fundamental role in nearly all applications of calculus, both theoretical and practical.
5.1 Approximating and Computing Area Why might we be interested in the area under a graph? Consider an object moving in a straight line with constant velocity v (assumed positive). The distance traveled over a time interval [t1, t2] is equal to v!t , where !t = (t2 − t1) is the time elapsed. This is the well-known formula
Distance traveled = v!t︷ ︸︸ ︷
velocity × time elapsed 1
Because v is constant, the graph of velocity is a horizontal line (Figure 1) and v!t is equal to the area of the rectangular region under the graph of velocity over [t1, t2]. So we can write Eq. (1) as
Distance traveled = area under the graph of velocity over [t1, t2] 2
There is, however, an important difference between these two equations: Eq. (1) makes sense only if velocity v is constant, whereas Eq. (2) is correct even if the velocity changes with time (we will prove this in Section 5.6). Thus, the advantage of expressing distance traveled as an area is that it enables us to deal with much more general types of motion.
To see why Eq. (2) might be true in general, let’s consider the case where velocity changes over time but is constant on intervals. In other words, we assume that the object’s velocity changes abruptly from one interval to the next as in Figure 2. The distance traveled over each time interval is equal to the area of the rectangle above that interval, so the total distance traveled is the sum of the areas of the rectangles. In Figure 2,
Distance traveled over [0, 8] s = 10 + 15 + 30 + 10︸ ︷︷ ︸ Sum of areas of rectangles
= 65 m
Our strategy when velocity changes continuously (Figure 3) is to approximate the area under the graph by sums of areas of rectangles and then pass to a limit. This idea leads to the concept of an integral.
t1 t2
v
v (m/s)
Area = v!t
t (s)
!t = t2 − t1 FIGURE 1 The rectangle has area v!t , which is equal to the distance traveled.
1 2 3 4 5 6 7 8
5
10
15
10
15 30
10
v (m/s)
t (s)
FIGURE 2 Distance traveled equals the sum of the areas of the rectangles.
259
260 C H A P T E R 5 THE INTEGRAL
5
10
15
20
5 10 10
30 30 20
1 2 3 4 5 6 7 8
v (m/s)
t (s)
FIGURE 3 Distance traveled is equal to the area under the graph. It is approximated by the sum of the areas of the rectangles.
Approximating Area by Rectangles Our goal is to compute the area under the graph of a function f . In this section, we assume that f is continuous and positive, so that the graph of f lies above the x-axis (Figure 4). The first step is to approximate the area using rectangles.Recall the two-step procedure for finding
the slope of the tangent line (the derivative): First approximate the slope using secant lines and then compute the limit of these approximations. In Integral Calculus, there are also two steps:
• First, approximate the area under the graph using rectangles.
• Then compute the exact area (the integral) as the limit of these approximations.
To begin, choose a whole number N and divide [a, b] into N subintervals of equal width, as in Figure 4(A). The full interval [a, b] has width b − a, so each subinterval has width !x = (b − a)/N . The right endpoints of the subintervals are
x1 = a + !x, x2 = a + 2!x, . . . , xN−1 = a + (N − 1)!x, xN = a + N!x
Note that the last right endpoint is xN = b because a + N!x = a + N((b − a)/N) = b. Next, as in Figure 4(B), construct, above each subinterval, a rectangle whose height is the value of f (x) at the right endpoint of the subinterval.
(A) Divide [a, b] into N subintervals, each of width x.
(B) Construct right-endpoint rectangles.
Height of
is f (x1).
Height of second rectangle
is f (x2).
b… baa …
y = f (x)
x2x1 x2x1
FIGURE 4
The sum of the areas of these rectangles provides an approximation to the area under the graph. The first rectangle has base !x and height f (x1), so its area is f (x1)!x. Simi- larly, the second rectangle has height f (x2) and area f (x2) !x, etc. The sum of the areas of the rectangles is denoted RN and is called the N th right-endpoint approximation:
RN = f (x1)!x + f (x2)!x + · · · + f (xN)!x
Factoring out !x, we obtain the formula
RN = !x ( f (x1) + f (x2) + · · · + f (xN)
)
In words: RN is equal to !x times the sum of the function values at the right endpoints of the subintervals.
To summarize,
a = left endpoint of interval [a, b] b = right endpoint of interval [a, b] N = number of subintervals in [a, b]
!x = b − a N
EXAMPLE 1 Calculate R4 and R6 for f (x) = x2 on the interval [1, 3]. Solution
Step 1. Determine !x and the right endpoints. To calculate R4, divide [1, 3] into four subintervals of width !x = 3−14 = 12 . The
S E C T I O N 5.1 Approximating and Computing Area 261
right endpoints are the numbers xj = a + j!x = 1 + j ( 1
2
) for j = 1, 2, 3, 4. They
are spaced at intervals of 12 beginning at 3 2 , so, as we see in Figure 5(A), the right
endpoints are 32 , 4 2 ,
5 2 ,
6 2 .
Step 2. Calculate !x times the sum of function values. R4 is !x times the sum of the function values at the right endpoints:
R4 = 1 2
( f
( 3 2
) + f
( 4 2
) + f
( 5 2
) + f
( 6 2
))
= 1 2
(( 3 2
)2 +
( 4 2
)2 +
( 5 2
)2 +
( 6 2
)2)
= 43 4
= 10.75
R6 is similar: !x = 3−16 = 13 , and the right endpoints are spaced at intervals of 13 beginning at 43 and ending at 3, as in Figure 5(B). Thus,
R6 = 1 3
( f
( 4 3
) + f
( 5 3
) + f
( 6 3
) + f
( 7 3
) + f
( 8 3
) + f
( 9 3
))
= 1 3
( 16 9
+ 25 9
+ 36 9
+ 49 9
+ 64 9
+ 81 9
) = 271
27 ≈ 10.037
5
10
15
5
10
15
xx
y y
R6R4
(A) The approximation R4
f (x) = x2 f (x) = x2
(B) The approximation R6
1 2 33 2
5 2
1 2 34 3
5 3
7 3
8 3
FIGURE 5
Summation Notation Summation notation is a standard notation for writing sums in compact form. The sum of numbers am, . . . , an (m ≤ n) is denoted
n∑
j=m aj = am + am+1 + · · · + an
The Greek letter ∑
(capital sigma) stands for “sum,” and the notation n∑
j=m tells us to start
the summation at j = m and end it at j = n. For example, 5∑
j=1 j2 = 12 + 22 + 32 + 42 + 52 = 55
In this summation, the j th term is aj = j2. We refer to j2 as the general term. The letter j is called the summation index. It is also referred to as a dummy variable because any other letter can be used instead. For example,
6∑
k=4
( k2 − 2k
) =
k=4︷ ︸︸ ︷( 42 − 2(4)
) +
k=5︷ ︸︸ ︷( 52 − 2(5)
) +
k=6︷ ︸︸ ︷( 62 − 2(6)
) = 47
9∑
m=7 1 = 1 + 1 + 1 = 3 (because a7 = a8 = a9 = 1)
262 C H A P T E R 5 THE INTEGRAL
The usual commutative, associative, and distributive laws of addition give us the following rules for manipulating summations.
Linearity of Summations
• n∑
j=m (aj + bj ) =
n∑
j=m aj +
n∑
j=m bj
• n∑
j=m Caj = C
n∑
j=m aj (C any constant)
• n∑
j=1 C = nC (C any constant and n ≥ 1)
For example,
5∑
j=3 (j2 + j) = (32 + 3) + (42 + 4) + (52 + 5)
is equal to
5∑
j=3 j2 +
5∑
j=3 j =
( 32 + 42 + 52
) +
( 3 + 4 + 5
)
Linearity can be used to write a single summation as a sum of several summations. For example,
100∑
k=0 (7k2 − 4k + 9) =
100∑
k=0 7k2 +
100∑
k=0 (−4k) +
100∑
k=0 9
= 7 100∑
k=0 k2 − 4
100∑
k=0 k + 9
100∑
k=0 1
It is convenient to use summation notation when working with area approximations. For example, RN is a sum with general term f (xj ):
RN = !x [ f (x1) + f (x2) + · · · + f (xN)
]
The summation extends from j = 1 to j = N , so we can write RN concisely as
RN = !x N∑
j=1 f (xj )
We shall make use of two other rectangular approximations to area: the left-endpoint and the midpoint approximations. Divide [a, b] into N subintervals as before. In the left- endpoint approximation LN , the heights of the rectangles are the values of f (x) at the left endpoints [Figure 6(A)]. These left endpoints areREMINDER
!x = b − a N
x0 = a, x1 = a + !x, x2 = a + 2!x, . . . , xN−1 = a + (N − 1)!x
and the sum of the areas of the left-endpoint rectangles is
LN = !x ( f (x0) + f (x1) + f (x2) + · · · + f (xN−1)
)
Note that both RN and LN have general term f (xj ), but the sum for LN runs from j = 0 to j = N − 1 rather than from j = 1 to j = N :
S E C T I O N 5.1 Approximating and Computing Area 263
LN = !x N−1∑
j=0 f (xj )
In the midpoint approximation MN , the heights of the rectangles are the values of f (x) at the midpoints of the subintervals rather than at the endpoints. As we see in Figure 6(B), the midpoints are
x0 + x1 2
, x1 + x2
2 , . . . ,
xN−1 + xN 2
The sum of the areas of the midpoint rectangles is
MN = !x (
f
( x0 + x1
2
) + f
( x1 + x2
2
) + · · · + f
( xN−1 + xN
2
))
In summation notation,
MN = !x N−1∑
j=0 f
( xj + xj+1
2
)
(B) Midpoint rectangles
a b…
f (a) f (a + !x)
a b a + !x
a + 2!x …
(A) Left-endpoint rectangles
f (a + !x)12
a + !x1 2
a + !x3 2
f (a + !x)32
FIGURE 6
EXAMPLE 2 Calculate R6, L6, and M6 for f (x) = x−1 on [2, 4]. Solution In this case, !x = (b − a)/N = (4 − 2)/6 = 13 . The general term in the sum- mation for R6 and L6 is
f (xj ) = f (a + j!x) = f (
2 + j (
1 3
)) = 1
2 + 13j = 3
6 + j
Therefore (Figure 7),
2
Left-endpoint rectangleRight-endpoint
rectangle
3 4 x
y
FIGURE 7 L6 and R6 for f (x) = x−1 on [2, 4].
R6 = 1 3
6∑
j=1 f (xj ) =
1 3
6∑
j=1
3 6 + j
= 1 3
( 3 7
+ 3 8
+ 3 9
+ 3 10
+ 3 11
+ 3 12
) ≈ 0.653
In L6, the sum begins at j = 0 and ends at j = 5:
L6 = 1 3
5∑
j=0
3 6 + j =
1 3
( 3 6
+ 3 7
+ 3 8
+ 3 9
+ 3 10
+ 3 11
) ≈ 0.737
The general term in M6 is
f
( xj + xj+1
2
)
264 C H A P T E R 5 THE INTEGRAL
In this case, the midpoints are 136 , 15 6 ,
17 6 ,
19 6 ,
21 6 and
23 6 . Summing up from j = 0 to 5,
2 3 4 x
y
13 6
15 6
17 6
19 6
21 6
23 6
FIGURE 8 M6 for f (x) = x−1 on [2, 4].
we obtain (Figure 8)
M6 = 1 3
( f
( 13 6
) + f
( 15 6
) + f
( 17 6
) + f
( 19 6
) + f
( 21 6
) + f
( 23 6
))
= 1 3
( 6
13 + 6
15 + 6
17 + 6
19 + 6
21 + 6
23
) ≈ 0.692
GRAPHICAL INSIGHT Monotonic Functions Observe in Figure 7 that the left-endpoint rect- angles for f (x) = x−1 extend above the graph and the right-endpoint rectangles lie below it. The exact area A must lie between R6 and L6, and so, according to the pre- vious example, 0.65 ≤ A ≤ 0.74. More generally, when f is monotonic (increasing or decreasing), the exact area lies between RN and LN (Figure 9):
• f increasing ⇒ LN ≤ area under graph ≤ RN • f decreasing ⇒ RN ≤ area under graph ≤ LN
Notice that M6 lies between R6 and L6. This is always the case for a monotonic function. (See Problem 93.)
Right-endpoint rectangle
Left-endpoint rectangle
x
y
FIGURE 9 When f is increasing, the left-endpoint rectangles lie below the graph and right-endpoint rectangles lie above it.
Computing Area as the Limit of Approximations Figure 10 shows several right-endpoint approximations. Notice that the error in computing the area, corresponding to the yellow region above the graph, gets smaller as the number of rectangles increases. In fact, it appears that we can make the error as small as we please by taking the number N of rectangles large enough. If so, it makes sense to consider the limit as N → ∞, as this should give us the exact area under the curve. The next theorem guarantees that the limit exists (see Theorem 8 in Appendix D for a proof and Exercise 89 for a special case).
N = 2 a b a b a b
N = 4 N = 8
xxx FIGURE 10 The error decreases as we use more rectangles.
THEOREM 1 If f is continuous on [a, b], then the endpoint and midpoint approxi- mations approach one and the same limit as N → ∞. In other words, there is a value L such that
lim N→∞
RN = lim N→∞
LN = lim N→∞
MN = L
If f (x) ≥ 0 on [a, b], we define the area under the graph over [a, b] to be L.
In Theorem 1, it is not assumed that f (x) ≥ 0. If f (x) takes on negative values, the limit L no longer represents area under the graph, but we can interpret it as a “signed area,” discussed in the next section.
CONCEPTUAL INSIGHT In calculus, limits are used to define basic quantities that other- wise would not have a precise meaning. Theorem 1 allows us to define area as a limit L in much the same way that we define the slope of a tangent line as the limit of slopes of secant lines.
The next three examples illustrate Theorem 1 using formulas for power sums. The kth power sum is defined as the sum of the kth powers of the first N integers. We shall use the power sum formulas for k = 1, 2, 3.
S E C T I O N 5.1 Approximating and Computing Area 265
Power Sums N∑
j=1 j = 1 + 2 + · · · + N = N(N + 1)
2 = N
2
2 + N
2 3
N∑
j=1 j2 = 12 + 22 + · · · + N2 = N(N + 1)(2N + 1)
6 = N
3
3 + N
2
2 + N
6 4
N∑
j=1 j3 = 13 + 23 + · · · + N3 = N
2(N + 1)2 4
= N 4
4 + N
3
2 + N
2
4 5
For example, by Eq. (4),
A method for proving power sum formulas is developed in Exercises 44–47 of Section 1.3. Formulas (3)–(5) can also be verified using the method of induction.
6∑
j=1 j2 = 12 + 22 + 32 + 42 + 52 + 62 = 6
3
3 + 6
2
2 + 6
6︸ ︷︷ ︸ N3 3 + N
2 2 + N6 for N=6
= 91
As a first illustration, we compute the area of a right triangle “the hard way.”
EXAMPLE 3 Find the area A under the graph of f (x) = x over [0, 4] in three ways: (a) Using geometry (b) lim
N→∞ RN (c) lim
N→∞ LN
Solution The region under the graph is a right triangle with base b = 4 and height h = 4 (Figure 11).
(a) By geometry, A = 12bh = ( 1
2
) (4)(4) = 8.
(b) We compute this area again as a limit. Since !x = (b − a)/N = 4/N and f (x) = x,REMINDER
RN = !x N∑
j=1 f (xj )
LN = !x N−1∑
j=0 f (xj )
!x = b − a N
xj = a + j!x
f (xj ) = f (a + j!x) = f (
0 + j (
4 N
)) = 4j
N
RN = !x N∑
j=1 f (xj ) =
4 N
N∑
j=1
4j N
= 16 N2
N∑
j=1 j
In the last equality, we factored out 4/N from the sum. This is valid because 4/N is a constant that does not depend on j . Now use formula (3):
RN = 16 N2
N∑
j=1 j = 16
N2
( N(N + 1)
2
)
︸ ︷︷ ︸ Formula for power sum
= 8 N2
( N2 + N
) = 8 + 8
N
40
4
y = x
40
4
y = x
40
4
y = x
x x x
yyy
R8
40
4
y = x
x
y
R4 R16
FIGURE 11 The right-endpoint approximations approach the area of the triangle.
266 C H A P T E R 5 THE INTEGRAL
The second term 8/N tends to zero as N approaches ∞, so
A = lim N→∞
RN = lim N→∞
( 8 + 8
N
) = 8
As expected, this limit yields the same value as the formula 12bh. (c) The left-endpoint approximation is similar, but the sum begins at j = 0 and ends at j = N − 1:In Eq. (6), we apply the formula
N∑
j=1 j = N(N + 1)
2
with N − 1 in place of N : N−1∑
j=1 j = (N − 1)N
2
LN = 16 N2
N−1∑
j=0 j = 16
N2
N−1∑
j=1 j = 16
N2
( (N − 1)N
2
) = 8 − 8
N 6
Note in the second step that we replaced the sum beginning at j = 0 with a sum beginning at j = 1. This is valid because the term for j = 0 is zero and may be dropped. Again, we find that A = lim
N→∞ LN = lim
N→∞ (8 − 8/N) = 8.
In the next example, we compute the area under a curved graph. Unlike the previous example, it is not possible to compute this area directly using geometry.
EXAMPLE 4 Let A be the area under the graph of f (x) = 2x2 − x + 3 over [2, 4] (Figure 12). Compute A as the limit lim
N→∞ RN .
43210
30
20
10
x
y
FIGURE 12 Area under the graph of f (x) = 2x2 − x + 3 over [2, 4].
Solution
Step 1. Express RN in terms of power sums. In this case, !x = (4 − 2)/N = 2/N and
RN = !x N∑
j=1 f (xj ) = !x
N∑
j=1 f (a + j!x) = 2
N
N∑
j=1 f
( 2 + 2j
N
)
Let’s use algebra to simplify the general term. Since f (x) = 2x2 − x + 3,
f
( 2 + 2j
N
) = 2
( 2 + 2j
N
)2 −
( 2 + 2j
N
) + 3
= 2 (
4 + 8j N
+ 4j 2
N2
) −
( 2 + 2j
N
) + 3 = 8
N2 j2 + 14
N j + 9
Now we can express RN in terms of power sums:
RN = 2 N
N∑
j=1
( 8
N2 j2 + 14
N j + 9
) = 2
N
N∑
j=1
8 N2
j2 + 2 N
N∑
j=1
14 N
j + 2 N
N∑
j=1 9
= 16 N3
N∑
j=1 j2 + 28
N2
N∑
j=1 j + 18
N
N∑
j=1 1 7
Step 2. Use the formulas for the power sums. Using formulas (3) and (4) for the power sums in Eq. (7), we obtain
RN = 16 N3
( N3
3 + N
2
2 + N
6
) + 28
N2
( N2
2 + N
2
) + 18
N (N)
= (
16 3
+ 8 N
+ 8 3N2
) +
( 14 + 14
N
) + 18
= 112 3
+ 22 N
+ 8 3N2
S E C T I O N 5.1 Approximating and Computing Area 267
Step 3. Calculate the limit.
A = lim N→∞
RN = lim N→∞
( 112 3
+ 22 N
+ 8 3N2
) = 112
3
EXAMPLE 5 Prove that for all b > 0, the area A under the graph of f (x) = x2 over
x
y
y = x2
b
Area = b 3
3
FIGURE 13
[0, b] is equal to b3/3, as indicated in Figure 13.
REMINDER By Eq. (4),
N∑
j=1 j 2 = N
3
3 + N
2
2 + N
6
Solution We’ll compute with RN . We have !x = (b − 0)/N = b/N and
RN = !x N∑
j=1 f (xj ) = !x
N∑
j=1 f (0 + j!x) = b
N
N∑
j=1
( 0 + j b
N
)2 = b
N
N∑
j=1
( j2
b2
N2
)
= b 3
N3
N∑
j=1 j2
By the formula for the power sum recalled in the margin,
RN = b3
N3
( N3
3 + N
2
2 + N
6
) = b
3
3 + b
3
2N + b
3
6N2
A = lim N→∞
RN = lim N→∞
( b3
3 + b
3
2N + b
3
6N2
) = b
3
3
The area under the graph of any polynomial can be calculated using power sum
1 f (x) = sin x
x
y
π 4
3π 4
FIGURE 14 The area of this region is more difficult to compute as a limit of endpoint approximations.
formulas as in the examples above. For other functions, the limit defining the area may be difficult or impossible to evaluate directly. Consider f (x) = sin x on the interval
[ π 4 ,
3π 4
] .
In this case (Figure 14), !x = (3π/4 − π/4)/N = π/(2N) and the area A is
A = lim N→∞
RN = lim N→∞
!x
N∑
j=1 f (a + j!x) = lim
N→∞ π
2N
N∑
j=1 sin
( π
4 + πj
2N
)
With some work, we can show that the limit is equal to A = √
2. However, in Section 5.4, we will see that it is much easier to apply the Fundamental Theorem of Calculus, which reduces area computations to the problem of finding antiderivatives.
HISTORICAL
PERSPECTIVE
(© B
et tm
an n/
C or
bi s)
Jacob Bernoulli (1654–1705)
We used the formu- las for the kth power
sums for k = 1, 2, 3. Do similar formulas exist for all powers k? This problem was studied in the seventeenth century and eventually solved around 1690 by the great Swiss mathematician Jacob Bernoulli. Of this discovery, he wrote
With the help of [these formulas] it took me less than half of a quarter of an hour to find that the 10th powers of the first 1000 numbers being added together will yield the sum
91409924241424243424241924242500
Bernoulli’s formula has the general form
n∑
j=1 jk = 1
k + 1n k+1 + 1
2 nk + k
12 nk−1 + · · ·
The dots indicate terms involving smaller pow- ers of n whose coefficients are expressed in terms of the so-called Bernoulli numbers. For example,
n∑
j=1 j4 = 1
5 n5 + 1
2 n4 + 1
3 n3 − 1
30 n
These formulas are available on most computer algebra systems.
268 C H A P T E R 5 THE INTEGRAL
5.1 SUMMARY
Power Sums
N∑
j=1 j = N(N + 1)
2 = N
2
2 + N
2
N∑
j=1 j2 = N(N + 1)(2N + 1)
6 = N
3
3 + N
2
2 + N
6
N∑
j=1 j3 = N
2(N + 1)2 4
= N 4
4 + N
3
2 + N
2
4
• Approximations to the area under the graph of f over the interval [a, b]( !x = b − a
N , xj = a + j!x
) :
RN = !x N∑
j=1 f (xj ) = !x
( f (x1) + f (x2) + · · · + f (xN)
)
LN = !x N−1∑
j=0 f (xj ) = !x
( f (x0) + f (x1) + · · · + f (xN−1)
)
MN = !x N−1∑
j=0 f
( xj + xj+1
2
)
= !x (
f
( x0 + x1
2
) + · · · + f
( xN−1 + xN
2
))
• If f is continuous on [a, b], then the endpoint and midpoint approximations approach one and the same limit L:
lim N→∞
RN = lim N→∞
LN = lim N→∞
MN = L
• If f (x) ≥ 0 on [a, b], we take L as the definition of the area under the graph of y = f (x) over [a, b].
5.1 EXERCISES
Preliminary Questions 1. What are the right and left endpoints if [2, 5] is divided into six
subintervals?
2. The interval [1, 5] is divided into eight subintervals. (a) What is the left endpoint of the last subinterval? (b) What are the right endpoints of the first two subintervals?
3. Which of the following pairs of sums are not equal?
(a) 4∑
i=1 i,
4∑
ℓ=1 ℓ (b)
4∑
j=1 j2,
5∑
k=2 k2
(c) 4∑
j=1 j,
5∑
i=2 (i − 1) (d)
4∑
i=1 i(i + 1),
5∑
j=2 (j − 1)j
4. Explain: 100∑
j=1 j =
100∑
j=0 j but
100∑
j=1 1 is not equal to
100∑
j=0 1.
5. Explain why L100 ≥ R100 for f (x) = x−2 on [3, 7].
Exercises 1. Figure 15 shows the velocity of an object over a 3-minute (min)
interval. Determine the distance traveled over the intervals [0, 3] and [1, 2.5] (remember to convert from kilometers per hour to kilometers per minute).
3 min
km/h
21
20
30
10
FIGURE 15
2. An ostrich (Figure 16) runs with velocity 20 km/h for 2 minutes (min), 12 km/h for 3 min, and 40 km/h for another minute. Compute the total distance traveled and indicate with a graph how this quantity can be interpreted as an area.
FIGURE 16 Ostriches can reach speeds as high as 70 km/h. (© Daryl Balfour/Gallo Images/Alamy)
S E C T I O N 5.1 Approximating and Computing Area 269
3. A rainstorm hit Portland, Maine, in October 1996, resulting in record rainfall. The rainfall rate R(t) on October 21 is recorded, in centimeters per hour, in the following table, where t is the number of hours since midnight. Compute the total rainfall during this 24-hour period and indicate on a graph how this quantity can be interpreted as an area.
t (h) 0–2 2–4 4–9 9–12 12–20 20–24
R(t) (cm) 0.5 0.3 1.0 2.5 1.5 0.6
4. The velocity of an object is v(t) = 12t m/s. Use Eq. (2) and ge- ometry to find the distance traveled over the time intervals [0, 2] and [2, 5].
5. Compute R5 and L5 over [0, 1] using the following values:
x 0 0.2 0.4 0.6 0.8 1
f (x) 50 48 46 44 42 40
6. Compute R6, L6, and M3 to estimate the distance traveled over [0, 3] if the velocity at half-second intervals is as follows:
t (s) 0 0.5 1 1.5 2 2.5 3
v (m/s) 0 12 18 25 20 14 20
7. Let f (x) = 2x + 3. (a) Compute R6 and L6 over [0, 3]. (b) Use geometry to find the exact area A and compute the errors |A − R6| and |A − L6| in the approximations.
8. Repeat Exercise 7 for f (x) = 20 − 3x over [2, 4].
9. Calculate R3 and L3 for f (x) = x2 − x + 4 over [1, 4]. Then sketch the graph of f and the rectangles that make up each approx- imation. Is the area under the graph larger or smaller than R3? Is it larger or smaller than L3?
10. Let f (x) = √
x2 + 1 and !x = 13 . Sketch the graph of f and draw the right-endpoint rectangles whose area is represented by the sum
6∑
i=1 f (1 + i!x)!x.
11. EstimateR3,M3, andL6 over [0, 1.5] for the function in Figure 17.
1
2
3
4
5
x
y
0.5 1 1.5 FIGURE 17
12. Calculate the area of the shaded rectangles in Figure 18. Which approximation do these rectangles represent?
1 32−1−3 −2 x
y
y = 1 + x2 4 − x
FIGURE 18
13. Let f (x) = x2. (a) Sketch the function over the interval [0, 2] and the rectangles cor- responding to L4. Calculate the area contained within them. (b) Sketch the function over the interval [0, 2] again but with the rect- angles corresponding to R4. Calculate the area contained within them. (c) Make a conclusion about the area under the curve f (x) = x2 over the interval [0, 2].
14. Let f (x) = √x. (a) Sketch the function over the interval [0, 4] and the rectangles cor- responding to L4. Calculate the area contained within them. (b) Sketch the function over the interval [0, 4] again but with the rect- angles corresponding to R4. Calculate the area contained within them. (c) Make a conclusion about the area under the curve f (x) = √x over the interval [0, 4]. In Exercises 15–22, calculate the approximation for the given function and interval.
15. R3, f (x) = 7 − x, [3, 5]
16. L6, f (x) = √
6x + 2, [1, 3]
17. M6, f (x) = 4x + 3, [5, 8]
18. R5, f (x) = x2 + x, [−1, 1]
19. M5, f (x) = ln x, [1, 3]
20. M4, f (x) = √
x, [3, 5]
21. L4, f (x) = cos2 x, [π
6 , π 2 ]
22. L6, f (x) = x2 + 3|x|, [−2, 1] In Exercises 23–28, write the sum in summation notation.
23. 47 + 57 + 67 + 77 + 87
24. (22 + 2) + (32 + 3) + (42 + 4) + (52 + 5) 25. (22 + 2) + (23 + 2) + (24 + 2) + (25 + 2)
26. √
1 + 13 + √
2 + 23 + · · · + √
n + n3
27. 1
2 · 3 + 2
3 · 4 + · · · + n
(n + 1)(n + 2) 28. eπ + eπ/2 + eπ/3 + · · · + eπ/n
29. Calculate the sums:
(a) 5∑
i=1 9 (b)
5∑
i=0 4 (c)
4∑
k=2 k3
30. Calculate the sums:
(a) 4∑
j=3 sin
( j
π
2
) (b)
5∑
k=3
1 k − 1 (c)
2∑
j=0 3j−1
270 C H A P T E R 5 THE INTEGRAL
31. Let b1 = 4, b2 = 1, b3 = 2, and b4 = −4. Calculate:
(a) 4∑
i=2 bi (b)
2∑
j=1 (2bj − bj ) (c)
3∑
k=1 kbk
32. Assume that a1 = −5, 10∑
i=1 ai = 20, and
10∑
i=1 bi = 7. Calculate:
(a) 10∑
i=1 (4ai + 3) (b)
10∑
i=2 ai (c)
10∑
i=1 (2ai − 3bi)
33. Calculate 200∑
j=101 j . Hint: Write as a difference of two sums and use
formula (3).
34. Calculate 30∑
j=1 (2j + 1)2. Hint: Expand and use formulas (3)–(4).
In Exercises 35–42, use linearity and formulas (3)–(5) to rewrite and evaluate the sums.
35. 20∑
j=1 8j3 36.
30∑
k=1 (4k − 3)
37. 150∑
n=51 n2 38.
200∑
k=101 k3
39. 50∑
j=0 j (j − 1) 40.
30∑
j=2
(
6j + 4j 2
3
)
41. 30∑
m=1 (4 − m)3 42.
20∑
m=1
( 5 + 3m
2
)2
In Exercises 43–46, use formulas (3)–(5) to evaluate the limit.
43. lim N→∞
N∑
i=1
i
N2 44. lim
N→∞
N∑
j=1
j3
N4
45. lim N→∞
N∑
i=1
i2 − i + 1 N3
46. lim N→∞
N∑
i=1
( i3
N4 − 20
N
)
In Exercises 47–52, calculate the limit for the given function and inter- val. Verify your answer by using geometry.
47. lim N→∞
RN , f (x) = 9x, [0, 2]
48. lim N→∞
RN , f (x) = 3x + 6, [1, 4]
49. lim N→∞
LN , f (x) = 12x + 2, [0, 4]
50. lim N→∞
LN , f (x) = 4x − 2, [1, 3]
51. lim N→∞
MN , f (x) = x, [0, 2]
52. lim N→∞
MN , f (x) = 12 − 4x, [2, 6]
53. Show, for f (x) = 3x2 + 4x over [0, 2], that
RN = 2 N
N∑
j=1
( 12j2
N2 + 8j
N
)
Then evaluate lim N→∞
RN .
54. Show, for f (x) = 3x3 − x2 over [1, 5], that
RN = 4 N
N∑
j=1
( 192j3
N3 + 128j
2
N2 + 28j
N + 2
)
Then evaluate lim N→∞
RN .
In Exercises 55–62, find a formula for RN and compute the area under the graph as a limit.
55. f (x) = x2, [0, 1] 56. f (x) = x2, [−1, 5]
57. f (x) = 6x2 − 4, [2, 5] 58. f (x) = x2 + 7x, [6, 11]
59. f (x) = x3 − x, [0, 2]
60. f (x) = 2x3 + x2, [−2, 2]
61. f (x) = 2x + 1, [a, b] (a, b constants with a < b)
62. f (x) = x2, [a, b] (a, b constants with a < b) In Exercises 63–66, describe the area represented by the limits.
63. lim N→∞
1 N
N∑
j=1
( j
N
)4 64. lim
N→∞ 3 N
N∑
j=1
( 2 + 3j
N
)4
65. lim N→∞
5 N
N−1∑
j=0 e−2+5j/N
66. lim N→∞
π
2N
N∑
j=1 sin
( π
3 − π
4N + jπ
2N
)
In Exercises 67–72, express the area under the graph as a limit using the approximation indicated (in summation notation), but do not evaluate.
67. RN , f (x) = sin x over [0, π ]
68. RN , f (x) = x−1 over [1, 7]
69. LN , f (x) = √
2x + 1 over [7, 11]
70. LN , f (x) = cos x over [π
8 , π 4 ]
71. MN , f (x) = tan x over [ 1
2 , 1 ]
72. MN , f (x) = x−2 over [3, 5]
73. Evaluate lim N→∞
1 N
N∑
j=1
√
1 − (
j
N
)2 by interpreting it as the area
of part of a familiar geometric figure.
In Exercises 74–76, let f (x) = x2 and let RN , LN , and MN be the approximations for the interval [0, 1].
74. Show that RN = 1 3
+ 1 2N
+ 1 6N2
. Interpret the quantity
1 2N
+ 1 6N2
as the area of a region.
75. Show that
LN = 1 3
− 1 2N
+ 1 6N2
, MN = 1 3
− 1 12N2
Then rank the three approximations RN , LN , and MN in order of in- creasing accuracy (use Exercise 74).
S E C T I O N 5.1 Approximating and Computing Area 271
76. For each of RN , LN , and MN , find the smallest integer N for which the error is less than 0.001.
In Exercises 77–82, use the Graphical Insight on page 264 to obtain bounds on the area.
77. Let A be the area under f (x) = √x over [0, 1]. Prove that 0.51 ≤ A ≤ 0.77 by computing R4 and L4. Explain your reasoning. 78. Use R5 and L5 to show that the area A under y = x−2 over [10, 13] satisfies 0.0218 ≤ A ≤ 0.0244. 79. Use R4 and L4 to show that the area A under the graph of y = sin x over
[ 0, π2
] satisfies 0.79 ≤ A ≤ 1.19.
80. Show that the area A under f (x) = x−1 over [1, 8] satisfies 1 2 + 13 + 14 + 15 + 16 + 17 + 18 ≤ A ≤ 1 + 12 + 13 + 14 + 15 + 16 + 17
81. Show that the area A under y = x1/4 over [0, 1] satisfies LN ≤ A ≤ RN for all N . Use a computer algebra system to calculate LN and RN for N = 100 and 200, and determine A to two decimal places.
82. Show that the area A under y = 4/(x2 + 1) over [0, 1] satisfies RN ≤ A ≤ LN for all N . Determine A to at least three deci- mal places using a computer algebra system. Can you guess the exact value of A?
83. In this exercise, we evaluate the area A under the graph of y = ex over [0, 1] [Figure 19(A)] using the formula for a geometric sum (valid for r ̸= 1):
1 + r + r2 + · · · + rN−1 = N−1∑
j=0 rj = r
N − 1 r − 1 8
(a) Show that LN = 1 N
N−1∑
j=0 ej/N .
(b) Apply Eq. (8) with r = e1/N to prove LN = e − 1
N(e1/N − 1) .
(c) Compute A = lim N→∞
LN using L’Hôpital’s Rule.
84. Use the result of Exercise 83 to show that the area B under the graph of f (x) = ln x over [1, e] is equal to 1. Hint: Relate B in Figure 19(B) to the area A computed in Exercise 83.
y = ex
y = ln x
y
A B
3
y
2
e
1
1 x x
1 e
(A) (B)
1
FIGURE 19
Further Insights and Challenges 85. Although the accuracy of RN generally improves as N increases, this need not be true for small values of N . Draw the graph of a positive continuous function f on an interval such that R1 is closer than R2 to the exact area under the graph. Can such a function be monotonic?
86. Draw the graph of a positive continuous function on an interval such that R2 and L2 are both smaller than the exact area under the graph. Can such a function be monotonic?
87. Explain graphically: The endpoint approximations are less accurate when f ′(x) is large.
88. Prove that for any function f on [a, b],
RN − LN = b − a
N (f (b) − f (a)) 9
89. In this exercise, we prove that lim N→∞
RN and lim N→∞
LN
exist and are equal if f is increasing [the case off decreasing is similar]. We use the concept of a least upper bound discussed in Appendix B.
(a) Explain with a graph why LN ≤ RM for all N, M ≥ 1. (b) By (a), the sequence {LN } is bounded, so it has a least upper bound L. By definition, L is the smallest number such that LN ≤ L for all N . Show that L ≤ RM for all M . (c) According to (b), LN ≤ L ≤ RN for all N . Use Eq. (9) to show that lim
N→∞ LN = L and lim
N→∞ RN = L.
90. Use Eq. (9) to show that if f is positive and monotonic, then the area A under its graph over [a, b] satisfies
|RN − A| ≤ b − a
N |f (b) − f (a)| 10
In Exercises 91–92, use Eq. (10) to find a value of N such that |RN − A| < 10−4 for the given function and interval.
91. f (x) = √x, [1, 4] 92. f (x) = √
9 − x2, [0, 3]
93. Prove that if f is positive and monotonic, then MN lies between RN and LN and is closer to the actual area under the graph than both RN and LN . Hint: In the case that f is increasing, Figure 20 shows that the part of the error in RN due to the ith rectangle is the sum of the areas A + B + D, and for MN it is |B − E|. On the other hand, A ≥ E.
x xi−1 xiMidpoint
A
F
D E
B C
FIGURE 20
272 C H A P T E R 5 THE INTEGRAL
5.2 The Definite Integral In the previous section, we saw that if f is continuous on an interval [a, b], then the endpoint and midpoint approximations approach a common limit L as N → ∞:
L = lim N→∞
RN = lim N→∞
LN = lim N→∞
MN 1
When f (x) ≥ 0, L is the area under the graph of f. In a moment, we will state formally that L is the definite integral of f over [a, b]. Before doing so, we introduce more general approximations called Riemann sums.
Recall that RN , LN , and MN use rectangles of equal width !x, whose heights are the values of f (x) at the endpoints or midpoints of the subintervals. In Riemann sum approximations, we relax these requirements: The rectangles need not have equal width, and the height may be any value of f (x) within the subinterval.
To specify a Riemann sum, we choose a partition and a set of sample points:
• Partition P of size N : a choice of points that divides [a, b] into N subintervals.
P : a = x0 < x1 < x2 < · · · < xN = b • Sample points C = {c1, . . . , cN }: ci belongs to the subinterval [xi−1, xi] for all
i = 1, . . . , N. x0 = a x1
c1 c2
xN = bxi
ci cN
xi−1
!xi
FIGURE 1 Partition of size N and set of sample points.
See Figures 1 and 2(A). The length of the ith subinterval [xi−1, xi] is
!xi = xi − xi−1
The norm of P , denoted ∥P ∥, is the maximum of the lengths !xi . Given P and C, we construct the rectangle of height f (ci) and base !xi over each
subinterval [xi−1, xi], as in Figure 2(B). This rectangle has area f (ci)!xi if f (ci) ≥ 0 . If f (ci) < 0, the rectangle extends below the x-axis, and f (ci)!xi is the negative of its area. The Riemann sum is the sumKeep in mind that RN , LN , and MN are
particular examples of Riemann sums in which !xi = (b − a)/N for all i, and the sample points ci are either endpoints or midpoints.
R(f, P, C) = N∑
i=1 f (ci)!xi = f (c1)!x1 + f (c2)!x2 + · · · + f (cN)!xN 2
(B) Construct rectangle above each subinterval of height f (ci).
(C) Rectangles corresponding to a Riemann sum with ||P|| small (a large number of rectangles).
(A) Partition of [a, b] into subintervals.
Largest subinterval
Rectangle has area f (ci) xi
ith sample point
x0 = a x1
c1 c2
x2 xN = bxi
ci cicN
xi−1 xi−1x1 xN = bxi xi
x0 = a
y = f (x)
.
FIGURE 2 Construction of R(f, P,C). In this case, !x2 is the norm of the partition.
EXAMPLE 1 Calculate the Riemann sum R(f, P, C), where f (x) = 8 + 12 sin x − 4x on [0, 4],
P : x0 = 0 < x1 = 1 < x2 = 1.8 < x3 = 2.9 < x4 = 4 C = {0.4, 1.2, 2, 3.5}
What is the norm ∥P ∥?
S E C T I O N 5.2 The Definite Integral 273
Solution The widths of the subintervals in the partition (Figure 3) arey
10
5
−5
−10
−15
x 0.4
21.2 1 1.8
43.52.9
FIGURE 3 Rectangles defined by a Riemann sum for f (x) = 8 + 12 sin x − 4x.
!x1 = x1 − x0 = 1 − 0 = 1, !x2 = x2 − x1 = 1.8 − 1 = 0.8 !x3 = x3 − x2 = 2.9 − 1.8 = 1.1, !x4 = x4 − x3 = 4 − 2.9 = 1.1
The norm of the partition is ∥P ∥ = 1.1 since the two longest subintervals have width 1.1. Using a calculator, we obtain
R(f, P, C) = f (0.4)!x1 + f (1.2)!x2 + f (2)!x3 + f (3.5)!x4 ≈ 11.07(1) + 14.38(0.8) + 10.91(1.1) − 10.2(1.1) ≈ 23.35
Note in Figure 2(C) that as the norm ∥P ∥ tends to zero (meaning that the rectangles get thinner), the number of rectangles N tends to ∞ and they approximate the area under the graph more closely. This leads to the following definition: f is integrable over [a, b] if all of the Riemann sums (not just the endpoint and midpoint approximations) approach one and the same limit L as ∥P ∥ tends to zero. Formally, we write
L = lim ∥P ∥→0
R(f, P, C) = lim ∥P ∥→0
N∑
i=1 f (ci)!xi 3
if |R(f, P, C) − L| gets arbitrarily small as the norm ∥P ∥ tends to zero, no matter how we choose the partition and sample points. The limit L is called the definite integral of f over [a, b].
The notation ∫
f (x) dx was introduced by Leibniz in 1686. The symbol
∫ is an
elongated S standing for “summation.” The differential dx corresponds to the length !xi along the x-axis.
DEFINITION Definite Integral The definite integral of f over [a, b] , denoted by the integral sign, is the limit of Riemann sums:
∫ b
a f (x) dx = lim
∥P ∥→0 R(f, P, C) = lim
∥P ∥→0
N∑
i=1 f (ci)!xi
When this limit exists, we say that f is integrable over [a, b].
The definite integral is often called, more simply, the integral of f over [a, b]. The process of computing integrals is called integration and f (x) is called the integrand. The endpoints a and b of [a, b] are called the limits of integration. Finally, we remark that any variable may be used as a variable of integration (this is a “dummy” variable). Thus, the following three integrals all denote the same quantity:
∫ b
a sin x dx,
∫ b
a sin t dt,
∫ b
a sin u du
One of the greatest mathematicians of the nineteenth century and perhaps second only to his teacher C. F. Gauss, Riemann transformed the fields of geometry, analysis, and number theory. Albert Einstein based his General Theory of Relativity on Riemann’s geometry. The “Riemann Hypothesis” dealing with prime numbers is one of the great unsolved problems in present-day mathematics. The Clay Foundation has offered a $1 million prize for its solution (http://claymath.org/ millenium-problems/riemann-hypothesis). CONCEPTUAL INSIGHT Keep in mind that a Riemann sum R(f, P, C) is nothing more
than an approximation to area based on rectangles, and that ∫ b
a f (x) dx is the number
we obtain in the limit as we take thinner and thinner rectangles. However, general Riemann sums (with arbitrary partitions and sample points) are
rarely used for computations. In practice, we use particular approximations such as MN , or the Fundamental Theorem of Calculus, as we’ll learn shortly. If so, why bother introducing Riemann sums? The answer is that Riemann sums play a theoretical rather than a computational role. They are useful in proofs and for dealing rigorously with certain discontinuous functions. In later sections, Riemann sums are used to show that volumes and other quantities can be expressed as definite integrals.
Georg Friedrich Riemann (1826–1866) (The Granger Collection, NYC. All rights reserved.)
The next theorem assures us that continuous functions (and even functions with finitely many jump discontinuities) are integrable (seeAppendix D for a proof). In practice, we rely on this theorem rather than attempting to prove directly that a given function is integrable.
274 C H A P T E R 5 THE INTEGRAL
THEOREM 1 If f is continuous on [a, b], or if f is continuous with at most finitely many jump discontinuities, then f is integrable over [a, b].
Interpretation of the Definite Integral as Signed Area When f (x) ≥ 0, the definite integral defines the area under the graph. To interpret the integral when f (x) takes on both positive and negative values, we define the notion of signed area, where regions below the x-axis are considered to have “negative area” (Figure 4); that is,
Signed area of a region = (area above x-axis) − (area below x-axis)
a b
+ + + +
+ − − −
− − − − x
y
FIGURE 4 Signed area is the area above the x-axis minus the area below the x-axis.
ci
f (ci)!xi = −(area of rectangle)
y = f (x)
x a
b
y
FIGURE 5
Now observe that a Riemann sum is equal to the signed area of the corresponding rect- angles:
R(f, C, P ) = f (c1)!x1 + f (c2)!x2 + · · · + f (cN)!xN Indeed, if f (ci) < 0, then the corresponding rectangle lies below the x-axis and has signed area f (ci)!xi (Figure 5). The limit of the Riemann sums is the signed area of the region between the graph and the x-axis:
∫ b
a f (x) dx = signed area of region between the graph and x-axis over [a, b]
EXAMPLE 2 Signed Area Calculate ∫ 5
0 (3 − x) dx and
∫ 5
0 |3 − x| dx
Solution The region between y = 3 − x and the x-axis consists of two triangles of areas 9 2 and 2 [Figure 6(A)]. However, the second triangle lies below the x-axis, so it has signed area −2. In the graph of y = |3 − x|, both triangles lie above the x-axis [Figure 6(B)]. Therefore,
∫ 5
0 (3 − x) dx = 9
2 − 2 = 5
2
∫ 5
0 |3 − x| dx = 9
2 + 2 = 13
2
(A)
−1
−2
(B)
y
x
2
1
1 2 3 4
3
5
y
x
2
1
1 2 3 4
3
5
y = 3 − x y = |3 − x |
−1
−2
− − −
+ + + + + +
+
+ +
+
+
Area
Signed area −2
+ +++
Area 292 Area 9 2
FIGURE 6
Properties of the Definite Integral In the rest of this section, we discuss some basic properties of definite integrals. First, we note that the integral of a constant function f (x) = C over [a, b] is the signed area C(b − a) of a rectangle (as we can see from Figure 7).
S E C T I O N 5.2 The Definite Integral 275
THEOREM 2 Integral of a Constant For any constant C, ∫ b
a C dx = C(b − a) 4
Next, we state the linearity properties of the definite integral.
C
a b
y
x
FIGURE 7 ∫ b
a C dx = C(b − a). THEOREM 3 Linearity of the Definite Integral If f and g are integrable over [a, b],
then f + g and Cf are integrable (for any constant C), and
• ∫ b
a
( f (x) + g(x)
) dx =
∫ b
a f (x) dx +
∫ b
a g(x) dx
• ∫ b
a Cf (x) dx = C
∫ b
a f (x) dx
Proof These properties follow from the corresponding linearity properties of sums and limits. For example, Riemann sums are additive:
R(f + g, P, C) = N∑
i=1
( f (ci) + g(ci)
) !xi =
N∑
i=1 f (ci)!xi +
N∑
i=1 g(ci)!xi
= R(f, P, C) + R(g, P, C) By the additivity of limits,
∫ b
a (f (x) + g(x)) dx = lim
||P ||→0 R(f + g, P, C)
= lim ||P ||→0
R(f, P, C) + lim ||P ||→0
R(g, P, C)
= ∫ b
a f (x) dx +
∫ b
a g(x) dx
The second property is proved similarly.
Eq. (5) was verified in Example 5 of Section 5.1.
EXAMPLE 3 Calculate ∫ 3
0 (2x2 − 5) dx using the formula
∫ b
0 x2 dx = b
3
3 5
Solution ∫ 3
0 (2x2 − 5) dx = 2
∫ 3
0 x2 dx +
∫ 3
0 (−5) dx (linearity)
= 2 (
33
3
) − 5(3 − 0) = 3 [Eqs. (5) and (4)]
So far we have used the notation ∫ b
a f (x) dx with the understanding that a < b. It
is convenient to define the definite integral for arbitrary a and b. According to Eq. (6), the integral changes sign when the limits of integration are reversed. Since we are free to define symbols as we please, why have we chosen to put the minus sign on the right side of Eq. (6)? Because it is only with this definition that the Fundamental Theorem of Calculus holds true.
DEFINITION Reversing the Limits of Integration For a < b, we set
∫ a
b f (x) dx = −
∫ b
a f (x) dx 6
276 C H A P T E R 5 THE INTEGRAL
For example, by Eq. (5), ∫ 0
5 x2 dx = −
∫ 5
0 x2 dx = −5
3
3 = −125
3
When a = b, the interval [a, b] = [a, a] has length zero and we define the definite integral to be zero:
∫ a
a f (x) dx = 0
EXAMPLE 4 Prove that, for all b (positive or negative),
0
y = xy
x b
b
FIGURE 8 Here, b < 0 and the signed area is − 12b2.
∫ b
0 x dx = 1
2 b2 7
Solution If b > 0, ∫ b
0 x dx is the area 12b
2 of a triangle of base b and height b. If b < 0, ∫ 0 b x dx is the signed area − 12b2 of the triangle in Figure 8, and Eq. (7) follows from the
rule for reversing limits of integration: ∫ b
0 x dx = −
∫ 0
b x dx = −
( −1
2 b2
) = 1
2 b2
Definite integrals satisfy an important additivity property: If f is integrable and a ≤ b ≤ c as in Figure 9, then the integral from a to c is equal to the integral from a to b plus the integral from b to c. We state this in the next theorem (a formal proof can be given using Riemann sums).
a b c
y
x
y = f (x)
FIGURE 9 The area over [a, c] is the sum of the areas over [a, b] and [b, c].
THEOREM 4 Additivity for Adjacent Intervals Let a ≤ b ≤ c, and assume that f is integrable. Then
∫ c
a f (x) dx =
∫ b
a f (x) dx +
∫ c
b f (x) dx
This theorem remains true as stated even if the condition a ≤ b ≤ c is not satisfied (Ex- ercise 88).
EXAMPLE 5 Calculate ∫ 7
4 x2 dx.
Solution Before we can apply the formula ∫ b
0 x2dx = b3/3 from Example 3, we must
use the additivity property for adjacent intervals to write ∫ 4
0 x2 dx +
∫ 7
4 x2 dx =
∫ 7
0 x2 dx
Now we can compute our integral as a difference: ∫ 7
4 x2 dx =
∫ 7
0 x2 dx −
∫ 4
0 x2 dx =
( 1 3
) 73 −
( 1 3
) 43 = 93
Another basic property of the definite integral is that larger functions have larger integrals (Figure 10).
y = g(x)
y = f (x)
a b
y
x
FIGURE 10 The integral of f is larger than the integral of g.
THEOREM 5 Comparison Theorem If f and g are integrable and g(x) ≤ f (x) for x in [a, b], then
∫ b
a g(x) dx ≤
∫ b
a f (x) dx
S E C T I O N 5.2 The Definite Integral 277
Proof If g(x) ≤ f (x), then for any partition and choice of sample points, we have g(ci)!xi ≤ f (ci)!xi for all i. Therefore, the Riemann sums satisfy
N∑
i=1 g(ci)!xi ≤
N∑
i=1 f (ci)!xi
Taking the limit as the norm ∥P ∥ tends to zero, we obtain ∫ b
a g(x) dx = lim
∥P ∥→0
N∑
i=1 g(ci)!xi ≤ lim∥P ∥→0
N∑
i=1 f (ci)!xi =
∫ b
a f (x) dx
EXAMPLE 6 Prove the inequality ∫ 4
1
1 x2
dx ≤ ∫ 4
1
1 x
dx.
Solution If x ≥ 1, then x2 ≥ x, and x−2 ≤ x−1 (Figure 11). Therefore, the inequality follows from the Comparison Theorem, applied with g(x) = x−2 and f (x) = x−1.
1 2 3 4
1
2
y
x
y = 1 x2
y = 1x
FIGURE 11
a b
M
m
y
x
FIGURE 12 The integral ∫ b a f (x) dx lies
between the areas of the rectangles of heights m and M .
Suppose there are numbers m and M such that m ≤ f (x) ≤ M for x in [a, b]. We call m and M lower and upper bounds for f (x) on [a, b]. By the Comparison Theorem,
∫ b
a m dx ≤
∫ b
a f (x) dx ≤
∫ b
a M dx
m(b − a) ≤ ∫ b
a f (x) dx ≤ M(b − a) 8
This says simply that the integral of f lies between the areas of two rectangles (Fig- ure 12).
EXAMPLE 7 Prove the inequalities 3 4
≤ ∫ 2
1/2
1 x
dx ≤ 3.
2
2 y = x−1
y
x
1 2
1 2
FIGURE 13
Solution Because f (x) = x−1 is decreasing (Figure 13), its minimum value on [ 1
2 , 2 ]
is m = f (2) = 12 and its maximum value is M = f
( 1 2
) = 2. By Eq. (8),
1 2
( 2 − 1
2
)
︸ ︷︷ ︸ m(b−a)
= 3 4
≤ ∫ 2
1/2
1 x
dx ≤ 2 (
2 − 1 2
)
︸ ︷︷ ︸ M(b−a)
= 3
5.2 SUMMARY
• A Riemann sum R(f, P, C) for the interval [a, b] is defined by choosing a partition P : a = x0 < x1 < x2 < · · · < xN = b
and sample points C = {ci}, where ci ∈ [xi−1, xi]. Let !xi = xi − xi−1. Then
R(f, P, C) = N∑
i=1 f (ci)!xi
• The maximum of the widths !xi is called the norm ∥P ∥ of the partition. • The definite integral is the limit of the Riemann sums (if it exists):
∫ b
a f (x) dx = lim
∥P ∥→0 R(f, P, C)
We say that f is integrable over [a, b] if the limit exists.
278 C H A P T E R 5 THE INTEGRAL
• Theorem: If f is continuous on [a, b], then f is integrable over [a, b]. •
∫ b
a f (x) dx = signed area of the region between the graph of f and the x-axis.
• Properties of definite integrals: ∫ b
a
( f (x) + g(x)
) dx =
∫ b
a f (x) dx +
∫ b
a g(x) dx
∫ b
a Cf (x) dx = C
∫ b
a f (x) dx for any constant C
∫ a
b f (x) dx = −
∫ b
a f (x) dx
∫ a
a f (x) dx = 0
∫ b
a f (x) dx +
∫ c
b f (x) dx =
∫ c
a f (x) dx for all a, b, c
• Formulas: ∫ b
a C dx = C(b − a) (C any constant)
∫ b
0 x dx = 1
2 b2
∫ b
0 x2 dx = 1
3 b3
• Comparison Theorem: If f (x) ≤ g(x) on [a, b], then ∫ b
a f (x) dx ≤
∫ b
a g(x) dx
If m ≤ f (x) ≤ M on [a, b], then
m(b − a) ≤ ∫ b
a f (x) dx ≤ M(b − a)
5.2 EXERCISES
Preliminary Questions 1. What is
∫ 5
3 dx [the function is f (x) = 1]?
2. Let I = ∫ 7
2 f (x) dx, where f is continuous. State whether the
following are true or false: (a) I is the area between the graph and the x-axis over [2, 7]. (b) If f (x) ≥ 0, then I is the area between the graph and the x-axis over [2, 7].
(c) If f (x) ≤ 0, then −I is the area between the graph of f and the x-axis over [2, 7].
3. Explain graphically: ∫ π
0 cos x dx = 0.
4. Which is negative, ∫ −5
−1 8 dx or
∫ −1
−5 8 dx?
Exercises In Exercises 1–10, draw a graph of the signed area represented by the integral and compute it using geometry.
1. ∫ 3
−3 2x dx 2.
∫ 3
−2 (2x + 4) dx
3. ∫ 1
−2 (3x + 4) dx 4.
∫ 1
−2 4 dx
5. ∫ 8
6 (7 − x) dx 6.
∫ 3π/2
π/2 sin x dx
7. ∫ 5
0
√ 25 − x2 dx 8.
∫ 3
−2 |x| dx
9. ∫ 2
−2 (2 − |x|) dx 10.
∫ 5
−2 (3 + x − 2|x|) dx
S E C T I O N 5.2 The Definite Integral 279
11. Calculate ∫ 10
0 (8 − x) dx in two ways:
(a) As the limit lim N→∞
RN
(b) By sketching the relevant signed area and using geometry
12. Calculate ∫ 4
−1 (4x − 8) dx in two ways:
(a) As the limit lim N→∞
RN
(b) By using geometry
In Exercises 13 and 14, refer to Figure 14.
13. Evaluate: (a) ∫ 2
0 f (x) dx (b)
∫ 6
0 f (x) dx
14. Evaluate: (a) ∫ 4
1 f (x) dx (b)
∫ 6
1 |f (x)| dx
y = f (x)
642
y
x
FIGURE 14 The two parts of the graph are semicircles.
In Exercises 15 and 16, refer to Figure 15.
15. Evaluate ∫ 3
0 g(t) dt and
∫ 5
3 g(t) dt .
16. Find a, b, and c such that ∫ a
0 g(t) dt and
∫ c
b g(t) dt are as large
as possible.
1 2 3 4 5
2
1
−1
−2
y = g(t)
t
y
FIGURE 15
17. Describe the partition P and the set of sample points C for the Riemann sum shown in Figure 16. Compute the value of the Riemann sum.
x 1 32.5 3.220.5 4.5 5
34.25
20 15
8
y
FIGURE 16
18. Compute R(f, P,C) for f (x) = x2 + x for the partition P and the set of sample points C in Figure 16. [The curve shown is not f (x) = x2 + x.]
In Exercises 19–22, calculate the Riemann sum R(f, P,C) for the given function, partition, and choice of sample points. Also, sketch the graph of f and the rectangles corresponding to R(f, P,C).
19. f (x) = x, P = {1, 1.2, 1.5, 2}, C = {1.1, 1.4, 1.9}
20. f (x) = 2x + 3, P = {−4, −1, 1, 4, 8}, C = {−3, 0, 2, 5}
21. f (x) = x2 + x, P = {2, 3, 4.5, 5}, C = {2, 3.5, 5}
22. f (x) = sin x, P = { 0, π6 ,
π 3 ,
π 2 } , C = {0.4, 0.7, 1.2}
In Exercises 23–28, sketch the signed area represented by the integral. Indicate the regions of positive and negative area.
23. ∫ 5
0 (4x − x2) dx 24.
∫ π/4
−π/4 tan x dx
25. ∫ 2π
π sin x dx 26.
∫ 3π
0 sin x dx
27. ∫ 2
1/2 ln x dx 28.
∫ 1
−1 tan−1 x dx
In Exercises 29–32, determine the sign of the integral without calcu- lating it. Draw a graph if necessary.
29. ∫ 1
−2 x4 dx 30.
∫ 1
−2 x3 dx
31. ∫ 2π
0 x sin x dx 32.
∫ 2π
0
sin x x
dx
In Exercises 33–42, use properties of the integral and the formulas in the summary to calculate the integrals.
33. ∫ 4
0 (6t − 3) dt 34.
∫ 2
−3 (4x + 7) dx
35. ∫ 9
0 x2 dx 36.
∫ 5
2 x2 dx
37. ∫ 1
0 (u2 − 2u) du 38.
∫ 1/2
0 (12y2 + 6y) dy
39. ∫ 1
−3 (7t2 + t + 1) dt 40.
∫ 3
−3 (9x − 4x2) dx
41. ∫ 1
−a (x2 + x) dx 42.
∫ a2
a x2 dx
In Exercises 43–47, calculate the integral, assuming that
∫ 5
0 f (x) dx = 5,
∫ 5
0 g(x) dx = 12
43. ∫ 5
0 (f (x) + g(x)) dx 44.
∫ 5
0
( 2f (x) − 1
3 g(x)
) dx
45. ∫ 0
5 g(x) dx 46.
∫ 5
0 (f (x) − x) dx
47. Is it possible to calculate ∫ 5
0 g(x)f (x) dx from the information
given?
280 C H A P T E R 5 THE INTEGRAL
48. Prove by computing the limit of right-endpoint approximations:
∫ b
0 x3 dx = b
4
4 9
In Exercises 49–54, evaluate the integral using the formulas in the summary and Eq. (9).
49. ∫ 3
0 x3 dx 50.
∫ 3
1 x3 dx
51. ∫ 3
0 (x − x3) dx 52.
∫ 1
0 (2x3 − x + 4) dx
53. ∫ 1
0 (12x3 + 24x2 − 8x) dx 54.
∫ 2
−2 (2x3 − 3x2) dx
In Exercises 55–58, calculate the integral, assuming that ∫ 1
0 f (x) dx = 1,
∫ 2
0 f (x) dx = 4,
∫ 4
1 f (x) dx = 7
55. ∫ 4
0 f (x) dx 56.
∫ 2
1 f (x) dx
57. ∫ 1
4 f (x) dx 58.
∫ 4
2 f (x) dx
In Exercises 59–62, express each integral as a single integral.
59. ∫ 3
0 f (x) dx +
∫ 7
3 f (x) dx
60. ∫ 9
2 f (x) dx −
∫ 9
4 f (x) dx
61. ∫ 9
2 f (x) dx −
∫ 5
2 f (x) dx
62. ∫ 3
7 f (x) dx +
∫ 9
3 f (x) dx
In Exercises 63–66, calculate the integral, assuming that f is integrable
and ∫ b
1 f (x) dx = 1 − b−1 for all b > 0.
63. ∫ 5
1 f (x) dx 64.
∫ 5
3 f (x) dx
65. ∫ 6
1 (3f (x) − 4) dx 66.
∫ 1
1/2 f (x) dx
67. Explain the difference in graphical interpretation between ∫ b
a f (x) dx and
∫ b
a |f (x)| dx.
68. Use the graphical interpretation of the definite integral to explain the inequality
∣∣∣∣∣
∫ b
a f (x) dx
∣∣∣∣∣ ≤ ∫ b
a |f (x)| dx
where f is continuous. Explain also why equality holds if and only if either f (x) ≥ 0 for all x or f (x) ≤ 0 for all x.
69. Let f (x) = x. Find an interval [a, b] such that ∣∣∣∣∣
∫ b
a f (x) dx
∣∣∣∣∣ = 1 2
and ∫ b
a |f (x)| dx = 3
2
70. Evaluate I = ∫ 2π
0 sin2 x dx and J =
∫ 2π
0 cos2 x dx
as follows. First show with a graph that I = J . Then prove that I + J = 2π .
In Exercises 71–74, calculate the integral.
71. ∫ 6
0 |3 − x| dx 72.
∫ 3
1 |2x − 4| dx
73. ∫ 1
−1 |x3| dx 74.
∫ 2
0 |x2 − 1| dx
75. Use the Comparison Theorem to show that
∫ 1
0 x5 dx ≤
∫ 1
0 x4 dx,
∫ 2
1 x4 dx ≤
∫ 2
1 x5 dx
76. Prove that 1 3
≤ ∫ 6
4
1 x
dx ≤ 1 2
.
77. Prove that 0.0198 ≤ ∫ 0.3
0.2 sin x dx ≤ 0.0296. Hint: Show that
0.198 ≤ sin x ≤ 0.296 for x in [0.2, 0.3].
78. Prove that 0.277 ≤ ∫ π/4
π/8 cos x dx ≤ 0.363.
79. Prove that 0 ≤ ∫ π/2
π/4
sin x x
dx ≤ √
2 2
.
80. Find upper and lower bounds for ∫ 1
0
dx √
5x3 + 4 .
81. Suppose that f (x) ≤ g(x) on [a, b]. By the Comparison
Theorem, ∫ b
a f (x) dx ≤
∫ b
a g(x) dx. Is it also true that f ′(x) ≤ g′(x)
for x ∈ [a, b]? If not, give a counterexample.
82. State whether true or false. If false, sketch the graph of a counterexample.
(a) If f (x) > 0, then ∫ b
a f (x) dx > 0.
(b) If ∫ b
a f (x) dx > 0, then f (x) > 0.
Further Insights and Challenges 83. Explain graphically: If f is an odd function, then∫ a
−a f (x) dx = 0.
84. Compute ∫ 1
−1 (sin x)(sin2 x + 1) dx.
85. Let k and b be positive. Show, by comparing the right-endpoint approximations, that
∫ b
0 xk dx = bk+1
∫ 1
0 xk dx
S E C T I O N 5.3 The Indefinite Integral 281
86. Verify for 0 ≤ b ≤ 1 by interpreting in terms of area: ∫ b
0
√ 1 − x2 dx = 1
2 b √
1 − b2 + 1 2
sin−1 b
87. Suppose that f and g are continuous functions such that, for all a,
∫ a
−a f (x) dx =
∫ a
−a g(x) dx
Give an intuitive argument showing that f (0) = g(0). Explain your idea with a graph.
88. Theorem 4 remains true without the assumption a ≤ b ≤ c. Verify this for the cases b < a < c and c < a < b.
5.3 The Indefinite Integral In earlier chapters, we have seen how useful it is to be able to find the derivative of a function. But what about the inverse problem? Given the derivative of an unknown function, find the function itself. For example, in physics we may know the velocity v(t) (the derivative) and wish to compute the position s(t) of an object. Since s′(t) = v(t), this amounts to finding a function whose derivative is v(t). A function F whose derivative is f is called an antiderivative of f . Antiderivatives will turn out to be the key to evaluating definite integrals.
DEFINITION Antiderivatives A function F is an antiderivative of f on an open in- terval (a, b) if F ′(x) = f (x) for all x in (a, b).
Examples:
• F(x) = − cos x is an antiderivative of f (x) = sin x because for all values of x,
F ′(x) = d dx
(− cos x) = sin x = f (x)
• F(x) = 13x3 is an antiderivative of f (x) = x2 because for all values of x,
F ′(x) = d dx
( 1 3 x3
) = x2 = f (x)
One critical observation is that antiderivatives are not unique. We are free to add a constant C because the derivative of a constant is zero, and so, ifF ′(x) = f (x), then (F (x) + C)′ = f (x). For example, each of the following is an antiderivative of x2:
1 3 x3,
1 3 x3 + 5, 1
3 x3 − 4
Are there any antiderivatives of f other than those obtained by adding a constant to a given antiderivative F ? Our next theorem says that the answer is no if f is defined on an open interval (a, b).
THEOREM 1 The General Antiderivative Let y = F(x) be an antiderivative of y = f (x) on (a, b). Then every other antiderivative on (a, b) is of the form y = F(x) + C for some constant C.
Proof If y = G(x) is a second antiderivative of y = f (x), set H(x) = G(x) − F(x).
y = F(x)
y = F(x) + C
x
y
FIGURE 1 The tangent lines to the graphs of y = F(x) and y = F(x) + C are parallel.
Then H ′(x) = G′(x) − F ′(x) = f (x) − f (x) = 0. By the Corollary to the Mean Value Theorem in Section 4.3,H(x) must be a constant—say,H(x) = C—and thereforeG(x) = F(x) + C.
GRAPHICAL INSIGHT The graph of y = F(x) + C is obtained by shifting the graph of y = F(x) vertically by C units. Since vertical shifting moves the tangent lines without changing their slopes, it makes sense that all of the functions y = F(x) + C have the same derivative (Figure 1). Theorem 1 tells us that conversely, if two graphs have parallel tangent lines, then one graph is obtained from the other by a vertical shift.
282 C H A P T E R 5 THE INTEGRAL
We often describe the general antiderivative of a function in terms of an arbitrary constant C, as in the following example.
EXAMPLE 1 Find two antiderivatives of f (x) = cos x. Then determine the general antiderivative.
Solution The functions F(x) = sin x and G(x) = sin x + 2 are both antiderivatives of f (x) = cos x. The general antiderivative is F(x) = sin x + C, where C is any constant.
The process of finding an antiderivative is called integration. We will see why in the next section, when we discuss the connection between antiderivatives and areas under curves given by the Fundamental Theorem of Calculus. Anticipating this result, we begin using the integral sign
∫ , the standard notation for antiderivatives.
The terms “antiderivative” and “indefinite integral” are used interchangeably. In some textbooks, an antiderivative is called a “primitive function.”
NOTATION Indefinite Integral The notation ∫
f (x) dx = F(x) + C means that F ′(x) = f (x)
We say that y = F(x) + C is the general antiderivative or indefinite integral of y = f (x).
The expression f (x) appearing in the integral sign is called the integrand. The symbol dx is a differential. It is part of the integral notation and serves to indicate the independent variable. The constant C is called the constant of integration.
Some indefinite integrals can be evaluated by reversing the familiar derivative for- mulas. For example, we obtain the indefinite integral of y = xn by reversing the Power Rule for derivatives.There are no Product, Quotient, or Chain
Rules for integrals. However, we will see that the Product Rule for derivatives leads to an important technique called Integration by Parts (Section 7.1) and the Chain Rule leads to the Substitution Method (Section 5.7).
THEOREM 2 Power Rule for Integrals
∫ xn dx = x
n+1
n + 1 + C for n ̸= −1
Proof We just need to verify that F(x) = x n+1
n + 1 is an antiderivative of f (x) = x n:
F ′(x) = d dx
( xn+1
n + 1 + C )
= 1 n + 1 ((n + 1)x
n) = xn
In words, the Power Rule for Integrals says that to integrate a power of x, “add one to the exponent and then divide by the new exponent.” Here are some examples:
∫ x5 dx = 1
6 x6 + C,
∫ x−9 dx = −1
8 x−8 + C,
∫ x3/5 dx = 5
8 x8/5 + C
The Power Rule is not valid forn = −1. In fact, forn = −1, we obtain the meaningless result
∫ x−1 dx = x
n+1
n + 1 + C = x0
0 + C (meaningless)
Recall, however, that the derivative of the natural logarithm is d
dx ln x = 1
x . This shows
Notice that in integral notation, we treat dx as a movable variable, and thus we write∫
1 x
dx as ∫
dx
x .
that F(x) = ln x is an antiderivative of y = 1 x
. Thus, for n = −1, instead of the Power Rule we have
∫ dx
x = ln x + C
S E C T I O N 5.3 The Indefinite Integral 283
This formula is valid for x > 0, where ln x is defined. We would like to have an antideriva- tive of y = 1x on its full domain, namely on {x : x ̸= 0}. To achieve this end, we extend F(x) to an even function by setting F(x) = ln |x| (Figure 2). Then F(x) = F(−x), and
x 1
x 1
x
y
x−x 1−1
2
y = ln |x|
Slope − Slope
FIGURE 2
by the Chain Rule, F ′(x) = −F ′(−x). For x < 0, we obtain d
dx ln |x| = F ′(x) = −F ′(−x) = − 1−x =
1 x
This proves that d
dx ln |x| = 1
x for all x ̸= 0.
THEOREM 3 Antiderivative of y = 1 x
The function F(x) = ln |x| is an antideriva-
tive of y = 1 x
in the domain {x : x ̸= 0}; that is,
∫ dx
x = ln |x| + C 1
The indefinite integral obeys the usual linearity rules that allow us to integrate “term by term.” These rules follow from the linearity rules for the derivative (see Exercise 81).
THEOREM 4 Linearity of the Indefinite Integral
• Sum Rule: ∫
(f (x) + g(x)) dx = ∫
f (x) dx + ∫
g(x) dx
• Multiples Rule: ∫
cf (x) dx = c ∫
f (x) dx
EXAMPLE 2 Evaluate ∫ (3x4 − 5x2/3 + x−3) dx.
Solution We integrate term by term and use the Power Rule:
When we break up an indefinite integral into a sum of several integrals as in Example 2, it is not necessary to include a separate constant of integration for each integral.
∫ (3x4 − 5x2/3 + x−3) dx =
∫ 3x4 dx −
∫ 5x2/3 dx +
∫ x−3 dx (Sum Rule)
= 3 ∫
x4 dx − 5 ∫
x2/3 dx + ∫
x−3 dx (Multiples Rule)
= 3 (
x5
5
) − 5
( x5/3
5/3
) + x
−2
−2 + C (Power Rule)
= 3 5 x5 − 3x5/3 − 1
2 x−2 + C
To check the answer, we verify that the derivative is equal to the integrand:
d
dx
( 3 5 x5 − 3x5/3 − 1
2 x−2 + C
) = 3x4 − 5x2/3 + x−3
EXAMPLE 3 Evaluate ∫ (
5 x
− 3x−10 )
dx.
Solution Apply Eq. (1) and the Power Rule: ∫ (
5 x
− 3x−10 )
dx = 5 ∫
dx
x − 3
∫ x−10 dx
= 5 ln |x| − 3 (
x−9
−9
) + C = 5 ln |x| + 1
3 x−9 + C
The differentiation formulas for the trigonometric functions give us the following integration formulas. Each formula can be checked by differentiation.
284 C H A P T E R 5 THE INTEGRAL
Basic Trigonometric Integrals ∫
sin x dx = − cos x + C, ∫
cos x dx = sin x + C ∫
sec2 x dx = tan x + C, ∫
csc2 x dx = − cot x + C ∫
sec x tan x dx = sec x + C, ∫
csc x cot x dx = − csc x + C
Similarly, for any constant k ̸= 0, the formulas
d
dx sin(kx) = k cos(kx), d
dx cos(kx) = −k sin(kx)
translate to the following indefinite integral formulas:
∫ cos(kx) dx = 1
k sin(kx) + C
∫ sin(kx) dx = −1
k cos(kx) + C
EXAMPLE 4 Evaluate ∫ (
sin 8t + 20 cos 9t ) dt .
Solution
∫ ( sin 8t + 20 cos 9t
) dt =
∫ sin 8t dt + 20
∫ cos 9t dt
= −1 8
cos 8t + 20 9
sin 9t + C
Integrals Involving ex
The formula (ex)′ = ex says that f (x) = ex is its own derivative. But this means that f (x) = ex is also its own antiderivative. In other words,
∫ ex dx = ex + C
More generally, for any constant k ̸= 0,
∫ ekx dx = 1
k ekx + C
EXAMPLE 5 Evaluate (a) ∫
(3ex − 4) dx and (b) ∫
12e7−3x dx.
Solution
(a) ∫
(3ex − 4) dx = 3 ∫
ex dx − ∫
4 dx = 3ex − 4x + C
(b) ∫
12e7−3x dx = 12 ∫
e7e−3x dx = 12e7 (
1 −3e
−3x )
= −4e7−3x + C
S E C T I O N 5.3 The Indefinite Integral 285
Initial Conditions We can think of an antiderivative as a solution to the differential equation
dy
dx = f (x) 2
In general, a differential equation is an equation relating an unknown function and its derivatives. The unknown in Eq. (2) is a function y = F(x) whose derivative is f (x); that is, y = F(x) is an antiderivative of y = f (x).
Eq. (2) has infinitely many solutions (because the antiderivative is not unique), but we can specify a particular solution by imposing an initial condition— that is, by requiring
An initial condition is like the y-intercept of a line, which determines one particular line among all lines with the same slope. The graphs of the antiderivatives of y = f (x) are all parallel (Figure 1), and the initial condition determines one of them. Sometimes, when the variable is not time, the initial condition is called the boundary condition.
that the solution satisfy y(x0) = y0 for some fixed values x0 and y0.Adifferential equation with an initial condition is called an initial value problem.
EXAMPLE 6 Solve dy
dx = 4x7 subject to the initial condition y(0) = 4.
Solution First, find the general antiderivative:
y(x) = ∫
4x7 dx = 1 2 x8 + C
Then choose C so that the initial condition is satisfied: y(0) = 0 + C = 4. This yields C = 4, and our solution is y = 12x8 + 4.
EXAMPLE 7 Solve the initial value problem dy
dt = sin(π t), y(2) = 2.
Solution First, find the general antiderivative:
y(t) = ∫
sin(π t) dt = − 1 π
cos(π t) + C
Then solve for C by evaluating at t = 2:
y(2) = − 1 π
cos(2π) + C = 2 ⇒ C = 2 + 1 π
The solution of the initial value problem is y(t) = − 1π cos(π t) + 2 + 1π .
EXAMPLE 8 A car traveling with velocity 24 m/s begins to slow down at time t = 0 s with a constant deceleration of a = −6 m/s2. Find (a) the velocity v(t) at time t , and (b) the distance traveled before the car comes to a halt.
Solution (a) The derivative of velocity is acceleration, so velocity is the antiderivative of acceleration:
v(t) = ∫
a dt = ∫
(−6) dt = −6t + C
The initial condition v(0) = C = 24 m/s gives us v(t) = −6t + 24. (b) Position is the antiderivative of velocity, so the car’s position in meters is
Relation between position, velocity, and acceleration:
s ′(t) = v(t), s(t) = ∫
v(t) dt
v′(t) = a(t), v(t) = ∫
a(t) dt s(t) = ∫
v(t) dt = ∫
(−6t + 24) dt = −3t2 + 24t + C1
where C1 is a constant. We are not told where the car is at t = 0, so let us set s(0) = 0 for convenience, obtaining C1 = 0. With this choice, s(t) = −3t2 + 24t . This is the distance traveled from time t = 0.
The car comes to a halt when its velocity is zero, so we solve
v(t) = −6t + 24 = 0 ⇒ t = 4 s The distance traveled before coming to a halt is s(4) = −3(42) + 24(4) = 48 m.
286 C H A P T E R 5 THE INTEGRAL
5.3 SUMMARY
• F is called an antiderivative of f if F ′(x) = f (x). • Any two antiderivatives of f on an interval (a, b) differ by a constant. • The general antiderivative is denoted by the indefinite integral:
∫ f (x) dx = F(x) + C
• Integration formulas: ∫ 0 dx = C
∫ k dx = kx + C (k ̸= 0)
∫ xn dx = x
n+1
n + 1 + C (n ̸= −1)∫ sin(kx) dx = −1
k cos(kx) + C (k ̸= 0)
∫ cos(kx) dx = 1
k sin(kx) + C (k ̸= 0)
∫ ekx dx = 1
k ekx + C (k ̸= 0)
∫ dx
x = ln |x| + C
∫ cf (x) dx = c
∫ f (x) dx
∫ f (x) + g(x) dx =
∫ f (x) dx +
∫ g(x) dx
• To solve an initial value problem dy
dx = f (x), y(x0) = y0, first find the general anti-
derivative y = F(x) + C. Then determine C using the initial condition F(x0) + C = y0.
5.3 EXERCISES
Preliminary Questions 1. Find an antiderivative of the function f (x) = 0. 2. Is there a difference between finding the general antiderivative of
a function f and evaluating ∫
f (x) dx?
3. Jacques was told that f and g have the same derivative, and he wonders whether f (x) = g(x). Does Jacques have sufficient informa- tion to answer his question?
4. Suppose that F ′(x) = f (x) and G′(x) = g(x). Which of the fol- lowing statements are true? Explain.
(a) If f = g, then F = G. (b) If F and G differ by a constant, then f = g. (c) If f and g differ by a constant, then F = G.
5. Is y = x a solution of the following initial value problem?
dy
dx = 1, y(0) = 1
Exercises In Exercises 1–8, find the general antiderivative of f and check your answer by differentiating.
1. f (x) = 18x2 2. f (x) = x−3/5
3. f (x) = 2x4 − 24x2 + 12x−1 4. f (x) = 9x + 15x−2
5. f (x) = 2 cos x − 9 sin x 6. f (x) = 4x7 − 3 cos x 7. f (x) = 12ex − 5x−2 8. f (x) = ex − 4 sin x
9. Match functions (a)–(d) with their antiderivatives (i)–(iv).
(a) f (x) = sin x (i) F(x) = cos(1 − x)
(b) f (x) = x sin(x2) (ii) F(x) = − cos x
(c) f (x) = sin(1 − x) (iii) F(x) = − 12 cos(x2) (d) f (x) = x sin x (iv) F(x) = sin x − x cos x
S E C T I O N 5.3 The Indefinite Integral 287
In Exercises 10–39, evaluate the indefinite integral.
10. ∫
(9x + 2) dx 11. ∫
(4 − 18x) dx
12. ∫
x−3 dx 13. ∫
t−6/11 dt
14. ∫
(5t3 − t−3) dt 15. ∫
(18t5 − 10t4 − 28t) dt
16. ∫
14s9/5 ds
17. ∫
(z−4/5 − z2/3 + z5/4) dz
18. ∫
3 2
dx 19. ∫
1 3√x dx
20. ∫
dx
x4/3 21.
∫ 36 dt
t3
22. ∫
x(x2 − 4) dx 23. ∫
(t1/2 + 1)(t + 1) dt
24. ∫
12 − z√ z
dz 25. ∫
x3 + 3x − 4 x2
dx
26. ∫ (
1 3
sin x − 1 4
cos x )
dx 27. ∫
12 sec x tan x dx
28. ∫
(θ + sec2 θ) dθ 29. ∫
(csc t cot t) dt
30. ∫
sin(7x) dx 31. ∫
sec2(−3θ) dθ
32. ∫
(θ − cos(−θ)) dθ 33. ∫
25 sec2(3z) dz
34. ∫
sec x tan x dx
35. ∫ (
cos(3θ) − 1 2
sec2 (
θ
4
)) dθ
36. ∫ (
4 x
− ex )
dx 37. ∫
(3e5x) dx
38. ∫
e3t−4 dt 39. ∫
(8x − 4e5−2x) dx
40. In Figure 3, is graph (A) or graph (B) the graph of an antiderivative of y = f (x)?
fy = (x) (A) (B)
x
x
x
yyy
y = f (x)
FIGURE 3
41. In Figure 4, which of graphs (A), (B), and (C) is not the graph of an antiderivative of y = f (x)? Explain.
(C)(B)(A)
x
x
y
x
y
x
y
y
y = f (x)
FIGURE 4
42. Show that F(x) = 13 (x + 13)3 is an antiderivative of f (x) = (x + 13)2. In Exercises 43–46, verify by differentiation.
43. ∫
(x + 13)6 dx = 1 7 (x + 13)7 + C
44. ∫
(x + 13)−5 dx = −1 4 (x + 13)−4 + C
45. ∫
(4x + 13)2 dx = 1 12
(4x + 13)3 + C
46. ∫
(ax + b)n dx = 1 a(n + 1) (ax + b)
n+1 + C (for n ̸= −1)
In Exercises 47–62, solve the initial value problem.
47. dy
dx = x3, y(0) = 4 48. dy
dt = 3 − 2t , y(0) = −5
49. dy
dt = 2t + 9t2, y(1) = 2
50. dy
dx = 8x3 + 3x2, y(2) = 0
51. dy
dt =
√ t , y(1) = 1 52. dz
dt = t−3/2, z(4) = −1
53. dy
dx = (3x + 2)3, y(0) = 1
54. dy
dt = (4t + 3)−2, y(1) = 0
55. dy
dx = sin x, y
(π 2
) = 1 56. dy
dz = sin 2z, y
(π 4
) = 4
57. dy
dx = cos 5x, y(π) = 3
58. dy
dx = sec2 3x, y
(π 4
) = 2
59. dy
dx = ex , y(2) = 0 60. dy
dt = e−t , y(0) = 0
61. dy
dt = 9e12−3t , y(4) = 7
62. dy
dt = t + 2et−9, y(9) = 4
In Exercises 63–69, first find f ′ and then find f .
63. f ′′(x) = 12x, f ′(0) = 1, f (0) = 2
288 C H A P T E R 5 THE INTEGRAL
64. f ′′(x) = x3 − 2x, f ′(1) = 0, f (1) = 2 65. f ′′(x) = x3 − 2x + 1, f ′(0) = 1, f (0) = 0 66. f ′′(x) = x3 − 2x + 1, f ′(1) = 0, f (1) = 4 67. f ′′(t) = t−3/2, f ′(4) = 1, f (4) = 4
68. f ′′(θ) = cos θ , f ′ (π
2
) = 1, f
(π 2
) = 6
69. f ′′(t) = t − cos t , f ′(0) = 2, f (0) = −2 70. Show that F(x) = tan2 x and G(x) = sec2 x have the same deriva- tive. What can you conclude about the relation between F and G? Verify this conclusion directly.
71. A particle located at the origin at t = 1 s moves along the x-axis with velocity v(t) = (6t2 − t) m/s. State the differential equation with its initial condition satisfied by the position s(t) of the particle, and find s(t).
72. A particle moves along the x-axis with velocity v(t) = (6t2 − t) m/s. Find the particle’s position s(t), assuming that s(2) = 4 m. 73. A water balloon is dropped from a high building. It falls for 5 s before hitting the ground. Determine the velocity it is traveling when it is about to hit the ground, assuming an acceleration due to gravity of −9.8 m/s2 and no wind resistance. 74. A hammer is dropped and it falls for 2 s before hitting the ground. Determine how far it falls, assuming an acceleration due to gravity of −9.8 m/s2 and no wind resistance.
75. A mass oscillates at the end of a spring. Let s(t) be the displace- ment of the mass from the equilibrium position at time t . Assum- ing that the mass is located at the origin at t = 0 and has velocity v(t) = sin(π t/2) m/s, state the differential equation with initial condi- tion satisfied by s(t), and find s(t).
76. Beginning at t = 0 s with initial velocity 4 m/s, a particle moves in a straight line with acceleration a(t) = 3t1/2 m/s2. Find the distance traveled after 25 s.
77. A car traveling 25 m/s begins to decelerate at a constant rate of 4 m/s2. After how many seconds does the car come to a stop and how far will the car have traveled during its deceleration before stopping?
78. At time t = 1 s, a particle is traveling at 72 m/s and begins to decel- erate at the rate a(t) = −t−1/2 until it stops. How far does the particle travel during its deceleration before stopping?
79. A 900-kg rocket is released from a space station. As it burns fuel, the rocket’s mass decreases and its velocity increases. Let v(m) be the velocity (in meters per second) as a function of mass m. Find the velocity when m = 729 kg if dv/dm = −50m−1/2. Assume that v(900) = 0 m/s.
80. As water flows through a tube of radius R = 10 cm, the velocity v of an individual water particle depends only on its distance r from the center of the tube. The particles at the walls of the tube have zero velocity and dv/dr = −0.06r . Determine v(r).
81. Verify the linearity properties of the indefinite integral stated in Theorem 4.
Further Insights and Challenges 82. Find constants c1 and c2 such that F(x) = c1x sin x + c2 cos x is an antiderivative of f (x) = x cos x.
83. Find constants c1 and c2 such that F(x) = c1xex + c2ex is an antiderivative of f (x) = xex .
84. Suppose that F ′(x) = f (x) and G′(x) = g(x). Is it true that y = F(x)G(x) is an antiderivative of y = f (x)g(x)? Confirm or pro- vide a counterexample.
85. Suppose that F ′(x) = f (x). (a) Show that y = 12F(2x) is an antiderivative of y = f (2x). (b) Find the general antiderivative of y = f (kx) for k ̸= 0.
86. Find an antiderivative for f (x) = |x|.
87. Using Theorem 1, prove that if F ′(x) = f (x), where f is a poly- nomial of degree n − 1, then F is a polynomial of degree n. Then prove that if g is any function such that g(n)(x) = 0, then g is a polynomial of degree at most n.
88. Show that F(x) = x n+1 − 1 n + 1 is an antiderivative of y = x
n for
n ̸= −1. Then use L’Hôpital’s Rule to prove that
lim n→−1
F(x) = ln x
In this limit, x is fixed and n is the variable. This result shows that, although the Power Rule breaks down for n = −1, the antiderivative of y = x−1 is a limit of antiderivatives of y = xn as n → −1.
5.4 The Fundamental Theorem of Calculus, Part I Having so far introduced both derivatives and integrals, a very reasonable question is why they appear together in this topic called Calculus. The answer is the Fundamental Theorem of Calculus (FTC), which is one of the most important theorems in all of mathematics. This foundational result reveals an unexpected connection between the two main operations of calculus: differentiation and integration. The theorem has two parts. Although they are
The FTC was first stated clearly by Isaac Newton in 1666, although other mathematicians, including Newton’s teacher Isaac Barrow, had discovered versions of it earlier.
closely related, we discuss them in separate sections to emphasize the different ways they are used. The first part of the Fundamental Theorem of Calculus will allow us to compute definite integrals without having to take limits of Riemann sums.
REMINDER F is called an antiderivative of f if F ′(x) = f (x). We say also that F is an indefinite integral of f , and we use the notation
∫ f (x) dx = F(x) + C
To explain FTC I, recall a result from Example 5 of Section 5.2: ∫ 7
4 x2 dx =
( 1 3
) 73 −
( 1 3
) 43 = 93
S E C T I O N 5.4 The Fundamental Theorem of Calculus, Part I 289
Now observe that F(x) = 13x3 is an antiderivative of f (x) = x2, so we can write ∫ 7
4 x2 dx = F(7) − F(4)
According to FTC I, this is no coincidence; this relation between the definite integral and the antiderivative holds in general.
THEOREM 1 The Fundamental Theorem of Calculus, Part I Assume that f is con- tinuous on [a, b]. If F is an antiderivative of f on [a, b], then
∫ b
a f (x) dx = F(b) − F(a) 1
Proof The quantity F(b) − F(a) is the total change in F (also called the “net change”) over the interval [a, b]. Our task is to relate it to the integral of F ′(x) = f (x). There are two main steps.
Step 1. Write total change as a sum of small changes. Given any partition P of [a, b]:
P : x0 = a < x1 < x2 < · · · < xN = b we can break up F(b) − F(a) as a sum of changes over the intervals [xi−1, xi]:
F(b) − F(a) = ( F(x1) − F(a)
) +
( F(x2) − F(x1)
) + · · · +
( F(b) − F(xN−1)
)
On the right-hand side, F(x1) is canceled by −F(x1) in the second term, F(x2) is canceled by −F(x2), etc. (Figure 1). In summation notation,
F(b) − F(a) = N∑
i=1
( F(xi) − F(xi−1)
) 2
y
x a = x0 x1 x2 x3 b = x4
F(b) y = F(x)
F(x3)
F(x2)
F(x1)
F(a)
F(b) − F(x3)
F(x3) − F(x2)
F(x2) − F(x1)
F(x1) − F(a)
F(b) − F(a)
FIGURE 1 Note the cancellation when we write F(b) − F(a) as a sum of small changes F(xi) − F(xi−1).
Step 2. Interpret Eq. (2) as a Riemann sum. The Mean Value Theorem tells us that there is a point c∗i in [xi−1, xi] such that
F(xi) − F(xi−1) = F ′(c∗i )(xi − xi−1) = f (c∗i )(xi − xi−1) = f (c∗i ) !xi Therefore, Eq. (2) can be written
F(b) − F(a) = N∑
i=1 f (c∗i ) !xi
This sum is the Riemann sum R(f, P, C∗) with sample points C∗ = {c∗i }.
Now,f is integrable (Theorem 1, Section 5.2), soR(f, P, C∗) approaches ∫ b
a f (x) dx
as the norm ∥P ∥ tends to zero. On the other hand, R(f, P, C∗) is equal to F(b) − F(a) with our particular choice C∗ of sample points. This proves the desired result:
F(b) − F(a) = lim ∥P ∥→0
R(f, P, C∗) = ∫ b
a f (x) dx
290 C H A P T E R 5 THE INTEGRAL
CONCEPTUAL INSIGHT A Tale of Two Graphs In the proof of FTC I, we used the MVT to write a small change in F(x) in terms of the derivative F ′(x) = f (x):
F(xi) − F(xi−1) = f (c∗i )!xi But f (c∗i )!xi is the area of a thin rectangle that approximates a sliver of area under the graph of f (Figure 2). This is the essence of the Fundamental Theorem: the total change F(b) − F(a) is equal to the sum of small changes F(xi) − F(xi−1), which in turn is equal to the sum of the areas of rectangles in a Riemann sum approximation for f (x). We derive the Fundamental Theorem itself by taking the limit as the width of the rectangles tends to zero.
yy
x c∗i
F(xi)
F(xi−1) F(xi) − F(xi−1)
a xixi−1 b c ∗ ia xixi−1 b
xi
xi
x
f (c∗i )
This change is equal to the area f (c∗i ) xi of this rectangle.
Graph of
Graph of
y = F (x)
y = f (x)
FIGURE 2
FTC I tells us that if we can find an antiderivative of f , then we can compute the definite integral easily, without calculating any limits. It is for this reason that we use
the integral sign ∫
for both the definite integral ∫ b
a f (x) dx and the indefinite integral
(antiderivative) ∫
f (x) dx.
Notation F(b) − F(a) is denoted F(x) ∣∣∣ b
a .
In this notation, the FTC reads ∫ b
a f (x) dx = F(x)
∣∣∣ b
a
EXAMPLE 1 Calculate the area under the graph of f (x) = x3 over [2, 4].REMINDER The Power Rule for Integrals (valid for n ̸= −1) states
∫ xn dx = x
n+1
n + 1 + C Solution Since F(x) = 14x4 is an antiderivative of f (x) = x3, FTC I gives us
∫ 4
2 x3 dx = F(4) − F(2) = 1
4 x4
∣∣∣ 4
2 = 1
4 44 − 1
4 24 = 60
EXAMPLE 2 Find the area under g(x) = x−3/4 + 3x5/3 over [1, 3]. Solution The function G(x) = 4x1/4 + 98x8/3 is an antiderivative of g. The area (Figure
321
20
x
y
FIGURE 3 Region under the graph of g(x) = x−3/4 + 3x5/3 over [1, 3].
3) is equal to
∫ 3
1 (x−3/4 + 3x5/3) dx = G(x)
∣∣∣ 3
1 =
( 4x1/4 + 9
8 x8/3
)∣∣∣∣ 3
1
= (
4 · 31/4 + 9 8
· 38/3 )
− (
4 · 11/4 + 9 8
· 18/3 )
≈ 26.325 − 5.125 = 21.2
S E C T I O N 5.4 The Fundamental Theorem of Calculus, Part I 291
EXAMPLE 3 Calculate ∫ π/4
−π/4 sec2 x dx and sketch the corresponding region.
x
y
− 2−2
3
2
1
π 4
π 4
FIGURE 4 Graph of y = sec2 x.
Solution Figure 4 shows the region. Recall that (tan x)′ = sec2 x. Therefore, ∫ π/4
−π/4 sec2 x dx = tan x
∣∣∣ π/4
−π/4 = tan
(π 4
) − tan
( −π
4
) = 1 − (−1) = 2
We know that the definite integral is equal to the signed area between the graph and the x-axis. Needless to say, the FTC “knows” this also: When you evaluate an integral using the FTC, you obtain the signed area.
EXAMPLE 4 Evaluate (a) ∫ π
0 sin x dx and (b)
∫ 2π
0 sin x dx.
Solution
(a) Since (− cos x)′ = sin x, the area of one “hump” (Figure 5) is
2ππ
y = sin x
x
y
1
FIGURE 5 The area of one hump is 2. The signed area over [0, 2π ] is zero.
∫ π
0 sin x dx = − cos x
∣∣∣ π
0 = − cos π − (− cos 0) = −(−1) − (−1) = 2
(b) We expect the signed area over [0, 2π ] to be zero since the second hump lies below the x-axis, and indeed,
∫ 2π
0 sin x dx = − cos x
∣∣∣ 2π
0 = (− cos(2π) − (− cos 0)) = −1 − (−1) = 0
EXAMPLE 5 Exponential Function Evaluate ∫ 0.6
−0.3 e3x−1 dx.
Solution The function F(x) = 13e3x−1 is an antiderivative of f (x) = e3x−1, so the
−0.3
2
4
0.6 x
y
y = e3x−1
FIGURE 6
definite integral (the shaded area in Figure 6) is ∫ 0.6
−0.3 e3x−1 dx = 1
3 e3x−1
∣∣∣ 0.6
−0.3 = 1
3 e3(0.6)−1 − 1
3 e3(−0.3)−1
≈ 0.742 − 0.050 = 0.692
Recall (Section 5.3) that F(x) = ln |x| is an antiderivative of f (x) = x−1 in the domain {x : x ̸= 0}. Therefore, the FTC yields the following formula [Figure 7(A)], which is valid if both a and b are positive or both are negative. Note that when a < 0 < b, the formula does not hold, since 0 is not in the domain of 1x , as in Figure 7(C).
∫ b
a
dx
x = ln |b| − ln |a| = ln b
a 3
y
0.5
2
(B) (C)
x 2 4 6 8
y
x 2 4
−2−4
y
x ba
y =
(A)
Area = ln 4 Signed area = ln
Area = ln || 1 x
y = 1x y = 1 x
1 2
b a
FIGURE 7
292 C H A P T E R 5 THE INTEGRAL
EXAMPLE 6 The Logarithm as an Antiderivative Evaluate (a) ∫ 8
2
dx
x and
(b) ∫ −2
−4
dx
x .
Solution By Eq. (3),
(a) ∫ 8
2
dx
x = ln 8
2 = ln 4 ≈ 1.39
(b) ∫ −2
−4
dx
x = ln
(−2 −4
) = ln 1
2 ≈ −0.69
The areas represented by these integrals are shown in Figures 7(B) and (C).
CONCEPTUAL INSIGHT Which Antiderivative? Antiderivatives are unique only to within an additive constant (Section 5.3). Does it matter which antiderivative is used in the FTC? The answer is no. If F and G are both antiderivatives of f , then F(x) = G(x) + C for some constant C, and
F(b) − F(a) = (G(b) + C) − (G(a) + C)︸ ︷︷ ︸ The constant cancels
= G(b) − G(a)
The two antiderivatives yield the same value for the definite integral: ∫ b
a f (x) dx = F(b) − F(a) = G(b) − G(a)
5.4 SUMMARY
• The Fundamental Theorem of Calculus, Part I, states that ∫ b
a f (x) dx = F(b) − F(a)
where F is an antiderivative of f. FTC I is used to evaluate definite integrals in cases where we can find an antiderivative of the integrand.
• Basic antiderivative formulas for evaluating definite integrals: ∫
xndx = x n+1
n + 1 + C for n ̸= −1∫ ex dx = ex + C,
∫ dx
x = ln |x| + C
∫ sin x dx = − cos x + C,
∫ cos x dx = sin x + C
∫ sec2 x dx = tan x + C,
∫ csc2 x dx = − cot x + C
∫ sec x tan x dx = sec x + C,
∫ csc x cot x dx = − csc x + C
5.4 EXERCISES
Preliminary Questions 1. Suppose that F ′(x) = f (x) and F(0) = 3, F(2) = 7.
(a) What is the area under y = f (x) over [0, 2] if f (x) ≥ 0? (b) What is the graphical interpretation of F(2) − F(0) if f (x) takes on both positive and negative values?
2. Suppose that f is a negative function with antiderivative F such that F(1) = 7 and F(3) = 4. What is the area (a positive number) be- tween the x-axis and the graph of f over [1, 3]?
3. Are the following statements true or false? Explain.
S E C T I O N 5.4 The Fundamental Theorem of Calculus, Part I 293
(a) FTC I is valid only for positive functions. (b) To use FTC I, you have to choose the right antiderivative. (c) If you cannot find an antiderivative of f , then the definite integral does not exist.
4. Evaluate ∫ 9
2 f ′(x) dx, where f is differentiable and f (2) =
f (9) = 4.
Exercises In Exercises 1–4, sketch the region under the graph of the function and find its area using FTC I.
1. f (x) = x2, [0, 1] 2. f (x) = 2x − x2, [0, 2]
3. f (x) = x−2, [1, 2] 4. f (x) = cos x, [ 0, π2
]
In Exercises 5–42, evaluate the integral using FTC I.
5. ∫ 6
3 x dx 6.
∫ 9
0 2 dx
7. ∫ 1
0 (4x − 9x2) dx 8.
∫ 2
−3 u2 du
9. ∫ 2
0 (12x5 + 3x2 − 4x) dx 10.
∫ 2
−2 (10x9 + 3x5) dx
11. ∫ 0
3 (2t3 − 6t2) dt 12.
∫ 1
−1 (5u4 + u2 − u) du
13. ∫ 4
0
√ y dy 14.
∫ 8
1 x4/3 dx
15. ∫ 1
1/16 t1/4 dt 16.
∫ 1
4 t5/2 dt
17. ∫ 3
1
dt
t2 18.
∫ 4
1 x−4 dx
19. ∫ 1
1/2
8
x3 dx 20.
∫ −1
−2 1
x3 dx
21. ∫ 2
1 (x2 − x−2) dx 22.
∫ 9
1 t−1/2 dt
23. ∫ 27
1
t + 1√ t
dt 24. ∫ 1
8/27
10t4/3 − 8t1/3 t2
dt
25. ∫ 3π/4
π/4 sin θ dθ 26.
∫ 4π
2π sin x dx
27. ∫ π/2
0 cos
( 1 3 θ
) dθ 28.
∫ 5π/8
π/4 cos 2x dx
29. ∫ π/6
0 sec2
( 3t − π
6
) dt 30.
∫ π/6
0 sec θ tan θ dθ
31. ∫ π/10
π/20 csc 5x cot 5x dx 32.
∫ π/14
π/28 csc2 7y dy
33. ∫ 1
0 ex dx 34.
∫ 5
3 e−4x dx
35. ∫ 3
0 e1−6t dt 36.
∫ 3
2 e4t−3 dt
37. ∫ 10
2
dx
x 38.
∫ −4
−12 dx
x
39. ∫ 1
0
dt
t + 1 40. ∫ 4
1
dt
5t + 4
41. ∫ 0
−2 (3x − 9e3x) dx 42.
∫ 6
2
( x + 1
x
) dx
In Exercises 43–48, write the integral as a sum of integrals without absolute values and evaluate.
43. ∫ 1
−2 |x| dx 44.
∫ 5
0 |3 − x| dx
45. ∫ 3
−2 |x3| dx 46.
∫ 3
0 |x2 − 1| dx
47. ∫ π
0 |cos x| dx 48.
∫ 5
0 |x2 − 4x + 3| dx
In Exercises 49–54, evaluate the integral in terms of the constants.
49. ∫ b
1 x3 dx 50.
∫ a
b x4 dx
51. ∫ b
1 x5 dx 52.
∫ x
−x (t3 + t) dt
53. ∫ 5a
a
dx
x 54.
∫ b2
b
dx
x
55. Calculate ∫ 3
−2 f (x) dx, where
f (x) = {
12 − x2 for x ≤ 2 x3 for x > 2
56. Calculate ∫ 2π
0 f (x) dx, where
f (x) = {
cos x for x ≤ π cos x − sin 2x for x > π
57. Use FTC I to show that ∫ 1
−1 xn dx = 0 if n is an odd whole number.
Explain graphically.
58. Plot the functionf (x) = sin 3x − x. Find the positive root of f to three decimal places and use it to find the area under the graph of f in the first quadrant.
59. Calculate F(4) given that F(1) = 3 and F ′(x) = x2. Hint: Express F(4) − F(1) as a definite integral.
294 C H A P T E R 5 THE INTEGRAL
60. Calculate G(16), where dG/dt = t−1/2 and G(9) = −5.
61. Does ∫ 1
0 xn dx get larger or smaller as n increases? Ex-
plain graphically.
62. Show that the area of the shaded parabolic arch in Figure 8 is equal to four-thirds the area of the triangle shown.
a b
y
x a + b
2
FIGURE 8 Graph of y = (x − a)(b − x).
Further Insights and Challenges 63. Prove a famous result of Archimedes (generalizing Exercise 62): For r < s, the area of the shaded region in Figure 9 is equal to four- thirds the area of triangle △ACE, where C is the point on the parabola at which the tangent line is parallel to secant line AE. (a) Show that C has x-coordinate (r + s)/2. (b) Show that ABDE has area (s − r)3/4 by viewing it as a parallel- ogram of height s − r and base of length CF . (c) Show that △ACE has area (s − r)3/8 by observing that it has the same base and height as the parallelogram. (d) Compute the shaded area as the area under the graph minus the area of a trapezoid, and prove Archimedes’s result.
r s
y
B C D
A F E x
r + s 2
FIGURE 9 Graph of f (x) = (x − a)(b − x).
64. (a) Apply the Comparison Theorem (Theorem 5 in Section 5.2) to the inequality sin x ≤ x (valid for x ≥ 0) to prove that
1 − x 2
2 ≤ cos x ≤ 1
(b) Apply it again to prove that
x − x 3
6 ≤ sin x ≤ x (for x ≥ 0)
(c) Verify these inequalities for x = 0.3.
65. Use the method of Exercise 64 to prove that
1 − x 2
2 ≤ cos x ≤ 1 − x
2
2 + x
4
24
x − x 3
6 ≤ sin x ≤ x − x
3
6 + x
5
120 (for x ≥ 0)
Verify these inequalities for x = 0.1. Why have we specified x ≥ 0 for sin x but not for cos x?
66. Calculate the next pair of inequalities for sin x and cos x by inte- grating the results of Exercise 65. Can you guess the general pattern?
67. Use FTC I to prove that if |f ′(x)| ≤ K for x ∈ [a, b], then |f (x) − f (a)| ≤ K|x − a| for x ∈ [a, b].
68. (a) Use Exercise 67 to prove that | sin a − sin b| ≤ |a − b| for all a, b.
(b) Let f (x) = sin(x + a) − sin x. Use part (a) to show that the graph of f lies between the horizontal lines y = ±a. (c) Plot y = f (x) and the lines y = ±a to verify (b) for a = 0.5 and a = 0.2.
5.5 The Fundamental Theorem of Calculus, Part II Part I of the Fundamental Theorem says that we can use antiderivatives to compute definite integrals. This is a huge advantage over having to take limits of Riemann sums. Part II of the Fundamental Theorem says that the derivative of a certain integral is the integrand. That is to say the derivative cancels out the action of the integral on the original function. However, it is a very particular integral for which this works.
To state Part II correctly , we introduce the area function of f with lower limit a: A is sometimes called the cumulative area function. In the definition of A(x), we use t as the variable of integration to avoid confusion with x, which is the upper limit of integration. In fact, t is a dummy variable and may be replaced by any other variable.
A(x) = ∫ x
a f (t) dt = signed area from a to x
In essence, we turn the definite integral into a function by treating the upper limit x as a
variable (Figure 1). Note that A(a) = 0 because A(a) = ∫ a
a f (t) dt = 0.
In some cases, we can find an explicit formula for A(x) (Figure 2).
EXAMPLE 1 Find a formula for the area function A(x) = ∫ x
3 t2 dt .
Solution The function F(t) = 13 t3 is an antiderivative for f (t) = t2. By FTC I,
A(x) = ∫ x
3 t2 dt = F(x) − F(3) = 1
3 x3 − 1
3 · 33 = 1
3 x3 − 9
S E C T I O N 5.5 The Fundamental Theorem of Calculus, Part II 295
a x t
y
y = f (t)
A(x)
FIGURE 1 A(x) is the area under the graph from a to x.
x
A(x)
7632 541
50
25
t
y
y = t2
FIGURE 2 The area under y = t2 from 3 to x is A(x) = 13x3 − 9.
Note, in the previous example, that the derivative of A is f itself:
A′(x) = d dx
( 1 3 x3 − 9
) = x2
FTC II states that this relation always holds: The derivative of the area function is equal to the original function.
THEOREM 1 Fundamental Theorem of Calculus, Part II Assume that f is continuous on an open interval I and let a be a point in I . Then the area function
A(x) = ∫ x
a f (t) dt
is an antiderivative of f on I ; that is, A′(x) = f (x). Equivalently,
d
dx
∫ x
a f (t) dt = f (x)
Furthermore, A(x) satisfies the initial condition A(a) = 0.
Proof First, we use the additivity property of the definite integral to write the change inIn this proof,
A(x) = ∫ x
a
f (t) dt
A(x + h) − A(x) = ∫ x+h
x
f (t) dt
A′(x) = lim h→0
A(x + h) − A(x) h
A over [x, x + h] as an integral:
A(x + h) − A(x) = ∫ x+h
a f (t) dt −
∫ x
a f (t) dt =
∫ x+h
x f (t) dt
In other words, A(x + h) − A(x) is equal to the area of the thin sliver between the graph and the x-axis from x to x + h in Figure 3.
To simplify the rest of the proof, we assume that f is increasing (see Exercise 50 for the general case). Then, if h > 0, this thin sliver lies between the two rectangles of heights f (x) and f (x + h) in Figure 4, and we have
hf (x)︸ ︷︷ ︸ Area of smaller rectangle
≤ A(x + h) − A(x)︸ ︷︷ ︸ Area of sliver
≤ hf (x + h)︸ ︷︷ ︸ Area of larger rectangle
x + hxa
This area equals A(x + h) − A(x).
y = f (t)
t
y
FIGURE 3 The area of the thin sliver equals A(x + h) − A(x).
f (x) f (x + h)
y = f (t)
t
y
x + hxa FIGURE 4 The shaded sliver lies between
the rectangles of heights f (x) and f (x + h).
296 C H A P T E R 5 THE INTEGRAL
Now divide by h to squeeze the difference quotient between f (x) and f (x + h):
f (x) ≤ A(x + h) − A(x) h
≤ f (x + h)
We have lim h→0+
f (x + h) = f (x) because f is continuous, and lim h→0+
f (x) = f (x), so the Squeeze Theorem gives us
lim h→0+
A(x + h) − A(x) h
= f (x) 1
A similar argument shows that for h < 0,
f (x + h) ≤ A(x + h) − A(x) h
≤ f (x)
Again, the Squeeze Theorem gives us
lim h→0−
A(x + h) − A(x) h
= f (x) 2
Equations (1) and (2) show that A′(x) exists and that A′(x) = f (x).
In the previous section, we saw that FTC I says that in order to evaluate ∫ b
a f (x) dx,
1
y
x
y = F(x)
1
y
t x
y = sin(t2)
− π
− π
FIGURE 5 Computer-generated graph of
F(x) = ∫ x
−√π sin(t2) dt .
if we can find an antiderivative F of f , we just take F(b) − F(a). FTC II assures us that an antiderivative of f exists.
CONCEPTUAL INSIGHT Many applications (in the sciences, engineering, and statistics) involve functions for which there is no explicit formula. Often, however, these functions can be expressed as definite integrals (or as infinite series). This enables us to compute their values numerically and create plots using a computer algebra system. Figure 5 shows a computer-generated graph of an antiderivative of f (x) = sin(x2), for which there is no explicit formula.
EXAMPLE 2 Antiderivative as an Integral Let F be the particular antiderivative of f (x) = sin(x2) satisfying F(−√π) = 0. Express F(x) as an integral.
Solution According to FTC II, the area function with lower limit a = −√π is an anti- derivative satisfying F(−√π) = 0:
F(x) = ∫ x
−√π sin(t2) dt
EXAMPLE 3 Differentiating an Integral Find the derivative of
A(x) = ∫ x
2
√ 1 + t3 dt
and calculate A′(2), A′(3), and A(2).
Solution By FTC II, A′(x) = √
1 + x3. In particular,
A′(2) = √
1 + 23 = 3 and A′(3) = √
1 + 33 = √
28
On the other hand, A(2) = ∫ 2
2
√ 1 + t3 dt = 0.
S E C T I O N 5.5 The Fundamental Theorem of Calculus, Part II 297
CONCEPTUAL INSIGHT The FTC shows that integration and differentiation are inverse operations. By FTC II, if you start with a continuous function f and form the integral∫ x
a f (t) dt , then you get back the original function by differentiating:
f (x) Integrate−→
∫ x
a f (t) dt
Differentiate−→ d dx
∫ x
a f (t) dt = f (x)
On the other hand, by FTC I, if you differentiate first and then integrate, you also recover f (x) [but only up to a constant f (a)]:
f (x) Differentiate−→ f ′(x) Integrate−→
∫ x
a f ′(t) dt = f (x) − f (a)
When the upper limit of the integral is a function of x rather than x itself, we use FTC II together with the Chain Rule to differentiate the integral.
EXAMPLE 4 The FTC and the Chain Rule Find the derivative of
G(x) = ∫ x2
−2 sin t dt
Solution FTC II does not apply directly because the upper limit is x2 rather than x. It is necessary to recognize that G is a composite function with outer function
A(x) = ∫ x
−2 sin t dt :
G(x) = A(x2) = ∫ x2
−2 sin t dt
FTC II tells us that A′(x) = sin x, so by the Chain Rule, G′(x) = A′(x2) · (x2)′ = sin(x2) · (2x) = 2x sin(x2)
Alternatively, we may set u = x2 and use the Chain Rule as follows: dG
dx = d
dx
∫ x2
−2 sin t dt =
( d
du
∫ u
−2 sin t dt
) du
dx = (sin u)2x = 2x sin(x2)
GRAPHICAL INSIGHT Another Tale of Two Graphs FTC II tells us that A′(x) = f (x), or in other words, f (x) is the rate of change of A(x). If we did not know this result, we might come to suspect it by comparing the graphs of A and f . Consider the following:
• Figure 6 shows that the increase in area !A for a given !x is larger at x2 than at x1 because f (x2) > f (x1). So the size of f (x) determines how quickly A(x) changes, as we would expect if A′(x) = f (x).
• Figure 7 shows that the sign of f (x) determines whether A is increasing or decreas- ing. If f (x) > 0, then A is increasing because positive area is added as we move to the right. When f (x) turns negative, A begins to decrease because we start adding negative area.
• A has a local max at points where f (x) changes sign from + to − (the points where the area turns negative), and has a local min when f (x) changes from − to +. This agrees with the First Derivative Test.
These observations show that f “behaves” like A′, as claimed by FTC II.
!A at x1
!A at x2
x1 x2
y
x
y = f (x)
FIGURE 6 The change in area !A for a given !x is larger when f (x) is larger.
A
Increasing
A
Increasing
A has local max
Area increasing here
A has local min
A
Decreasing
y = A(x)
y = f (x)
++++
− −
y
y
x
x
FIGURE 7 The sign of f (x) determines the increasing/decreasing behavior of A.
5.5 SUMMARY
• The area function with lower limit a: A(x) = ∫ x
a f (t) dt . It satisfies A(a) = 0.
• FTC II: A′(x) = f (x), or equivalently, d dx
∫ x
a f (t) dt = f (x).
298 C H A P T E R 5 THE INTEGRAL
• FTC II shows that every continuous function has an antiderivative—namely, its area function (with any lower limit).
• To differentiate the function G(x) = ∫ g(x)
a f (t) dt , write G(x) = A(g(x)), where
A(x) = ∫ x
a f (t) dt . Then use the Chain Rule:
G′(x) = A′(g(x))g′(x) = f (g(x))g′(x)
5.5 EXERCISES
Preliminary Questions 1. Let G(x) =
∫ x
4
√ t3 + 1 dt .
(a) Is the FTC II needed to calculate G(4)? (b) Is the FTC II needed to calculate G′(4)? 2. Which of the following is an antiderivative F of f (x) = x2 satis-
fying F(2) = 0?
(a) ∫ x
2 2t dt (b)
∫ 2
0 t2 dt (c)
∫ x
2 t2 dt
3. Does every continuous function have an antiderivative? Explain.
4. Let G(x) = ∫ x3
4 sin t dt . Which of the following statements are
correct?
(a) G is the composite function sin(x3).
(b) G is the composite function A(x3), where
A(x) = ∫ x
4 sin t dt
(c) G(x) is too complicated to differentiate.
(d) The Product Rule is used to differentiate G.
(e) The Chain Rule is used to differentiate G.
(f) G′(x) = 3x2 sin(x3).
Exercises 1. Write the area function of f (x) = 2x + 4 with lower limit a = −2
as an integral and find a formula for it.
2. Find a formula for the area function of f (x) = 2x + 4 with lower limit a = 0.
3. Let G(x) = ∫ x
1 (t 2 − 2) dt . Calculate G(1), G′(1), and G′(2).
Then find a formula for G(x).
4. Find F(0), F ′(0), and F ′(3), where F(x) = ∫ x
0
√ t2 + t dt .
5. Find G(1), G′(0), and G′(π/4), where G(x) = ∫ x
1 tan t dt .
6. Find H(−2) and H ′(−2), where H(x) = ∫ x
−2 du
u2 + 1 .
In Exercises 7–16, find formulas for the functions represented by the integrals.
7. ∫ x
2 u4 du 8.
∫ x
2 (12t2 − 8t) dt
9. ∫ x
0 sin u du 10.
∫ x
−π/4 sec2 θ dθ
11. ∫ x
4 e3u du 12.
∫ 0
x e−t dt
13. ∫ x2
1 t dt 14.
∫ x/4
x/2 sec2 u du
15. ∫ 9x+2
3x e−u du 16.
∫ √x
2
dt
t
In Exercises 17–20, express the antiderivative F of f satisfying the given initial condition as an integral.
17. f (x) = √
x3 + 1, F(5) = 0
18. f (x) = x + 1 x2 + 9 , F(7) = 0 19. f (x) = sec x, F(0) = 0
20. f (x) = e−x2 , F(−4) = 0 In Exercises 21–24, calculate the derivative.
21. d
dx
∫ x
0 (t5 − 9t3) dt 22. d
dθ
∫ θ
1 cot u du
23. d
dt
∫ t
100 sec(5x − 9) dx 24. d
ds
∫ s
−2 tan
( 1
1 + u2 )
du
25. Let A(x) = ∫ x
0 f (t) dt for f (x) in Figure 8.
(a) Calculate A(2), A(3), A′(2), and A′(3). (b) Find formulas for A(x) on [0, 2] and [2, 4], and sketch the graph of A.
4321
2
3
4
1 x
y
y = f (x)
FIGURE 8
S E C T I O N 5.5 The Fundamental Theorem of Calculus, Part II 299
26. Make a rough sketch of the graph of A(x) = ∫ x
0 g(t) dt for
y = g(x) in Figure 9.
4321
y = g(x)
x
y
FIGURE 9
27. Verify ∫ x
0 |t | dt = 1
2 x|x|. Hint: Consider x ≥ 0 and x ≤ 0 sepa-
rately.
28. Find G′(1), where G(x) = ∫ x2
0
√ t3 + 3 dt .
In Exercises 29–34, calculate the derivative.
29. d
dx
∫ x2
0
t dt
t + 1 30. d
dx
∫ 1/x
1 cos3 t dt
31. d
ds
∫ cos s
−6 u4 du 32.
d
dx
∫ x4
x2
√ t dt
Hint for Exercise 32: F(x) = A(x4) − A(x2).
33. d
dx
∫ x2 √
x tan t dt 34.
d
du
∫ 3u
−u
√ x2 + 1 dx
In Exercises 35–38, with y = f (x) as in Figure 10, let
A(x) = ∫ x
0 f (t) dt and B(x) =
∫ x
2 f (t) dt
35. Find the min and max of A on [0, 6]. 36. Find the min and max of B on [0, 6]. 37. Find formulas for A(x) and B(x) valid on [2, 4]. 38. Find formulas for A(x) and B(x) valid on [4, 5].
x
y
63 4 521
2
1
0 −1 −2
y = f (x)
FIGURE 10
39. Let A(x) = ∫ x
0 f (t) dt , with y = f (x) as in Figure 11.
(a) Does A have a local maximum at P ? (b) Where does A have a local minimum? (c) Where does A have a local maximum? (d) True or false? A(x) < 0 for all x in the interval shown.
x
y
SR
Q
P y = f (x)
FIGURE 11 Graph of y = f (x).
40. Determine f (x), given that ∫ x
0 f (t) dt = x2 + x.
41. Determine g(x) and all values of c such that ∫ x
c g(t) dt = x2 + x − 6
42. Find a ≤ b such that ∫ b
a (x2 − 9) dx has minimal value.
In Exercises 43–44, let A(x) = ∫ x
a f (t) dt .
43. Area Functions and Concavity Explain why the fol- lowing statements are true. Assume f is differentiable. (a) If c is an inflection point of A, then f ′(c) = 0. (b) A is concave up if f is increasing. (c) A is concave down if f is decreasing.
44. Match the property of A with the corresponding property of the graph of f. Assume f is differentiable.
Area function A (a) A is decreasing. (b) A has a local maximum. (c) A is concave up. (d) A goes from concave up to concave down.
Graph of f (i) Lies below the x-axis.
(ii) Crosses the x-axis from positive to negative. (iii) Has a local maximum. (iv) f is increasing.
45. Let A(x) = ∫ x
0 f (t) dt , with y = f (x) as in Figure 12. Deter-
mine: (a) The intervals on which A is increasing and decreasing (b) The values x where A has a local min or max (c) The inflection points of A (d) The intervals where A is concave up or concave down
2 4 6 8 10 12 x
y
y = f (x)
FIGURE 12
46. Let f (x) = x2 − 5x − 6 and F(x) = ∫ x
0 f (t) dt .
(a) Find the critical points of F and determine whether they are local minima or local maxima.
(b) Find the points of inflection of F and determine whether the con- cavity changes from up to down or from down to up.
(c) Plot y = f (x) and y = F(x) on the same set of axes and confirm your answers to (a) and (b).
47. Sketch the graph of an increasing function f such that both f ′(x)
and A(x) = ∫ x
0 f (t) dt are decreasing.
300 C H A P T E R 5 THE INTEGRAL
48. Figure 13 shows the graph of f (x) = x sin x. Let F(x) =∫ x 0
t sin t dt .
(a) Locate the local max and absolute max of F on [0, 3π ]. (b) Justify graphically: F has precisely one zero in [π, 2π ]. (c) How many zeros does F have in [0, 3π ]? (d) Find the inflection points of F on [0, 3π ]. For each one, state whether the concavity changes from up to down or from down to up.
−4
8
4
0 x
y
π π 2
3π 2π 3π 2
5π 2
FIGURE 13 Graph of f (x) = x sin x.
49. Find the smallest positive critical point of
F(x) = ∫ x
0 cos(t3/2) dt
and determine whether it is a local min or max. Then find the small- est positive inflection point of F(x) and use a graph of y = cos(x3/2) to determine whether the concavity changes from up to down or from down to up.
Further Insights and Challenges 50. Proof of FTC II The proof in the text assumes that f is increas- ing. To prove it for all continuous functions, let m(h) and M(h) denote the minimum and maximum of f on [x, x + h] (Figure 14). The conti- nuity of f implies that lim
h→0 m(h) = lim
h→0 M(h) = f (x). Show that for
h > 0,
hm(h) ≤ A(x + h) − A(x) ≤ hM(h)
For h < 0, the inequalities are reversed. Prove that A′(x) = f (x).
x + hxa t
y
M(h) m(h)
y = f (t)
FIGURE 14 Graphical interpretation of A(x + h) − A(x).
51. Proof of FTC I FTC I asserts that ∫ b
a f (t) dt = F(b) − F(a)
if F ′(x) = f (x). Use FTC II to give a new proof of FTC I as follows. Set A(x) =
∫ x
a f (t) dt .
(a) Show that F(x) = A(x) + C for some constant.
(b) Show that F(b) − F(a) = A(b) − A(a) = ∫ b
a f (t) dt .
52. Can Every Antiderivative Be Expressed as an Integral? The
area function A(x) = ∫ x
a f (t) dt is an antiderivative of f for every
value of a. However, not all antiderivatives are obtained in this way. The general antiderivative of f (x) = x is F(x) = 12x2 + C. Show that F is an area function if C ≤ 0 but not if C > 0.
53. Prove the formula
d
dx
∫ v(x)
u(x) f (t) dt = f (v(x))v′(x) − f (u(x))u′(x)
54. Use the result of Exercise 53 to calculate
d
dx
∫ ex
ln x sin t dt
5.6 Net Change as the Integral of a Rate of Change So far we have focused on the area interpretation of the integral. In this section, we use the integral to compute net change.
Consider the following problem: Water flows into an empty bucket at a rate of r(t) liters per second. How much water is in the bucket after 4 seconds? If the rate of water flow were constant—say, 1.5 liters/second (L/s)—we would have
Quantity of water = flow rate × time elapsed = (1.5)4 = 6 liters Suppose, however, that the flow rate r(t) varies as in Figure 1. Then the quantity of water is equal to the area under the graph of y = r(t). To prove this, let s(t) be the amount of water in the bucket at time t . Then s′(t) = r(t) because s′(t) is the rate at which the quantity of water is changing. Furthermore, s(0) = 0 because the bucket is initially empty. By FTC I,
4321
r (liters/s)
t (s)
ry = (t) 1.5
1.0
0.5
FIGURE 1 The quantity of water in the bucket is equal to the area under the graph of the flow rate r(t).
∫ 4
0 s′(t) dt
︸ ︷︷ ︸ Area under the graph
of the flow rate
= s(4) − s(0) = s(4)︸︷︷︸ Water in bucket
at t = 4
S E C T I O N 5.6 Net Change as the Integral of a Rate of Change 301
More generally, s(t2) − s(t1) is the net change in s(t) over the interval [t1, t2]. FTC I yields the following result.
In Theorem 1, the variable t does not have to be a time variable.
THEOREM 1 Net Change as the Integral of a Rate of Change The net change in s(t) over an interval [t1, t2] is given by the integral
∫ t2
t1
s′(t) dt ︸ ︷︷ ︸
Integral of the rate of change
= s(t2) − s(t1)︸ ︷︷ ︸ Net change over [t1,t2]
EXAMPLE 1 Water leaks from a tank at a rate of 2 + 5t liters/hour (L/h), where t is the number of hours after 7 am. How much water is lost between 9 and 11 am?
Solution Let s(t) be the quantity of water in the tank at time t . Then s′(t) = −(2 + 5t), where the minus sign occurs because s(t) is decreasing. Since 9 am and 11 am correspond to t = 2 and t = 4, respectively, the net change in s(t) between 9 and 11 am is
s(4) − s(2) = ∫ 4
2 s′(t) dt = −
∫ 4
2 (2 + 5t) dt
= − (
2t + 5 2 t2
)∣∣∣∣ 4
2 = (−48) − (−14) = −34 liters
The tank lost 34 liters between 9 and 11 am.
In the next example, we estimate an integral using numerical data. We shall compute the average of the left- and right-endpoint approximations, because this is usually more accurate than either endpoint approximation alone. (In Section 7.8, this average is called the Trapezoidal Approximation.)
EXAMPLE 2 Traffic Flow The number of cars per hour passing an observation point along a highway is called the traffic flow rate q(t) (in cars per hour).
(a) Which quantity is represented by the integral ∫ t2
t1
q(t) dt?
(b) The flow rate is recorded at 15-minute intervals between 7:00 and 9:00 am. Estimate the number of cars using the highway during this 2-hour (h) period.
t 7:00 7:15 7:30 7:45 8:00 8:15 8:30 8:45 9:00
q(t) 1044 1297 1478 1844 1451 1378 1155 802 542
Solution
(a) The integral ∫ t2 t1
q(t) dt represents the total number of cars that passed the observation point during the time interval [t1, t2]. (b) The data values are spaced at intervals of !t = 0.25 h. Thus,
LN = 0.25 (
1044 + 1297 + 1478 + 1844 + 1451 + 1378 + 1155 + 802 )
≈ 2612 RN = 0.25
( 1297 + 1478 + 1844 + 1451 + 1378 + 1155 + 802 + 542
)
≈ 2487 We estimate the number of cars that passed the observation point between 7 and 9 am by taking the average of RN and LN :
In Example 2, LN is the sum of the values of q(t) at the left endpoints
7:00, 7:15, . . . , 8:45
and RN is the sum of the values of q(t) at the right endpoints
7:15, . . . , 8:45, 9:00
∫ 9
7 q(t) dt ≈ 1
2 (RN + LN) =
1 2 (2612 + 2487) ≈ 2550
Approximately 2550 cars used the highway between 7 and 9 am.
302 C H A P T E R 5 THE INTEGRAL
The Integral of Velocity Let s(t) be the position at time t of an object in linear motion. Then the object’s velocity is v(t) = s′(t), and the integral of v is equal to the net change in position or displacement over a time interval [t1, t2]:
∫ t2
t1
v(t) dt = ∫ t2
t1
s′(t) dt = s(t2) − s(t1)︸ ︷︷ ︸ Displacement or net change in position
We must distinguish between displacement and distance traveled. If you travel 10 km and then return to your starting point, your displacement is zero but your distance traveled is 20 km. To compute distance traveled rather than displacement, we integrate the speed |v(t)|.
THEOREM 2 The Integral of Velocity For an object in linear motion with velocity v(t), then
Displacement during [t1, t2] = ∫ t2
t1
v(t) dt
Distance traveled during [t1, t2] = ∫ t2
t1
|v(t)| dt
EXAMPLE 3 A particle has velocity v(t) = t3 − 10t2 + 24t m/s. Compute:
642
v(t) (m/s)
15
10
0
5
−5
t (s)
FIGURE 2 Graph of v(t) = t3 − 10t2 + 24t . Over [4, 6], the dashed curve is the graph of |v(t)|.
(a) Displacement over [0, 6] (b) Total distance traveled over [0, 6] Indicate the particle’s trajectory with a motion diagram.
Solution First, we compute the indefinite integral: ∫
v(t) dt = ∫
(t3 − 10t2 + 24t) dt = 1 4 t4 − 10
3 t3 + 12t2 + C
(a) The displacement over the time interval [0, 6] is ∫ 6
0 v(t) dt =
( 1 4 t4 − 10
3 t3 + 12t2
)∣∣∣∣ 6
0 = 36 m
(b) The factorization v(t) = t (t − 4)(t − 6) shows that v(t) changes sign at t = 4. It is positive on [0, 4] and negative on [4, 6] as we see in Figure 2. Therefore, the total distance traveled is
∫ 6
0 |v(t)| dt =
∫ 4
0 v(t) dt −
∫ 6
4 v(t) dt
We evaluate these two integrals separately:
[0, 4]: ∫ 4
0 v(t) dt =
( 1 4 t4 − 10
3 t3 + 12t2
)∣∣∣∣ 4
0 = 128
3 m
[4, 6]: ∫ 6
4 v(t) dt =
( 1 4 t4 − 10
3 t3 + 12t2
)∣∣∣∣ 6
4 = −20
3 m
The total distance traveled is 1283 + 203 = 1483 = 49 13 m. Figure 3 is a motion diagram indicating the particle’s trajectory. The particle travels
128 3 m during the first 4 s and then backtracks
20 3 m over the next 2 s.
0
t = 0
t = 6 t = 4
36 Distance
128 3
FIGURE 3 Path of the particle along a straight line.
S E C T I O N 5.6 Net Change as the Integral of a Rate of Change 303
Total Versus Marginal Cost Consider the cost C(x) of a manufacturer (the dollar cost of producing x units of a particular product or commodity). The derivative C′(x) is called the marginal cost. TheIn Section 3.4, we defined the marginal
cost at production level x0 as the cost
C(x0 + 1) − C(x0)
of producing one additional unit. Since this marginal cost is approximated well by the derivative C ′(x0) for large values of x0 compared to 1, economists often refer to C ′(x) itself as the marginal cost.
cost of increasing production from a units to b units is the net change C(b) − C(a), which is equal to the integral of the marginal cost:
Cost of increasing production from a units to b units = ∫ b
a C′(x) dx
EXAMPLE 4 The marginal cost of producing x computer chips (in units of 1000) is C′(x) = 300x2 − 4000x + 40,000 (dollars per thousand chips). (a) Find the cost of increasing production from 10,000 to 15,000 chips. (b) Determine the total cost of producing 15,000 chips, assuming that it costs $30,000 to set up the manufacturing run [i.e., C(0) = 30,000]. Solution
(a) The cost of increasing production from 10,000 (x = 10) to 15,000 (x = 15) is
C(15) − C(10) = ∫ 15
10 (300x2 − 4000x + 40,000) dx
= (100x3 − 2000x2 + 40,000x) ∣∣∣ 15
10
= 487,500 − 300,000 = $187,500
(b) The cost of increasing production from 0 to 15,000 chips is
C(15) − C(0) = ∫ 15
0 (300x2 − 4000x + 40,000) dx
= (100x3 − 2000x2 + 40,000x) ∣∣∣ 15
0 = $487,500
The total cost of producing 15,000 chips includes the set-up costs of $30,000:
C(15) = C(0) + 487,500 = 30,000 + 487,500 = $517,500
5.6 SUMMARY
• Many applications are based on the following principle: The net change in a quantity s(t) is equal to the integral of its rate of change:
s(t2) − s(t1)︸ ︷︷ ︸ Net change over [t1,t2]
= ∫ t2
t1
s′(t) dt
• For an object traveling in a straight line at velocity v(t),
Displacement during [t1, t2] = ∫ t2
t1
v(t) dt
Total distance traveled during [t1, t2] = ∫ t2
t1
|v(t)| dt
• If C(x) is the cost of producing x units of a commodity, then C′(x) is the marginal cost and
Cost of increasing production from a units to b units = ∫ b
a C′(x) dx
304 C H A P T E R 5 THE INTEGRAL
5.6 EXERCISES
Preliminary Questions 1. Ahot metal object is submerged in cold water. The rate at which the
object cools (in degrees per minute) is a function f (t) of time. Which
quantity is represented by the integral ∫ T
0 f (t) dt?
2. Aplane travels 560 km from LosAngeles to San Francisco in 1 hour (h). If the plane’s velocity at time t is v(t) km/h, what is the value of∫ 1
0 v(t) dt?
3. Which of the following quantities would be naturally represented as derivatives and which as integrals?
(a) Velocity of a train
(b) Rainfall during a 6-month period
(c) Mileage per gallon of an automobile
(d) Increase in the U.S. population from 1990 to 2010
Exercises 1. Water flows into an empty reservoir at a rate of 3000 + 20t
liters per hour (L/h; t is in hours). What is the quantity of water in the reservoir after 5 h?
2. A population of insects increases at a rate of 200 + 10t + 0.25t2 insects per day (t in days). Find the insect population after 3 days, assuming that there are 35 insects at t = 0.
3. A survey shows that a mayoral candidate is gaining votes at a rate of 2000t + 1000 votes per day, where t is the number of days since she announced her candidacy. How many supporters will the candidate have after 60 days, assuming that she had no supporters at t = 0?
4. A factory produces bicycles at a rate of 95 + 3t2 − t bicycles per week (t in weeks). How many bicycles were produced from the begin- ning of week 2 to the end of week 3?
5. Find the displacement of a particle moving in a straight line with velocity v(t) = 4t − 3 m/s over the time interval [2, 5].
6. Find the displacement over the time interval [1, 6] of a helicopter whose (vertical) velocity at time t is v(t) = 0.02t2 + t m/s.
7. A cat falls from a tree (with zero initial velocity) at time t = 0. How far does the cat fall between t = 0.5 and t = 1 s? Use Galileo’s formula v(t) = −9.8t m/s.
8. Aprojectile is released with an initial (vertical) velocity of 100 m/s. Use the formula v(t) = 100 − 9.8t for velocity to determine the dis- tance traveled during the first 15 s.
In Exercises 9–12, a particle moves in a straight line with the given velocity (in meters per second). Find the displacement and distance traveled over the time interval, and draw a motion diagram like Figure 3 (with distance and time labels).
9. v(t) = 12 − 4t , [0, 5]
10. v(t) = 36 − 24t + 3t2, [0, 10]
11. v(t) = t−2 − 1, [0.5, 2] 12. v(t) = cos t , [0, 3π ]
13. Find the net change in velocity over [1, 4] of an object with a(t) = 8t − t2 m/s2.
14. Show that if acceleration is constant, then the change in velocity is proportional to the length of the time interval.
15. The traffic flow rate past a certain point on a highway is q(t) = 3000 + 2000t − 300t2 (t in hours), where t = 0 is 8 am. How many cars pass by in the time interval from 8 to 10 am?
16. The marginal cost of producing x tablet computers is C′(x) = 120 − 0.06x + 0.00001x2 What is the cost of producing 3000 units if the set-up cost is $90,000? If production is set at 3000 units, what is the c