Calculus I for Engineers
Transcription
Calculus I for Engineers
Calculus I for Engineers My Students1 Fall 2010 1 It is based mostly on the textbook, Smith and Minton’s Calculus Early Transcendental Functions, 3rd Ed and it has been reorganized and retyped by Jae Lee. Calculus I for Engineers Fall, 2010 Page 2 of 101 C ONTENTS 1 2 Limits and Continuity 1.1 A Brief Preview of Calculus: Tangent Lines and the Length of a Curve 1.2 The Concept of Limit . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 Computation of Limits . . . . . . . . . . . . . . . . . . . . . . . . . 1.4 Continuity and Its Consequences . . . . . . . . . . . . . . . . . . . . 1.5 Limits Involving Infinity: Asymptotes . . . . . . . . . . . . . . . . . 1.5.1 Vertical Asymptote . . . . . . . . . . . . . . . . . . . . . . . 1.5.2 Horizontal Asymptote . . . . . . . . . . . . . . . . . . . . . 1.5.3 Slant Asymptote . . . . . . . . . . . . . . . . . . . . . . . . 1.6 Formal Definition of the Limit . . . . . . . . . . . . . . . . . . . . . 1.7 Limits and Loss–of–Significance Errors . . . . . . . . . . . . . . . . Differentiation 2.1 Tangent Lines and Velocity . . . . . . . . . . . . . . . . 2.2 The Derivative . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 Definition . . . . . . . . . . . . . . . . . . . . . 2.2.2 Differentiability . . . . . . . . . . . . . . . . . . 2.2.3 Meaning: Geometrical . . . . . . . . . . . . . . 2.2.4 Alternative Derivative Notations . . . . . . . . . 2.3 Computation of Derivatives: The Power Rule . . . . . . 2.3.1 Power Rule . . . . . . . . . . . . . . . . . . . . 2.3.2 General Derivative Rules: Linearity . . . . . . . 2.3.3 Higher Order Derivatives . . . . . . . . . . . . . 2.3.4 Physical Meaning of Derivative: Rate of Change 2.4 The Product and Quotient Rules . . . . . . . . . . . . . 2.4.1 Product Rule . . . . . . . . . . . . . . . . . . . 2.4.2 Quotient Rule . . . . . . . . . . . . . . . . . . . 2.4.3 Applications . . . . . . . . . . . . . . . . . . . 2.5 The Chain Rule . . . . . . . . . . . . . . . . . . . . . . 2.5.1 Prerequisite . . . . . . . . . . . . . . . . . . . . 2.5.2 Chain Rule . . . . . . . . . . . . . . . . . . . . 2.5.3 Derivative of Inverse Function . . . . . . . . . . 2.6 Derivatives of Trigonometric Functions . . . . . . . . . 2.6.1 Prerequisites: Basic Formulas . . . . . . . . . . 2.6.2 Derivatives of Trigonometric Functions . . . . . 2.6.3 Applications . . . . . . . . . . . . . . . . . . . 2.7 Derivatives of Exponential and Logarithmic Functions . 2.7.1 Prerequisites: Basic Formulas . . . . . . . . . . 2.7.2 Derivatives of the Exponential Functions . . . . 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7 7 10 11 13 13 14 15 15 15 . . . . . . . . . . . . . . . . . . . . . . . . . . 17 17 17 17 18 20 21 22 22 22 23 23 24 24 24 24 25 25 25 26 27 27 27 28 29 29 29 Calculus I for Engineers 2.8 2.9 3 4 Fall, 2010 2.7.3 Derivative of the Natural Logarithm . . . . . . . . . 2.7.4 Logarithmic Differentiation . . . . . . . . . . . . . Implicit Differentiation and Inverse Trigonometric Functions 2.8.1 Implicit Differentiation . . . . . . . . . . . . . . . . 2.8.2 Derivatives of the Inverse Trigonometric Functions . The Mean Value Theorem . . . . . . . . . . . . . . . . . . Applications of Differentiation 3.1 Linear Approximations and Newton’s Method . . . . . 3.2 Indeterminate Forms and L’Hôpital’s Rule . . . . . . . 3.2.1 Introduction . . . . . . . . . . . . . . . . . . . 3.2.2 Indeterminate Forms: 0/0 and Infinity/Infinity 3.2.3 L’Hôpital’s Rule . . . . . . . . . . . . . . . . 3.2.4 Other Indeterminate Forms . . . . . . . . . . . 3.3 Maximum and Minimum Values . . . . . . . . . . . . 3.3.1 Absolute Extrema . . . . . . . . . . . . . . . . 3.3.2 Local Extrema . . . . . . . . . . . . . . . . . 3.3.3 Critical Number . . . . . . . . . . . . . . . . 3.4 Increasing and Decreasing Functions . . . . . . . . . . 3.4.1 Increasing and Decreasing Functions . . . . . 3.4.2 Critical Point Classification . . . . . . . . . . 3.5 Concavity and the Second Derivative Test . . . . . . . 3.5.1 Concavity . . . . . . . . . . . . . . . . . . . . 3.5.2 Second Derivative Test . . . . . . . . . . . . . 3.6 Overview of Curve Sketching . . . . . . . . . . . . . . 3.7 Optimization . . . . . . . . . . . . . . . . . . . . . . 3.7.1 Guideline . . . . . . . . . . . . . . . . . . . . 3.7.2 Area . . . . . . . . . . . . . . . . . . . . . . . 3.7.3 Volume . . . . . . . . . . . . . . . . . . . . . 3.7.4 Closest Point to Curve . . . . . . . . . . . . . 3.7.5 Soda Can & Highway . . . . . . . . . . . . . 3.8 Related Rates . . . . . . . . . . . . . . . . . . . . . . 3.8.1 Spreading Oil . . . . . . . . . . . . . . . . . . 3.8.2 Ladder . . . . . . . . . . . . . . . . . . . . . 3.8.3 Car Speed . . . . . . . . . . . . . . . . . . . . 3.8.4 Economics . . . . . . . . . . . . . . . . . . . 3.8.5 Flying Jet . . . . . . . . . . . . . . . . . . . . 3.9 Rates of Change in Economics and the Sciences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Integration 4.1 Antiderivatives . . . . . . . . . . . . . . . . . . . . . . . 4.1.1 Antiderivative . . . . . . . . . . . . . . . . . . . . 4.1.2 Indefinite Integral . . . . . . . . . . . . . . . . . . 4.2 Sums and Sigma Notation . . . . . . . . . . . . . . . . . 4.3 Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4 The Definite Integral . . . . . . . . . . . . . . . . . . . . 4.5 The Fundamental Theorem of Calculus . . . . . . . . . . 4.5.1 The Fundamental Theorem of Calculus . . . . . . 4.5.2 Application of Fundamental Theorem of Calculus . 4.6 Integration by Substitution . . . . . . . . . . . . . . . . . 4.6.1 Introduction . . . . . . . . . . . . . . . . . . . . . Page 4 of 101 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 31 32 32 33 35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 37 37 37 38 38 39 40 40 40 41 43 43 43 45 45 46 47 48 48 48 49 49 50 52 52 53 54 55 55 56 . . . . . . . . . . . 57 57 57 57 60 60 61 62 62 63 65 65 Calculus I for Engineers 4.6.2 Integration By Substitution . . . . . . . . . . . 4.6.3 Integration By Substitution in Definite Integral Numerical Integration . . . . . . . . . . . . . . . . . . The Natural Logarithm as an Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 67 67 68 Applications of the Definite Integral 5.1 Area Between Curves . . . . . . . . . . . . . . . . . . 5.1.1 Region Bounded by Upper and Lower Curves . 5.1.2 Region Bounded by Right and Left Curves . . 5.2 Volume: Slicing, Disks and Washers . . . . . . . . . . 5.2.1 Volume by Slicing . . . . . . . . . . . . . . . 5.2.2 Method of Disks . . . . . . . . . . . . . . . . 5.2.3 Method of Washers . . . . . . . . . . . . . . . 5.3 Volume by Cylindrical Shells . . . . . . . . . . . . . . 5.4 Arc Length and Surface Area . . . . . . . . . . . . . . 5.5 Projectile Motion . . . . . . . . . . . . . . . . . . . . 5.6 Applications of Integration to Physics and Engineering 5.7 Probability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 69 69 71 72 72 74 76 77 78 78 78 78 Integration Techniques 6.1 Review of Formulas and Techniques . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Integration by Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.1 Integration by Parts: No Repetition . . . . . . . . . . . . . . . . . . . . . 6.2.2 Integration by Parts: Repetition . . . . . . . . . . . . . . . . . . . . . . . 6.2.3 Integration by Parts Formula for Definite Integrals . . . . . . . . . . . . . 6.3 Trigonometric Techniques of Integration . . . . . . . . . . . . . . . . . . . . . . . 6.3.1 Integrals Involving Powers of Trigonometric Functions . . . . . . . . . . . 6.3.2 Trigonometric Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4 Integration of Rational Functions using Partial Fractions . . . . . . . . . . . . . . 6.4.1 Division Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S(x) 6.4.2 Form I. (ax+b)(cx+d) , where the degree of the polynomial S(x) is less than 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 79 82 82 84 87 88 88 92 94 94 94 where the degree of the polynomial S(x) is less than n . . . . . . . 98 4.7 4.8 5 6 Fall, 2010 6.4.3 Form II. S(x) (ax+b)n , S(x) , (ax2 +bx+c)(dx2 +ex+ f ) 6.5 6.6 6.4.4 Form III. where the degree of S(x) is less than 4 6.4.5 Brief Summary of Integration Techniques . . . . . . . . . . . . . . . Integration Tables and Computer Algebra Systems . . . . . . . . . . . . . . Improper Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 5 of 101 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 . 101 . 101 . 101 Calculus I for Engineers Fall, 2010 Page 6 of 101 Chapter 1 Limits and Continuity §1.1 A Brief Preview of Calculus: Tangent Lines and the Length of a Curve. Skip. Please read the textbook. §1.2 The Concept of Limit. Consider the function, x2 − 4 , x−2 which has the domain all real numbers except 2, i.e., R − {2}. We raise a question: As x approaches 2, what value does f approach? We think of two ways: Graphical way and Computational/Analytical way. f (x) = Figure 1.1: Graph of f (x) = x2 − 4 x−2 1. Graph (See the figure 1.1): (1) As x approaches 2 from the left, the graph shows that the values of f are closer to 4. (2) As x approaches 2 from the right, the graph shows that the values of f are closer to 4. In simple notations, (1) as x → 2− , f (x) → 4 and (2) as x → 2+ , f (x) → 4. In much simpler way, they are expressed by lim f (x) = 4, lim f (x) = 4, x→2− x→2+ each of which is called the one–sided limit and reads that the limit of f as x approaches 2 from the left is 4 and the limit of f as x approaches 2 from the right is 4, respectively. When both one–sided limits are equal, we say that the limit of f as x approaches 2 is 4 and it is expressed by lim f (x) = 4. x→2 2. Computation: The given function f can be simplified by f (x) = x2 − 4 (x − 2)(x + 2) = = x + 2. x−2 x−2 It is straightforward to see that as x → 2, f (x) = x + 2 → 4. Thus we have lim f (x) = 4. x→2 7 Calculus I for Engineers Fall, 2010 Let us consider another function, x2 − 5 g(x) = , x−2 which has the domain R − {2}. Question: as x approaches 2, what value does g approach? 1. Graph (See the figure 1.2): (1) As x approaches 2 from the left, the graph shows that the values of g get bigger and bigger. (2) As x approaches 2 from the right, the graph shows that the values of g get negatively smaller and smaller. Figure 1.2: Graph of f (x) = x2 − 5 x−2 In simple notations, they are expressed by lim g(x) = −∞, lim g(x) = +∞. x→2− x→2+ That is, each one–sided limit does not exist, which implies that as x approaches 2, the limit of g does not exist. 2. Computation: As x goes to 2, the numerator of g, x2 − 5, approaches −1. But, the denominator of g, x − 2, approaches 0. It allows us to expect that g cannot get closer to a finite number as x approaches 0. Thus, the limit of g does not exist as x goes to 2. We summarize as follows: A limit exists if and only if both corresponding one-sided limits exist and are equal. That is, lim f (x) = L, for some number L, x→a if and only if lim f (x) = lim f (x) = L. x→a− Figure 1.3: Graph of f Example 1.2.1. Use the graph in figure 1.3 to determine lim f (x), x→1− lim f (x), x→1+ lim f (x), x→1 Page 8 of 101 lim f (x). x→−1 x→a+ Calculus I for Engineers Fall, 2010 Figure 1.4: Graph of f (x) = sin x x A NSWER. We observe lim f (x) = 2, x→1− lim f (x) = −1, lim f (x) = does not exist, x→1+ x→1 lim f (x) = 1. x→−1 □ sin(x) . x→0 x Example 1.2.2. Evaluate lim A NSWER. By the figure 1.4, we get sin(x) = 1. x→0 x □ lim Figure 1.5: Graph of f (x) = x |x| Before we move to the next example, please remember the definition of the absolute function: { x when x ≥ 0 |x| = −x when x < 0. x . x→0 |x| Example 1.2.3. Evaluate lim A NSWER. The function x/|x| has the domain R − {0}. 1. Graph: By the figure 1.12a, we have lim x→0− x = −1, |x| lim x→0+ x = 1. |x| x does not exist. x→0 |x| Since both one–sided limits are not equal, so lim Page 9 of 101 Calculus I for Engineers Fall, 2010 2. Computation: By the definition of the absolute function, we have { x when x > 0 x x =1 = x |x| = −1 when x < 0. −x That is, x x x x = lim = lim −1 = −1, lim = lim = lim 1 = 1. + + − − |x| x→0 −x x→0 x→0 |x| x→0 x x→0+ x Since both one–sided limits are not equal, so lim does not exist. x→0 |x| lim x→0− §1.3 Computation of Limits. Skip. Please read the textbook. Page 10 of 101 □ Calculus I for Engineers Fall, 2010 §1.4 Continuity and Its Consequences. Definition 1.4.1. A function f is continuous at x = a when 1. f (a) is defined (i.e., a should be in the domain of f ), 2. lim f (x) exists, x→a 3. lim f (x) = f (a). x→a Simply, f is continuous at x = a if and only if ( ) lim f (x) = f (a) = f lim x . x→a x→a If f is not continuous at x = a, then f is said to be discontinuous at x = a. If f is continuous at any point in an interval I, then f is said to be continuous in the interval I. Comment: Graphically, “ f is continuous at x = a” means that the graph of f is connected at x = a. Figure 1.6: Graph of f (x) = Example 1.4.2. Determine where f (x) = x2 + 2x − 3 x−1 x2 + 2x − 3 is continuous. x−1 A NSWER. The domain of f is R − {1} and f is a rational function of polynomials. So we may expect that f is continuous everywhere except x = 1. 1. Graph (See the figure 1.6): By the figure, we observe f is continuous everywhere except x = 1. 2. Computation: A simple computation shows f (x) = x2 + 2x − 3 (x − 1)(x + 3) = = x + 3, x−1 x−1 which is continuous everywhere, because its graph is a line. Hence, f is continuous everywhere except x = 1. □ Page 11 of 101 Calculus I for Engineers Fall, 2010 Figure 1.7: Graph of f (x) = 1 1 and h(x) = cos x2 x ( ) 1 1 1 . Example 1.4.3. Find all discontinuities of f (x) = , g(x) = 2 , and h(x) = cos x x x A NSWER. The functions f , g, and h have the same domain R − {0}. From the figure 1.7, we observe that g and h are continuous everywhere except x = 0. It is easy to see that the function f is also continuous everywhere except x = 0 by its graph. (See the first example in Section 1.5 Limit involving Infinity.) □ From your experience with the graphs of some common functions, the following result should come as no surprise. Theorem 1.4.4. 1. 2. 3. 4. 5. All polynomials are continuous everywhere. sin x, cos x, and the arctangent tan−1 x are continuous everywhere. ex is continuous everywhere. √ n x is continuous for all x, when n is odd and for x > 0, when n is even. ln x is continuous for x > 0. Theorem 1.4.5. Suppose that f and g are continuous at x = a. Then all of the following are true: 1. ( f ± g) is continuous at x = a, 2. f · g is continuous at x = a, f 3. is continuous at x = a if g(a) ̸= 0. g Corollary 1.4.6. Suppose that g is continuous at x = a and f is continuous at g(a). Then, the composition f ◦ g is continuous at x = a. Page 12 of 101 Calculus I for Engineers Fall, 2010 §1.5 Limits Involving Infinity: Asymptotes. □ 1.5.1 Vertical Asymptote. Figure 1.8: Graph of f (x) = 1 x 1 Example 1.5.1. Examine lim . x→0 x A NSWER. By the figure 1.8, we observe 1 = −∞, x→0− x 1 = ∞. x→0+ x lim lim □ Comment: The graph, figure 1.8, of f (x) = 1/x shows that as x → 0, f (x) → ±∞. As x → 0, f (x) gets closer to the line x = 0. This line x = 0 is called the vertical asymptote of f . Definition 1.5.2. The line x = a is called a vertical asymptote of the curve if at least one of the following statements is true: lim f (x) = ∞, x→a lim f (x) = −∞, x→a lim f (x) = ∞, x→a− lim f (x) = −∞, x→a− lim f (x) = ∞, x→a+ lim f (x) = −∞. x→a+ For the various vertical asymptotes, see the figure below. Example 1.5.3. Find all vertical asymptotes of f (x) = 1 . x2 A NSWER. By the graph of f (x) = 1/x2 , we observe lim f (x) = ∞ = lim f (x). x→0− x→0+ Thus, the line x = 0 is the only vertical asymptote of f . Page 13 of 101 □ Calculus I for Engineers Fall, 2010 Example 1.5.4. Find all vertical asymptotes of f (x) = tan(x). A NSWER. By the graph of f , we observe lim f (x) = lim f (x) = ∞ = lim f (x) = lim f (x) = −∞ = x→−π /2− x→−π /2+ x→π /2− x→π /2+ where n is any integer. Thus, the lines x = f (x) = · · · = lim x→3π /2− lim x→3π /2+ lim − x→ 2n+1 2 π f (x) = · · · = lim f (x), + x→ 2n+1 2 π f (x), 2n + 1 π , n = 0, ±1, ±2, . . . , are all vertical asymptotes of f . 2 □ □ 1.5.2 Horizontal Asymptote. 1 1 Let us examine lim and lim . By the graph of y = 1/x, we observe x→∞ x x→−∞ x 1 = 0, x→−∞ x 1 = 0. x→∞ x lim lim That is, the graph of y = 1/x appears to approach the horizontal line y = 0, as x → ±∞. In this case, we call y = 0 a horizontal asymptote of y = 1/x. Definition 1.5.5. The line y = L is called a horizontal asymptote of the curve y = f (x) if either lim f (x) = L x→−∞ lim f (x) = L. or x→∞ For the various horizontal asymptotes, see the figure below. Figure 1.9: Graph of f (x) = Example 1.5.6. Find all horizontal asymptotes of f (x) = 5x − 7 . 4x + 3 Page 14 of 101 5x − 7 4x + 3 Calculus I for Engineers Fall, 2010 A NSWER. It is not easy to sketch the graph of f . So we use the analytic method. f (x) = 5x − 7 5x − 7 1/x 5 − 7/x = · = , 4x + 3 4x + 3 1/x 4 + 3/x 5 − 7/x 5 = . x→∞ 4 + 3/x 4 lim f (x) = lim x→∞ 5 Thus, the curve of f has the only one horizontal asymptote y = . See the figure 1.9. 4 □ 1.5.3 Slant Asymptote. Skip. Please read the textbook. §1.6 Formal Definition of the Limit. Skip. Please read the textbook. §1.7 Limits and Loss–of–Significance Errors. Skip. Please read the textbook. Page 15 of 101 □ Calculus I for Engineers Fall, 2010 Page 16 of 101 Chapter 2 Differentiation §2.1 Tangent Lines and Velocity. Skip. Please read the textbook. §2.2 The Derivative. □ 2.2.1 Definition. Definition 2.2.1. The derivative of the function f at x = a is defined as f ′ (a) = lim h→0 f (a + h) − f (a) , h (2.2.1) provided the limit exists. If the limit exists, we say f is differentiable at x = a. An alternative form of (2.2.1) is f ′ (a) = lim b→a f (b) − f (a) . b−a (2.2.2) Example 2.2.2. Use the definition of the derivative to find the derivative of f (x) = 3x2 + 2x − 1 at x = 1. A NSWER. By the definition, we have f (1 + h) − f (1) h→0 h 3(1 + h)2 + 2(1 + h) − 1 − (3 + 2 − 1) = lim = lim (8 + 3h) = 8. h→0 h→0 h f ′ (1) = lim □ Exercise 2.2.3. Use the definition of the derivative to find the derivative of f (x) = x2 + 2x at x = 2. √ Exercise 2.2.4. Find the derivative of f (x) = x at x = 1. Definition 2.2.5. The derivative of f is a function f ′ given by f ′ (x) = lim h→0 f (x + h) − f (x) . h (2.2.3) The process of computing a derivative is called differentiation. f is differentiable on an interval I if it is differentiable at every point in I. Example 2.2.6. Find the derivative of f (x) = 3x2 + 2x − 1. A NSWER. By the definition, we have f (x + h) − f (x) h→0 h 3(x + h)2 + 2(x + h) − 1 − (3x2 + 2x − 1) = lim (6x + 2 + 3h) = 6x + 2. = lim h→0 h→0 h f ′ (x) = lim Exercise 2.2.7. Find the derivatives: f (x) = x2 + 2x. 2 f (x) = , where x ̸= 0. x √ f (x) = x + 1 , where x ≥ −1. 17 □ Calculus I for Engineers Fall, 2010 Figure 2.1: Graphical Relations between f and f ′ Example 2.2.8. Sketch the graph of f ′ , when the graph of f is given as the one in the left–hand side of the figure 2.1. A NSWER. The graph of f ′ is given in the right–hand side of the figure 2.1 with the graph of f itself. Explanation in class. □ Figure 2.2: Graphical Relations between f and f ′ Example 2.2.9. Sketch the graph of f (x), when the graph of f ′ (x) is given as the one in the left–hand side of the figure 2.2. A NSWER. The graph of f is given in the right–hand side of the figure 2.2 with the graph of f ′ itself. Explanation in class. □ □ 2.2.2 Differentiability. • Graphical Interpretation: We recall that the continuity of f at x = a graphically corresponds to the connectedness of the graph of y = f (x) at x = a. Then what is the graphical interpretation of the differentiability? For a differentiable function f at x = a, its graph is smoothly connected at x = a. • Relationship between Continuity and Differentiability: 1. If a function is differentiable at x = a, then is it continuous at x = a? The answer is YES. It’s because a smoothly connected graph at x = a is obviously connected. Page 18 of 101 Calculus I for Engineers Fall, 2010 2. If a function is continuous at x = a, then is it differentiable at x = a? The answer is NO. For instance, the function f (x) = |x − 3| is continuous at x = 3, but it is not differentiable at x = 3, because graphically its graph is not smooth at x = 3. Theorem 2.2.10. If f (x) is differentiable at x = a, then f (x) is continuous at x = a. (It is same as saying, if a function is not continuous at x = a, then it is not differentiable at x = a and so it cannot have a derivative at x = a.) Figure 2.3: Non–Differentiability There are four cases of non–differentiability. See the figure 2.3. 1. Discontinuity: if a graph of f (x) is not connected at x = a, then f (x) is discontinuous at x = a and thus f (x) is not differentiable at x = a. That is, f ′ (a) does not exist. 2. Corner Point: if a graph of f (x) has a corner point at x = a, then f (x) is not differentiable at x = a. That is, f ′ (a) does not exist. 3. Vertical Tangent Line: if a graph of f (x) has a vertical tangent line at x = a, then f (x) is not differentiable at x = a. That is, f ′ (a) does not exist. 4. Cusp: if a graph of f (x) has the shape of cusp at x = a, then f (x) is not differentiable at x = a. That is, f ′ (a) does not exist. Page 19 of 101 Calculus I for Engineers Fall, 2010 □ 2.2.3 Meaning: Geometrical. Consider the graph of a function y = f (x). Let us choose a point P on the curve at x = a. Then the point P has the coordinate (a, f (a)). Clearly we can draw so many straight lines passing through this point P. However, when we give the condition “the line should touch (not cross) only the point P in the neighborhood of the point P on the curve”, we can find only one line. We refer the line as the tangent line to the curve of y = f (x) at x = a. • Equation of Line (from High School): 1. Point–Slope: if a line has a slope m and passes through a point (a, b), then the equation of the line is y − b = m(x − a). (“Point–Slope” Equation of Line) 2. Point–Point: if a line passes through (a, b) and (c, d), then the line has the slope formula above, the equation of the line is y−b = b−d (x − a) a−c or y−d = b−d (x − c). a−c (2.2.4) b−d and so by the a−c (“Point–Point” Equation of Line) Applying the formula (2.2.4) to the tangent line to the curve of y = f (x) at x = a, we can get the equation of the tangent line: y − f (a) = (slope of tangent line)(x − a), (2.2.5) where we don’t know the slope of the tangent line yet. Here we raise two questions: (a) If the graph of y = f (x) is a straight line, then what is the tangent line to the graph of y = f (x) at x = a? In this case, the tangent line is the line itself. So the equation of the tangent line at any point is exactly same as y = f (x). (b) How can we find the slope of the tangent line to the curve of y = f (x) at x = a? The answer comes from the derivative of f (x) at x = a. The derivative of f at x = a geometrically means the slope of tangent line to curve of y = f (x) at x = a. Now, from the formula (2.2.5), we deduce one of the most important formulas in this course: the equation of the tangent line to the curve of y = f (x) at x = a is y − f (a) = f ′ (a)(x − a), which you must memorize. Example 2.2.11. Find the slope of the tangent line to the curve of f (x) = of the tangent line at x = 4. A NSWER. We compute f (4 + h) − f (4) = h (2.2.6) √ x at x = 4 and write the equation (√ √ √ )(√ √ ) √ 4+h − 4 4+h − 4 4+h + 4 √ √ = h h 4+h + 4 4+h−4 1 √ =√ √ √ h( 4 + h + 4 ) 4+h + 4 1 f (4 + h) − f (4) 1 1 √ =√ √ = , = lim √ f ′ (4) = lim h→0 4 + h + 4 h→0 h 4 4+0 + 4 √ which is the slope of the tangent line to the curve of f (x) = x at x = 4. By the formula (2.2.6), the equation of the tangent line at x = 4 is √ 1 x y − f (4) = f ′ (4)(x − 4), i.e., y − 4 = (x − 4) , i.e., y = + 1. □ 4 4 = Page 20 of 101 Calculus I for Engineers Fall, 2010 □ 2.2.4 Alternative Derivative Notations. For a function y = f (x), its derivative is expressed by y′ , f ′ (x), which are called Newton’s notations for the derivative. We also have Leibniz’ notations: dy , dx d y, dx d f (x), dx d f (x) . dx When we compute the values of the derivative function of y = f (x) at x = a, we use the following notations: d d f (x) dy d ′ ′ , f (a), , y f (x) , . y , dx x=a dx x=a dx dx x=a x=a x=a Leibniz’ Notations will be useful especially when we discuss the Chain Rule in Section 2.5. Page 21 of 101 Calculus I for Engineers Fall, 2010 §2.3 Computation of Derivatives: The Power Rule. □ 2.3.1 Power Rule. Recalling that the derivative means the slope of the tangent line, it is easy to understand the following two facts. 1. Any constant function f (x) = c has the derivative f ′ (x) = 0. 2. The identity function f (x) = x has the derivative f ′ (x) = 1. Theorem 2.3.1 (Power Rule). For any natural number n, f (x) = xn has the derivative f ′ (x) = nxn−1 . Example 2.3.2. Compute the derivative of f (x) = x7 and g(t) = t 28 . Theorem 2.3.3 (General Power Rule). For any real number r, f (x) = xr has the derivative f ′ (x) = rxr−1 . √ √ 3 3 Example 2.3.4. Compute the derivative of f (x) = x5 and g(t) = 1/t and h(s) = 1/ s2 . □ 2.3.2 General Derivative Rules: Linearity. Theorem 2.3.5. If f and g are differentiable and c is any constant, then (1) [ f (x) + g(x)]′ = f ′ (x) + g′ (x) (2) [ f (x) − g(x)]′ = f ′ (x) − g′ (x) (3) [c f (x)]′ = c f ′ (x) Those three rules can be expressed as one rule: for differentiable functions f and g and any constant a and b, [a f (x) + bg(x)]′ = a f ′ (x) + bg′ (x). Example 2.3.6. Find the derivatives: f (x) = x2 + x3 . g(t) = 3t 4 . √ h(s) = 2s6 + 3 s . √ 4x2 − 3x + 2 x f (x) = . x f (x) = 3x2 + 5x − 2. √ 3 g(s) = 2 − s4 + s . s 2 h(t) = + 2t 4 − 3. 3t Exercise 2.3.7. Let f (x) = 2x3 − 3x2 − 12x + 5. Find all x where f ′ (x) > 0 and all x where f ′ (x) < 0. Exercise 2.3.8. Find the equation of the tangent line to the graph of the given function and point: 2 f (x) = 4 − 4x + at x = 1. x y = x3 − 6x2 + 5 at x = 4. √ 4 3 y = 6 x2 − √ at x = 1. x Page 22 of 101 Calculus I for Engineers Fall, 2010 □ 2.3.3 Higher Order Derivatives. Given a function f , we have computed the derivative f ′ . In fact, this derivative is called the first derivative of f . If we can also compute the derivative of f ′ (,i.e., the derivative of the derivative), then it is written by f ′′ and called the second derivative of f . If we can compute the derivative of f ′′ , then it is written by f ′′′ and called the third derivative of f . Below, we show common notations for the first five derivatives of f , where we assume that y = f (x). Order Prime Notation Leibniz Notation 0 y = f (x) 1 y′ = f ′ (x) 2 y′′ = f ′′ (x) 3 y′′′ = f ′′′ (x) 4 y(4) = f (4) (x) 5 .. . y(5) = f (5) (x) .. . f df dx d2 f dx2 d3 f dx3 d4 f dx4 d5 f dx5 .. . Example 2.3.9. For f (x) = 3x4 − 2x2 + 1, compute as many derivatives as possible. Exercise 2.3.10. Find f ′′′ (x) of f (x) = 3x4 − 3x2 + 13. Exercise 2.3.11. For f (x) = x4 , find f ′ (x), f ′′ (x), f ′′′ (x), f (4) (x) and f (5) (x). □ 2.3.4 Physical Meaning of Derivative: Rate of Change. The geometrical meaning of the derivative of y = f (x) is the slope of the tangent line to the curve of y = f (x). The physical meaning of the derivative is the (instantaneous) rate of change. From physics, the velocity is the instantaneous rate of change of the distance and the acceleration is the instantaneous rate of change of the velocity. Hence, in a motion of an object, the velocity v(t) is the derivative of the distance function and the acceleration a(t) is the derivatives of the velocity v(t). That is, a(t) = v′ (t) = dv(t) . dt Example 2.3.12. The motion of a particle is described by the function s(t) = 2t 3 − 5t 2 + 3t + 4, where s(t) is measured in centimeters and t in seconds. Find the acceleration as a function of time. What is the acceleration after 2 seconds? Page 23 of 101 Calculus I for Engineers Fall, 2010 §2.4 The Product and Quotient Rules. □ 2.4.1 Product Rule. Theorem 2.4.1. Suppose f and g are differentiable, i.e., f ′ and g′ exist. Then [ f (x)g(x)]′ = f ′ (x)g(x) + f (x)g′ (x) Example 2.4.2. Find √ the derivatives: 2 f (x) = (x − 1) x . f (x) = (x3 + x − 3)2 . ( ) 2 4 2 √ f (x) = (2x − 3x + 5) x − x + . x Exercise 2.4.3. For f (x) = (x2 − x)(x3 + x2 − x + 1), find f ′ (1). Exercise 2.4.4. Let f (x) = (g(x))2 . Find f ′ (x) in terms of g(x) and g′ (x). Exercise 2.4.5. Find an equation of tangent line to y = (x4 − 3x2 + 2x)(x3 − 2x + 3) at x = 0. □ 2.4.2 Quotient Rule. Theorem 2.4.6. Suppose f and g are differentiable and g(x) ̸= 0. Then [ ] d f (x) f ′ (x)g(x) − f (x)g′ (x) = dx g(x) g2 (x) Example 2.4.7. Find the derivatives: 2x − 1 f (x) = . x+1 t3 g(t) = 2 . t +1 x2 − 2 h(x) = 2 . x +1 Example 2.4.8 (Reciprocal Rule). Let f (x) = 1 , where g(x) ̸= 0. Find f ′ (x) in terms of g(x) and g′ (x). g(x) □ 2.4.3 Applications. Example 2.4.9. Suppose that a product currently sells for $25, with the price increasing at the rate of $2 per year. At this price, consumers will buy 150 thousand items, but the number sold is decreasing at the rate of 8 thousand per year. At what rate is the total revenue changing? Is the total revenue increasing or decreasing? Example 2.4.10. A golf ball of mass 0.05 kg struck by a golf club of mass m kg with speed 50 m/s will have 83m an initial speed of u(m) = m/s. Show that u′ (m) > 0 and interpret this result in golf terms. Compare m + 0.05 u′ (0.15) and u′ (0.20). Page 24 of 101 Calculus I for Engineers Fall, 2010 §2.5 The Chain Rule. □ 2.5.1 Prerequisite. We recall that the derivative of y = f (x) is dy d d f (x) d = y= = f (x). dx dx dx dx In fact, we may fully express them as the derivative of y = f (x) with respect to x. Let us discuss why “with respect to” is important. y′ = f ′ (x) = Example 2.5.1. (1) Find the derivative of f (x) = x2 with respect to x. (2) Find the derivative of g(x) = x2 with respect to t. A NSWER. (1) By the power rule, we have d d 2 f (x) = x = 2x. dx dx (2) However, when we differentiate the function g(x) of x with respect to t, the function g(x) can be regarded as a constant function in the viewpoint of t, because there is no t in g(x) = x2 . Now that g(x) is a constant in the viewpoint of t, so its derivative with respect to t should be zero. That is, f ′ (x) = d d g(x) = x2 = 0. dt dt □ □ 2.5.2 Chain Rule. Thanks to the power rule and the linearity, we can compute (1) the derivative of an elementary function such as a polynomial and (2) the derivative of sum and difference of functions. Moreover, thanks to the Product and Quotient Rules, we can compute (3) the derivative of the product of functions and (4) the derivative of the quotient/fraction of functions. However, we have one more operation on the functions: composition. The Chain Rule is the derivative rule for the composite function. Let us discuss an example. ( )7 Example 2.5.2. Find the derivative of y = f (x) where f (x) = x3 + 2x with respect to x. A NSWER. Let u = g(x) where g(x) = x3 + 2x. Then we observe ( )7 du d = g(x) = 3x2 + 2, and y = f (x) = x3 + 2x = (g(x))7 = u7 , dx dx So when we differentiate y with respect to u, we have i.e., y = u7 . d 7 dy = u = 7u6 . du du But since we are looking for the derivative of y = f (x) with respect to x, we need to multiply the whole du equation by = 3x2 + 2. That is, dx ( ) ( )6 ( ) dy dy du = · = 7u6 · 3x2 + 2 = 7 x3 + 2x 3x2 + 2 . dx du dx □ Page 25 of 101 Calculus I for Engineers Fall, 2010 Theorem 2.5.3 (C HAIN RULE). If g is differentiable at x and f is differentiable at g(x), then the composite function h = f ◦ g defined by h(x) = f (g(x)) is differentiable at x and h′ is given by the product h′ (x) = f ′ (g(x)) · g′ (x). In Leibniz notation, if y = f (u) and u = g(x) are both differentiable functions, then dy dy du = . dx du dx In words, the chain rule says that the derivative of f ◦ g is the derivative of the outside function f multiplied by the derivative of the inside function g. Example 2.5.4. Use the Chain Rule to find the derivative of the function h(x) = (x2 + 1)5 . A NSWER. The outside function f (x) = x5 has the derivative f ′ (x) = 5x4 , while the inside function g(x) = x2 + 1 has the derivative g′ (x) = 2x. Thus, by the Chain Rule, h(x) has the derivative h′ (x) = f ′ (g(x)) · g′ (x) = 5 (g(x))4 · 2x = 10x (g(x))4 = 10x(x2 + 1)4 . □ As you can see, when a composite function is given, it is very important to find out the outside and inside function to get the derivative of the composite function. Example 2.5.5. Differentiate the functions: ( )5 y = x3 + x − 1 . √ f (x) = √ x2 + 1 . 3 g(s) = s 4s + 1 . 8x h(x) = 3 . (x + 1)2 8 k(x) = 3 . (x + 1)2 d√ Example 2.5.6. Compute 100 + 8t . dt Remark 2.5.7 (Generalized Chain Rule). For a composite function k = ( f ◦ g) ◦ h of three functions f , g and h, i.e., k(x) = f (g(h(x))), we have the derivative: k′ (x) = f ′ (g(h(x))) · g′ (h(x)) · h′ (x). It is true by the exactly same argument as the one developed for the composite function of two functions above. □ 2.5.3 Derivative of Inverse Function. We recall from High School that g is the inverse function of f if ( f ◦ g)(x) = f (g(x)) = x and (g ◦ f )(x) = g( f (x)) = x. The inverse function of f is denoted by f −1 . So when g is the inverse function of f , we get g = f −1 . Let g(x) be the inverse function of f (x), i.e., f (g(x)) = x and g( f (x)) = x. Differentiating both sides of f (g(x)) = x with respect to x and applying the Chain Rule, we get f ′ (g(x))g′ (x) = 1, g′ (x) = i.e., 1 f ′ (g(x)) provided f ′ (g(x)) ̸= 0. Thus, we have the following theorem. Theorem 2.5.8. If f is differentiable at all x and has an inverse function g(x) = f −1 (x), then g′ (x) = 1 f ′ (g(x)) provided f ′ (g(x)) ̸= 0. Page 26 of 101 Calculus I for Engineers Fall, 2010 §2.6 Derivatives of Trigonometric Functions. □ 2.6.1 Prerequisites: Basic Formulas. It is suggested that you should memorize the followings. Theorem 2.6.1. sin (A − B) = sin A cos B − cos A sin B cos (A − B) = cos A cos B + sin A sin B tan A − tan B tan (A − B) = . 1 + tan A tan B sin (A + B) = sin A cos B + cos A sin B, cos (A + B) = cos A cos B − sin A sin B, tan A + tan B tan (A + B) = , 1 − tan A tan B sin (2A) = 2 sin A cos A, 1 − cos (2A) sin2 A = , 2 1 = sin2 A + cos2 A, cos (2A) = cos2 A − sin2 A = 1 − 2 sin2 A = 2 cos2 A − 1 1 + cos (2A) cos2 A = 2 2 2 1 + tan A = sec A. □ 2.6.2 Derivatives of Trigonometric Functions. The following lemma is used to prove the theorems on the derivatives of trigonometric functions. Lemma 2.6.2. lim sin θ = 0 lim cos θ = 1 θ →0 θ →0 sin θ 1 − cos θ =1 lim = 0. θ →0 θ θ →0 θ The results above can be proved by using the graphs or L’Hôpital’s Rule (Section 3.2). The definition of the derivative and the lemma above imply the Theorem. lim Theorem 2.6.3. The trigonometric functions have the following derivatives: d sin x = cos x dx d tan x = sec2 x dx d sec x = sec x tan x dx 1 1 1 where sec x = , csc x = and cot x = . cos x sin x tan x Example 2.6.4. Find the derivatives: f (x) = x5 cos x. g(x) = sin2 x. h(t) = 4 tant − 5 csct. k(x) = sin x(cos)x. f (x) = cos x3 . g(x) = cos3 x. h(x) = cos (3x). cos θ f (θ ) = . 1 + sin θ g(x) = sec x tan x. sec x . h(x) = 1 +(tan x ) 2x k(x) = sin . x+1 Page 27 of 101 d cos x = − sin x dx d cot x = − csc2 x dx d csc x = − csc x cot x, dx Calculus I for Engineers Fall, 2010 Example 2.6.5. For f (x) = sin x + cos x + 149x74 , find f (75) (x) and f (150) (x), where f (75) (x) means the 75th derivative of f (x) and f (150) (x) means the 150th derivative of f (x). □ 2.6.3 Applications. Example 2.6.6. Find an equation of the tangent line to y = 3 tan x − 2 csc x at x = π /3. Look at the figure 2.4 Spring–mass system. The vertical displacement of a weight suspended from a spring, in the absence of damping (i.e., when resistance to the motion, such as air resistance, is negligible), is given by u(t) = a cos(ω t) + b sin(ω t), where ω is the frequency, t is time and a and b are constants. Example 2.6.7. Suppose that u(t) measures the displacement (measured in inches) of a weight suspended from a spring t seconds after it is released and that u(t) = 4 cost. Find the velocity at any time t and determine the maximum velocity. Figure 2.4: Spring–Mass System and Electric Circuit Example 2.6.8. Look at the figure 2.4 A simple circuit. If the capacitance is 1 (farad), the inductance is 1 (henry) and the impressed voltage is 2t 2 (volts) at time t, then a model for the total charge Q(t) in the circuit at time t is Q(t) = 2 sint + 2t 2 − 4 (coulombs). The current is defined to be the rate of change of the charge with respect to time and so is given by I(t) = dQ(t) dt (amperes). Compare the current at times t = 0 and t = 1. Page 28 of 101 Calculus I for Engineers Fall, 2010 §2.7 Derivatives of Exponential and Logarithmic Functions. □ 2.7.1 Prerequisites: Basic Formulas. From the High School, we recall: xa xb = xa+b , x−a = 1 , xa xb−a = xb , xa b b xa ya = (xy)a , xa = x(a ) , bc xa = x(a (bc ) ) , (xa )b = x(ab) , x0 = 1. On the exponential function y = ax , let us recall: 1. The function y = ax is defined only when a > 0. The function y = ax with a < 0 is discussed in the Complex Analysis (Math 315). 2. The range of the function y = ax is always positive and its graph passes through the point (0, 1). 3. It is differentiable everywhere and does not have any vertical asymptote. But its horizontal asymptote is y = 0. We also recall the laws on the natural logarithmic function: ln (ab) = ln a + ln b, ln a = ln a − ln b, b ln ab = b ln a, loga b = ln b , ln a ln 1 = 0, a = eln a = ln ea . On the natural logarithmic function y = ln x, let us recall: 1. The function y = ln x has the domain of all positive real numbers and its graph passes through the point (1, 0). 2. It is differentiable on the domain and has the vertical asymptotes x = 0. □ 2.7.2 Derivatives of the Exponential Functions. Theorem 2.7.1. For any constant a > 0, d x a = ax ln a, dx where ln a = loge a and e is the Euler constant e ≈ 2.71828. 2 Example 2.7.2. Compute the derivative of y = 101−x . Example 2.7.3. If the value of a 100-dollar investment doubles every year, its value after t years is given by v(t) = 1002t . Find the instantaneous percentage rate of change of the worth. Since ln e = loge e = 1, the derivative of f (x) = ex is d x e = ex ln e = ex . dx We now have the following result. Theorem 2.7.4. d x e = ex . dx Page 29 of 101 Calculus I for Engineers Fall, 2010 Figure 2.5: Spring–Mass System Example 2.7.5. If we build damping (i.e., resistance to the motion due to friction, for instance) into our model spring-mass system (see the figure 2.5 Spring–mass system), the vertical displacement at time t of a weight hanging from a spring can be described by u(t) = Aeα t cos(ω t) + Beα t sin(ω t), where A, B, α and ω are constants. For each of (1) u(t) = e−t cost and (2) v(t) = e−t/6 cos 4t, sketch a graph of the motion of the weight and find its velocity at any time t. Example 2.7.6. Find the derivative: 2 f (x) = 3ex . g(x) = xe2/x . 2 h(x) = 32x . k(t) = esint . ex − e−x y= x . e + e−x y = e2x sin(3x). Example 2.7.7. Find the 1000th derivative of f (x) = xe−x . □ 2.7.3 Derivative of the Natural Logarithm. Theorem 2.7.8. For x > 0, d 1 (ln x) = . dx x Example 2.7.9. Find the derivative: f (x) = x ln x. g(x) = ln x3 . h(x) = ln(x2 + 1). k(x) = ln ln x. ( 2) Example 2.7.10. Find an equation of the tangent line to the curve y = ln xex at x = 1. Example 2.7.11. The concentration x of a certain chemical after t seconds of an autocatalytic reaction is 10 given by x(t) = −20t . Show that x′ (t) > 0 and use this information to determine that the concentration 9e +1 of the chemical never exceeds 10. Page 30 of 101 Calculus I for Engineers Fall, 2010 □ 2.7.4 Logarithmic Differentiation. A clever technique called logarithmic differentiation uses the rules of logarithms to help find derivatives of certain functions for which we don’t presently have derivative formulas. For instance, note that the function f (x) = xx is neither a power function because the exponent is not a constant and nor an exponential function because the base is not constant. Example 2.7.12. Find the derivative: f (x) = xx , x > 0. g(x) = xln x . h(x) = xsin x . k(x) = (cos x)x . Example 2.7.13. Find y′ = dy/ dx if yx = xy . Page 31 of 101 Calculus I for Engineers Fall, 2010 §2.8 Implicit Differentiation and Inverse Trigonometric Functions. □ 2.8.1 Implicit Differentiation. Suppose that x and y satisfy the equation x 2 + y2 = 4 whose graph is a circle centered at the origin with radius 2. Our goal is to describe the slope of the tangent line to the curve at each point (x, y). Just as in the case where y is a function of x, we can define dy/ dx to be the slope of the tangent line to the graph at a point (x, y). To find dy/ dx, we proceed as follows: Step 1. Differentiate each side of the equation with respect to x: ) d ( 2 d d 2 d dy x + y2 = 4, x + y2 = 0, 2x + 2y = 0. dx dx dx dx dx The equation of the circle implies √ x2 + y2 = 4 ⇐⇒ y2 = 4 − x2 ⇐⇒ y = ± 4 − x2 , i.e., y is a function of x and so y2 is a composite function having the variable x and thus the Chain Rule d 2 dy implies y = 2y . Be careful! y is not a constant with respect to x. dx dx Step 2. Solve for dy/ dx: 2x + 2y dy = 0, dx 2y dy = −2x, dx dy 2x x =− =− . dx 2y y This is the process known as implicit differentiation. As you can see, it is based on the Chain Rule. Example 2.8.1. Suppose that x and y satisfy the equation x2 − xy + y2 = 1 whose graph is an ellipse. (1) Find dy/ dx and (2) find the points on the ellipse where the tangent line is horizontal or vertical. Example 2.8.2. Find the slope of the tangent line to the graph of x3 y2 = xy3 + 6 at the point (2, 1). Example 2.8.3. Find y′ (x) = dy/ dx for x2 + y3 − 2y = 3. Then, find the slope of the tangent line at the point (2, 1). Example 2.8.4. Find y′ (x) = dy/ dx for x2 y2 − 2x = 4 − 4y. Then, find an equation of the tangent line at x = 2. Example 2.8.5. Suppose that van der Waals’ equation for a specific gas is ( ) 5 P + 2 (V − 0.03) = 9.7. V Thinking of the volume V as a function of pressure P, use implicit differentiation to find the derivative the point (P,V ) = (5, 1). dV at dP Remark 2.8.6 (Aside: General Version of van der Waals’ equation). ) ( an2 P + 2 (V − nb) = nRT. V where P is the pressure of the fluid, V is the total volume of the container containing the fluid, a is a measure of the attraction between the particles, b is the volume excluded by a mole of particles, n is the number of moles, R is the gas constant and T is the absolute temperature. dT dP dV dT dP dV , and and check = −1. If you are interested, find dV dT dP dV dT dP Page 32 of 101 Calculus I for Engineers Example 2.8.7. Find y′′ (x) = Fall, 2010 d2 y implicitly for y2 + 2e−xy = 6. Then find the value of y′′ at the point (0, 2). dx2 Example 2.8.8. Use implicit differentiation to find an equation of the tangent line to the curve at the given point: (1) 2(x2 + y2 )2 = 25(x2 − y2 ), (3, 1); (2) y2 = x3 + 3x2 , (1, −2). The graphs of (1) and (2) are called the lemniscate and the Tschirnhausen cubic, respectively. See the figure 2.6. Figure 2.6: Lemniscate 2(x2 + y2 )2 = 25(x2 − y2 ) (Left) and Tschirnhausen Cubic y2 = x3 + 3x2 (Right) □ 2.8.2 Derivatives of the Inverse Trigonometric Functions. Let us recall from the Section 2.5 The Chain Rule: a function g is called the inverse function of f if ( f ◦ g) (x) = f (g(x)) = x and (g ◦ f ) (x) = g( f (x)) = x. The inverse function of f is denoted by f −1 and so g = f −1 . The trigonometric functions have the inverse functions when we restrict the domains of sin x, cos x and tan x by [−π /2, π /2], [0, π ] and [−π /2, π /2], respectively. The inverse functions of sin x, cos x and tan x are denoted by either sin−1 x, cos−1 x, and tan−1 x or arcsin x, arccos x and arctan x. But be careful! 1 arcsin x = sin−1 x ̸= (sin x)−1 = , sin x which is also same to other trigonometric functions. • Domain and Range of Inverse Trigonometric Functions 1. Considering the restricted domain [−π /2, π /2], sin x has the range [−1, 1]. It implies that the inverse function sin−1 x has the domain [−1, 1] and the range [−π /2, π /2]. 2. Considering the restricted domain [0, π ], cos x has the range [−1, 1]. It implies that the inverse function cos−1 x has the domain [−1, 1] and the range [0, π ]. 3. Considering the whole domain (−π /2, π /2), tan x has and range R. Its inverse function tan−1 x has the domain R and range (−π /2, π /2). See the figures 2.7, 2.8 and 2.9 below on the graphs of the trigonometric and inverse trigonometric functions. Using the implicit differentiation or derivatives of inverse functions in the Section 2.5 The Chain Rule, we deduce the following derivatives of the inverse trigonometric functions. Theorem 2.8.9. 1 d sin−1 x = √ , dx 1 − x2 d 1 tan−1 x = , dx 1 + x2 (−1 < x < 1), 1 d cos−1 x = − √ , dx 1 − x2 d 1 cot−1 x = − , dx 1 + x2 Page 33 of 101 (−1 < x < 1), Calculus I for Engineers Fall, 2010 Figure 2.7: Graphs of sin x (Left) on [−π /2, π /2] and sin−1 x (Right) on [−1, 1] Figure 2.8: Graphs of cos x (Left) on [0, π ] and cos−1 x (Right) on [−1, 1] Figure 2.9: Graphs of tan x (Left) on (−π /2, π /2) and tan−1 x (Right) on R d 1 sec−1 x = √ , dx |x| x2 − 1 (|x| > 1), d 1 csc−1 x = − √ , dx |x| x2 − 1 P ROOF. Let us prove only the first result. Page 34 of 101 (|x| > 1). Calculus I for Engineers Fall, 2010 (1) Implicit Differentiation Technique: Let y = sin−1 x. Then, y = sin−1 x ⇐⇒ − sin y = x π π ≤y≤ . 2 2 Implicitly differentiating the second equation, we get dy dx dy 1 = = 1 ⇐⇒ = . dx dx dx cos y √ The equation sin y = x implies cos y = 1 − x2 , because sin2 y + cos2 y = 1, i.e., cos2 y = 1 − sin2 y = 1 − x2 and −π /2 ≤ y ≤ π /2. Hence, the result becomes cos y dy 1 1 = =√ dx cos y 1 − x2 ⇐⇒ d 1 sin−1 x = √ dx 1 − x2 − 1 < x < 1. (2) Formula on Derivative of Inverse Function (Section 2.5): Since g(x) = sin−1 x is the inverse of the sine function f (x) = sin x with −π /2 ≤ x ≤ π /2, the formula implies g′ (x) = 1 f ′ (g(x)) ⇐⇒ g′ (x) = 1 cos g(x) ⇐⇒ d 1 ( −1 ) . sin−1 x = dx cos sin x Let sin−1 x = θ ∈ [− π /2, π /2]. Then x = sin θ and again sin2 θ + cos2 θ = 1 implies cos2 θ = 1 − sin2 θ = √ 1 − x2 and cos θ = 1 − x2 (, because θ ∈ [−π /2, π /2]). Hence, the result becomes dy 1 1 1 ( −1 ) = = =√ dx cos sin x cos θ 1 − x2 ⇐⇒ d 1 sin−1 x = √ dx 1 − x2 − 1 < x < 1. □ Example 2.8.10. Compute the derivative: cos−1 (3x2 ). ( )2 sec−1 x . tan−1 (x3 ). Example 2.8.11. One of the guiding principles of most sports is to “keep your eye on the ball.” In baseball, a batter stands 2 feet from home plate as a pitch is thrown with a velocity of 130 ft/s (about 90 mph). At what rate does the batter’s angle of gaze need to change to follow the ball as it crosses home plate? See the figure 2.10 below. Figure 2.10: Baseball §2.9 The Mean Value Theorem. Skip. Please read the textbook. Page 35 of 101 Calculus I for Engineers Fall, 2010 Page 36 of 101 Chapter 3 Applications of Differentiation §3.1 Linear Approximations and Newton’s Method. Skip. Please read the textbook. §3.2 Indeterminate Forms and L’Hôpital’s Rule. □ 3.2.1 Introduction. For the given two polynomials, P(x) = an xn + an−1 xn−1 + · · · + a2 x2 + a1 x + a0 , and Q(x) = bm xm + bm−1 xm−1 + · · · + b2 x2 + b1 x + b0 , where a0 , . . . , an and b0 , . . . , bm are all constants, let us discuss the limit of the rational function P(x)/Q(x) as x → a. (1) a is a number: (i) If Q(a) ̸= 0 and P(a) ̸= 0, then P(x) = some number. x→a Q(x) lim (ii) If Q(a) = 0 but P(a) ̸= 0, then P(x) = ±∞. x→a Q(x) lim (iii) If Q(a) ̸= 0 but P(a) = 0, then P(x) = 0. x→a Q(x) lim (iv) If Q(a) = 0 and P(a) = 0, then we use L’Hôpital’s Rule (Subsection 3.2.3). (2) a = ±∞: (i) If deg Q = m > n = deg P, then P(x) lim = 0. x→a Q(x) (ii) If deg Q = m < n = deg P, then P(x) = ±∞. x→a Q(x) lim (iii) If deg Q = m = n = deg P, then an P(x) = . x→a Q(x) bm lim Example 3.2.1. Evaluate the limit: x2 + 5 , x→1 x + 1 lim x2 + 5 , x→1 x − 1 lim x−1 , x→1 x2 + 5 lim x2 + 1 , x→∞ x3 + 5 lim x3 + 5 , x→∞ x2 + 1 lim 2x2 + 3x − 5 . x→∞ x2 + 4x − 11 lim We recall a useful theorem: Theorem 3.1 on page 88 (textbook) in Section 3.1 Computation of Limits. Theorem 3.2.2. Suppose that lim f (x) and lim g(x) both exist and let c be any constant. The following then x→a x→a apply: 37 Calculus I for Engineers Fall, 2010 (i) lim [c · f (x)] = c · lim f (x), x→a x→a (ii) lim [ f (x) ± g(x)] = lim f (x) ± lim g(x), x→a [x→a ] [x→a ] (iii) lim [ f (x) · g(x)] = lim f (x) lim g(x) , x→a x→a x→a f (x) limx→a f (x) (iv) lim = (if limx→a g(x) ̸= 0). x→a g(x) limx→a g(x) □ 3.2.2 Indeterminate Forms: 0/0 and Infinity/Infinity. In the previous subsection, we have discussed the limit of the rational function of polynomials. Now, we consider a particular case with general functions f (x) and g(x), lim x→a f (x) . g(x) 0 If limx→a f (x) = 0 = limx→a g(x), then the limit is in the form of . 0 ∞ If limx→a f (x) = ±∞ = limx→a g(x), then the limit is in the form of . ∞ Those two forms are called the indeterminate forms. We use L’Hôpital’s Rule to compute those indeterminate forms. □ 3.2.3 L’Hôpital’s Rule. Theorem 3.2.3. Suppose that f and g are differentiable on the interval (a, b), except possibly at some fixed point c ∈ (a, b) and that g′ (x) = 0 on (a, b), except possibly at c. f (x) 0 ∞ f ′ (x) Suppose further that lim has the indeterminate form or and that lim ′ = L (or ±∞). Then, x→c g(x) x→c g (x) 0 ∞ f (x) f ′ (x) = lim ′ . x→c g(x) x→c g (x) lim f (x) The conclusion of Theorem 3.2.3 also holds if limx→c g(x) is replaced with any of the limits limx→c+ f (x) g(x) , f (x) f (x) f (x) limx→c− g(x) , limx→∞ g(x) or limx→−∞ g(x) . (In each case, we must make appropriate adjustments to the hypotheses.) Example 3.2.4. Evaluate the limit. sin θ , θ →0 θ 1 − cos θ , θ →0 θ lim 1 − cos θ . θ →0 sin θ lim lim Example 3.2.5. Evaluate the limit. ex , x→∞ x lim x2 , x→∞ ex ln x , x→∞ ex x2 , x→0 ex − 1 lim lim lim Example 3.2.6. Evaluate the limit. lim x→0+ Page 38 of 101 ln x . csc x ex . x→∞ ln x lim Calculus I for Engineers Fall, 2010 □ 3.2.4 Other Indeterminate Forms. We study other indeterminate forms via examples. Example 3.2.7 (∞ − ∞ form). Evaluate the limit. ( ) 1 1 lim − 4 , x→0 x2 x ( lim x→0 ) 1 1 − . ln(x + 1) x 1 ln x. x→∞ x Example 3.2.8 (0 · ∞ form). Evaluate lim 1 Example 3.2.9 (1∞ form). Evaluate lim x x−1 . x→1+ Example 3.2.10 (00 form). Evaluate lim (sin x)x . x→0+ 2 Example 3.2.11 (∞0 form). Evaluate lim (x + 1) x . x→∞ Page 39 of 101 Calculus I for Engineers Fall, 2010 §3.3 Maximum and Minimum Values. □ 3.3.1 Absolute Extrema. Definition 3.3.1. For a function f defined on a set S of real numbers and a number c ∈ S, (1) f (c) is the absolute maximum of f on S if f (c) ≥ f (x) for all x ∈ S and (2) f (c) is the absolute minimum of f on S if f (c) ≤ f (x) for all x ∈ S. An absolute maximum or an absolute minimum is referred to as an absolute extremum. If a function has more than one extremum, we refer to these as extrema (the plural form of extremum). Example 3.3.2. Locate any absolute extrema of the given function on the given interval: f (x) = x2 − 9 on (−∞, ∞). f (x) = x2 − 9 on (−3, 3). f (x) = x2 − 9 on [−3, 3]. We have seen that a function may or may not have absolute extrema, depending on the interval on which we are looking. Example 3.3.3. Locate all absolute extrema of the given function on the given interval: 1 f (x) = on [−3, 3]. x f (x) = cos x on (−∞, ∞). Example 3.3.4. From the graph of the function f (x) = x2 , we see that this function has the absolute minimum value of f (0) = 0 at x = 0, but no absolute maximum value. Example 3.3.5. From the graph of the function f (x) = x3 , we see that this function has neither an absolute maximum value nor an absolute minimum value. In fact, it has no local extreme values either. Theorem 3.3.6 (Extreme Value Theorem). A continuous function f defined on a closed and bounded interval [a, b] attains both an absolute maximum and an absolute minimum on that interval. That is, if f is continuous on a closed and bounded interval [a, b], then f attains an absolute maximum value f (c) and an absolute minimum value f (d) at some numbers c and d in [a, b]. Example 3.3.7. Find the absolute extrema of f (x) = 1/x on the interval [1, 3]. □ 3.3.2 Local Extrema. Definition 3.3.8. (1) f (c) is a local maximum of f if f (c) ≥ f (x) for all x in some open interval containing c. (2) f (c) is a local minimum of f if f (c) ≤ f (x) for all x in some open interval containing c. In either case, we call f (c) a local extremum of f . Local maxima and minima (the plural forms of maximum and minimum, respectively) are sometimes referred to as relative maxima and minima, respectively. Notice from the figure above that each local extremum seems to occur either (i) at a point where the tangent line is horizontal (i.e., where f ′ (x) = 0), or (ii) at a point where the tangent line is vertical (i.e., where f ′ (x) is undefined), or (iii) at a corner (again, where f ′ (x) is undefined). Example 3.3.9. Locate any local extrema for the given function and describe the behavior of the derivative at the local extremum: f (x) = 9 − x2 and f (x) = |x|. Page 40 of 101 Calculus I for Engineers Fall, 2010 Figure 3.1: Various Local Extrema □ 3.3.3 Critical Number. Definition 3.3.10. A number c is called a critical number of f if (1) c is in the domain of f and (2) either f ′ (c) = 0 or f ′ (c) is undefined. We recall the observation that local extrema occur only at points where the derivative is zero or undefined. We state this formally in a theorem. Theorem 3.3.11 (Fermat’s Theorem). Suppose that f (c) is a local extremum (local maximum or local minimum). Then c must be a critical number of f , i.e., either f ′ (c) = 0 or f ′ (c) is undefined. Example 3.3.12. Find the critical numbers and local extrema of the given function: f (x) = 2x3 − 3x2 − 12x + 5. f (x) = (3x + 1)2/3 . f (x) = x3/5 (4 − x). Remark 3.3.13 (Very Important Remark). Fermat’s Theorem says that local extrema can occur only at critical numbers. This does not say that there is a local extremum at every critical number. Example 3.3.14. Find the critical numbers and local extrema of the given function: f (x) = x3 and f (x) = x1/3 . You should not forget the first condition on the critical number. The critical number must be in the domain of the function. 2x2 Example 3.3.15. Find all the critical numbers of f (x) = . x+2 We have observed that local extrema occur only at critical numbers and that continuous functions must have an absolute maximum and an absolute minimum on a closed, bounded interval. However, we haven’t yet really been able to say how to find these extrema. The following Theorem is particularly useful. Theorem 3.3.16 (C ANDIDATE OF A BSOLUTE E XTREMA). Suppose that f is continuous on the closed interval [a, b]. Then, the absolute extrema of f must occur (i) either at an endpoint (a or b) of the interval, or (ii) at a critical number. When we use the terms maximum, minimum or extremum without specifying absolute or local, we will always be referring to absolute extrema. Remark 3.3.17 (C LOSED I NTERVAL M ETHOD). The Theorem above gives us a simple procedure for finding the absolute extrema of a continuous function on a closed, bounded interval: Page 41 of 101 Calculus I for Engineers Fall, 2010 Step 1. Find all critical numbers in the interval and compute function values at these points. Step 2. Compute function values at the endpoints. Step 3. The largest function value is the absolute maximum and the smallest function value is the absolute minimum. Example 3.3.18. Find the absolute extrema of the given function on the given interval: f (x) = 2x3 − 3x2 − 12x + 5 on [−2, 4]. f (x) = 4x3 − 8x2 + 5x on [0, 1]. f (x) = x3 − 3x2 + 1 on [−1/2, 4]. f (x) = x + 2 cos x on [0, 2π ]. Sometimes we need to use a calculator or a computer for the computation. Example 3.3.19. Find the absolute extrema of the given function on the given interval: f (x) = 4x5/4 − 8x1/4 on [0, 4]. f (x) = x3 − 5x + 3 sin x2 on [−2, 2.5]. Page 42 of 101 Calculus I for Engineers Fall, 2010 §3.4 Increasing and Decreasing Functions. In this section, we see how to determine which critical numbers correspond to local extrema. At the same time, we will learn more about the connection between the derivative and graphing. □ 3.4.1 Increasing and Decreasing Functions. Definition 3.4.1. For every x1 , x2 ∈ I with x1 < x2 , 1. f (x1 ) < f (x2 ) −→ f is (strictly) increasing on an interval I (i.e., f (x) gets larger as x gets larger). 2. f (x1 ) > f (x2 ) −→ f is (strictly) decreasing on an interval I (i.e., f (x) gets smaller as x gets larger). Theorem 3.4.2. Suppose f is differentiable on an interval I. 1. f ′ (x) > 0 for all x ∈ I 2. f ′ (x) < 0 for all x ∈ I −→ −→ f is increasing on I. f is decreasing on I. Example 3.4.3. Find the intervals where the function is increasing or decreasing. (Hint: Sign Chart.) f (x) = 3x4 − 4x3 − 12x2 + 5. y = x3 − 3x2 − 9x + 1. y = sin2 x. Example 3.4.4. Draw a graph of the given function showing all local extrema: f (x) = 2x3 + 9x2 − 24x − 10. f (x) = 3x4 + 40x3 − 0.06x2 − 1.2x. (Hint: f ′ (x) = 12(x − 0.1)(x + 0.1)(x + 10).) □ 3.4.2 Critical Point Classification. Given a critical number c of a function f , how can we tell whether f (c) is a local extreme value? And if it is, how can we tell whether it’s a local maximum or a local minimum? Theorem 3.4.5 (First Derivative Test). Suppose that f is continuous on the interval [a, b] and c ∈ (a, b) is a critical number. 1. If f ′ (x) > 0 for all x ∈ (a, c) and f ′ (x) < 0 for all x ∈ (c, b) (i.e., f changes from increasing to decreasing at c), then f (c) is a local maximum. 2. If f ′ (x) < 0 for all x ∈ (a, c) and f ′ (x) > 0 for all x ∈ (c, b) (i.e., f changes from decreasing to increasing at c), then f (c) is a local minimum. 3. If f ′ (x) has the same sign on (a, c) and (c, b), then f (c) is not a local extremum. a c b Classification f′ + 0 − f (c) is a local maximum f′ − 0 + f (c) is a local minimum f′ + 0 + f (c) is not a local extremum f′ − 0 − f (c) is not a local extremum Example 3.4.6. Find the local extrema of the given function. (Hint: Sign Chart.) f (x) = 3x4 − 4x3 − 12x2 + 5. f (x) = x + 2 sin x on the interval [0, 2π ]. f (x) = 3x5 + 5x3 . f (x) = 2x3 + 9x2 − 24x − 10. Page 43 of 101 Calculus I for Engineers Fall, 2010 f (x) = x5/3 − 3x2/3 . 1−x f (x) = 2 . x f (x) = x2/3 (15x2 − 72x + 120). Example 3.4.7. (1) Find all critical numbers and (2) use the First Derivative Test to classify each as the location of a local maximum, local minimum or neither. y = x4 + 4x3 − 2. y = xe−2x . x y= . 1 + x3 Page 44 of 101 Calculus I for Engineers Fall, 2010 §3.5 Concavity and the Second Derivative Test. □ 3.5.1 Concavity. When we say the graph of a function is increasing, it is not clear because there are two types of increasing graphs: concave up and concave down. Similarly, we have two types of decreasing graphs. So we have total 4 types: increasing concave up, increasing concave down and decreasing concave up, decreasing concave down. In this section, we use the Second Derivative Test to determine the concavity. Definition 3.5.1. For a function f that is differentiable on an interval I, the graph of f is 1. concave up on I if f ′ is increasing on I or 2. concave down on I if f ′ is decreasing on I. Be Careful: The condition is about the increment of the derivative of f , not f itself. Theorem 3.5.2. Suppose that f ′′ exists on an interval I. 1. f ′′ (x) > 0 on I 2. f ′′ (x) < 0 on I −→ −→ the graph of f is concave up on I. the graph of f is concave down on I. Example 3.5.3. Determine where the graph of f (x) = 2x3 + 9x2 − 24x − 10 is concave up and concave down and draw a graph showing all significant features of the function. A NSWER. We find the critical numbers and the roots of f ′′ = 0 and form the sign chart. f ′ (x) = 6x2 + 18x − 24 = 6(x + 4)(x − 1) = 0 at x = −4 or x = 1. So f has the critical numbers −4 and 1. f ′′ (x) = 12x + 18 = 6(2x + 3) = 0 at Sign of f ′ + 0 − 3 2 − Increment of f Inc. Local Max. Dec. − − Con. Down Con. Down −4 x Sign of f ′′ Concavity of f 3 x=− . 2 − 1 − 0 + Dec. Dec. Local Min. Inc. − 0 + + + Con. Down No Concavity Con. Up Con. Up Con. Up From the table, we conclude f is concave downward on (−∞, −3/2) and upward on (−3/2, ∞). Significant Features: 1. The graph of f increases on (−∞, −4) ∪ (1, ∞), while it decreases on (−4, 1). 2. The graph of f has the local maximum f (−4) = 102 at x = −4 and local minimum f (1) = −23 at x = 1. ) ( ( ) 3 3 3. The graph of f is concave upward on − , ∞ and downward on −∞, − . 2 2 ( ) 3 79 4. The concavity of the graph of f changes at the point − , on the curve. □ 2 2 Example 3.5.4. Determine the intervals where the graph of the given function is concave up and concave down: f (x) = x4 − 6x2 + 2x + 3. g(x) = x + 3(1 − x)1/3 . Page 45 of 101 Calculus I for Engineers Fall, 2010 □ 3.5.2 Second Derivative Test. Definition 3.5.5. Suppose that f is continuous on the interval (a, b) and that the graph changes concavity at a point c ∈ (a, b) (i.e., the graph is concave down on one side of c and concave up on the other). Then, the point (c, f (c)) is called an inflection point of f . Example 3.5.6. Determine where the graph of the given function is concave up and concave down, find any inflection points and draw a graph showing all significant features: f (x) = x4 − 6x2 + 1. g(x) = x4 . Theorem 3.5.7 (Second Derivative Test). Suppose that f is continuous on the interval (a, b) and f ′ (c) = 0, for some number c ∈ (a, b). 1. f ′′ (c) < 0 2. f ′′ (c) > 0 −→ −→ f (c) is a local maximum. f (c) is a local minimum. Example 3.5.8. Use the Second Derivative Test to find the local extrema of f (x) = x4 − 8x2 + 10. A NSWER. We find the critical numbers and the roots of f ′′ = 0 and form the sign chart. f ′ (x) = 4x3 − 16x = 4x(x − 2)(x + 2) = 0 at x = 0, −2 or x = 2. So f has the critical numbers 0 and −2 and 2. ( )( ) 2 2 ′′ 2 f (x) = 12x − 16 = 12 x − √ x+ √ =0 3 3 + 2 −√ 3 0 Local Min. Inflection x −2 Sign of f ′′ Local Extrema of f (x) 2 x = ±√ . 3 at − 2 √ 3 0 + Local Max. Inflection Local Min. 0 2 From the table (the third row of the table comes by the Second Derivative Test), we conclude that the graph of f has the local minimum values f (−2) = (−6 =√f (2), while the local maximum value f (0) = 10. ) it has ( √ ) Since the concavity of the graph changes at −2/ 3 , 10/9 and 2/ 3 , 10/9 , so they are the inflection points of the graph. □ Example 3.5.9. Find all critical numbers and use the Second Derivative Test to determine all local extrema: f (x) = x4 + 4x2 + 1. 2 g(x) = e−x . Remark 3.5.10. If f ′′ (c) = 0 or f ′′ (c) is undefined, the Second Derivative Test yields no conclusion. That is, f (c) may be a local maximum, a local minimum or neither. In this event, we must rely solely on first derivative information (i.e., the First Derivative Test) to determine whether f (c) is a local extremum. Example 3.5.11. Use the Second Derivative Test to classify any local extrema: f (x) = x3 . g(x) = x4 . h(x) = −x4 . Example 3.5.12. Draw a graph of the given function showing all significant features: 25 f (x) = x + . x g(x) = (x + 2)1/5 + 4. Page 46 of 101 Calculus I for Engineers Fall, 2010 Example 3.5.13. Determine all significant features by hand and sketch a graph: f (x) = x ln x. x g(x) = . x+2 §3.6 Overview of Curve Sketching. Skip. Please read the textbook. Page 47 of 101 Calculus I for Engineers Fall, 2010 §3.7 Optimization. □ 3.7.1 Guideline. We follow the guideline to solve an optimization problem. 1. If there’s a picture to draw, draw it! Don’t try to visualize how things look in your head. Put a picture down on paper and label it. 2. Determine what the variables are and how they are related. 3. Decide what quantity needs to be maximized or minimized. 4. Write an expression for the quantity to be maximized or minimized in terms of only one variable. To do this, you may need to solve for any other variables in terms of this one variable. 5. Determine the minimum and maximum allowable values (if any) of the variable you’re using. 6. Solve the problem. (Be sure to answer the question that is asked.) □ 3.7.2 Area. Figure 3.2: Rectangular Space Example 3.7.1. You have 40 (linear) feet of fencing with which to enclose a rectangular space for a garden. Find the largest area that can be enclosed with this much fencing and the dimensions of the corresponding garden. See the figure 3.2. A NSWER. Let x and y be width and length of the rectangle, respectively. Then the area A is expressed by A = xy. (3.7.1) The given information implies 2x + 2y = 40 −→ x + y = 20. (3.7.2) That is, we want to find the maximum value of A = xy where x and y satisfies x + y = 20. From the equation (3.7.2), we have y = 20 − x. Putting it into the equation (3.7.1), we get A(x) = x(20 − x). The maximum value of A(x) = x(20 − x) occurs at the critical number x = 10, which implies y = 10. Thus the largest area is A = 100. □ Example 3.7.2. You have 8 (linear) feet of fencing with which to enclose a rectangular space for a garden. Find the largest area that can be enclosed with this much fencing and the dimensions of the corresponding garden. A NSWER. The largest area is A = 4 with width 2 and length 2. □ x 2 y2 Example 3.7.3. Find the area of the largest rectangle that can be inscribed in the ellipse 2 + 2 = 1, where a b a and b are nonzero constants. Page 48 of 101 Calculus I for Engineers Fall, 2010 Figure 3.3: Cardboard □ 3.7.3 Volume. Example 3.7.4. A square sheet of cardboard 18′′ on a side is made into an open box (i.e., there’s no top), by cutting squares of equal size out of each corner and folding up the sides along the dotted lines. Find the dimensions of the box with the maximum volume. See the figure 3.3. A NSWER. Let x be the length of one side of the square cut. Then the length of the side of the square sheet becomes 18 − 2x. So the volume V of the box becomes V (x) = x(18 − 2x)2 , because it has the width 18 − 2x and length 18 − 2x and height x. We want to maximize the volume V . From the graph of x(18 − 2x)2 or by the argument on critical numbers and the maximum values, we deduce the maximum value of the volume occurs at the critical number x = 3. Thus the maximum volume is V = 432 with width 12, length 12, and height 3. □ Example 3.7.5. A square sheet of cardboard 6′′ on a side is made into an open box (i.e., there’s no top), by cutting squares of equal size out of each corner and folding up the sides along the dotted lines. Find the dimensions of the box with the maximum volume. A NSWER. The maximum volume is V = 16 with width 4, length 4 and height 1. □ Example 3.7.6. If 1200 cm2 of material is available to make a box with a square base and an open top, find the largest possible volume of the box. □ 3.7.4 Closest Point to Curve. Example 3.7.7. Find the point on the parabola y = 9 − x2 closest to the point (3, 9). See the figure 3.4. A NSWER. Using the usual distance formula, we find that the distance between the point (3, 9) and any point (x, y) is √ d= (x − 3)2 + (y − 9)2 . If the point (x, y) is on the parabola, it should satisfy the equation y = 9 − x2 . So the distance becomes √ √ 2 2 2 d = (x − 3) + (9 − x − 9) = (x − 3)2 + x4 We want to find x minimizing the distance d. For easy computation, we find x minimizing d 2 . (Note that x = a minimizes d if and only if x = a minimizes d 2 .) By the First Derivative Test and the techniques/concepts in previous sections, d 2 has the minimum √ value 5 at □ x = 1. Therefore, the closest point on the parabola is (x, y) = (1, 8) and the closest distance is 5 . Page 49 of 101 Calculus I for Engineers Fall, 2010 Figure 3.4: Closest Point Example 3.7.8. Find the point on the given curve closest to the given point: y = x2 to the point (0, 1). y = 4x + 7 to the origin. Example 3.7.9. Find the points on the ellipse 4x2 + y2 = 4 that are farthest away from the point (1, 0). Remark 3.7.10 (Important!). Check the function values at the critical numbers and at the endpoints. Do not simply assume (even by virtue of having only one critical number) that a given critical number corresponds to the extremum you are seeking. □ 3.7.5 Soda Can & Highway. Figure 3.5: Soda Can and Highway Example 3.7.11. A soda can is to hold 12 fluid ounces. Find the dimensions that will minimize the amount of material used in its construction, assuming that the thickness of the material is uniform (i.e., the thickness of the aluminum is the same everywhere in the can). See the figure 3.5. □ A NSWER. Please read the textbook solution. Example 3.7.12. The state wants to build a new stretch of highway to link an existing bridge with a turnpike interchange, located 8 miles to the east and 8 miles to the south of the bridge. There is a 5–mile–wide stretch of marshland adjacent to the bridge that must be crossed. Given that the highway costs $10 million per mile to build over the marsh and only $7 million to build over dry land, how far to the east of the bridge should the highway be when it crosses out of the marsh? See the figure 3.5. Page 50 of 101 Calculus I for Engineers Fall, 2010 A NSWER. Total cost is obtained as follows: Total cost = 10 × (distance across marsh) + 7 × (distance across dry land). Letting √ the distance in question, by the Pythagorean theorem, we get the cost function C(x) = √ x represent 2 2 10 x + 5 + 7 (8 − x)2 + 32 . So we want to minimize this cost function. By the argument in previous sections and using a calculator, we obtain the minimum value C(xc ) ≈ $98.9 million at the critical number xc ≈ 3.560052. □ The problems in this section are applications of derivatives, especially the arguments used in curve sketching. Definitely the problems are not easy to solve. As the first step of solving a word problem, you should be able to set up the mathematical expressions and for this work, you need to practice by solving lots of problems. Solve Solve Solve Lots of Problems and Practice Practice Practice. Page 51 of 101 Calculus I for Engineers Fall, 2010 §3.8 Related Rates. A problem on related rates is about setting up an equation of (usually) two different rates of change and solving the equation for a desired rate of change. □ 3.8.1 Spreading Oil. Figure 3.6: Spreading Oil Example 3.8.1. An oil tanker has an accident and oil pours out at the rate of 150 gallons per minute (i.e., 150/7.5 = 20 ft3 /min). Suppose that the oil spreads onto the water in a circle at a thickness of 1/120 ft. Given that 1 ft3 equals 7.5 gallons, determine the rate at which the radius of the spill is increasing when the radius reaches 500 feet. See the figure 3.6. A NSWER. Volume of the oil spreading onto the water is obtained by the multiplication of the depth of the oil in the water and the area covered by the oil, that is, • Key Equation in Spreading Oil Problem: V = (depth) · (area) = 1 · π r2 , 120 i.e., V= π r2 120 where r is the radius of the circle covered by the oil. As time passes by, the radius of the circle increases and so the volume also increases. It implies that r and V are functions of time t. The given information gives dV (t) 150 = = 20 ft3 /min. dt 7.5 dr The problem is to find when r = 500. Implicitly differentiating the equation above with respect to time t, dt we have ( ) d π r2 (t) dr(t) 60 dV (t) dV (t) 2π r(t) dr(t) = , i.e., = . = dt dt 120 120 dt dt π r(t) dt Therefore, we deduce dr(t) 60 2.4 = · 20 = ≈ 0.76394. dt r(t)=500 500π π Based on the example above, we may set up an outline for solving a problem of related rates. • Outline: 1. 2. 3. 4. Make a simple sketch, if appropriate. Set up an equation relating all of the relevant quantities. Differentiate (implicitly) both sides of the equation with respect to time (t). Substitute in values for all known quantities and derivatives. Page 52 of 101 □ Calculus I for Engineers Fall, 2010 5. Solve for the remaining rate. Exercise 3.8.2. Oil spills out of a tanker at the rate of 12 ft3 /min. The oil spreads in a circle with a thickness of 1/96 ft. Determine the rate at which the radius of the spill is increasing when the radius reaches 100 feet. Exercise 3.8.3. Oil spills out of a tanker at the rate of g ft3 /min. The oil spreads in a circle with a thickness of 1/48 ft. Given that the radius of the spill is increasing at a rate of 0.6 ft/min when the radius equals 100 feet, determine the value of g. □ 3.8.2 Ladder. Figure 3.7: Ladder Example 3.8.4. A 10–foot ladder leans against the side of a building. If the top of the ladder begins to slide down the wall at the rate of 2 ft/sec, how fast is the bottom of the ladder sliding away from the wall when the top of the ladder is 8 feet off the ground? See the figure 3.7. A NSWER. Let x and y be the distance from the wall to the bottom of the ladder and the distance from the ground to the top of the ladder, respectively. Then we observe the following three useful phenomena: 1. As x increases, y decreases and vice versa. 2. We observe that both x and y are functions of time t. 3. The faster the top of the ladder slides down, the faster the bottom moves away from the wall. That is, the speed y′ (t) at which the top slides down is proportional to the one x′ (t) at which the bottom moves away. Since the ladder is sliding down the wall at the rate of 2 ft/sec, we have The Pythagorean Theorem implies • Key Equation in Ladder Problem: dy(t) = −2. (Note the minus sign.) dt x2 (t) + y2 (t) = 102 Differentiating both sides of the equation with respect to time t gives us 2x(t) dy(t) dx(t) + 2y(t) = 0, dt dt i.e., dx(t) y(t) dy(t) y(t) dy(t) =− = −√ . dt x(t) dt 100 − y2 (t) dt When y(t) = 8, thus we deduce the speed x′ (t) at which the bottom of the ladder moves away from the wall: dx(t) 8 8 (−2) = . = −√ 2 dt 3 100 − 8 □ Exercise 3.8.5. A 10–foot ladder leans against the side of a building as in the example above. If the bottom of the ladder is pulled away from the wall at the rate of 3 ft/s and the ladder remains in contact with the wall, find the rate at which the top of the ladder is dropping when the bottom is 6 feet from the wall. Page 53 of 101 Calculus I for Engineers Fall, 2010 Exercise 3.8.6. In the exercise above, find the rate at which the angle between the ladder and the horizontal is changing when the bottom of the ladder is 6 feet from the wall. □ 3.8.3 Car Speed. Figure 3.8: Car Speed Example 3.8.7. A car is traveling at 50 mph due south at a point 1/2 mile north of an intersection. A police car is traveling at 40 mph due west at a point 1/4 mile east of the same intersection. At that instant, the radar in the police car measures the rate at which the distance between the two cars is changing. What does the radar gun register? If the police car is not moving, does this make the radar gun’s measurement more accurate? See the figure 3.8. A NSWER. Let x and y be the distance from the intersection to the police car and to the car, respectively. Then we observe 1. x and y are functions of time t, 2. the distance d(t) between those two cars is obtained by the Pythagorean Theorem: d 2 (t) = x2 (t) + y2 (t), 3. x′ (t) = −40 and y′ (t) = −50 and it is asked to find d ′ (t). Implicitly differentiating both sides of the equation with respect to t, we get 2d(t)d ′ (t) = 2x(t)x′ (t) + 2y(t)y′ (t), d ′ (t) = x(t)x′ (t) + y(t)y′ (t) x(t)x′ (t) + y(t)y′ (t) = √ . d(t) x2 (t) + y2 (t) Thus when x(t) = 1/4 and y(t) = 1/2, we have d ′ (t) = x(t)x′ (t) + y(t)y′ (t) (1/4) · (−40) + (1/2) · (−50) √ √ = ≈ −62.6. x2 (t) + y2 (t) (1/4)2 + (1/2)2 and so the radar gun registers 62.6 mph. Note that this is a poor estimate of the car’s actual speed. For this reason, police nearly always take radar measurements from a stationary position. □ Exercise 3.8.8. A plane is located x = 40 miles (horizontally) away from an airport at an altitude of h miles. Radar at the airport detects that the distance s(t) between the plane and airport is changing at the rate of s′ (t) = −240 mph. If the plane flies toward the airport at the constant altitude h = 4, what is the speed |x′ (t)| of the airplane? Based on your answers, how important is it to know the actual height of the airplane? Page 54 of 101 Calculus I for Engineers Fall, 2010 □ 3.8.4 Economics. Example 3.8.9. A small company estimates that when it spends x thousand dollars for advertising in a year, its annual sales will be described by s = 60 − 40e−0.05x thousand dollars. The four most recent annual advertising totals are given in the following table. Year 1 2 3 4 Dollars 14,500 16,000 18,000 20,000 Estimate the current (year 4) value of x′ (t) and the current rate of change of sales. A NSWER. From the table, if we plot the points (1, 14.5), (2, 16), (3, 18) and (4, 20) on the tx–plane (Year vs. Dollars–plane) and connect the points, we observe a line which has the rough slope 2 near t = 4 (year 4). By the geometrical meaning of a derivative, x′ (t) represents the slope and so x′ (4) ≈ 2. The sales equation implies s(t) = 60 − 40e−0.05x , s′ (t) = −40e−0.05x(t) (−0.05x′ (t)) = 2x′ (t)e−0.05x(t) , s′ (4) = 2x′ (4)e−0.05x(4) ≈ 2 · 2e−0.05·20 ≈ 1.472. Thus, sales are increasing at the rate of approximately $1472 per year. □ Exercise 3.8.10. Suppose that the average yearly cost per item for producing x items of a business product is C(x) = 12 + 94x. The three most recent yearly production figures are given in the table. Year 0 1 2 Products (x) 8.2 8.8 9.4 Estimate the value of x′ (2) and the current (year 2) rate of change of the average cost. □ 3.8.5 Flying Jet. Figure 3.9: Flying Jet Example 3.8.11. A spectator at an air show is trying to follow the flight of a jet. The jet follows a straight path in front of the observer at 792 ft/sec. At its closest approach, the jet passes 600 feet in front of the person. Find the maximum rate of change of the angle between the spectator’s line of sight and a line perpendicular to the flight path, as the jet flies by. See the figure 3.9. Page 55 of 101 Calculus I for Engineers Fall, 2010 A NSWER. Let the observer be at the origin (0, 0) in the xy–plane and the line y(t) = 600 be the path of the flight. Then at time t, the plain is located at (x(t), y(t)). Let θ be the angle between the y–axis and the line connecting two points (0, 0) and (x(t), y(t)). Since x(t) and y(t) depend on time t, the angle should also the function of time t. From triangle geometry, we have an equation • Key Equation in Flying Jet Problem: tan θ (t) = x(t) y(t) Implicitly differentiating the equation with respect to time t produces ( ) x′ (t)y(t) − x(t)y′ (t) sec2 θ (t) θ ′ (t) = , y2 (t) θ ′ (t) = x′ (t)y(t) − x(t)y′ (t) cos2 θ (t). y2 (t) With the jet moving left to right along the line y(t) = 600, we have y′ (t) = 0 and x′ (t) = 792. Plugging them into the differential equation, we get θ ′ (t) = 792 · 600 − x(t) · 0 792 cos2 θ (t) = cos2 θ (t) = 1.32 cos2 θ (t). 2 600 600 The maximum value of θ ′ (t) is 1.32 and it occurs when cos2 θ (t) = 1, i.e., cos θ (t) = ±1, i.e., θ (t) = 0, ±π , ±2π , ±3π , . . . , nπ , where n = 0, ±1, ±2, ±3, . . . . However, we cannot have other values of θ (t) except θ (t) = 0. (Why? For example, θ (t) = π means the plane flies along y(t) = −600 and it is not true.) Therefore, we conclude that the maximum rate of angle change is 1.32 radians/second. This occurs when θ = 0, that is, when the jet reaches its closest point to the observer. (Think about this; it should match your intuition!) Since humans can track objects at up to about 3 radians/second, this means that we can visually follow even a fast jet at a very small distance. □ Exercise 3.8.12. A camera tracks the launch of a vertically ascending spacecraft. The camera is located at ground level 2 miles from the launch–pad. If the spacecraft is 3 miles up and traveling at 0.2 mile per second, at what rate is the camera angle (measured from the horizontal) changing? Exercise 3.8.13. Suppose a 6–ft–tall person is 12 ft away from an 18–ft–tall lamppost. If the person is moving away from the lamppost at a rate of 2 ft/s, at what rate is the length of the shadow changing? Exercise 3.8.14. Water is being pumped into a spherical tank of radius 60 feet at the constant rate of 10 ft3 /s. Find the rate at which the radius of the top level of water in the tank changes when the tank is half full. §3.9 Rates of Change in Economics and the Sciences. Skip. Please read the textbook. Page 56 of 101 Chapter 4 Integration §4.1 Antiderivatives. □ 4.1.1 Antiderivative. Given a function f , we want to find another function F such that F ′ = f . We call such a function F an antiderivative of f . Example 4.1.1. Find an antiderivative of f (x) = x2 . A NSWER. Notice that F(x) = x3 is an antiderivative of f (x), because 3 ( ) d x3 ′ = x2 . F (x) = dx 3 Further, observe that d dx so that G(x) = ( ) x3 + 5 = x2 , 3 x3 + 5 is also an antiderivative of f . In fact, for any constant c, we have 3 ( ) d x3 + c = x2 . dx 3 x3 Thus, H(x) = + c is also an antiderivative of f (x), for any choice of the constant c. This gives us a family 3 of antiderivative curves. □ In general, observe that if F is any antiderivative of f and c is any constant, then d (F(x) + c) = F ′ (x) + 0 = f (x). dx Thus, F(x) + c is also an antiderivative of f (x), for any constant c. On the other hand, are there any other antiderivatives of f (x) besides F(x) + c? The answer is no. Theorem 4.1.2. Suppose that F and G are both antiderivatives of f on an interval I. Then, G(x) = F(x) + c for some constant c. □ 4.1.2 Indefinite Integral. Definition 4.1.3. Let F be any antiderivative of f . The indefinite integral of f (x) (with respect to x), is defined by ˆ f (x) dx = F(x) + c where c is an arbitrary constant (the constant of integration). 57 Calculus I for Engineers Fall, 2010 The process of computing an integral is called integration. Here, f is called the integrand and the term dx identifies x as the variable of integration. ˆ Example 4.1.4. Evaluate 3x2 dx. A NSWER. You should recognize 3x2 as the derivative of x3 and so, ˆ 3x2 dx = x3 + c. □ ˆ t 5 dt. Example 4.1.5. Evaluate d ( 6) d A NSWER. We know that t = 6t 5 and so, dt dt ( 6) t = t 5 . Therefore, 6 ˆ t 5 dt = t6 + c. 6 □ Theorem 4.1.6 (P OWER RULE). For any rational (in fact, any real) power r ̸= −1, ˆ xr dx = xr+1 + c. r+1 ˆ x17 dx. Example 4.1.7. Evaluate A NSWER. From the power rule, we have ˆ x17 dx = ˆ Example 4.1.8. Evaluate x17+1 x18 +c = + c. 17 + 1 18 □ 1 dx. x3 A NSWER. We can use the power rule if we first rewrite the integrand. We have ˆ 1 dx = x3 ˆ x−3 dx = x−3+1 x−2 1 +c = − + c = − 2 + c. −3 + 1 2 2x ˆ Example 4.1.9. Evaluate the indefinite integrals: (1) √ x dx, (2) ˆ □ 1 √ dx. 3 x A NSWER. (1) We first rewrite the integrand and then apply the power rule. We have ˆ (2) Similarly, ˆ √ x dx = 1 √ dx = 3 x ˆ ˆ x1/2 dx = x−1/3 dx = x1/2+1 x3/2 2 +c = + c = x3/2 + c. 1/2 + 1 3/2 3 x−1/3+1 x2/3 3 +c = + c = x2/3 + c. −1/3 + 1 2/3 2 Page 58 of 101 □ Calculus I for Engineers Fall, 2010 By the differentiation rules, it is easy to get the following results: ˆ xr+1 xr dx = + c, for r ̸= −1 r+1 ˆ sin x dx = − cos x + c ˆ cos x dx = sin x + c ˆ sec2 x dx = tan x + c ˆ csc2 x dx = − cot x + c ˆ ˆ 1 −1 dx = tan x + c 1 + x2 ˆ sec x tan x dx = sec x + c ˆ ˆ csc x cot x dx = − csc x + c ˆ ex dx = ex + c ˆ e−x dx = −e−x + c 1 √ dx = sin−1 x + c 2 1−x 1 √ dx = sec−1 x + c |x| x2 − 1 Theorem 4.1.10 (L INEARITY). Suppose that f and g have antiderivatives. Then, for any constants a and b, ˆ ˆ ˆ [a f (x) + bg(x)] dx = a f (x) dx + b g(x) dx ˆ (3 cos x + 4x8 ) dx. Example 4.1.11. Evaluate ˆ A NSWER. ˆ cos x dx + 4 3 ˆ ( Example 4.1.12. Evaluate 3ex − 2 1 + x2 ˆ A NSWER. ˆ e dx − 2 x 3 ) Theorem 4.1.13. For x ̸= 0, 4 x8 dx = 3 sin x + x9 + c. 9 □ dx. 1 dx = 3ex − 2 tan−1 x + c. 2 1+x □ d 1 ln |x| = dx x Example 4.1.14. For any x for which tan x ̸= 0, evaluate d ln | tan x|. dx A NSWER. By the chain rule, we have (tan x)′ sec2 x 1 d ln | tan x| = = = . dx tan x tan x sin x cos x Corollary 4.1.15 (A PPLICATION OF D ERIVATIVE OF NATURAL L OG). ˆ 1 dx = ln |x| + c for x ̸= 0 x ˆ ′ f (x) dx = ln | f (x)| + c when f (x) ̸= 0 f (x) ˆ Example 4.1.16. Evaluate sec2 x dx. tan x Page 59 of 101 □ Calculus I for Engineers Fall, 2010 A NSWER. Notice that the numerator (sec2 x) is the derivative of the denominator (tan x). So we have ˆ sec2 x dx = ln | tan x| + c. tan x □ It is important to recognize when you cannot find an antiderivative. Example 4.1.17. Which of the following integrals can you evaluate given the rules developed in this section? ˆ ˆ ˆ 1 2x √ dx, (i) dx, (ii) sec x dx, (iii) 3 2 2 x +1 x ˆ 3 ˆ ˆ x +1 (iv) dx, (v) (x + 1)(x − 1) dx, (vi) x sin(2x) dx. x A NSWER. Parts (ii) and (vi) require us to find functions whose derivatives equal sec x and x sin(2x). As yet, we cannot evaluate these integrals. □ Example 4.1.18. If an object’s downward acceleration is given by y′′ (t) = −32 ft/s2 , find the position function y(t). Assume that the initial velocity is y′ (0) = −100 ft/s and the initial position is y(0) = 100000 ft. A NSWER. We have to undo two derivatives, so we compute two antiderivatives. (1) Antiderivative of acceleration gives the velocity of the object: ˆ ˆ ′ ′′ y (t) = y (t) dt = −32 dt = −32t + c. Since y′ (0) = −100, so c = −100 and y′ (t) = −32t − 100. (2) Antiderivative of velocity gives the position of the object: ˆ ˆ ′ y(t) = y (t) dt = (−32t − 100) dt = −16t 2 − 100t + c. Since y(0) = 100000, so c = 100000 and thus y(t) = −16t 2 − 100t + 100000. Keep in mind that this models the object’s height assuming that the only force acting on the object is gravity (i.e., there is no air drag or lift). □ §4.2 Sums and Sigma Notation. Skip. Please read the textbook. §4.3 Area. Skip. Please read the textbook. Page 60 of 101 Calculus I for Engineers Fall, 2010 §4.4 The Definite Integral. We have studied the antiderivative and indefinite integral of a function. The indefinite integral is also a function for a fixed constant. For two points in the domain of the integral, we can consider the difference of the integral values at those points. Theorem 4.4.1. If f is continuous on the closed interval [a, b], then f is integrable on [a, b]. This theorem says that for a function which is continuous on [a, b], the difference of the integral values at any two points in [a, b] exists uniquely as a finite number. Theorem 4.4.2 (L INEARITY & S EPARATION). If f and g are integrable on [a, b], then the following are true. (1) For any constants c and d, ˆ ˆ b [c f (x) + dg(x)] dx = c a (2) For any c in [a, b], ˆ b a ˆ ˆ b f (x) dx = a b f (x) dx + d g(x) dx a ˆ c b f (x) dx + a f (x) dx c There are various types of averages: arithmetic average, geometric average, ensemble average, etc. When we say the average, usually it means the arithmetic average. For example, the arithmetic average of three numbers 4, 10, 1 is obtained by (4 + 10 + 1)/3 = 5. For a given function f on a closed interval [a, b], the function f has infinitely many values. How can we compute the arithmetic average of those function values? The average value, fave , is defined by ˆ b 1 f (x) dx fave = b−a a Example 4.4.3. Compute the average value of f (x) = sin x on the interval [0, π ]. A NSWER. 1 fave = π −0 ˆ 0 π 1 sin x dx = π In next section, we will study how to compute the integral. Page 61 of 101 ˆ π sin x dx = 0 2 . π □ Calculus I for Engineers Fall, 2010 §4.5 The Fundamental Theorem of Calculus. □ 4.5.1 The Fundamental Theorem of Calculus. In this section, we will study one of the most important formulas in calculus, which is called the “fundamental theorem of calculus.” Theorem 4.5.1 (F UNDAMENTAL T HEOREM and F is any antiderivative of f , then ˆ b C ALCULUS (FTC), PART I). If f is continuous on [a, b] OF f (x) dx = F(b) − F(a). a Remark 4.5.2. We will often use the notation [ [ ]x=b = F(b) − F(a) F(x) or x=a ]b F(x) = F(b) − F(a) a or b F(x) = F(b) − F(a). a This enables us to write down the antiderivative before evaluating it at the endpoints. ˆ 2 Example 4.5.3. Compute (x2 − 2x) dx. 0 A NSWER. Notice that f (x) = x2 −2x is continuous on the interval [0, 2] and so, we can apply the Fundamental Theorem. We find an antiderivative by the power rule and simply evaluate: ˆ 2 ( (x − 2x) dx = 2 0 )2 ( ) x3 8 4 2 −x = −4 −0 = − . 3 3 3 0 □ Example 4.5.4. Compute the definite integrals: ) ˆ 4( √ 1 x − 2 dx. x 1 ˆ 4 ˆ −1 ˆ x 2 −2x e dx + dx + 12t 5 dt. x 0 −3 1 Example 4.5.5. Find the area of the region bounded by the curve f (x) = sin x and the x–axis on the interval [0, π ]. Theorem 4.5.6 T HEOREM OF C ALCULUS (FTC), PART II). If f is continuous on [a, b] ´ x (F UNDAMENTAL ′ and F(x) = a f (t) dt, then F (x) = f (x) on [a, b]. That is, d dx [ˆ x ] f (t) dt = f (x). a Example 4.5.7. Find the derivative F ′ : ˆ x F(x) = ˆ 1 F(x) = (t 2 − 2t + 3) dt. x2 cost dt. 2 The general form of the chain rule used in the 2nd example above is as follows. Page 62 of 101 Calculus I for Engineers Fall, 2010 □ 4.5.2 Application of Fundamental Theorem of Calculus. Corollary 4.5.8. d dx [ˆ ] u(x) f (t) dt = f (u(x)) a [ˆ du(x) dx ] b d dv(x) f (t) dt = − f (v(x)) dx v(x) dx ] [ˆ u(x) du(x) d dv(x) f (t) dt = f (u(x)) − f (v(x)) dx v(x) dx dx ˆ Example 4.5.9. Find the derivative of F(x) = x2 √ t 2 + 1 dt. 2x ( ) Example 4.5.10. Suppose the (downward) velocity of a sky diver is given by v(t) = 30 1 − e−t ft/s for the first 5 seconds of a jump. Compute the distance fallen. ˆ 5 A NSWER. The distance d is obtained by the integral d = v(t) dt = 120 + 30e−5 ≈ 120.2 ft. □ 0 The definite integral of velocity gives the total change of the distance function over the given time interval. Example 4.5.11. Suppose that water flows in and out of a storage tank. The net rate of change (that is, the rate in minus the rate out) of water is f (t) = 20(t 2 − 1) gallons per minute. (1) For 0 ≤ t ≤ 3, determine when the water level is increasing and when the water level is decreasing. (2) If the tank has 200 gallons of water at time t = 0, determine how many gallons are in the tank at time t = 3. A NSWER. Let w(t) be the number of gallons in the tank at time t. (1) Notice that the water level decreases if w′ (t) = f (t) < 0. We have f (t) = 20(t 2 − 1) < 0, for 0 ≤ t < 1. Alternatively, the water level increases if w′ (t) = f (t) > 0. In this case, we have f (t) = 20(t 2 − 1) > 0, for 1 < t ≤ 3. (2) We start with w′ (t) = 20(t 2 − 1). Integrating from t = 0 to t = 3, we have ˆ 3 ′ ˆ 3 w (t) dt = 0 20(t 2 − 1) dt. 0 Evaluating the integrals on both sides yields ( w(3) − w(0) = 20 )t=3 t3 − t . 3 t=0 Since w(0) = 200, we have w(3) − 200 = 20(9 − 3) = 120 and hence, w(3) = 200 + 120 = 320, so that the tank will have 320 gallons at time t = 3. □ Notice that although we don’t know how to evaluate the integral, we can use the Fundamental Theorem to obtain some important information about the function. Page 63 of 101 Calculus I for Engineers Fall, 2010 ˆ Example 4.5.12. For the function F(x) = of y = F(x) at x = 2. x2 ln(t 3 + 4) dt, find an equation of the tangent line to the curve 4 A NSWER. Notice that there are almost no function values that we can compute exactly, yet we can easily find an equation of a tangent line! From Part II of the Fundamental Theorem of Calculus and the chain rule, we get the derivative F ′ (x) = 2x ln(x6 + 4). So, the slope at x = 2 is F ′ (2) = 4 ln 68. The tangent lines passes through the point with x = 2 and so we get ˆ 4 y = F(2) = ln(t 3 + 4) dt = 0. An equation of the tangent line is then 4 y = (4 ln 68)(x − 2). □ • Beyond Formulas: The two parts of the Fundamental Theorem are different sides of the same theoretical coin. Recall the conclusions of Parts I and II of the Fundamental Theorem: ˆ b ˆ d x ′ F (x) dx = F(b) − F(a) and f (t) dt = f (x). dx a a In both cases, we are saying that differentiation and integration are in some sense inverse operations: their effects (with appropriate hypotheses) cancel each other out. This fundamental connection is what unifies seemingly unrelated calculation techniques into the calculus. What are some results in algebra and trigonometry that similarly tie together different areas of study and are thus fundamental results? Page 64 of 101 Calculus I for Engineers Fall, 2010 §4.6 Integration by Substitution. □ 4.6.1 Introduction. In this section, we expand our ability to compute antiderivatives by developing a useful technique called integration by substitution. This method gives us a process for helping to recognize a whole range of new antiderivatives. ˆ 2 Example 4.6.1. Evaluate 2xex dx. A NSWER. Notice that 2x is the derivative of x2 and x2 already appears in the integrand, as the exponent of 2 2 ex . Further, by the chain rule, for F(x) = ex , F ′ (x) = ex 2 2 d 2 (x ) = 2xex , dx which is the integrand. To finish this example, recall that we need to add an arbitrary constant, to get ˆ 2 2 □ 2xex dx = ex + c. Note that, in general, if F is any antiderivative of f , then from the chain rule, we have d du du [F(u)] = F ′ (u) = f (u) . dx dx dx From this, we have that ˆ du f (u) dx = dx ˆ d [F(u)] dx = F(u) + c = dx ˆ f (u) du, since F is an antiderivative of f . If you read the expressions on the far left and the far right sides of the equation above, this suggests that du du = dx. dx ˆ So, if we cannot compute the integral h(x) dx directly, we often look for a new variable u and function f (u) for which ˆ ˆ h(x) dx = du f (u(x)) dx = dx ˆ f (u) du, where the last integral is easier to evaluate than the first. Remark 4.6.2 (H OW TO C HOOSE N EW VARIABLE). In deciding how to choose a new variable, there are several things to look for: 1. terms that are derivatives of other terms (or pieces thereof ) and 2. terms that are particularly troublesome. (You can often substitute your troubles away.) ˆ Example 4.6.3. Evaluate (x3 + 5)100 (3x2 ) dx. Page 65 of 101 Calculus I for Engineers Fall, 2010 □ 4.6.2 Integration By Substitution. Integration by substitution consists of the following general steps. 1. Choose a new variable u: a common choice is the innermost expression or “inside” term of a composition of functions. (In example above, note that x3 + 5 is the inside term of (x3 + 5)100 .) du 2. Compute du = dx. dx 3. Replace all terms in the original integrand with expressions involving u and du. 4. Evaluate the resulting (u) integral. If you still can’t evaluate the integral, you may need to try a different choice of u. 5. Replace each occurrence of u in the antiderivative with the corresponding expression in x. Always keep in mind that finding antiderivatives is the reverse process of finding derivatives. In example below, we are not so fortunate as to have the exact derivative we want in the integrand. Example 4.6.4. Evaluate the integrals: ˆ x cos(x2 ) dx. ˆ (3 sin x + 4)5 cos x dx. √ ˆ sin x √ dx. x ˆ 2 x dx. 3 x +5 The last example is an illustration of a very common type of integral, one where the numerator is the derivative of the denominator More generally, we have the result in the following Theorem. Theorem 4.6.5 (I NTEGRATION For any continuous function f , BY S UBSTITUTION ˆ INVOLVED WITH L OGARITHMIC D IFFERENTIATION). f ′ (x) dx = ln | f (x)| + c f (x) provided f (x) ̸= 0. You should recall that we already stated this result in section 4.1. It is important enough to repeat here in the context of substitution. Example 4.6.6. Evaluate the integrals: ˆ tan x dx. ˆ (tan−1 x)2 dx. 1 + x2 So far, every one of our examples has been solved by spotting a term in the integrand that was the derivative of another term. We present an integral now where this is not the case, but where a substitution is made to deal with a particularly troublesome term in the integrand. ˆ Example 4.6.7. Evaluate √ x 2 − x dx. Page 66 of 101 Calculus I for Engineers Fall, 2010 □ 4.6.3 Integration By Substitution in Definite Integral. There is only one slight difference in using substitution for evaluating a definite integral: you must also change the limits of integration to correspond to the new variable. The procedure here is then precisely the same as that used for example above, except that when you introduce the new variable u, the limits of integration change from x = a and x = b to the corresponding limits for u : u = u(a) and u = u(b). We have ˆ x=b ˆ ′ u=u(b) f (u(x))u (x) dx = x=a f (u) du. u=u(a) Caution! You must change the limits of integration (i.e., endpoints of the interval in the definite integral) as soon as you change variables! ˆ 2 √ Example 4.6.8. Evaluate x3 x4 + 5 dx. 1 It may have occurred to you that you could use a substitution in a definite integral only to find an antiderivative and then switch back to the original variable to do the evaluation. Although this method will work for many problems, we recommend that you avoid it, for several reasons. First, changing the limits of integration is not very difficult and results in a much more readable mathematical expression. Second, in many applications requiring substitution, you will need to change the limits of integration, so you might as well get used to doing so now. See and compare the two solutions to the following problem. ˆ 3 t2 Example 4.6.9. Compute te− 2 dt. 0 A NSWER 1. R ECOMMENDABLE. The substitution u = −t 2 /2 implies du = −t dt. The endpoints t = 0 and t = 3 of the integral interval correspond to u = 0 and u = −9/2, respectively. Thus, the definite integral is converted and computed: ˆ t=3 2 te − t2 t=0 ˆ dt = − u=− 92 u=0 u=− 9 eu du = − [eu ]u=0 2 = −e− 2 + 1. 9 □ A NSWER 2. N OT R ECOMMENDABLE. The substitution u = −t 2 /2 implies du = −t dt. So the indefinite integral is converted and the definite integral is computed: ˆ 2 − t2 te ˆ dt = − e du = −e + c = −e u u ˆ 2 − t2 +c −→ t=3 te t=0 §4.7 Numerical Integration. Skip. Please read the textbook. Page 67 of 101 2 − t2 [ dt = − e 2 − t2 ]t=3 9 = −e 2 + 1. t=0 □ Calculus I for Engineers Fall, 2010 §4.8 The Natural Logarithm as an Integral. Definition 4.8.1. For x > 0, we define the natural logarithm function, written ln x, by ˆ x 1 ln x = dt. 1 t We recall the Properties of Logarithmic Function: For any positive real numbers a and b and any rational number r, ln 1 = 0 (a) ln = ln a − ln b b ln(ab) = ln a + ln b ln(ar ) = r ln a. and also recall the Basic Properties of Exponential Function: eln x = x (for x > 0), ln ex = x, er es = er+s , er = er−s , es (er )t = ert , where r and s are any real numbers and t is any rational number. It is also worth to memorize x bx = eln b = ex ln b , for b > 0. Theorem 4.8.2. For any base a > 0 (a ̸= 1) and any x > 0, loga x = ln x . ln a Page 68 of 101 Chapter 5 Applications of the Definite Integral §5.1 Area Between Curves. □ 5.1.1 Region Bounded by Upper and Lower Curves. Let us start with recalling that the area A of the region under the curve y = f (x) and above the x–axis from x = a to x = b is ˆ b A= f (x) dx. a In fact, the full expression of this equation is as follows: ˆ x=b A= ( f (x) − 0) dx, x=a where y = 0 represents the x–axis. By generalizing this argument, the area A of the region under the graph of y = f (x) (upper one) and above the graph of y = g(x) (lower one) from x = a to x = b is ˆ x=b A= ( f (x) − g(x)) dx. x=a We summarize in the Theorem. Theorem 5.1.1. The region between two graphs y = f (x) (upper one) and y = g(x) (lower one) from x = a to x = b has the area A: ˆ x=b A= ( f (x) − g(x)) dx. x=a Remark 5.1.2. The formula above is valid only when the graph of y = f (x) is higher than the graph of y = g(x) on the interval [a, b]. The area A of the region under the x–axis and above the graph of y = f (x) from x = a to x = b is ˆ b A= (0 − f (x)) dx. a Example 5.1.3. Sketch and find the area of the region bounded by the graphs of y = x2 − 1 and y = x2 /2. Figure 5.1: Region Bounded by y = x2 − 1 and y = x2 /2 69 Calculus I for Engineers Fall, 2010 A NSWER. Step 1.√ Intersection. Setting x2 − 1 = x2 /2 and solving the equation, we get that the curves intersect at x = ± 2 . √ √ Step 2. Integral. On the interval [− 2 , 2 ], the graph of y = x2 /2 is higher than that of y = x2 − 1. So by the Theorem 5.1.1, we have the area, √ ) ) ˆ √2 ( ˆ √2 ( 2 ( 2 ) x x2 4 2 − x − 1 dx = √ 1 − dx = . □ A= √ 2 2 3 − 2 − 2 Remark 5.1.4. This chapter is about the applications of the integral. So we will mainly focus on how to set up the integral rather than how to solve the integral. For this reason, the solution will be enough, once it gives the appropriate integral. That is, we will not compute the integrals in detail but leave the computation to the students as exercises. Example 5.1.5. Find the area of the region bounded by the graphs of y = sin x and y = cos x for 0 ≤ x ≤ π /2. Figure 5.2: Region Bounded by y = sin x and y = cos x on [0, π /2] A NSWER. Step 1. Intersection. Setting sin x = cos x and solving for x, we get the curves intersect at x = π /4 ∈ [0, π /2]. Step 2. Integral. On the interval [0, π /4], the graph of y = cos x is higher than that of y = sin x. On the interval [π /4, π /2], the graph of y = sin x is upper than that of y = cos x. So by the Theorem 5.1.1, we have the area, ˆ π /4 ˆ π /2 ) (√ A= (cos x − sin x) dx + 2 −1 . □ (sin x − cos x) dx = 2 π /4 0 Example 5.1.6. Find the area of the region bounded by the graphs y = x + 2 and y = −x − 2 and x = 4. Figure 5.3: Region Bounded by y = x + 2 and y = −x − 2 and x = 4 A NSWER 1. (U SING I NTEGRAL ). We observe that the graphs intersect at x = −2. From x = −2 to x = 4, the graph of y = x + 2 is upper than that of y = −x − 2. Thus by the Theorem 5.1.1, we have the area, ˆ 4 ˆ 4 A= (x + 2 − (−x − 2)) dx = (2x + 4) dx = 36. □ −2 −2 Page 70 of 101 Calculus I for Engineers Fall, 2010 A NSWER 2. (U SING F IGURE ). If we look at the figure 5.3, then we observe the region is in fact a lying triangle with base length 12 and height 6. Hence, the triangle has the area 12(6)(1/2) = 36, which is exactly same as in the solution above. It is easy to see that this way of solving is much better than the solution above (using integral). The key point to be aware of is to sketch the region and find an easier way than using the integral. □ □ 5.1.2 Region Bounded by Right and Left Curves. As the second topic of this section, we consider the region bounded by two graphs x = f (y) and x = g(y). Theorem 5.1.7. The area A of the region bounded by x = f (y) (right boundary curve) and x = g(y) (left boundary curve) from y = c to y = d is obtained as follows: ˆ y=d A= ( f (y) − g(y)) dy. y=c Example 5.1.8. Find the area of the region bounded by the graphs of y = x − 1 and y2 = 2x + 6. Figure 5.4: Region Bounded by y = x − 1 and y2 = 2x + 6 and Region Bounded by x = 3y and x = 2 + y2 A NSWER. Step 1. Intersection. Setting up y + 1 = x = (y2 − 6)/2 and solving the equation y + 1 = (y2 − 6)/2, we have that the curves intersect at y = −2 and y = 4. Step 2. Integral. On the interval [−2, 4], the graph of x = y + 1 is the right boundary curve while that of x = y2 /2 − 3 is the left boundary curve of the region. Hence, by the Theorem 5.1.7, we have the area, ( 2 )) ) ˆ 4( ˆ 4( y y2 A= y+1− −3 dy = y − + 4 dy = 18. □ 2 2 −2 −2 Example 5.1.9. Find the area of the region bounded by the graphs of x = 3y and x = 2 + y2 . A NSWER. Step 1. Intersection. Setting up 3y = x = 2 + y2 and solving the equation 3y = 2 + y2 , we have that the curves intersect at y = 1 and y = 2. Step 2. Integral. On the interval [1, 2], the graph of x = 3y is the right boundary curve while that of x = 2 + y2 is the left boundary curve of the region. Hence, by the Theorem, we have the area, ˆ A= 1 2( ( 3y − 2 + y 2 )) ˆ dy = 2( 1 Page 71 of 101 ) 1 3y − 2 − y2 dy = . 6 □ Calculus I for Engineers Fall, 2010 §5.2 Volume: Slicing, Disks and Washers. Let us start with recalling that a line can be viewed as the collection of points, the area inside a region can be viewed as the collection of lengths of lines crossing the region, and the volume of a solid can be viewed as the collection of cross–sectional areas. From these viewpoints, a line is described by f (x) for a ≤ x ≤ b, ´b ´b the area is A = a f (x) dx and finally the volume is V = a A(x) dx, where A(x) is the cross–sectional area. In this section, we study on how to find the volume. □ 5.2.1 Volume by Slicing. Consider a cylinder (= any solid whose cross sections perpendicular to some axis running through the solid are all the same), e.g., pyramid. In general, the volume of any cylinder is found by V = (cross–sectional area) × (height). When we express this formula by using the integral, we have the formula, ˆ b V= A(x) dx, a where A(x) represents the cross–sectional area of the cylinder at height x. In fact, when we collect(= integrate) all the cross–sectional areas(= A(x)) within the given height(= [a, b]), we obtain the volume(= ´b a A(x) dx). Example 5.2.1. For the tent given in the figure 5.5, find the volume. Figure 5.5: Tent A NSWER. If we cut the tent cross–sectionally and vertically, we observe the cross section is a triangle with base 4 and height 10. It has the area 4(10)(1/2) = 20. Since the width of the tent is 38, the volume is obtained by V = 20(38) = 760. □ Example 5.2.2. The Pyramid Arena in Memphis has a square base of side approximately 600 feet and a height of approximately 320 feet. See the figure 5.6. Find the volume of the pyramid with these measurements. A NSWER 1. By the formula, we get ˆ V= 320 A(x) dx, 0 where A(x) is the cross–sectional area at height x. If f (x) represents the side length of the square cross section at height x, we know that f (0) = 600, f (320) = 0 and f (x) is a linear function. The slope of the line is m= 600 − 0 15 =− 0 − 320 8 Page 72 of 101 Calculus I for Engineers Fall, 2010 Figure 5.6: The Pyramid Arena in Memphis and Projection and we use the y–intercept of 600 to get f (x) = − 15 x + 600. 8 Since this is the length of a side of a square, the cross–sectional area is simply the square of this quantity, i.e., ( )2 15 A(x) = f (x) = − x + 600 . 8 2 Therefore, we deduce ˆ ˆ 320 V= A(x) dx = 0 0 320 ( )2 15 − x + 600 dx = 38, 400, 000 ft2 . 8 □ A NSWER 2. Look at the figure 5.6. When we lay down the pyramid and see from one side of the pyramid, we can get the figure above. The equations of the upper and lower lines are easy to be found: 300 15 x + 300 = − x + 300 (Upper Line) 320 16 300 15 g(x) = x − 300 = x − 300 (Lower Line) 320 16 f (x) = − It implies that for a fixed x, we have the length of a side of a square, f (x) − g(x) = − 15 x + 600, 8 and thus the cross–sectional area is simply the square of this quantity, i.e., )2 ( 15 A(x) = ( f (x) − g(x)) = − x + 600 . 8 2 Therefore, we deduce ˆ V= ˆ 320 A(x) dx = 0 0 320 ( )2 15 − x + 600 dx = 38, 400, 000 ft2 . 8 □ Exercise 5.2.3. A church steeple is 30 feet tall with square cross sections. The square at the base has side 3 feet and the side varies linearly in between. Compute the volume. Page 73 of 101 Calculus I for Engineers Fall, 2010 Exercise 5.2.4. A church steeple is 30 feet tall with square cross sections. The square at the base has side 3 feet, the square at the top has side 1/2 feet and the side varies linearly in between. Compute the volume. Example 5.2.5. Suppose that a dome has circular cross sections, with outline √ 45 (90 − x) (0 ≤ x ≤ 90). y=± 2 Find the volume of the dome. √ Figure 5.7: Graph of y = ± 45 2 (90 − x) on [0, 90] √ A NSWER. The (vertical) cross section is a circle of radius (45/2)(90 − x) . So the area inside the circle is π (45/2)(90 − x) and the volume is obtained as follows: ˆ 90 ˆ 45π 90 V= A(x) dx = □ (90 − x) dx = 91125π . 2 0 0 Exercise 5.2.6. The outline of a dome is given by y = 60 − x2 , 60 (−60 ≤ x ≤ 60), with circular cross–sections perpendicular to the y–axis. Find its volume. □ 5.2.2 Method of Disks. We use this method to get the volume of a solid of revolution. Suppose that 0 ≤ f (x) and f is continuous on the interval [a, b]. Take the region bounded by the curve y = f (x) and the x–axis, for a ≤ x ≤ b, and revolve it about the x–axis, generating a solid. We can find the volume of this solid by slicing it perpendicular to the x–axis and recognizing that each cross section is a circular disk of radius r = f (x). Then we have that the volume of the solid is ˆ b ˆ b 2 V= (cross–sectional area π r ) dr = π f 2 (x) dx. a a √ Example 5.2.7. Revolve the region under the curve y = x on the interval [0, 4] about the x–axis and find the volume of the resulting solid of revolution. A NSWER. It’s critical to draw a picture of the region and the solid of revolution, so that you√get a clear idea of the radii of the circular cross sections. The radius of each cross section is given by r = x . We get the volume: ˆ 4 ˆ 4 (√ )2 V= π x dx = π x dx. □ 0 0 Page 74 of 101 Calculus I for Engineers Fall, 2010 Figure 5.8: Solid formed by revolving region under y = √ x on [0, 4] about x–axis Exercise 5.2.8. Find the volume of the solid which is formed by revolving the region bounded by y = 2 − x, x = 0, and y = 0 about the x–axis. In a similar way, suppose that 0 ≤ g(y) and g is continuous on the interval [c, d]. Then, revolving the region bounded by the curve x = g(y) and the y–axis, for c ≤ y ≤ d, about the y–axis generates a solid. Once again, the cross sections of the resulting solid of revolution are circular disks of radius r = g(y). All that has changed here is that we have interchanged the roles of the variables x and y. The volume of the solid is then given by ˆ V= d ˆ (cross–sectional area π r ) dr = 2 d π g2 (y) dy. c c Example 5.2.9. Find the volume of the √ solid resulting from revolving the region bounded by the curves y = 4 − x2 and y = 1 from x = 0 to x = 3 about the y–axis. √ Figure 5.9: Solid formed by revolving region between y = 4 − x2 and y = 1 on [0, 3 ] about y–axis A NSWER. The radius of any √ of the circular cross sections is given by x. So, we must solve the equation y = 4 − x2 for x, to get x = 4 − y . Since the surface extends from y = 1 to y = 4, the volume is given by ˆ V= 4 ˆ 4 (√ )2 π 4 − y dy = π (4 − y) dy. 1 □ 1 Exercise 5.2.10. Find the volume of the solid which is formed by revolving the region bounded by y = ex , x = 0, and y = e about the y–axis. Page 75 of 101 Calculus I for Engineers Fall, 2010 □ 5.2.3 Method of Washers. A solid may have a cavity or “hole” in it. It occurs when a region is revolved about a line other than the x–axis or the y–axis. We explain the method through an example. Example 5.2.11. Let R be the region in the first quadrant bounded by the graphs of y = x2 /4 and y = 1. Compute the volume of the solid formed by revolving R about (1) the y–axis, (2) the x–axis and (3) the line y = 2. Figure 5.10: Region in the first quadrant bounded by y = x2 /4, x = 0 and y = 1 A NSWER. (1) the y–axis: The radius of the solid is x = ˆ 1 V= √ 4y . Hence, by the formula, ˆ 1 (√ )2 y dy. π 4y dy = 4π 0 0 (2) the x–axis: Revolving the region R about the x–axis produces a cavity in the middle of the solid. Our strategy is to compute the volume Voutside of the outside of the object (as if it were filled in) and then subtract the volume Vinside of the cavity. The solid of the outside of the object has the radius y = 1, while the one inside has y = x2 /4. Hence, ˆ 2 V = Voutside −Vinside = 0 ˆ π 1 dx − 2 2 ( π 0 x2 4 )2 dx = π ˆ 2( 0 x4 1− 16 ) dx. (3) the line y = 2: Just like the case (2) above, we have a cavity in the middle of the solid. In this case, the solid of the outside of the object has the radius y = 2 − x2 /4, while the one inside has y = 2 − 1. Hence, ˆ V = Voutside −Vinside = 0 2 ( ) )2 ˆ 2( ˆ 2 x4 x2 2 2 4 − x + − 1 dx. π 2− π (2 − 1) dx = π dx − 4 16 0 0 □ Exercise 5.2.12. Let R be the region bounded by y = x2 and y = 4. Compute the volume of the solid formed by revolving R about the given line. (1) y = 4, (2) the y–axis, (3) y = 6, (4) y = −2, (5) x = 2, (6) x = −4. Page 76 of 101 Calculus I for Engineers Fall, 2010 §5.3 Volume by Cylindrical Shells. In this section, we present an alternative to the method of washers discussed in Section 5.2. Suppose R be the region bounded by some graphs. If R is revolved about a line, we have a cylindrical shell and we want to compute the volume of the resulting solid. Volume of Shell: The volume of the shell is obtained by V = 2π × (radius) × (height) × (thickness). Example 5.3.1 (U SING THE M ETHOD OF C YLINDRICAL S HELLS). Revolve the region bounded by the graphs of y = x and y = x2 in the first quadrant about the y–axis. A NSWER. Since we revolve the graph about the y–axis (rotation axis), 1. the radius of the shell becomes x (distance between the graph and the rotation axis) 2. the height turns to be x − x2 (upper function minus lower function) 3. the thickness dx from x = 0 to x = 1. We have the volume in the integral form: ˆ V= 0 1 ( ) π 2π x x − x2 dx = . 6 □ Example 5.3.2. Find the volume of the solid obtained by rotating the region bounded by y = x − x2 and y = 0 about the line x = 2. A NSWER. The cylindrical shell has 1. the radius 2 − x (distance between the graph and the rotation axis) 2. the height x − x2 3. the thickness dx from 0 to 1. So we have the volume in the integral form: ˆ 1 ( ) π V= 2π (2 − x) x − x2 dx = . 2 0 □ Example 5.3.3 (A VOLUME W HERE S HELLS A RE S IMPLER T HAN WASHERS). Find the volume of the solid formed by revolving the region bounded by the graph of y = 4 − x2 and the x–axis about the line x = 3. A NSWER. The cylindrical shell has 1. the radius 3 − x (distance between the graph and the rotation axis) 2. the height 4 − x2 3. the thickness dx from −2 to 2. So we have the volume in the integral form: ˆ 2 V= 2π (3 − x)(4 − x2 ) dx = 64π . −2 □ Example 5.3.4 (C OMPUTING VOLUMES U SING S HELLS AND WASHERS). Let R be the region bounded by the graphs of y = x, y = 2 − x and y = 0. Compute the volume of the solid formed by revolving R about the lines (1) y = 2, (2) y = −1 and (3) x = 3. A NSWER. (1) The cylindrical shell has Page 77 of 101 Calculus I for Engineers Fall, 2010 1. the radius 2 − y (distance between the graph and the rotation axis) 2. the height (2 − y) − y 3. the thickness dy from 0 to 1. So we have the volume in the integral form: ˆ 1 10π V= 2π (2 − y) [(2 − y) − y] dy = . 3 0 (2) The cylindrical shell has 1. the radius y − (−1) (distance between the graph and the rotation axis) 2. the height (2 − y) − y 3. the thickness dy from 0 to 1. So we have the volume in the integral form: ˆ 1 8π V= 2π [y − (−1)] [(2 − y) − y] dy = . 3 0 (3) Notice that to find the volume using cylindrical shells, we would need to break the calculation into two pieces, since the height of the cylindrical shells would be different for x ∈ [0, 1] than for x ∈ [1, 2]. On the other hand, this is done easily by the method of washers, i.e., volume desired = volume of outer shell − volume of inner shell: ˆ 1 [ ] π (3 − y)2 − [3 − (2 − y)]2 dy = 4π . □ V= 0 Exercise 5.3.5. Find the volume of the solid obtained by rotating about the y–axis the region bounded by y = 2x2 − x3 and y = 0. A summary of strategies for computing volumes of solids of revolution. Volume of Solid Formed by Revolution 1. Sketch the region to be revolved. 2. Determine the variable of integration (x if the region has a well–defined top and bottom, y if the region has well–defined left and right boundaries). 3. Based on the axis of revolution and the variable of integration, determine the method (disks or washers for x–integration about a horizontal axis or y–integration about a vertical axis, shells for x–integration about a vertical axis or y–integration about a horizontal axis). 4. Label your picture with the inner and outer radii for disks or washers; label the radius and height for cylindrical shells. 5. Set up the integral(s) and evaluate. §5.4 Arc Length and Surface Area. Skip. Please read the textbook. §5.5 Projectile Motion. Skip. Please read the textbook. §5.6 Applications of Integration to Physics and Engineering. Skip. Please read the textbook. §5.7 Probability. Skip. Please read the textbook. Page 78 of 101 Chapter 6 Integration Techniques §6.1 Review of Formulas and Techniques. ˆ Example 6.1.1. Evaluate sin(ax) dx for a ̸= 0. A NSWER. Let u = ax. Then du = a dx, i.e., dx = du/a. So the integral becomes ˆ ˆ 1 1 1 sin(ax) dx = sin u du = − cos u + c = − sin(ax) + c, a a a where c is a constant. ˆ Example 6.1.2. Evaluate □ 1 a2 + x 2 dx for a ̸= 0. A NSWER. We rewrite the integrand: 1 a2 + x 2 So the integral becomes ˆ = 1 a2 (1 + x2 /a2 ) 1 1 dx = 2 2 2 a +x a ˆ = 1 1 . 2 a 1 + (x/a)2 1 dx. 1 + (x/a)2 We use the substitution technique: u = x/a, du = dx/a, i.e., dx = a du. ˆ ˆ ˆ ˆ 1 1 1 a 1 1 1 dx = dx = du = du a2 + x 2 a2 1 + (x/a)2 a2 1 + u2 a 1 + u2 (x) 1 1 = tan−1 u + c = tan−1 + c, a a a where c is a constant. Example 6.1.3. Evaluate □ ˆ (x2 − 5)2 dx. A NSWER. We just expand the integrand (x2 − 5)2 and integrate: ˆ ˆ ( 4 ) 10 1 2 2 (x − 5) dx = x − 10x2 + 25 dx = x5 − x3 + 25x + c, 5 3 □ where c is a constant. For next two examples, we need the following technique. Remark 6.1.4 (M ETHOD OF C OMPLETING S QUARE). For a quadratic function f (x) = ax2 +bx +c, we want to find its vertex form, i.e., f (x) = ax2 + bx + c = a (x − A)2 + B, where A and B are constants and (A, B) is called the vertex of the graph of the quadratic function f . How can we find A and B? Since the vertex is a local extremum, we use the critical number. f ′ (x) = 2ax + b = 0 at 79 x=− b , 2a Calculus I for Engineers Fall, 2010 which is the critical number of f . At this point, f has the value ) ( ) ) ( ( b b 2 b b2 − 4ac f − =a − +b − +c = − . 2a 2a 2a 4a Thus, the graph of f has the local extrema at the point (x, y) = (−b/(2a), −(b2 − 4ac)/4a) and it implies A = −b/(2a) and B = −(b2 − 4ac)/4a: ( ) b 2 b2 − 4ac f (x) = ax + bx + c = a x + − . 2a 4a ˆ 1 Example 6.1.5 (Difficult). Evaluate √ dx. −5 + 6x − x2 2 A NSWER. First, we convert the quadratic function −5 + 6x − x2 into the one of vertex form: −5 + 6x − x2 = − (x − 3)2 + 4, which implies 1 1 1 1 1 √ =√ =√ [ = √ ] ( x−3 )2 . ( x−3 )2 2 −5 + 6x − x2 4 − (x − 3)2 1− 2 4 1− 2 Hence, the integral becomes ˆ 1 1 √ dx = 2 −5 + 6x − x2 ˆ √ 1− 1 ( x−3 )2 dx. 2 Now the substitution u = (x − 3)/2 implies du = dx/2, i.e., dx = 2 du, and so ˆ ˆ ˆ 1 1 1 1 2 √ √ √ dx = dx = du ( ) 2 2 2 2 −5 + 6x − x 1 − u2 1 − x−3 2 ( ) ˆ 1 −1 −1 x − 3 = √ du = sin u + c = sin + c, 2 1 − u2 where c is a constant. ˆ Example 6.1.6 (Difficult). Evaluate □ 4x + 1 2x2 + 4x + 10 dx. A NSWER. We convert the quadratic function into the one of vertex form and of more useful form: [( ] )2 [ ] x + 1 2 2 2x2 + 4x + 10 = 2 (x + 1) + 8 = 2 (x + 1) + 4 = 8 +1 . 2 With this, the integral becomes ˆ 1 4x + 1 dx = 2x2 + 4x + 10 8 ˆ 4x + 1 dx. ( x+1 )2 + 1 2 The substitution u = (x + 1)/2 implies du = dx/2, i.e., dx = 2 du and 2u = x + 1, x = 2u − 1, 4x + 1 = 4(2u − 1) + 1 = 8u − 3. Page 80 of 101 Calculus I for Engineers Fall, 2010 With all the information, we change the integral: ˆ ˆ ˆ ˆ 2 8u − 3 4x + 1 1 4x + 1 1 8u − 3 dx = dx = du = du 2x2 + 4x + 10 8 ( x+1 )2 + 1 8 u2 + 1 4 u2 + 1 2 ˆ ˆ ˆ ˆ 1 2u 3 8u −3 1 1 = du + du = du − du 2 2 2 2 4 u +1 4 u +1 u +1 4 u +1 [( ] ) ( ) ( 2 ) 3 −1 x+1 2 3 −1 x + 1 = ln u + 1 − tan u + c = ln + 1 − tan + c, 4 2 4 2 where c is a constant. Here when evaluating the integral of 2u/(u2 + 1), we have used another substitution v = u2 + 1. □ Page 81 of 101 Calculus I for Engineers Fall, 2010 §6.2 Integration by Parts. □ 6.2.1 Integration by Parts: No Repetition. We recall that the chain rule in differentiation gives the substitution method in integration. The product rule in differentiation gives the integration by parts formula in integration. The product rule in differentiation says: [ f (x)g(x)]′ = f ′ (x)g(x) + f (x)g′ (x). When we take the integral on both sides of the equation, we get ˆ ˆ [ ′ ] ′ [ f (x)g(x)] dx = f (x)g(x) + f (x)g′ (x) dx ˆ ˆ ′ = f (x)g(x) dx + f (x)g′ (x) dx. Ignoring the constant of integration, the integral on the left–hand side is simply f (x)g(x), i.e., the equation becomes ˆ ˆ ′ f (x)g(x) = f (x)g(x) dx + f (x)g′ (x) dx. By rearranging it, we deduce the following theorem. Theorem 6.2.1 (I NTEGRATION B Y PARTS). ˆ ˆ ′ f (x)g (x) dx = f (x)g(x) − f ′ (x)g(x) dx, and ˆ ˆ ′ f (x)g(x) dx = f (x)g(x) − f (x)g′ (x) dx. (6.2.1) (6.2.2) Either (6.2.1) or (6.2.2) is called the integration by parts formula. Remark 6.2.2 (A NOTHER F ORM). Let u = f (x) and v = g(x). Then we have du d = f (x) = f ′ (x), dx dx d dv = g(x) = g′ (x), dx dx i.e., du = f ′ (x) dx, i.e., dv = g′ (x) dx. With this setup, the formula (6.2.1) becomes ˆ ˆ u dv = uv − v du, (6.2.3) which is another form of the integration by parts formula. The textbook uses the uv–form (6.2.3). Personally, I prefer the formula (6.2.1). When can this formula be useful? When should we use the formula? Why is the formula very powerful? We have two integrals in the formulas (6.2.1), (6.2.2) and (6.2.3): the one in the left–hand side and the other in the right–hand side. When we use the formula to the integral in the left–hand side, we obtain the integral in the right–hand side. So if the resulting integral (the one in the right–hand side) is more complicated than the original integral (the one in the left–hand side), then the formula is useless. The reason why we use the formula is to convert the given integral into a simpler integral so that we can solve the integral easily. Please keep in mind that the resulting integral (the one in the right–hand side) should be much simpler than the original integral (the one in the left–hand side). Page 82 of 101 Calculus I for Engineers Fall, 2010 ˆ Example 6.2.3. Evaluate x sin x dx. A NSWER. There are two functions x and sin x inside the integral. We have two choices. Choice 1 f (x) = x and g′ (x) = sin x. We deduce f ′ (x) = 1, g(x) = − cos x. By the integration by parts formula, we obtain ˆ ˆ x sin x dx = f (x)g′ (x) dx ˆ ˆ ′ = f (x)g(x) − f (x)g(x) dx = −x cos x − 1(− cos x) dx ˆ = −x cos x + cos x dx = −x cos x + sin x + c, (6.2.4) where c is a constant. Choice 2 f (x) = sin x and g′ (x) = x. We deduce f ′ (x) = cos x, g(x) = 1 2 x . 2 By the integration by parts formula, we obtain ˆ ˆ x sin x dx = f (x)g′ (x) dx ˆ ˆ 1 2 1 ′ x2 cos x dx. = f (x)g(x) − f (x)g(x) dx = x sin x − 2 2 ˆ ˆ 2 The resulting integral x cos x dx is much more difficult to solve than the original integral x sin x dx. For this reason, we observe that the second choice is bad and it makes the integration by parts formula to be useless. □ The example above raises two issues. • Issue 1: When we use the formula, it is very important to choose a better setup (Choice 1 rather than Choice 2). Which setup is a better one? In Choice 1 with f (x) = x, we have f ′ (x) = 1, which is in the resulting integral. But in choice 2 with f (x) = sin x, we have f ′ (x) = cos x, which is in the resulting integral. So a better setup should have f (x) as a function which can be vanished under the differentiation. • Issue 2: In the solution (Choice 1), we did not use the antiderivative g(x) = − cos x + c of g′ (x) = sin x, where c is a constant. Let us use the full expressions for f (x) = x and g′ (x) = sin x: f ′ (x) = 1, g(x) = − cos x + c, where c is a constant. By the integration by parts formula, we obtain ˆ ˆ ˆ ′ x sin x dx = f (x)g (x) dx = f (x)g(x) − f ′ (x)g(x) dx ˆ ˆ ˆ = x (− cos x + c) − 1 (− cos x + c) dx = −x cos x + cx + cos x dx − c dx ˆ ˆ = −x cos x + cx + cos x dx − cx = −x cos x + cos x dx = −x cos x + sin x + d, where d is a constant. We have the same result as the equation (6.2.4) in the solution. For this reason, we do not put the constant of integration in the antiderivative g(x) of g′ (x). Page 83 of 101 Calculus I for Engineers Fall, 2010 ˆ Exercise 6.2.4. Evaluate x cos x dx. A NSWER. If you get the integrand, x cos x, by differentiating your answer, then your answer is correct. ˆ Example 6.2.5. Evaluate ln x dx. □ A NSWER. Since ln x = (ln x) 1, so we can choose f (x) = ln x and g′ (x) = 1 so that 1 f ′ (x) = , x g(x) = x. By the integration by parts formula, we obtain ˆ ˆ ˆ ′ ln x dx = f (x)g (x) dx = f (x)g(x) − f ′ (x)g(x) dx ˆ ˆ 1 = x ln x − x dx = x ln x − dx = x ln x − x + c = x (ln x − 1) + c, x where c is a constant. Exercise 6.2.6. Evaluate □ ˆ (ln x)2 dx. A NSWER. When you differentiate your answer and get the integrand, (ln x)2 , your answer is correct. □ □ 6.2.2 Integration by Parts: Repetition. Frequently, we need to use the integration by parts formula repeatedly. ˆ Example 6.2.7. Evaluate x2 sin x dx. A NSWER. Let f (x) = x2 and g′ (x) = sin x. Then we deduce f ′ (x) = 2x, g(x) = − cos x. By the integration by parts formula, we obtain ˆ ˆ 2 2 x sin x dx = −x cos x + 2 x cos x dx. (6.2.5) For the second integral in the right–hand side, we choose f (x) = x and g′ (x) = cos x to use the integration by parts formula again: f ′ (x) = 1, g(x) = sin x. The integration by parts formula implies ˆ ˆ x cos x dx = x sin x − sin x dx = x sin x + cos x + c, (6.2.6) where c is a constant. Putting the result (6.2.6) to the equation (6.2.5), we conclude ˆ ˆ 2 2 x sin x dx = −x cos x + 2 x cos x dx = −x2 cos x + 2 (x sin x + cos x + c) ( ) = −x2 cos x + 2x sin x + 2 cos x + 2c = −x2 + 2 cos x + 2x sin x + d, □ where d is a constant. Page 84 of 101 Calculus I for Engineers Fall, 2010 ˆ Exercise 6.2.8. Evaluate x2 e3x dx. □ A NSWER. If you get the integrand, x2 e3x , by differentiating your answer, then your answer is correct. ˆ Example 6.2.9. Evaluate e2x sin x dx. A NSWER. Let f (x) = e2x and g′ (x) = sin x. Then we get f ′ (x) = 2e2x , g(x) = − cos x. The integration by parts formula implies ˆ ˆ 2x 2x e sin x dx = −e cos x + 2 e2x cos x dx. (6.2.7) For the second integral in the right–hand side, we choose f (x) = e2x and g′ (x) = cos x to use the integration by parts formula again: f ′ (x) = 2e2x , g(x) = sin x. The integration by parts formula implies ˆ ˆ 2x 2x e cos x dx = e sin x − 2 e2x sin x dx (6.2.8) where c is a constant. Putting the result (6.2.8) to the equation (6.2.7), we conclude ( ) ˆ ˆ ˆ 2x 2x 2x 2x 2x 2x e sin x dx = −e cos x + 2 e cos x dx = −e cos x + 2 e sin x − 2 e sin x dx ˆ 2x 2x = −e cos x + 2e sin x − 4 e2x sin x dx ˆ 2x = e (− cos x + 2 sin x) − 4 e2x sin x dx. (6.2.9) ´ 2x Observe that the last integral that we started with. Treating the integral e sin x dx as the unknown, we can ´ add 4 e2x sin x dx on both sides of equation (6.2.9), leaving ˆ 5 e2x sin x dx = e2x (− cos x + 2 sin x) + c, where we have added the constant of integration c on the right–hand side. Dividing both sides by 5 gives ˆ 1 e2x sin x dx = e2x (− cos x + 2 sin x) + d, 5 where we have replaced the constant for integration c/5 by d. □ Remark 6.2.10. Let us solve the Example above in a different way. Let f (x) = e2x and g′ (x) = sin x. Then we get f ′ (x) = 2e2x , g(x) = − cos x. The integration by parts formula implies ˆ ˆ 2x 2x e sin x dx = −e cos x + 2 e2x cos x dx. Page 85 of 101 (6.2.10) Calculus I for Engineers Fall, 2010 For the integral in the right–hand side of the equation (6.2.10), we choose f (x) = cos x and g′ (x) = e2x to use the integration by parts formula again: f ′ (x) = − sin x, g(x) = e2x . 2 The integration by parts formula implies ˆ e2x 1 e cos x dx = cos x + 2 2 2x ˆ e2x sin x dx (6.2.11) where c is a constant. Putting the result (6.2.11) to the equation (6.2.10), we conclude ( 2x ) ˆ ˆ ˆ 1 e 2x 2x 2x 2x 2x e sin x dx = −e cos x + 2 e cos x dx = −e cos x + 2 cos x + e sin x dx 2 2 ˆ ˆ 2x 2x 2x = −e cos x + e cos x + e sin x dx = e2x sin x dx. So we have deduced nothing in the end. It’s because we switched the order for the second integral. If we choose f (x) = exponential function and g′ (x) = trigonometric function for the first integral (6.2.10), then for the second integral (6.2.11), we should keep the order, i.e., f (x) = exponential function and g′ (x) = trigonometric function for the second integral (6.2.11). ˆ Exercise 6.2.11. Evaluate e2x cos x dx. A NSWER. If you get the integrand, e2x cos x, by differentiating your answer, then your answer is correct. □ Example 6.2.12 (Reduction Formula). For any positive integer n, the integration by parts formula implies ˆ ˆ n x n x x e dx = x e − n xn−1 ex dx. ˆ Example 6.2.13. Evaluate x4 ex dx. A NSWER. By the reduction formula, we have ˆ ˆ 4 x 4 x x e dx = x e − 4 x3 ex dx. Again by the reduction formula, we have ( ) ˆ ˆ ˆ 4 x 4 x 3 x 2 x 4 x 3 x x e dx = x e − 4 x e − 3 x e dx = x e − 4x e + 12 x2 ex dx. Again by the reduction formula, we have ˆ ˆ 4 x 4 x 3 x x e dx = x e − 4x e + 12 x2 ex dx ( ) ˆ 4 x 3 x 2 x x = x e − 4x e + 12 x e − 2 xe dx ˆ 4 x 3 x 2 x = x e − 4x e + 12x e − 24 xex dx. Page 86 of 101 Calculus I for Engineers Fall, 2010 Again by the reduction formula, we have ˆ ˆ 4 x 4 x 3 x 2 x x e dx = x e − 4x e + 12x e − 24 xex dx ( ) ˆ 4 x 3 x 2 x x x = x e − 4x e + 12x e − 24 xe − e dx = x4 ex − 4x3 ex + 12x2 ex − 24 (xex − ex + c) ( ) = x4 − 4x3 + 12x2 − 24x + 24 ex + d, □ where c and d are arbitrary constants. □ 6.2.3 Integration by Parts Formula for Definite Integrals. The integration by parts algorithm for definite integrals is simply ˆ b [ ′ f (x)g (x) dx = ]b f (x)g(x) a a ˆ Example 6.2.14. Evaluate 2 ˆ − b f ′ (x)g(x) dx. a x3 ln x dx. 1 A NSWER. We choose f (x) = ln x and g′ (x) = x3 . Then, 1 f ′ (x) = , x g(x) = x4 . 4 By the integration by parts formula, we have ˆ ]2 1 ˆ 2 ]2 1 [ ]2 x4 [ x4 [ x ln x dx = ln x − x3 dx = ln x − x4 4 4 4 16 1 1 1 1 1 ( ) 16 1 4 15 = ln 2 − 2 − 14 = 4 ln 2 − . 4 16 16 ˆ 1 Exercise 6.2.15. Evaluate x sin(2x) dx. 2 3 0 Integration by parts formula is the most powerful tool in our integration arsenal. Page 87 of 101 □ Calculus I for Engineers Fall, 2010 §6.3 Trigonometric Techniques of Integration. In this section, we study two topics: Integrals Involving Powers of Trigonometric Functions and Trigonometric Substitution. The following results will be useful computing the integrals of trigonometric functions: ˆ ˆ 1 1 sin (ax) dx = − cos (ax) + c, cos (ax) dx = sin (ax) + c, a a ˆ 1 1 tan (ax) dx = − ln | cos (ax) | + c = ln | sec (ax) | + c, a a ˆ ˆ 1 1 sec2 (ax) dx = tan (ax) + c, sec (ax) tan (ax) dx = sec (ax) + c a a □ 6.3.1 Integrals Involving Powers of Trigonometric Functions. We develop the method to evaluate an integral of trigonometric functions of various forms. Two forms are discussed: ˆ ˆ m n sin x cos x dx, and tanm x secn x dx, where m and n are positive integers. Form I. ˆ sinm x cosn x dx Form I-Case 1. m or n is an odd positive integer. Method. • When m is odd: 1. Isolate one factor of sin x. 2. Replace any factors of sin2 x with 1 − cos2 x. 3. Make the substitution u = cos x. • When n is odd: 1. Isolate one factor of cos x. 2. Replace any factors of cos2 x with 1 − sin2 x. 3. Make the substitution u = sin x. ˆ Example 6.3.1. Evaluate sin x cos4 x dx. A NSWER. Even though the integrand is of form with m = 1, we do not have to use the method. The simple substitution u = cos x implies du = − sin x dx and so ˆ ˆ sin x cos x dx = − 4 where c is a constant. Example 6.3.2. Evaluate u4 du = − cos5 x u5 +c = − + c, 5 5 □ ˆ sin3 x cos4 x dx. A NSWER. Since the integrand is of form with m = 3, we use the method (the one when m is odd). ˆ ˆ ˆ 3 4 2 4 sin x cos x dx = sin x sin x cos x dx = sin x(1 − cos2 x) cos4 x dx. Page 88 of 101 Calculus I for Engineers Fall, 2010 The substitution u = cos x implies du = − sin x dx and so ˆ ˆ ˆ ˆ ( ) 3 4 2 4 2 4 sin x cos x dx = sin x(1 − cos x) cos x dx = − (1 − u )u du = u6 − u4 du = ) u7 u5 cos7 x cos5 x cos5 x ( − +c = − +c = 5 cos2 x − 7 + c, 7 5 7 5 35 □ where c is a constant. ˆ √ Example 6.3.3. Evaluate sin x cos5 x dx. A NSWER. Since the integrand is of form with n = 5, we use the method (the one when n is odd). ˆ √ ˆ √ ˆ √ 5 2 2 sin x cos x dx = sin x (cos x) cos x dx = sin x (1 − sin2 x)2 cos x dx. The substitution u = sin x implies du = cos x dx and so ˆ √ ˆ √ 5 sin x cos x dx = sin x (1 − sin2 x)2 cos x dx ˆ ˆ ˆ [ ] ) √ √ ( 4 2 2 2 = u (1 − u ) du = u u − 2u + 1 du = u9/2 − 2u5/2 + u1/2 du 2 sin11/2 x 4 sin7/2 x 2 sin3/2 x 2u11/2 4u7/2 2u3/2 − + +c = − + +c 11 √ 7 3 11 7 3 ) 2 sin x sin x ( = 21 sin4 x − 66 sin2 x + 77 + c, 231 = □ where c is a constant. Form I-Case 2. m and n are even positive integers. Method. We use the half–angle formulas: sin2 x = ˆ 1 − cos(2x) , 2 and cos2 x = 1 + cos(2x) . 2 sin2 x dx. Example 6.3.4. Evaluate A NSWER. By the half–angle formula, we have [ ] ˆ ˆ 1 1 sin(2x) 1 2 sin x dx = [1 − cos(2x)] dx = x− + c = [2x − sin(2x)] + c, 2 2 2 4 where c is a constant. Example 6.3.5. Evaluate □ ˆ cos4 x dx. A NSWER. By the half–angle formula, we have ) ˆ ˆ ˆ ( 1 + cos(2x) 2 4 2 2 cos x dx = (cos x) dx = dx 2 ) ˆ ˆ ( ) 1 1 + cos(4x) 1 ( 2 1 + 2 cos(2x) + cos (2x) dx = 1 + 2 cos(2x) + dx = 4 4 2 [ ( )] 1 1 sin(4x) 1 = [12x + 8 sin(2x) + sin(4x)] + c, x + sin(2x) + x+ +c = 4 2 4 32 □ where c is a constant. Page 89 of 101 Calculus I for Engineers Form II. Fall, 2010 ˆ tanm x secn x dx Form II-Case 1. m is an odd positive integer. Method. 1. Isolate one factor of tan x sec x. 2. Replace any factors of tan2 x with sec2 x − 1. 3. Make the substitution u = sec x. ˆ Example 6.3.6. Evaluate tan3 x sec3 x dx. A NSWER. By the method, we isolate tan x and rewrite the integral: ˆ ˆ ˆ ( 2 ) 3 3 2 2 tan x sec x dx = tan x sec x tan x sec x dx = sec x − 1 sec2 x tan x sec x dx. The substitution u = sec x implies du = sec x tan x dx and so ˆ ˆ ˆ ( 2 ) 2 ( 2 ) 3 3 tan x sec x dx = sec x − 1 sec x tan x sec x dx = u − 1 u2 du ˆ ( 4 ) u5 u3 sec5 x sec3 x = u − u2 du = − + c = − + c, 5 3 5 3 □ where c is a constant. Form II-Case 2. n is an even positive integer. Method. 1. Isolate one factor of sec2 x. 2. Replace any factors of sec2 x with 1 + tan2 x. 3. Make the substitution u = tan x. ˆ Example 6.3.7. Evaluate tan2 x sec4 x dx. A NSWER. By the method, we isolate sec2 x and rewrite the integral: ˆ ˆ ˆ 2 4 2 2 2 tan x sec x dx = tan x sec x sec x dx = tan2 x(1 + tan2 x) sec2 x dx. The substitution u = tan x implies du = sec2 x dx and so ˆ ˆ ˆ 2 4 2 2 2 tan x sec x dx = tan x(1 + tan x) sec x dx = u2 (1 + u2 ) du ˆ ( 2 ) tan3 x tan5 x u3 u5 + + c, = u + u4 du = + + c = 3 5 3 5 □ where c is a constant. Form II-Case 3. m is an even positive integer and n is an odd positive integer. Method. 1. Replace any factors of tan2 x with sec2 x − 1. Page 90 of 101 Calculus I for Engineers Fall, 2010 2. Use the special reduction formula: for any integer a > 1, ˆ 1 a−2 sec x dx = seca−2 x tan x + a−1 a−1 a ˆ seca−2 x dx. ˆ Example 6.3.8. Evaluate sec x dx. A NSWER 1 (T EXTBOOK ). ˆ ˆ sec x dx = ( sec x + tan x sec x sec x + tan x ) ˆ dx = sec2 x + sec x tan x dx. sec x + tan x ( ) The substitution u = sec x + tan x implies du = sec x tan x + sec2 x dx and so ˆ ˆ sec2 x + sec x tan x dx = sec x + tan x sec x dx = ˆ 1 du = ln |u| + c = ln |sec x + tan x| + c, u □ where c is a constant. A NSWER 2 (I DENTITY ). We observe tan x + cos x sin x cos x sin x + sin2 x + cos2 sin x + 1 1 = + = = = = sec x. 1 + sin x cos x 1 + sin x cos x (1 + sin x) cos x (1 + sin x) cos x Using the identity, we have ˆ ˆ ˆ cos x dx 1 + sin x ˆ ˆ sin x cos x = dx + dx = − ln | cos x| + ln |1 + sin x| + c. cos x 1 + sin x sec x dx = tan x dx + Here for the first integral, the substitution u = cos x is used while v = 1 + sin x is used for the second integral. □ A NSWER 3 (PARTIAL F RACTION IN S ECTION 6.4). We observe [ ] 1 cos x cos x cos x 1 cos x cos x sec x = = = = = + , cos x cos2 x 1 − sin2 x (1 + sin x)(1 − sin x) 2 1 + sin x 1 − sin x by the Partial Fraction Technique in Section 6.4. Using the fractions, we get ˆ 1 sec x dx = 2 [ˆ cos x dx + 1 + sin x ˆ ] cos x 1 dx = [ln |1 + sin x| − ln |1 − sin x|] + c 1 − sin x 2 Here for the first integral, the substitution u = 1 + sin x is used while v = 1 − sin x is used for the second integral. □ The three results look different. But in fact, they are all same. One can prove this by using the basic formulas on trigonometric functions. Page 91 of 101 Calculus I for Engineers Fall, 2010 □ 6.3.2 Trigonometric Substitution. √ √ √ When the integrand is of form a2 − x2 , a2 + x2 or x2 − a2 for some a > 0, we use the √ so–called trigonometric substitution to evaluate the integral. We discuss three integrals: integrals involving a2 − x 2 , √ √ 2 2 2 2 a + x and x − a for√some a > 0. Case 1. Integral involving a2 − x2 . Method. We use the substitution u = a sin θ with −π /2 ≤ θ ≤ π /2. (One can take u = a cos θ with 0 ≤ θ ≤ π .) The identity 1 − sin2 θ = cos2 θ plays the important role. ˆ 1 x √ Example 6.3.9. Evaluate dx. 4 − x2 0 A NSWER 1. (U SING T RIGONOMETRIC S UBSTITUTION x = 2 sin θ ). Let x = 2 sin θ with −π /2 ≤ θ ≤ π /2. Then √ √ √ √ 2 2 4 − x = 4 − 4 sin θ = 4(1 − sin2 θ ) = 4 cos2 θ √ = (2 cos θ )2 = |2 cos θ | = 2 cos θ , dx = 2 cos θ dθ , π θ = 0; and x = 1 −→ 1 = 2 sin θ , θ= . x = 0 −→ 0 = 2 sin θ , 6 Hence, the integral becomes ˆ ˆ π /6 ]π /6 [ √ 2 sin θ √ sin θ dθ = −2 cos θ dx = 2 cos θ dθ = 2 = 2− 3. 2 cos θ 0 4 − x2 0 0 0 √ √ A NSWER 2. (U SING S UBSTITUTION u = 4 − x2 ). Let u = 4 − x2 . Then 1 ˆ x π /6 u2 = 4 − x 2 , x=0 −→ 2u du = −2x dx, x dx = −u du √ u = 4 − 02 = 2; and x = 1 −→ u= √ 4 − 12 = □ √ 3. Hence, the integral becomes ˆ 0 1 x √ dx = 4 − x2 ˆ 2 √ 3 1 (−u) du = u ˆ 2 √ 3 √ 1 du = 2 − 3 . □ √ Case 2. Integral involving a2 + x2 . Method. We use the substitution u = a tan θ with −π /2 < θ < π /2. The identity tan2 θ + 1 = sec2 θ plays the important role. ˆ 1 Example 6.3.10. Evaluate √ dx. x2 + 4 A NSWER. Let x = 2 tan θ with −π /2 < θ < π /2. Then we have √ √ √ √ x2 + 4 = 4 tan2 θ + 4 = 4(tan2 θ + 1) = 4 sec2 θ √ = (2 sec θ )2 = |2 sec θ | = 2 sec θ , dx = 2 sec2 θ dθ . Hence, the integral becomes ˆ ˆ ˆ 1 1 2 √ dx = (2 sec θ ) dθ = sec θ dθ = ln | sec θ + tan θ | + c, 2 sec θ x2 + 4 where c is an arbitrary constant. Page 92 of 101 Calculus I for Engineers Fall, 2010 WE MUST BE CAREFUL! This should not be the end of the solution, because the result is the function of θ , while the integral given in the problem is the function of x. So, we should convert the resulting function of θ into the function of x. How? The substitution x = 2 tan θ implies x tan θ = , 2 2 cos θ = √ , 2 x +4 x sin θ = √ , 2 x +4 by considering a right triangle with angle θ . Thus, finally, we have √ ˆ x2 + 4 x 1 √ dx = ln | sec θ + tan θ | + c = ln + +c 2 2 2 x +4 √ √ x2 + 4 + x √ 2 2 = ln + c = ln x + 4 + x − ln 2 + c = ln x + 4 + x + d, 2 where d = − ln 2 + c is an arbitrary constant. □ √ Case 3. Integral involving x2 − a2 . Method. We use the substitution u = a sec θ with θ ∈ [0, π /2) ∪ (π /2, π ]. The identity sec2 θ − 1 = tan2 θ plays the important role. ˆ √ Example 6.3.11. Evaluate x3 x2 − 1 dx. A NSWER. Let x = sec θ with θ ∈ [0, π ] − {π /2}. Then we have √ √ √ x2 − 1 = sec2 θ − 1 = tan2 θ , dx = tan θ sec θ dθ . Hence, the integral becomes ˆ √ ˆ ˆ √ 3 3 2 2 x x − 1 dx = sec θ tan θ (tan θ sec θ ) dθ = tan2 θ sec4 θ dθ = tan5 θ tan3 θ + + c, 5 3 by the Example 6.3.7. The substitution x = sec θ implies √ x2 − 1 1 cos θ = , sin θ = , x x tan θ = √ x2 − 1 , by considering a right triangle with angle θ . Thus, finally, we have )5 (√ )3 (√ ˆ √ 2 −1 2 −1 5 x x 3 tan θ tan θ + +c = + +c x3 x2 − 1 dx = 5 3 5 3 (x2 − 1)5/2 (x2 − 1)3/2 = + + c, 5 3 □ where c is an arbitrary constant. We summarize the three trigonometric substitutions presented here in the following table. Expression √ a2 − x 2 √ a2 + x 2 √ x2 − a2 Trigonometric Substitution Interval Identity x = a sin θ −π /2 ≤ θ ≤ π /2 1 − sin2 θ = cos2 θ x = a tan θ −π /2 < θ < π /2 1 + tan2 θ = sec2 θ x = a sec θ θ ∈ [0, π ] − {π /2} sec2 θ − 1 = tan2 θ Page 93 of 101 Calculus I for Engineers Fall, 2010 §6.4 Integration of Rational Functions using Partial Fractions. □ 6.4.1 Division Algorithm. A rational number is of form p/q, where p and q ̸= 0 are integers. A rational function is of form P(x)/Q(x), where P(x) and Q(x) ̸= 0 are polynomials. By the Division Algorithm on rational numbers, a rational number 9/4 can be expressed: 1 9 = 2+ . 4 4 By the Division Algorithm on rational functions (which will be explained in class), a rational function (2x + 3)/(x + 7) can be expressed: 2x + 3 11 = 2− . x+7 x+7 As another example, we get x3 + 2x2 + 6x + 6 1 = x2 + x + 5 + . x+1 x+1 When do we use the algorithm? In a rational number p/q, when p is bigger than or equal to q, we use the algorithm. By the same reason, in a rational function P(x)/Q(x), when the degree of the polynomial P(x) is bigger than or equal to the degree of the polynomial Q(x), we use the algorithm. Why do we use the algorithm? It’s because we can evaluate the integral of the rational function easily: ) ˆ ˆ ( 2x + 3 11 dx = dx = 2x − 11 ln |x + 7| + c, 2− x+7 x+7 ) ˆ 3 ˆ ( x + 2x2 + 6x + 6 x3 x 2 1 2 dx = dx = + + 5x + ln |x + 1| + c, x +x+5+ x+1 x+1 3 2 where c is an arbitrary constant. Applying the Division Algorithm to a rational function P(x)/Q(x), we have P(x) S(x) = R(x) + , Q(x) Q(x) where S(x) is a polynomial which has the degree less than the degree of the polynomial Q(x). We develop a method to separate S(x)/Q(x) into several terms so that we can integrate P(x)/Q(x) much easily. We study only three forms of S(x)/Q(x). S(x) □ 6.4.2 Form I. (ax+b)(cx+d) , where the degree of the polynomial S(x) is less than 2. Let us start with an example. Example 6.4.1. ˆ 3 x2 + x − 2 A NSWER. We observe It implies ˆ dx. 1 x + 2 − (x − 1) 3 1 − = = 2 . x−1 x+2 (x − 1)(x + 2) x +x−2 3 dx = x2 + x − 2 ˆ ( 1 1 − x−1 x+2 (6.4.1) ) dx = ln |x − 1| − ln |x + 2| + c, □ where c is an arbitrary constant. Page 94 of 101 Calculus I for Engineers Fall, 2010 How can we deduce the left–hand side of the equation (6.4.1) in the solution above? We use the following technique. Technique Using Partial Fractions (Linear Denominator) Step 1. Factor the Denominator. 3 3 = . (6.4.2) 2 x + x − 2 (x − 1)(x + 2) Step 2. Rewrite into Terms of Factors. 3 = x2 + x − 2 3 A B = + , (x − 1)(x + 2) x − 1 x + 2 (6.4.3) where A and B are constants. We will find them in the next step. Step 3. Find Constants. Multiplying the equation (6.4.3) by (x − 1)(x + 2), we get 3(x − 1)(x + 2) A(x − 1)(x + 2) B(x − 1)(x + 2) = + = A(x + 2) + B(x − 1), (x − 1)(x + 2) x−1 x+2 3 = A(x + 2) + B(x − 1). 3= i.e., (6.4.4) Putting x = 1 into the equation (6.4.4), we get 3 = 3A, A = 1. Putting x = −2 into the equation (6.4.4), we get 3 = −3B, B = −1. Therefore, the equation (6.4.3) becomes 3 1 1 = − . x2 + x − 2 x − 1 x + 2 The right–hand side of the equation, 3 side, x2 +x−2 . ˆ Example 6.4.2. Evaluate 1 1 x−1 − x+2 , is called the partial fractions decomposition of the left–hand 1 x2 + x − 6 dx. A NSWER. We rewrite the integrand as follows and find the constants A, B: 1 x2 + x − 6 = 1 A B = + . (x − 2)(x + 3) x − 2 x + 3 Multiplying the equation by (x − 2)(x + 3), we get 1 = A(x + 3) + B(x − 2). Putting x = 2 into the equation, we have 1 = 5A, A = 1/5. Putting x = −3 into the equation, we have 1 = −5B, B = −1/5. Therefore, we deduce 1 1 1 1 1 1 1 = = · − · = x2 + x − 6 (x − 2)(x + 3) 5 x − 2 5 x + 3 5 ( ) 1 1 − . x−2 x+3 Using the equation, we evaluate the given integral: ) ˆ ˆ ( 1 1 1 1 1 dx = − dx = (ln |x − 2| − ln |x + 3|) + c. 2 x +x−6 5 x−2 x+3 5 ˆ Example 6.4.3. Evaluate 3x x2 − 3x − 4 dx. Page 95 of 101 □ Calculus I for Engineers Fall, 2010 A NSWER. We rewrite the integrand as follows and find the constants A, B: 3x x2 − 3x − 4 = 3x A B = + . (x − 4)(x + 1) x − 4 x + 1 Multiplying the equation by (x − 4)(x + 1), we get 3x = A(x + 1) + B(x − 4). Putting x = 4 into the equation, we have 12 = 5A, A = 12/5. Putting x = −1 into the equation, we have −3 = −5B, B = 3/5. Therefore, we deduce ( ) 3x 3x 12 1 3 1 3 4 1 = = · + · = + . x2 − 3x − 4 (x − 4)(x + 1) 5 x−4 5 x+1 5 x−4 x+1 Using the equation, we evaluate the given integral: ) ˆ ˆ ( 3x 4 3 3 1 dx = + dx = (4 ln |x − 4| + ln |x + 1|) + c. (x − 4)(x + 1) 5 x−4 x+1 5 ˆ ax + b Remark 6.4.4 (A SIDE). Evaluate dx. (cx + d)(ex + f ) □ A NSWER. We rewrite the integrand as follows and find the constants A, B: ax + b A B = + . (cx + d)(ex + f ) cx + d ex + f Multiplying the equation by (cx + d)(ex + f ), we get ax + b = A(ex + f ) + B(cx + d). Putting x = −d/c into the equation, we have ( ) ad de − +b = A − + f , c c Putting x = − f /e into the equation, we have ( ) cf af − +b = B − +d , e e −ad + bc = A (−de + f c) , A= ad − bc . de − f c −a f + be = B (−c f + de) , B= be − a f . de − c f Therefore, we deduce ax + b ad − bc 1 be − a f 1 1 = · + · = (cx + d)(ex + f ) de − f c cx + d de − c f ex + f de − f c ( ad − bc be − a f + cx + d ex + f Using the equation, we evaluate the given integral: ) ˆ ( ˆ 1 ad − bc be − a f ax + b dx = + dx (cx + d)(ex + f ) de − f c cx + d ex + f ) ( 1 be − a f ad − bc = ln |cx + d| + ln |ex + f | + c. de − f c c e We can generalize the method to the fraction whose denominator has three terms. Page 96 of 101 ) . □ Calculus I for Engineers Fall, 2010 Example 6.4.5. Evaluate 3x2 − 7x − 2 dx. x3 − x A NSWER. We rewrite the integrand as follows and find the constants A, B, and C: 3x2 − 7x − 2 3x2 − 7x − 2 A B C = = + + . 3 x −x x(x − 1)(x + 1) x x−1 x+1 Multiplying the equation by x(x − 1)(x + 1), we get 3x2 − 7x − 2 = A(x − 1)(x + 1) + Bx(x + 1) +Cx(x − 1). Putting x = 0 into the equation, we have −2 = −A, A = 2. Putting x = 1 into the equation, we have −6 = 2B, B = −3. Putting x = −1 into the equation, we have 8 = 2C, C = 4. Therefore, we deduce 3x2 − 7x − 2 3x2 − 7x − 2 2 3 4 = = − + . 3 x −x x(x − 1)(x + 1) x x − 1 x + 1 Using the equation, we evaluate the given integral: ˆ 3x2 − 7x − 2 dx = x3 − x ˆ ˆ ( 3 4 2 − + x x−1 x+1 3x + 8 Example 6.4.6. Evaluate x3 + 5x2 + 6x ) dx = 2 ln |x| − 3 ln |x − 1| + 4 ln |x + 1| + c. □ dx. A NSWER. We rewrite the integrand as follows and find the constants A, B, and C: 3x + 8 3x + 8 A B C = = + + . x3 + 5x2 + 6x x(x + 2)(x + 3) x x+2 x+3 Multiplying the equation by x(x + 2)(x + 3), we get 3x + 8 = A(x + 2)(x + 3) + Bx(x + 3) +Cx(x + 2). Putting x = 0 into the equation, we have 8 = 6A, A = 4/3. Putting x = −2 into the equation, we have 2 = 2B, B = 1. Putting x = −3 into the equation, we have −1 = 3C, C = −1/3. Therefore, we deduce 3x + 8 x3 + 5x2 + 6x = 3x + 8 4 1 1 1 1 = · + − · . x(x + 2)(x + 3) 3 x x + 2 3 x + 3 Using the equation, we evaluate the given integral: ˆ 3x + 8 dx = x3 + 5x2 + 6x ˆ ( 4 1 1 1 1 · + − · 3 x x+2 3 x+3 ) dx = Page 97 of 101 1 4 ln |x| + ln |x + 2| − ln |x + 3| + c. 3 3 □ Calculus I for Engineers Fall, 2010 S(x) □ 6.4.3 Form II. (ax+b) n , where the degree of the polynomial S(x) is less than n. Let us start with an example. Example 6.4.7. ˆ 2x + 3 dx. (x − 1)2 A NSWER. We rewrite the integrand as follows and find the constants A, B: A B 2x + 3 = + . (x − 1)2 x − 1 (x − 1)2 Multiplying the equation by (x − 1)2 , we get 2x + 3 = A(x − 1) + B. Putting x = 1 into the equation, we have 5 = B. Putting x = 2 into the equation, we have 7 = A + B, A = 7 − B. Since B = 5, so A = 7 − 5 = 2. Therefore, we deduce 2x + 3 2 5 = + . 2 (x − 1) x − 1 (x − 1)2 Using the equation, we evaluate the given integral: ) ˆ ˆ ( 2x + 3 2 5 5 dx = + dx = 2 ln |x − 1| − + c. (x − 1)2 x − 1 (x − 1)2 x−1 Technique Using Partial Fractions (Repetition) The main idea of the method is to separate the rational function in the following form: 2x + 3 A B = + . 2 (x − 1) x − 1 (x − 1)2 Generally, A1 A2 An−1 An S(x) = + +···+ + . n 2 n−1 (ax + b) ax + b (ax + b) (ax + b) (ax + b)n Then the integral becomes ˆ S(x) dx (ax + b)n ) ˆ ( A2 An−1 An A1 + +···+ + dx = ax + b (ax + b)2 (ax + b)n−1 (ax + b)n A1 A2 1 An−1 1 An 1 = ln |ax + b| − · +···− · − · + c. n a a ax + b an (ax + b) a(n + 1) (ax + b)n+1 ˆ 5x2 + 20x + 6 dx. Example 6.4.8. Evaluate x3 + 2x2 + x A NSWER. We rewrite the integrand as follows and find the constants A, B, and C: 5x2 + 20x + 6 5x2 + 20x + 6 A B C = = + + . 3 2 2 x + 2x + x x(x + 1) x x + 1 (x + 1)2 Multiplying the equation by x(x + 1)2 , we get 5x2 + 20x + 6 = A(x + 1)2 + Bx(x + 1) +Cx. Page 98 of 101 □ Calculus I for Engineers Fall, 2010 Putting x = 0 into the equation, we have 6 = A. Putting x = −1 into the equation, we have −9 = −C, C = 9. Putting x = 1 into the equation, we have 31 = 4A + 2B + c. Using A = 6 and C = 9, we get 31 = 24 + 2B + 9, B = −1. Therefore, we deduce 1 9 5x2 + 20x + 6 5x2 + 20x + 6 6 = = − + . 3 2 2 x + 2x + x x(x + 1) x x + 1 (x + 1)2 Using the equation, we evaluate the given integral: ) ˆ ˆ ( 5x2 + 20x + 6 6 1 9 9 dx = − + dx = 6 ln |x| − ln |x + 1| − + c. x3 + 2x2 + x x x + 1 (x + 1)2 x+1 ˆ x−1 Example 6.4.9. Evaluate dx. 3 x + 4x2 + 4x □ A NSWER. We rewrite the integrand as follows and find the constants A, B, and C: x−1 x3 + 4x2 + 4x = x−1 A B C = + . + 2 x(x + 2) x x + 2 (x + 2)2 Multiplying the equation by x(x + 2)2 , we get x − 1 = A(x + 2)2 + Bx(x + 2) +Cx. Putting x = 0 into the equation, we have −1 = 4A, A = −1/4. Putting x = −2 into the equation, we have −3 = −2C, C = 3/2. Putting x = −1 into the equation, we have −2 = A − B −C, B = −1/4. Therefore, we deduce x−1 x3 + 4x2 + 4x = x−1 1 1 1 1 3 1 =− · − · + · . 2 x(x + 2) 4 x 4 x + 2 2 (x + 2)2 Using the equation, we evaluate the given integral: ) ˆ ˆ ( x−1 1 3 1 1 1 1 dx = + · dx − · − · x3 + 4x2 + 4x 4 x 4 x + 2 2 (x + 2)2 1 1 3 = − ln |x| − ln |x + 2| − +c 4 4 2(x + 2) ( ) 1 6 =− ln |x| + ln |x + 2| + + c. 4 x+2 S(x) □ 6.4.4 Form III. (ax2 +bx+c)(dx 2 +ex+ f ) , where the degree of S(x) is less than 4. Let us start with an example. Example 6.4.10. ˆ 2x2 − 5x + 2 dx. x3 + x A NSWER. We rewrite the integrand as follows and find the constants A, B: 2x2 − 5x + 2 2x2 − 5x + 2 A Bx +C = = + 2 . x3 + x x(x2 + 1) x x +1 Multiplying the equation by x(x2 + 1), we get 2x2 − 5x + 2 = A(x2 + 1) + (Bx +C)x = (A + B)x2 +Cx + A. Page 99 of 101 □ Calculus I for Engineers Fall, 2010 Comparing the coefficients, we deduce −5 = C, 2 = A + B, 2 = A. That is, A = 2, B = 0, and C = −5. It implies 2x2 − 5x + 2 2 5 = − 2 . 3 x +x x x +1 Using the equation, we evaluate the given integral: ) ˆ ˆ ( 2x2 − 5x + 2 2 5 dx = 2 ln |x| − 5 tan−1 x + c. dx = − 2 3 x +x x x +1 □ Technique Using Partial Fractions (Quadratic Denominator) The main idea of the method is to separate the rational function in the following form: 2x2 − 5x + 2 2x2 − 5x + 2 A Bx +C = = + 2 , x3 + x x(x2 + 1) x x +1 and to compare the coefficients to find the constants A, B and C. Generally, S(x) 2 (a1 1 x + c1 )(a2 2 x + c2 ) · · · (an x + bn x + cn ) A1 x + B1 A2 x + B2 An x + Bn = + +···+ . 2 2 a1 x + b1 x + c1 a2 x + b2 x + c2 an x2 + bn x + cn ˆ 5x2 + 6x + 2 Example 6.4.11. Evaluate dx. (x + 2)(x2 + 2x + 5) x2 + b x2 + b A NSWER. We rewrite the integrand as follows and find the constants A, B and c: 5x2 + 6x + 2 A Bx +C = + 2 . 2 (x + 2)(x + 2x + 5) x + 2 x + 2x + 5 Multiplying the equation by (x + 2)(x2 + 2x + 5), we get 5x2 + 6x + 2 = A(x2 + 2x + 5) + (Bx +C)(x + 2) = (A + B)x2 + (2A + 2B +C)x + 5A + 2C. Comparing the coefficients, we deduce 5 = A + B, 6 = 2A + 2B +C, 2 = 5A + 2C. That is, A = 2, B = 3, and C = −4. It implies 2 3x − 4 5x2 + 6x + 2 = + 2 . 2 (x + 2)(x + 2x + 5) x + 2 x + 2x + 5 Using the equation, we evaluate the given integral: ) ˆ ˆ ( ˆ 5x2 + 6x + 2 2 3x − 4 3x − 4 dx = + 2 dx, dx = 2 ln |x + 2| + 2 2 (x + 2)(x + 2x + 5) x + 2 x + 2x + 5 x + 2x + 5 where the second integral is a little bit complicated. See the following Remark. Page 100 of 101 □ Calculus I for Engineers Fall, 2010 ´ Remark 6.4.12. How to integrate x23x−4 dx easily and effectively? We convert the quadratic function in +2x+5 the denominator to be the one of vertex form. See the Remark 6.1.4 in Section 6.1. By the method of completing square, we have x2 + 2x + 5 = (x + 1)2 + 4 3x − 4 −→ So the integral becomes x2 + 2x + 5 ˆ = 3x − 4 3x − 4 3x − 4 ]. = [ ] = [( )2 2 2 (x + 1) + 4 (x + 1) x + 1 4 +1 4 +1 4 2 3x − 4 1 dx = 2 x + 2x + 5 4 ˆ 3x − 4 dx. ( x+1 )2 + 1 2 The substitution u = (x + 1)/2 implies du = So the integral becomes ˆ dx , 2 = = = = ˆ x = 2u − 1. ˆ 3x − 4 1 3(2u − 1) − 4 dx = 2 du ( x+1 )2 4 u2 + 1 + 1 2 ˆ ˆ ˆ 1 6u − 7 7 1 u du = 3 du − du 2 2 2 2 u +1 u +1 2 u +1 7 3 2 ln u + 1 − tan−1 u + c 2 2 )2 ( ) ( 7 3 x+1 −1 x + 1 ln + 1 − tan +c 2 2 2 2 ( ) 7 3 2 −1 x + 1 ln (x + 1) + 4 − tan +c 2 2 2 ( ) 7 −1 x + 1 3 2 ln x + 2x + 5 − tan + c, 2 2 2 3x − 4 1 dx = 2 x + 2x + 5 4 = dx = 2 du, where c is an arbitrary constant. □ 6.4.5 Brief Summary of Integration Techniques. Skip. Please read the textbook. §6.5 Integration Tables and Computer Algebra Systems. Skip. Please read the textbook. §6.6 Improper Integrals. Skip. Please read the textbook. Page 101 of 101