185

ii - gimmenotes

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ii - gimmenotes
Page 2: ii - gimmenotes
Page 3: ii - gimmenotes

ii

Page 4: ii - gimmenotes

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

Page 5: ii - gimmenotes

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

Page 6: ii - gimmenotes

Contents

MAT1512 v

Page 7: ii - gimmenotes

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

Page 8: ii - gimmenotes

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

Page 9: ii - gimmenotes

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

Page 10: ii - gimmenotes

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

Page 11: ii - gimmenotes

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

Page 12: ii - gimmenotes

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

Page 13: ii - gimmenotes

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

Page 14: ii - gimmenotes

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

Page 15: ii - gimmenotes

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

Page 16: ii - gimmenotes

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

Page 17: ii - gimmenotes

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

Page 18: ii - gimmenotes

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

Page 19: ii - gimmenotes

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

Page 20: ii - gimmenotes

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

Page 21: ii - gimmenotes

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

Page 22: ii - gimmenotes

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

Page 23: ii - gimmenotes

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

Page 24: ii - gimmenotes

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

Page 25: ii - gimmenotes

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

Page 26: ii - gimmenotes

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

Page 27: ii - gimmenotes

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

Page 28: ii - gimmenotes

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

Page 29: ii - gimmenotes

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

Page 30: ii - gimmenotes

(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

Page 31: ii - gimmenotes

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

Page 32: ii - gimmenotes

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

Page 33: ii - gimmenotes

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

Page 34: ii - gimmenotes

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

Page 35: ii - gimmenotes

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

Page 36: ii - gimmenotes

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

Page 37: ii - gimmenotes

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

Page 38: ii - gimmenotes

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

Page 39: ii - gimmenotes

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

Page 40: ii - gimmenotes

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

Page 41: ii - gimmenotes

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

Page 42: ii - gimmenotes

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

Page 43: ii - gimmenotes

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

Page 44: ii - gimmenotes

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

Page 45: ii - gimmenotes

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

Page 46: ii - gimmenotes

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

Page 47: ii - gimmenotes

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

Page 48: ii - gimmenotes

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

Page 49: ii - gimmenotes

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

Page 50: ii - gimmenotes

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

Page 51: ii - gimmenotes

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

Page 52: ii - gimmenotes

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

Page 53: ii - gimmenotes

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

Page 54: ii - gimmenotes

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

Page 55: ii - gimmenotes

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

Page 56: ii - gimmenotes

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

Page 57: ii - gimmenotes

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

Page 58: ii - gimmenotes

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

Page 59: ii - gimmenotes

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

Page 60: ii - gimmenotes

(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

Page 61: ii - gimmenotes

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

Page 62: ii - gimmenotes

(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

Page 63: ii - gimmenotes

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

Page 64: ii - gimmenotes

(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

Page 65: ii - gimmenotes

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

Page 66: ii - gimmenotes

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

Page 67: ii - gimmenotes

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

Page 68: ii - gimmenotes

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

Page 69: ii - gimmenotes

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

Page 70: ii - gimmenotes

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

Page 71: ii - gimmenotes

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

Page 72: ii - gimmenotes

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

Page 73: ii - gimmenotes

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

Page 74: ii - gimmenotes

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

Page 75: ii - gimmenotes

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

Page 76: ii - gimmenotes

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

Page 77: ii - gimmenotes

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

Page 78: ii - gimmenotes

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

Page 79: ii - gimmenotes

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

Page 80: ii - gimmenotes

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

Page 81: ii - gimmenotes

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

Page 82: ii - gimmenotes

[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

Page 83: ii - gimmenotes

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

Page 84: ii - gimmenotes

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

Page 85: ii - gimmenotes

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

Page 86: ii - gimmenotes

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

Page 87: ii - gimmenotes

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

Page 88: ii - gimmenotes

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

Page 89: ii - gimmenotes

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

Page 90: ii - gimmenotes

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

Page 91: ii - gimmenotes

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

Page 92: ii - gimmenotes

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

Page 93: ii - gimmenotes

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

Page 94: ii - gimmenotes

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

Page 95: ii - gimmenotes

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

Page 96: ii - gimmenotes

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

Page 97: ii - gimmenotes

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

Page 98: ii - gimmenotes

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

Page 99: ii - gimmenotes

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

Page 100: ii - gimmenotes

β€’ 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

Page 101: ii - gimmenotes

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

Page 102: ii - gimmenotes

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

Page 103: ii - gimmenotes

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

Page 104: ii - gimmenotes

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

Page 105: ii - gimmenotes

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

Page 106: ii - gimmenotes

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

Page 107: ii - gimmenotes

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

Page 108: ii - gimmenotes

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

Page 109: ii - gimmenotes

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

Page 110: ii - gimmenotes

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

Page 111: ii - gimmenotes

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

Page 112: ii - gimmenotes

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

Page 113: ii - gimmenotes

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

Page 114: ii - gimmenotes

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

Page 115: ii - gimmenotes

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

Page 116: ii - gimmenotes

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

Page 117: ii - gimmenotes

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

Page 118: ii - gimmenotes

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

Page 119: ii - gimmenotes

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

Page 120: ii - gimmenotes

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

Page 121: ii - gimmenotes

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

Page 122: ii - gimmenotes

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

Page 123: ii - gimmenotes

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

Page 124: ii - gimmenotes

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

Page 125: ii - gimmenotes

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

Page 126: ii - gimmenotes

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

Page 127: ii - gimmenotes

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

Page 128: ii - gimmenotes

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

Page 129: ii - gimmenotes

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

Page 130: ii - gimmenotes

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

Page 131: ii - gimmenotes

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

Page 132: ii - gimmenotes

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

Page 133: ii - gimmenotes

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

Page 134: ii - gimmenotes

=∫ 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

Page 135: ii - gimmenotes

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

Page 136: ii - gimmenotes

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

Page 137: ii - gimmenotes

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

Page 138: ii - gimmenotes

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

Page 139: ii - gimmenotes

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

Page 140: ii - gimmenotes

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

Page 141: ii - gimmenotes

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

Page 142: ii - gimmenotes

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

Page 143: ii - gimmenotes

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

Page 144: ii - gimmenotes

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

Page 145: ii - gimmenotes

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

Page 146: ii - gimmenotes

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

Page 147: ii - gimmenotes

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

Page 148: ii - gimmenotes

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

Page 149: ii - gimmenotes

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

Page 150: ii - gimmenotes

β‡’ 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

Page 151: ii - gimmenotes

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

Page 152: ii - gimmenotes

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

Page 153: ii - gimmenotes

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

Page 154: ii - gimmenotes

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

Page 155: ii - gimmenotes

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

Page 156: ii - gimmenotes

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

Page 157: ii - gimmenotes

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

Page 158: ii - gimmenotes

(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

Page 159: ii - gimmenotes

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

Page 160: ii - gimmenotes

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

Page 161: ii - gimmenotes

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

Page 162: ii - gimmenotes

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

Page 163: ii - gimmenotes

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

Page 164: ii - gimmenotes

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

Page 165: ii - gimmenotes

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

Page 166: ii - gimmenotes

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

Page 167: ii - gimmenotes

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

Page 168: ii - gimmenotes

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

Page 169: ii - gimmenotes

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

Page 170: ii - gimmenotes

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

Page 171: ii - gimmenotes

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

Page 172: ii - gimmenotes

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

Page 173: ii - gimmenotes

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

Page 174: ii - gimmenotes

β€’ 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

Page 175: ii - gimmenotes

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

Page 176: ii - gimmenotes

β€’ 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

Page 177: ii - gimmenotes

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

Page 178: ii - gimmenotes

(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

Page 179: ii - gimmenotes

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

Page 180: ii - gimmenotes

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

Page 181: ii - gimmenotes

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

Page 182: ii - gimmenotes

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

Page 183: ii - gimmenotes

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

Page 184: ii - gimmenotes

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

Page 185: ii - gimmenotes

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