Differentiation. Timur Musin. October 10, University of Freiburg 1 / 54

Similar documents
2.2 The derivative as a Function

Learning Objectives for Math 165

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

Chapter 12: Differentiation. SSMth2: Basic Calculus Science and Technology, Engineering and Mathematics (STEM) Strands Mr. Migo M.

Lecture 5 - Logarithms, Slope of a Function, Derivatives

DIFFERENTIATION RULES

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

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).

Chapter 4 Notes, Calculus I with Precalculus 3e Larson/Edwards

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

MAT137 Calculus! Lecture 6

Slide 1. Slide 2. Slide 3 Remark is a new function derived from called derivative. 2.2 The derivative as a Function

Topics and Concepts. 1. Limits

Unit IV Derivatives 20 Hours Finish by Christmas

Unit IV Derivatives 20 Hours Finish by Christmas

Calculus I Exam 1 Review Fall 2016

Blue Pelican Calculus First Semester

2t t dt.. So the distance is (t2 +6) 3/2

Limit. Chapter Introduction

1 Functions and Graphs

Chapter 2: Differentiation

Aim: How do we prepare for AP Problems on limits, continuity and differentiability? f (x)

Spring 2015 Sample Final Exam

Section 3.6 The chain rule 1 Lecture. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

AP Calculus Summer Prep

ter. on Can we get a still better result? Yes, by making the rectangles still smaller. As we make the rectangles smaller and smaller, the

Math Practice Exam 3 - solutions

f(x 0 + h) f(x 0 ) h slope of secant line = m sec

Section 3.6 The chain rule 1 Lecture. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

OBJECTIVE Find limits of functions, if they exist, using numerical or graphical methods.

Chapter 2: Differentiation

Chapter P: Preliminaries

Limits at Infinity. Horizontal Asymptotes. Definition (Limits at Infinity) Horizontal Asymptotes

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

Calculus I. George Voutsadakis 1. LSSU Math 151. Lake Superior State University. 1 Mathematics and Computer Science

Chapter 3 Differentiation Rules

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

Calculus II Lecture Notes

Topics from Algebra and Pre-Calculus. (Key contains solved problems)

UNIT 3: DERIVATIVES STUDY GUIDE

Determine whether the formula determines y as a function of x. If not, explain. Is there a way to look at a graph and determine if it's a function?

Final Exam Review Packet

Final Exam Review Packet

MATH 151 Engineering Mathematics I

3.1 Derivative Formulas for Powers and Polynomials

Math 180, Final Exam, Fall 2007 Problem 1 Solution

Calculus. Weijiu Liu. Department of Mathematics University of Central Arkansas 201 Donaghey Avenue, Conway, AR 72035, USA

THE NATIONAL UNIVERSITY OF IRELAND, CORK COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK. Summer Examination 2009.

MTAEA Differentiation

3.1 Day 1: The Derivative of a Function

Chapter P: Preliminaries

Announcements. Topics: Homework: - sections 4.5 and * Read these sections and study solved examples in your textbook!

MATH 1902: Mathematics for the Physical Sciences I

Section 5.8. Taylor Series

DIFFERENTIATION RULES

This Week. Professor Christopher Hoffman Math 124

Limits and Continuity

Math 229 Mock Final Exam Solution

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

Review for the Final Exam

B553 Lecture 1: Calculus Review

AP Calculus Testbank (Chapter 9) (Mr. Surowski)

MATH1013 Calculus I. Revision 1

1.2 Functions and Their Properties Name:

1.4 Techniques of Integration

Objectives List. Important Students should expect test questions that require a synthesis of these objectives.

Week 12: Optimisation and Course Review.

Advanced Mathematics Unit 2 Limits and Continuity

Advanced Mathematics Unit 2 Limits and Continuity

Differentiation Review, Part 1 (Part 2 follows; there are answers at the end of each part.)

II. The Calculus of The Derivative

Calculus I: Practice Midterm II

Greenwich Public Schools Mathematics Curriculum Objectives. Calculus

Solutions to Math 41 First Exam October 18, 2012

MAT 1320 Study Sheet for the final exam. Format. Topics

MATHEMATICS AP Calculus (BC) Standard: Number, Number Sense and Operations

2.1 The Tangent and Velocity Problems

Topics Covered in Calculus BC

2. Theory of the Derivative

Math Review ECON 300: Spring 2014 Benjamin A. Jones MATH/CALCULUS REVIEW

MATH 116, LECTURE 13, 14 & 15: Derivatives

CH 2: Limits and Derivatives

Tangent Lines and Derivatives

8.5 Taylor Polynomials and Taylor Series

Welcome to AP Calculus!!!

Final Exam SOLUTIONS MAT 131 Fall 2011

Chapter 2. Limits and Continuity. 2.1 Rates of change and Tangents to Curves. The average Rate of change of y = f(x) with respect to x over the

You can learn more about the services offered by the teaching center by visiting

Section 2.5. Evaluating Limits Algebraically

Rational Functions. Elementary Functions. Algebra with mixed fractions. Algebra with mixed fractions

February 21 Math 1190 sec. 63 Spring 2017

Calculus & Analytic Geometry I

56 CHAPTER 3. POLYNOMIAL FUNCTIONS

Calculus Review Session. Brian Prest Duke University Nicholas School of the Environment August 18, 2017

Tangent Lines Sec. 2.1, 2.7, & 2.8 (continued)

Calculus. Contents. Paul Sutcliffe. Office: CM212a.

Anna D Aloise May 2, 2017 INTD 302: Final Project. Demonstrate an Understanding of the Fundamental Concepts of Calculus

Math 180, Final Exam, Fall 2012 Problem 1 Solution

Section 5.6. Integration By Parts. MATH 126 (Section 5.6) Integration By Parts The University of Kansas 1 / 10

DIFFERENTIATION RULES

Transcription:

Timur Musin University of Freiburg October 10, 2014 1 / 54

1 Limit of a Function 2 2 / 54

Literature A. C. Chiang and K. Wainwright, Fundamental methods of mathematical economics, Irwin/McGraw-Hill, Boston, MA, 2005. P. Hammond and K. Sydster, Essential mathematics for economic analysis, Financial Times Prentice Hall, Harlow, Munich, 2006. D. Stefanica, A primer for the mathematics of financial engineering, Financial Engineering Press, New York, NY, 2008. 3 / 54

Online Resources http://ocw.mit.edu/courses/audio-video-courses/ #mathematics (Single Variable Calculus, Multivariable Calculus, Differential Equations, Linear Algebra) http://ocw.mit.edu/courses/audio-video-courses/ #electrical-engineering-and-computer-science (Probabilistic Systems Analysis and Applied Probability) https://www.coursera.org/ (plenty of courses on different subjects) 4 / 54

Motivating Example Annuity: a financial product which you buy and that regularly pays you a fixed amount of money over a period of time Suppose, that you re offered to buy an annuity that pays $100 at the end of each year for the next 10 years. At an interest rate of 4%, how much are you willing to pay? To calculate the present value of the annuity, use the following formula: V (n, r, A) = A r [1 1 (1+r) n ], where A - the received amount, r - the interest rate and n - number of periods over which the annual payments are received. In our example A = 100, r = 0.05, n = 10. Therefore, V (10, 0.05, 100) = 772.1735. What happens to V (n) if we increase n? 5 / 54

Motivating Example [ V (n, 0.05, 100) = 100 0.05 1 1 Graphically: (1+0.05) n ] V(n), A=100, r=0.05 V(n) 0 500 1000 2000 3000 0 100 200 300 400 n What happens to V (n) ( if we increase [ n? ]) 100 lim V (n) = lim n n 0.05 1 1 (1 + 0.05) n =? 6 / 54

Motivating Example ( [ ]) A lim V (n) = lim n n r 1 1 (1 + r) n = A r 100 lim V (n) = n 0.05 = 2000 Graphically: V, A=100, r=0.05 V 0 500 1000 2000 3000 0 100 200 300 400 n 7 / 54

Motivating Example lim n V (n) = A r is an easy limit. What about: 1 lim x x 2 4x + 1 x =? x 2 + 3x 10 lim =? x 2 x 2 e 2x 1 lim =? x 0 lim x x ln(x) x =? Rules of how to deal with limits are to be introduced. 8 / 54

Notation N - the set of natural numbers (0, 1, 2, 3,...) Z - the set of integers (0, ±1, ±2, ±3,...) R - the set of real numbers (any point of the real line) R ++ - the set of positive real numbers - in: indicator of set membership - for all - there exists - goes to g : R R - a real-valued function with a real-valued argument / - not, e.g. x = 3, x / Z k! = k (k 1) (k 2)... 2 1 9 / 54

Basic Definitions g : R R g - real-valued function with a real-valued argument g takes a real number as an argument and produces a real number as an output Notice that g : R R doesn t mean that any real value can be obtained as an output (e.g. g(x) = x 2 ) 10 / 54

Basic Definitions The limit of g(x) as x x 0 exists and is finite and equals to l if and only if for any ε > 0 there exists δ > 0 such that g(x) l < ε for all x (x 0 δ, x 0 + δ). Read as\elaborately: The limit of g(x) as x x 0 (as argument x approaches a fixed value x 0 ) exists (notice that and ( ) are also included into exists ) and is finite and equals to l if and only if for any ε > 0 (very small positive number ε) there exists δ > 0 such that g(x) l < ε (we can make g(x) very close to the limiting value l) for all x (x 0 δ, x 0 + δ) (for every x in the interval). 11 / 54

Basic Definitions Mathematically: lim g(x) = l iff ε > 0, δ > 0 s.t. x x0 g(x) l < ε, x x 0 < δ. Graphically: 12 / 54

Basic Definitions lim x x0 g(x) = iff C > 0, δ > 0 s.t. g(x) > C, x x 0 < δ. lim x x0 g(x) = iff C < 0, δ > 0 s.t. g(x) < C, x x 0 < δ. lim g(x) = l iff ε > 0, b s.t. g(x) l < ε, x > b. x 13 / 54

Basic Definitions: Horizontal Asymptotes What happens to f (x) = x2 3 as the argument x goes to x 2 +4 infinity? x 2 3 lim f (x) = lim x x x 2 + 4 =? Definition: the line y = L is called a horizontal asymptote if lim f (x) = L or lim f (x) = L (notice that the L s in the x x definitions are not necessarily the same) Graphically: 1.0 0.5 0.0 0.5 1.0 1.5 Horizontal Asymptote y=1 20 10 0 10 20 x 14 / 54

lim x x + 0 Basic Definitions - right-hand limit (i.e. x x 0 and x > x 0 ) lim x x 0 - left-hand limit (i.e. x x 0 and x < x 0 ) Example: { x + 1, x > 0 f (x) = x + 2, x < 0 lim f (x) = lim x 0 + x 0 +(x + 1) = 1 lim x 0 f (x) = lim x 0 ( x + 2) = 2 15 / 54

Evaluating Limits Suppose c R (i.e. c is a real-valued constant) and the limits lim f (x) and lim g(x) exist (i.e. need not to be finite but can t be x a x a of the form 0 / 0 or / ) then lim [f (x) + g(x)] = lim f (x) + lim g(x) x a x a x a lim c f (x) = c lim f (x) x a x a lim [f (x) g(x)] = lim f (x) lim g(x) x a x a x a f (x) lim lim x a g(x) = lim x a f (x) x a lim x a n f (x) = n lim x a f (x) g(x) if lim x a g(x) 0 16 / 54

Evaluating Limits Let c > 0 be a positive constant then lim x c 1 x = 1 lim x x 1 x = 1 Let k N \ {0} and if c > 0 is a positive constant then lim c 1 k = 1 k c k lim k k! = 0 17 / 54

Evaluating Limits: L Hôpital s Rule sin(x) Evaluate the following expression: lim. x 0 x Remember the rules for evaluating limits. If we use the rule for the quotient of two functions, we will sin(x) lim sin(x) x 0 obtain the following expression: lim = x 0 x lim 0 = x 0 Division by zero is not allowed. The function is, however, defined over the entire real line except for the point x = 0. Graphically: 0 0 0.2 0.2 0.4 0.6 0.8 1.0 10 5 0 5 10 x Use L Hôpital s Rule! 18 / 54

Evaluating Limits: L Hôpital s Rule Let x 0 be a real number (or ± ) and let f (x) and g(x) be differentiable functions. Rule: Suppose lim x x0 f (x) = lim x x0 g(x) = 0 or ±. If f (x) lim x x 0 g (x) exists and there is an interval (a, b) containing x 0 f (x) such that g(x) 0 for all x (a, b) \ x 0, then lim x x0 g(x) f (x) exists and lim x x0 g(x) = lim f (x) x x 0 g (x). 19 / 54

Evaluating Limits: L Hôpital s Rule Examples: sin(x) lim = lim x 0 x x 0 ln(x) lim = lim x x x e e x 1 lim = lim x 0 e x x 0 x 3 2 lim x x 2 + 3 = lim ( 3x 2 ) lim x d dx d dx d dx sin(x) d dx x d dx ln(x) d dx x d d dx x d (2x) = lim x dx (ee x 1) = d dx (e x) ( x 3 2 ) = lim x 0 cos(x) = 1 1 = lim x x = 0 e e e x lim x 0 e x dx (x 2 + 3) = lim 6x 2 = 3x 2 2x = = 1 20 / 54

Types of Limits 1 Easy Limits: e.g. lim x 4 x + 3 x 2 + 1 = 4 + 3 4 2 + 1 = 7 17 2 Harder Limits: f (x 0 + x) f (x 0 ) e.g. lim results into the uncertainty of x 0 x the 0 0 -type. Some further manipulations are needed. 21 / 54

Types of Limits Example: 1 lim x x 2 4x + 1 x = lim x lim x lim x 1 x 2 4x + 1 x x 2 4x + 1 + x x 2 4x + 1 + x = x 2 4x + 1 + x x 2 4x + 1 x 2 1 4 x 1 x 2 + 1 = lim x 1 x 4 = 2 4 = 1 2 x 2 4x + 1 + x 1 4x 1 x 1 x = 22 / 54

Continuity Definition: a function f (x) is continuous at x 0 if lim f (x) = f (x 0 ). x x 0 The definition of continuity implies that: 1 lim x x0 f (x) exists (i.e. lim x x 0 f (x) = lim x x + 0 lim x x 0 f (x)) f (x) and lim f (x) both exist and x x + 0 2 f (x 0 ) is defined 3 lim f (x) = f (x 0 ) x x0 Definition: a function f (x) is right-continuous at x 0 if lim f (x) = f (x 0 ). x x + 0 Definition: a function f (x) is left-continuous at x 0 if lim f (x) = f (x 0 ). x x 0 23 / 54

Continuity Definition: a function f (x) is continuous on an interval (a, b) if it is continuous at every x (a, b). Example: left-continuous function f (x) = x. f(x) = ceiling(x) 2 1 0 1 2 2 1 0 1 2 x 24 / 54

Continuity Example: function g(x) = arctan(x) is continuous throughout the entire real line R. g(x) = arctan(x) 2 1 0 1 2 10 5 0 5 10 x Intuitively: a function is continuous if it can be drawn without taking the arm away from the paper. 25 / 54

Continuity Theorems Let f and g be continuous functions at x 0 and let c R, then: 1 f + g 2 f g 3 c f 4 f g 5 f g (if g(x 0) 0) are also continuous functions at x 0. If g is continuous at x 0 and f is continuous at g(x 0 ) then f g(x) = f (g(x)) is also continuous at x 0. 26 / 54

Continuity and Frequently Used Functions. The following functions are continuous on their domains: Polynomials (D = R = (, )) Roots functions (D = R + = [0, )) Logarithmic functions (D = R ++ = (0, )) Exponential functions (D = R = (, )) Example. Where is the function f (x) = ln(x) x 2 1 continuous? 1 The numerator: g(x) = ln(x) is continuous on D = R ++ = (0, ). 2 The denominator: h(x) = x 2 1 is continuous on D = R = (, ). 3 The entire function f (x) is a quotient of two other functions. We should, therefore, exclude the values of x that turn the denominator of the function into 0 (x 2 1 = (x 1) (x + 1) = 0 if x = ±1). 4 Taking the intersection of the determined intervals and excluding the points x = ±1, we conclude that f (x) is continuous on (0, 1) (1, ). 27 / 54

Examples of Discontinuities Some functions are, however, discontinuous. Examples of discontinuities: Example 1 (Jump Discontinuities): lim x x + 0 f (x) both exist but (see slide 15). Example 2: lim x x 0 lim x x 0 f (x) = lim x x + 0 f (x) and lim x x 0 lim x x + 0 lim x x 0 f (x) lim x x + 0 f (x) and f (x) f (x) both exist and f (x) but f (x 0 ) is not defined. Example: function f (x) = 1 cos(x) x is not defined at x 0 = 0. 1.0 0.5 0.0 0.5 1.0 10 5 0 5 10 x 28 / 54

Examples of Discontinuities Example 3 (Infinite Discontinuities): As an example consider the function f (x) = 1 x. Graphically: f(x) = 1/x 5 0 5 The lim x 0 5 0 5 x x 0 f (x) = but lim f (x) = +. + 29 / 54

Examples of Discontinuities Example 4: Consider the function f (x) = sin( 1 x ) as x 0. Graphically: f(x) = sin(1/x) 1.0 0.5 0.0 0.5 1.0 0.15 0.05 0.00 0.05 0.10 0.15 x Neither left, not right limit exists! 30 / 54

Continuity: Theorem (Differentiability Continuity). Theorem (Differentiability Continuity): if f (x) is differentiable at x 0 then f (x) is continuous at x 0. Proof: 1 We can rewrite the definition of continuity as lim f (x) f (x 0 ) =? 0. This is what we need to show. x x 0 2 lim x x0 f (x) f (x 0 ) = lim x x0 f (x) f (x 0 ) x x 0 (x x 0 ) = f (x) f (x 0 ) lim lim (x x 0 ) = f (x 0 ) 0 = 0 x x 0 x x 0 x x0 Notice that the converse statement is not true, i.e. Differentiability Continuity. 31 / 54

Continuity: Theorem (Differentiability Continuity). Example: the function f (x) = x is continuous on D = R but is not differentiable at x 0 = 0. Graphically: f(x) = x 1 0 1 2 3 4 5 4 2 0 2 4 x 32 / 54

The goal of this lecture is to provide theoretical knowledge to answer the following two questions: 1 What is a derivative? geometrical interpretation physical interpretation 2 How( to differentiate ) any function you know? e ln(x) arctan(x) =? d dx 33 / 54

Derivatives. Geometrical Interpretation. Suppose that we need to find an equation for the tangent line y = l(x) to the function y = f (x) at some point P(x 0, y 0 ). Graphically: f(x) = 1/x l_1(x) f(x) 4 2 0 2 4 R( 1, 1) f(x) P(1,1) l_2(x) 4 2 0 2 4 x Definition: a line y = l(x) is tangent to the curve f (x) at a point P(x 0, y 0 ) if δ > 0 s.t.: f (x) > l(x) on (x 0 δ, x 0 ) (x 0, x 0 + δ) or f (x) < l(x) on (x 0 δ, x 0 ) (x 0, x 0 + δ) and f (x 0 ) = l(x 0 ). 34 / 54

Derivatives. Geometrical Interpretation. Definition: a secant line of a curve is a line that intersects two points on the curve. Graphically: Secant and Tangent Lines 0 2 4 6 8 f(x) Q secant line tangent line P 2 1 0 1 2 3 4 x Tangent line = limit of the secant lines PQ as Q P (given that P stays fixed). 35 / 54

Derivatives. Geometrical Interpretation. The slope of the curve f (x) equals to the slope of the line l(x) at the point x 0. Back to the original task: determining the equation for the tangent line. A line l(x) passing through P(x 0, y 0 ) is determined by the following expression: y y 0 = m (x x 0 ). Thus, to determine the equation for the tangent line we need: 1 point P(x 0, y 0 = f (x 0 )) and 2 slope m = f (x 0 ) (the only calculus part). 36 / 54

Derivatives. Geometrical Interpretation. Definition: the derivative of f (x) at x 0, denoted by f (x 0 ), is the slope of the tangent line to y = f (x) at P(x 0, y 0 ). Finding the slope of the tangent line: 1 0 1 2 3 4 5 Q( x0+delta(x), f( x0+delta(x) ) secant line delta (f) P( x0,f(x0) ) delta (x) 1 0 1 2 3 4 5 6 f x 0 }{{} x slope of the secant line m = lim x 0 f x }{{} slope of the tangent line 37 / 54

Derivatives. Geometrical Interpretation. Summing things up: the slope of the tangent line at P(x 0, y 0 ) is given by: f (x 0 ) = m = f lim x 0 x Definition: a function f : R R is differentiable at a point f x 0 R if lim exists (notice that the limit needs not to x 0 x be finite). Definition: a function f (x) is differentiable at an open interval (a, b) if it is differentiable at every point x (a, b). 38 / 54

Derivatives. Geometrical Interpretation. Example: using the definition introduced above derive the derivative of the function f (x) = 1 x at x 0. 1 Construct the difference quotient f x first: 1 f x = x 0 + x 1 x 0 x = 1 ( ) 1 x x (x 0 + x) x 0 ( x x0 (x 0 + x) = 1 (x 0 + x) x 0. (x 0 + x) x 0 ) = 2 Consider what happens as x approaches 0: f x = 1 x 0 (x 0 + x) x 0 1. x0 2 f (x 0 ) = 1 x 2 0 39 / 54

Derivatives. Geometrical Interpretation. Graphically: Function f (x) = 1 x : f(x) = 1/x l_1(x) f(x) 4 2 0 2 4 R( 1, 1) f(x) P(1,1) l_2(x) 4 2 0 2 4 x Derivative f (x) = 1 x 2 : f '(x) = 1/x^2 1 0 1 2 3 4 5 4 2 0 2 4 x 40 / 54

Derivatives. Geometrical Interpretation. A quick check-up of the consistency of the obtained results: 1 The expression f (x) = 1 x is always negative which 2 corresponds to negative slopes of the tangent lines to f (x) = 1 x at any point of the domain. 2 As x goes to infinity the slope of the tangent lines becomes less and less steep which corresponds to lim f (x) = 0. x Remark on notation: 1 notice that lim x 0 + x = and lim 1 =. Thus, writing x 0 x that lim f (x) = is not sloppy but simply wrong! x 0 However, lim 1 = and x 0 + x 2 lim 1 =. In this x 0 x 2 case saying that lim 1 = is correct. x 0 x 2 41 / 54

Derivatives. More Notation. y = f (x), y = f ; }{{} f = df dx = dy dx = d dx f. Newton s notation }{{} Leibniz s notation Higher Derivatives: If u = u(x) is an n-time differentiable function of x then: u (x) = du dx = Dx is also a function of x and is referred to as the first derivative of u(x). (u (x)) = u (x) = d du dx dx = d 2 dx u = D 2 u is also a function of x 2 and is referred to as the second derivative of u(x).. ( u (n 1) (x) ) = u (n) (x) = d d n 1 u dx dx = d n n 1 dx u = D n u is also a n function of x and is referred to as the n th derivative of u(x). 42 / 54

Derivatives. Example: using the definition introduced above derive the derivative of the function f (x) = x n for n N. 1 Construct the difference quotient f x first: f x = (x+ x)n x n x = 1 x (x n + nx n 1 x + O ( ( x) 2) x n ) = 1 x (nx n 1 x + O ( ( x) 2) ) = nx n 1 + O( x). 2 Consider what happens as x approaches 0: f x = nx n 1 + O( x) x 0 nx n 1. f (x) = d dx x n = nx n 1, n N 43 / 54

Derivatives. Physical Interpretation. Consider the following graph: 1.0 0.0 0.5 1.0 1.5 2.0 y = f(x) delta y delta x 0 1 2 3 4 5 x y x y x - relative or average rate of change x 0 dy dx - instanteneous rate of change 44 / 54

Derivatives. Physical Interpretation. Example (Pumpkin Drop): Suppose you re participating in a contest dedicated to the Halloween Celebration. The goal of the contest is to throw a pumpkin from the top of KG II as precisely on the mark on the nearby lawn as possible. Assuming that the equation h(t) = 80 5t 2 describes the coordinate of the vertical position of the pumpkin, calculate: 1 the average velocity of the pumpkin assuming it was falling for t = 4 seconds; 2 the instanteneous velocity of the pumpkin at t = 4. 45 / 54

Derivatives. Physical Interpretation. Solution: The average velocity of the pumpkin throughout the time interval (t 0, t 1 ) is given by h t = h 1 h 0 t 1 t 0 = 0 80 4 0 = 20 m/s. The instanteneous velocity of the pumpkin at t = 4 is given by d dt h = d dt (80 5t2 ) = 0 10t. At t = 4 the instanteneous velocity equals to d dt h t=4 = (0 10t) t=4 = 40 m/s. 46 / 54

Derivatives: Frequently Used Rules. Product Rule. The Product Rule allows to take derivatives of the product of functions for which derivatives exist. E.g. d dx (x n sin(x)) =? Product Rule: suppose u(x) and v(x) are differentiable functions, then (uv) = u v + uv. Derivation of the rule: Consider the change in the functional value first: (uv) = u(x + x) v(x + x) u(x) v(x) = (u(x + x) u(x)) v(x+ x)+u(x) v(x+ x) u(x) v(x) = (u(x + x) u(x)) v(x + x)+u(x) (v(x + x) v(x)) = u v(x + x) + u(x) v. 47 / 54

Derivatives: Frequently Used Rules. Product Rule. Construct the difference quotient and consider what happens if x 0: (uv) x = u v(x+ x)+u(x) v x = u v x v(x + x) + u(x) x x 0 du dx v(x) + u(x) dv dx. d dx du (uv) = v(x) + u(x)dv dx dx 48 / 54

Derivatives: Frequently Used Rules. Quotient Rule. The Quotient Rule allows to take derivatives of the quotient of two functions for which derivatives exist. ( d E.g. 1 ) dx x =? n Quotient Rule: suppose u(x) and v(x) are differentiable ( u ) u v uv functions, then = v v 2. Derivation of the rule: Consider the change in the functional value first: ( ) u v = u+ u v+ v u v = uv+( u)v uv ( v)u (v+ v)v = v u u v (v+ v) v. 49 / 54

Derivatives: Frequently Used Rules. Quotient Rule. Construct the difference quotient and consider what happens if x 0: ( u v ) x = u v v u x x (v+ v)v x 0 du dx v dv dx u v v. du d dx (u v ) = dx v dv v v dx u 50 / 54

Derivatives: Frequently Used Rules. Chain Rule. The Chain Rule allows to take derivatives of composite functions. Chain Rule: if f (x) and g(x) are differentiable functions then the composite function (g f )(x) = g(f (x)) is also differentiable and ((g f )(x)) = (g(f (x)) = g (f (x)) f (x). Example: d dt (sin(t))10 = 10(sin(t)) 9 }{{} cos(t) }{{}. derivative of the outer function derivative of the inner function 51 / 54

Derivatives: Chain Rule and Substitution Method. Substitution Method (Leibniz s Notation): Suppose f (x) and g(x) are differentiable functions. Consider a composite function g(f (x)) and let u = f (x), then g(f (x)) = g(u) and d dg(u) g(u) = du(u) dx du dx Example: consider the function g(x) = sin(x 2 ). Find d dx sin(x 2 ) using the substitution method. Solution: Let f (x) = x 2 = u, then g(f (x)) = sin(x 2 ) = g(u).. We can then find the derivative using the substitution method: d dx g(u) = d dsin(u) dx sin(u) = du du dx = cos(u) 2x = cos(x 2 ) 2x. 52 / 54

Implicit Consider the function y = x m n with m, n N \ {0}. Our goal is to find d dx x m n. The approach will be to treat y as an implicit function of x. Therefore, y = x m n y n = x m. d ( ) dx y n = d dx x m d dy y n dy dx = mx m 1 }{{} chain rule ny n 1 dy dx = mx m 1 d dx x m n = m n x m n 1 53 / 54

Implicit Example: y is defined by y 4 + xy 2 2 = 0 as an implicit function of x. Find the expression for dy dx. Explicit Solution: y 2 = x± x 2 +8 2 x± x 2 +8 2 y = ± Taking the derivative of this expression is very unpleasant. Implicit Solution: leave the expression as it is and differentiate the both sides. d dx (y 4 + xy 2 2 = 0) 4y 3 y + y 2 + 2xyy = 0 (4y 3 + 2xy)y = y 2 y = y 2 4y 3 +2xy. 54 / 54