Upload
others
View
11
Download
0
Embed Size (px)
Citation preview
ii
Contents
1 Introduction 11.1 How to Use the Study Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.2 Keys to Success in Studying Mathematics . . . . . . . . . . . . . . . . . . . . . . . 31.3 Preparing for the Examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Functions and Models 42.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.2 Learning Outcomes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.3 Principles of Problem Solving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.5 The Way Forward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Limits and Derivatives 73.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73.2 Learning Outcomes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73.3 Prescribed Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83.4 Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.4.1 Introduction to the Limit Concept . . . . . . . . . . . . . . . . . . . . . . . 83.4.2 Definition of a Limit: Left- and Right-hand Limits . . . . . . . . . . . . . . 10
3.5 Worked Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103.5.1 Limits as xβ c (c β R) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123.5.2 Limits as xβ Β±β . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.5.3 Limits Involving Absolute Values . . . . . . . . . . . . . . . . . . . . . . . 183.5.4 Left-hand and Right-hand Limits . . . . . . . . . . . . . . . . . . . . . . . 213.5.5 Limits Involving Trigonometric Functions . . . . . . . . . . . . . . . . . . . 243.5.6 The Squeeze Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283.5.7 The Ξ΅-Ξ΄ Definition of a Limit (Read only for other modules eg MAT2615) . 333.5.8 Continuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4 Differentiation Rules 464.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464.2 Learning Outcomes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464.3 Prescribed Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474.4 The Derivative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.4.1 Introducing the Derivative . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474.4.2 Definition of the Derivative . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.5 Worked Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504.5.1 Differentiation from First Principles (derivative as a Function) . . . . . . . 514.5.2 Basic Differentiation Formulas . . . . . . . . . . . . . . . . . . . . . . . . . 544.5.3 Derivatives of Trigonometric Functions and Inverse Trigonometric Functions 61
MAT1512 iii
4.5.4 Derivatives of Exponential and Logarithmic Functions . . . . . . . . . . . . 664.5.5 Logarithmic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724.5.6 Implicit Differentiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 774.5.7 Tangents and Normal Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . 804.5.8 The Mean Value Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5 Integrals 935.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 935.2 Learning Outcomes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 935.3 Prescribed Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945.4 Worked Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
5.4.1 Antiderivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 955.4.2 The Definite Integral and the Fundamental Theorem of Calculus β Part II . 985.4.3 The Definite Integral and the Area Between the Curve and the x-axis . . . 995.4.4 The Definite Integral and Area Under the Curve . . . . . . . . . . . . . . . 102
5.5 The Mean Value Theorem for Definite Integrals . . . . . . . . . . . . . . . . . . . . 1075.6 The Fundamental Theorem of Calculus β Part I . . . . . . . . . . . . . . . . . . . . 1095.7 Integration in General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1135.8 Indefinite Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1145.9 The Substitution Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1155.10 Integration of Exponential and Logarithmic Functions . . . . . . . . . . . . . . . . 1245.11 Review of Formulas and Techniques of Integration . . . . . . . . . . . . . . . . . . 125
6 Differential Equation, Growth and Decay and Partial Derivatives/Chain Rule1326.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326.2 Learning Outcomes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326.3 Prescribed Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1336.4 Worked Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
6.4.1 Differential Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1336.4.2 Growth and Decay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1436.4.3 Partial Derivatives/Chain Rule . . . . . . . . . . . . . . . . . . . . . . . . . 153
A Sequence and Summation Notation 169
B Mathematical Induction 174
iv
Contents
MAT1512 v
Study Unit 1
Introduction
Calculus is a set of formal rules and procedures. It gives you the tools you need tomeasure changes both qualitatively and quantitatively. Wikipedia (www.wikipedia.org) defines calculus as a branch of mathematics that includes the study of limits, deriva-tives, integrals, and infinite series, which constitute a major part of modern universityeducation. Calculus has widespread applications in science and engineering and is usedto solve complex and expansive problems for which algebra alone is insufficient. It buildson analytical geometry and mathematical analysis and includes two major branches βdifferential calculus and integral calculus β which are related through the FundamentalTheorem of Calculus. Differential calculus explores and analyses rates of change quanti-tatively and qualitatively. Integral calculus deals with the analysis (quantitatively and/orqualitatively) of how quantities or measures of values accumulate or diminish over time.The two processes β differentiation and integration β are reciprocal.
The purpose of this module is to equip you, the student, with those basic skills in differentialand integral calculus that are essential for the physical, life and economic sciences. Mostof the time you will be dealing with functions. Basically, a function is a generalised input-output process that defines the mapping of a set of input values to a set of output values.It is often defined as a rule for obtaining a numerical value from another given numericalvalue. You are also going to have to develop a very large repertoire of methods for depictingfunctions graphically/geometrically.
This course is built around your prescribed book. The purpose of this study guide is toguide you through those parts of the prescribed book that you must study for this module,and to provide you with many additional worked examples. The prescribed book is:
James Stewart CalculusMetric Version 8 EditionEarly TranscendentalsCengage LearningISBN 13:978-1-305-27237-8
MAT1512 1
1.1 How to Use the Study Guide
From now on we will refer to the prescribed book as βStewartβ. The study guide mustalways be used in conjunction with the prescribed textbook, because it is not a complete setof notes on the book. Chapters 1 to 4 of this study guide contain many additional workedproblems, taken from past examination papers and assignments. Before going throughthem, study the relevant parts in Stewart, and do the examples and some of the exercisesin Stewart. Also, before going through our solution to a problem in the study guide, trysolving it yourself. Remember that reading maths often means reading the samething over and over again.
We have included numerous worked examples for you. These are designed to stimulateyour thinking in such a way that you will come to appreciate and master the delicatebeauty and intricacies of the subject. All you have to do is keep going! Follow all theinstructions given. Try to write down all the answers to the activities in full. This isextremely important, as a major part of learning mathematics is thinking and writingdown what you think. By writing everything down, you will develop the essential skillof communicating mathematics effectively. The other reason for writing down youranswers, is to prevent you from losing your train of thought about a concept or mathemat-ical idea. If this happens, it takes a while to get your reasoning back to the same point.If you have everything written down, you can also go back the next day and check yourreasoning. Learning mathematics is an activity, and you will only learn by doing. Becauseyou will be thinking about the problems, you will, in most cases, be able to determine byyourself whether your reasoning is right, or not.
Your assignments are included in Tutorial Letter 101. Attempt these once you have com-pleted all the related activities in your study guide. Spend a part of your time each daydoing some of the questions, and a part studying new material. Being able to do an as-signment is proof that you have mastered the work of that particular section. In TutorialLetter 101 we have indicated which assignments you should submit for evaluation.
Also remember that statements, theorems and definitions are the building blocks of yourmathematical language β you cannot learn anything without knowing the basic facts. Beginby reading the preface of your prescribed book. This should give you a good idea of theimportance of the subject you are about to study.
2
Study Unit 1: Functions and Models
1.2 Keys to Success in Studying Mathematics
Plan Plan each week according to what will happening in your lifethat week. Decide how many study hours you need, and whereyou are going to fit those hours in. Write down what you planto do in each session. This way you can look forward to thework you have set for yourself and measure your success.
Evaluate Evaluate each study session. Did you enjoy your studies? Ifnot, why not? What can you change to make things better?Did you achieve what you set out to achieve? Did you use yourtime constructively? What can you do to improve your timemanagement?
Understand Understand the way you learn. One can only learn mathsthrough repetition and practice. DO IT, even if you think youknow the answer. Understanding comes through repetition,and this understanding eventually brings the JOY of master-ing mathematics.
Structure Structure each study session for best results. A suggestion isto divide your time into four parts: (1) Do five to ten min-utesβ revision and read through the important points: (2) Gothrough all the questions of the previous activities. (3) Studynew material by following the instructions in the study guide.(4) Attempt the questions in your assignments about the sec-tions you have completed.
Get or-ganised
(1) Make notes of the facts you have to remember. (2) Writedown the answers to all your activities. (3) Complete all theASSIGNMENTS!
Pace your-self
Work out how fast you will have to work. Some sections willtake longer than others, but assign about one month for eachchapter. This will give you two to four days for each section ineach chapter. Bear in mind that this is not the only moduleyou have registered for.
1.3 Preparing for the Examination
You are studying to improve yourself and NOT only to pass the examination. The exam-ination is there to REWARD you for what you have done and to CONFIRM that youhave done your work properly. If you have followed all the instructions above, you willalready be prepared for the examination and have nothing to worry about. Many studentsspend their time thinking that they cannot master mathematics. This is not true. If youput your mind to it and work hard, you will eventually master this subject.
GOOD LUCK!
MAT1512 3
Study Unit 2
Functions and Models
2.1 Background
This chapter of the study guide deals with Chapter 1 in Stewart. It forms a link betweenschool mathematics and calculus. Topics in algebra, trigonometry, analytic geometry andfunctions which are needed for calculus, are reviewed. Graphs of functions are studied,since they enable us to see and understand the behaviour of functions. In studying thischapter, you should brush up on and revise your school mathematics β especially thoseparts that are needed for an effective study of calculus. This chapter contains backgroundmaterial. At the same time, some topics which are important to understand calculus areintroduced. Therefore, the chapter will contain a few topics which you may have touchedon only briefly, or not at all, at school.
2.2 Learning Outcomes
At the end of this chapter, you should be able to
β’ algebraically manipulate real numbers, solve equations and work comfortably withmathematical concepts such as variables, inequalities and absolute values
β’ recognize, demonstrate your knowledge of and work with the different types of func-tions (polynomial, rational, trigonometric, exponential and logarithmic), their prop-erties and their representations
In calculus, the basic mathematical tool at the root of all we do is the function. Thatis why, in this functions and models chapter, you have to familiarize yourself with math-ematical ideas related to functions, such as the different types of functions, their graphsand representations of how they behave. First read the functions and models as given onpage 9 in Stewart. You should study the whole chapter. Remember that problem solvingplays a crucial role in the process of studying calculus.
4
Study Unit 2: Functions and Models
Note: The way to master calculus is to solve lots of calculus problems!
2.3 Principles of Problem Solving
There are no exact rules for solving problems. However, it is possible to outline somegeneral steps, or to give some hints or principles that may be useful in solving certainproblems.
The following steps and principles, which have been adapted from George Polyaβs bookHow to solve it, are in fact just common sense made explicit.
Step 1: Understand the problem. Read the problem and make sure that youunderstand what it is about. Ask yourself the following questions: What is the unknown?What are the given quantities? What conditions are given? In many cases it is useful todraw a βgivenβ diagram and identify the given quantities in the diagram. It is usuallynecessary to introduce suitable notation. In choosing symbols for the unknown quantities,we use letters such as a, b, c . . . x and y, and it also helps to use abbreviations or symbolssuch as V (volume) and t (time).
Step 2: Think of a plan. Try to find the connection between the data and theunknown. You may have to relate a problem to others you have seen before. Have you seenthe same problem in a slightly different form? Do you know a similar/related problem? Doyou know a theorem, rule, method or result that could be useful? Could you reformulatethe problem? Could you re-state it differently? Go back to your definitions.
If you cannot solve the proposed problem, try to solve some related problem first. Some-times you will be able to find a similar problem, while in other instances you may haveto use components, sections, and methods of other problems to solve a new one. Everyproblem you encounter becomes a potential method for solving other problems.
Step 3: Carry out the plan. In order to carry out your plan, you have to checkeach step. Can you see clearly that the step is correct? Can you prove that it is correct?
Step 4: Look back. Examine the solution you have obtained. Can you check theresult? Can you check the argument? Can you derive the solution differently? Can yousee it at a glance? Can you use result of, or the method to use for, some other problem?
MAT1512 5
2.4 Summary
Table 2.1 shows a summary of the mathematical ideas you need to master, with referencesto the relevant examples in your textbook. Try to do as many review exercises as you can.
Topic(s) Sections in Stewart Examples inStewart
I. Four ways to represent a function Section 1.1 1β11
II. Mathematical models Section 1.2 1β6
III. New function from old function Section 1.3 1β9
IV. Exponential functions Section 1.4 1β4
V. Inverse functions and logarithms Section 1.5 1β13
Table 2.1: Sections in Stewart.
Note: Each section (in Stewart) contains examples numbered from 1.
2.5 The Way Forward
The topics in the rest of the study guide are:
Chapter 2: Limits and Derivatives
Chapter 3: Differentiation Rules
Chapter 4: Integrals
Chapter 5: Differential Equations, Growth and Decay, and Partial Derivatives/ChainsRule
6
Study Unit 3
Limits and Derivatives
3.1 Background
The idea of a limit underlies the various branches of calculus. In fact, without limits,calculus simply would not exist. Every single notion of calculus is a limit in one sense oranother and the idea of a limit plays a fundamental role in concepts such as instantaneousvelocity, the slope of a curve, the length of a curve, the sum of infinite series, etc. Therole played by limits in both differential and integral calculus is crucial. In this chapter,three main ideas will be introduced. They are: (a) the basic rules (definitions) of limitsand their applications in evaluating limits of algebraic and trigonometric functions; (b) theapplication of limits to the continuity of functions; and (c) the use of the Squeeze Theoremin determining certain limits. Begin by reading through the preview of this chapter onpage 77 in Stewart. You will notice that a mathematical model is used to predict how afunction will behave. Graphs are also used to represent function behaviour and will laterbe used to solve problems.
3.2 Learning Outcomes
At the end of this chapter, you should be able to
β’ demonstrate an understanding of the concepts relating to limits and how these areapplied in evaluating limits of the form lim
xβcf (x), lim
xβc+f (x), lim
xβcβf (x), lim
xβ+βf (x)
and limxβββ
f (x), where c is a real number and f is an algebraic or trigonometric
function
β’ use the limit definition of continuity
β’ solve problems based on the Squeeze Theorem
MAT1512 7
3.3 Prescribed Reading
The prescribed reading in Stewart is Chapter 2, Sections 2.1, 2.2, 2.3, 2.4 and 2.5. Alsosee Appendix F: A39 (Limit laws) and A42 (The Squeeze Theorem).
Note: The way to master calculus is to solve a lot of calculus problems!
3.4 Limit
3.4.1 Introduction to the Limit Concept
Read carefully through Section 2.1 in Stewart. You will notice that we have two problemsβ one dealing with finding the slope of a curve at a specific point and the other dealingwith finding the length of a curve. In the first problem, the closer the second point getsto a certain point, the closer the computed value gets to the actual value we are lookingfor. This calculus problem involves a process called the limit. You can estimate the slopeof the curve using a sequence of approximations. The limit allows you to compute theslope exactly. Similarly, in the second problem β in trying to compute the distance along acurved path β you would have to go through better approximations successively until youreach the actual value. The actual arc length is obtained by using the limit. The limitvalue is the height or the y-value of a function.
A left-hand limit is the y-value you obtain by approaching x from the left side.
A right-hand limit is the y-value you obtain by approaching x from the right side.
Let us use two functions to explore the limit concept. The first function, f (x) =x2 β 4
xβ 2,
is undefined at x = 2, but its behaviour can be examined in the area close to x = 2. Fromthe value in the tables, you can see that the limit of f (x) as x approaches 2 from the leftor right is 4.
x f (x) =x2 β 4
xβ 21.9 3.91.99 3.991.999 3.9991.9999 3.9999
x f (x) =x2 β 4
xβ 22.1 4.12.01 4.012.001 4.0012.0001 4.0001
limxβ2β
f (x) = 4
8
Study Unit 3: Limits and Derivatives
Figure 3.1: Graph of f (x) =x2 β 4
xβ 2
limxβ2+
f (x) = 4
This can be written mathematically as follows:
limxβ2
f (x) = 4.
Consider another function g (x) =x2 β 5
xβ 2or y =
x2 β 5
xβ 2.
x g (x) =x2 β 5
xβ 21.9 13.91.99 103.991.999 1003.9991.9999 10,003.9999
x y =x2 β 5
xβ 22.1 -5.12.01 -95.992.001 -995.9992.0001 -9,995.9999
MAT1512 9
Figure 3.2: Graph of f (x) =x2 β 5
xβ 2
Note: As x approaches 2 (from the left or from the right), the value of g(x) gets biggerin absolute value but with opposite signs on opposite sides of 2. The limit of g(x) as xapproaches 2 from the left, and the limit of g(x) as x approaches 2 from the right are notequal. Mathematically, this can be written as follows: lim
xβ2βg (x) 6= lim
xβ2+g (x) and this
statement means thatlimxβ2
g (x) does not exist.
3.4.2 Definition of a Limit: Left- and Right-hand Limits
We say a limit exists if and only if the corresponding one-sided limits are equal. That is, if
limxβaβ
f(x) = limxβa+
f(x). In general, limxβa
f (x) = L for some number L if, and only if,
limxβaβ
f (x) = limxβa+
f (x) = L.
Let us now consider some worked examples.
3.5 Worked Examples
Our collection of worked examples of the work covered in this study guide can be dividedinto eight sets (with some overlap), namely:
I. Limits as xβ c, c β R (cancellations)
II. Limits as xβ Β±β
10
Study Unit 3: Limits and Derivatives
III. Limits involving absolute values
IV. Left-hand and right-hand limits
V. Limits involving trigonometric functions
VI. The Squeeze Theorem
VII. The Ξ΅β Ξ΄ definition of a limit
VIII. Continuity
Table 3.1 shows which sections of Stewart, and which worked examples in the study guideyou must consult.
Topic(s) Sections in Stewart Examples instudy guide
I. Limits as xβ c, c β R Sections 2.1, 2.2 & 2.3 1β12
II. Limits as xβ Β±β Section 2.6 (examples 1β5 & 10β11) 13β27
III. Limits involving absolute values Section 2.3 (examples 7β9) 22β27
IV. Left-hand and right-hand limits Section 2.2 (examples 6, 7 & 9) 28β40
V. Limits involving trigonometric Section 2.2 (examples 3β5 & 10) 41β52functions
VI. The Squeeze Theorem Section 2.3 page 101 (example 11 ) 53β57
VII. The Ξ΅-Ξ΄ definition of a limit Section 2.4 (read only) 58β63
VIII. Continuity Section 2.5 (examples 1β9) 64β70
Table 3.1: Sections in Stewart.
In the following sections, we present a number of worked examples based on the mathemat-ical concepts and ideas in each section of this chapter, together with appropriate teachingtexts and references to Stewart. The solutions to the problems appear immediately aftereach set of examples. Unlike the exercises in Stewart, the examples in the study guide arenot arranged in order of difficulty. Only attempt them once you have studied the relevantparts and done some of the exercises in Stewart.
MAT1512 11
3.5.1 Limits as xβ c (c β R)
Determine the following limits:
1. limxββ1
x3 + 1
βx2 + x+ 22. lim
xββ3
x+ 3
x2 + 4x+ 3
3. limxβ1
x2 β 2x+ 1
x3 β 2x2 + x4. lim
xβ0
5x3 + 8x2
3x4 β 16x2
5. limxββ1
x2 β 2xβ 3
x2 β 16. lim
xβ3
x2 β 9
x3 β 27
7. limxββ1
x4 β 1
x+ 18. lim
xβ3
x3 β 27
x2 β 3x
9. limxβ1
xβ 1βx2 + 24β 5
10. limhβ0
β(x+ h)2 + 1β
βx2 + 1
h
11. limxββ2
(x2 β 2x
) 13 β 2
x2 β 2xβ 812. lim
xβ10
(xβ 2)13 β 2
xβ 10
12
Study Unit 3: Limits and Derivatives
Solutions:
1. limxββ1
x3 + 1
βx2 + x+ 22. lim
xββ3
x+ 3
x2 + 4x+ 3
= limxββ1
(x+ 1)(x2 β x+ 1
)(x+ 1) (2β x)
= limxββ3
x+ 3
(x+ 3) (x+ 1)
= limxββ1
x2 β x+ 1
2β x= lim
xββ3
1
x+ 1
= 33 = 1. =
1
β3 + 1= β1
2 .
3. = limxβ1
x2 β 2x+ 1
x3 β 2x2 + x4. lim
xβ0
5x3 + 8x2
3x4 β 16x2
= limxβ1
(xβ 1)2
x (xβ 1)2= lim
xβ0
x2 (5x+ 8)
x2 (3x2 β 16)
= limxβ1
1
x= 1. = lim
xβ0
5x+ 8
3x2 β 16
= = β 816 = β1
2 .
5. limxββ1
x2 β 2xβ 3
x2 β 16. lim
xβ3
x2 β 9
x3 β 27
= limxββ1
(x+ 1) (xβ 3)
(x+ 1) (xβ 1)= lim
xβ3
(xβ 3) (x+ 3)
(xβ 3) (x2 + 3x+ 9)
= limxββ1
xβ 3
xβ 1= lim
xβ3
x+ 3
x2 + 3x+ 9
=β4
β2= 2. = 6
27 = 29 .
7. limxββ1
x4 β 1
x+ 18. = lim
xβ3
x3 β 27
x2 β 3x
= limxββ1
(x2 β 1
) (x2 + 1
)x+ 1
= limxβ3
(xβ 3)(x2 + 3x+ 9
)x (xβ 3)
= limxββ1
(xβ 1) (x+ 1)(x2 + 1
)x+ 1
= limxβ3
x2 + 3x+ 9
x= lim
xββ1(xβ 1)
(x2 + 1
)= 9.
= (β1β 1)[(β1)2 + 1
]= β4.
In the following two solutions we make use of (i) the identity and (ii) rationalising:
(i) A2 βB2 = (AβB) (A+B)
(ii) Rationalising the denominator, eg
1βx
=1βxΒ·βxβx
=
βx
x
(AβB)(A+B) = A2 βB2.
MAT1512 13
9.
limxβ1
xβ 1βx2 + 24β 5
= limxβ1
(xβ 1β
x2 + 24β 5Β·βx2 + 24 + 5βx2 + 24 + 5
)
= limxβ1
(xβ 1)(β
x2 + 24 + 5)
x2 + 24β 25
= limxβ1
(xβ 1)(β
x2 + 24 + 5)
x2 β 1
= limxβ1
(xβ 1)(β
x2 + 24 + 5)
(xβ 1) (x+ 1)
= limxβ1
βx2 + 24 + 5
x+ 1= 5.
10.
limhβ0
β(x+ h)2 + 1β
βx2 + 1
h
= limhβ0
(β(x+ h)2 + 1β
βx2 + 1
)(β(x+ h)2 + 1 +
βx2 + 1
)h
(β(x+ h)2 + 1 +
βx2 + 1
)= lim
hβ0
(x+ h)2 + 1β(x2 + 1
)h
(β(x+ h)2 + 1 +
βx2 + 1
)= lim
hβ0
x2 + 2xh+ h2 + 1β x2 β 1
h
(β(x+ h)2 + 1 +
βx2 + 1
)= lim
hβ0
2x+ hβ(x+ h)2 + 1 +
βx2 + 1
=xβ
x2 + 1.
In the following two solutions we make use of the identity
(AβB)(A2 +AB +B2) = A3 βB3.
11.
limxββ2
(x2 β 2x
) 13 β 2
x2 β 2xβ 8= lim
xββ2
(x2 β 2x) 1
3 β 2
x2 β 2xβ 8Β·(x2 β 2x
) 23 + 2
(x2 β 2x
) 13 + 4
(x2 β 2x)23 + 2 (x2 β 2x)
13 + 4
= lim
xββ2
x2 β 2xβ 8
(x2 β 2xβ 8)[(x2 β 2x)
23 + 2 (x2 β 2x)
13 + 4
]= lim
xββ2
1
(x2 β 2x)23 + 2 (x2 β 2x)
13 + 4
=1
4 + 4 + 4=
1
12.
14
Study Unit 3: Limits and Derivatives
(Here we put A = (x2 β 2x)13 and B = 2, and multiplied both numerator and
denominator by A2 +AB +B2.)
12.
limxβ10
(xβ 2)13 β 2
xβ 10
= limxβ10
((xβ 2)
13 β 2
xβ 10Β· (xβ 2)
23 + 2 (xβ 2)
13 + 4
(xβ 2)23 + 2 (xβ 2)
13 + 4
)
= limxβ10
(xβ 2)β 8
(xβ 10)(
(xβ 2)23 + 2 (xβ 2)
13 + 4
)= lim
xβ10
1
(xβ 2)23 + 2 (xβ 2)
13 + 4
=1
4 + 4 + 4=
1
12.
3.5.2 Limits as xβ Β±β
In this case, if you are required to find the limit of a function which is a polynomialdivided by another polynomial, find the highest power of the variable in the denominatorand divide each term in both numerator and denominator by that power.
Note:
limxβΒ±β
1x = 0.
Example:
Find the following limit: limxββ
6x2 β 1
2x2 + 7x
Solution:
limxββ
6x2 β 1
2x2 + 7x= lim
xββ
6x2
x2β 1
x2
2x2
x2+ 7x
x2
Notice that the highest power in the denominator is x2,divide each term in both numerator and denominatorby x2.
= limxββ
6β 1x2
2 + 7x2
=6β 0
2 + 0
=6
2= 3.
Now determine the following limits:
MAT1512 15
13. limxββ
x4 + x3
12x3 + 12814. lim
xββ
7x3 + 1
x2 + x
15. limxβββ
7x3 + 1
x2 + x16. lim
xββ
9x4 + x
2x4 + 5x2 β x+ 6
17. limxβββ
βx2 + 4xβ 2x
2x18. lim
xβββ
4x+ 8βx2 + 7xβ 2x
19. limxβββ
(βx2 + 2x+ x
)20. lim
xβββ
1βx2 + 5x+ x
21. limxββ
[(x3 + x2
) 13 β x
]
Solutions:
13.
limxββ
x4 + x3
12x3 + 128
= limxββ
x+ 1
12 + (128/x3)= β.
14.
limxββ
7x3 + 1
x2 + x
= limxββ
7x+ 1/x2
1 + 1/x= β.
15.
limxβββ
7x3 + 1
x2 + x
= limxβββ
7x+ 1x2
1 + 1x
= ββ.
16.
limxββ
9x4 + x
2x4 + 5x2 β x+ 6
= limxββ
9 +(1/x3
)2 + (5/x2)β (1/x3) + (6/x4)
=9 + 0
2 + 0β 0 + 0
=9
2.
16
Study Unit 3: Limits and Derivatives
17.
limxβββ
βx2 + 4xβ 2x
2x
= limxβββ
βx2 (1 + 4/x)β 2x
2x
= limxβββ
|x|β
1 + 4/xβ 2x
2x
= limxβββ
βxβ
1 + 4/xβ 2x
2x(|x| = βx since x < 0)
= limxβββ
βx(β
1 + 4/x+ 2)
2x
= limxβββ
β(β
1 + 4/x+ 2)
2= β3
2.
18.
limxβββ
4x+ 8βx2 + 7xβ 2x
= limxβββ
4x+ 8βx2 (1 + (7/x))β 2x
= limxβββ
4x+ 8
|x|β
1 + (7/x)β 2x(βx2 = |x|)
= limxβββ
4x+ 8
βxβ
1 + (7/x)β 2x(|x| = βx since x < 0)
= limxβββ
4 + (8/x)
ββ
1 + (7/x)β 2
=4 + 0
ββ
1 + 0β 2= β4
3.
19.
limxβββ
(βx2 + 2x+ x
)= lim
xβββ
(βx2 + 2x+ x
)(βx2 + 2xβ x
)βx2 + 2xβ x
= limxβββ
x2 + 2xβ x2βx2 + 2xβ x
= limxβββ
2x
|x|β
1 + 2/xβ x
= limxβββ
2x
βxβ
1 + 2/xβ x(|x| = βx since x < 0)
= limxβββ
2
ββ
1 + 2/xβ 1= β1.
MAT1512 17
20.
limxβββ
1βx2 + 5x+ x
= limxβββ
(1β
x2 + 5x+ xΒ·βx2 + 5xβ xβx2 + 5xβ x
)
= limxβββ
βx2 + 5xβ x
5x
= limxβββ
βx2 (1 + 5/x)β x
5x
= limxβββ
|x|β
1 + 5/xβ x5x
(βx2 = |x|
)= lim
xβββ
βxβ
1 + 5/xβ x5x
(|x| = βx since x < 0)
= limxβββ
ββ
1 + 5/xβ 1
5
=ββ
1 + 0β 1
5= β2
5.
21.
limxββ
[(x3 + x2
) 13 β x
]= lim
xββ
[(x3 + x2
) 13 β x
] [(x3 + x2
) 23 + x
(x3 + x2
) 13 + x2
](x3 + x2)
23 + x (x3 + x2)
13 + x2
= limxββ
x3 + x2 β x3
(x3 + x2)23 + x (x3 + x2)
13 + x2
= limxββ
x2
x2 (1 + 1/x)23 + x2 (1 + 1/x)
13 + x2
= limxββ
1
(1 + 1/x)23 + (1 + 1/x)
13 + 1
=1
3.
3.5.3 Limits Involving Absolute Values
Remember from high school that
|x| ={
x if x β₯ 0βx if x < 0
The definition of absolute value gives a function in two sections (parts) with correspondingintervals,
ie if y = |x| then
y =
{x if x β₯ 0βx if x < 0
Another example:
18
Study Unit 3: Limits and Derivatives
If f(x) = |3β 2x|, then we can write
f (x) =
{3β 2x if 3β 2x β₯ 0
β (3β 2x) if 3β 2x < 0
But 3β 2x β₯ 0β 3 β₯ 2xβ 32 β₯ xβ x β₯ 3
2Similarly, 3β 2x < 0β 3 < 2xβ 3
2 < xβ x > 32
Thus,
f (x) =
3β 2x if x β€ 3
2
β3 + 2x if x > 32
Let us look at one example:
Find the following limit:
limxββ
xβ 5
|3β 2x|
Solution:
limxββ
xβ 5
|3β 2x|= lim
xββ
xβ 5
β3 + 2x= lim
xββ
xx β
5x
β3x + 2x
x
(|3β 2x| = β (3β 2x) since x >
3
2
)= lim
xββ
1β 5x
β3x + 2
=1β 0
β0 + 2
=1
2.
Note: Since we have x β β, x > 32 and this is why we have |3β 2x| = β3 + 2x in our
example above.
Now determine the rest of the limits below.
22. limxββ
3x+ 1
|2β x|23. lim
xβββ
|x||x|+ 1
24. limxβββ
x
|x|25. lim
xβββ
|x+ 1|x+ 1
26. limxβββ
|x+ 1|2x+ 3
27. limxβββ
2 + |2x+ 1|2x+ 1
MAT1512 19
Solutions:
22.
|2β x| =
{2β x if 2β x β₯ 0β (2β x) if 2β x < 0
=
{2β x if x β€ 2xβ 2 if x > 2
Hence
limxββ
3x+ 1
|2β x|
= limxββ
3x+ 1
xβ 2( |2β x| = xβ 2 since x > 2)
= limxββ
3 + 1/x
1β 2/x
=3 + 0
1β 0= 3.
23.
limxβββ
|x||x|+ 1
= limxβββ
βxβx+ 1
(|x| = βx since x < 0)
= limxβββ
β1
β1 + 1x
= 1.
24.
limxβββ
x
|x|
= limxβββ
x
βx(|x| = βx since x < 0)
= limxβββ
(β1) = β1.
25.
limxβββ
|x+ 1|x+ 1
= limxβββ
β (x+ 1)
x+ 1(|x+ 1| = β (x+ 1) since x < β1)
= limxβββ
(β1) = β1.
26.
limxβββ
|x+ 1|2x+ 3
= limxβββ
β (x+ 1)
2x+ 3(since x < β1)
= limxβββ
β1β 1/x
2 + 3/x= β1
2.
20
Study Unit 3: Limits and Derivatives
27.
limxβββ
2 + |2x+ 1|2x+ 1
= limxβββ
2β (2x+ 1)
2x+ 1(|2x+ 1| = β (2x+ 1) since x < β1
2)
= limxβββ
1β 2x
2x+ 1
= limxβββ
1x β 2
2 + 1x
= β1.
3.5.4 Left-hand and Right-hand Limits
A left-hand limit is the y-value you obtain by approaching x from the left side.
A right-hand limit is the y-value you obtain by approaching x from the right side.
Let us try out one example:
Suppose
h (x) =
x if x < 0x2 if 0 < x β€ 2
8β x if x > 2.
Evaluate the following limits:
28. limxβ0β
h (x)
29. limxβ0+
h (x)
30. limxβ2β
h (x)
31. limxβ2+
h (x)
32. limxβ2
h (x)
Solutions:
28. limxβ0β
h (x) = limxβ0β
x = 0.
29. limxβ0+
h (x) = limxβ0+
x2 = 02 = 0.
30. limxβ2β
h (x) = limxβ2β
x2 = 22 = 4.
MAT1512 21
31. limxβ2+
h (x) = limxβ2+
(8β x) = 8β 2 = 6.
32. limxβ2
h (x) does not exist, since limxβ2β
h (x) 6= limxβ2+
h (x) .
Now determine the following limits:
33. limxβ2β
1
xβ 2
34. limxβ2β
f(x), where
f(x) =
x+ 2 if x > 2x2 if x < 20 if x = 2
35. limxβ0β
1
|x|
36. limxβ0β
x
|x|
37. Let
f(x) =
{2 if x > 1
1β x2 if x < 1
(a) Draw the graph of f.
(b) Determine limxβ1β
f(x) and limxβ1+
f(x).
(c) Does limxβ1
f(x) exist? Give a reason for your answer.
38. Let
f(x) =
x2 + 1 if x > 2
0 if x = 2 or x = 01x if x < 2 and x 6= 0
Determine limxβ2+
f (x) , limxβ2β
f (x) , limxβ2
f (x), limxββ
f (x) and limxβββ
f(x), if these
limits exist.
39. Let
f(x) =
3β x if x < 2
2 if x = 2x2 if x > 2
Find limxβ2+
f(x) and limxβ2β
f(x). Does limxβ2
f(x) exist? If so, what is it?
Solutions:
22
Study Unit 3: Limits and Derivatives
33. limxβ2β
1
xβ 2(because xβ 2β 0 and 1
xβ2 < 0)
= ββ.
34. limxβ2β
f(x) = limxβ2β
x2 (since x < 2)
= 4.
35. limxβ0β
1
|x|
= limxβ0β
1
βx(|x| = βx since x < 0)
=β .
36. If x tends to 0β, then x is negative. According to the definition of the absolute value,we then have that |x| = βx.
Consequently,
limxβ0β
x
|x|
= limxβ0β
x
βx= lim
xβ0β(β1) = β1.
37. (a)
Figure 3.3: Graph of f(x)
(b) limxβ1β
f(x) = limxβ1β
(1β x2) = 1β 1 = 0.
limxβ1+
f(x) = limxβ1+
(2) = 2.
MAT1512 23
(c) limxβ1
f(x) does not exist, because
limxβ1+
f(x) 6= limxβ1β
f(x).
38. limxβ2+
f(x) = limxβ2+
(x2 + 1) = 5.
limxβ2β
f(x) = limxβ2β
(1
x
)=
1
2.
limxβ2
f(x) does not exist, since limxβ2+
f(x) 6= limxβ2β
f(x).
limxββ
f(x) = limxββ
(x2 + 1) =β.
limxβββ
f(x) = limxβββ
(1
x
)= 0.
39. limxβ2+
f(x) = limxβ2+
x
2=
2
2= 1
while
limxβ2β
f(x) = limxβ2β
(3β x) = 3β 2 = 1.
limxβ2
f(x) exists, since limxβ2+
f(x) = limxβ2β
f(x).
We have limxβ2
f(x) = 1.
3.5.5 Limits Involving Trigonometric Functions
In order to compute the derivatives of the trigonometric functions (for example, by usingthe first principle of differentiation), we first have to know how to evaluate the limits oftrigonometric functions.
Below are some of the theorems you need to know:
(i) limxβ0
sinx = 0,
(ii) limxβ0
cosx = 1,
(iii) limxβ0
sinx
x= lim
xβ0
x
sinx= 1,
24
Study Unit 3: Limits and Derivatives
(iv) limxβ0
cosxβ 1
x= lim
xβ0
1β cosx
x= 0.
Examples:
Find the following limit:
limΞΈβ0
sin (5ΞΈ)
3ΞΈ
Solution:
In order to apply theorem (iii) above, we first have to re-write the function as follows:
sin 5ΞΈ
3ΞΈ=
sin 5ΞΈ
3ΞΈ.5
5=
5 sin 5ΞΈ
3.5ΞΈ=
5
3
(sin 5ΞΈ
5ΞΈ
)
Notice that as ΞΈ β 0 we have 5ΞΈ β 0. So by theorem (iii) above, with x = 5ΞΈ,
we have limΞΈβ0
sin 5ΞΈ
5ΞΈ= lim
5ΞΈβ0
sin (5ΞΈ)
5ΞΈ= 1.
Therefore,
limΞΈβ0
sin 5ΞΈ
3ΞΈ= lim
ΞΈβ0
5
3
(sin (5ΞΈ)
5ΞΈ
)=
5
3limΞΈβ0
sin 5ΞΈ
5ΞΈ
=5
3.1
=5
3.
Also find the following limitlimxβ0
x cotx.
MAT1512 25
Solution:
limxβ0
x cotx = limxβ0
xcosx
sinx
= limxβ0
cosxsinxx
=limxβ0
cosx
limxβ0
sinxx
=1
1= 1.
Also, determine the following limits:
40. limxβ0β
x
tanx
41. limΞΈβ0
ΞΈ2
tan ΞΈ42. lim
ΞΈβ0
sin (5ΞΈ)
2ΞΈ
43. limxβ0
x+ sinx
x44. lim
tβ0
tan (2t)
t
45. limΞΈβ0
sin (5ΞΈ)
sin (2ΞΈ)46. lim
xβ0(tan (2x) Β· csc (4x))
47. limΞΈβ5
sin (2ΞΈ β 10)
sin (ΞΈ β 5)48. lim
ΞΈβ0
1β cos ΞΈ
ΞΈ
49. limxβββ
(x sin 1
x
)50. lim
xββ
(x sin 1
x
)51. lim
xβββ
(x2 sin 1
x
)52. lim
ΞΈβ0
1β cos ΞΈ
1β cos (3ΞΈ)
Solutions:
40. limxβ0β
xtanx = lim
xβ0β
(x
sinx Β· cosx)
= limxβ0β
xsinx Β· lim
xβ0βcosx
= 1limxβ0β
sin xx
Β· limxβ0β
cosx
= 11 Β· 1 = 1.
26
Study Unit 3: Limits and Derivatives
41. limΞΈβ0
ΞΈ2
tan ΞΈ= lim
ΞΈβ0
ΞΈ2 cos ΞΈsin ΞΈ 42. lim
ΞΈβ0
sin (5ΞΈ)
2ΞΈ
= limΞΈβ0
(ΞΈ
sin ΞΈΞΈ cos ΞΈ
)= lim
ΞΈβ0
5 sin (5ΞΈ)
2.5ΞΈ
= limΞΈβ0
ΞΈ
sin ΞΈΒ· limΞΈβ0
(ΞΈ cos ΞΈ) =5
2Γ 1 = 5
2 .
= limΞΈβ0
ΞΈsin ΞΈ Β· limΞΈβ0
ΞΈ Β· limΞΈβ0
cos ΞΈ
= 1Γ 0Γ 1 = 0.
43. limxβ0
x+ sinx
x44. lim
tβ0
tan (2t)
t
= limxβ0
(1 +
sinx
x
)= lim
tβ0
sin (2t)
t Β· cos (2t)
= limxβ0
1 + limxβ0
sinx
x= lim
tβ0
(sin (2t)
2tΒ· 2
cos (2t)
)= 1 + 1 = 2. = 1Γ 2
1= 2.
45. limΞΈβ0
sin (5ΞΈ)
sin (2ΞΈ)46. lim
xβ0(tan (2x) Β· csc (4x))
= limΞΈβ0
(sin (5ΞΈ)
5ΞΈΒ· 5ΞΈ
2ΞΈΒ· 2ΞΈ
sin (2ΞΈ)
)= lim
xβ0
sin (2x)
cos (2x) Β· sin (4x)
= limΞΈβ0
sin (5ΞΈ)
5ΞΈΓ 5
2Γ limΞΈβ0
2ΞΈ
sin (2ΞΈ)= lim
xβ0
(sin (2x)
cos (2x)Β· 1
2 sin (2x) cos (2x)
)= 1Γ 5
2Γ 1 =
5
2. = lim
xβ0
(1
2Β· 1
cos2 (2x)
)=
1
2.
47. Put x = ΞΈ β 5. Then 2ΞΈ β 10 = 2x and xβ 0β ΞΈ β 5. Now,
limΞΈβ5
sin (2ΞΈ β 10)
sin (ΞΈ β 5)= lim
xβ0
sin (2x)
sinx
= limxβ0
(sin (2x)
2xΒ· 2x
xΒ· x
sinx
)= 1Γ 2Γ 1 = 2.
48.
limΞΈβ0
1β cos ΞΈ
ΞΈ= lim
ΞΈβ0
(1β cos ΞΈ) (1 + cos ΞΈ)
ΞΈ (1 + cos ΞΈ)
= limΞΈβ0
1β cos2 ΞΈ
ΞΈ (1 + cos ΞΈ)
= limΞΈβ0
sin2 ΞΈ
ΞΈ (1 + cos ΞΈ)
= limΞΈβ0
sin ΞΈ
ΞΈΒ· limΞΈβ0
sin ΞΈ
1 + cos ΞΈ= 1.0 = 0.
We have used property (iv) on page 28.
MAT1512 27
49. Put ΞΈ =1
x. Then x =
1
ΞΈand xβ βββ ΞΈ β 0β. Hence,
limxβββ
(x sin
1
x
)= lim
ΞΈβ0β
(sin ΞΈ
ΞΈ
)= 1.
50.
limxββ
(x sin
1
x
)= lim
ΞΈβ0+
(sin ΞΈ
ΞΈ
)(where ΞΈ =
1
x)
= 1.
51. Put ΞΈ = 1x . Then xβ βββ ΞΈ β 0β. Thus,
limxβββ
(x2 sin
1
x
)= lim
ΞΈβ0β
(sin ΞΈ
ΞΈΒ· 1
ΞΈ
)= ββ.
52.
limΞΈβ0
1β cos ΞΈ
1β cos (3ΞΈ)
= limΞΈβ0
[1β cos ΞΈ
1β cos (3ΞΈ)Β· 1 + cos ΞΈ
1 + cos ΞΈΒ· 1 + cos (3ΞΈ)
1 + cos (3ΞΈ)
]= lim
ΞΈβ0
[(1β cos2 ΞΈ
)(1 + cos (3ΞΈ))
(1β cos2 (3ΞΈ)) (1 + cos ΞΈ)
]
= limΞΈβ0
sin2 ΞΈ Β· (1 + cos (3ΞΈ))
sin2 (3ΞΈ) Β· (1 + cos ΞΈ)
= limΞΈβ0
[(sin ΞΈ
ΞΈ
)2
Β· ΞΈ2
9ΞΈ2Β·(
3ΞΈ
sin (3ΞΈ)
)2
Β· 1 + cos (3ΞΈ)
1 + cos ΞΈ
]= 12 Β· 1
9Β· 12 Β· 2
2=
1
9.
3.5.6 The Squeeze Theorem
Note: The Squeeze Theorem is also known as the Sandwich Theorem or Pinching Theorem.
The Squeeze Theorem is used to evaluate the limit values of a complicated function, or thelimit values of an unknown function. The Squeeze Theorem is stated as follows:
28
Study Unit 3: Limits and Derivatives
If f (x) β€ g (x) β€ h (x) for all x in an open interval that contains a (except possibly at a)
and limxβa
f (x) = limxβa
h (x) = L, then limxβa
g (x) = L.
The Sandwich Theorem is illustrated by the sketches below.
Imagine you have a sandwich as shown in Figure 3.4:
Figure 3.4: Illustrating Squeeze Theorem
The theorem says that if g(x) is squeezed or pinched between f(x) and h(x) near a, andif f and h have the same limit value L at a, then g is forced to have the same limit valueL at a.
Suppose you have to find the following limit:
limxβ0
x2 sin1
x
This is a complicated function, in other words, it is difficult to determine the limit of thefunction. In such a case we can use the Squeeze (Sandwich) Theorem.
Squeeze Theorem
A:Functions only eg polynomialsIf we have f (x) β€ g (x) β€ h (x)and for some value L,
limxβc
f (x) = L and limxβc
h (x) = L,
then, by the Sandwich (Squeeze) Theorem
limxβc
g (x) = L
Squeeze TheoremB:Trigonometric functions onlyWe applyβ1 β€ sinx β€ 1
ORβ1 β€ cosx β€ 1f (x) β€ g (x) β€ h (x)and for some value L,limxβc
f (x) = L and limxβc
h (x) = L,
then, by the Sandwich (Squeeze) Theoremlimxβc
g (x) = L
Now let us find the limit of
MAT1512 29
limxβ0
x2 sin 1x . (This is an example of a complicated function.)
Solution:
To use the Squeeze Theorem, we first have to find functions f and h such that
f (x) β€ x2 sin1
xβ€ h (x)
wherelimxβ0
f (x) = limxβ0
h(x).
Recall that
β1 β€ sin
(1
x
)β€ 1 for all x 6= 0.
Now we multiply by x2 (note that for x 6= 0, x2 > 0).
This means that the inequality signs will not change in direction, and we get
x2 (β1) β€ x2. sin(1x
)β€ x2.1, which means that βx2 β€ x2. sin
(1x
)β€ x2 for all x 6= 0.
Then limxβ0βx2 = 0 and lim
xβ0x2 = 0.
So from the Sandwich Theorem, it follows that limxβ0
x2. sin(1x
)= 0.
Go through the given worked examples below.
53. Find limxββ
f(x) if
2x2
x2 + 1< f(x) <
2x2 + 5
x2
54. Suppose that
1β x2
6<
x sinx
2β 2 cosx< 1
for x close to zero. Determine
limxβ0
x sinx
2β 2 cosx
55. Use the Squeeze Theorem to determine
limxβββ
sinx
x
30
Study Unit 3: Limits and Derivatives
56. Use the Squeeze Theorem to determine
limxββ
(bxc /x) and limxβββ
(bxc /x)
57. Use the Squeeze Theorem to determine
limxββ
1β cosx2
1 + x3
Solutions:
53. limxββ
2x2
x2 + 1= lim
xββ
2
1 + 1/x2= 2 and
limxββ
2x2 + 5
x2= lim
xββ
2 + 5/x2
1= 2.
By the Squeeze Theorem, it follows that limxββ
f(x) = 2.
54. limxβ0
(1β x2
6
)= 1β 0
6= 1,
whilelimxβ0
1 = 1,
so, by the Squeeze Theorem
limxβ0
x sinx
2β 2 cosx= 1.
55. For all x it holds thatβ1 β€ sin x β€ 1.
If x < 0, we can divide by x to obtain
1
xβ₯ sinx
xβ₯ β1
xβ β1
xβ€ sinx
xβ€ 1
x
Now limxβββ
1
x= 0, and lim
xβββ
(β1
x
)= β lim
xβββ
1
x= 0. It follows by the Squeeze
Theorem that
limxβββ
sinx
x= 0.
MAT1512 31
56. For all x it holds thatxβ 1 < bxc β€ x. (3.1)
Where bxc is known as the floor function. If x > 0 then
xβ 1
x< bxc /x β€ 1.
Now
limxββ
xβ 1
x= lim
xββ
1β 1x
1= 1,
while limxββ
1 = 1. From the Squeeze Theorem it follows that
limxββ
(bxc /x) = 1.
If x < 0, then we can divide (3.1) by x to obtain
xβ 1
x> bxc /x β₯ 1.
Similarly, as above, it follows that
limxβββ
(bxc /x) = 1.
57. For all x it holds thatβ1 β€ β cosx2 β€ 1
Add 1:0 β€ 1β cosx2 β€ 2
For x > 0 (because xββ), we divide by 1 + x3 > 0 to obtain
0
1 + x3β€ 1β cosx2
1 + x3β€ 2
1 + x3.
Now limxββ
0 = 0 and limxββ
2
1 + x3= 0. It follows by the Squeeze Theorem that
limxββ
1β cosx2
1 + x3= 0.
32
Study Unit 3: Limits and Derivatives
3.5.7 The Ξ΅-Ξ΄ Definition of a Limit (Read only for other modules eg MAT2615)
This section is not for examination purposes, therefore you should not spend too muchtime on it. However, those of you who intend to continue with pure mathematics shouldbe familiar with the contents of this section.
58. Determine Ξ΄ > 0 so that
0 <
β£β£β£β£xβ 1
4
β£β£β£β£ < Ξ΄ ββ£β£β£β£ 1
4xβ 1
β£β£β£β£ < 1
20.
59. Prove from the Ξ΅-Ξ΄ definition that limxβ2
(7xβ 1) = 13.
60. Prove from the Ξ΅-Ξ΄ definition that limxββ1
f(x) = 10, where f(x) = β3x+ 7.
61. Prove from the Ξ΅-Ξ΄ definition that limxβ2
x2 β 4
xβ 2= 4.
62. Prove from the Ξ΅-Ξ΄ definition that limxβ1
x2 β 1
xβ 1= 2.
63. Prove from the Ξ΅-Ξ΄ definition that limxββ3
x2 β 9
x+ 3= β6.
Solutions:
58.
β£β£β£β£ 1
4xβ 1
β£β£β£β£ < 1
20
β β 1
20<
1
4xβ 1 <
1
20
β 1β 1
20<
1
4xβ 1 + 1 <
1
20+ 1
β 19
20<
1
4x<
21
20
β 20
19> 4x >
20
21
β 5
21< x <
5
19
β 5
21β 1
4< xβ 1
4<
5
19β 1
4
β β 1
84< xβ 1
4<
1
76.
MAT1512 33
If we choose Ξ΄ =1
84, we should have that
0 <
β£β£β£β£xβ 1
4
β£β£β£β£ < Ξ΄ ββ£β£β£β£ 1
4xβ 1
β£β£β£β£ < 1
20.
59. According to the definition of a limit, let f(x) = 7xβ 1, xo = 2 and L = 13. GivenΞ΅ > 0, we need to find Ξ΄ > 0 so that for all x
0 < |xβ 2| < Ξ΄ β |f(x)β 13| < Ξ΅.
Now
|f(x)β 13| = |7xβ 1β 13|= |7xβ 14|= 7 |xβ 2|
So let Ξ΄ =Ξ΅
7. Then
0 < |xβ 2| < Ξ΄ β |f(x)β 13| = 7 |xβ 2| (from above)
< 7Ξ΄
= 7 Β· Ξ΅7
= Ξ΅.
60. We have that
|f(x)β 10| = |β3x+ 7β 10| = |β3xβ 3| = |β3(x+ 1)|= 3|x+ 1|= 3 |xβ (β1)| .
If Ξ΅ > 0 is given, put Ξ΄ =Ξ΅
3. Then
0 < |xβ (β1)| < Ξ΄ β |f(x)β 10| = 3 |xβ (β1)|
< 3Ξ΄ = 3 Β· Ξ΅3
= Ξ΅.
This shows thatlimxββ1
f(x) = 10.
61. Let Ξ΅ > 0 be given. We have that β£β£β£β£x2 β 4
xβ 2β 4
β£β£β£β£=
β£β£β£β£(x+ 2) (xβ 2)
xβ 2β 4
β£β£β£β£= |x+ 2β 4| (if x 6= 2)
= |xβ 2|.
34
Study Unit 3: Limits and Derivatives
Put Ξ΄ = Ξ΅. Then, if 0 < |xβ 2| < Ξ΄, it follows that x 6= 2, and soβ£β£β£β£x2 β 4
xβ 2β 4
β£β£β£β£ = |xβ 2| < Ξ΄ = Ξ΅.
62. Let Ξ΅ > 0 be given. Thenβ£β£β£β£x2 β 1
xβ 1β 2
β£β£β£β£ =
β£β£β£β£(xβ 1) (x+ 1)
xβ 1β 2
β£β£β£β£= |x+ 1β 2| (if x 6= 1)
= |xβ 1|.
Put Ξ΄ = Ξ΅. Then
0 < |xβ 1| < Ξ΄ ββ£β£β£β£x2 β 1
xβ 1β 2
β£β£β£β£ < Ξ΅.
Hence,
limxβ1
x2 β 1
xβ 1= 2.
63. In the definition of a limit, we put f(x) = (x2 β 9)/(x + 3), xo = β3 and L = β6.Let Ξ΅ > 0 be given. Thenβ£β£β£β£x2 β 9
x+ 3β (β6)
β£β£β£β£ =
β£β£β£β£(x+ 3) (xβ 3)
x+ 3+ 6
β£β£β£β£= |xβ 3 + 6| (if x 6= β3)
= |x+ 3|= |xβ (β3)|.
Let Ξ΄ = Ξ΅. If0 < |xβ (β3)| < Ξ΄
then x 6= β3, and then it follows from the above thatβ£β£β£β£x2 β 9
x+ 3β (β6)
β£β£β£β£ = |xβ (β3)| < Ξ΅.
Hence,
limxββ3
x2 β 9
x+ 3= β6.
3.5.8 Continuity
In the previous topics, notice that the limit of a function as x approaches a can sometimesbe found by just calculating the value of the function (y) at x = a. The functions withthis property are said to be continuous at a. A continuous process is one that takesplace gradually, without interruption or abrupt changes.
MAT1512 35
Definition 1
A function f is continuous at a number a if limxβa
f (x) = f(a).
Definition 2
A function f is continuous from the right at a number a if limxβa+
f (x) = f (a)
and f is continuous from the left at a number a if limxβaβ
f (x) = f(a).
If f is not continuous at a, we say that f is discontinuous at a, or that f hasa discontinuity at a. When we consider the two definitions above, we noticethat three things (or conditions) are required for f to be continuous at a.
A function f is continuous at x = a when the following conditions are satisfied:
(i) if f(a) is defined (that is, a is in the domain of f)
(ii) if limxβa
f (x) exists [that is, f must be defined in an open interval that contains a] and
limxβaβ
f (x) = limxβa+
f (x)
(iii) if limxβa
f (x) = f (a).
If one or more of the three conditions above are not satisfied, then f is said to be discon-tinuous at x = a. [Try to think of the process of finding a limit as making a prediction asto what the y-value will be when x finally gets to a.]
In figures (a), (b), (c) and (d) below, three main types of discontinuities β removable,jump and non-removable are shown. Are you able to explain why the function f isdiscontinuous at x = a in all four diagrams?
Let us now work through some examples.
Example 1:
(a) Determine whether the function f (x) =
{1β x, if x β€ 2
x2 β 2x, if x > 2is continuous
or discontinuous at a = 2, and explain why.
(b) Sketch the graph of the function.
36
Study Unit 3: Limits and Derivatives
(a) (b)
(c) (d)
Solution:
(a)
limxβ2β
f (x) = limxβ2β
(1β x) = 1β 2 = β1
limxβ2+
f (x) = limxβ2+
(x2 β 2x
)= (2)2 β 2 (2) = 4β 4 = 0
Sincelimxβ2β
f (x) 6= limxβ2+
f (x)
limxβ2
f (x) does not exist [that is, condition (ii) has not been met].
Therefore the function is discontinuous at x = 2.
(b) The key points on the graph are:
(i) the vertical intercept(s) (where x = 0)
(ii) the horizontal intercept(s) (where f(x) = 0)
(iii) the turning points
f(x) = 1βx is a straight line with intercepts at (0, 1) and (1, 0) for the intervalwhere x β€ 2.
f(x) = x2 β 2x is a curve with intercepts where x(xβ 2) = 0 that is (0, 0) and(2, 0) are the x-intercepts, but they do not fall in the interval x > 2.
Example 2:
MAT1512 37
Figure 3.5: Graph of f(x) = x2 β 2x and f(x) = 1β x
If
f (x) =
{x2βxβ2xβ2 if x 6= 2
1, if x = 2,
determine if the function f(x) is continuous at x = 2.
Solution:
For limxβ2
f (x) to exist, we must first find limxβ2β
f (x) and limxβ2+
f (x) . Since
limxβ2β
f (x) = limxβ2+
f (x) = limxβ2
x2 β xβ 2
xβ 2
= limxβ2
(xβ 2) (x+ 1)
xβ 2= lim
xβ2(x+ 1) = 3,
the limit exists.
But f(2) = 1 is also defined and limxβ2
f(x) 6= f(2).
So f (x) is not continuous at x = 2 (this is the βremovableβ type of discontinuity).
Example 3:
Find the value of the constant c that would make the function f continuous at x = 3,where:
f (x) =
{cx+ 1, if x β€ 3cx2 β 1, if x > 3.
38
Study Unit 3: Limits and Derivatives
Solution:
We determine the left- and right-hand limits as follows:
limxβ3β
f (x) = limxβ3β
(cx+ 1) = 3c+ 1
andlimxβ3+
f (x) = limxβ3+
(cx2 β 1
)= 9cβ 1.
The condition for f to be continuous at x = 3 is that limxβ3β
f (x) = limxβ3+
f (x) ,
that is3c+ 1 = 9cβ 1
β 9cβ 3c = 1 + 1β 6c = 2β c = 1
3 .
Thus f (x) is continuous at x = 3, for
c =1
3.
You can now work through the last examples in this chapter.
64. Let
f(x) =
{x if x β€ 1
(xβ 1)2 if x > 1.
(a) Draw the graph of f (x) .
(b) Determine limxβ1+
f(x) and limxβ1β
f(x). Does limxβ1
f(x) exist? Give a reason for
your answer.
(c) Is f (x) continuous at x = 1? Give a reason for your answer.
65. Let
f(x) =
{4β x2 if x > 1
3x2 if x < 1.
(a) Draw the graph of f(x).
(b) Calculate limxβ1+
f(x) and limxβ1β
f(x).
(c) What value, if any, must be assigned to f(1) to make f (x) continuous at x = 1?Give reasons for your answer.
MAT1512 39
66. (a) At which points (if any) is the function
f(x) =x+ a
x2 + (a+ b)x+ ab
discontinuous? (a and b are constants.)
(b) At which points (if any) can
f(x) =x+ a
x2 + (a+ b)x+ ab
be made continuous by assigning a certain value to f(x), and what is the value?
67. Let
g(x) =
{x2+2xβ15
xβ3 if x 6= 3
k if x = 3.
What value (if any) must k be for g to be continuous at x = 3? Give reasons for youranswer.
68. Let
g(x) =
{bx2 if x β₯ 1
2x3 if x < 1
2 .
What value must b be for g to be continuous at x = 12? Give reasons for your answer.
69. Let
g(x) =
x3 + 4 if x β€ 0b+ 1
x+ 2if x > 0.
What value must b be for g to be continuous at x = 0? Give reasons for your answer.
70. Let
g(x) =
{Ξ±x2 if x β₯ 2x+ 1 if x < 2.
What value must Ξ± be for g to be continuous at x = 2? Give reasons for your answer.
40
Study Unit 3: Limits and Derivatives
Solutions:
64. (a)
Figure 3.6: Graph of f(x)
b(i) limxβ1+
f(x) = limxβ1+
(xβ 1)2 = 0.
b(ii) limxβ1β
f(x) = limxβ1β
(x) = 1.
b(iii) limxβ1
f(x) does not exist, because limxβ1+
f(x) 6= limxβ1β
f(x).
(c) The function f (x) is thus not continuous at x = 1, because limxβ1
f(x) does not
exist.
65. (a)
Figure 3.7: Graph of f(x)
(b) limxβ1+
f(x) = limxβ1+
(4β x2) = 4β 1 = 3,
MAT1512 41
limxβ1β
f(x) = limxβ1β
(3x2) = 3.
(c) Let f(1) = 3, since limxβ1
f(x) = 3.
66. (a) f(x) =x+ a
x2 + (a+ b)x+ ab
=x+ a
(x+ a) (x+ b).
f(x) is discontinuous where
(x+ a)(x+ b) = 0
that is at x = βa and x = βb.
b(i) The case a 6= b
We calculate the limits of f(x) when x tends to βa and to βb.
limxββb+
x+ a
(x+ a) (x+ b)
= limxββb+
1
x+ b= β.
The discontinuity at x = βb cannot be removed. Now,
limxββa
x+ a
(x+ a) (x+ b)
= limxββa
1
x+ b
=1
bβ a.
The discontinuity at x = βa can be removed. We can make f(x) continuous atx = βa by putting
f(βa) =1
bβ a.
b(ii) The case a = b
In this case there is a non-removable discontinuity at x = βb. Note: Removablediscontinuity is when a discontinuity can be removed by redefining the function atthat point. In the case of a non-removable discontinuity, the limits do not exist, so
42
Study Unit 3: Limits and Derivatives
there is no way to redefine the function at that point of discontinuity. See pages115β116 of Stewart.
67. limxβ3
x2 + 2xβ 15
xβ 3
= limxβ3
(xβ 3) (x+ 5)
xβ 3
= limxβ3
(x+ 5)
= 8.
From the definition of continuity it follows that k must be equal to 8 to make gcontinuous at x = 3.
68. For g (x) to be continuous at x =1
2, limxβ 1
2
g(x) must exist (and be equal to g
(1
2
)).
For this limit to exist, limxβ 1
2
+g(x) and lim
xβ 12
βg(x) must exist and be equal. Now
limxβ 1
2
+g(x) = lim
xβ 12
+(bx2) =
b
4
and
limxβ 1
2
βg(x) = lim
xβ 12
β(x3) =
1
8.
Thus we must have thatb
4=
1
8
or
b =1
2.
69. The function g (x) will be continuous at x = 0 if
g (0) = limxβ0
g(x).
Also, limxβ0
g(x) will exist provided that limxβ0β
g(x) and limxβ0+
g(x) exist and are equal.
Hence we must determine the latter two limits, set them equal, and solve for b. Now
limxβ0β
g(x) = limxβ0β
(x3 + 4) = 0 + 4 = 4,
while
limxβ0+
g(x) = limxβ0+
(b+ 1
x+ 2
)=b+ 1
0 + 2=b+ 1
2.
MAT1512 43
Letb+ 1
2= 4.
Thenb = 7.
Hence if b = 7, then g (x) is continuous at x = 0.
70. If g (x) is to be continuous at x = 2, then it must hold that
g(2) = limxβ2
g(x),
that is
4Ξ± = limxβ2+
g(x). (3.2)
Now limxβ2
g(x) will exist provided limxβ2+
g(x) and limxβ2β
g(x) exist, and
limxβ2+
g(x) = limxβ2β
g(x). (3.3)
We have thatlimxβ2+
g(x) = limxβ2+
(Ξ±x2) = 4Ξ±,
whilelimxβ2β
g(x) = limxβ2β
(x+ 1) = 3.
Hence both (3.2) and (3.3) will be satisfied if 4Ξ± = 3. Thus if Ξ± = 34 , then g (x) is
continuous at x = 2.
Key points
You should now be comfortable with the notion of the limit of a function and its use. Thisincludes one-sided limits, infinite limits (limits resulting in infinity) and limits at infinity(limits of functions as x approaches infinity).
At this stage you should be able to
β’ evaluate limits of the form limxβc
f (x), limxβcβ
f (x) , limxβc+
f (x) and limxβΒ±β
f (x) , where
c is a real number and f (x) is an algebraic or trigonometric function
β’ provide a formal definition of the limit, using the correct mathematical notation
44
Study Unit 3: Differentiation Rules
β’ apply the laws governing limits
β’ determine and evaluate the limits of sums, products, quotients and compositions offunctions
β’ evaluate the limits of functions analytically, graphically and numerically
β’ use the limit definition of continuity to determine whether a function is continuousor discontinuous at a point
β’ use the Squeeze Theorem to determine certain limits
Continue practising solving problems until you have mastered the basic techniques! Gothrough the section βFor your reviewβat the end of each chapter to consolidate what youhave learnt and also use other calculus textbooks.
MAT1512 45
Study Unit 4
Differentiation Rules
4.1 Background
Differentiation is widely applied in engineering, chemistry, physics, biology and many otherdisciplines in science and technology. It is basically a concept that deals with rates ofchange. Among other things, it is used to define the slopes of curves, to calculate thevelocities and accelerations of moving objects, to find the firing angle that gives a cannon itsgreatest range, and to predict the times when planets will be closest to each other or farthestapart. In this chapter we begin the study of differential calculus. The central conceptof differential calculus is the derivative. After learning how to calculate derivatives, youwill use them to solve problems involving rates of change. This chapter is devoted to (a)the definition of the derivative, or differentiation from first principles; (b) the rules used tofind derivatives of algebraic and trigonometric functions; (c) problems involving tangentand normal lines; (d) techniques such as logarithmic and implicit differentiation; and (e)the application of the Mean Value Theorem and Rolleβs Theorem.
4.2 Learning Outcomes
At the end of this chapter, you should be able to
β’ demonstrate an understanding of the first principles of differentiation
β’ apply basic differential formulas such as the power rule, product rule, quotient rule,chain rule, and combinations of these rules to differentiate between a variety ofalgebraic and trigonometric functions
β’ compute the derivatives of trigonometric functions and inverse trigonometric func-tions, and of exponential and logarithmic functions
β’ use the methods of logarithmic and implicit differentiation to find derivatives
β’ solve problems involving tangent and normal lines and the Mean Value Theorem
46
Study Unit 4: Differentiation Rules
Note: The way to master calculus is to solve lots of calculus problems!
4.3 Prescribed Reading
The prescribed readings in Stewart are:
β’ Chapter 2 sections 2.1β2.3 and 2.5β2.7.
β’ Chapter 3 sections 3.1β3.7 and
β’ Chapter 4 section 4.2 only.
4.4 The Derivative
4.4.1 Introducing the Derivative
The definition of the derivative can be approached in two different ways. One is geomet-rical (as the slope of a curve) and the other is physical (as a rate of change). Both ofthese definitions can be used, but the emphasis should be on using the derivative as atool for solving calculus problems.
Remember, in high school you used the first principle of differentiation to find the slopeof a tangent line at a particular point.
Definition: The slope mtan of the tangent line y = f (x) at x = a is:
mtan = limhβ0
f (a+ h)β f (a)
h
Example:
Find the slope of the tangent line to the curve y = x2 + 1 at x = 1.
MAT1512 47
Solution:
Figure 4.1: Graph of y = x2 + 1 and x = 1
mtan = limhβ0
f (1 + h)β f (1)
h
= limhβ0
[(1 + h)2 + 1
]β (1 + 1)
h
= limhβ0
1 + 2h+ h2 + 1β 2
h
= limhβ0
2h+ h2
h= lim
hβ0
h (2 + h)
h
= limhβ0
(2 + h) = 2
Thus at x = 1, mtan = 2.
You should also be familiar with the approach used in mechanics when dealing with prob-lems involving average and instantaneous velocity (rate of change).
Average velocity:
vave =total distance
total time
Instantaneous velocity:
v = limhβ0
f (t+ h)β f (t)
h
Example:
48
Study Unit 4: Differentiation Rules
Consider an object that is dropped from a height of 64 m. Its position is given as f (t) =64β 16t2. Find its average velocity between
(a) t = 1 and t = 2
(b) t = 1.5 and t = 2
(c) t = 1.9 and t = 2
(d) Also find its instantaneous velocity at t = 2.
Solution:
(a) vave =f (2)β f (1)
2β 1=
64β 16 (2)2 β[64β 16(1)2
]1
= β48 m/s.
(b) vave =f (2)β f (1.5)
2β 1.5=
64β 16 (2)2 β[64β 16(1.5)2
]0.5
= β56 m/s.
(c) vave =f (2)β f (1.9)
2β 1.9=
64β 16 (2)2 β[64β 16(1.9)2
]0.1
= β62.4 m/s.
(d) The instantaneous velocity is given by:
vinstantaneous = limhβ0
f (2 + h)β f (2)
(2 + h)β 2
= limhβ0
[64β 16 (2 + h)2
]β[64ββ16 (2)2
]h
= limhβ0
[64β 16
(4 + 4h+ h2
)]β[64ββ16 (2)2
]h
= limhβ0
β64hβ 16h2
h= lim
hβ0
β16h (h+ 4)
h= lim
hβ0β16 (h+ 4) = β64 m/s.
4.4.2 Definition of the Derivative
The derivative of the function f(x) (at a particular point where x = a) is defined as
f β² (a) = limhβ0
f (a+ h)β f (a)
h,
provided that the limit exists. We say that f is differentiable at x = a when the abovelimit exists.
MAT1512 49
In general, the derivative of f (x) is the function f β² (x) given by
f β²(x) = limhβ0
f (x+ h)β f (x)
h
provided that this limit exists. Finding the first derivative by using the above method iscalled the First Principle of Differentiation.
Note: If we write x = a + h, then h = x β a and h will approach 0 if and only if xapproaches a. Therefore another way of defining the derivative is as follows:
f β² (a) = limxβa
f (x)β f (a)
xβ a.
Let us try an example:
Use the definition of the derivative to find gβ² (x) if g (x) = x4.
gβ² (x) = limhβ0
g (x+ h)β g (x)
h= lim
hβ0
(x+ h)4 β x4
h
= limhβ0
[(x+ h)2 β x2
] [(x+ h)2 + x2
]h
= limhβ0
h [2x+ h][(x+ h)2 + x2
]h
= limhβ0
[2x+ h][(x+ h)2 + x2
]= (2x)
(x2 + x2
)= 4x3.
4.5 Worked Examples
In some instances, we do compute derivatives directly from the definition. However, suchcomputations are tedious and very time-consuming. Fortunately, several differential rulesor basic differentiation formulas have been developed to find derivatives without using thedefinition directly. In order to introduce you to the basic differentiation techniques, theserules are presented together with worked examples. You should go and read about theserules in Stewart and work through the examples, following each rule. You will find therules on the following pages in Stewart:
Our collection of worked examples relating to Chapters 2, 3 and 4 of Stewart dividesnaturally into eight sets, with some overlap, namely:
I. Differentiation from first principles (derivative as a function)
50
Study Unit 4: Differentiation Rules
Derivative of a constant p. 172
The power rule for positive integer powers of x p. 172The constant multiple rule p. 175The sum and difference rule p. 176The power rule for negative integer powers of x p. 174
The product rule p. 183
The quotient rule p. 185
The chain rule p. 197
Table 4.1: Pages in Stewart for different rules of differentiation.
II. Basic differentiation formulas (use of the power rule, product rule, quotient rule, chainrule, and combinations of these rules to differentiate between a variety of functions)
III. Derivatives of trigonometric functions and inverse trigonometric functions
IV. Derivatives of exponential and logarithmic functions
V. Logarithmic differentiation
VI. Implicit differentiation
VII. Tangent and normal lines
VIII. The Mean Value Theorem
Attempt the problems appearing immediately after each section, once you have studiedthe relevant parts of Stewart and done some of the exercises there.
Table 4.2 shows how these worked examples and their solutions are organised.
4.5.1 Differentiation from First Principles (derivative as a Function)
1. Find the derivative of 3x2 + 2xβ 1 at x = 1.
2. If f (x) = 1x (x 6= 0) , find f β²(x).
3. If f (x) =βx for (x β₯ 0) , find f β²(x).
MAT1512 51
Topic(s) Section(s) in Examplesin study
Stewart guide
I. Differentiation from first princi-ple
Section 2.8 (examples in 1β5
(derivative as a function) 2.1β2.7
II. Basic rules of differentiation 6β31Power rule Section 3.1Product rule Section 3.2Quotient rule Section 3.4Chain rule Section 3.2Combinations of rules Section 3.4(derivative of varieties of )functions)
III. Derivatives of trigonometric Section 3.3 page 190 32β49functions and inverse trigono-metric functions
50β52
IV. Derivatives of exponential Section 3.1 page 172 53β63functions
V. Derivative of logarithmic func-tions
Section 3.6 page 218 64β74
VI. Implicit differentiation Section 3.5: page 208 75β82
VII. Tangent and normal lines Sections 3.1 page 172 and 2.7page 140
83β92
VIII. The Mean Value Theorem Section 4.2 page 287 93β95
Table 4.2: Sections in Stewart.
Solutions:
1.
f β² (x) = limhβ0
f (x+ h)β f (x)
h
= limhβ0
3 (x+ h)2 + 2 (x+ h)β 1β(3x2 + 2xβ 1
)h
= limhβ0
3x2 + 6xh+ h2 + 2x+ 2hβ 1β 3x2 β 2x+ 1
h
= limhβ0
6xh+ h2 + 2h
h
= limhβ0
h (6x+ h+ 2)
h
= limhβ0
6x+ h+ 2 = 6x+ 2.
At x = 1, f β² (1) = 6 (1) + 2 = 8.
52
Study Unit 4: Differentiation Rules
2.
f β² (x) = limhβ0
f (x+ h)β f (x)
h
= limhβ0
(1
x+h
)β 1
x
h= lim
hβ0
xβ (x+ h)
x (x+ h)Β· 1
h
= limhβ0
βhx2 + xh
Β· 1
h= lim
hβ0
β1
x2 + xh= β 1
x2.
3.
f β² (x) = limhβ0
f (x+ h)β f (x)
h
= limhβ0
βx+ hβ
βx
h
= limhβ0
βx+ hβ
βx
hΒ·βx+ h+
βxβ
x+ h+βx
= limhβ0
x+ hβ xh(βx+ h+
βx)
= limhβ0
h
h(βx+ h+
βx)
= limhβ0
1βx+ h+
βx
=1
2βx.
4. Use the definition of the derivative to prove that gβ² (0) = 0 if g (x) = x2|x|.
Solution:
By definition,
gβ² (0) = limhβ0
g (0 + h)β g (0)
h,
provided this limit exists. Now
limhβ0
g (0 + h)β h (0)
h
= limhβ0
h2 |h| β 0
h= lim
hβ0(h |h|)
= 0.
5. Use the definition of the derivative to show that f β² (2) does not exist when f (x) =|xβ 2|.
MAT1512 53
(a)
limhβ0+
f (2 + h)β f (2)
h= lim
hβ0+
|(2 + h)β 2| β |2β 2|h
= limhβ0+
|h|h
= limhβ0+
h
h(|h| = h since h > 0)
= 1,
(b) while similarly
limhβ0β
f (2 + h)β f (2)
h= lim
hβ0β
|h|h
= limhβ0
βhh
(|h| = βh since h < 0)
= β1.
Since the left-hand and right-hand limits are not equal, it follows that
limhβ0
f (2 + h)β f (2)
h
does not exist, that is, f is not differentiable at 2.
4.5.2 Basic Differentiation Formulas
(a) The Power Rule
If y = xn, then
d
dx(xn) = nxnβ1
i.e.dy
dx= nxnβ1 for n β R
Examples:
Find the derivatives of the following:
6. f (x) = x8 7.d
dx3βx2 8. m (x) = x
12 + 3xβ
12
54
Study Unit 4: Differentiation Rules
Solutions:
6. f β² (x) = 8x8β1 = 8x7. 7.d
dx3βx2 =
d
dxx
23 =
2
3x
23β1 =
2
3xβ
13 =
2
3x13
.
8. m (x) = x12 + 3xβ
12 β mβ² (x) =
1
2x12
β 3
2x32
.
Examples involving absolute values:
Find the derivatives of the following:
9. k (a) =1
|a|10. k (s) = |s|
Solutions:
9. k(a) =1
|a|
=
1
aif a > 0
β1
aif a < 0.
Hence,
kβ²(a) =
β 1
a2if a > 0
1
a2if a < 0.
In fact, kβ² (a) can be written as a single expression, namely kβ² (a) = β 1
a |a|.
10.
k (s) = |s|
β kβ² (s) =
{1 if s > 0β1 if s < 0.
Note: k (s) = |s| is not differentiable at s = 0.
MAT1512 55
(b) The Product Rule
If y = f.g, then yβ² = f β².g + f.gβ² ord
dx[f (x) g (x)] = f β² (x) g (x) + f (x) gβ² (x)
Examples:
11. Find f β² (x) if f (x) =(2x4 β 3x+ 5
)(x2 β
βx+
2
x
)
Solution:
f β² (x) =d
dx
[2x4 β 3x+ 5
](x2 β
βx+
2
x
)+(2x4 β 3x+ 5
) d
dx
(x2 β
βx+
2
x
)=
(8x3 β 3
)(x2 β
βx+
2
x
)+(2x4 β 3x+ 5
)(2xβ 1
2βxβ 2
x2).
12. Differentiate the following function:
y = (x+ 1)10 (2x+ 3)11 (4β x)12
Solution:
y = (x+ 1)10(2x+ 3)11(4β x)12
β dy
dx= (x+ 1)10(2x+ 3)11
d
dx(4β x)12 + (x+ 1)10(4β x)12
d
dx(2x+ 3)11
+ (2x+ 3)11(4β x)12d
dx(x+ 1)10
= (x+ 1)10(2x+ 3)11 Β· 12(4β x)11d
dx(4β x) +
+(x+ 1)10(4β x)12 Β· 11(2x+ 3)10 Β· ddx
(2x+ 3)
+ (2x+ 3)11(4β x)12.10(x+ 1)9
= β12(x+ 1)10(2x+ 3)11(4β x)11 + 22(x+ 1)10(2x+ 3)10(4β x)12
+ 10(x+ 1)9(2x+ 3)11(4β x)12.
(c) The Quotient Rule:
If y =f
g, then
f β².g β f.gβ²
g2= yβ²
ord
dx
[f (x)
g (x)
]=f β² (x) g (x)β f (x) gβ² (x)
[g (x)]2
56
Study Unit 4: Differentiation Rules
13. Compute the derivative ofx2 β 2
x2 + 1.
Solution:
f β² (x) =
[ddx
(x2 β 2
)] (x2 + 1
)β(x2 β 2
) [ddx
(x2 + 1
)](x2 + 1)2
=2x(x2 + 1
)β(x2 β 2
)(2x)
(x2 + 1)2
=6x
(x2 + 1)2.
More examples:
Differentiate the following functions:
14. g (t) =
β2t+ 1β
2t+ 1 + 115. g (x) =
x+ 1
(x+ 2)1016.
y =2x+ 5
3xβ 2
Solutions:
14.
g(t) =
β2t+ 1β
2t+ 1 + 1=
(2t+ 1)12
(2t+ 1)12 + 1
β gβ²(t) =
[1
2(2t+ 1)β
12 Β· 2 Β·
((2t+ 1)
12 + 1
)β
(2t+ 1)12 Β· 1
2(2t+ 1)β
12 Β· 2
]/(
(2t+ 1)12 + 1
)2=
1β
2t+ 1(β
2t+ 1 + 1)2 .
15.
g (x) =x+ 1
(x+ 2)10
β gβ² (x) =1. (x+ 2)10 β (x+ 1) (x+ 2)9 .10.1
(x+ 2)20=β9xβ 8
(x+ 2)11.
16.
y =2x+ 5
3xβ 2
β dy
dx=
(3xβ 2) 2β (2x+ 5) 3
(3xβ 2)2=
β19
(3xβ 2)2.
MAT1512 57
(d) The Chain Rule
If y = f β¦ g, then yβ² = f β² (g) .gβ²
ord
dx[f (g (x))] = f β² (g (x)) gβ² (x)
Examples:
17. Differentiate y =(x3 + x+ 1
)518. Find
d
dt
(β100 + 8t
)
19. Finddy
dxif y = (4β 3x)9
Solutions:
17. Let u = x3 + x+ 1, then y = u5, and
dy
dx=
dy
du
du
dx=
d
du
(u5) dudx
= 5u4d
dx
(x3 + x+ 1
)= 5
(x3 + x+ 1
)4(3x2 + 1).
18. Let u = 100 + 8t, thenβ
100 + 8t = (100 + 8t)12 = u
12 , and
d
du(u)
12 =
1
2uβ
12du
dt=
1
2β
100 + 8t
d
dt(100 + 8t) =
4β100 + 8t
.
19. y = (4β 3x)9 β dy
dx= 9 (4β 3x)8 (β3).
(e) Combinations of rules
In the following worked examples, combinations of rules are used to determine the requiredderivatives.
Find the first derivatives of the following. Do not simplify.
58
Study Unit 4: Differentiation Rules
20. f(x) = (5x+ 11)20(4β x)30 21. f(w) = (3w2 + 2)23 (9w β 1)β
13
22. f(x) =
β1β x1 + x2
23. f(x) =
(βx+
1βx
)100
24. ΞΈ(y) =1
3(2y2 + 5y)
32 25. f(x) = (2x3 + 3)10(3x2 + 2)20
26. h(ΞΈ) = (ΞΈ13 + 7)100(2ΞΈβ
13 + 7)200 27. y =
(x
5+
1
5x
)5
28. y = (1β 6x)23
Solutions:
20. f(x) = (5x+ 11)20(4β x)30
β f β²(x) = 20(5x+ 11)195(4β x)30 + (5x+ 11)2030(4β x)29(β1).
21. f(w) = (3w2 + 2)23 (9w β 1)β
13
β f β²(w) = 23(3w2 + 2)β
13 (6w)(9w β 1)β
13 + (3w2 + 2)
23
(β1
3
)(9w β 1)β
43 9.
22. f(x) =
β1β x1 + x2
=
(1β x1 + x2
) 12
β f β²(x) =1
2
(1β x1 + x2
)β 12
Β·(β1)
(1 + x2
)β (1β x) Β· 2x
(1 + x2)2.
23. f(x) =
(βx+
1βx
)100
β f β²(x) = 100
(βx+
1βx
)99
Β·(
1
2βxβ 1
2x32
).
24. ΞΈ(y) =1
3(2y2 + 5y)
32
β ΞΈβ²(y) =1
3Β· 3
2(2y2 + 5y)
12 (4y + 5).
25. f(x) = (2x3 + 3)10(3x2 + 2)20
β f β²(x) = 10(2x3 + 3)9 Β· 6x2 Β· (3x2 + 2)20 + 20(3x2 + 2)19 Β· 6x Β· (2x3 + 3)10.
MAT1512 59
26. h(ΞΈ) = (ΞΈ13 + 7)100(2ΞΈβ
13 + 7)200
β hβ²(ΞΈ) = 100(ΞΈ13 +7)99 Β· 1
3ΞΈβ
23 Β·(2ΞΈβ
13 +7)200+(ΞΈ
13 +7)100 Β·200(2ΞΈβ
13 +7)199 Β·(β2
3ΞΈβ
43 ).
27. y =
(x
5+
1
5x
)5
β dy
dx= 5
(x
5+
1
5x
)4(1
5β 1
5xβ2
).
28. y = (1β 6x)23
β dy
dx=
2
3
1
(1β 6x)13
(β6).
Also do the following exercises:
29. Show that yβ² = 2 |x| if y = x|x|.
30. Let g (x) , h (x) and k (x) be differentiable functions such that
f (x) = g (x)h (x) k (x)
for all x. Use the product rule for the derivative of the product of two functions towrite down the derivative of f in terms of g (x) , h (x) and k (x) and their derivatives.
31. Use the chain rule and product rule to derive the quotient rule for derivatives.
Solutions:
29. Case I Suppose x > 0. Then |x| = x, so
y = x2
andyβ² = 2x = 2|x|.
Case II Suppose x < 0. Then |x| = βx, so
y = βx2
andyβ² = β2x = 2 (βx) = 2|x|.
60
Study Unit 4: Differentiation Rules
Case III Suppose x = 0. If f(x) = x|x|, then
limhβ0
f (0 + h)β f (0)
h= lim
hβ0
h |h| β 0
h= lim
hβ0|h|
= 0 = 2|0|.
Hence, for all values of x we have that
yβ² = 2|x|.
30. Letf(x) = `(x)k(x),
where`(x) = g(x)h(x).
Then
f β²(x) = `β²(x)k(x) + `(x)kβ²(x)
= (gβ²(x)h(x) + g(x)hβ²(x))k(x) + `(x)kβ²(x)
= gβ²(x)h(x)k(x) + g(x)hβ²(x)k(x) + g(x)h(x)kβ²(x).
31. Let f(x) =g (x)
h (x), where g and h are differentiable functions. Now
f(x) = g(x) Β· (h(x))β1
so
f β²(x) = gβ²(x) Β· (h(x))β1 + g(x) Β·(β 1
(h (x))2Β· hβ² (x)
)(by the product and chain rules)
=gβ² (x)
h (x)β g (x) Β· hβ² (x)
(h (x))2
=h (x) gβ² (x)β g (x)hβ² (x)
(h (x))2.
4.5.3 Derivatives of Trigonometric Functions and Inverse Trigonometric Functions
(a) Derivatives of trigonometric functions
Below are limits which will help you find some of the trigonometric derivatives.
MAT1512 61
limΞΈβ0
cos ΞΈ = 1, limΞΈβ0
1β cos ΞΈ
ΞΈ= lim
ΞΈβ0
cos ΞΈ β 1
ΞΈ= 0
limΞΈβ0
sin ΞΈ = 0, limΞΈβ0
sin ΞΈ
ΞΈ= lim
ΞΈβ0
ΞΈ
sin ΞΈ= 1
A very important table
You should know these derivative formulae by heart!
Note: These derivative formulae can also be derived from first principles.
d
dx(sinx) = cosx
d
dx(cotx) = β csc2 x
d
dx(cosx) = β sinx
d
dx(secx) = secx tanx
d
dx(tanx) = sec2 x
d
dx(cscx) = β cscx cotx
Here is an example worked out from first principles:
Prove thatd
dxsinx = cosx.
Solution:
If f (x) = sinx, then
f β² (x) = limhβ0
f (x+ h)β f (x)
h
= limhβ0
sin (x+ h)β sin (x)
h
= limhβ0
sinx cos h+ cosx sin hβ sinx
h
= limhβ0
[sinx
(cos hβ 1
h
)+ cosx
(sin h
h
)]= lim
hβ0sinx. lim
hβ0
cos hβ 1
h+ limhβ0
cosx. limhβ0
sin h
h= sinx.0 + cosx.1
= cosx.
Now determine the derivatives of the following functions:
32. f (x) = x5 cosx 33. f (x) = sin
(2x
x+ 1
)62
Study Unit 4: Differentiation Rules
Solutions:
32.
f β² (x) =d
dx
(x5 cosx
)=
[d
dx
(x5)]
cosx+ x5d
dx(cosx) {product rule}
= 5x4 cosxβ x5 sinx.
33. The derivative of f (x) = sin
(2x
x+ 1
)is
f β² (x) = cos
(2x
x+ 1
)d
dx
(2x
x+ 1
){chain rule}
= cos
(2x
x+ 1
)2 (x+ 1)β 2x (1)
(x+ 1)2{quotient rule}
= cos
(2x
x+ 1
)2
(x+ 1)2.
Now go through the rest of the worked examples. Find the first derivative. Do not simplify.
34. h(t) = sec t+ tan t 35. y = x csc x
36. g (ΞΈ) =sin ΞΈ
ΞΈ37. h(t) =
sin t
tan t+ 1
38. f(t) =
β3t+ cos t
t+ 339. y =
cosx
1 + sinx
40. h (w) = sin3 (cotw) 41. k (x) = cot2 (3x)
42. g(x) =β
cos cx+ cos cΞ±, where Ξ± is a constant
43. g(ΞΈ) = sec32 (1β ΞΈ) 44. g(x) = tan4(tan x)
45. h(t) = (tβ13 + 1). tan t 46. y =
2x+ 5
3xβ 2
47. y = cos(3Οx/2) 48. y = cos3 x
49. y = [sin(x+ 5)]54
Solutions:
34. h(t) = sec t+ tan t
β hβ²(t) = (sec t)(tan t) + sec2 t.
MAT1512 63
35. y = x cscx
β yβ² = x.(β cscx cot x) + (cscx).1.
36. g(ΞΈ) =sin ΞΈ
ΞΈ
β gβ²(ΞΈ) =ΞΈ cos ΞΈ β (sin ΞΈ) (1)
ΞΈ2.
37. h(t) =sin t
tan t+ 1
β hβ²(t) =cos t (tan t+ 1)β sin t
(sec2 t
)(tan t+ 1)2
.
38. f(t) =
β3t+ cos t
t+ 3
β f β²(t) =
12β3t+cos t
(3β sin t) (t+ 3)ββ
3t+ cos t Β· 1
(t+ 3)2.
39. y =cosx
1 + sinx
β yβ² =(1 + sinx) (β sinx)β cosx (0 + cosx)
(1 + sinx)2.
40. h(w) = sin3(cot w)
β hβ²(w) = 3 sin2(cot w). cos(cot w).(β csc2w).
41. k(x) = cot2(3x)
β kβ²(x) = 2 cot(3x).(β csc2(3x)).3.
42. g(x) =β
cos cx+ cos cΞ± where Ξ± is a constant
β gβ²(x) =1
2β
cscx+ cscΞ±Β· (β cscx. cotx).
43. g(ΞΈ) = sec32 (1β ΞΈ)
β gβ²(ΞΈ) =3
2sec
12 (1β ΞΈ) Β· sec(1β ΞΈ) Β· tan(1β ΞΈ) Β· (β1).
64
Study Unit 4: Differentiation Rules
44. g(x) = tan4(tan x)
β gβ²(x) = 4 tan3(tan x). sec2(tan x). sec2 x.
45. h(t) = (tβ13 + 1) Β· tan t
β hβ²(t) = β1
3tβ
43 Β· tan t+ (tβ
13 + 1) Β· sec2 t.
46. g(ΞΈ) = cos2(ΞΈ2)
β gβ²(ΞΈ) = 2 cos(ΞΈ2) Β· (β sin(ΞΈ2)) Β· 2ΞΈ.
47. y = cos(3Οx/2)
β dy
dx= β sin(3Οx/2)
d
dx(3Οx/2)
= β(3Ο/2) sin(3Οx/2).
48. y = cos3 x
β dy
dx= 3(cos2 x)(β sin x).
49. y = [sin(x+ 5)]54
β dy
dx=
5
4[sin(x+ 5)]
14 [cos(x+ 5)].
(b) Derivatives of inverse trigonometric functions
These are useful in applications and are essential for solving problems. The rules or defi-nitions are as follows:
MAT1512 65
d
dxsinβ1 x =
1β1β x2
, for β1 < x < 1
d
dxcosβ1 x =
β1β1β x2
, for β1 < x < 1
d
dxtanβ1 x =
1
1 + x2
d
dxcotβ1 x =
β1
1 + x2
d
dxsecβ1 x =
1
|x|βx2 β 1
, for |x| > 1
d
dxcscβ1 x =
β1
|x|βx2 β 1
, for |x| > 1
Examples:
Compute the derivatives of the following functions:
50. cosβ1(3x2)
51.(secβ1 x
)252. tanβ1
(x3)
Solutions:
50.d
dxcosβ1
(3x2)
=β1β
1β (3x2)2
d
dx
(3x2)
=β6xβ1β 9x4
.
51.d
dx
(secβ1 x
)2= 2
(secβ1 x
) d
dxsecβ1 x = 2
(secβ1 x
) 1
|x|βx2 β 1
.
52.d
dxtanβ1
(x3)
=1
1 + (x3)2d
dxx3 =
3x2
1 + x6.
4.5.4 Derivatives of Exponential and Logarithmic Functions
(a) The exponential function
Definition:
The inverse function of the function lnx is known as the expoβnential function and is indicated by exp x (or ex).
66
Study Unit 4: Differentiation Rules
Properties of the exponential function
(i) The graph of ex is the mirror image of the graph of lnx in the line y = x. Thereforethe graph looks like this: Figure 4.2
Figure 4.2: Graph of y = ex and y = lnx
(ii) exp x is defined for all x β R, in other words
Dom (expx) = R.
(iii) Im (expx) = {y|y > 0}.
(iv)d
dx(ex) = ex.
(v) ex+y = ex Β· ey.
(vi) exβy = ex/ey.
(vii) erx = (ex)r.
(viii) If xββ, then ex ββ.
(ix) If xβ ββ, then ex β 0.
(b) The logarithmic function
Definition:
The natural logarithmic function y = lnx is the inversefunction of the exponential function.
MAT1512 67
Properties of the ln function
(i) The graph of lnx looks like this:
Figure 4.3: Graph of y = x and y = lnx
(ii) lnx is defined for all x > 0, in other words
Dom (lnx) = {x|x > 0} .
(iii) Im (lnx) = R.
(iv) lnx < 0 if 0 < x < 1,
ln 1 = 0,
lnx > 0 if x > 1.
(v)d
dx(lnx) =
1
x.
(vi) ln(xy) = lnx+ ln y, if x, y > 0.
(vii) lnx
y= lnxβ ln y, if x, y > 0.
(viii) lnxr = r lnx, if x > 0, r rational
(ix) logb a =logc a
logc b
(x) If xββ, then lnxββ.
(xi) If xβ 0+, then lnxβ ββ.
Remark:
68
Study Unit 4: Differentiation Rules
The following mistake is often made when applying rule (h):
ln (xr) = r lnx (this is correct)
but(lnx)r 6= r lnx (incorrect).
The index r must be an index of x, but not of lnx.
The inverse of the exponential function ex is called the natural logarithmic function y =lnx. In this section, we study the natural logarithm both as a differentiable function andas a device for simplifying calculations.
(c) Examples of the exponential function
Find the derivatives of the following:
53. f (x) = eβx
54. y = ex cosx
55. y = tan(e3xβ2
)56. y =
e3x
1 + ex
57. y = ex+ex
Solutions:
53. f (x) = eβx
f β² (x) = eβx Β· 12x
β 12 =
eβx
2βx.
54. y = ex cosx
yβ² = ex cosx (1. cosx+ x (β sinx)) = ex cosx (cosxβ x sinx) .
55. y = tan(e3xβ2
)yβ² = sec2
(e3xβ2
) (e3xβ2.3
)= 3e3xβ2 sec2
(e3xβ2
).
MAT1512 69
56. y =e3x
1 + ex
yβ² = (e3x
1 + ex)β² =
(1 + ex)(e3x.3
)β e3x (0 + ex (1))
(1 + ex)2=
3e3x + 3e4x β e4x
(1 + ex)2=
3e3x + 2e4x
(1 + ex)2.
57. y = ex+ex
yβ² = ex+ex
(1 + ex (1)) = ex+ex
(1 + ex) .
(d) Examples of the logarithmic function
Find the derivatives of the following:
58. f (x) = x2 ln(1β x2
)59. f (x) = log3
(x2 β 4
)60. f (x) = log10
(x
xβ 1
)
61. y = ln(xβ
1β x2 sinx)
62. y = xsinx
63. y = (sinx)x
Solutions:
58. f (x) = x2 ln(1β x2
)f β² (x) = 2x ln
(1β x2
)+ x2 Β· 1
1β x2(0β 2x) = 2x ln
(1β x2
)β 2x3
1β x2.
59. f (x) = log3(x2 β 4
)Note that (or recall that) loga x =
lnx
ln a,
so f (x) = log3(x2 β 4
)=
ln(x2 β 4
)ln 3
β΄ f β² (x) =1
ln 3
[1
x2 β 4(2xβ 0)
]=
1
ln 3
[2x
x2 β 4
]=
2x
(x2 β 4) ln 3.
70
Study Unit 4: Differentiation Rules
60. f (x) = log10
(x
xβ 1
)
Recall: loga x =lnx
ln a,
so f (x) = log10
(x
xβ 1
)=
ln
(x
xβ 1
)ln 10
=1
ln 10
[ln
(x
xβ 1
)]=
1
ln 10[lnxβ ln (xβ 1)]
β΄ f β² (x) =1
ln 10
[1 (xβ 1)β 1.x
x (xβ 1)
]=
1
ln 10
[xβ 1β xx (xβ 1)
]=
β1
x (xβ 1) ln 10
61. y = ln(xβ
1β x2 sinx)
y = lnx+1
2ln(1β x2
)+ ln sinx
so yβ² =1
x+
1
2
[1
1β x2(0β 2x)
]+
1
sinx(cosx (1))
that is yβ² =1
x+
1
2
(β2x
1β x2
)+
cosx
sinx
=1
x+βx
1β x2+ cotx.
62. y = xsinx
You should take natural logs on both sides first and get:
ln y = lnxsinx
ln y = sinx lnx
Now take the derivatives of both sides:
1
yyβ² = cosx. lnx+ sinx.
1
x
yβ² = y
[cosx lnx+
sinx
x
]= xsinx
[cosx. lnx+
sinx
x
].
63. y = (sinx)x
Take logs on both sides and get:
ln y = x ln (sinx)
MAT1512 71
and1
yyβ² = 1. ln (sinx) + x(
1
sinx. cosx),
so yβ² = y[ln (sinx) + x.
cosx
sinx
]= (sinx)x [ln (sinx) + x. cotx] .
4.5.5 Logarithmic Functions
(a) The simplification of functions
As a result of its properties, a function involving the logarithmic function can be simplifiedbefore it is differentiated, as becomes clear in the following example:
Example:
Determine f β²(x) if f(x) = ln(
3
βxβ1x2
).
Solution:
Now using properties (f), (g) and (h) of logarithmic functions described earlier on
f(x) = ln
(xβ 1
x2
)1/3
=1
3
(ln (xβ 1)β ln x2
)=
1
3ln(xβ 1)β 2
3ln x.
Therefore
f β²(x) =1
3
(1
(xβ 1)
)β 2
3
(1
x
)=
βx+ 2
3x (xβ 1).
Even if the logarithmic function itself does not occur in the expression, it can be used forthe simplification of functions. We apply the logarithmic function to both sides of theequation and then differentiate (see below).
72
Study Unit 4: Differentiation Rules
Remark:
Always remember that when applying the chain rule to ddx (ln f (x)) , it becomes
d
dx(ln f (x)) =
1
f (x)f β² (x) .
For example:
d
dx(ln sinx)
=1
sinxΒ· cosx.
Examples:
64. Determine yβ² if y = x2e2x cos x3.
65. Determine f β²(x) if f(x) =x(1βx2)
2
β1+x2
.
66. Determine f β²(x) if f(x) = log3βx2+4
(xβ1)32.
Solutions:
64. We have thaty = x2e2x cos x3
By applying the logarithmic function on both sides, we find that
ln y = ln(x2e2x cosx3
)= 2 ln x+ 2x+ ln cosx3.
By differentiating we obtain
1
yΒ· yβ² = 2
x+ 2 +
1
cosx3Β·(β sinx3
)Β· 3x2.
Therefore
yβ² = y
(2
x+ 2β 3x2 tanx3
)= x2e2x cosx3
(2
x+ 2β 3x2 tanx3
).
65.
f(x) =x(1β x2
)2β
1 + x2
MAT1512 73
Once again we apply the logarithmic function on both sides and thus obtain
ln f(x) = lnx(1β x2
)2β
1 + x2
= ln x+ 2 ln(1β x2)β 1
2ln(1 + x2).
By differentiation we therefore obtain that
1
f (x)Β· f β²(x) =
1
x+β4x
1β x2β x
1 + x2.
Therefore
f β² (x) =x(1β x2
)2β
1 + x2
(1
xβ 4x
1β x2β x
1 + x2
)=
(1β x2
)2β
1 + x2β
4x2(1β x2
)β
1 + x2βx2(1β x2
)2(1 + x2)
32
=
(1β x2
)2 (1 + x2
)β 4x2
(1β x2
) (1 + x2
)β x2
(1β x2
)2(1 + x2)
32
=
(1β x2
) [(1β x2
) (1 + x2
)β 4x2
(1 + x2
)β x2
(1β x2
)](1 + x2)
32
=
(1β 5x2 β 4x4
) (1β x2
)(1 + x2)
32
.
66.
f(x) = log3
βx2 + 4
(xβ 1)32
=1
2log3(x
2 + 4)β 3
2log3(xβ 1)
Now using the fact that
loga x =logb x
logb a[Formula 10 on page 62 in Stewart]
we find that
f (x) =1
2
loge(x2 + 4
)loge 3
β 3
2
loge (xβ 1)
loge 3
=1
2
ln(x2 + 4
)ln 3
β 3
2
ln (xβ 1)
ln 3.
If we keep in mind that ln 3 is a constant, it follows that
f β² (x) =1
2 ln 3Β· 1
x2 + 4Β· 2xβ 3
2 ln 3Β· 1
xβ 1
=x
(x2 + 4) ln 3β 3
2 (xβ 1) ln 3.
74
Study Unit 4: Differentiation Rules
(b) Functions of the form f(x) = g(x)h(x)
We employ logarithmic differentiation to differentiate functions of the form
f(x) = g(x)h(x)
Just as in (a), we do this by applying the logarithmic function on both sides and thenmaking use of the properties of the logarithmic function.
Thenln f(x) = ln g(x)h(x).
Thereforeln f(x) = h(x). ln g(x).
Example:
Determine f β²(x) if f(x) =βxβx.
Solution:
By applying the logarithmic function on both sides, we obtain
ln f (x) = lnβxβx
=βx Β· ln
βx
By differentiating, we obtain from the chain rule and the product rule that
1
f (x)f β² (x) =
βx Β· 1β
xΒ· 1
2xβ
12 + ln
βx Β· 1
2xβ
12
=1
2βx
+1
2βx
lnβx.
Therefore
f β²(x) = f(x)
(1
2βx
+1
2βx
lnβx
)=βxβx(
1
2βx
(1 + ln
βx))
=
βxβx
2βx
(1 + lnβx).
MAT1512 75
[See the remark earlier on under (a) The simplification of functions]. Now attempt the fol-lowing yourself. (The answers are given at the end, so that you can make sure that youunderstand this important section well.)
Determine f β²(x) below:
67. f(x) = ln(x+βx2 + 1
)(be careful with this exercise!)
68. f(x) = (ln x)βx
69. f(x) = ln3
βx2 β 1
x2 + 1
70. f(x) = xln x + 7x23
71. f(x) =x (xβ 1)
13
(x+ 1)23
72. f(x) = a3x2
73. f(x) = xeβx2
74. f(x) = log10(log10 x)
Solutions:
67.1β
x2 + 1. (Use the chain rule on the right-hand side and simplify.)
68.(ln x)
βx
βx
(1
ln x+
ln ln x
2
).
69.4x
3 (x4 β 1).
70.2 ln x
xΓ xln x +
2 ln 7
3x13
Γ 7x23 .
76
Study Unit 4: Differentiation Rules
71.2x2 + 3xβ 3
3 (xβ 1)23 (x+ 1)
53
.
72. 6x a3x2
ln a.
73. xeβx2 Β· eβx2( 1x β 2x ln x).
74.1
x ln x ln 10.
4.5.6 Implicit Differentiation
This technique is used when the function contains variables that cannot be separated fromeach other. This process of differentiating both sides of the equation with respect to x andthen solving for yβ²(x) is called implicit differentiation.
Example:
Find yβ² (x) for x2 + y3β 2y = 3. Then find the slope of the tangent line at the point (2, 1).
Solutions:
Differentiate both sidesd
dx
(x2 + y3 β 2y
)=
d
dx(3)
with respect to x : 2x+ 3y2yβ² (x)β 2yβ² (x) = 0
3y2yβ² (x)β 2yβ² (x) = β2xSolve for yβ²(x) :
yβ² (x) =β2x
3y2 β 2
Find the slope of the
tangent line at (2, 1) : yβ² (2) =β4
3β 2= β4
Therefore the equation of the tangent line is
y β 1 = β4(xβ 2).
MAT1512 77
Now try the following exercises:
75. Find yβ² (x) for x2y2 β 2x = 4β 4y. Then find the slope of the tangent line at thepoint (2,β2) .
76. Determine the derivative of tanβ1 x.
77. Van der Waalβs equation for a specific gas is
(P +
5
V 2
)(V β 0.03) = 9.7.
Using the volume V as a function of pressure, use implicit differentiation to find the
derivativedV
dPat the point (2,β2).
78. Finddy
dxif tan
(xy2)
+ 3y = 2xy.
79. Finddy
dxif y2x2 + y + cos (xy) = 0.
80. Finddy
dxif sin (x+ y) = y2 cosx.
Solutions:
75.d
dx
(x2y2 β 2x
)=
d
dx(4β 4y)
β 2xy2 + x2(
2ydy
dx
)β 2 = 0β 4
dy
dx
β(2x2y + 4
) dydx
= 2β 2xy2
β dy
dx=
2β 2xy2
2x2y + 4
β΄dy
dx
β£β£β£β£(2,β2)
= mt =2β 2 (2) (β2)2
2 (β2) (2)2 + 4=β14
β12=
7
6
where mt represents slope of the tangent line.
The equation of the tangent line is
y β (β2) =7
6(xβ 2)
that is y + 2 =7
6xβ 14
6
that is y =7
6xβ 14
6β 2
=7
6xβ 14
6β 12
6
=7
6xβ 26
6
=7
6xβ 13
3.
76. The derivative of tanβ1 x:
78
Study Unit 4: Differentiation Rules
Note: Since tanx is differentiable, tanβ1 x is also differentiable. To find itsderivative, let y = tanβ1 x. Thentan y = tan
(tanβ1 x
)β tan y = x.
Differentiate this equation implicitly with respect to x to get:
sec2 ydy
dx= 1.
Thendy
dx=
1
sec2 y=
1
1 + tan2 y=
1
1 + x2.
Therefored
dx
(tanβ1 x
)=
1
1 + x2.
77. (P + 5
V 2
)(V β 0.03) = 9.7
β PV β 0.03P + 5V β
0.15
V 2= 9.7
β d
dP
(PV β 0.03P + 5V β1 β 0.15V β2
)= 0
β(
1V + PdV
dP
)β 0.03 + 5 (β1)V β2
dV
dP+ 2 Β· (0.15)V β3
dV
dP= 0
β(P β 5
V 2+
0.3
V 3
)dV
dP= 0.03β V
β dV
dP=
0.03β V
P β 5
V 2+
0.3
V 3
β΄dV
dP
β£β£β£β£(2,β2)
=0.03β (β2)
2β 5
(β2)2+
0.3
(β2)3
=0.03 + 2
2β 5
4β 0.3
8
=203/100
57/80=
812
150.
78. tan(xy2)
+ 3y = 2xy
Differentiate on both sides:
sec2(xy2)[y2 + 2xydy
dx] + 3
dy
dx= 2y + 2x dydx
β[2xy sec2(xy2)β 2x+ 3
]dydx
= 2y β y2 sec2(xy2)
β dy
dx=
2y β y2 sec2(xy2)
2xy sec2(xy2)β 2x+ 3.
MAT1512 79
79. y2x2 + y + cos (xy) = 0
Differentiate on both sides:
2ydy
dxx2 + 2xy2 +
dy
dxβ sin(xy)
[y + x
dy
dx
]= 0
β[2yx2 + 1β x sin(xy)
]dydx
= β2xy2 + y sin(xy)
β dy
dx=
y sin(xy)β 2xy2
2x2y + 1β x sin(xy).
80. sin (x+ y) = y2 cosx
Differentiate on both sides:
cos(x+ y) Β·(1 +
dy
dx
)= 2y dydx cosx+ y2(β sinx)
β cos(x+ y) + cos(x+ y)dy
dx= 2y dydx cosxβ y2 sinx
β dy
dx
[cos(x+ y)β 2y cosx
]= βy2 sinxβ cos(x+ y)
β dy
dx=βy2 sinxβ cos(x+ y)
cos(x+ y)β 2y cosx.
4.5.7 Tangents and Normal Lines
From your high-school mathematics, you should know that differentiating the equa-tion of a curve gives you a formula for the gradient (m) of the curve. The gradient ofa curve at a point is equal to the gradient of the tangent at that point. For example,in order to find the equation of the tangent to the curve y = x3 at the point (2, 8),you first have to determine the derivative: m = yβ² = 3x2.
The gradient of the tangent at the point (2, 8) when x = 2 is 3 (2)2 = 12
The equation for the tangent line is: y = 12xβ 16 since
{βy
βx=
8β y2β x
= 12
}.
The normal to the curve is the line which is perpendicular (at right angles) to thetangent to the curve at that point. If two lines are perpendicular, then the productof their gradients is β1. So if the gradient of the tangent at the point (2, 8) of the
curve y = x3 is 12, then the gradient of the normal is β 1
12, since β 1
12Γ 12 = β1.
Now try to work through the following problems involving tangents and normal lines.Note, we have used the fact that mtmn = β1 where mt and mn are theslopes of tangent and normal lines respectively.
Examples:
80
Study Unit 4: Differentiation Rules
81. Two curves are said to be orthogonal at a point where the curves intersect iftheir tangents are perpendicular to each other at the point of intersection. Showthat the curves y = sin(2x) and y = β sin(x2 ) are orthogonal at the origin.
82. Find the x- and y-intercepts of the line that is tangent to the curve y = x3 atthe point (β2,β8).
83. Does the graph of the function
y = 2x+ sin x
have any horizontal tangents in the interval 0 β€ x β€ 2Ο? If so, where? If not,why not?
84. Find equations for the lines that are tangent and normal to the curve f(x) =1 + cosx at the point (Ο/2, 1).
85. (a) Find the equation for the tangent to the graph of
h(x) =4
(1 + x)2
which makes an angle of 45β¦ with the x-axis.
[NB: Assume that the scales along the x- and y-axes are the same. Anglesare measured counterclockwise from the positive x-axis.]
(b) What is the equation of the normal to the curve of h at the point of tangencyfor the tangent considered in (a) above?
86. Find the points on the curve y = 2x3 β 3x2 β 12x + 20 where the tangent isparallel to the x-axis. What are the equations for these tangents?
87. Determine the equation for the normal to the curve of
f(x) =1
x2 + 1
at the point x = 1.
88. Determine the equations for the tangents to the curve of y = x3β 6x+ 2 whichare parallel to the line y = 6xβ 2.
89. The line normal to the curve y = x2 + 2x β 3 at (1, 0) intersects the curve atwhat other point?
90. What are the equations for the tangents to the curve f(x) = x2 + 5x+ 9 whichpasses through the origin?
91. Find the equations of the tangent and the normal lines to the curve of
2xy + Ο sin y = 2Ο at the point(
1,Ο
2
).
MAT1512 81
92. Find the equations for the tangent and the normal lines to the curve of
x sin (2y) = y cos (2x)
at the point(Ο4 ,
Ο2
).
Solutions:
81.
y = sin(2x)
β dy
dx= (cos(2x))
d
dx(2x)
= 2 cos(2x),
sody
dx
β£β£β£β£x=0
= 2Γ 1 = 2.
Also,
y = β sin(x
2)
β dy
dx= β cos(
x
2)d
dx
(x2
)= β1
2cos(
x
2).
sody
dx
β£β£β£β£x=0
= β1
2Γ 1 = β1
2.
Since
(β1
2
)(2) = β1, the given curves are orthogonal at the origin.
82. Letf(x) = x3.
Thenf β² (x) = 3x2,
so the gradient at the point (β2,β8) is f β² (β2) , that is 12. The equation of thetangent at the point (β2,β8) is therefore given by
y β (β8) = 12(xβ (β2))
or
y = 12x+ 16
= 4(3x+ 4).
The x-intercept of this tangent is β4
3and its y-intercept is 16.
82
Study Unit 4: Differentiation Rules
83. Letf(x) = 2x+ sin x.
Thenf β² (x) = 2 + cosx.
Now the gradient of a horizontal line is 0, so if the graph of f is to have a horizontaltangent at the point (x, f(x)), then the value of f β²(x) must be 0. We must thereforesolve the equation
f β² (x) = 0
for all values of x occurring in the interval 0 β€ x β€ 2Ο. But if
2 + cos x = 0
thencos x = β2,
which is impossible. Hence the graph of f has no horizontal tangents.
84.
f(x) = 1 + cosx
β f β²(x) = β sin x
mt = β1
Hence the gradient at the point(Ο
2, 1)
is f β²(Ο
2
)that is β1. The equation of the
tangent at the point(Ο
2, 1)
is therefore
y β y1 = mt (xβ x1)
y β 1 = β1(xβ Ο
2
)y = βx+
Ο
2+ 1.
Since mtmn = β1 β mn = β1mt
= β1β1 = 1. The gradient of the normal at the point(Ο
2, 1)
is 1. The equation for the normal at the point(Ο
2, 1)
is therefore
y β y1 = mn (xβ x1)
y β 1 = 1(xβ Ο
2
)y = xβ Ο
2+ 1.
85. (a) The tangent which makes an angle of 45β¦ with the x-axis has a gradient of 1. Tofind the x-coordinate of the corresponding point of tangency, we let m = tan ΞΈbe the slope
hβ² (x) = 1
MAT1512 83
and solve for x. Now
h(x) = 4(1 + x)β2
β hβ²(x) = β8(1 + x)β3,
and
β 8
(1 + x)3= 1
β x = β3.
We have that
h(β3) =4
(1β 3)2= 1.
The tangent thus passes through the point (β3, 1) and has a gradient of 1. Itsequation is
y = 1.(x+ 3) + 1
that isy = x+ 4.
(b) We obtain the equation for the required normal:
y = β1.(x+ 3) + 1
that isy = βxβ 2.
86.
y = 2x3 β 3x2 β 12x+ 20
β yβ² = 6x2 β 6xβ 12.
Now
6x2 β 6xβ 12 = 0
β 6(x2 β xβ 2) = 0
β 6(xβ 2)(x+ 1) = 0
β x = 2 or x = β1.
If x = 2 then y = 2Γ 8β 3Γ 4β 24 + 20 = 0.
If x = β1 then y = β2β 3 + 12 + 20 = 27.
The required points are (2, 0) and (β1, 27). The equations for the tangents are y = 0and y = 27 respectively.
84
Study Unit 4: Differentiation Rules
87.
f(x) =1
x2 + 1=(x2 + 1
)β1β f β²(x) = β(x2 + 1)β2 Β· 2x
β΄ f β²(1) = β1
2,
so the gradient of the normal at x = 1 is 2. Now
f(1) =1
2,
so the equation for the normal at x = 1 is
y β 1
2= 2(xβ 1).
88. The slope of the tangent to the curve of y = x3 β 6x+ 2 is given by yβ² =dy
dx. Now
yβ² = 3x2 β 6.
Since the tangent must be parallel to y = 6x β 2, we must have that yβ² is equal tothe slope of y = 6xβ 2, that is
yβ² = 6β 3x2 β 6 = 6β 3x2 β 12 = 0β x2 β 4 = 0β x = Β±2.
The corresponding y-values are
y = (β2)3 β 6(β2) + 2
= β8 + 12 + 2 = 6
for x = β2, and
y = (2)3 β 6(2) + 2
= 8β 12 + 2 = β2
for x = 2.
Therefore the tangent points are (β2, 6) and (2,β2).
The equation for a line with slope m which passes through (xo, yo) is given by
y β yo = m(xβ xo).
MAT1512 85
The tangent through (β2, 6) therefore has the equation
y β 6 = 6(xβ (β2))
= 6x+ 12
that isy = 6x+ 18.
The tangent through (2,β2) has the equation
y β (β2) = 6(xβ 2)
that isy + 2 = 6xβ 12
that isy = 6xβ 14.
89. The normal to the curve y = x2 + 2x β 3 at the point (1, 0) is perpendicular to thetangent at that point. Hence, if we know the gradient of the tangent we can calculatethe gradient of the normal. Now if
f(x) = x2 + 2xβ 3
thenf β² (x) = 2x+ 2.
Thusf β² (1) = 4,
which is the gradient of the tangent. Hence the gradient of the normal is β1
4. Since
the normal passes through the point (1, 0), its equation is
y β 0 = β1
4(xβ 1)
that is
y = β1
4x+
1
4.
To find the points of intersection of the curve y = x2+2xβ3 and the line y = β1
4x+
1
4,
let
x2 + 2xβ 3 = β1
4x+
1
4.
Then4x2 + 8xβ 12 = βx+ 1
86
Study Unit 4: Differentiation Rules
so4x2 + 9xβ 13 = 0,
that is(xβ 1)(4x+ 13) = 0.
Hence x = 1 or x = β13
4. If x = β13
4then
β1
4x+
1
4=
13
16+
1
4=
17
16.
The other point of intersection of the normal and the curve is therefore
(β13
4,17
16
).
90. The equation of the tangent at a point (Ξ±, f(Ξ±)) is
y β f(Ξ±) = f β²(Ξ±)(xβ Ξ±),
that isy = f β²(Ξ±) Β· xβ Ξ± Β· f β²(Ξ±) + f(Ξ±).
The tangent will pass through the origin only if the y-intercept is 0, that is
f(Ξ±)β Ξ± Β· f β²(Ξ±) = 0,
and then the equation of the tangent becomes
y = f β²(Ξ±) Β· x. (4.1)
Hence the solutions of the equation
f(x)β x Β· f β²(x) = 0
will give the x-coordinates Ξ± of the points of contact between the tangents and thecurve, and then the equations of the corresponding tangents can be determined from(β).
Now
f(x) = x2 + 5x+ 9
β f β² (x) = 2x+ 5,
and
f(x)β x Β· f β²(x) = 0
β x2 + 5x+ 9β x(2x+ 5) = 9β x2 = 0
β x = 3 or x = β3.
MAT1512 87
We have that f β²(3) = 11 and f β²(β3) = β1. Hence the required tangents have theformulae y = 11x and y = βx.
91. 2xy + Ο sin y = 2Ο
Differentiate both sides:
2y + 2x dydx + Ο cos ydy
dx= 0
β (2x+ Ο cos y)dy
dx= β2y
β dy
dx=
β2y
2x+ Ο cos y.
At (1, Ο2 ):dy
dx=
β2 Β· Ο22 + Ο cos Ο2
= βΟ2.
Equation of the tangent line:
y β Ο2 = βΟ
2 (xβ 1)β y = βΟ2x+ Ο.
Equation of the normal line:
y β Ο2 = 2
Ο (xβ 1)β y = 2Οxβ
2Ο + Ο
2 .
92. x sin (2y) = y cos (2x)
Differentiate both sides:
sin 2y + x cos 2ydy
dx=
dy
dxcos 2xβ 2y sin 2x
β dy
dx
[2x cos 2y β cos 2x
]= β2y sin 2xβ sin 2y
β dy
dx=
2y sin 2x+ sin 2y
cos 2xβ 2x cos 2y.
At the point (Ο4 ,Ο2 ) the slope is:
dy
dx=
Ο sin(Ο2 ) + sinΟ
cos(Ο2 )β 2Ο4 cosΟ
=Ο2Ο4
= 2.
Therefore the equation of the tangent at the point (Ο4 ,Ο2 ) is:
y β Ο
2= 2(xβ Ο
4)
β y = 2x,
88
Study Unit 4: Differentiation Rules
and the equation of the normal line is:
y = β1
2x+
5Ο
8.
4.5.8 The Mean Value Theorem
In this section we discuss the Mean Value Theorem. Please read carefully through Sections4.2 of Chapter 4 in Stewart. We would advise you to work through the examples in orderto become familiar with how the Mean Value Theorem is applied. In section 4.2 you haveto understand theorems 1 and 3. You have to be able to apply these theorems. Pleasework through examples 3 to 5 in this section.
The Mean Value Theorem is one of the most important tools in calculus. It states that iff(x) is defined and continuous on the interval [a, b] and differentiable on (a, b), then thereis at least one number c in the interval (a, b) (that is a < c < b) such that
f β² (c) =f (b)β f (a)
bβ a.
The special case when f(a) = f(b) is known as Rolleβs Theorem. In that case, we havef β²(c) = 0. In other words, there exists a point in the interval (a, b) which has a horizontaltangent. In fact, the Mean Value Theorem can be stated in terms of slopes.
The numberf (b)β f (a)
bβ a
is the slope of the line passing through (a, f(a)) and (b, f(b)), see Figure 4.4.
Example:
Let f (x) =1
x, a = β1 and b = 1. We have
f (b)β f (a)
bβ a= 1β(β1)
1β(β1) =2
2= 1.
On the other hand, for any c β [β1, 1] , not equal to 0, we have f β² (c) = β 1
c26= 1.
So the equation f β² (c) =f (b)β f (a)
bβ adoes not have a solution for c. This does not
contradict the Mean Value Theorem, since f(x) is not continuous on [β1, 1].
Note: The derivative of a constant function is 0. You may wonder whether a functionwith a derivative of zero is constant β the answer is yes. To show this, we let f(x) be a
MAT1512 89
Figure 4.4: Illustration of the Mean Value Theorem
differentiable function on an interval I, with f β² (x) = 0, for every x β I. Then for a and b
in I, the Mean Value Theorem implies thatf (b)β f (a)
bβ a= f β² (c) for some point c between
a and b. So our assumption implies that f (b) β f (a) = 0. (bβ a). Thus f (b) = f (a) forany a and b in I, which means that f(x) is a constant function.
Worked Examples:
For the following functions, find a value of c which complies with the Mean Value Theorem.
93. f (x) = x2 + 1, on the interval [β2, 2].
94. f (x) = x3 + x2, on the interval [0, 1].
95. f (x) = sinx, on the interval [0, Ο2 ].
Solutions:
93. Since f (x) = x2 + 1 is a polynomial, f(x) is continuous on [β2, 2] and differentiableon (β2, 2). According to the Mean Value Theorem, this means that there is a numberc in (β2, 2) for which
f β² (c) =f (2)β f (β2)
2β (β2)=
(22 + 1
)β(
(β2)2)
+ 1
4=
5β 5
4=
0
4= 0.
90
Study Unit 4: Differentiation Rules
To find this number c, we obtain f β²(c) and then set f β² (c) = 0.
f β² (c) = 2c and 2c = 0, so c = 0
Notice that c = 0 β (β2, 2) β΄ c = 0.
94. f (x) = x3 + x2 is a polynomial, continuous on [0, 1] and differentiable on (0, 1).According to the Mean Value Theorem, there is a number c in (0, 1) for which
f β² (c) =f (1)β f (0)
1β (0)=
2β 0
1= 2.
But f β² (c) = 3c2 + 2c.
So, f β² (c) = 3c2 + 2c = 2β 3c2 + 2cβ 2 = 0.
Using the quadratic formula we get
c =β2Β±
β22 β 4 (3) (β2)
2 (3)=β2Β±
β28
6=β2Β± 2
β7
6
c =β1Β±
β7
3β c =
β1ββ
7
3or c =
β1 +β
7
3β c β β1.22 or c β 0.55.
But since c β β1.22 /β [0, 1] , we only accept the alternative c β 0.55 that is
c =β1 +
β7
3.
95. f (x) = sinx, on the interval[0, Ο2
].
As f (x) = sinx is a trigonometric function, it means that f(x) is continuous on[0, Ο2
]and differentiable on
(0, Ο2
). The conditions for the Mean Value Theorem hold, and
so there exists c β(0, Ο2
)such that
f β² (c) =f(Ο2
)β f (0)
Ο2 β 0
=sin(Ο2
)sin (0)Ο2
=1β 0Ο2
=1Ο2
=2
Ο.
But f β² (x) = cosx, f β² (c) = cos c and c has to be in the first quadrant. Thus
c = cosβ1(
2
Ο
)β 0.88, and so c = 0.88 β
(0,Ο
2
). Therefore the number c we are
looking for is c = cosβ1(
2
Ο
)β 0.88.
MAT1512 91
Key points
You should by now have an understanding of the notion of differentiability and should alsobe able to compute the derivatives of different functions using basic differential formulassuch as the power, product, quotient and chain rules. Think of differentiation as a pro-cess during which a function is βprocessedβ to produce another function - the derivative.This process (differentiation) is carried out using different formulas and rules. We haveintroduced the basic ones in this chapter. We have also demonstrated some techniquesyou can use to compute the derivatives of different algebraic and trigonometric functions.In addition to this, we have demonstrated how some theorems, such as the Mean ValueTheorem, can be applied.
At this stage you should be able to
β’ compute the derivative of a function from first principles (using the definition of thederivative)
β’ distinguish between the continuity and differentiability of a function
β’ use the basic differentiation formulas to compute derivatives of algebraic and trigono-metric functions
β’ compute the derivatives of trigonometric functions and inverse trigonometric func-tions, as well as exponential and logarithmic functions
β’ use the methods of logarithmic differentiation and implicit differentiation to findderivatives
β’ solve problems involving tangents and normal lines and apply the Mean Value The-orem
Continue practising solving problems until you have mastered the basic techniques! Gothrough the section βFor your reviewβat the end of each chapter to consolidate what youhave learnt and also use other calculus textbooks.
92
Study Unit 5
Integrals
5.1 Background
In principle, calculus deals with two geometric problems: the one is to find the tangentline to a curve and the other is to find the area of a region under a curve. Both theseproblems are limiting processes. The first is called differentiation and the second processis integration. In this chapter we turn to the latter process.
To find the area of the region under the graph of a positive continuous function f definedon an interval [a, b] we subdivide the interval [a, b] into a finite number of subintervals,say n, the k-th subinterval having length βxk, and then we consider the sum of the formβn
k=1 f(tk)βxk, where tk is some point in the k-th subinterval. This sum is an approxi-mation of the area that is arrived at by adding up n rectangles. Making the subdivisionsfiner and finer, this sum will tend to a limit as we let nββ and, roughly speaking, thislimit is the definition of the definite integral
β« ba f(x)dx (Riemannβs definition).
The two concepts, βderivativeβ and βintegralβ, arise in entirely different ways and it is aremarkable fact indeed that the two are intimately connected. We will show that differen-tiation and integration are, in a sense, inverse operations.
There is a connection between differential calculus and integral calculus. This connectionis called the Fundamental Theorem of Calculus and we shall see in this chapter that itgreatly simplifies the solving of many problems.
5.2 Learning Outcomes
At the end of this chapter, you should be able to
β’ show that you understand the notion of the antiderivative by finding the antideriva-tive of basic algebraic, trigonometric, exponential and logarithmic functions
MAT1512 93
β’ use the Fundamental Theorem of Calculus to find the derivatives of functions of theform F (x) =
β« g(x)a f (t) dt
β’ evaluate definite integrals and use them to determine the area between a curve andthe x-axis, and the area between curves
β’ use substitution or term-by-term integration techniques to integrate basic algebraic,trigonometric, exponential and logarithmic functions
β’ solve problems involving the Mean Value Theorem for definite integrals
Note: The way to master calculus is to solve lots of calculus problems!
5.3 Prescribed Reading
The prescribed sections of Stewart are 4.9, 5.1, 5.2, 5.3, 5.4, 5.5 and in Chapter 6 onlySection 6.1.
5.4 Worked Examples
Our collection of worked examples pertains to the work covered in Section 4.9, Chapter 5and Section 6.1 of Chapter 6 of Stewart. It can be divided into 11 sets (with some overlap),namely:
I. Antiderivative
II. The definite integral and the Fundamental Theorem of Calculus β Part II
III. The definite integral and the area between the curve and the x-axis
IV. The definite integral and the area under the curve
V. The Mean Value Theorem for definite integrals
VI. The Fundamental Theorem of Calculus β Part I
VII. Integration in general
VIII. Indefinite integrals
IX. The substitution rule
X. Integration of exponential and logarithmic functions
94
Study Unit 5: Integrals
XI. Review of formulas and techniques of integration
Attempt the problems appearing immediately after each set once you have studied therelevant parts of Stewart and done some of the exercises there.
Table 5.1 shows how these worked examples and their solutions are organised.
Topic(s) Sections in Study guideStewart examples
I. Antiderivatives Section 4.9 1β10
II. The definite integral and the Section 5.3 11β14Fundamental Theorem of pages 396β399Calculus β Part II
III. The definite integral and the area Sections 5.2 and 6.1 15β17between the curve and the x-axis
IV. The definite integral and the Section 6.1 18β21area under the curve
V. The Mean Value Theorem for Section 6.5 22 & 23definite integrals page 461β462
VI. The Fundamental Theorem of Section 5.3 24β30Calculus β Part I pages 394β398
VII. Integration in general Chapters 5 & 6, Section 4.9 11β52
VIII. Indefinite integrals Section 5.4 pages 402β405 31β34
IX. The substitution rule Section 5.5 pages 412β418 35β37
X. Integration of exponential and Appendix G 38β39, 43, 45 and 51logarithmic functions A50βA53
XI. Review of formulas and 40β50techniques of integration page 471
Table 5.1: Sections in Stewart.
5.4.1 Antiderivatives
If we have been given a function, we can find its derivative. But many mathematicalproblems and their applications require us to solve the inverse (the reverse) of the derivativeproblem. This means that, given a function f , you may be required to find a function Fof which the derivative is f . If such a function F exists, it is called an antiderivative of f .
The process of undoing differentiation (in other words, the reverse of differentiation) isknown as integration. The antiderivative is known as an integral.
MAT1512 95
Find the general antiderivative of the following functions:
1. xβ3 + x2
2. 12 6βx
3. x23 + 2xβ
13
4. ΞΈ + sec ΞΈ tan ΞΈ
5. β3
2csc2
(3ΞΈ
2
)6. cos Οx2 + Ο cosx
Find the function f if f β² is given as follows:
7. f β² (x) = sinxβ 5βx2
8. f β² (x) = 3 cosx+ 5 sinx
9. f β² (t) = sin 4tβ 2βt
10. f β² (t) =7βt4 + tβ6
Solutions:
1. xβ3 + x2
General antiderivative:
β1
2xβ2 +
x3
3+ c
by the power rule (see Stewart pages 173, 175, 200 and 221).
2. 12 6βx = 1
2xβ 1
6
General antiderivative:
1
2Β· 6
5x
56 + c (power rule)
=3
5x
56 + c.
3. x23 + 2xβ
13
General antiderivative:
3
5x
53 + 2.
3
2x
23 + c (power rule)
=3
5x
53 + 3x
23 + c.
96
Study Unit 5: Integrals
4. ΞΈ + sec ΞΈ tan ΞΈ
General antiderivative:1
2ΞΈ2 + sec ΞΈ + c.
5. β3
2csc2
3
2ΞΈ
General antiderivative:
cot3
2ΞΈ + c.
6. cos Ο2x+ Ο cosx
General antiderivative:2
Οsin
Ο
2x+ Ο sinx+ c.
7.
f β² (x) = sinxβ 5βx2
= sinxβ x25
β f (x) = β cosxβ 5
7x
75 + c.
8.
f β² (x) = 3 cosx+ 5 sinx
β f (x) = 3 sinxβ 5 cosx+ c.
9.
f β² (t) = sin 4tβ 2βt = sin 4tβ 2t
12
β f (t) = β1
4cos 4tβ 2 Β· 2
3t32 + c
= β1
4cos 4tβ 4
3t32 + c.
10.
f β² (t) =7βt4 + tβ6 = t
47 + tβ6
β f (t) =7
11t117 β 1
5tβ5 + c.
MAT1512 97
5.4.2 The Definite Integral and the Fundamental Theorem of Calculus β Part II
The Fundamental Theorem of Calculus, Part II is stated as follows:
If f is continuous on [a, b] and F (x) is any antiderivative of f (x) , thenβ« ba f (x) dx = F (b)β F (a)
Examples:
Compute the following integrals using the Fundamental Theorem of Calculus:
11. β« 2
0
(x2 β 2x
)dx =
(1
3x3 β x2
)β£β£β£β£20
=
(8
3β 4
)= β4
3.
12. β« 4
1
(βxβ 1
x2
)dx =
β« 4
1x
12 β xβ2dx
=
(2
3x
32 + xβ1
)β£β£β£β£41
=
[2
3(4)
32 + 4β1
]β(
2
3+ 1β1
)=
16
3+
1
4β 2
3β 1 =
47
12.
13. β« 4
0eβ2xdx
=
(β1
2eβ2x
)β£β£β£β£40
= β1
2e8 β
(β1
2e0)
= β1
2eβ8 +
1
2.
Note that in the example above, the integral of an exponential function is just theexponential function with its index divided by the derivative of its index.
14. β« β1β3
2
xdx
= 2 ln |x|β1β3 = 2 (ln |β1| β ln |β3|)= 2 (ln 1β ln 3) = β2 ln 3.
98
Study Unit 5: Integrals
5.4.3 The Definite Integral and the Area Between the Curve and the x-axis
It is important to understand that the definite integral of a continuous function f evaluatesthe area between the graph of this function f and the x-axis. See the following examples.
Examples:
15. Find the area under the curve of f (x) = sinx on the interval [0, Ο] , always true forx β [0, Ο] .
Solution:
Area =
β« Ο
0sinxdx = (β cosΟ) + (cos 0) = (1)β (β1) = 2.
16. [The connection between area and calculus]
Calculate the value ofβ« 52 (2xβ 4) dx geometrically by using a suitable sketch. Then
test your answer with the aid of integration.
MAT1512 99
Solution:
(a) Geometrically:
The graph of y = 2xβ 4 looks like this:
Figure 5.1: Graph of y = 2xβ 4
Therefore β« 5
2(2xβ 4)dx = area of triangle A
= 1/2Γ base Γ height
= 1/2Γ 3Γ 6
= 9.
(b) Test with the aid of integration:
F (x) = x2 β 4x is an antiderivative of y = 2xβ 4 and henceβ« 5
2(2xβ 4)dx = F (5)β F (2)
= (25β 20)β (4β 8)
= 9,
which is the same as in (a) above.
100
Study Unit 5: Integrals
17. Find the area of the region between the x-axis and the graph of f(x) = 2x + x2 βx3, β1 β€ x β€ 2.
Solution:
Figure 5.2: Graph of f(x) = 2x+ x2 β x3
First find the zeros of f . Since
f(x) = 2x+ x2 β x3 = βx(β2β x+ x2) = βx(x+ 1)(xβ 2),
the zeros are x = 0,β1, and 2. It is clear that the zeros partition the interval [β1, 2] intotwo subintervals:[β1, 0] and [0, 2] with f (x) β€ 0 for all x β [β1, 0] and f (x) β₯ 0 for allx β [0, 2]. We integrate over each subinterval and add the absolute values of the calculatedvalues.
Integral over [β1, 0]:β« 0
β1(2x+ x2 β x3)dx =
[x2 +
x3
3β x4
4
]0β1
= 0β[(β1)2 +
(β1)3
3β (β1)4
4
]= β 5
12.
MAT1512 101
Integral over [0, 2]: β« 2
0(2x+ x2 β x3)dx =
[x2 +
x3
3β x4
4
]20
=[(2)2 +
(2)3
3β (2)4
4
]β 0
= [4 +8
3β 4]
=8
3.
Enclosed area:
Total enclosed area =β£β£β512
β£β£+β£β£83
β£β£ = 3712 .
5.4.4 The Definite Integral and Area Under the Curve
If f and g are continuous functions with f (x) β₯ g (x) throughout [a, b], then the area ofthe region between the curves of f and g from a to b is the integral of [f β g] from a to b.The area bounded by the two curves y = f (x) and y = g (x) on the interval [a, b] where fand g are continuous, is written as follows:
A =
β« b
a[f (x)β g (x)] dx.
This is shown in the sketch below:
Steps To Find The Area Under a Curve
(i) Sketch the graphs of the given functions.
(ii) Determine the boundaries of integration, which are the points of intersection of thegraphs by equating both functions.
102
Study Unit 5: Integrals
(iii) Apply the formula for determining the area under a curve
A =
β« b
a[f (x)β g (x)] dx.
where f(x) bounds or is above g(x), ie f (x) β₯ g (x) on [a, b], a and b are theboundaries of integration determined in (ii) above.
(iv) Then integrate to evaluate the area.
Examples:
18. Evaluate the area between the curves f (x) = 5β x2 and g (x) = |x+ 1|.
Solution:
Figure 5.3: Graph of f(x) = 5β x2 and g(x) = |x+ 1|
Points of intersection:
β(x+ 1) = 5β x2
β x2 β xβ 6 = 0
β (xβ 3)(x+ 2) = 0β x = 3 or x = β2,
and
x+ 1 = 5β x2
β x2 + xβ 4 = 0
β x =β1Β±
β17
2.
It is clear that the limits of integration are the x-values of the points of intersection of
the two curves: a = β2 and b = β1+β17
2 . Now we evaluate the area of the region byintegrating:
MAT1512 103
A =
β« β1+β17
2
β2[5β x2 β |x+ 1|]dx
=
β« β1β2
[5β x2 β (βxβ 1)]dx+
β« β1+β17
2
β1[5β x2 β (x+ 1)]dx
=
β« β1β2
[βx2 + x+ 6]dx+
β« β1+β17
2
β1[βx2 β x+ 4]dx
=[β x3
3+x2
2+ 6x
]β1β2 +
[β x3
3β x2
2+ 4x
]β1+β17
2β1
=1
3+
1
2β 6β
[8
3+ 2β 12
]+β(β1 +
β17)3
24+β(β1 +
β17)2
8
+4
(β(β1 +
β17)
2
)β[
1
3β 1
2β 4
]=β8
3+ 9β (β1 +
β17)3
24β (β1 +
β17)2
8+ 2(β1 +
β17)
We would like to encourage you to leave your answers unsimplified, as you arenot allowed to use a calculator in your examinations!
19. Find the area bounded by the graphs of y = 3β x and y = x2 β 9.
Solution:
Find the points of intersection by equating the two functions:
3β x = x2 β 9
β 0 = x2 + xβ 12 = (xβ 3) (x+ 4)
that is x = 3 or x = β4.
The two curves intersect at x = 3 and x = β4 (see Figure 5.4).
104
Study Unit 5: Integrals
Figure 5.4: Graph of y = 3β x and y = x2 β 9
The height of the bounded area is h (x) = (3β x)β(x2 β 9
).
Therefore
A =
β« 3
β4
[(3β x)β
(x2 β 9
)]dx
=
β« 3
β4
(βx2 β x+ 12
)dx =
[βx
3
3β x2
2+ 12x
]3β4
=
[β33
3β 32
2+ 12 (3)
]β
[β(β4)3
3β (β4)2
2+ 12 (β4)
]=
343
6.
20. Find the area bounded by the graphs of y = x2 and y = 2β x2 for 0 β€ x β€ 2.
MAT1512 105
Solution:
Figure 5.5: Graph of y = x2 and y = 2β x2
Since the curves intersect in the middle of the interval, you have to compute two integrals,namely for 2β x2 β₯ x2 and for x2 β₯ 2β x2.
To find the point of intersection, solve for x :
x2 = 2β x2 β 2x2 = 2β x = Β±1.
Note that only x = +1 is relevant since x = β1 is outside the given interval.
A =
β« 1
0
[(2β x2
)β x2
]dx+
β« 2
1
[x2 β
(2β x2
)]dx
=
β« 1
0
(2β 2x2
)dx+
β« 2
1
(2x2 β 2
)dx
=
[2xβ 2x3
3
]10
+
[2x3
3β 2x
]21
=
(2β 2
3
)β (0β 0) +
(16
3β 4
)β(
2
3β 2
)=
4
3+
4
3+
4
3= 4.
21. Find the area bounded by the graphs of x = y2 and x = 2β y2.
106
Study Unit 5: Integrals
Figure 5.6: Graph of x = y2 and x = 2β y2
Solution:
It is easier to compute this area by integrating with respect to y. Therefore we find thepoints of intersection by solving for y.
y2 = 2β y2 β y2 = 1β y = Β±1.
In the interval [β1, 1] ,
A =
β« 1
β1
[(2β y2
)β y2
]dy =
β« 1
β1
(2β 2y2
)dy
=
[2y β 2
3y3]1β1
=
(2β 2
3
)β(β2 +
2
3
)=
8
3.
5.5 The Mean Value Theorem for Definite Integrals
Now we state the Mean Value Theorem for definite integrals
If f is continuous on the interval [a, b] there is atleast one number c between a and b such that
the area under the curve between a and b =β« ba f (x) dx = (bβ a) f (c)
or f (c) = 1bβa
β« ba f (x) dx.
22. [Finding c using the Mean Value Theorem for integrals]
MAT1512 107
Find a value c guaranteed by the Mean Value Theorem for integrals for f (x) = x2 +2x+3on [0, 2].
Solution: β« 2
0x2 + 2x+ 3 dx =
1
3x3 + x2 + 3x
]20
=8
3+ 4 + 6
=8 + 12 + 18
3
=38
3.
The region bounded by the graph of f and the x-axis on [0, 2] is shaded in Figure 5.7.
Figure 5.7: Graph of f(x) = x2 + 2x+ 3 and xβ axis on [0, 2]
The Mean Value Theorem for integrals asserts the existence of a number c on [0, 2] suchthat f (c) (bβ a) = 38
3 . We solve this equation to find c:
f (c) (bβ a) =38
3
β(c2 + 2c+ 3
)(2β 0) =
38
3
β 2c2 + 4c+ 6 =38
3β 6c2 + 12cβ 20 = 0
β΄ 3c2 + 6cβ 10 = 0
108
Study Unit 5: Integrals
β΄ c =β6Β±
β36 + 4 (3) (10)
6
=β6Β±
β156
6
= β1Β±β
39
3.
Since only one of these points, that is c = β1 +β393 β 1, 08, lies within the interval [0, 2],
this value of c satisfies the Mean Value Theorem for integrals.
The following is the definition of the average value of a function:
If f is integrable on [a, b] , then the average valueor mean value of f on [a, b] denoted by av (f) is
av (f) = 1bβa
β« ba f (x) dx
23. [Finding the average value of a function on an interval]
Find the average value of f (x) = 2x on the interval [1, 5].
Solution:
The average value is
av (f) =1
5β 1
β« 5
12xdx =
1
4
(x2)]5
1
=1
4(25β 1)
= 6.
Obviously this average value occurs when f (x) = 6 and when x = 3.
5.6 The Fundamental Theorem of Calculus β Part I
If f is continuous on [a, b] and F (x) =β« xa f (t) dt, then F β² (x) = f (x) on [a, b].
In other words, if F (x) =β« xa f (t) dt where a is any real number, then
d
dx(F (x)) =
d
dx
β« x
af (t) dt
that is F β² (x) = f (x) ddx (x) = f (x) (1); therefore F β² (x) = f(x).
MAT1512 109
To apply Part I of the Fundamental Theorem of Calculus, just leave the function f(t) asit is, but replace the variable t with the variable x times the derivative of x.
Let us write down the two parts of the Fundamental Theorem of Calculus again:
Part II
If G(x) is any antiderivative of f(x) on [a, b] so that Gβ²(x) = f(x), thenβ« b
af (x) dx = G (b)βG(a).
Part I (The Fundamental Theorem of Calculus stated in another way)
Suppose that the function f is continuous on the interval [a, b].
Let the function F be defined on [a, b] by F (x) =β« xa f (t) dt.
Then F is differentiable on [a, b] and F β² (x) = f (x), which means that F is an antiderivativeof f on [a, b].
Expressed in symbols:d
dx
β« x
af (t) dt = f (x) = F β²(x).
Remarks:
(1) You should remember that both conclusions of the Fundamental Theorem are useful.Part I concerns the derivative of an integral β it tells you how to differentiate a definiteintegral with respect to its upper limit. Part II concerns the integral of a derivativeβ it tells you how to evaluate a definite integral if you can find an antiderivative ofthe integrand.
(2) Remember that differentiation and integration are inverse operations and cancel eachother to a certain extent.
(3) Notice that the lower limit of the integral may be any constant in the interval [a, b]and it does not affect the answer after differentiation. Thus
d
dx
β« x
0f(t)dt =
d
dx
β« x
β10f(t)dt =
d
dx
β« x
513f(t)dt
etc. This is so because the derivative of a constant is always zero.
110
Study Unit 5: Integrals
(4) Note that the upper limit must be the same as the variable with respect to which we
differentiate, in other words, if we determined
dx(the integral) then the upper limit
must be x (or a function of x).
(5) The dt in the integral shows you that integration is done with respect to the variablet. Hence you must change all ts in the given function f(t) to xs to obtain f(x), ordF/dx.
(6) If the upper limit of the integral (which you must differentiate) does not consist ofthe variable of interest only, but is in fact a function, then you must remember touse the chain rule for differentiation. Thus:
d
dx
β« g(x)
af(t)dt = f(g(x)).gβ²(x).
In this case you replace all ts by g(x) and then multiply by the derivative of g(x)(look at examples 25 and 26 below).
Keeping the above-mentioned in mind, consider the following examples:
Examples:
Determine the derivatives of F (x) in each of the following:
24. F (x) =β« xa
1
1 + sin2 tdt
25. F (x) =β« x3a
1
1 + sin2 tdt
26. F (x) =β« cosxsinx t(5β t)dt
Solutions:
24. F (x) =β« xa
1
1 + sin2 tdt
It follows from Fundamental Theorem of Calculus Part I that
F β²(x) =1
1 + sin2 x.
25. F (x) =β« x3a
1
1 + sin2 tdt
MAT1512 111
In this case we must apply the chain rule, because the upper limit is a function of x.Let f(t) = 1
1+sin2 tand g(x) = x3. Then
F β² (x) = f (g (x)) Β· gβ² (x)
= f(x3)Β· ddxx3
=1
1 + sin2 (x3)Β· 3x2.
(In other words, substitute t in the function f (t) = 11+sin2 t
with x3, but also remem-
ber to multiply the derivative of x3 with this answer.)
26. In this example see that both the upper and lower limit are functions of x, so that itfollows from remark 3 above that we may introduce any constant in this case. Wecall it a.
F (x) =
β« cosx
sinxt(5β t)dt
=
β« a
sinxt (5β t) dt+
β« cosx
at(5β t)dt
= ββ« sinx
at (5β t) dt+
β« cosx
at(5β t)dt.
By again applying the chain rule as in example 25, we obtain
F β² (x) = β sinx (5β sinx) Β· ddx
sinx+ cosx (5β cosx) Β· ddx
cosx
= β sinx cosx (5β sinx)β cosx sinx(5β cosx).
Now attempt the following yourself.
Find the derivatives of F in each of the following cases:
27. F (x) =β« 10x
(t+
1
t
)dt
28. F (x) =β« x32x cos t dt
29. F (x) =β« x33 sin3 t dt
30. F (x) =β« sinx0
β1β t2dt
112
Study Unit 5: Integrals
Solution:
27. βxβ 1
x.
(This is plainly Part II of the Fundamental Theorem of Calculus withβ« 10x f (x) dx =
ββ« x10 f (x) dx.)
28. 3x2 cosx3 β 2 cos 2x.
(Again we must introduce constants for the lower limits, for exampleβ« 02x . . .+
β« x30 . . . =
ββ« 2x0 . . .+
β« x30 . . ..)
29. 3x2 sin3 x3.
(Use the chain rule, in other words first substitute t with x3 and then multiply theanswer with the derivative of x3.)
30. |cosx| cosx.
5.7 Integration in General
The process of computing an integral (integration) is written as follows:
If F β² (x) = f (x) , thenβ«F β² (x) dx =
β«f (x) dx,
that is F (x) =β«f (x) dx.
f (x) is the integrand and the term dx identifies x as the variable of integration.
Given a function f , find, if possible, a function F such that:
F β² (x) = f (x)
A function F defined on an interval which has the property that F β² (x) = f (x) is calledan indefinite integral or antiderivative of f on the same interval for all x, and we write:
F (x) =
β«f (x) dx (for indefinite integrals)
or F (x) =
β« b
af (x) dx (for definite integrals)
The term βdxβ is part of the notation. It represents the statement βWe integrate withrespect to xβ.
MAT1512 113
5.8 Indefinite Integrals
For indefinite integrals, if F and G are both antiderivatives of f on the interval I, thenG (x) = F (x) + c for some constant c.
If F is any antiderivative of f , the indefinite integral of f(x) with respect to x is definedbyβ«f (x) dx = F (x) + c (where c is the constant of integration).
Example:
27. Evaluateβ«t5dt.
Solution:
We know thatd
dtt6 = 6t5, so
d
dt
(1
6t6)
= t5. Thereforeβ«t5dt =
1
6t6 + c.
β«xndx =
xn+1
n+ 1+ c since
d
dx
[1
n+ 1xn+1 + c
]= xn.
However, we could also haveβ«xndx =
xn+1
n+ 1+ 5, because
d
dx
[xn+1
n+ 1+ 5
]= xn.
So, in general,β«xndx =
xn+1
n+ 1+ c, where c is the constant of integration.
Note: This rule does not work for n = β1 since it would produce a division by 0.
Examples of indefinite integrals:
31. β«x17dx
=x17+1
17 + 1+ c =
x18
18+ c.
32. β«13βxdx
=
β«xβ
13dx =
xβ13+1
β13 + 1
+ c
=x
23
23
+ c =3
2x
23 + c.
114
Study Unit 5: Integrals
33. β« (3 cosx+ 4x8
)dx
= 3
β«cosxdx+ 4
β«x8dx
= 3 sinx+ 4x9
9+ c = 3 sinx+
4
9x9 + c.
34. β« (3ex β 2
1 + x2
)dx
= 3
β«exdxβ 2
β«1
1 + x2dx
= 3ex β 2 tanβ1 x+ c.
5.9 The Substitution Rule
(a) Indefinite integrals
The method we are going to discuss now is the principal method by which integrals areevaluated.
When the integrand is not in standard form, first of all determine whether the integranddoes not consist of two factors, one of which is the derivative of the other. The method ofsubstitution is the integration version of the chain rule.
Remember that, according to the chain rule, the derivative of(3x2 β 5x+ 2
)4is
d
dx
(3x2 β 5x+ 2
)4= 4
(3x2 β 5x+ 2
)3(6xβ 5).
On the right-hand side we now have two expressions, namely(3x2 β 5x+ 2
)and 6xβ 5, which are such that
d
dx
(3x2 β 5x+ 2
)= 6xβ 5.
Since we know that differentiation and integration are inverse operations, we see thatβ« [4(3x2 β 5x+ 2
)3 Β· (6xβ 5)]dx =
(3x2 β 5x+ 2
)4+ c.
MAT1512 115
Example:
Integration of an indefinite integral using substitution
Find β«7(x2 + 3x+ 5
)6(2x+ 3) dx.
Solution:
Look at the problem and make the observation as shown in the boxes:
7
β« (x2 + 3x+ 5
)6(2x+ 3) dx
The derivative of the function in the left-hand boxwhich is (2x+ 3) dx is sitting in the right-hand box.
So let u = x2 + 3x+ 5.
(NB: Note that the function u appears without the index 6.)
Thendu
dx= 2x+ 3, that is (2x+ 3) dx = du.
(This is the form in the right-hand box.)
Now substitute everything under the integral sign to express the integral in terms of u.We have
7
β«u6du = 7
(1
7u7)
+ c = u7 + c.
Then back-substitute to express u in terms of x:
7
β«u6du =
(x2 + 3x+ 5
)7+ c.
Remarks:
1. Sometimes the two functions under the integral sign are linked, but a constant mightbe missing.
If, however, you follow the procedure of substitution correctly, the end product willbe correct.
116
Study Unit 5: Integrals
Example:
Find β« (x2 + 2x+ 5
)4(x+ 1) dx
Solution:
Letu = x2 + 2x+ 5.
Thendu
dx= 2x+ 2 = 2 (x+ 1) .
Thus (x+ 1) dx =du
2.
Substitution then gives β«u4du
2=
1
2
β«u4du
=1
10u5 + c
=1
10
(x2 + 2x+ 5
)5+ c.
If you differentiate this using the chain rule, you will obtain the function under theintegral sign.
2. After you have done your substitution and simplified, there should be no left-overx-values in the integrand.
Example:
[Substitution with leftover x-values]
Find β«x (3xβ 5)3 dx
Solution:
In this case it is so that the derivative of the function with index 3, that is (3xβ 5),is not linked to the other function in the ordinary way. However, we follow the samemethod.
MAT1512 117
Let u = 3xβ 5, so du = 3dx and dx = du3 .
Now substitute: β«x (3xβ 5)3 dx =
β«xu3
du
3=
1
3
β«xu3du
It is clear that there is a left-over x-value.
We now follow the next procedure to eliminate the left-over x-term:
Because u = 3xβ 5, we can solve for x :
x =u+ 5
3,
so
1
3
β«xu3du =
1
3
β« (u+ 5
3
)u3du
=1
9
β« (u4 + 5u3
)du
=1
9
(u5
5+
5
4u4)
+ c
=1
45(3xβ 5)5 +
5
36(3xβ 5)4 + c.
Examples:
Determine the following integrals:
35.β«
3xβ
1β 2x2 dx
36.β«
cos3 x sin5 x dx
37.β« dx
x2(1 + 1
x
)3 .Solutions:
35. We see that x is the derivative (except for a constant factor) of 1 β 2x2. Thereforeset
u = 1β 2x2.
Thendu = β4x dx.
In other words
β1
4du = x dx.
118
Study Unit 5: Integrals
Now β«3xβ
1β 2x2dx = 3
β« β1β 2x2 x dx
= 3
β« βu
(β1
4
)du
= β3
4
β«u
12 du
= β3
4
u32
3/2+ c
= β1
2u
32 + c
= β1
2
(1β 2x2
) 32 + c.
Note: You must not give your answer in terms of u. You must give your answer interms of x, since that was the original variable!
36. In this case we use trigonometric identities. We do this with two different methods.
Method 1 β«cos3 x sin5 x dx
=β«
cosx cos2 x sin5 x dx.
The part in the block, without its power, has the derivative cosx.
Now we must also rewrite the other extra term in terms of sinx, that is cos2 x =1β sin2 x.
The integral then becomesβ«cosx
(1β sin2 x
)sin5 x dx
=
β«cosx sin5 x dxβ
β«cosx sin7 x dx.
Since cosx is the derivative of sinx we let u = sinx.
Thendu = cosx dx
and so it follows thatβ«cos3 x sin5 x dx =
β« (u5 β u7
)du
=u6
6β u8
8+ c
=sin6 x
6β sin8 x
8+ c.
MAT1512 119
Method 2 β«cos3 x sin5 x dx
=β«
(cosx)3 sin4 x sinx dx.
The part in the block, without the power, has the derivative (β sinx) (thus theconstant (β1) is missing). Now rewrite sin4 x in terms of cosx:
sin4 x =(1β cos2 x
)2= 1β 2 cos2 x+ cos4 x.
Thusβ«cos3 x sin5 x dx =
β«(cosx)3
(1β 2 cos2 x+ cos4 x
)sinx dx
=
β«cos3 x sinx dxβ 2
β«cos5 x sinx dx+
β«cos7 x sinx dx.
Put u = cosx, so that du = (β sinx) dx.
Then β«cos3 x sin5 x dx = β
β«u3du+ 2
β«u5duβ
β«u7du
= β1
4u4 +
2
6u6 β 1
8u8 + c
= β1
4(cosx)4 +
1
3(cosx)6 β 1
8(cosx)8 + c.
37. In this case we see that β 1x2
is the derivative of 1 + 1x and hence we set
u = 1 +1
x,
and therefore
du = β 1
x2dx
and β«dx
x2(1 + 1
x
)3 = ββ«du
u3
= βuβ2
β2+ c
=1
2
1(1 + 1
x
)2 + c
=1
2
(x
x+ 1
)2
+ c.
120
Study Unit 5: Integrals
(b) Definite integrals
The section on changing the limits of integration on pages 416β418 in Stewart is veryimportant and students tend to have problems with this. We shall discuss it in detail andshow you three different methods you may use. Work thoroughly through all three andmake very sure that you understand each step.
Example:
Calculate β« 1
0
x3
(x2 + 1)32
dx.
Solution:
Method 1
When you have done substitution with the variable u, also change the limits of integrationin terms of the variable u, and do not change back to the variable x.β« 1
0
x3
(x2 + 1)32
dx
Letu = (x2 + 1)
12 .
Thenu2 = x2 + 1
and2udu = 2xdx, that is u du = x dx.
Now we also change the limits of integration:
Ifx = 0 then u = (02 + 1)
12 = 1
and ifx = 1 then u = (12 + 1)
12 =β
2.
MAT1512 121
Hence, β« 1
0
x3
(x2 + 1)32
dx =
β« 1
0
x2x dx
(x2 + 1)32
=
β« β21
(u2 β 1
)u3
u du
=
β« β21
(1β 1
u2
)du
= u+1
u
]β21
.
Now substitute the values of the limits directly and do not change the variable back to x:β« 1
0
x3
(x2 + 1)32
dx =β
2 +1β2β (1 + 1)
=β
2 +
β2
2β 2
=3
2
β2β 2.
Method 2
With this method we first determine the indefinite integral, change the answer back tothe variable x after substitution, and then put in the values of the limits of integration interms of the variable x.
We first determine β«x3
(x2 + 1)32
dx.
As before, we let u = (x2 + 1)12 . Then u du = x dx andβ«
x3
(x2 + 1)32
dx = u+1
u+ c
=(x2 + 1
) 12 +
1
(x2 + 1)12
+ c.
Now we calculate the definite integral in terms of x:β« 1
0
x3
(x2 + 1)32
dx =(x2 + 1
) 12 +
1
(x2 + 1)12
]10
=β
2 +1β2β (1 + 1)
=3
2
β2β 2.
122
Study Unit 5: Integrals
Method 3
With this method we do not change the limits when we make the substitution, but weshow clearly in terms of which variable the limits are given:β« 1
0
x3
(x2 + 1)32
dx.
As before, we let u = (x2 + 1)12 . Then u du = x dx andβ« 1
0
x3
(x2 + 1)32
dx =
β« x=1
x=0
(u2 β 1
)u3
u du
= u+1
u
]x=1
x=0
=(x2 + 1
) 12 +
1
(x2 + 1)12
]10
=3
2
β2β 2.
Remarks:
1. You must decide for yourself which of these three methods you want to use. Pleasenote the error of writing the following:β« 1
0
x3
(x2 + 1)32
dx =
β« 1
0
(1β 1
u2
)du
This is wrong, because the limits are not given in terms of the variable u.
The answer you obtain may be correct, but the method is totally wrong. In theexaminations or an assignment you will get no marks for an answer like this.
2. There are only two general methods of integration: integration by parts (which is notpart of this module) and integration by substitution. All other methods boil downto algebraic manipulation, followed by the application of one of the above-mentionedtwo methods. Keeping this in mind, you will realise the importance of this section.
(c) Steps for integration by substitution
1. Choose a new variable u (usually the innermost part of the integrand).
2. Computedu
dx.
3. Replace all terms in the original integrand with an expression involving u and du.
MAT1512 123
4. Evaluate the resulting (u) integral. (You may have to try a different u if the first onedoes not work.)
5. Replace each occurrence of u in the antiderivative with the corresponding expressionin x.
5.10 Integration of Exponential and Logarithmic Functions
We state the following integration formulas again:
1.β«exdx = ex + c
2.β«axdx =
ax
ln a+ c
3.β« 1
xdx = ln |x|+ c
which have the following forms when we work with functions f(x).
Following normal substitution, we have
1β²β«ef(x)f β² (x) dx = ef(x) + c
2β²β«af(x)f β² (x) dx =
af(x)
ln a+ c
3β²β« 1
f (x)f β² (x) dx = ln |f (x)|+ c.
Now we shall do one more example of integration by substitution to show you how thelogarithmic function is used in this case:
Example:
Determine the following integral: β«x2
1β 2x3dx.
Note that this is of the form (3β²) above, where f (x) = 1 β 2x3 and f β² (x) = β6x2.(Remember that the constant (β6) will only make a difference to the answer as seen inRemark 1 on page 124 of the study guide.)
124
Study Unit 5: Integrals
Solution:
In this case we letu = 1β 2x3.
Thendu = β6x2dx.
In other words
β1
6du = x2dx.
Then β«x2
1β 2x3dx = β1
6
β«du
u
= β1
6ln |u|+ c
= β1
6ln |1β 2x3|+ c.
Find the following integrals:
38.β« sec2 x
tanxdx = ln |tanx|+ c.
39.β« 2x
x2 + 1dx = ln
β£β£x2 + 1β£β£+ c. Note that:
{d
dx
(x2 + 1
)= 2x
}
5.11 Review of Formulas and Techniques of Integration
Go through the rest of the examples carefully. Evaluate:
40.β«
3 cos 4xdx
41.β«
sec 2x tan 2xdx
42.β«e3β2xdx
43.β« 4
x13
(1 + x
23
)dx44.
β« sinβxβ
xdx
45.β« Ο0 cosxesinxdx
MAT1512 125
46.β« 0βΟ
4
sinx
cos2 xdx
47.β« 3
16 + x2dx
48.β« xβ
1β x4dx
49.β« 1 + x
1 + x2dx
50. β« 2
0f(x)dx, where f(x) =
{x
x2+1if x β€ 1
xx2+1
if x > 1
51.
f(x) =
{xex
2if x < 0
x2ex3
if x > 0
52.β« 2 +
βx
3ββxdx
Solutions:
40.β«
3 cos 4xdx = 3 sin 4x1
4+ c =
3
4sin 4x+ c.
41.β«
sec 2x tan 2xdx = sec 2x1
2+ c =
1
2sec 2x+ c.
42.β«e3β2xdx = e3β2x
(β1
2
)+ c = β1
2e3β2x + c.
43.β« 4
x13
(1 + x
23
)dx :
Let u = 1 + x23 then du =
2
3xβ
13dx =
2
3x13
dxβ dx =3x
13
2du.
Soβ« 4
x13
(1 + x
23
)dx = 4β« 1
x13 .u
.3x
13
2du = 4
(3
2
)β« 1
udu
= 6 ln |u|+ c = 6 lnβ£β£β£1 + x
23
β£β£β£+ c.
44.β« sin
βxβ
xdx :
Let u =βx then du =
1
2βxdxβ 2
βxdu = 2udu = dx.
126
Study Unit 5: Integrals
Soβ« sin
βxβ
xdx =
β« sinu
u2udu = 2
β«sinudu
= 2 (β cosu) + c = β2 cosβx+ c.
45.β« Ο0 cosxesinxdx :
Let u = sinx then du = cosxdxβ dx =du
cosx.
We have to change the limits, that is, if x = 0, u = sin 0 = 0 and if x = Ο,u = sinΟ = 0.
SoΟβ«0
cosxesinxdx =0β«0
cosxeu.du
cosx=
0β«0
eudu = [eu]00
= e0 β e0 = 1β 1 = 0.
46.β« 0βΟ
4
sinx
cos2 xdx
=0β«βΟ
4
secx tanxdx = secx
]0βΟ
4
= sec (0)β sec(βΟ
4
)
=1
cos (0)β 1
cos(βΟ
4
) =1
1β
(11β2
)= 1β
β2.
47.β« 3
16 + x2dx = 3
β« 1
16 + x2dx :
Recall:β« 1
a2 + x2dx =
1
atanβ1
(xa
)+ c
β΄ 3β« 1
42 + x2dx = 3.
1
4tanβ1
(x4
)+ c
=3
4tanβ1
(x4
)+ c.
48.β« xβ
1β x4dx =
β« xβ1β (x2)2
dx :
Let u = x2 then du = 2xdxβ dx =du
2x.
Soβ« xβ
1β u2.du
2x=
1
2
β« xβ1β u2
du
x=
1
2
β« duβ1β u2
=1
2sinβ1 (u) + c =
1
2sinβ1
(x2)
+ c.
49.β« 1 + x
1 + x2dx =
β« 1
1 + x2dx+
β« x
1 + x2dx
MAT1512 127
=β« 1
1 + x2dx+
β« x
1 + x2.2
2dx
(Recall that
β« f β² (x)
f (x)dx = ln |f (x)|+ c
)
=β« 1
1 + x2dx+
1
2
β« 2x
1 + x2dx
= tanβ1 x+1
2lnβ£β£1 + x2
β£β£+ c.
50.β« 20 f(x)dx, where f(x)dx =
{x
x2+1if x β€ 1
x2
x2+1if x > 1
2β«0
f (x) dx =1β«0
x
x2 + 1dx+
2β«1
x2
x2 + 1dx.
Note: Rationalise the first integral by2
2and use long division on the second integral
to obtain:
1
2
1β«0
2x
x2 + 1dx+
2β«1
(1β 1
x2 + 1
)dx
=1
2
1β«0
2x
x2 + 1dx+
2β«1
1dxβ2β«1
1
x2 + 1dx
=1
2ln(x2 + 1)
]10
+ x]21 β arctanx]21
=1
2ln 2 + 1 +
Ο
4β arctan 2.
51. f(x) =
{xex
2if x < 0
x2ex3
if x > 0.
2β«β2f (x) dx =
0β«β2xex
2dx+
2β«0
x2ex3dx.
For the first integral,β« 0β2 xe
x2dx :
Let u1 = x2. Then
du1 = 2xdx and
dx =du12x
.
For the second integral,β« 20 x
2ex3dx :
Let u2 = x3.
Then du2 = 3x2dx and
128
Study Unit 5: Integrals
dx =du23x2
.
So we haveβ«xex
2dx+
β«x2ex
3dx
=β«xeu1 Β· du12x +
β«x2eu2 Β· du2
3x2=
1
2
β«eu1du1 +
1
3
β«eu2du2
=1
2eu1 + c1 +
1
3eu2 + c2.
When considering the given definite integral, we ignore the constants c1 and c2 andget:β« 0β2 xe
x2dx+β« 20 x
2ex3dx
=ex
3
2
β£β£β£β£β£0
β2
+ex
3
3
β£β£β£β£β£2
0
=1
2ex
2
β£β£β£β£0β2
+1
3ex
3
β£β£β£β£20
=1
2e0 β 1
2e(β2)
2
+1
3e(2)
3
β 1
3e(0)
3
=1
2(1)β 1
2e4 +
1
3e8 β 1
3e0 =
1
2β e4
2+e8
3β 1
3(1)
=1β e4
2+e8 β 1
3.
52.β« 2 +
βx
3ββxdx
β« 2 +βx
3ββxdx =
β« βx+ 2
ββx+ 3
dx.
This expression is an improper fraction, so we apply long division first.β1
ββx+ 3
βx+ 2
+βxβ 3
5
Soβ« 2 +
βx
3ββxdx =
β« (β1 +
5
ββx+ 3
)dx
=β«β1dx+ 5
β« 1
ββx+ 3
dx
Now findβ« 1
ββx+ 3
dx :
MAT1512 129
Let u = ββx+ 3β
βx = 3β u.
Thendu
dx= β 1
2βx
and
du = β12βxdxβ dx = β2
βxdu.
So dx = β2 (3β u) du,
that is dx = (β6 + 2u) du.
Soβ« 1
ββx+ 3
dx =β« 1
u(β6 + 2u) du
= β6β« 1
udu+
β« 2u
udu
= β6β« 1
udu+
β«2du
= β6 ln |u|+ 2u+ c.
Therefore,
β« βx+ 2
ββx+ 3
dx =β«β1dx+ 5
β« 1
ββx+ 3
dx
= βx+ 5 (β6 ln |u|+ 2u+ c)
= βxβ 30 ln |u|+ 10u+ 5c
= βxβ 30 ln |(3ββx)|+ 10 (3β
βx) + k, where C = 5c = k
= x+ 10 (3ββx)β 30 ln |(3β
βx)|+ k.
Key points
You should by now have an understanding of the notion of integration as the reverse ofdifferentiation. You should particularly be able to link it to determining areas betweendifferent curves and the x-axis, and the area between curves. You should now be comfort-able with calculating the integrals of several basic algebraic, trigonometric, exponentialand logarithmic functions.
At this stage you should be able to
β’ show that you understand the notion of the antiderivative by finding the antideriva-tive of basic algebraic, trigonometric, exponential and logarithmic functions
β’ use the Fundamental Theorem of Calculus to find the derivatives of functions of the
form F (x) =g(x)β«af (t) dt
130
Study Unit 5: Integrals
β’ evaluate definite integrals and use them to determine the areas between a curve andthe x-axis, and the area between curves
β’ use substitution or term-by-term integration techniques to integrate basic algebraic,trigonometric, exponential and logarithmic functions
β’ solve problems involving the Mean Value Theorem for integrals
Continue practising solving problems until you have mastered the basic techniques! Gothrough the section βFor your reviewβat the end of each chapter to consolidate what youhave learnt and also use other calculus textbooks.
MAT1512 131
Study Unit 6
Differential Equation, Growth and Decay andPartial Derivatives/Chain Rule
6.1 Background
In this chapter we start by looking at first-order differential equations and then we moveon to growth and decay problems, followed by partial derivatives. It has applications inchemistry, physics, biology, economics and engineering. In real life, physical quantitiesusually depend on two or more variables, so we shall also turn our attention to functionswith several variables and extend the basic ideas of differential calculus to these functions.
6.2 Learning Outcomes
At the end of this chapter, you should be able to
β’ solve first-order differential equations with initial values
β’ solve basic real-life problems involving exponential growth and decay
β’ determine the partial derivatives of functions with several variables
Note: The way to master calculus is to solve lots of calculus problems!
132
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
6.3 Prescribed Reading
In Chapter 9 we cover Sections 9.1, 2.3, 9.4 and Chapter 14 Sections 14.3 and 14.5. Pleasealso study some Sections in Chapter 3 (Section 3.8).
6.4 Worked Examples
The greater part of the collection of worked examples is taken from Chapters 3, 9 and 14of the prescribed textbook by Stewart. They can be divided into three sets (with someoverlap), namely,
I. differential equations
II. growth and decay
III. partial derivatives/chain rule
Attempt the problems appearing immediately after each set, once you have studied therelevant parts of Stewart and done some of the exercises there. Table 6.1 shows how theseworked examples and their solutions are organised.
Topic(s) Sections in Study guideStewart examples
I. Differential equations 9.1 & 9.3 1β9
II. Growth and decay 3.8 & 9.4 10β20
III. Partial derivatives/chain rule 14.1, 14.3 & 14.5 21β40
Table 6.1: Sections in Stewart.
6.4.1 Differential Equations
An equation that contains an unknown function and some of its derivatives is called adifferential equation (DE). Differential equations are of the type:
dy
dx= f (x)
ordy
dx= y.
A first-order differential equation is an equation involving the first derivative.
MAT1512 133
The general first-order differential equation is of the type:
dy
dx= g (x, y) ,
where g (x, y) is a function with two variables. We refer to βfirst-orderβ because of thepresence of the first derivative only. In general, a differential equation is one that containsan unknown function and one or more of its derivatives. The order of the differentialequation is the order of the highest derivative that occurs in the equation.
(a) The solution of differential equations
A function f is called a solution for a differential equation if the equation is satisfied wheny = f (x) and its derivatives are substituted into the equation. When solving a differentialequation, we are expected to find all possible solutions for the equation.
Example:
1. Solve the differential equation yβ² =x2 + 7x+ 3
y2.
Solution:
(i) Separate the variables: y2yβ² = x2 + 7x+ 3.
(ii) Integrate both sides with respect to x:β«y2yβ² (x) dx =
β« (x2 + 7x+ 3
)dx orβ«
y2dy =
β« (x2 + 7x+ 3
)dx.
Result of integration:y3
3=x3
3+ 7
x2
2+ 3x+ c.
(iii) Solve for y: y = 3
βx3 + 21
2 x2 + 9x+ 3c.
(b) Separable differential equations
A differential equation is separable if you are able to group the ys with dy and xs withdx. For example, yβ² = xy2 β 2xy is a separable DE because you can rewrite it as yβ² =
x(y2 β 2y
)or
dy
dx= x
(y2 β 2y
).
Divide both sides by(y2 β 2y
)and multiply both sides by dx and obtain:
1
y2 β 2ydy = xdx.
134
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
On the other hand, an equation like yβ² = xy2 β 2x2y is not separable.
A separable equation is a first-order differential equation in which the expression fordy
dxcan be factored as a function of x times a function of y. That is, it can be written in theform
dy
dx= g (x) f(y).
The term separable comes from the fact that the expression on the right side can beβseparatedβ into a function of x and a function of y. If f (y) 6= 0, we could re-write theequation as
dy
dx=g (x)
h (y)=
g (x)
h (y (x))(6.1)
where h (y) =1
f (y).
To solve the equationdy
dx=g (x)
h (y), we rewrite it in the differential form as
h (y) dy = g (x) dx,
so that all ys are on one side of the equation with dy and all xs are on the other side ofthe equation with dx. Then we integrate both sides of the equation:β«
h (y) dy =
β«g (x) dx.
This equation defines y as a function of x. In some cases we may be able to solve for y interms of x.
Note: The justification for the equation above,β«h (y) dy =
β«g (x) dx, comes from the
substitution rule, as follows:
L.H.S. =
β«h (y) dy =
β«h (y (x))
dy
dxdx
=
β«h (y (x))
g (x)
h (y (x))dx (substituting (1))
=
β«g (x) dx = R.H.S.
In general, the first-order differential equation is
dy
dx= h(x, y).
We consider the special case in which h (x, y) = f (y) g(x), the product of a function of yalone and a function of x alone.
MAT1512 135
Examples are:
dy
dx= x2y3,
dy
dx= ex cos y,
anddy
dx=
yβ1 + x2
.
The examples below are not included in this special case:
dy
dx= x+ y :
dy
dx= sin (xy) ,
dy
dx=β
1 + x2 + y2
since in each of these equations the right-hand side is not of the form f (y) g (x).
We solvedy
dx= f (y) g (x) by first separating the variables, putting all the ys on one side
and all the xs on the other side.
Writedy
dx= f (y) g (x)
asdy
f (y)= g (x) dx.
Then integrate both sides (if you can) to get:
F (y) = G (x) + c,
where F (y) is an antiderivative of1
f (y)and G (x) is an antiderivative of g (x) .
If this equation can be solved for y in terms of x, the resulting function is a solution of thedifferential equation.
Note that in separating the variables, you must assume that f (y) 6= 0.
If f (y) = 0 for y = y0, it can be checked that the constant function y (x) = y0 is a solutionfor the equation.
Examples of general solutions:
136
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
2. Solvedy
dx= xy.
Solution:
It can be noted that y (x) = 0 is a solution. Now assume y (x) 6= 0 and separate thevariables:
dy
y= x dx
ββ«dy
y=
β«x dx
β ln |y| =1
2x2 + c
β eln|y| = ex2
2+c
β |y| = ex2
2 Β· ec
or |y| = kex2
2 where k = ec is a positive constant.
If y β₯ 0, then |y| = y = kex2
2 .
If y < 0, then |y| = βy = +kex2
2 .
Therefore,
y =
{ke
x2
2 if y β₯ 0,
βkex2
2 if y < 0.
This is equivalent to:
y = aex2
2
where a is any constant.
Note that the solution y (x) = 0 is included.
To check if the answer obtained is the solution to the original differential equation,just differentiate this answer and you should obtain the original differential equation,namely:
y = aex2
2
β dy
dx=
d
dx
(ae
x2
2
)= ae
x2
2 Β· 1
2Β· 2x
= axex2
2
= x Β· aex2
2
= xy (proved).
3. Solvedy
dx=
2x (y β 1)
x2 + 1.
MAT1512 137
Solution:
Note that y (x) = 1 is a solution.
Now assume that y (x) 6= 1 and separate the variables:
dy
y β 1=
2x
x2 + 1dx
ββ«
1
y β 1dy =
β«2x
x2 + 1dx
β ln |y β 1| = ln(x2 + 1
)+ c
β eln|yβ1| = eln(x2+1)+c
β |y β 1| =(x2 + 1
)ec = k
(x2 + 1
), where k = ec.
Thereforey β 1 = Β±k
(x2 + 1
)where k is a positive constant.
The answer may be written as:
y = 1 + a(x2 + 1
)= 1 + ax2 + a = ax2 + (a+ 1)
where a is an arbitrary constant and a = Β±k. This answer includes the specialsolution y (x) = 1.
Check:
dy
dx= 2ax+ 0
β dy
dx= 2x
(y β 1
x2 + 1
)where a =
y β 1
x2 + 1since y = 1 + a(x2 + 1).
(c) Initial-value problems (IVPs)
In many physical (real-world) problems, we need to find the particular solution that satisfiesa condition of the form y (t0) = y0. This is called the initial condition. The problem offinding a solution for the differential equation that satisfies the initial condition is calledthe initial-value problem. In such problems, you are asked to find the solution y = y (x)or y = f (x) for the differential equation
dy
dx= g(x, y),
the graph of which passes through a given point (a, b), that is, which satisfies the initialcondition
y (a) = b.
138
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
Steps For Solving IVPs
(i) Separate the given differential equation into its components.
(ii) Integrate both sides of (i) above.
(iii) Solve for c (integration constant) by substituting the initial conditions.
(iv) Re-write your final answer by substituting the value for c.
Examples:
4. Find a solution for the initial-value problemdy
dx= x2, with initial condition y (β3) =
+1.
Solution:
There are two steps to follow:
(i) Solve the differential equation by integrating both sides:
dy
dx= x2
β dy = x2dx
ββ«dy =
β«x2dx
β y =1
3x3 + c
or y (x) =1
3x3 + c. This is the general solution for the DE.
(ii) We find the constant c by substituting the initial condition y(β3) = 1 :
1 =1
3(β3)3 + c
β 1 = β9 + c
β c = 10.
Therefore, the particular solution to the given initial-value problem is
y (x) =1
3x3 + 10.
5. Find a solution for the differential equationdy
dx= 8x3 + 1 with initial condition
y (1) = β1.
MAT1512 139
Solution:
(i)
dy
dx= 8x3 + 1 (separate dx from dy and integrate)
β dy =(8x3 + 1
)dx
ββ«dy =
β« (8x3 + 1
)dx
β y =8x4
4+ x+ c
or y (x) = 2x4 + x+ cΒ·
(ii) Evaluate the value of c:
y (x) = 2x4 + x+ c
β β1 = 2 (1)4 + 1 + c (initial condition y (1) = β1)
β β1 = 2 + 1 + c
β c = β1β 2β 1
β c = β4.
The particular solution to the given initial-value problem is
y = 2x4 + xβ 4.
Other initial-value problems:
6. Solve the initial-value problem
dy
dx=
2x
3y β 1, y (1) = 0.
Solution: β«(3y β 1) dy =
β«2x dx
β 3
2y2 β y =
2x2
2+ c.
Now substitute the given initial values and obtain:
3
2(0)2 β 0 = (1)2 + c
β 0 = 1 + c
β΄ c = β1.
Thus3
2y2 β y = x2 β 1
or 3y2 β 2y = 2x2 β 2 is the particular solution.
140
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
7. Solve the initial-value problem
dy
dx= x2y2, y (0) = b.
Solution:
Note that y (x) = 0 is the solution if b = 0.
Assume y 6= 0 and separate the variables:
dy
dx= x2y2, y (0) = b
β dy
y2= x2dx
β yβ2dy = x2dx
ββ«yβ2dy =
β«x2dx
β yβ1
β1=
x3
3+ c
β β1
y=
1
3x3 + c.
Substitute the initial values:
β1
y=
1
3x3 + c
β β1
b=
1
3(0)3 + c
β β1
b= 0 + c
β΄ c = β1
b.
Therefore
β1
y=
x3
3β 1
b
β β1
y=
bx3 β 3
3b
β β1 (3b) = y(bx3 β 3
)β 3b = βy
(bx3 β 3
)= y
(βbx3 + 3
)β΄ y =
3b
3β bx3.
The solution includes y (x) = 0.
Note: In initial-value problems (IVPs), you are given initial conditions (in other words,the x and y values), and you use them in order to evaluate a particular value of a constantc.
MAT1512 141
More examples:
8. Solving a logistic growth problem: Given a maximum sustainable population ofM = 1 000 and a growth rate of k = 0.007, find an expression for the popula-tion at any time t, given an initial population of y(0) = 350 and assuming logisticgrowth.
Solution:
Using the solution for a logistic equation, we have kM = 7 and
y =AMekMt
1 +AekMt, where
A = constantM = carrying capacityk = growth rate andt = time
From the initial conditions, we have 350 = y (0) =1 000A
1 +A
and solving for A, we obtain A =35
65
which gives the solution of the IVP as y =35 000e7t
65 + 35e7t.
9. Investment strategies for making a million: Money is invested at 8% interest, com-pounded continuously. If deposits are made at a rate of R2 000 per year, find thesize of the initial investment needed to reach R1 million in 20 years.
Solution:
It would be easier to recall the general solution (or the equation) first. The constant ofintegration c is obtained by setting t = 0 and taking A (0) = x,
that is 12.5 ln |0.08x+ 2000| = c
so that 12.5 ln |0.08A+ 2000| = t+ 12.5 ln |0.08x+ 2000| .
Now find the value of x such that A (20) = 1 000 000.
12.5 ln |0.08 (1 000 000) + 2000| = 20 + 12.5 ln |0.08x+ 2000|
or12.5 ln |82 000| β 20
12.5= ln |0.08x+ 2000|
Solve for x by taking the exponential of both sides:
142
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
e(12.5 ln 82 000β20)/12.5 = 0.08x+ 2000
β x =eln 82000β1.6 β 2000
0.08β 181, 943.93.
6.4.2 Growth and Decay
y (t) = Aekt is the general solution for the differential equation yβ² (t) =dy
dt= ky(t).
For k > 0 the equation reflects an exponential growth law and for k < 0, the equationreflects an exponential decay law.
(a) (b)
Figure 6.1: (a) k > 0 is the growth curve (b) k < 0 is the decay curve
Exponential growth or decay means that:
yβ² (t) =dy
dt= ky (t) (6.2)
Since equation ( 6.2) involves the derivative of an unknown function, we call it a differentialequation (DE). The aim is to solve this DE, that is, to find the function y(t).
Recall how to solve separable differential equations. We have
dy
dt= ky (t) (6.3)
This is a separable DE, that is
dy
y (t)= kdt. (6.4)
Integrating both sides of equation ( 6.4) with respect to t, we obtainβ«1
y (t)dy =
β«kdt
MAT1512 143
β ln |y|+ c1 = kt+ c2
or ln |y| = kt+ C (where C = c2 β c1).
Since y (t) > 0, we have ln y (t) = kt+ C
and taking exponentials of both sides , we get eln y(t) = ekt+C ,
that is, y (t) = ekt.eC .
Therefore y (t) = Aekt (where A = eC).
Examples:
10. A bacterial culture contains 100 cells at a certain point in time. Sixty minutes later,there are 450 cells. Assuming exponential growth, determine the number of cellspresent at time t and find the doubling time.
Solution:
Exponential growth means that yβ² (t) = ky (t) and after solving this equation, we havey (t) = Aekt.
At t = 0, y (0) = 100 (initial conditions), we have 100 = y (0) = Ae0 = A.
Then y (t) = 100ekt.
At t = 60 minutes, we have 450 = y (60) = 100e60k.
Solve for k by taking natural logarithms of both sides and obtain
ln 4.5 = ln e60k = 60k,
so that k =ln 4.5
60.
Therefore, at any time t we have y (t) = 100ekt = 100 exp
(ln 4.5
60t
).
At doubling time, y (t) = 2y (0) = 200,
so that 200 = y (t) = 100 exp
(ln 4.5
60t
).
Solve for it and get ln 2 =ln 4.5
60t.
11. A cup of coffee is 180β¦F when poured. After 2 minutes in a room at 70β¦F, the coffeehas cooled to 165β¦F. Find the temperature at time t and find the time at which thecoffee will have cooled to 120β¦F.
144
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
Solution:
The differential equation is yβ² (t) = k [y (t) + 70] .
Solving this differential equation, we obtain y (t) = Aekt + 70.
Initial conditions are : 180 = y (0) = Ae0 + 70 = A+ 70.
This gives y (0) = 180,
so that A = 110 and y (t) = 110ekt + 70.
We use the second measured temperature (165β¦F) to solve for k :
165 = y (2) = 110e2k + 70.
Solve for k by subtracting 70 from both sides and dividing by 110 to obtain
e2k =165β 70
110=
95
110.
Taking natural logarithms of both sides, we get 2k = ln
(95
110
)and, therefore k =
12 ln
(95
110
).
When the temperature T = 120, we have 120 = y (t) = 110ekt + 70.
Solve for t and obtain t =1
kln
5
11.
12. Compound interest and an example of decay. Suppose the value of a R10 000 assetdecreases continuously at a constant rate of 24% per year. Find its worth after
(a) 10 years
(b) 20 years
Solution:
The value v(t) of any quantity that is changing at a constant rate r satisfies the equation:vβ² = rv.
Here r = β0.24, so that v (t) = Aeβ0.24t
Since the initial asset value is R10 000, we have v (t) = 10 000eβ0.24t.
We now have 10 000 = v (0) = Ae0 = A.
MAT1512 145
At time t = 10, the asset value is R10 000eβ0.24(10) β R907.18 and
at time t = 20, the asset value is R10 000eβ0.24(20) β R82.30.
More Worked Examples:
13. A bacterial culture starts with 1 000 bacteria and after 2 hours there are 2 500bacteria. Assuming that the culture grows at a rate proportional to its size, find thepopulation after 6 hours.
14. The earthβs atmospheric pressure p is often modeled by assuming that the rate dp/dhat which p changes with altitude h above sea level is proportional to p. Suppose thatthe pressure at sea level is 1 013 millibars (about 14.7 pounds per square inch) andthat the pressure at an altitude of 20 km is 90 millibars.
(a) Solve the initial value problem β
Differential equation: dp/dh = kp (k is a constant).
Initial condition: p = p0 when h = 0,
Express p in terms of h. Determine the values of p0 and k from the givenaltitude and pressure data.
(b) What is the atmospheric pressure at h = 50 km?
(c) At what altitude does the pressure equal 900 millibars?
15. In some chemical reactions, the rate at which the amount of a substance changeswith time is proportional to the amount present. For the change of Ξ΄-gluconolactoneinto gluconic acid, for example,
dy
dt= β0.6y
when t is measured in hours. If there are 100 grams of Ξ΄-gluconolactone presentwhen t = 0, how many grams will be left after the first hour?
16. The intensity L (x) of light x feet beneath the surface of the ocean satisfies thedifferential equation
dL
dx= βkL.
As a diver, you know from experience that diving to 18 ft in the Caribbean Sea cutsthe intensity in half. You cannot work without artificial light when the intensity fallsbelow one-tenth of the surface value. Up to about how deep can you expect to workwithout artificial light?
17. If R1 000 is invested for 4 years at 12% interest compounded continuously, what isthe value of the investment at the end of the 4 years?
146
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
18. You have just placed A0 rand in a bank account that pays 14% interest, compoundedcontinuously.
(a) How much money will you have in the account in 6 yearsβ time?
(b) How long will it take for your money to double and to triple?
19. Suppose an object takes 40 min to cool down from 30β¦C to 24β¦C in a room that iskept at 20β¦C.
(a) What would the temperature of the object be 15 min after it has been 30β¦C?
(b) How long will it take for the object to cool down to 21β¦C?
20. Suppose that a cup of soup cooled down from 90β¦C to 60β¦C within 10 minutes in aroom of which the temperature was 20β¦C. Use Newtonβs Law of Cooling to answerthe following questions.
(a) How much longer would it take for the soup to cool to 35β¦C?
(b) Instead of being left to stand in the room, the cup of 90β¦C soup is put in afreezer in which the temperature is β15β¦C. How long will it take for the soupto cool down from 90β¦C to 35β¦C?
Solutions:
13. Let y (t) be the number of bacteria after t hours. Then y0 = y (0) = 1000 and
y (2) = 2500. Since we are assumingdy
dt= ky (Law of Exponential Growth on page
237 in Stewart),
y (t) = y0ekt = 1000ekt
β y (2) = 1000e2k = 2500.
Therefore e2k = 2.5 and 2k = ln 2.5.
Thus k =ln 2.5
2.
Substituting the value of k = 12 ln 2.5 back into the expression for y (t), we have
y (t) = 1000e
ln 2, 5
2t
= 1000(eln 2.5
) t2
= 1000 (2.5)t2 (since eln 2.5 = 2.5).
Therefore the population after 6 hours is
y (6) = 1000 (2.5)3 = 15 625.
MAT1512 147
14. (a) Differential equation:dp
dh= kp (k is a constant).
Initial condition: p = p0 when h = 0.
We separate the variables by dividing the differential equation by p to have
1
p
dp
dh= k
β ln |p| = kh+ c (by integrating the R.H.S. with respect to h)
β |p| = ekh + c (by exponentiating)
β |p| = ecekh
β p = Β±ecekh
β p = Aekh where A = Β±ec.
But the initial condition p = p0 when h = 0. Therefore p0 = Aek0 = A andthus
p = p0ekh
Thenp (0) = p0 = 1013 and p (20) = 90 = 1013e20k.
Thus
e20k =90
1013
β 20k = ln90
1013
β k =1
20ln
90
1013.
Therefore p (h) is given by
p (h) = 1013e ln
(90
1013
)h
20= 1013
(90
1013
) h20
.
(b) If h = 50 km, then
p (50) = 1013eln(90
1013)Β· 52
= 1013(eln(
901013)
) 52
= 1013
(90
1013
) 52
(since eln(90
1013) =90
1013)
=902.5
10131.5.
148
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
(c) If p = 900, then
900 = 1013
(90
1013
) h20
β(
90
1013
) h20
=900
1013
β h
20ln
(90
1013
)= ln
(900
1013
)β h = 20 Β· 1
ln(
901013
) Β· ln( 900
1013
).
15. We have the following initial-value problem:
Differential equation:dy
dt= β0.6y
Initial condition: y0 = 100 when t = 0.
We use the Radioactive decay equation on page 239 in Stewart:
y = y0eβkt.
Since y0 = 100 and k = β0.6 we have
y = 100eβ0.6t.
After the first hour the number of grams will be
y = 100e(β0,6)(1)
= 100eβ0,6.
16. We have the following initial-value problem:
Differential equation:dL
dx= βkL
Initial condition: L = L0 when x = 0. We are given that L = 12L0 when x = 18.
We want to find x when L = 110L0.
L (x) = L0eβkx
where
L (x) = y(t),
L0 = A.
MAT1512 149
Thus
1
2L0 = L0e
β18k
β΄ eβ18k =1
2
β e18k = 2
β 18k = ln 2
β k =1
18ln 2.
When L = 110L0 we have
1
10L0 = L0e
βkx
β eβkx =1
10
β βkx = ln
(1
10
)β βkx = β ln 10
β x =1
kln 10
=18
ln 2ln 10 (since k =
1
18ln 2).
17. We use the Continuously compound interest formula on page 242 in Stewart:
A (t) = A0ert.
It is given that A0 =R1000 and r = 12% = 0.12. So the value of the investment in4 years will be
A (4) = 1000e(0.12)4
= 1000e0.48.
18. We use the continuous compound interest formula:
A (t) = A0ert.
(a) We are given that r = 14% = 0.14. In 6 years the money will be
A (6) = A0e(0.14)6
= A0e0.84.
(b) We want to find t when A = 2A0, and when A = 3A0. We have A (t) = A0e0.14t.
When A = 2A0 we have
2A0 = A0e0.14t
β e0.14t = 2
β 0.14t = ln 2
β t =ln 2
0.14=
100
14ln 2.
150
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
When A = 3A0 we have
3A0 = A0e0.14t
β e0.14t = 3
β 0.14t = ln 3
β t =ln 3
0.14=
100
14ln 3.
19. We use Newtonβs Law of Cooling on page 240 in Stewart:
T = Ts + (T0 β Ts) eβkt
where T = y (t) , Ts = TΞ±
and T0 β Ts = A
where T is the temperature at any given time t, Ts is the surrounding temperatureand T0 is the initial temperature (in other words, T0 is the value of T at t = 0).
Now, we are given that Ts = 20β¦C and T0 = 30β¦C.
Then the objectβs temperature after t minutes is
T = 20 + (30β 20) eβkt
= 20 + 10eβkt.
(a) We first find k, by using the information that T = 24 when t = 40 :
24 = 20 + 10eβ40k
β 10eβ40k = 4
β eβ40k =4
10
β β40k = ln
(4
10
)β k = β 1
40ln
(4
10
).
Now the objectβs temperature after time t is
T = 20 + 10e140
ln 410Β·t.
We now find T when t = 15 :
T = 20 + 10e140
ln 410Β·15
= 20 + 10(eln
410
) 1540
= 20 + 10
(4
10
) 1540
.
MAT1512 151
(b) We now find the time t when T = 21β¦C:
21 = 20 + 10(eln
410
) t40
β 10
(4
10
) t40
= 1
β(
4
10
) t40
=1
10
β t
40ln
(4
10
)= ln
(1
10
)β t =
40
ln(
410
) Β· ln( 1
10
)= β40 ln 10
ln (0, 4).
20. As in the solution of the question above,
T = Ts + (T0 β Ts) eβkt.
It is given that Ts = 20β¦C and T0 = 90β¦C. The soupβs temperature after t minutesis
T = 20 + (90β 20) eβkt
= 20 + 70eβkt.
(a) We find k by using the information that T = 60β¦C when t = 10 minutes:
60 = 20 + 70eβ10k
β 40 = 70eβ10k
β eβ10k =4
7
β β10k = ln
(4
7
)β k = β 1
10ln
(4
7
).
The soupβs temperature at time t is
T = 20 + 70e(110
ln( 47))Β·t
We now find the time t when T = 35β¦C:
35 = 20 + 70(eln
47
) t10
β 15 = 70
(4
7
) t10
β(
4
7
) t10
=15
70
β t
10ln
(4
7
)= ln
(15
70
)β t = 10
1
ln(47
) ln15
70.
152
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
(b) With T = β15β¦C and T0 = 90β¦C, we have
T = β15 + (90β (β15)) eβkt
= β15 + 105eβkt.
So we find t when T = 35β¦C:
35 = β15 + 105(eln
47
) t10
β 50 = 105
(4
7
) t10
β(
4
7
) t10
=50
105
β t
10ln
(4
7
)= ln
(50
105
)β t = 10
1
ln(47
) ln
(50
105
).
6.4.3 Partial Derivatives/Chain Rule
Functions with more than one variable appear more often in science than functions withone variable. The reason for this is that in real life the mathematical application inrespect of any dynamic phenomenon depends on more than one variable. One example ofa dynamic phenomenon is a moving train, where the motion will depend on variables suchas time, distance, friction, mass and so forth. The applied mathematician uses functionswith several variables, their derivatives and their integrals to study continuum mechanics,probability, statistics, fluid mechanics and electricity β to mention but a few examples.
If f is a function of two independent variables, we usually call the independent variablesx and y and picture the domain of f(x, y) as a region in the XY -plane. If f is a functionof three independent variables, we call the variables x, y, and z and picture the domain off(x, y, z) as a region in space.
Now, to talk about the derivative of f does not make sense if we do not specify withrespect to which independent variable the derivative is required. When we keep all butone of the independent variables of a function constant and differentiate with respect tothat one variable, we get a partial derivative. We would like to encourage you to workthrough examples 1β8 in Section 14.3 and to study Section 14.5 of Chapter 14 in Stewartcarefully, in conjunction with the examples in the study guide.
(a) The partial derivatives technique
This technique is used when functions have more than one variable.
MAT1512 153
Consider a function f of two variables, x and y. Suppose we let only x vary, while keepingy fixed and y = b where b is a constant.
Then this is a function of a single variable x : g (x) = f (x, b).
If g has a derivative at a, this is called the partial derivative of f with respect to x at (a, b),denoted by
fx (a, b) = gβ² (x) , that is gβ² (a) = limhβ0
g (a+ h)β g (a)
hor fx (a, b) = lim
hβ0
f (a+ h, b)β f(a, b)
h.
Similarly, the partial derivative of f with respect to y at (a, b), denoted by fy (a, b) isobtained by keeping x fixed (that is x = a) and finding the derivative at b of the functionG (y) = f (a, y).
So fx (a, b) = limhβ0
f (a+ h, b)β f (a, b)
hand fy (a, b) = lim
hβ0
f (a, b+ h)β f (a, b)
h.
If we now let the point (a, b) vary, fx and fy become functions of two variables.
DefinitionIf f is a function of two variables, its partial derivatives arethe functions fx and fy defined as:
fx (x, y) = limhβ0
f (x+ h, y)β f (x, y)
hand
fy (x, y) = limhβ0
f (x, y + h)β f (x, y)
h
(b) Notations for partial derivatives
If z = f (x, y) , we write:
fx (x, y) = fx =βf
βx=
β
βxf (x, y) =
βz
βx= f1 = D1f = Dxf
fy (x, y) = fy =βf
βy=
β
βyf (x, y) =
βz
βy= f2 = D2f = Dyf
Note: f1 or D1f indicates differentiation with respect to the first variable and f2 or D2findicates differentiation with respect to the second variable.
154
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
(c) Rules for finding the partial derivatives of z = f (x,y)
1. To find fx, regard y as a constant and differentiate with respect to x.
2. To find fy, regard x as a constant and differentiate with respect to y.
Examples:
21. If f (x, y) = x3 + x2y3 β 2y2, find fx (2, 1) and fy (2, 1).
22. Findβz
βxand
βz
βyif z is defined implicitly as a function of x and y by the equation
x3 + y3 + z3 + 6xyz = 1.
Solutions:
21. If f (x, y) = x3 + x2y3 β 2y2,
then holding y constant and differentiating with respect to x, we get
fx (x, y) = 3x2 + 2xy3 β 0
= 3x2 + 2xy3
and
fx (2, 1) = 3 (2)2 + 2 (2)(13)
= 12 + 4
= 16.
Holding x constant and differentiating with respect to y, we get
fy (x, y) = 0 + 3x2y2 β 4y
= 3x2y2 β 4y
and
fy (2, 1) = 3(22) (
12)β 4 (1)
= 12β 4
= 8.
22. Given that x3 + y3 + z3 + 6xyz = 1.
Then, holding y constant and differentiating implicitly with respect to x, we get
3x2 + 0 + 3z2βz
βx+ 6yz + 6xy
βz
βx= 0.
MAT1512 155
Solving this equation forβz
βx, we get
βz
βx=β3x2 β 6yz
3z2 + 6xy=β3(x2 + 2yz
)3 (z2 + 2xy)
= βx2 + 2yz
z2 + 2yz.
Similarly, holding x constant and differentiating implicitly with respect to y gives
0 + 3y2 + 3z2βz
βy+ 6xz + 6xy
βz
βy= 0
β(3z2 + 6xy
) βzβy
= β3y2 β 6xz
β βz
βy=β3y2 β 6xz
3z2 + 6xy
=β3(y2 + 2xz
)3 (z2 + 2xy)
= βy2 + 2xz
z2 + 2xy.
(d) Partial differentiation
If z = f (x, y) where f is a differentiable function of x and y where x = x (s, t) andy = y(s, t), and both have partial derivatives, then the chain rule below holds:
βz
βs=
βz
βx
βx
βs+βz
βy
βy
βsand
βz
βt=
βz
βx
βx
βt+βz
βy
βy
βt.
Example:
23. Suppose f (x, y) = exy, x (u, v) = 3u sin v and y (u, v) = 4v2u.
For g (u, v) = f (x(u, v), y(u, v)) , find the partial derivativesβg
βuand
βg
βv.
Solution:
f (x, y) = exy, x (u, v) = 3u sin v, y (u, v) = 4uv2 and
g (u, v) = f(x(u, v), y (u, v)).
Thenβg
βu=βf
βx
βx
βu+βf
βy
βy
βu
156
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
andβg
βv=βf
βx
βx
βv+βf
βy
βy
βv.
So
βf
βx= exy Β· y = yexy,
βf
βy= exy Β· x = xexy,
βx
βu= 3 sin v,
βy
βu= 4v2,
βx
βv= 3u (β cosu (1)) = β3u cos v and
βy
βv= 8uv.
Therefore
βg
βu= yexy (3 sin v) + xexy
(4v2)
= 4uv2e3u sin v(4uv2) (3 sin v) + 3u sin ve3u sin v(4uv
2) (4v2)= 12uv2e12u
2v2 sin v sin v + 12uv2e12u2u2 sin v sin v
= 24uv2e12u2v2 sin v sin v and
βg
βv= yexy (3u cos v) + xexy (8uv) = 3yuexy cos v + 8xuvexy
= 3(4uv2
)ue3u sin v(4uv
2) cos v + 8 (3u sin v)uve3u sin v(4uv2)
= 12u2v2e12u2v2 sin v cos v + 24u2ve12u
2v2 sin v sin v.
(e) Functions of more than two variables
Partial derivatives can also be defined for functions of three or more variables. For example,if f is a function of three variables, x, y and z, then its partial derivative with respect tox is defined as:
fx (x, y, z) = limhβ0
f (x+ h, y, z)β f (x, y, z)
h
and is found by, for example, regarding y and z as constants and differentiating f(x, y, z)with respect to x.
Example:
24. Find fx, fy and fz if f (x, y, z) = exy ln z.
MAT1512 157
Solution:
If f (x, y, z) = exy ln z,
then to compute the partial derivative with respect to x, we treat y and z as constantsand obtain
fx =β
βx(exy ln z)
= exy (y) ln z
= yexy ln z.
To compute the partial derivative with respect to y, we treat x and z as constants andobtain
fy =β
βy(exy ln z)
= exy (x) ln z
= xexy ln z.
To compute the partial derivative with respect to z, we treat x and y as constants andobtain
fz =β
βz(exy ln z)
= exy Β· 1
z(1)
=exy
z.
(f) Higher-order derivatives
If f is a function of two variables, then its partial derivatives fx and fy are also functionsof two variables, so we can consider their partial derivatives (fx)x , (fx)y , (fy)x and (fy)y,which are called the second partial derivatives of f .
If z = f(x, y), we use the following notation:
(fx)x = fxx = f11 =β
βx
(βf
βx
)=β2f
βx2=β2z
βx2,
(fx)y = fxy = f12 =β
βy
(βf
βx
)=
β2f
βyβx=
β2z
βyβx,
(fy)x = fyx = f21 =β
βx
(βf
βy
)=
β2f
βxβy=
β2z
βxβyand
(fy)y = fyy = f22 =β
βy
(βf
βy
)=β2f
βy2=β2z
βy2.
158
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
Note: The notation fxy or
(β2f
βyβx
)means we first differentiate with respect to x and
then with respect to y, and in computing fyx, the order of differentiation is reversed.
Example:
25. Find the second partial derivatives of f (x, y) = x3 + x2y3 β 2y2.
Solution:
Given f (x, y) = x3 + x2y3 β 2y.
In example 21 we found that
fx (x, y) = 3x2 + 2xy3 and
fy (x, y) = 3x2y2 β 4y.
Therefore
fxx (x, y) =β
βx
(3x2 + 2xy3
)= 6x+ 2y3,
fxy (x, y) =β
βy
(3x2 + 2xy3
)= 0 + 6xy2 = 6xy2,
fyx (x, y) =β
βx
(3x2y2 β 4y
)= 6xy2 β 0 = 6xy2 and
fyy (x, y) =β
βy
(3x2y2 β 4y
)= 6x2y β 4.
Now work through the rest of the examples provided.
Worked Examples:
26. Determine βf/βx and βf/βy if:
(a) f(x, y) = sin(x+ y) and
(b) f(x, y) =x
x2 + y2.
27. Use the chain rule for partial derivatives to determine the value of dw/dt when t = 0if w = x2 + y2, x = cos t+ sin t and y = cos tβ sin t.
28. Use the chain rule for partial derivatives to find dw/dt when w = β sin(xy),
x = 1 + t and y = t2.
MAT1512 159
29. Suppose
w =1
xy+
1
y, x = t2 + 1 and y = t4 + 3.
Use the chain rule for partial derivatives to find dw/dt.
30. Assume that the equation
yx43 + y
43 = 144
defines y as a differentiable function of x. Use partial derivatives to find the value ofdy/dx at the point (β8, 8).
31. Determine βz/βu when u = 0 and v = 1, if z = sin(xy) + x sin y, x = u2 + v2 andy = uv.
32. Let g be a function of x and y, and suppose that x and y are both functions of u andv. Which one of the following is βg/βv?
(a)βg
βuΒ· βuβx
+βg
βuΒ· βuβy
(b)dg
dxΒ· βxβv
+dg
dyΒ· βyβv
(c)βg
βxΒ· βxβv
+βg
βyΒ· βyβv
(d)dg
dxΒ· dxdv
+dg
dyΒ· dydv
33. Determine β2f/βy2 if f(x, y) = tan(xy)β cotx.
34. Suppose that the equationy = sin(xy)
defines y as a differentiable function of x. Use partial derivatives to find dy/dx.
35. Suppose w = (β2x2 + 2y2 β 2)2, x = 2u β 2v + 2 and y = βu + 4v + 2. Find thevalue of βw/βv when u = 0 and v = β1.
36. Use the chain rule for partial derivatives to find dw/dt when w = β sin(xy), x = 1+ tand y = t2.
37. Assume that the equationxy + y2 β 3xβ 3 = 0
defines y as a differentiable function of x. Find the value of dy/dx at the point (β1, 1)by using partial derivatives.
38. Use the chain rule for partial derivatives to find βw/βr when r = Ο and s = 0, ifw = sin(2xβ y), x = r + sin s and y = rs.
160
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
39. Suppose that the equation7y4 + x3y + x = 4
defines y as a differentiable function of x. Find the value of dy/dx at the point (4, 0).
40. The dimensions a, b and c of a rectangular solid vary with time (t). At the instantin question
a = 13 cm, b = 9 cm, c = 5 cm,da
dt=dc
dt= 2 cm/sec
anddb
dt= β5 cm/sec.
Figure 6.2: Rectangular solid
(a) How fast is the volume V changing at the given instant? Is V increasing ordecreasing?
(b) How fast is the surface area S changing at that moment? Is the area increasingor decreasing?
(c) How fast is the length D of the diagonal changing at that instant? Does thelength increase or decrease?
Solutions:
26. (a)
f(x, y) = sin(x+ y)
β βf
βx= cos(x+ y) and
βf
βy= cos(x+ y).
(b)
f(x, y) =x
x2 + y2
β βf
βx=
1.(x2 + y2
)β x (2x+ 0)
(x2 + y2)2
=y2 β x2
(x2 + y2)2.
MAT1512 161
Also,
f(x, y) =x
x2 + y2= x(x2 + y2)β1
β βf
βy= x(β(x2 + y2)β2).(0 + 2y)
= β 2xy
(x2 + y2)2.
27.
w = x2 + y2, x = cos t+ sin t and y = cos tβ sin t
β dw
dt=
βw
βx
dx
dt+βw
βy
dy
dt
= (2x+ 0)(β sin t+ cos t) + (0 + 2y)(β sin tβ cos t)
= 2x (cos tβ sin t)β 2y (sin t+ cos t)
by substituting for x and y
= 2(cos t+ sin t)(cos tβ sin t)β 2(cos tβ sin t)(cos t+ sin t)
= 0.
Hence,dw
dt
β£β£β£β£t=0
= 0.
28.w = β sin (xy)
β βw
βx= β cos (xy) Β· y
andβw
βy= β cos (xy) Β· x.
Also,
x = 1 + t
β dx
dt= 1,
and
y = t2
β dy
dt= 2t.
We have
dw
dt=
βw
βxΒ· dxdt
+βw
βyΒ· dydt
= β cos (xy) Β· y (1)β cos (xy) Β· x Β· 2t= β cos ((1 + y) (+2)) Β· y2 β cos
((1 + t) t2
)(1 + t) Β· 2t.
162
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
29.
w =1
xy+
1
y
β βw
βx= β 1
yx2
andβw
βy=β1
xy2β 1
y2.
Also,
x = t2 + 1
β dx
dt= 2t
and
y = t4 + 3
β dy
dt= 4t3.
Hence,
dw
dt=
βw
βxΒ· dxdt
+βw
βyΒ· dydt
= β 1
yx2Β· 2t+
(β 1
xy2β 1
y2
)Β· 4t3
= β 2t
(t4 + 3) (t2 + 1)2β 4t3
(t2 + 1) (t4 + 3)2β 4t3
(t4 + 3)2.
30. LetF (x, y) = yx
43 + y
43 β 144.
Then
dy
dx= βFx
Fy
= β43yx
13
x4/3 + 43y
13
,
so
dy
dx
β£β£β£β£(x,y)=(β8,8)
= β43 Β· 8 Β· (β2)
16 + 43 Β· 2
=8
7.
MAT1512 163
31.
βz
βu=
βz
βxΒ· βxβu
+βz
βyΒ· βyβu
= (y cos(xy) + sin y)2u+ (x cos(xy) + x cos y)v.
If u = 0 and v = 1, then x = u2 + v2 = 1 and y = uv = 0. Then
βz
βu= (0 Β· cos 0 + sin 0) Β· 0 + (1 Β· cos 0 + 1 Β· cos 0) Β· 1= 2.
32.βg
βv=βg
βxΒ· βxβv
+βg
βyΒ· βyβv.
33.
f(x, y) = tan(xy)β cot x
β βf
βy= sec2(xy).x
β β2f
βy2= 2 sec(xy). sec(xy) tan(xy).x.x
= 2x2. sec2(xy). tan(xy).
34.
y = sin(xy)
β y β sin(xy) = 0.
LetF (x, y) = y β sin(xy).
Then
dy
dx= βFx
Fy
= β β cos (xy) Β· y1β cos (xy) Β· x
=y cos (xy)
1β x cos (xy).
35.
βw
βv=
βw
βxΒ· βxβv
+βw
βyΒ· βyβv
= 2(β2x2 + 2y2 β 2)(β4x)(β2) + 2(β2x2 + 2y2 β 2)(4y)(4).
If u = 0 and v = β1, thenx = 0 + 2 + 2 = 4
164
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
andy = 0β 4 + 2 = β2
so that
βw
βv= 2 (β32 + 8β 2) (β16) (β2) + 2 (β32 + 8β 2) (β8) (4)
= 0.
36.
w = β sin(xy)
β βw
βx= β cos(xy).y
andβw
βy= β cos(xy).x.
Also,
x = 1 + t
β dx
dt= 1
and
y = t2
β dy
dt= 2t.
We have
dw
dt=
βw
βxΒ· dxdt
+βw
βyΒ· dydt
= β cos(xy) Β· y Β· 1β cos(xy) Β· x Β· 2t= β cos((1 + t)t2) Β· t2 β cos((1 + t)t2) Β· (1 + t)2t.
37. PutF (x, y) = xy + y2 β 3xβ 3.
Thendy
dx= βFx
Fy= β y β 3
x+ 2y.
Hence,dy
dx
β£β£β£β£(x,y)=(β1,1)
= β 1β 3
β1 + 2= 2.
MAT1512 165
38.
βw
βr=
βw
βxΒ· βxβr
+βw
βyΒ· βyβr
= 2 Β· cos(2xβ y) Β· 1 + (β cos(2xβ y)) Β· s.
If r = Ο and s = 0, then x = Ο and y = 0, so that
βw
βr= 2 Β· cos(2Ο) Β· 1β cos(2Ο).0 = 2.
39. LetF (x, y) = 7y4 + x3y + xβ 4.
Then
dy
dx= βFx
Fy
= β 3x2y + 1
28y3 + x3.
Hencedy
dx
β£β£β£β£(x,y)=(4,0)
= β 1
64.
40. (a) Denote derivatives with respect to time by a dot. If
V = abc,
then
V =βV
βaa+
βV
βbb+
βV
βcc
= abc+ abc+ abc.
Substitute the given values:
V = (2)(9)(5) + (13)(β5)(5) + (13)(9)(2)
= 90β 325 + 234
= β1.
Therefore the volume decreases at 1 cm3/sec.
(b) Differentiate with respect to time. If
S = 2ac+ 2bc+ 2ab,
166
Study Unit 6: Differential Equation, Growth and Decay and Partial Derivatives/ChainRule
then
S =βS
βaa+
βS
βbb+
βS
βcc
= (2c+ 2b)a+ (2c+ 2a)b+ (2a+ 2b)c.
Substitute the given values:
S = (2Γ 5 + 2Γ 9)(2) + (2Γ 5 + 2Γ 13)(β5) + (2Γ 13 + 2Γ 9)(2)
= β36.
The area decreases at a rate of 36 cm2/sec.
(c) According to the Theorem of Pythagoras
D = (a2 + b2 + c2)12 .
Differentiate with respect to time:
D =1
2(a2 + b2 + c2)β
12 (2aa+ 2bb+ 2cc)
=aa+ bb+ ccβa2 + b2 + c2
.
Thus D (13, 9, 5) =(13) (2) + (9) (β5) + (5) (2)β
(13)2 + (9)2 + (5)2(from the given values)
=26β 45 + 10β169 + 81 + 25
=β9β275
=β9
5β
11.
Therefore the diagonal decreases at 95β11
cm/sec.
Key points
In this chapter we have introduced you to specific solutions of simple, first-order differentialequations. You should now be comfortable with solving some basic growth and decayproblems. We have also introduced the notion of partial derivatives, where we have seenhow to approach scientific problems involving functions of several variables, by changingone of the variables at a time, and keeping the remaining variable(s) fixed.
At this stage you should be able to:
β’ solve first-order differential equations with initial values
MAT1512 167
β’ solve basic real-life problems involving exponential growth and decay
β’ determine the partial derivatives of the functions of several variables
Continue practising solving problems until you have mastered the basic techniques! Gothrough the section βFor your reviewβat the end of each chapter to consolidate what youhave learnt and also use other calculus textbooks.
168
Appendix A
Sequence and Summation Notation
The purpose of the Appendix is to help you to make the transition from high school to themore advanced first-year calculus module MAT1512.
A sequence is a list of numbers written in a specific order. Sequences have many appli-cations.
To read: Stewart Appendix E A34βA37
Outcomes:
After studying this section you should
(a) know the definition of a sequence
(b) know what is meant by
β’ a recursive sequence
β’ a partial sum of a sequence
β’ sigma notation
(c) be able to
β’ find the terms of a sequence
β’ find the nth term of a sequence
β’ find a partial sum of a sequence
MAT1512 169
β’ use sigma notation
Examples:
A. 1.1 Write the first four terms of the sequence given by the formula in each case.
(a) cj = 3
(1
10
)jβ1
Solution:
c1 = 3
(1
10
)1β1= 3
(1
10
)0
= 3,
c2 = 3
(1
10
)2β1= 3
(1
10
)1
=3
10,
c3 = 3
(1
10
)3β1= 3
(1
10
)2
=3
100
c4 = 3
(1
10
)4β1= 3
(1
10
)3
=3
1000.
(b) an =(β1)n+1
n+ 3
Solution:
a1 =(β1)1+1
1 + 3=
1
4, a2 =
(β1)2+1
2 + 3= β1
5
a3 =(β1)3+1
3 + 3=
1
6, a4 =
(β1)4+1
4 + 3= β1
7.
(c) xk =k
k + 1β k + 1
k
Solution:
x1 =1
1 + 1β 1 + 1
1=
1
2β 2 = β3
2,
x2 =2
2 + 1β 2 + 1
2=
2
3β 3
2= β5
6,
x3 =3
3 + 1β 3 + 1
3=
3
4β 4
3= β 7
12,
x4 =4
4 + 1β 4 + 1
4=
4
5β 5
4= β 9
20.
170
Study Unit A: Sequence and Summation Notation
A. 1.2 Find the ninth and tenth terms of: 0, 4, 0, . . . ,2n + (β2)n
n, . . .
Solution:
an =2n + (β2)n
n
Then a9 =29 + (β2)9
9=
29 β 29
9=
0
9= 0 and
a10 =210 + (β2)10
10=
210 + 210
10=
2 Β· 210
10=
2048
10=
1024
5.
A. 1.3 Find the first six terms of the sequence defined by: a1 = 6 and an =3
anβ1.
Solution:
a1 = 6, a2 =3
a2β1=
3
6=
1
2,
a3 =3
a3β1=
3
a2=
3(12
) = 6,
a4 =3
a4β1=
3
a3=
3
6=
1
2,
a5 =3
a5β1=
3
a4=
3(12
) = 6,
a6 =3
a6β1=
3
a5=
3
6=
1
2.
A. 1.4 Find the sum of the first five terms of the sequence given by the formula in eachcase.
(a) ak = (β1)k1
k
Solution:
5βk=1
ak = a1 + a2 + a3 + a4 + a5
= (β1)11
1+ (β1)2
1
2+ (β1)3
1
3+ (β1)4
1
4+ (β1)5
1
5
= β1 +1
2β 1
3+
1
4β 1
5
= β47
60.
MAT1512 171
(b) bi = i3
Solution:
5βi=1
i3 = b1 + b2 + b3 + b4 + b5
= 13 + 23 + 33 + 43 + 53
= 1 + 8 + 27 + 64 + 125
= 225.
(c) Find8β
n=0xn where xn =
1
2n.
Solution:
8βn=0
xn = x0 + x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8
=1
20+
1
21+
1
22+
1
23+
1
24+
1
25+
1
26+
1
27+
1
28
= 1 +1
2+
1
4+
1
8+
1
16+
1
32+
1
64+
1
128+
1
256
=511
256.
A. 1.5 Evaluate each of the following:
(a)6β
k=1
(5k)
Solution:
6βk=1
(5k) = 5.1 + 5.2 + 5.3 + 5.4 + 5.5 + 5.6
= 5 + 10 + 15 + 20 + 25 + 30
= 105.
(b)7β
k=1
(β1)k
172
Study Unit A: Mathematical Induction
Solution:
7βk=1
(β1)k = (β1)1 + (β1)2 + (β1)3 + (β1)4 + (β1)5 + (β1)6 + (β1)7
= β1 + 1β 1 + 1β 1 + 1β 1
= β1.
(c)3β
n=1
(n+ 1
nβ n
n+ 1
)
Solution:
3βn=1
(n+ 1
nβ n
n+ 1
)=
(1 + 1
1β 1
1 + 1
)+
(2 + 1
2β 2
2 + 1
)+
(3 + 1
3β 3
3 + 1
)
= 2β 1
2+
3
2β 2
3+
4
3β 3
4
=35
12.
A. 1.6 Rewrite each series using sigma notation.
(a) 4 + 8 + 12 + 16 + 20 + 24
Solution:
4 + 8 + 12 + 16 + 20 + 24 = 4 Β· 1 + 4 Β· 2 + 4 Β· 3 + 4 Β· 4 + 4 Β· 5 + 4 Β· 6
=6β
k=1
(4k).
(b) β4β 2 + 0 + 2 + 4 + 6 + 8
Solution:
β4β 2 + 0 + 2 + 4 + 6 + 8 = 2(β2) + 2(β1) + 2 Β· 0 + 2 Β· 1 + 2 Β· 2 + 2 Β· 3 + 2 Β· 4
=4β
k=β2(2k).
MAT1512 173
Appendix B
Mathematical Induction
We consider here a special kind of proof method called mathematical induction.
To read: Stewart pages 72, 74 and Appendix E A36.
Outcomes:
After studying this section you should
(a) know what the principle of mathematical induction is
(b) be able to prove using mathematical induction that a statement P (n) is true for allnatural numbers n
Examples:
B. 2.1 Use mathematical induction to prove the following statement for all positive integersn :
1 + 4 + 7 + . . .+ (3nβ 2) =n(3nβ 1)
2. (B.1)
Solution:
Let P (n) be the statement
1 + 4 + 7 + . . .+ (3nβ 2) =n(3nβ 1)
2(B.2)
for any positive integer n.
174
Study Unit B: Mathematical Induction
We first show that P (1) is true.
LHS of (B.2) = 3 Β· 1β 2
= 1.
RHS of (B.2) =1(3 Β· 1β 1)
2
=2
2= 1.
Thus P (1) is true.
Suppose that P (k) is true for any k, that is, we assume
1 + 4 + 7 + . . .+ (3k β 2) =k(3k β 1)
2.
We want to prove that P (k + 1) is true, in other words:
1 + 4 + 7 + . . .+ (3k β 2) + (3(k + 1)β 2)
=(k + 1) (3(k + 1)β 1)
2
=(k + 1)(3k + 2)
2.
Now
1 + 4 + 7 + . . .+ (3k β 2) + (3(k + 1)β 2)
=k(3k β 1)
2+ (3k + 1)
=1
2[k(3k β 1) + 2(3k + 1)]
=1
2
(3k2 β k + 6k + 2
)=
1
2(3k2 + 5k + 2)
=(k + 1)(3k + 2)
2.
Since both conditions of the principle of mathematical induction have been satisfied, itfollows that
1 + 4 + 7 + . . .+ (3nβ 2) =n(3nβ 1)
2
MAT1512 175
is true for all integers n β₯ 1.
B. 2.2 Prove that
1 Β· 2 + 2 Β· 3 + 3 Β· 4 + . . .+ n(n+ 1) =n(n+ 1)(n+ 2)
3for all n β N.
Solution:
We must verify that the equation is true for n = 1.
The LHS is 1(1 + 1) = 2.
The RHS is1(1 + 1)(1 + 2)
3= 2.
So the equation is true for n = 1.
Suppose that the equation is true for n = k, that is
1 Β· 2 + 2 Β· 3 + 3 Β· 4 + . . .+ k(k + 1) =k(k + 1)(k + 2)
3(β)
We now use the assumption (β) to deduce that the equation is true for n = k+ 1, in otherwords:
1 Β· 2 + 2 Β· 3 + 3 Β· 4 + . . .+ k(k + 1) + (k + 1) [(k + 1) + 1]
=(k + 1) [(k + 1) + 1] [(k + 1) + 2]
3.
Now,
176
Study Unit B: Mathematical Induction
LHS = 1 Β· 2 + 2 Β· 3 + 3 Β· 4 + . . .+ k(k + 1) + (k + 1) [(k + 1) + 1]
=k(k + 1)(k + 2)
3+ (k + 1) [(k + 1) + 1]
= (k + 1)
[k(k + 2)
3+ (k + 1) + 1
]
= (k + 1)
(k2 + 2k + 3k + 6
3
)
= (k + 1)
(k2 + 5k + 6
3
)
=(k + 1)(k + 2)(k + 3)
3
=(k + 1) [(k + 1) + 1] [(k + 1) + 2]
3
= RHS.
Since the equation is true for n = 1, and if it is true for n = k, then it is true for n = k+ 1,we conclude by mathematical induction that the equation is true for all integers n β₯ 1.
B. 2.3 Prove that
3 + 32 + 33 + . . .+ 3n =3n+1 β 3
2for all integers n β₯ 1.
Solution:
We must verify that the equation is true for n = 1.
The LHS is 31 = 3.
The RHS is31+1 β 3
2= 3
So the equation is true for n = 1.
Suppose that the equation is true for n = k, that is
3 + 32 + 33 + . . . 3k =3k+1 β 3
2(B.3)
We now use the assumption (β) to deduce that the equation is true for n = k+ 1, in otherwords:
3 + 32 + 33 + . . .+ 3k + 3k+1 =3(k+1)+1 β 3
2.
MAT1512 177
Now,
LHS = 3 + 32 + 33 + . . .+ 3k + 3k+1
=3k+1 β 3
2+ 3k+1
=3k+1 β 3 + 2 Β· 3k+1
2
=3k+1(1 + 2)β 3
2
=3k+1 Β· 3β 3
2
=3(k+1)+1 β 3
2
= RHS.
Since the equation is true for n = 1, and if it is true for n = k, then it is true for n = k+ 1,we conclude by mathematical induction that the equation is true for all integers n β₯ 1.
B. 2.4 Use mathematical induction to prove that(3
4
)n<
3
4for n β₯ 2.
Solution:
Our starting point is n = 2, so we first verify that the inequality is true for n = 2.
LHS is
(3
4
)2
=3
4Β· 3
4<
3
4= RHS since 0 <
3
4< 1.
So the inequality is true for n = 2.
Suppose that the inequality is true for n = k, that is(3
4
)k<
3
4(B.4)
We now use the assumption (B.4) to deduce that the inequality is true for n = k + 1, inother words (
3
4
)k+1
<3
4.
178
Study Unit 6: Mathematical Induction
Now,
LHS =
(3
4
)k+1
=
(3
4
)kΒ· 3
4
<3
4Β· 3
4by (B.4)
<3
4by the case n = 2
= RHS.
Therefore if the inequality is true for n = k, it is true for n = k + 1. By mathematicalinduction we conclude that it is true for all positive integers n β₯ 2.
MAT1512 179