Math127 Notes
Math127 Notes
Math127 Notes
Fiona Dunbar
Fall 2021
This set of lecture notes summarizes the content that will be assessed on assignments and tests. The notes
include definitions, explanations and examples. The examples are boxed in grey and have typed or written
solutions in the space below. Some recommended homework problems are boxed in blue and are included at the
end of each chapter (week).
The harder problems boxed in red often combine multiple topics and have a link to a video solution and/or
written solution. Some of these problems are resources from the Centre for Education in Mathematics and
Computing in the Faculty of Mathematics at the University of Waterloo. In particular, some of these problems
are taken from past high school math contests such as the Euclid. The links to the written solutions will bring you
to the complete solution set for the contest this problem was taken from. These problems are meant to challenge
you and also to strengthen your problem solving skills that will help you to succeed in this course. Try thinking
about how you might solve the problem yourself before clicking on the solutions.
The table of contents can be used to navigate to a particular numbered section by clicking on its title. The
course formally begins with Week 1, but there is some review material in Chapter 0 that has some pre-calculus
topics that will be used throughout the course.
1
Contents
0 Pre-Calculus Review 6
0.1 Notation, Absolute Value and Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
0.1.1 Interval Notation: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
0.1.2 Rules for Inequalities: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
0.1.3 Solving Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
0.1.4 Absolute Value: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
0.1.5 Properties of Absolute Values: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . 7
0.2 Points and Curves in the Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
0.2.1 Cartesian Plane: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
0.2.2 Circles: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
0.2.3 Parabolas: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
0.2.4 Ellipses and Hyperbolas: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1 Week 1 10
1.1 Introduction to Calculus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2 Representing Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.1 Introduction to Functions: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.2 Vertical Line Test: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.3 Piecewise Defined Functions: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.4 Piecewise Function Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2.5 Floor and Ceiling Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2.6 Symmetry: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2.7 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.3 Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.4 A Catalog of Essential Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.5 New Functions From Old . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.5.1 Find Graph from Basic Functions Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.5.2 Domain and Range using Transformations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.5.3 Heaviside Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.5.4 Combinations and Composition of Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.5.5 Composite Functions in Science . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2 Week 2 19
2.1 Exponential Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.1.1 Spread of Infection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.2 Inverse Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.2.1 One-to-One . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.2.2 Horizontal Line Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.2.3 Finding the Inverse Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.2.4 Domain and Range of Inverse Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3 Week 3 22
3.1 Logarithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1.1 Cancellation Properties of Logs and Exponents . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1.2 Algebraic Properties of Logarithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1.3 Solving Equations Involving Logarithms and Exponentials . . . . . . . . . . . . . . . . . . . 23
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.2 Modelling with Logarithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.2.1 Spread of Infection Example Part 2: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.3 Trigonometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.3.1 Trig Ratios: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.3.2 Special Triangles: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.3.3 Trig Identities: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.3.4 Graphs of Trig Functions: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.3.5 Solving Trig Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.4 Inverse Trig Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.4.1 Introduction to Inverse Trig Functions: Video Lesson . . . . . . . . . . . . . . . . . . . . . . 26
3.4.2 Graphs of Trig and Inverse Trig: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . 27
4 Week 4 28
4.1 Limits of Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.1.1 Simple Sequence Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.1.2 Sequence Limit Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.2 Instantaneous Velocity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3 Limit of a Function at a Point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.2 One Sided Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.3.3 Removable and Jump Discontinuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.3.4 Infinite Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.3.5 Infinite Discontinuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.4 Calculating Limits Using Limit Laws . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.4.1 Direct Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.4.2 Simplifying Before Substituting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.4.3 Squeeze Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5 Week 5 33
5.1 Continuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.1.1 Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.1.2 Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.1.3 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.1.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.1.5 Intermediate Value Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.1.6 Bisection Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2 Limits at Infinity; Horizontal Asymptotes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.2.1 Infinite Limits at Infinity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.2.2 Limits of Logs and Exponentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6 Week 6 37
6.1 Derivatives and Rates of Change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.2 The Derivative as a Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.2.1 A Note about Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.2.2 Differentiability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.3 Derivatives of Polynomials and Exponentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.3.1 Simple Differentiation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.3.2 Proofs of Simple Differentiation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.4 Higher Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3
6.5 The Product and Quotient Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.5.1 Product Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.5.2 Quotient Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.5.3 Proofs of Product and Quotient Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.5.4 Derivatives of Exponential Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.6 Derivatives of Trigonometric Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.7 Chain Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.7.1 Derivative of ax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7 Week 7 44
7.1 Implicit Differentiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.1.1 Derivatives of Inverse Trig Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.1.2 Derivatives of Logarithmic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.2 Related Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.3 Rates of Change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.4 Exponential Growth and Decay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.4.1 Radioactive Decay Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.4.2 Newton’s Law of Cooling/Warming Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . 50
7.4.3 Cooling Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.4.4 Logistic Model for Population Growth Video Lesson . . . . . . . . . . . . . . . . . . . . . . 51
8 Week 8 51
8.1 Linear Approximations and Differentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8.1.1 Differentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8.1.2 Geometric Meaning of dy and dx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
8.2 Newton’s Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
8.3 Indeterminate Forms and L’Hospital’s Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
8.3.1 L’Hospital’s Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
8.3.2 Indeterminate Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.3.3 Indeterminate Differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.3.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
9 Week 9 55
9.1 Maximum and Minimum Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.1.1 Extreme Value Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.1.2 Fermat’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.1.3 Closed Interval Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2 Derivatives and the Shape of a Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2.1 What does f 0 say about f ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2.2 Increasing/Decreasing Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2.3 First Derivative Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2.4 What does f 00 say about f ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.2.5 Concavity Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.2.6 The Second Derivative Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.3 Guidelines for Sketching a Curve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.4 Optimization Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.4.1 First Derivative Test for Absolute Extreme Values . . . . . . . . . . . . . . . . . . . . . . . 59
4
10 Week 10 60
10.1 Antiderivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
10.1.1 Table of Common Antiderivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
10.2 Sigma Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
10.3 Areas and Distances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
10.3.1 The Area Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
10.3.2 Riemann Sums . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
10.3.3 The Distance Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
11 Week 11 66
11.1 The Definite Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
11.1.1 Properties of Definite Integrals Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . 67
11.1.2 Comparison Properties of Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
11.2 Fundamental Theorem of Calculus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
11.2.1 FTOC Part I Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
11.2.2 FTOC Part II Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Harder Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
12 Week 12 69
12.1 Indefinite Integrals Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
12.1.1 Table of Common Indefinite Integrals Video Lesson . . . . . . . . . . . . . . . . . . . . . . . 70
12.1.2 Net Change Theorem Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
12.1.3 Distance vs Displacement as an Integral Video Lesson . . . . . . . . . . . . . . . . . . . . . 70
12.2 Substitution Rule Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
12.2.1 Symmetry: Video Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
12.3 Areas Between Curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
5
0 Pre-Calculus Review
0.1 Notation, Absolute Value and Inequalities
0.1.1 Interval Notation: Video Lesson
Let a, b ∈ R with a < b. Then the intervals represent sets of real numbers as follows:
(a, b) = {x ∈ R|a < x < b}
(a, b] = {x ∈ R|a < x ≤ b}
[a, b) = {x ∈ R|a ≤ x < b}
[a, b] = {x ∈ R|a ≤ x ≤ b}
[a, ∞) = {x ∈ R|a ≤ x}
(−∞, b] = {x ∈ R|x ≤ b}
(−∞, ∞) = R
(a, a) = ∅, the empty set
[a, a] = {a}.
Example: Solve for x and express your answer using interval notation: x2 < 4.
Example: Solve for x and express your answer using interval notation: x2 + 6 ≤ 5x.
Video Solution
Harder Problem
x2 − 11
Determine all values of x for which 0 < < 7.
x+1
Video Solution Written Solution
6
√ √
Note: a is defined to be the positive square root of a only and so we can also write |a| = a2 .
Suppose a > 0. Then
1. |x| = a iff x = ±a
2. |x| < a iff x > −a and x < a 3. |x| > a iff x > a or x < −a
Example: Solve |3x + 2| ≥ 4 for x and express your solution in interval notation.
Solution:
3x + 2 ≥ 4 or 3x + 2 ≤ −4
3x ≥ 2 or 3x ≤ −6
2
x ≥ or x ≤ −2
3
2
x ∈ (−∞, −2] ∪ , ∞
3
Video Solution
4
Example: Solve 3 − < 2 for x and express your solution in interval notation.
x
Video Solution
Example: Solve x2 < 4 for x by taking the positive square root of both sides.
Video Solution
Lines
The point-slope form of the equation of a line passing through the point
(x1 , y1 ) and having slope m is y − y1 = m(x − x1 ).
Two non-vertical lines are parallel iff they have the same slope.
1
Two lines with slopes m1 and m2 are perpendicular iff m2 = − .
m1
7
Example: If P (1, 4) and Q(2, −1) are two points in the plane,
(a) Find the distance between the points P and Q.
(b) Find the midpoint between P and Q.
(c) Find the point-slope form of the equation of the line through the points P and Q.
(d) Find the point-slope form of the equation of the line through P that is perpendicular to the line
found in part (c).
Solution:
p √ √
(a) The distance between P and Q is |P Q| = (2 − 1)2 + (−1 − 4)2 = 1 + 25 = 26.
1 + 2 4 + (−1) 3 3
(b) The midpoint between P and Q is , = , .
2 2 2 2
(c) Now to find the equation of the line through P and Q, we first find the slope m of the line segment
−1 − 4 −5
P Q. m = = = −5.
2−1 1
Using the point (1, 4) and the slope m = −5, we write the point-slope equation of the line y − 4 =
−5(x − 1).
Note that we could have alternatively used the point (2, −1) to obtain y − (−1) = −5(x − 2). Verify
that these equations are identical.
−1 1
(d) A line perpendicular to the line found in (c) has slope equal to = .
−5 5
Since the line we are looking for goes through P (1, 4), the point-slope form of the equation of the
1
line is y − 1 = (x − 4).
5
Video Solution
Sometimes we need to use some algebra first to recognize the equation of a circle in its standard form. Completing
the square is useful here.
2 2
2 2 b b
x + bx = x + bx + −
2 2
2 2
b b
= x+ −
2 2
Example: Show that the graph of 2x2 + 2y 2 − x + y = 0 is a circle and find the radius and centre.
8
If we shift the graph of a parabola up k units and to the right h units, then the equation becomes
x2 y2
+ =1
a2 b2
where a and b are positive numbers. Note that x = ±a and y = ±b represent the x- and y-intercepts.
A hyperbola is a set of points such that the difference of distance from two fixed points is a constant. The
standard equation for a hyperbola is
x2 y2
− =1
a2 b2
Note that x = ±a represent the x-intercepts but there are no y-intercepts since x ≥ a or x ≤ −a. This gives the
two branches of the hyperbola. The asymptotes of the hyperbola are the lines y = (b/a)x and y = −(b/a)x.
Example: Sketch the curve 3y 2 + 4x2 = 12. Find the point(s), if any, where this curve intersects the line
y − x = 2.
Solution: We begin by dividing both sides by 12 to get a 1 on the right side of the equation to put it in
the form of a hyperbola.
3y 2 4x2 12
+ =
12 12 12
y2 x2
+ =1
4 3
To recognize the values of a and b, we write each denominator as a square
x2 y2
√ 2 + 2 =1
3 2
Therefore, we obtain x = 0 or x = − 12
7 .
9
1 Week 1
1.1 Introduction to Calculus
Calculus helps us to understand how a quantity changes value. The advancement of modern science is due to
the development of calculus. Before calculus, math could be used for calculating properties of an object at rest
(areas, volume, distance etc). Calculus can be used to find how particles, cells, planets move. It was invented
by Leibniz and Newton in the 17th century and is now used in physics, engineering, economics, statistics and
medicine.
There are two types of calculus - differential and integral calculus. Differential calculus allows us to compute
the rate of change of a quantity. Looking at the graph of this quantity, the derivative gives us the slope of the
curve at any point. Integral calculus allows us to determines the quantity when we know its rate of change. An
integral allows us to find the area under the curve. We will learn about both branches of calculus in this course.
First we will look at how quantities can be measured. We will use functions to describe the relationships between
quantities. For example, we might be measuring the number of infected in a population, the amount of morphine
in the blood stream, temperature of solution, length of a bridge or the cost of producing materials. We will see
that functions are often described relative to time but can also be can be measured relative to an angle, distance,
cost, fuel or other amounts. In this course, we will be interested in the relationship between two quantities at a
time. We often use x to represent the quantity we are measuring relative to and call it the independent variable.
We use y to describe the quantity that is changing depending on the value of x. We call y the dependent variable.
We will introduce function notation and definitions in the next section.
Example Determine whether y is a function of x and if it is, state the domain and range of the function.
(a) y 2 + x2 = 2
√
(b) y = 4 − x2
(c) x − 4 − y 2 = 0
The graph of a function f (x) is the set of points (x, y) in the xy-plane for which y = f (x). We can tell if a
curve in the xy-plane is a function or not by looking at its graph.
Example
Use the Vertical Line Test to verify your answers in the example above.
10
Heaviside Function
A very useful piecewise function for engineering purposes is the Heaviside unit step function h(t). We can think
of this as an off-on function since it is off (or has a value of 0) for t < 0 and turns on (or has a value of 1) for
t > 0. It is used to model voltage switching on or off in an electrical circuit.
(
0, t<0
h(t) =
1, t>0
..
.
−2 −2 ≤ x < −1
−1, −1 ≤ x < 0
bxc = 0, 0≤x<1
1, 1≤x<2
2, 2≤x<3
.
.
.
11
1.2.7 Example
Determine whether each of the following functions is even, odd or neither.
|x2 − 4|
(a) g(x) = x4 |4x| (b) f (x) = (c) h(x) = 2x − x3
x
Solution:
(a)
Thus, g is even.
1.3 Sequences
A sequence is an infinite list of numbers. The numbers in the list are called terms. In the sequence
a1 , a2 , a3 , . . . , an , . . .
a1 is the first term, a2 is the second term and, in general, an is the nth term. We can think of a sequence as a
function where the domain is the set of positive integers.
Examples of Sequences: Write a formula for an for each of the following sequences:
Harder Problem
Euclid 2020 4b Written Solution
A geometric sequence has first term 10 and common ratio 12. An arithmetic sequence has first term 10
and common difference d. The ratio of the 6th term in the geometric sequence to the 4th term in the
geometric sequence equals the ratio of the 6th term in the arithmetic sequence to the 4th term in the
arithmetic sequence. Determine all possible values of d.
Monotonic Sequences
A sequence {an } is increasing if a1 ≤ a2 ≤ a3 ≤ . . . ≤ an ≤ an+1 ≤ . . .
If the inequality signs are strict (< or >), then the sequence is strictly increasing or decreasing, respectively.
A sequence that is either increasing or decreasing is called monotonic.
12
Harder Problem
Video Solution
n
Show that the sequence is decreasing.
n2 +1
Polynomials
A polynomial P is a function of the form P (x) = an xn +an−1 xn−1 +. . .+a2 x2 +a1 x+a0 , where n is a non-negative
integer and the ai ’s are constants called the coefficients of the polynomial. The domain of any polynomial is
(−∞, ∞) and if an 6= 0, the degree of the polynomial is n.
When a polynomial is in factored form, we can get useful information to help sketch the graph.
Note that a linear function is a polynomial of degree 1.
A polynomial of degree 2 is called a quadratic function and is of the form P (x) = ax2 + bx + c. Its graph is
always a parabola obtained by shifting the parabola y = ax2 as we have already seen.
Harder Problem
Euclid 2015 4a
Find the x and y intercepts of y = (x − 1)(x − 2)(x − 3) − (x − 2)(x − 3)(x − 4). Video Solution
Harder Problem
Euclid 2015 4b
The graphs of the equations y = x3 − x2 + 3x − 4 and y = ax2 − x − 4 intersect at exactly two points.
Determine all possible values of a. Video Solution Written Solution
Reciprocal Functions
A function of the form f (x) = x−1 = 1/x is called the reciprocal function.
13
1
When looking at more general reciprocal functions of the form g(x) = , it can be useful to examine the zeros
h(x)
of h(x) which lead to the asymptotes of g(x). We can also examine the end behaviour of g and h for very large
positive or negative values of x. We will explore this concept in more details in later sections when we discuss
function limits.
Power Functions
A function of the form f (x) = xa , where a is a constant is called a power function.
If a is an even positive integer, the graph of y = xa If a is an odd positive integer, the graph of y = xa
is an even function and similar to the graph of is an odd function and similar to the graph of y =
y = x2 . x3 .
y = x2 , y = x4 , y = −x2 , y = −x4 y = x3 y = x5
Root Functions
√ √
√ graph of y = x is similar to the
If n is even, the n
If n is odd, the
√ graph of y = n x is similar to the
graph of y = x, the upper half of the parabola graph of y = 3 x, which is equivalent to the cubic
y 2 = x. function x = y 3 .
√ √ √ √
y= x, y = 4
x y= 5
x, y = 7
x
Rational Functions
A rational function f is a ratio of polynomials.
x3 − 2x + 1
f (x) =
2x7 − x6 + 4x2 − 9
14
Algebraic Functions
A function that can be expressed using the operations addition, subtraction, multiplication, division, raising to a
power, and taking a root. √3
1 − x2
f (x) = √
x2/5 − 2x5
Transcendental Functions
A function that cannot be expressed as a finite combination of the algebraic operations of addition, subtraction,
multiplication, division, raising to a power, and taking a root. The next few function types are examples of
transcendental functions.
y = ex y = ln x
15
1.5 New Functions From Old
We can take some of the basic functions described above and obtain new functions by shifting, stretching, reflecting
as well as applying algebraic operations and composition.
y = cf (x), stretch the graph of y = f (x) vertically (away from x-axis) by a factor of c
y = (1/c)f (x), shrink the graph of y = f (x) vertically (towards x-axis) by a factor of c
y = f (cx), shrink the graph of y = f (x) horizontally (towards y-axis) by a factor of c
y = f (x/c), stretch the graph of y = f (x) horizontally (away from y-axis) by a factor of c
y = −f (x), reflect the graph of y = f (x) about the x-axis
y = f (−x), reflect the graph of y = f (x) about the y-axis
16
The negative sign under the square root is a reflection in Now we deal with the factor of 3.
the y-axis.
√
√ Let i(x) = h(3x) = 2f (−3x) − 1 = 2 −3x − 1, shrinking
Let h(x) = g(−x) = 2f (−x)−1 = 2 −x−1, the reflection
h towards the y-axis by a factor of 3.
of g in the y-axis.
Finally we look at the +9 to identify the horizontal shift. Note that we do not have simply a shift to the left
of 9: √
That is i(x + 9) = h(3(x + 9)) = g(−3(x + 9)) = 2f (−3(x + 9)) − 1 = 2 −3x + 27 − 1 6= y.
Instead we need to look at what happened to x alone by noting that −3x + 9p= −3(x − 3).
Let j(x) = i(x − 3) = h(3(x − 3)) = g(−3(x − 3)) = 2f (−3(x − 3)) − 1 = 2 −3(x − 3) − 1 = y shifts i to the
right 3 units.
√
Now we can see exactly what happened to f (x) = x: a vertical shift of −1, a vertical stretch by a factor of 2, a
reflection in the y-axis, a shrink towards the y-axis by a factor of 3 and a shift to the right 3 units.
17
Example
Sketch the
√ graphs of the following functions and determine their domain and range.
(a) y = 3 x − 2 − 1 (b) y(x − 2)2 + 43 Video Solution
Harder Problem
Solution
(b)
1 x
(f − g)(x) = f (x) − g(x) = −
x+2 x−3
Domain of f − g is x 6= −2 and x 6= 3.
In interval notation, x ∈ (−∞, −2) ∪ (−2, 3) ∪ (3, ∞).
(g)
1 1 1 x+2 x+2
(f ◦ f )(x) = f (f (x)) = f = = = =
x+2 1 1 + 2(x + 2) 1 + 2x + 4 2x + 5
+2
x+2 x+2
Domain of f ◦ f : x 6= −2 (domain of f ) and x 6= − 52 . (so that f (x) is in the domain of f .)
Alternatively we could note that for x to be in the domain of f we need x 6= −2 and for f (x) to be in the
1
domain of f , we need 6= −2 or 1 6= −2x − 4 or x 6= − 25 .
x+2
In interval notation, x ∈ (−∞, − 52 ) ∪ (− 52 , −2) ∪ (−2, ∞)
18
(h)
x x
x x − 3 x − 3 x x−3 x
g(g(x)) = g = x = = =
x−3 −3 x − 3(x − 3) x − 3 x − 3x + 9 9 − 2x
x−3 x−3
Example
In fish, brain weight B is a function of body weight W in fish according to the model B = 0.007W 2/3 .
A model for body weight as a function of body length L is found to be W = 0.12L2.53 . Find the composite
function B ◦ W and state what it represents.
Solution: Since B is a function of W , we can write B(W ) = 0.007W 2/3 and since W is a function of L,
we can write W (L) = 0.12L2.53 . Then the composite function
Since B ◦ W is a function of L, this gives us the relationship between brain weight and body length.
Stewart HW: 1.1 #7 -10, 14, 22, 25, 31, 33, 35, 37, 47, 50, 69, 73 1.2 #1, 2, 3 ,4, 8, 1.3 #2, 3, 4, 8
Geogebra: Experiment with Graphs
2 Week 2
2.1 Exponential Functions
In general, an exponential function is of the form f (x) = ax , where a is a positive constant. We examine the
graphs of some exponential functions for different values of the base a. The base e ≈ 2.71828 is an important
base in calculus and we will discuss this in more detail as we move through the course.
19
1 x 1 x 1 x
y = 10x , y = ex , y = 2x y= 10 , y= e , y= 2
Example:
Sketch the graph of y = 3 − 2x+5 and state the domain and range. Video Solution
Example:
Without intervention, the COVID-19 virus doubles every 5 days. Assuming the outbreak starts with 10
infected individuals, write a mathematical model for this scenario. Construct a table of values that gives
the number of infected individuals after t = 0, 1, 2 . . . , 10 days. Solution
f (x1 ) = f (x2 ) =⇒ x1 = x2
Equivalently, x1 6= x2 =⇒ f (x1 ) 6= f (x2 )
20
2.2.2 Horizontal Line Test
A function is one-to-one iff no horizontal line intersects its graph more than once.
Example
Sketch the graph of each given function, then determine if it is one-to-one using the Horizontal Line Test.
3x
x < −1
(a) f (x) = −3 −1 ≤ x ≤ 3 (b) y = 2x2 + 4x − 1, x ≥ −1 (c) g(x) = |6−x|
√ Video Solution Video Solution
x−3 x>3
Video Solution
One-to-one functions are important because they are the only functions that have an inverse function.
Definition
Let f be a one-to-one function with domain D and range R. Then its inverse function f −1 has domain R and
range D and is defined by
f −1 (y) = x ⇐⇒ f (x) = y ∀y ∈ R
Note that if f were not one-to-one, there would exist two x values for a single y and so f −1 would not be defined
uniquely, and as such would not be a function.
Note that when we compose a function and its inverse we get back our original input.
f −1 (f (x)) = x
Example
Find the inverse of f (x) = x3 + 2 and sketch the graph of f −1 (x). Video Solution
21
Example
7x √
Find the domain and range of the following functions and their inverse: (a) y = (b) y = 3 x − 2−1
3 − 2x
Video Solution
Harder Problem
Source: Euclid 7a 2020 Video Solution Written Solution
Suppose that the function g satisfies g(x) = 2x − 4 for all real numbers x and that g −1 is the inverse
function of g. Suppose that the function f satisfies g(f (g −1 (x))) = 2x2 + 16x + 26 for all real numbers x.
What is the value of f (π)?
Stewart HW: 1.4 #1, 3, 13, 15 1.5 #5, 6, 8, 9, 12, 15, 17, 18
Lyryx HW: 2.3.1 - 2.3.4, 2.4.1 - 2.4.3
3 Week 3
3.1 Logarithms
If a > 0 and a 6= 1, f (x) = ax is either increasing or decreasing and is one-to-one by the horizontal line test. Thus
it has an inverse function f −1 which is called the logarithm function with base a and is denoted loga . If we
use the definition of inverses we have
loga x = y ⇐⇒ ay = x
loga ax = x
aloga x = x
Proof:
Let y = ax . Then loga y = x. Sub in y = ax to obtain loga (ax ) = x.
Let y = loga x. Then ay = x. Sub in y = loga x to obtain aloga x = x.
Examples:
Use the relationship between exponentials and logs and the cancellation properties to do the following:
1
(a) Simplify log2 (b) Solve: loge (x + 1) = 7 (c) Solve: e5x = 4
16
Video Solution
Note: We give loge a special notation ln and we call it the natural logarithm.
22
Proof:
1. We will show aloga m+loga n = aloga (mn)
Therefore, since the exponential is a one-to-one function, loga m + loga n = loga (mn).
loga (mn)
2. Next we will show aloga m−loga n=a
aloga m
aloga m−loga n =
aloga n
m
=
n
m
= aloga ( n )
3. To prove the Change of Base formula, we first multiply both of the equation by loga n and instead prove
Examples
Solve for x in each of the following equations:
Harder Problem
23
Harder Problem
Euclid 2019 3b
Harder Problem
Euclid 2019 3c
22022 + 2a
Suppose that = 72. Determine the value of a. Video Solution
22019
3.3 Trigonometry
Angles and Arcs: Video Lesson
The measure of an angle is an amount of rotation, where one complete revolution is divided into 360 equal parts
called degrees. One revolution is equivalent to 360 degrees or 360◦ . We do not use degrees in calculus. Instead
we use radians because they have no units so we can manipulate their value with other expressions through
multiplication, division etc, without worrying about units of measurement.
a arc length of sector
number of radians = =
r radius
We often use θ to denote the number of radians. Since the circumference (or arc length) of a circle is 2πr, the
2πr
number of radians in an entire circle is θ = = 2π. Since 2π radians = 360◦ , we have π radians = 180◦ . We
r
can use this to convert between degrees and radians.
180◦ ◦
rad × =
π rad
An angle is in standard position if it is drawn in the xy-plane with its vertex at the origin and its initial
arm on the positive x-axis. Angles are coterminal if their terminal arms coincide. We measure an angle in the
positive direction by travelling counterclockwise from the positive x-axis to its terminal arm.
24
3.3.2 Special Triangles: Video Lesson
Example
2π 7π
Find the trig ratios of and .
3 6
Example:
π
Sketch the graph of 3 sin 2x − . Video Solution
4
25
Example
Suppose we have data that can be modelled by a trig function of the form y = A cos(B(t + C)) + D,
where A, B, C, D are constants. The maximum point occurs at (7, 23) and the minimum occurs at (2, 7).
Determine the cosine function that fits the data. Video Solution
Examples:
Solve the following equations for the angle θ.
(a) sin 2θ − cos θ = 0. (b) 2 cos2 θ − 7 cos θ + 3 = 0, θ ∈ [0, 2π]
(a) Video Solution (b) Video Solution
cos θ(2 sin θ − 1) = 0
1
cos θ = 0 or sin θ =
2
π 3π
From cos θ = 0, we find θ = + 2kπ or θ = + 2kπ.
2 2
1 π 5π
From sin θ = , we find θ = + 2kπ or θ = + 2kπ.
2 6 6
(where k ∈ Z)
Harder Problem
Euclid 2020 7b Written Solution Video Solution
Determine all pairs of angles (x, y) with 0 ≤ x < π that satisfy the following system of equations:
3
log2 (sin x cos y) = −
2
sin x 1
log2 =
cos y 2
26
3.4.2 Graphs of Trig and Inverse Trig: Video Lesson
There are lots of different ways we could restrict the domain so that our trig functions will have an inverse. We
will follow the convention of the text and define the six inverse trig functions with restricted domain as below.
y = tan x, x ∈ − π2 , π2 y = tan−1 x, y ∈ − π2 , π2
y = sec x, x ∈ 0, π2 ∪ π, 3π y = sec−1 x, y ∈ 0, π2 ∪ π, 3π
2 2
y = csc x, x ∈ 0, π2 ∪ π, 3π y = csc−1 x, y ∈ 0, π2 ∪ π, 3π
2 2
27
y = cot x, x ∈ (0, π) y = cot−1 x, y ∈ (0, π)
Stewart HW: 1.5 #21, 25, 35(b), 37, 39, 53, 55, 57, 63, 64, 66, 68, 71, Appendix D #23, 29, 45, 46,
53, 65, 78, 79
Lyryx HW: 1.3.1 - 1.3.4, 1.3.10, 1.3.11, 2.5.1 - 2.5.6, 2.6.1-2.6.3, 2.8.10, 2.8.13
4 Week 4
4.1 Limits of Sequence
With some sequences, it is possible to write a formula for the nth term as a function of n. For example, the
sequence of positive integers {1, 2, 3, . . . , n . . .} has nth term equal to n. Since an = n, we can write the sequence
of positive integers as {n}∞
n=1 or simply {n}. In general, a sequence whose nth term is an can be referred to as
{an }.
We will be interested in the long term behaviour of a sequence, or the value of the nth term for very large
values of n. We write this limit as lim an .
n→∞
If the sequence {an } has a limit L, written lim an = L, we say that {an } converges to L or simply say the
n→∞
sequence is convergent. If this limit does not exist, we say the sequence is divergent. Some of these sequences
diverge to infinity. That is, as n becomes large, the terms an become larger without bound. In this case, we
sometimes write lim an = ∞.
n→∞
an P
4. lim = , as long as bn 6= 0 and Q 6= 0. (Division formula)
n→∞ bn Q
28
n
1 √ 1
+ n5− 7
2 n
Example: Evaluate lim . Video Solution
n→∞ 3
7n3 − 3n + 5
Example: Evaluate lim . Video Solution
n→∞ 2n3 + 4n − 1
Example:
Suppose that a ball is dropped from the top of the CN tower in Toronto. The distance in metres fallen
after t seconds is given by s(t) = 4.9t2 and the average velocity of the ball can be calculated as
change in position
average velocity =
time period
(a) Find the average velocity of the ball over the following time intervals in the table below.
(b) The instantaneous velocity at t = a is defined to be the limiting value of the average velocities over
shorter and shorter time periods that that at t = a. What does the instantaneous velocity at t = 5 appear
to be using the table above?
Written Solution
The tangent line to a curve is a line that touches the curve having the same direction as the curve at the point
of contact. Finding the slope of the tangent line will tell us the slope of the curve. We know how to find the slope
of a line given two points so we will construct a line segment called the secant line that touches the curve at two
points. As we move the second point closer to the first point, the secant line becomes closer to the tangent line.
Try experimenting with dragging two points closer together in this demonstration (Created with Geogebra by
author mckaysm).
Both the tangent and instantaneous velocity problem involve the notion of a limit. We will study limits in
further detail in the next few sections.
lim f (x) = L
x→a
if the values of f (x) get closer to L as x gets closer to a on either side of a, but x 6= a.
29
Sometimes a limit oscillates forever as x approaches a or the limit may take on different values when x
approaches a from different directions. In each of these cases, since a single limiting value L cannot be attained,
we say the limit does not exist.
lim f (x) = L
x→a−
lim f (x) = L
x→a+
Example:
H(x − 1) − bxc
Evaluate lim where H(x) is the Heaviside step function.
x→1 1−x
Written Solution
A function f has a removable discontinuity at x = a when the limit exists but it is different from the
function value. That is, f has a removable discontinuity at x = a when
x, if x<1
3, if x=1
Example: Suppose g(x) = Evaluate each of the following if it exists:
2 − x2 if 1<x≤2
x−3 if x>2
30
4.3.4 Infinite Limits
Let f be a function defined on both sides of a. Then we say the limit of f (x) as x approaches a approaches
infinity and we write
lim f (x) = ∞
x→a
if the values of f (x) increase without bound as x approaches a from either side of a, but not equal to a.
We say the limit of f (x) as x approaches a approaches negative infinity and we write
lim f (x) = −∞
x→a
Definition
The line x = a is called a vertical asymptote of the curve y = f (x) if at least one of the following statements
is true:
lim f (x) = ∞ lim f (x) = ∞ lim f (x) = ∞
x→a x→a− x→a+
lim f (x) = −∞ lim f (x) = −∞ lim f (x) = −∞
x→a x→a− x→a+
Example:
x2 + 1
Find the vertical asymptotes of the function y = and check your answer by graphing the function
3x − 2x2
using Geogebra. Video Solution
Here we used the notation ±∞ to mean plus or minus infinity to save from writing out each of the two cases
separately.
31
6. lim [f (x)]n = [ lim f (x)]n , where n is a positive integer.
x→a x→a
7. lim c = c
x→a
8. lim x = a
x→a
This fact arises from the fact that a polynomial or rational function is simply a combination of operations in the
above limit laws.
1−x
Example: Evaluate lim √ . Video Solution
x→2 x−1+1
Harder Problem
√ √
1 t + 2 − 2t
Use the squeeze theorem to determine lim− f (t) given that − 3 ≤ f (t) ≤ on the interval
t→2 t t2 − 2t
(0, 2). Video Solution
Stewart HW: 2.1 #2, 5, 2.2 # 5, 11, 2.3 #15, 21, 27, 45
Lyryx HW: 3.5.1(adefgjo) 3.3.1, 3.4.1, 3.5.2, 3.5.4, 3.5.6(abc)
32
5 Week 5
5.1 Continuity
Definition
A function is continuous at x = a if all three of the following conditions are met:
1. f (a) is defined 2. lim f (x) exists 3. lim f (x) = f (a)
x→a x→a
If one or more of these is false, f is discontinuous at x = a.
Geometrically, a function is continuous if its graph can be drawn without lifting your pen from the page.
A function f is continuous from the right at x = a if
lim f (x) = f (a)
x→a+
A function f is continuous on an interval [a, b] if it is continuous at every number in the interval and is
continuous from the right at the start of the interval, a, and continuous from the left at the end of the interval, b.
5.1.1 Example:
Discuss where the function f (x) in the graph below is continuous.
Video Solution
Theorem
The following types of functions are continuous at every number in their domain:
polynomials, trig functions, exponential functions
rational functions, root functions, log functions
This tells us that when searching for discontinuities, we should look at places where the function is undefined.
A type of function that is not always continuous is a piecewise function. When searching for discontinuities, we
should check at “meeting points” of each piece of the function.
This theorem also tells us that we can use direct substitution when evaluating limits for any of the above
functions as long as we are substituting a value in the domain of the function. (See how condition 3 of continuity
is precisely the definition of direct substitution).
33
Theorem
f
If f and g are continuous at a, then so are the functions f + g, f − g, cf , f g and g if g(a) 6= 0.
5.1.2 Example:
√
x2 − 9
Show that the function g(x) = is continuous on its domain and state its domain. Video Solution
x2 − 2
Theorem
If g(x) is continuous at a and f (x) is continuous at g(a), then f ◦ g is continuous at a.
5.1.3 Example
x2 − 4
Evaluate lim arctan . Video Solution
x→2 3x2 − 6x
5.1.4 Example
The gravitational force exerted by the planet Earth on a unit mass at a distance r from the centre of the
planet is
GM r
R3 , r < R
F (r) = ,
GM
, r≥R
r2
where M is the mass of the Earth, R is its radius, and G is the gravitational constant. Is F a continuous
function of r? Video Solution
34
x1 +x2
In other words, if we find that r lies in the interval [x1 , x2 ], an approximation for r is 2 with margin of error
(or precision) 12 (x2 − x1 ).
Example: Approximate the solution to x3 + 2x2 − 3x = 1 with a precision of 0.125 using the Bisection
method.
Solution: The solution to the equation is the same as the solution to the equation x3 + 2x2 − 3x − 1 = 0.
If we define the function f (x) = x3 + 2x2 − 3x − 1, then we are looking for r such that f (r) = 0.
Let’s try to find an interval that a root r could lie in.
Note that f (0) = −1 < 0 and f (2) = 8 + 8 − 6 − 1 = 9 > 0.
Since f is a continuous function (polynomial), then by the Intermediate Value Theorem, there exists a
value r between 0 and 2 so that f (r) = 0. We will take the midpoint m1 of this first interval [0, 1] and
test the value of f here.
0+2
m1 = =1
2
Now f (1) = 1 + 2 − 3 = −1 < 0.
Since f (2) > 0 and f (1) < 0, we will choose [1, 2] for our next interval. Taking the midpoint, we obtain
1+2 3
m2 = =
2 2
Now f ( 23 ) = 2.375 > 0.
Since f ( 23 ) > 0 and f (1) < 0, we will choose [1, 32 ] for our next interval. Taking the midpoint, we obtain
3 5
1+ 2 2 5
m3 = = =
2 2 4
Now ≈ 0.328 > 0 and f (1) < 0 so we will choose [1, 54 ] as our next interval.
f ( 54 )
Note that the width of this interval is 54 − 1 = 0.25 and half this interval is 0.125 so we are within the
desired margin of error.
5 9
+1
Our approximation for r is the midpoint of this interval or 4 = 4 = 98 = 1.125 ± 0.125.
2 2
Definition
The line y = L is called a horizontal asymptote of the curve y = f (x) if either
2 arctan(x)
Example: Evaluate lim .
x→−∞ π
2 arctan(x) 2( −π
2 )
lim = = −1
x→−∞ π π
35
Theorem
1 1
If r > 0 is a rational number then lim r
= 0, and lim = 0 as long as xr is defined for all x.
x→∞ x x→−∞ xr
3x2 − x − 2
Example: Evaluate lim .
x→∞ 5x2 + 4x + 1
Note that as x becomes large, both the numerator and denominator become large, so it is not obvious
what happens to their ratio. To evaluate the limit at infinity of any rational function, we first divide the
numerator and denominator by the highest power of x that occurs in the denominator. (We can assume
x 6= 0 since we are interested in values of x very far away from 0).
Video Solution
Example
p
Evaluate lim ( x2 + 1 − x). Hint: Multiply numerator and denominator by conjugate. Video Solution
x→∞
we have an infinite limit at infinity. We do not have a vertical or horizontal asymptote, but we still get useful
information about the graph of f (x).
Harder Problem
√
2x2 + 1
Find vertical and horizontal asymptotes of f (x) = . Video Solution
3x − 5
lim ex = ∞ lim ln x = ∞
x→∞ x→∞
lim ex = 0 lim ln x = −∞
x→−∞ x→0+
Examples
Determine the following limits.
5 3 ln x + 2 ln2 x
1. (a) lim− Video Solution (b) lim Video Solution
x→0 log4 (1 − 31/x ) x→∞ 3 ln2 x − 2 ln x
Stewart HW: 2.5# 18, 21, 25, 29, 36, 43, 55, 2.6 #15, 17, 23, 24, 28, 31
Lyryx HW: 3.7.1-3.7.4
36
6 Week 6
6.1 Derivatives and Rates of Change
Recall that the tangent one to a curve is a line that touches the curve having the same slope as the curve at
the point of contact and a secant line is a line between two points of a curve. As the two points on the secant
line approach one another, we get closer to the tangent line to the curve at a single point. Recall this Geogebra
demonstration that explores Secant and Tangent lines. We are interested in finding the slope of the tangent line
at a point P (a, f (a)) of a curve with equation y = f (x).
Definition
The tangent line to a curve y = f (x) at the point P (a, f (a)) is the line through P with slope
f (x) − f (a)
m = lim
x→a x−a
as long as this limit exists.
Another way of writing this definition is if we let h = x − a and so x = a + h. Then as x → a, h → 0, and we have
f (a + h) − f (a)
m = lim
h→0 h
This is the precise definition of the derivative of f at x = a, denoted f 0 (a).
Example
Find the derivative of f (x) = x2 − 8x + 9 at a using the precise definition of a derivative. Video Solution
Recall that the point-slope form of the equation of a line through the point P (x0 , y0 ) with slope m is y − y0 =
m(x − x0 ). Here we can write the equation of the tangent one to the curve y = f (x) at the point (a, f (a)) with
slope f 0 (a) is
y − f (a) = f 0 (a)(x − a)
Example
Find an equation of the tangent line to the parabola y = x2 − 8x + 9 at the point (3, −6). Video Solution
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
How does the graph of this new function f 0 compare to the graph of the original function f ?
This activity (created in GeoGebra by Author Tim Brzezinski) allows you to move the tangent line along the
curve graphing its slope at each point. This produces the graph of f 0 by moving the tangent line along the curve
of f .
37
Harder Problem
1
Use the limit definition of the derivative to find g 0 (3), where g(x) = √ . Video Solution
x+1
6.2.2 Differentiability
Definition
A function f is differentiable at a if f 0 (a) exists. It is differentiable on an open interval (a, b) if it is
differentiable at every number in that interval.
Example
Graph the following functions and determine where they are (i) continuous (ii) differentiable. If there
are places where the function fails to be differentiable, determine whether it is due to a corner/cusp, a
discontinuity or a vertical tangent.
(
0, x < 0
(a) h(x) = (b) g(x) = (x − 1)2/3 (c) f (x) = |x − 2| (d) j(x) = ln x
1, x > 1
Video Solution
Harder Problem
( √
8 2 + x − 10, x < 2
Consider the function f (x) = . Determine if f is differentiable at x = 2. Video
2|x − 5|, x≥2
Solution
Power Functions
If f (x) = xn , where n is any real number, then f 0 (x) = nxn−1 .
38
Sum/Difference Rule
If f and g are both differentiable, then
d d d
(f (x) ± g(x)) = (f (x)) ± (g(x))
dx dx dx
f (x + h) − f (x) c−c 0
f 0 (x) = lim = lim = lim = 0
h→0 h h→0 h h→0 h
n(n − 1) n−2 2
(x + h)n = xn + nxn−1 h + x h + . . . + nxhn−1 + hn
2
where n is a positive integer.
Now suppose f (x) = xn . Then
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
(x + h)n − xn
= lim
h→0 h
n(n − 1) n−2 2
xn + nxn−1 h + x h + . . . + nxhn−1 + hn − xn
= lim 2
h→0 h
n(n − 1)
nxn−1 h + xn−2 h2 + . . . + nxhn−1 + hn
= lim 2 (the xn terms cancel out)
h→0 h
n(n − 1) n−2
nxn−1 + x h + . . . + nxhn−2 + hn−1
= lim h 2 (factoring out h)
h→0 h
n(n − 1) n−2
= lim [nxn−1 + x h + . . . + nxhn−2 + hn−1 ] (cancel the h 6= 0)
h→0 2
= nxn−1
39
Proof of Sum/Difference Rule:
We will prove the difference rule. The proof for the sum rule is similar.
Let F (x) = f (x) − g(x). Then
F (x + h) − F (x)
F 0 (x) = lim
h→0 h
f (x + h) − g(x + h) − (f (x) − g(x))
= lim
h→0 h
f (x + h) − f (x) − (g(x + h) − g(x))
= lim
h→0 h
f (x + h) − f (x) g(x + h) − g(x)
= lim − lim
h→0 h h→0 h
0 0
= f (x) − g (x)
Example
Find the points on the curve y = x4 − 6x2 + 4 where the tangent line is horizontal.
Solution
Using the 4 rules above, we have y 0 = 4x3 − 6(2x) + 0 √ √
Tangent line is horizontal when y 0√= 0 so 4x3 − 12x = 0 or 4x(x2 − 3) = 0 or 4x(x − 3)(x + 3) = 0.
This is true when x = 0 or x = ±√ 3.
When x = 0, y = 4. √ When x = √ ± 3, y = −5.
Points are (0, 4), ( 3, −5), (− 3, −5).
Example
In the previous example, y = x4 − 6x2 + 4 and y 0 = 4x3 − 12x. We can also find higher derivatives:
y 00 = 12x2 − 12, y 000 = 24x and y (4) = 24. Note that y (n) = 0 for n ≥ 5.
40
6.5.2 Quotient Rule
If f and g are differentiable functions, then
F (x + h) − F (x)
F 0 (x) = lim
h→0 h
f (x + h)g(x + h) − f (x)g(x)
= lim
h→0 h
Next we will add and subtract f (x)g(x + h) so that we can regroup and factor in the next step.
f (x)
Substituting in F (x) = , we have
g(x)
f (x) 0
f 0 (x) − g (x)
g(x)
F 0 (x) =
g(x)
g(x)
Finally we multiply by to clear the fraction in the numerator:
g(x)
41
Examples
dy 4x2 + 3
Find if y = .
dx 2x − 1
42
We will come back to differentiating the general exponential function y = ax for any base after we learn the Chain
Rule.
Example
If f (x) = (3ex + 2)(3x2 + 2x), find f 0 (1). Video Solution
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
sin(x + h) − sin x
= lim
h→0 h
sin x cos h + cos x sin h − sin x
= lim
h→0 h
cos h − 1 sin h
= lim sin x + cos x
h→0 h h
Note:
cos θ − 1 sin θ
lim = 0 and lim =1
θ→0 θ θ→0 θ
The two special limits we noted above can be used to help us evaluate related limits.
Harder Problem
1 − cos(5h)
Find lim . Video Solution
h→0 sin(4h)
One can find the derivatives of the rest of the trig functions using the limit definition of the derivative. We
will list them all here.
d d
sin x = cos x csc x = − csc x cot x
dx dx
d d
cos x = − sin x sec x = sec x tan x
dx dx
d d
tan x = sec2 x cot x = − csc2 x
dx dx
Example
3 cos x dy
If y = , find . Video Solution
3x − 2 sin x dx x= π
3
43
6.7 Chain Rule
√
Suppose we want to differentiate F (x) = x2 + 1. √
Note that F (x) is equivalent to a composite function f ◦ g(x), where f (u) = u and g(x) = x2 + 1.
The derivative of F (x) = f (g(x)) is F 0 (x) = f 0 (g(x))g 0 (x).
dy dy du
If we let y = f (u) and u = g(x), then we can write this as = .
dx du dx
Examples
√
If y = sin(csc x − tan( π + 2x)), find y 0 . Solution:
√ d √
y0 = cos(csc x − tan( π + 2x)) (csc x − tan( π + 2x))
dx
√ √ d √
= cos(csc x − tan( π + 2x)) − csc x cot x − sec2 ( π + 2x) ( π + 2x)
dx
√ √
1 d
= cos(csc x − tan( π + 2x)) − csc x cot x − sec2 ( π + 2x) (π + 2x)−1/2 (π + 2x)
2 dx
√ √
1
= cos(csc x − tan( π + 2x)) − csc x cot x − sec2 ( π + 2x) (π + 2x)−1/2 (2)
2
6.7.1 Derivative of ax
d x
Recall that e = ex . What if we have a different base a > 0?
dx x
We can write a = eln a so then ax = eln a = e(ln a)x .
We differentiate using the Chain Rule as follows:
d x d (ln a)x d
a = e = e(ln a)x(ln a)x
dx dx dx
= e(ln a)x (ln a) = ax ln a
Example
If f (x) = 2sin(πx) , find f 0 (x) and f 00 (x).
Solution
d
f 0 (x) = 2sin(πx) ln 2 (sin(πx))
dx
d
= 2sin(πx) ln 2 cos(πx) (πx)
dx
= 2sin(πx) ln 2 cos(πx)(π)
Stewart HW: 2.7#5, 13, 17, 31, 33, 35, 59 2.8 #5,7,11,25,29 3.1 # 7, 9, 15, 23, 26-32, 3.2#1, 2, 15,
17, 19, 21, 27, 29, 54, 3.3 #1-15(odd), 23, 39, 41, 43, 3.4 #1, 7, 11, 21, 25, 37, 47
Lyryx HW: 4.1.4, 4.1.6, 4.2.1(b,c), 4.2.4, 4.2.5, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.4.1, 4.4.2, 4.5.all, 4.6.all
7 Week 7
7.1 Implicit Differentiation
So far we have looked at differentiating functions, where one variable can be expressed in terms of another as
in y = f (x) or x = g(y). We would like to be able to differentiate non-functions as well as functions that are
44
defined implicitly by a relationship between x and y. It is possible to do this without having to solve for y as
an explicit function of x or x as an explicit function of y. We can accomplish this using the method of implicit
dy
differentiation. If we would like to find , we simply differentiate both sides of the equation with respect to x
dx
dy
and then solve the equation for . We must remember to use the chain rule when we see a function of y since
dx
this is a function of y which is in turn a function of x (composite function).
Examples
d2 y
If x3 + y 3 = 6xy, find (or y 00 ).
dx2
Solution
First we differentiate both sides with respect to x:
To find the second derivative (which we will write as y 00 here), we will go back to equation (1) above and
differentiate implicitly once again:
6x + 6yy 0 y 0 + 3y 2 y 00 = 6y 0 + 6y 0 + 6xy 00
y 00 (3y 2 − 6x) = 12y 0 − 6x − 6y(y 0 )2
12y 0 − 6x − 6y(y 0 )2 4y 0 − 2x − 2y(y 0 )2
y 00 = 2
=
3y − 6x y 2 − 2x
We will sub our expression for the first derivative in to this equation and clear the denominator:
2
2y − x2 2y − x2
4 − 2x − 2y
y 2 − 2x (y 2 − 2x)2
y 2 − 2x
y 00 = ×
y 2 − 2x (y 2 − 2x)2
4(2y − x )(y − 2x)) − 2x(y − 4xy + 4x2 ) − 2y(4y 2 − 4x2 y + x4 )
2 2 4 2
=
(y 2 − 2x)3
8y − 16xy − 4x y + 8x − 2xy 4 + 8x2 y 2 − 8x3 − 8y 3 + 8x2 y 2 − 2x4 y
3 2 2 3
=
(y 2 − 2x)3
2 2 3 3
−16xy + 12x y − 2xy(y + x )
=
(y 2 − 2x)3
−16xy + 12x2 y 2 − 2xy(6xy)
=
(y 2 − 2x)3
−16xy 16xy
= =
(y 2 − 2x)3 (2x − y 2 )3
45
differentiate both sides of sin y = x implicitly with respect to x:
dy
cos y = 1
dx
dy 1
=
dx cos y
π π
Now since − ≤ y ≤ , we have cos y ≥ 0 and using the trig identity cos2 y = 1 − sin2 y, we can conclude
2 2
p
2 dy
cos y = 1 − sin y. Substituting this into the equation for above we have
dx
dy 1
= p
dx 1 − sin2 y
1
= √
1 − x2
d 1
sin−1 x = √
dx 1 − x2
Recall that the inverse cosine function is cos−1 with domain [−1, 1] and range [0, π] defined by cos−1 x = y ⇐⇒
cos y = x. Differentiate both sides of cos y = x implicitly with respect to x:
dy
− sin y = 1
dx
dy 1
=
dx − sin y
Now since 0 ≤ y ≤ π, we have sin y ≥ 0 and using the trig identity sin2 y = 1 − cos2 y, we can conclude
p dy
sin y = 1 − cos2 y. Substituting this into the equation for above we have
dx
dy 1
= p
dx − 1 − cos2 y
1
= √
− 1 − x2
d −1
cos−1 x = √
dx 1 − x2
π π
Recall that the inverse tangent function is tan−1 with domain [−∞, ∞] and range (− , ) defined by tan−1 x =
2 2
y ⇐⇒ tan y = x. Differentiate both sides of tan y = x implicitly with respect to x:
dy
sec2 y = 1
dx
dy 1
=
dx sec2 y
dy
Using the trig identity sec2 y = 1 + tan2 y, we substitute this into the equation for to obtain
dx
dy 1
=
dx 1 + tan2 y
1
=
1 + x2
d 1
tan−1 x =
dx 1 + x2
46
The remaining inverse trig functions can be differentiated in the same way and the results are summarized
below.
Examples
Differentiate the function f (x) = cos(sin−1 (x2 + 3x)). Video Solution
Harder Problem
dy 2
Find if 2y = cos−1 (ex tan x − sin(x3 )). Hint: Use the inverse to rewrite the given relation and then
dx
use implicit differentiation. Express your final answer in terms of x only. Video Solution
Example
3 − 2x
Simplify before differentiating: f (x) = ln √ . Video Solution
3x2 + 5
47
Make sure you can also distinguish between constants and variables when differentiating exponential functions.
If a and b are constants,
d b d g(x) d
(a ) = 0 [a ] = ag(x) (ln a)g 0 (x) (f (x))b = b[f (x)]b−1 f 0 (x)
dx dx dx
Example
√
1−x2
√
Find the derivatives of the following functions: (a) f (x) = 4 (b) g(x) = ( 1 − x2 )4 . Video Solution
Interesting Limit
n
1/x 1
lim (1 + x) = lim 1+ =e
x→0 n→∞ n
Proof:
1
Let f (x) = ln x. Then f 0 (x) = and f 0 (1) = 1.
x
Also,
f (1 + h) − f (1)
f 0 (1) = lim
h→0 h
f (1 + x) − f (1)
= lim
x→0 x
ln(1 + x) − ln 1
= lim
x→0 x
1
= lim ln(1 + x)
x→0 x
48
4. Write an equation that relates the various quantities of the problem. You may be able to eliminate one
of the variables by substituting known relationship between the variables. (ie. a formula for equation of a
triangle, volume of cylinder, Pythagorean Theorem etc.)
5. Use the Chain Rule to differentiate both sides of the equation with respect to t.
6. Substitute the given information into the resulting equation and solve for the unknown rate.
Examples
A water tank has the shape of an inverted circular cone with base radius 2 m and height 4m. If water is being
pumped into the tank at a rate of 5m3 /min and is begin pumped into the tank at a rate of 5m3 /min, find the
rate at which the water level is rising when the water is 3m deep.
Solution
Let V (t) be the volume of water in the tank at time t.
dV 1
Then =Rate of water in - Rate of water out = 5m3 /min−3m3 /min= 2m3 /min. Also V = πr2 h. We are
dt 3
dh
asked to find when h = 3.
dt
We can eliminate the variable r from our equation for V using similar triangles and the given radius and height
r 2 h
of the tank. = so r = .
h 4 2
1 h 1
Substituting this into our equation for V we have V = π( )2 h = πh3 .
3 2 12
dV
Now we differentiate both sides with respect to t and then substitute in = 2 and h = 3:
dt
dV π 2 dh
= 3h
dt 12 dt
π dh
2 = 3(3)2
12 dt
dh 8
=
dt 9π
Example
The position of a particle is given by the equation s = f (t) = t3 − 6t2 + 9t, where t is measured in seconds
and s in meters.
(a) Find the velocity after 4 s.
(b) When is the particle at rest?
(c) When is the particle moving forward?
(d) Find the total distance travelled by the particle during the first five seconds.
(e) When is the particle speeding up?
Graphs in GeoGebra
Video Solution
49
7.4 Exponential Growth and Decay
The Number e
As we have learned, the most convenient base for the purpose of calculus is the value e ≈ 2.71828 since this is
the base for which the exponential function is equal to its rate of change. There are applications of an amount
growing or decaying exponentially such as population growth, radioactive decay and compound interest.
Suppose we have the function y = ekt .
d d
Since et = et , then by the Chain Rule (ekt ) = kekt , where k is a constant.
dt dt
dy
Now if y = ekt , then = ky.
dt
If we think of t as time and y as an amount of some quantity present at time t, we can interpret this equation as
the rate of change of an amount is proportional to the amount present. In general we will be solving problems
whose growth/decay can be described by the equation y = y0 ekt , where y0 is the initial amount present (at time
t = 0). The constant k will vary in each example and we will often have to use some given information to uncover
its value.
Example
The half-life of 14 C is 5730 years. Carbon 14 is an unstable element in the atmosphere that is ingested by
plants and animals. When an organism dies, 14 C starts to decay to 12 C. Suppose a piece of parchment is
found and has 90% the 14 C content compared with paper today. What is the age of the artifact? Video
Solution
50
7.4.4 Logistic Model for Population Growth Video Lesson
dP
The equation = kP is a simple model for population growth. In reality, due to limited resources and
dt
environmental conditions, the population levels off eventually rather than continuing to increase exponentially
forever. If we let M denote the carrying capacity of a population (determined experimentally), then a more
realistic model is the Logistic Model
dP P
= kP 1 −
dt M
Notes:
P dP
• If P << M , → 0, so = kP .
M dt
dP
• As P → M , → 0.
dt
dP
• If P > M , < 0 and P → M + .
dt
Stewart HW: 3.5 #5, 7, 9, 19, 27, 29, 49, 51, 57, 3.6 # 5, 13, 15, 19, 3.7 #1(a-f ), 5, 7, 23, 3.8 #1,
5, 9, 3.9 #3, 5, 17, 21, 25
Lyryx HW: 4.7.1, 4.8.6, 4.8.7, 4.9.5, 4.9.6(a,c)
8 Week 8
8.1 Linear Approximations and Differentials
Recall that f 0 (a) is the slope of the tangent line to the curve y = f (x) at the point x = a, and so (a, f (a)) is a
point on the curve and on the tangent line.
Therefore, f (a) can be calculated from the equation of the curve f (x) or the equation of the tangent line at a.
We will call the equation of the tangent line L(x) and note that the equation of L(x) is
L(x) = f (a) + f 0 (a)(x − a). Clearly f (a) satisfies this equation.
Now, suppose we would like to find an approximation for f (x) when x is near a. If we have a complicated function
for our curve f , it will be easier to approximate f (x) from the equation of the tangent line L(x).
We are approximating
Approximating f (x) by L(x) is called the linear approximation of f at a and L(x) is called the linearization
of f at a. This activity (created with GeoGebra, by Tim Brzezinski) shows the linearization of a function.
Example
√ √ √
Find the linearization of f (x) = x + 3 at a = 1 and use it to approximate the numbers 3.98 and 4.05.
Video Solution
8.1.1 Differentials
dy dy
We will examine the Leipniz notation . We can think of dy and dx as variables making up the fraction .
dx dx
dy
To express this, we rewrite f 0 (x) = as
dx
dy = f 0 (x)dx
We call dy the differential of y. It is a dependent variable, depending on the values of x and the differential dx.
51
8.1.2 Geometric Meaning of dy and dx
Let P = (x, f (x)) and L(x) be the tangent line at P .
Suppose we introduce a small change in x, ∆x = dx.
The corresponding change in y is ∆y = f (x + dx) − f (x).
If f (x + dx) is difficult to evaluate, we can approximate ∆y by dy = f 0 (x)dx.
Note that ∆y is the amount the curve rises/falls when x changes by ∆x = dx and dy is the amount the tangent
line rises or falls when x changes by dx = ∆x.
When dx is very small, the approximation ∆y ≈ dy is fairly accurate.
In terms of differentials, we could rewrite our linear approximation for f (x) near a as f (x) ≈ L(x) = f (a) + dy
or f (a + dx) ≈ L(a + dx) = f (a) + dy.
Example
16
Compare the values of dy and ∆y for y = , taking ∆x = 0.1 = dx, for the following values of x:
x
x 4 2 1 0.5
∆y Video Solution
dy
We can also think of the differential dx = ∆x as an error in measurement and ∆y as the associated error in a
computed formula y = f (x + dx). We can approximate the associated error ∆y by the differential dy.
∆y dy
The relative error in y = f (x + dx) can be estimated by ≈ , where dx is a measurement error, ∆y is the
y y
0
error in the calculated value of y, and dy = f (x)dx.
The percentage error is the relative error × 100%.
Example
A window has the shape of a square topped by a semicircle. The width of the window is measured to be
80 cm, accurate to within 0.2cm. Use differentials to estimate the maximum error and the percent error
in the calculated surface area of the window. Video Solution
52
This is our second approximation for r.
We can improve upon this approximation if we repeat the process. This time we will consider the tangent line to
f (x2 )
the curve at the point (x2 , f (x2 )). This gives us a third approximation x3 = x2 − 0 for r.
f (x2 ))
In general, if the nth approximation for r is xn and if f 0 (xn ) 6= 0, the next approximation is given by
f (xn )
xn+1 = xn −
f 0 (xn )
Example:
Use Newton’s Method to find an approximation accurate to 2 decimals for the root of f (x) = cos 2x−3x+4.
(Hint: Sketch the graph of y = cos 2x and y = 3x−4 to obtain an initial guess for the root.) Video Solution
x2 − x
lim
x→1 x2 − 1
ln x
However, we cannot use this approach on lim , although this limit does in fact exist.
x−1
x→1
ln x
Another limit which is not obvious is lim . Here, both the numerator and denominator approach infinity
x→∞ x − 1
f (x)
as x → ∞. In general, if we have a limit of the form lim , where both f (x) → ∞ and g(x) → ∞ as x → a,
x→a g(x)
∞
then this limit may or may not exist and is called an indeterminate form of type .
∞
We have also seen this type of limit before, which we have handled by dividing the numerator and denominator
ln x
by the highest power of x in the denominator. This will not work in evaluating lim
x→∞ x − 1
0 ∞
(ie. We have an indeterminate form of type or ).
0 ∞
Then
f (x) f 0 (x)
lim = lim 0
x→a g(x) x→a g (x)
Note:
1. We must verify that we have an indeterminate form before using L’Hospital’s Rule.
53
2. L’Hospital’s Rule also applies to one-sided limits and infinite limits.
Examples
Evaluate the following limits:
ln x
(a) lim .
x→1 x−1
ex
(b) lim .
x→∞ x2
sin x
(c) lim− .
1 − cos x
x→π
x
(d) lim √
x→∞ x2 + 1
Video Solution
sin x cos x − 1
We can also use L’Hospital’s Rule to verify the special limits lim = 1 and lim = 0.
x→0 x x→0 x
Example
√
3
Determine lim x ln x. Video Solution
x→0+
8.3.4 Example
1 1
Evaluate the following limit lim+ − . Video Solution
x→0 x2 tan x
Harder Problem
sin−1 x − x
Evaluate the limit lim . Video Solution
x→0 2(x − tan x)
Stewart HW: 4.8 # 7, 13, 3.10 #1, 5 4.4 # 9, 15, 19, 27, 43, 49, 63
Lyryx HW: 5.4.1-5.4.7, 5.4.14, 5.5.1-5.5.20
54
9 Week 9
9.1 Maximum and Minimum Values
One use of derivatives is to answer questions such as:
• What shape of a can minimizes the cost of manufacturing?
• What is the maximum acceleration of a space shuttle?
• What radius of a contracted windpipe expels air most rapidly during a cough?
• What angle should blood vessels branch to minimize the energy expended by the heart pumping blood?
Definitions:
A function f has a local maximum at x = M if there is an open interval I containing M on which f (M ) ≥ f (x)
for all x in I. The local maximum value is f (M ). A function f has an absolute/global maximum at x = M
if f (M ) ≥ f (x) for all x in the domain of f .
A function f has a local minimum at x = m if there is an open interval I containing m on which f (m) ≤ f (x)
for all x in I. The local minimum value if f (m). A function f has an absolute/global minimum at x = m
if f (m) ≤ f (x) for all x in the domain of f .
We call values that are either a maximum or minimum, extreme values.
Example:
(
4 − x2 , −2 ≤ x < 0
Find the global and local extrema for f (x) = . Video Solution
2x − 1, 0 ≤ x ≤ 2
Definition:
A critical number of a function f is a number c in the domain of f such that either f 0 (c) = 0 or f 0 (c) does not
exist.
55
Example:
ln x
Find the critical numbers of f (x) = . Video Solution
x2
3. The largest of the values from Steps 1 and 2 is the absolute maximum value; the smallest of these values is
the absolute minimum value.
Example:
Find the absolute maximum and absolute minimum values of f (x) = (sin x)2 − cos(2x) on 0, 3π
4 . Video
Solution
Recall: If f has a local maximum/minimum at c then c is a critical number. We could not say: If c is a critical
number, then it is a local maximum/minimum. We also need the function to change from increasing to decreasing
at c. This is described in the following test.
56
Example
Find the local extrema and intervals of increase and decrease for the function f (x) = 5x2/3 − 2x5/3 . Video
Solution
Definition:
If the graph of f lies above all of its tangent lines on an interval I, then it is called concave upward on I. If
the graph of f lies below all of its tangent lines on I, it is called concave downward on I.
In the first diagram above, the slopes of the tangent lines increase as we move from left to right. This means f 0
is increasing and so f 00 > 0.
In the second diagram, the slopes of the tangents lines decrease as we move from left to right. This means f 0 is
decreasing and so f 00 < 0.
Definition:
A point P on a curve y = f (x) is called an inflection point if f is continuous there, and the curve changes from
concave up to concave down or concave down to concave up at P .
Note: There is a point of inflection at any point where the second derivative changes sign. Thus, we should look
for possible inflection points where f 00 (x) = 0 or f 00 (x) does not exist.
Example
For the function f (x) = 5x2/3 − 2x5/3 , find the intervals of concavity and the inflection points. Video
Solution
57
Harder Problem
• f 0 (1) = f 0 (−1) = 0
• f 0 (x) < 0 if |x| < 1
• f 0 (x) > 0 if 1 < |x| < 2
4. Asymptotes:
(a) If lim f (x) = L then y = L is a horizontal asymptote of the curve. If lim = ±∞, we do not have
x→±∞ x→±∞
a horizontal asymptote but this information will still help us sketch the graph.
(b) Look for places x = a where the curves is undefined (refer to domain found in step 1). If lim− f (x) =
x→a
±∞ or lim f (x) = ±∞, then x = a is a vertical asymptote of the curve. Note that if the domain of f
x→a+
is an open interval (a, b), (where f (a) and f (b) are undefined), then we should compute the one-sided
limits lim+ f (x) and lim− f (x).
x→a x→b
5. Local Maxima and Minima Find critical values c of f by finding where f 0 (c) = 0 or f 0 (c) does not exist.
Use the first derivative test to see if f 0 change from positive to negative (local max at c) or negative to
positive (local min at c). Alternatively, use the second derivative test by substituting any critical values c
into the second derivative. If f 00 (c) < 0, local max at c. If f 00 (c) > 0, local min at c.
6. Intervals of Increase and Decrease Compute f 0 (x) and find the intervals on which f 0 (x) > 0 (f is
increasing) and f 0 (x) < 0 (f is decreasing).
7. Concavity and Points of Inflection Compute f 00 (x) and use the Concavity Test to determine when
f 00 (x) > 0 (f is concave up) and when f 00 (x) < 0 (f is concave down). To find points of inflection, look at
points P where f 00 (P ) = 0 or f 00 (P ) does not exist. If f 00 changes sign at P , then P is a point of inflection.
8. Sketch the Curve Using the information found in steps 1-7, sketch your curve, labelling intercepts,
asymptotes, local and absolute extreme and points of inflection.
58
Example:
Use the guidelines above to sketch the curve of the function f (x) = 5x2/3 − 2x5/3 . You may use the
information found in earlier examples. Check your final graph with this GeoGebra graph. Video Solution
Example:
x2 + x + 1
Use the guidelines above to sketch the graph of g(x) = . Video Solution
x2
6. Optimize Find the absolute maximum or minimum value of Q = f (x). Make sure you have verified that
this value is in fact a maximum or minimum. You may use the Closed Interval Method if the domain of f
is a closed interval. Otherwise, you will need to use the First Derivative Test for absolute extreme values
(below).
7. Answer the Question Make sure that your answer makes sense in the context of the problem and that
you have completely answered the question.
In other words, if c is the only local extrema on an interval, then it is also an absolute extrema.
Note that we could alternatively use the second derivative test to verify that we have a local extrema. Again,
if it is the only one on the given interval, it is also an absolute extrema.
Example:
If a resistor of R ohms is connected across a battery of E volts with internal resistance r ohms, then the
E2R
power (in watts) in the external resistor is P = . If E and r are fixed but R varies, what is the
(R + r)2
maximum value of the power? Video Solution
59
Example:
What is the maximum possible area of a rectangle whose base lies on the x-axis, with its two upper
vertices on the graph of y = 4 − x2 ?
2. Let A be the area of rectangle. Let (x, y) be the coordinates of the upper vertex in the first quadrant.
Then the other upper vertex is (−x, y) due to the symmetry of the parabola about the y-axis.
The length of the base is x − (−x) = 2x and the height is y.
Note that 0 ≤ x ≤ 2 for the point (x, y) to be in the first quadrant.
3. A = 2xy, but y = 4 − x2 , so we can write A in terms of x only: A = 2x(4 − x2 ) = 8x − 2x3 .
4. Draw a diagram with base of rectangle on x-axis and upper vertices on parabola y = 4 − x2 .
5. We want to maximize A, so we find A0 (x) to find the absolute maximum of A.
4 2
A0 (x) = 8 − 6x2 = 0 when x2 = or x = ± √ .
3 3
2
Since x ∈ [0, 2] in the first quadrant, x = √ .
3
We will use the second derivative
test to show this is a maximum.
2
A00 (x) = −12x and A00 √ < 0.
3
2
Therefore, x = √ is a local maximum. Since it is the only local maximum on [0.2], it is also the
3
absolute maximum.
6. To answer the question, the maximum area is
3 √ √
2 2 2 16 16 (48 − 16) 3 32 3
A √ =8 √ −2 √ =√ − √ = =
3 3 3 3 3 3 9 9
Stewart HW: 4.1 # 5, 9, 13, 27, 31, 35, 49, 53, and 57, 4.3 #1, 19, 27, 41, and 47 4.5 # 3, 11, 21,
25, 29, 35, 39, 45, 49, 51 4.7 #3, 7, 13, 17, 25, 35, 37, 45, 55
Lyryx HW: 5.2.1-5.2.9, 5.2.16-5.2.22, 5.6.1-5.6.7, 5.6.17-5.6.23, 5.6.35-5.6.41, 5.6.56-5.6.57, 5.6.65,
5.6.60, 5.6.77, 5.7.1-5.7.14, 5.7.23-5.7.25
10 Week 10
10.1 Antiderivatives
Definition:
A function F is called an antiderivative of f on an interval I if F 0 (x) = f (x) for all x ∈ I.
If two functions have the same derivative, then they must differ by a constant. Thus, if F is any antiderivative
of f , then the general antiderivative of f is F (x) + C, where C is an arbitrary constant.
Examples
1 √2
Find the general antiderivative of f (t) = 2
− 3t .
1+t
Video Solution
60
10.1.1 Table of Common Antiderivatives
Function f (x) = F 0 (x) General Antiderivative F (x)
1
ln |x| + C
xx
e ex + C
cos x sin x + C
sin x − cos x + C
sec2 x tan x + C
sec x tan x sec x + C
1
√ sin−1 x + C
1 − x2
1
tan−1 x + C
1 + x2
xn+1
xn + C(n 6= −1)
n+1
Sometimes, we need to antidifferentiate more than once to uncover the original function. Since each time we
take an antiderivative, there is an arbitrary constant introduced, we need multiple data points on the original
function or some of its derivatives in order to solve for these constants.
Example
π3 π 21
Find the function f if f 000 (x) = sin x , f 00 (0) = 4 − π 2 , f 0 (0) = 0, f (0) = .
3 3 2
Video Solution
Antidifferentiation is often used in describing the motion of an object moving along a straight path. Since the
velocity function v(t) is the derivative of the displacement function s(t) and acceleration a(t) is the derivative of
velocity, we can start with acceleration and a couple of pieces of information about displacement and velocity at
particular times to uncover the displacement function.
Example:
A stone is dropped from the upper observation deck of the CN Tower, 450 m above the ground.
(a) How long does it take the stone to hit the ground and with what velocity?
(b) If the stone is thrown downward with a speed of 5 m/s, how long does it take to reach the ground?
Video Solution
61
We need to recognize the description of ai in our sum. The subscript i just means we want a formula in terms of
i. (Another way of saying ai would be f (i).)
Suppose we want to represent 32 + 42 + 52 + . . . + 92 using summation notation.
We recognize that we are adding together squares of numbers between 3 and 9.
9
X
So m = 3, n = 9 and ai = i2 , and we have 32 + 42 + 52 + . . . + 92 = i2 .
i=3
Check by substituting values for i starting at 3 and going all the way up to 9.
Example:
3 4 5 6 23
Write the sum + + + + ... + using sigma notation. Video Solution
7 8 9 10 27
Properties of Summations
n
X n
X
1. cai = c ai
i=m i=m
n
X n
X n
X
2. (ai + bi ) = ai + bi
i=m i=m i=m
n
X n
X
3. c = cn. In particular, 1=n
i=1 i=1
S = 1 + 2 + 3 + . . . + (n − 1) + n
S = n + (n − 1) + . . . + 3 + 2 + 1
2S = (n + 1) + (n + 1) + . . . + (n + 1) + (n + 1) + (n + 1)
2S = n(n + 1)
n(n + 1)
S=
2
Example:
6
X
Find the value of the sum i(i + 2). Video Solution
i=3
62
Harder Problem
n
" #
3
X 2 2i 2i
Evaluate the limit at infinity lim +5 . Video Solution
n→∞
i=1
n n n
1
We will divide S into 4 strips S1 , S2 , S3 , S4 of width .
4
We can approximate each strip by a rectangle whose base
is the same as the base of the strip and whose height is the
same as the height of the right edge of the strip.
That is, the heights of these rectangles are the values of
2
the function
1 f (x)
1 =1 x at the
rightendpoints of the subin-
tervals: 0, 4 , 4 , 2 , 12 , 34 , 34 , 1 .
1 1 3 1
4 2 4
2
Each rectangle has width 14 and the heights are: 41 ,
1 2 3 2
2 , 4 , 12 . If we let R4 denote the sum of the areas of
the rectangles, we have
2 2 2
1 1 1 1 1 3 1 15
R4 = + + + (1)2 = ≈ 0.46875
4 4 4 2 4 4 4 32
10 0.30875 0.35875
50 0.3234 0.3434
100 0.32835 0.33835
1000 0.3328335 0.3338335
63
From these values it looks as if Rn and Ln are approaching 31 as n increases. We will verify this observation once
we find an expression for the area under a curve in general.
a = x0 x1 x2 x3 ... xn−1 xn = b
If we approximate the areas Si by rectangles using
(a) right endpoints, then the area of each rectangle i is ∆xf (xi ) and
(b) using left endpoints, then the area of each rectangle i is ∆xf (xi−1 ).
An approximation for the area of S is simply the sum of the areas of rectangles, so
If we want the exact area A of the region S that lies under the graph of the continuous function f , we simply
take the limit of the sum of the areas of the approximating rectangles. That is,
n
X
A = lim Rn = lim f (xi )∆x
n→∞ n→∞
i=1
Xn
= lim Ln = lim f (xi−1 )∆x
n→∞ n→∞
i=1
In fact, we can choose any sample point x∗i that lies in the ith subinterval [xi−1 , xi ]. Common choices for x∗i are
left endpoints, right endpoints and midpoints. Left endpoints are given by xi−1 = a + (i − 1)∆x, right endpoints
xi−1 + xi
are given by xi = a + i∆x and the midpoint of the ith subinterval xi = . The exact area can be found
2
by the following formula
n
X
A = lim f (x∗i )∆x
n→∞
i=1
n
X
where the sum f (x∗i )∆x is called a Riemann Sum.
i=1
64
Example:
Express the area of the region bounded f (x) = x2 on the interval [0, 1] as the limit of a Riemann sum
1
using right endpoints. Show that the limit of this Riemann sum approaches .
3
1−0 1
Solution: We divide the interval [0, 1] into n subintervals of equal width ∆x = = . The ith right
n n
i i
endpoint is given by xi = a + i∆x = 0 + = . Thus, we have
n n
n n
X X i 1
Rn = f (xi )∆x = f
i=1 i=1
n n
n 2
X i 1
=
i=1
n n
n
X i2
=
i=1
n3
n
1 X 2
= i
n3 i=1
1 n(n + 1)(2n + 1)
=
n3 6
2n3 + 3n2 + n
=
6n3
2n3 + 3n2 + n 2 1
Finally, we take the limit of Rn as n → ∞ to obtain lim Rn = lim = = .
n→∞ n→∞ 6n3 6 3
Example:
Find the exact area of the region bounded by f (x) = x2 + 3x − 4 and the x-axis on the interval [2, 4] using
a Riemann sum and left endpoints. Video Solution
The more frequently we take velocity measurements, the more accurate our estimates become, so the exact
distance d travelled is the limit of such an expression.
n
X
d = lim f (ti−1 )∆t
n→∞
i=1
65
Example
Suppose the speedometer readings taken every 5 seconds give the following table:
Time (sec) 0 5 10 15 20 25 30
Velocity (m/s) 25 31 35 43 47 46 41
Then an approximation for the distance travelled in 30 seconds is
5(25) + 5(31) + 5(35) + 5(43) + 5(47) + 5(46) = 1135 m using left endpoints and
5(31) + 5(35) + 5(43) + 5(47) + 5(46) + 5(41) = 1215 m using right endpoints.
50
40
30
20
10
5 10 15 20 25 30
Stewart HW: #4.9 # 3, 5, 9, 15, 17, 25, 27, 31, 33, 36, 45, 66 Appendix E # 1-19, 5.1# 1, 5, 13,
17, 19
Lyryx HW: 6.1.1, 6.1.2
11 Week 11
11.1 The Definite Integral
The following sum
n
X
f (x∗i )∆x
i=1
is
R called the definite integral of f from a to b.
is called an integral sign, which means the limit of sums.
f (x) is called the integrand
a and b are called the lower and upper limits of integration, respectively.
The process of calculating a definite integral is called integration.
Z b
Note that f (x)dx is a number not a function. It represents the area below the curve y = f (x) between x = a
a
and x = b.
66
Example
n
X
Express lim (x3i + xi sin xi )∆x as a definite integral on the interval [0, π]. Video Solution
n→∞
i=1
f (t)
Z x
FTOC I says that g(x) = f (t)dt is continuous
a
0
on [a, b], differentiable
Z x on (a, b) and g (x) = f (x).
d
g(x) Alternatively, f (t)dt = f (x).
dx a
a x b
t
We can think of g as an “area so far” function - the area under f
from a to x.
67
The proof of the Fundamental Theorem of Calculus Part I is included here for interest. It uses several theorems
and properties we have seen in the course but you are not responsible for memorizing or reproducing any part of
this proof on assessments.
Proof:
Z x
Let g(x) = f (t)dt. We want to show g 0 (x) = f (x).
a
g(x + h) − g(x)
g 0 (x) = lim
h→0 h
We will assume x and x + h are in the interval (a, b). Looking at the numerator, we have
Z x+h Z x
g(x + h) − g(x) = f (t)dt − f (t)dt
a a
Z x Z x+h Z x
= f (t)dt + f (t)dt − f (t)dt
a x a
Z x+h
= f (t)dt
x
1 x+h
Z
f (u) ≤ f (t)dt ≤ f (v)
h x
g(x + h) − g(x)
f (u) ≤ ≤ f (v)
h
We get a similar inequality for h < 0, being careful to change signs when we divide inequality by h < 0.
Finally, we want to take the limit as h → 0. We note that as h → 0, u → x and v → x, since u and v lie between
x and x + h. We can use the Squeeze Theorem.
We have lim f (u) = lim f (u) = f (x) and lim f (v) = lim f (v) = f (x) because f is continuous at x.
h→0 u→x h→0 v→x
g(x + h) − g(x)
Thus, by the Squeeze Theorem, lim = f (x) and so g 0 (x) = f (x) as required.
h→0 h
68
Proof:
Z x
Let g(x) = f (t)dt.
a
Then g 0 (x) = f (x) by FTOC I. So g is an antiderivative of f .
If F is any other antiderivative of f on [a, b], then F and g differ by a constant, or F (x) = g(x) + C, for a ≤ x ≤ b.
Examples
Evaluate the following
Z x2
d
1. sin tdt.
dx 1
Z 1
d
2. x2 dx.
dx 0
Video Solution
Harder Problem
Z x Z x
Prove that t2 sin tdt = −x2 cos x + 2 t cos tdt by first showing that the functions on the left and
π/2 π/2
right sides of the equal sign have the same derivative, and so differ by a constant; then evaluate the
constant. Video Solution
Stewart HW: 5.2 # 1, 3, 5, 33, 35, 39, 47, 51 5.3 # 7, 9, 17, 19, 21, 23, 27, 29, 37, 39
Lyryx HW: 8.1.1-8.1.5, 6.2.1-6.2.6
12 Week 12
12.1 Indefinite Integrals Video Lesson
Since there is an obvious connection between antiderivatives and definite integrals, we use the notation
Z
f (x)dx = F (x)
if F is an antiderivative of f or F 0 (x) = f (x). This is called an indefinite integral which is a function or family
of functions as opposed to a definite integral which is a number.
Note that the connection between definite and indefinite integrals is that
Z b Z b
f (x)dx = f (x)dx
a a
When evaluating an indefinite integral, we must always include “+C” in our answer to demonstrate the fact there
are infinitely many antiderivatives of a function that differ by a constant.
69
Examples
Evaluate the following integrals:
Z
3
1. dx
x2 + 1
Z 3
2. 2x dx.
1
Video Solution
xn+1
Z Z Z
1
xn dx = +C dx = ln |x| + C ex dx = ex + C
Z n x+ 1 Z x Z
a
ax dx = +C sin xdx = − cos x + C cos xdx = sin x + C
Z ln a Z Z
sec2 xdx = tan x + C csc2 xdx = − cot x + C sec x tan xdx = sec x + C
Z Z Z
1 1
csc x cot xdx = − csc x + C dx = tan−1 x + C √ dx = sin−1 x + C
x2 + 1 1 − x2
is the net displacement of the particle during the time period from t1 to t2 .
If we want to calculate the distance travelled, we have to consider the intervals when v(t) ≥ 0 (particle moves
forwards/to the right) and when v(t) ≤ 0 (particle moves backwards/to the left).
Z t2
Total Distance Travelled = |v(t)|dt
t1
Example
Find the displacement and the distance travelled by the particle whose velocity is v(t) = t2 − t − 6 during
time 1 ≤ t ≤ 4.
70
√
2x 1 + x2 is the derivative of what function?
It looks like the Chain Rule may have been used to get this derivative.
We will introduce a new variable u to be what seems to be the inner function u = 1 + x2 .
Recall: If u = f (x), then du = f 0 (x)dx. Here du = 2xdx.
If we think of the dx in the integral as a differential, we have the differential 2xdx occurring in the given integral.
√
Z p Z p Z
2
2x 1 + x dx = 2
1 + x 2xdx = udu
we use the substitution u = g(x), so du = g 0 (x)dx, and solve the simpler integral
Z
f (u)du
Note: Let u be a function in the integrand whose derivative also occurs. Usually, we will let u be the inner
function or the complicated part of a function.
Be careful when evaluating definite integrals to remember to change the limits of integration since we are
doing a substitution of variables.
Examples
Evaluate the following integrals:
Z
4x
1. √ dx
1 − 2x2
Z
x
2. dx
x2 + 5
Video Solution
Z Z
1 1 −1 x 1 x
Look out for integrals of the form dx = tan + C or √ dx = sin−1 + C. You may
a2 + x2 a a a2 − x2 a
need to complete the square first to put the denominator of your integral in this form. Look out for quadratics
or roots of quadratics in the denominator.
71
More Integrals to Try: Exercise
2
7e6x 8ln(x )
Z Z
1. 6x
dx 2. dx
Z 4 + 5e Z 2 x
√
3. e2x 1 + 4ex dx 4. (1 + e−x )2 dx
√ Z1 ln(1/x)
ln( 1 + x2 )x
Z
2
5. 2
dx 6. dx
Z √ 1+x Z 1/2 x
x5
7. 105x dx 8. √ dx
0 1 − 2x3
Answers
7 1 ln(x2 )
1. ln(4 + 5e6x ) + C 2. 8 +C
30 6 ln 2
(1 + 4ex )3/2 3 1
3. (12ex − 2) + C 4. 1 + 2e−1 − e−2 − e−4
120 2 2
1 2 −1 ln(1/x)
5. ln (1 + x2 ) + C 6. 2 +C
4 ln 2 √
2 √ 5x 1 3
7. 10 + C 8. −
5 ln 10 9 16
It will be helpful to sketch the two curves so we can see which curve lies on top. If we get these backwards, it
Z b
will result in a negative area calculation. It may be helpful to express the integral as A = (yT − yB )dx, where
a
yT is the top curve and yB is the bottom curve.
Sometimes we need to put more thought into the bounds for x because the boundaries for the region between
the two curves will be defined by where the two curves intersect. Here, we will have to first find the points of
intersection of the two curves then see which curve is yT and which curve is yB between the points of intersection.
The curves may cross over each other at points of intersection and the roles of yT and yB will be switched. We
can examine the graph to see which lies on top in each interval OR we can test a value for x in each curve between
the intersection points and see which gives the larger y value. We will illustrate this in the next example.
Example
Find the area of the region bounded by the curves f (x) = 20 − x2 and g(x) = (x − 6)2 . Video Solution
Some regions are better treated by regarding x as a function of y. Then the area between the curves x = f (y)
72
and x = g(y) from y = c to y = d if f (y) ≥ g(y) for all y ∈ [c, d] is given by
Z d
[f (y) − g(y)]dy
c
In order to produce a positive value for the area we will need to subtract the curve on the left from the curve on
the right, so we could write the area formula as
Z d
(xR − xL )dy
c
Again, we may need to look for points of intersection first to see where curves overlap to get bounds for y and
determine which has the larger x value on each interval.
Example
Find the area of the region bounded by x = y 2 − 2y and y = x − 4. Video Solution
Stewart HW: 5.4#1, 3, 5, 9, 11, 12, 15, 21, 27, 31, 37, 53, 63, 5.5#1, 3, 5, 9, 11, 13, 23, 25, 39, 45,
47, 53, 55, 57, 59, 63, 69, 73 6.1 # 1, 5, 7, 9, 11, 17, 20
Lyryx HW: 6.3.1-6.3.9, 7.1.1-7.1.15 8.2.1-8.2.5, 8.2.9
That’s a wrap for MATH 127. In MATH 128, you will continue to explore more advanced techniques of
integration. You will also study volumes of solids of revolution and find solutions to differential equations. You
will learn about how functions can be expressed as a polynomial with an infinite number of terms. This will help
us to understand how calculators and computers are able to approximate function values and definite integrals of
more complicated functions.
73