Institute of Computer Science

Similar documents
a x a y = a x+y a x a = y ax y (a x ) r = a rx and log a (xy) = log a (x) + log a (y) log a ( x y ) = log a(x) log a (y) log a (x r ) = r log a (x).

Calculus 221 worksheet

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

Topics and Concepts. 1. Limits

Calculus I Review Solutions

Chapter 2: Differentiation

(e) 2 (f) 2. (c) + (d). Limits at Infinity. 2.5) 9-14,25-34,41-43,46-47,56-57, (c) (d) 2

Sec 4.1 Limits, Informally. When we calculated f (x), we first started with the difference quotient. f(x + h) f(x) h

Continuity. To handle complicated functions, particularly those for which we have a reasonable formula or formulas, we need a more precise definition.

MS 2001: Test 1 B Solutions

Chapter 2: Differentiation

Limit. Chapter Introduction

AP Calculus. Limits, Continuity, and Differentiability

Multiple Choice Answers. MA 113 Calculus I Spring 2018 Exam 2 Tuesday, 6 March Question

Math 180, Final Exam, Fall 2012 Problem 1 Solution

function independent dependent domain range graph of the function The Vertical Line Test

Chapter 1: Limits and Continuity

Formulas that must be memorized:

Section 4.8 Anti Derivative and Indefinite Integrals 2 Lectures. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

Chapter 2: Functions, Limits and Continuity

which can also be written as: 21 Basic differentiation - Chain rule: (f g) (b) = f (g(b)) g (b) dg dx for f(y) and g(x), = df dy

Families of Functions, Taylor Polynomials, l Hopital s

Ma 530 Power Series II

Section 3.5: Implicit Differentiation

MAXIMA AND MINIMA CHAPTER 7.1 INTRODUCTION 7.2 CONCEPT OF LOCAL MAXIMA AND LOCAL MINIMA

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Math 180, Exam 2, Practice Fall 2009 Problem 1 Solution. f(x) = arcsin(2x + 1) = sin 1 (3x + 1), lnx

Math 1431 Final Exam Review

UNIT 3: DERIVATIVES STUDY GUIDE

Chapter 7: Techniques of Integration

Old Math 220 Exams. David M. McClendon. Department of Mathematics Ferris State University

Chapter 3: Transcendental Functions

14 Increasing and decreasing functions

page 1 of 14 1 for all x because f 1 = f and1 f = f. The identity for = x for all x because f

Formulas to remember

Core Mathematics 3 Differentiation

Copyright c 2007 Jason Underdown Some rights reserved. quadratic formula. absolute value. properties of absolute values

ECM Calculus and Geometry. Revision Notes

Final Exam. Math 3 December 7, 2010

Math 106: Review for Exam II - SOLUTIONS

Summer Review for Students Entering AP Calculus AB

Brushing up on Basic skills. Calculus AB (*problems for BC)

7.1. Calculus of inverse functions. Text Section 7.1 Exercise:

Math 12 Final Exam Review 1

Functions. Remark 1.2 The objective of our course Calculus is to study functions.

2.1 The derivative. Rates of change. m sec = y f (a + h) f (a)

!"#$%&'(#)%"*#%*+"),-$.)#/*01#2-31#)(.*4%5)(*6).#* * *9)"&*#2-*5$%5%.-&*#%5)(*8).#*9%$*1*'"),-$.)#/*31#2-31#)(.*5$-51$1#)%"*(%'$.

MAT137 Calculus! Lecture 9

Mth Review Problems for Test 2 Stewart 8e Chapter 3. For Test #2 study these problems, the examples in your notes, and the homework.

Spring 2015 Sample Final Exam

AB CALCULUS SEMESTER A REVIEW Show all work on separate paper. (b) lim. lim. (f) x a. for each of the following functions: (b) y = 3x 4 x + 2

Calculus: Early Transcendental Functions Lecture Notes for Calculus 101. Feras Awad Mahmoud

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Name: AK-Nummer: Ergänzungsprüfung January 29, 2016

Learning Objectives for Math 165

MLC Practice Final Exam

Math 250 Skills Assessment Test

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Chapter 2 Differentiation. 2.1 Tangent Lines and Their Slopes. Calculus: A Complete Course, 8e Chapter 2: Differentiation

Practice Questions From Calculus II. 0. State the following calculus rules (these are many of the key rules from Test 1 topics).

AP Calculus Summer Prep

Calculus I Sample Exam #01

Mathematic 108, Fall 2015: Solutions to assignment #7

Continuity, Intermediate Value Theorem (2.4)

2015 Math Camp Calculus Exam Solution

AP Calculus Multiple Choice Questions - Chapter 5

Chapter P: Preliminaries

Find the indicated derivative. 1) Find y(4) if y = 3 sin x. A) y(4) = 3 cos x B) y(4) = 3 sin x C) y(4) = - 3 cos x D) y(4) = - 3 sin x

Blue Pelican Calculus First Semester

Math Reading assignment for Chapter 1: Study Sections 1.1 and 1.2.

Math 2413 General Review for Calculus Last Updated 02/23/2016

Week 1: need to know. November 14, / 20

Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain.

1 Functions and Graphs

Multiple Choice Answers. MA 114 Calculus II Spring 2013 Final Exam 1 May Question

MAS113 CALCULUS II SPRING 2008, QUIZ 5 SOLUTIONS. x 2 dx = 3y + y 3 = x 3 + c. It can be easily verified that the differential equation is exact, as

Calculus: An intuitive approach. Wai Yai Pong

Exam 3 MATH Calculus I

MATH 1241 Common Final Exam Fall 2010

2.2 Separable Equations

Infinite series, improper integrals, and Taylor series

3/4/2014: First Midterm Exam

Homework Problem Answers

Chapter P: Preliminaries

Calculus I Exam 1 Review Fall 2016

Math 112 (Calculus I) Midterm Exam 3 KEY

Calculus II Lecture Notes

Dr. Sophie Marques. MAM1020S Tutorial 8 August Divide. 1. 6x 2 + x 15 by 3x + 5. Solution: Do a long division show your work.

1 Review of di erential calculus

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series.

SOLUTIONS FOR PRACTICE FINAL EXAM

Math Camp II. Calculus. Yiqing Xu. August 27, 2014 MIT

Math Fall 08 Final Exam Review

Have a Safe and Happy Break

Concavity and Lines. By Ng Tze Beng

Announcements. Topics: Homework: - sections , 6.1 (extreme values) * Read these sections and study solved examples in your textbook!

MA102: Multivariable Calculus

Advanced Mathematics Unit 2 Limits and Continuity

Advanced Mathematics Unit 2 Limits and Continuity

1. The graph of a function f is given above. Answer the question: a. Find the value(s) of x where f is not differentiable. Ans: x = 4, x = 3, x = 2,

Transcription:

Institute of Computer Science Academy of Sciences of the Czech Republic Calculus Digest Jiří Rohn http://uivtx.cs.cas.cz/~rohn Technical report No. V-54 02.02.202 Pod Vodárenskou věží 2, 82 07 Prague 8, phone: +420 266 05, fax: +420 286 585 789, e-mail:rohn@cs.cas.cz

Institute of Computer Science Academy of Sciences of the Czech Republic Calculus Digest Jiří Rohn http://uivtx.cs.cas.cz/~rohn Technical report No. V-54 02.02.202 Abstract: This text was originally prepared for students of the Business Mathematics II class at the Anglo-American University in Prague. It is written in one-topic-one-page style, where each topic is allotted the space of one page only. Keywords: Function of one variable, limit, continuity, derivative, minima and maxima, plotting, definite integral, indefinite integral, integration by parts and by substitution, function of two variables. This work was supported by the Institutional Research Plan AV0Z0300504.

Basic facts (primary school level) a. b + c d = ad+bc bd a 2. b c d = ad bc bd a 3. b c d = ac bd 4. a b c d 5. a 0 = ad bc is not defined (no result) 6. (a + b)(c + d) = ac + ad + bc + bd 7. (a + b) 2 = a 2 + 2ab + b 2 8. (a b) 2 = a 2 2ab + b 2 9. a 2 b 2 = (a + b)(a b) 0. ax 2 + bx + c = 0 has roots x,2 = b± b 2 4ac 2a, and there holds ax 2 + bx + c = a(x x )(x x 2 ) Two often misunderstood facts.. x is a nonnegative 2 number y satisfying x = y 2 2. a = a if a 0, and a = a if a < 0 2 Thus, 4 = 2, not 2, despite the fact that ( 2) 2 = 4.

Intervals. (a, b) is the set of all numbers satisfying a < x < b (open interval) 2. [a, b] is the set of all numbers satisfying a x b (closed interval) 3. (a, b] is the set of all numbers satisfying a < x b (half-closed interval) 4. [a, b) is the set of all numbers satisfying a x < b (half-closed interval) 2

Elementary functions and their domains. y = e x (D = (, )) 2. y = ln x (D = (0, )) 3. y = x a (domain depends on a) 4. y = sin x (D = (, )) 5. y = cos x (D = (, )) 6. y = tan x (D = (, ) except all x = kπ 2, k odd integer) 7. y = cot x (D = (, ) except all x = kπ 2, k even integer) Functions a x and log a x can be expressed via e x and ln x (see p. 4, items 8 and 9). 3

Evaluation of elementary functions. e x = + x! + x2 2! + x3 3! + x4 4! + x5 5! + x6 6! +... 2. ln x = 2 ( x x+ + 3 ( x x+ )3 + 5 ( x x+ )5 + 7 ( x x+ )7 +... 3. x a = e a ln x 4. sin x = x! x3 3! + x5 5! x7 7! + x9 9! x! +... 5. cos x = sin( π 2 x) 6. tan x = sin x cos x 7. cot x = cos x sin x 8. a x = e (ln a)x 9. log a x = ln x ln a Two important numbers:. e = +! + 2! + 3! + 4! + 5! + 6! +... = 2.7828... 2. π = 4 ( 3 + 5 7 + 9 +...) = 3.459... (n! = 2 3... n) ) 4

0 Function plot y 9 8 7 6 5 4 3 2 0 y=e x 3 2 0 2 3 x 3 Function plot 2.5 2.5 y 0.5 0 0.5 y=ln(x).5 2 0 2 4 6 8 0 x 5

9 Function plot 8 7 6 5 y 4 3 2 y=x 2 0 3 2 0 2 3 x Function plot 0.8 0.6 0.4 0.2 y 0 0.2 0.4 0.6 y=x 3 0.8 0.5 0 0.5 x 6

.5 Function plot 0.5 y 0 0.5 y=sin(x).5 6 4 2 0 2 4 6 x.5 Function plot 0.5 y 0 0.5 y=cos(x).5 6 4 2 0 2 4 6 x 7

0 Function plot 8 6 4 2 y 0 2 4 6 y=tan(x) 8 0 5 0 5 x 0 Function plot 8 6 4 2 y 0 2 4 6 y=cot(x) 8 0 5 0 5 x 8

Properties of elementary functions (secondary school level). e x > 0 2. e x e y = e x+y 3. ex e y = e x y 4. (e x ) y = e x y 5. for each x > 0 there exists exactly one y satisfying x = e y (namely, y = ln x) 6. x = e ln x 7. ln(x y) = ln x + ln y 8. ln x y = ln x ln y 9. ln x y = y ln x 0. x 0 =. x a = x a, in particular x = x 2. x m n = n x m, in particular x 2 = x 3. (xy) a = x a y a 4. sin(x + 2π) = sin x 5. cos(x + 2π) = cos x 6. sin 2 x + cos 2 x = 7. tan(x + π) = tan x 8. cot(x + π) = cot x 9. cot x = tan x 9

Functions The functions we meet in examples are constructed from elementary functions by repeated use of five operations: f(x) + g(x) f(x) g(x) f(x) g(x) f(x) g(x) f(g(x)) the last of them being called the composite function (as e.g. sin(x 2 )). 0

Limit Definition. A function f(x) is said to have limit d at a point c, which we write as if f(x) approaches d as x approaches c (without touching c). lim f(x) = d, (0.) x c Explanation. This is an informal definition since the word approaches can be understood only intuitively. The exact definition 3 is beyond the scope of a business mathematics class. The words without touching c mean that the possibility of x = c is excluded. As a consequence, f(x) need not be defined at c, yet lim f(x) may exist. x c Example. The function f(x) = x sin x is obviously not defined at 0, yet lim x 0 f(x) = 0, as shown by its graph: Function plot 0.5 0. 0.05 0 y 0.05 0. 0.5 y=xsin(/x) 0.2 0.25 0.2 0. 0 0. 0.2 0.3 x 3 Exact definition of (0.): for each ε > 0 there exists a δ > 0 such that each x with 0 < x c < δ satisfies f(x) d < ε.

Continuity Definition. A function f(x) is called continuous in an interval I (open, closed, or half-closed) if for each c I. 4 lim f(x) = f(c) x c Important fact. All elementary functions are continuous in their domains. Explanation. A continuous function does not jump at any point; its graph can be drawn up without lifting the pen from the paper. An example of a discontinuous function is the sign function defined by { if x 0, sign(x) = if x < 0 which jumps at c = 0. If x approaches 0 from the left, then sign(x) approaches, while if x approaches 0 from the right, then sign(x) approaches : 2 Function plot.5 0.5 y 0 0.5.5 y=sign(x) 2 3 2 0 2 3 x 4 Which means that for each c I, f(x) approaches f(c) as x approaches c. 2

Definition of the derivative The derivative of a function f at x is formally defined as This means that the value of approaches f (x) as h approaches 0. f f(x + h) f(x) (x) = lim. h 0 h f(x + h) f(x) h Note. Instead of f (x), we can also alternatively write df dx. The meaning is the same. Example. For the quadratic function f(x) = x 2 we have f(x + h) f(x) h = (x + h)2 x 2 h and this value approaches 2x as h approaches 0. Hence, = x2 + 2xh + h 2 x 2 h = 2x + h (x 2 ) = 2x. Example 2. For the reciprocal function f(x) = x we have f(x + h) f(x) h = x+h x h = (x + h)x and this value approaches x 2 as h approaches 0. Hence, ( ) = x x 2. 3

Derivatives of elementary functions. (e x ) = e x 2. (ln x) = x 3. (x a ) = ax a (particular cases: = 0, x = ; includes roots: ( x) = (x 2 ), etc.) 4. (sin x) = cos x 5. (cos x) = sin x 6. (tan x) = cos 2 x 7. (cot x) = sin 2 x Additionally, we have 8. (a x ) = a x ln a 9. (log a x) = x ln a 0. c = 0 These formulae should be memorized; this is the alphabet of calculus. 4

Differentiation rules (f(x) + c) = f (x) (additive constant) (0.2) (c f(x)) = c f (x) (multiplicative constant) (0.3) (f(x) + g(x)) = f (x) + g (x) (0.4) (f(x) g(x)) = f (x) g (x) (0.5) (f(x) g(x)) = f (x) g(x)+f(x) g (x) (0.6) ( ) f(x) = f (x) g(x) f(x) g (x) g(x) g 2 (0.7) (x) (f(g(x))) = f (g(x)) g (x) (0.8) Explanation to rule (0.8). To compute the derivative of the composite function write it in the form and use the formula h(x) = f(g(x)) h(x) = f(y), y = g(x) h (x) = f (y) y (0.9) i.e., differentiate the function f(y) with respect to y and multiply the result by the derivative of g(x) h (x) = f (y) g (x) then substitute back y = g(x): h (x) = f (g(x)) g (x). In this way we get the right-hand side of (0.8). Example. To compute the derivative of the composite function h(x) = ln( + x 2 ), we write it in the form and use the formula (0.9) h(x) = ln(y), y = + x 2 h (x) = (ln(y)) y = y 2x, then we substitute back y = + x 2 : h (x) = 2x + x 2. 5

Differentiation: Examples Examples of using the rules (0.2)-(0.8):. f(x) = sin x + 5 f (x) = (sin x) = cos x (rule (0.2)) 2. f(x) = 3 ln x f (x) = 3 (ln x) = 3 x = 3 x (rule (0.3)) 3. f(x) = x 2 + 2x + f (x) = (x 2 ) + (2x) + = 2x + 2 + 0 = 2x + 2 (rule (0.4)) 4. f(x) = e x cos x f (x) = (e x ) (cos x) = e x ( sin x) = e x + sin x (rule ()) 5. f(x) = x ln x f (x) = x ln x + x (ln x) = ln x + x x = ln x + (rule (0.6)) 6. f(x) = x2 x 2 + f (x) = (x2 ) (x 2 +) (x 2 )(x 2 +) (x 2 +) 2 = 2x(x2 +) (x 2 )2x (x 2 +) 2 = 2x3 +2x 2x 3 +2x (x 2 +) 2 = 4x (x 2 +) 2 (rule (0.)) 7. f(x) = sin(x 4 ): write f(x) = sin(y), y = x 4 f (x) = (sin(y)) y = cos(y) (x 4 ) = cos(x 4 ) 4x 3 = 4x 3 cos(x 4 ) (rule (0.8)) 6

Minima and maxima Definitions. A function f is said to have a relative minimum at c if it satisfies f(x) f(c) for each x in some neighborhood of c (an open interval containing c). A function f is said to have a relative maximum at c if it satisfies f(x) f(c) for each x in some neighborhood of c (an open interval containing c). Facts.. If f (c) = 0 and f (c) > 0, then f(x) has a relative minimum at c. 2. If f (c) = 0 and f (c) < 0, then f(x) has a relative maximum at c. 3. If f (c) 0, then f(x) has neither relative minimum, nor relative maximum at c. A point c at which f (c) = 0 is called a critical point. 7

Plotting a function Definitions. A function f is said to be increasing in an open interval (a, b) if f(x ) < f(x 2 ) for each a < x < x 2 < b (as e.g. x 2 in (0, ), see p. 6). A function f is said to be decreasing in an open interval (a, b) if f(x ) > f(x 2 ) for each a < x < x 2 < b (as e.g. x 2 in (, 0), see p. 6). A function f is said to be convex in an open interval (a, b) if it is hollowed down there (as e.g. e x in (, ), see p. 5). A function f is said to be concave in an open interval (a, b) if it is hollowed up there (as e.g. ln x in (0, ), see p. 5). Facts.. If f (x) > 0 for each x (a, b), then f(x) is increasing in (a, b). 2. If f (x) < 0 for each x (a, b), then f(x) is decreasing in (a, b). 3. If f (x) > 0 for each x (a, b), then f(x) is convex in (a, b). 4. If f (x) < 0 for each x (a, b), then f(x) is concave in (a, b). Summary: f > 0 f < 0 f = 0 minimum maximum f > 0 increasing, convex increasing, concave f < 0 decreasing, convex decreasing, concave 8

Plotting: Example Example. The function has f(x) = x 3 3x f (x) = 3x 2 3 = 3(x 2 ), f (x) = 3 2x = 6x, hence f (c) = 0 for c = and c 2 =. Since f (c ) = 6 < 0 and f (c 2 ) = 6 > 0, f has a relative maximum at c and a relative minimum at c 2. Since f (x) > 0 for x 2 > and f (x) < 0 for x 2 <, f is increasing in (, ) and in (, ), and decreasing in (, ). Since f (x) > 0 for x > 0 and f (x) < 0 for x < 0, f is convex in (0, ), and concave in (, 0). 5 Function plot 4 3 2 y 0 2 3 y=x 3 3x 4 5 3 2 0 2 3 x 9

Definition of the definite integral Given a function f(x) on a closed interval [a, b] and an integer n, define the nth integral sum S n as follows: first compute h = b a n (the so-called step), and then evaluate S n = f(a + h)h + f(a + 2h)h + f(a + 3h)h +... + f(a + nh)h (0.0) Definition. If f(x) is continuous on [a, b] (see p. 2), then, as n approaches infinity (i.e., increases without bound), S n is guaranteed to approach certain number which is denoted by b a f(x)dx and is called the definite integral of f(x) over the interval [a, b]. Note. dx is only a symbol which has evolved from x, the 7th century notation for the above h; in this way the integral symbol copies the form of the integral sum (0.0). Note 2. The above definition holds for continuous functions only. For the general case a more complicated way is needed. Note 3. If f(x) is nonnegative in [a, b], then b a f(x) dx expresses the area of the region bounded by the curve y = f(x) and by the lines x = a, x = b, y = 0. For example, x 2 dx is equal to the area of the half-circle centered in the origin of the plane and having radius and y 0, so that its value is π 2. 20

The fundamental theorem of calculus, and definition of indefinite integral The fundamental theorem of calculus, coauthored by I. Newton and G. W. Leibniz (second half of the 7th century), asserts that b where F (x) is any function with the property a f(x) dx = F (b) F (a) F (x) = f(x) for each x [a, b]. (0.) Definition. A function F (x) with the above property is called an indefinite integral 5 of f(x) over [a, b] and is denoted by f(x) dx (i.e., the same symbol as for the definite integral, but without bounds). Note. Thus, the definite integral is a number whereas indefinite integral is a function; the definite integral can be computed as soon as we know a corresponding indefinite integral. Next pages of this text are dedicated to computation of indefinite integrals. Note 2. The definite integral, if it exists, is uniquely determined. On the contrary, an indefinite integral, if it exists, is never unique: in fact, if F (x) satisfies (0.), then so does F (x) + C for any constant C because (F (x) + C) = F (x) + C = F (x) + 0 = F (x) = f(x). Therefore, we always add +C to the computed indefinite integral F (x) to indicate that each function formed by adding a constant C to F (x) is also an indefinite integral, as e.g. in cos x dx = sin x + C etc. Note 3. Another fundamental theorem (although usually not quoted as such) says that if f(x) is continuous in an open interval (c, d), then it has an indefinite integral F (x) in (c, d). This theorem states only existence of an indefinite integral; it does not show a way how to find it. 5 Or, primitive function. 2

Integrals of elementary functions. e x dx = e x + C 2. ln x dx = x(ln x ) + C 3. x a dx = xa+ a+ + C if a, x dx = ln x + C if a = (notice the absolute value6 ) 4. sin x dx = cos x + C 5. cos x dx = sin x + C 6. tan x dx = ln cos x + C 7. cot x dx = ln sin x + C Related results:. 0 dx = C 2. dx = x + C 3. c dx = cx + C 4. a x dx = ax ln a + C 5. log a x dx = x(ln x ) ln a 6. dx = tan x + C cos 2 x + C 7. dx = cot x + C sin 2 x 8. +x 2 dx = arctan x + C (a new function y = arctan x defined in D = (, ) by x = tan y, y ( π 2, π 2 )) 9. x dx = arcsin x + C 2 (a new function y = arcsin x defined in D = [, ] by x = sin y, y [ π 2, π 2 ]) 6 Which is often wrongly omitted. 22

Integration rules: addition and subtraction c f(x) dx = c f(x) dx (f(x) + g(x)) dx = f(x) dx + (f(x) g(x)) dx = f(x) dx (multiplicative constant) g(x) dx g(x) dx Examples:. (3x 5 sin x + x) dx = 3 x 5 dx sin x dx + x 2 dx = 3 x6 6 ( cos x) + x 3 2 3 2 2 x6 + cos x + 2 3 x 3 2 + C 2. x 2 +2x+3 x 2 dx = (+ 2 x +3x 2 ) dx = dx+2 x dx+3 x 2 dx = x+2 ln x +3 x = x + 2 ln x 3 x + C 3. tan 2 x dx = sin 2 x cos 2 x dx = cos 2 x cos 2 x dx = ( cos 2 x ) dx = cos 2 x dx dx = tan x x + C 4. 0 x2 dx. Indefinite integral: F (x) = x 2 dx = x3 3. By Newton-Leibniz formula, 0 x2 dx = F () F (0) = 3 = 23

Integration by parts f (x) g(x) dx = f(x) g(x) f(x) g (x) dx Examples:. e x x dx = (e x ) x dx = e x x e x x dx = e x x e x dx = e x x e x = e x (x ) + C 2. x cos x dx = (cos x)x dx = (sin x) x dx = (sin x)x (sin x) dx = x sin x ( cos x) = x sin x + cos x + C 3. ln x dx = ln x dx = x ln x dx = x ln x x(ln x) dx = x ln x x x dx = x ln x dx = x ln x x = x(ln x ) + C. (See p. 22, item 2.) Explanation. The original integral is given in the form h(x) k(x) dx It is not said which one of the two functions should be taken for f (x) and g(x), respectively: we must make the choice. In the process, f (x) integrated and g(x) is differentiated. Therefore, we must choose f (x) to be a function among h(x), k(x) which we are able to integrate, and if we are able to do so with both of them, to choose g(x) as a function which simplifies by differentiation. 24

Integration by substitution f(x) dx = f(ϕ(t)) ϕ (t) dt Explanation. We make substitution x = ϕ(t), where ϕ must be increasing or decreasing. From x = ϕ(t) we have dx dt = ϕ (t) so that we replace dx in the original integral by ϕ (t)dt. Then we compute the integral f(ϕ(t)) ϕ (t) dt and finally we must replace the auxiliary variable t by the original variable x. This is done by solving first the equation x = ϕ(t) for t, thus obtaining t = ψ(x), where ψ is a certain function. Then we replace t by ψ(x) everywhere in the result (see Examples -3 below). Sometimes it helps to evaluate dt dx Examples: instead of dx dt. cos 4x dx. We choose substitution 4x = t, x = 4 Then cos 4x dx = cos t 4 dt = 4 (Examples 4 and 5). t, dx cos t dt = 4 sin t = 4 dt = 4, dx = 4 dt. sin 4x + C 2. t 5 3x+5 dx. Substitution 3x + 5 = t, x = 3, dx dt = 3. Then 3x+5 dx = t 3 dt = 3 t dx = 3 ln t = 3 ln 3x + 5 + C 3. (x + ) 00 dx. Substitution x + = t, dx = dt. Then (x + ) 00 dx = t 00 dt = t0 0 = (x+)0 0 + C 4. 2 x dx. Substitution +x 2 = t, dt +x 2 dx = 2x (notice the difference: dt dx dx, not dt ), x dx = 2 dt. Then F (x) = x dx = +x 2 t 2 dt = 2 ln t = 2 ln + x2 = 2 ln( + x2 ) + C (because + x 2 is always positive), and 2 2 ln 5 2. x +x 2 dx = F (2) F () = 2 ln 5 2 ln 2 = 5. sin 3 x cos x dx. Substitution sin x = t, dt dx = cos x, cos x dx = dt. Then sin 3 x cos x dx = t 3 dt = t4 4 = sin4 x 4 + C 25

Optimization of a function of two variables Definitions. A function f(x, y) is said to have a relative minimum at a point (c, d) if it satisfies f(x, y) f(c, d) for each (x, y) in some neighborhood of (c, d). A function f(x, y) is said to have a relative maximum at a point (c, d) if it satisfies f(x, y) f(c, d) for each (x, y) in some neighborhood of (c, d). Facts. (a) If (b) If f x (c, d) = 0 f y (c, d) = 0 f xx (c, d)f yy (c, d) f 2 xy(c, d) > 0 f xx (c, d) > 0 then f(x, y) has a relative minimum at (c, d). f x (c, d) = 0 f y (c, d) = 0 f xx (c, d)f yy (c, d) f 2 xy(c, d) > 0 f xx (c, d) < 0 then f(x, y) has a relative maximum at (c, d). Observe that in both cases the first three conditions are the same. 26