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

Similar documents
Calculus Review Session. Rob Fetter Duke University Nicholas School of the Environment August 13, 2015

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

EconS 301. Math Review. Math Concepts

Math 110 Final Exam General Review. Edward Yu

September Math Course: First Order Derivative

2.6 Logarithmic Functions. Inverse Functions. Question: What is the relationship between f(x) = x 2 and g(x) = x?

Calculus Review. Nicholas School of the Environment Master s of Environmental Management Program

Final Exam Review Exercise Set A, Math 1551, Fall 2017

Essential Maths 1. Macquarie University MAFC_Essential_Maths Page 1 of These notes were prepared by Anne Cooper and Catriona March.

MAT1300 Final Review. Pieter Hofstra. December 4, 2009

1 Functions and Graphs

2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems

Unit IV Derivatives 20 Hours Finish by Christmas

Unit IV Derivatives 20 Hours Finish by Christmas

Fall 2009 Math 113 Final Exam Solutions. f(x) = 1 + ex 1 e x?

1 Functions, Graphs and Limits

Final Exam Review Packet

Final Exam Review Packet

Final Exam Study Guide

Lecture 5 - Logarithms, Slope of a Function, Derivatives

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

AP Calculus ---Notecards 1 20

Final Exam Review. MATH Intuitive Calculus Fall 2013 Circle lab day: Mon / Fri. Name:. Show all your work.

Composition of Functions

Wed. Sept 28th: 1.3 New Functions from Old Functions: o vertical and horizontal shifts o vertical and horizontal stretching and reflecting o

MATH 1325 Business Calculus Guided Notes

December Exam Summary

Tvestlanka Karagyozova University of Connecticut

Topics and Concepts. 1. Limits

3.9 Derivatives of Exponential and Logarithmic Functions

Review for Final Exam, MATH , Fall 2010

Mathematics Review Revised: January 9, 2008

The following are generally referred to as the laws or rules of exponents. x a x b = x a+b (5.1) 1 x b a (5.2) (x a ) b = x ab (5.

College Algebra. Chapter 5 Review Created by: Lauren Atkinson. Math Coordinator, Mary Stangler Center for Academic Success

Greenwich Public Schools Mathematics Curriculum Objectives. Calculus

Advanced Placement Calculus I - What Your Child Will Learn

Predator - Prey Model Trajectories and the nonlinear conservation law

SCHOOL OF DISTANCE EDUCATION

Doug Clark The Learning Center 100 Student Success Center learningcenter.missouri.edu Overview

GLOSSARY. Accumulation function A function of the form a

2015 Math Camp Calculus Exam Solution

MATH 408N PRACTICE FINAL

Math 1071 Final Review Sheet The following are some review questions to help you study. They do not

AP Calculus Worksheet: Chapter 2 Review Part I

1.4 Techniques of Integration

Functions. A function is a rule that gives exactly one output number to each input number.

Chapter 6: Messy Integrals

Section 4.2 Logarithmic Functions & Applications

Midterm Study Guide and Practice Problems

AP Calculus Summer Assignment Summer 2017 Expectations for Summer Assignment on the first day of the school year.

MATH1013 Calculus I. Revision 1

3.1 Derivative Formulas for Powers and Polynomials

7.1 Exponential Functions

Standards for AP Calculus AB

4.4 Graphs of Logarithmic Functions

CALCULUS SEVENTH EDITION. Indiana Academic Standards for Calculus. correlated to the CC2

Learning Objectives for Math 165

Section 12.2 The Second Derivative

Business Calculus

2.2 THE DERIVATIVE 2.3 COMPUTATION OF DERIVATIVES: THE POWER RULE 2.4 THE PRODUCT AND QUOTIENT RULES 2.6 DERIVATIVES OF TRIGONOMETRIC FUNCTIONS

Prentice Hall Calculus: Graphical, Numerical, and Algebraic AP* Student Edition 2007

Final Exam Study Guide Mathematical Thinking, Fall 2003

7.1 Day 1: Differential Equations & Initial Value Problems (30L)

17 Exponential and Logarithmic Functions

Calculus Overview. f(x) f (x) is slope. I. Single Variable. A. First Order Derivative : Concept : measures slope of curve at a point.

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

Advanced Mathematics Unit 2 Limits and Continuity

Advanced Mathematics Unit 2 Limits and Continuity

CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises

DIFFERENTIATION RULES

MAC Module 8 Exponential and Logarithmic Functions I. Rev.S08

MAC Module 8. Exponential and Logarithmic Functions I. Learning Objectives. - Exponential Functions - Logarithmic Functions

Purdue University Study Guide for MA Credit Exam

Section 11.3 Rates of Change:

Anticipated workload: 6 hours Summer Packets are due Thursday, August 24, 2017 Summer Assignment Quiz (including a unit circle quiz) the same day

A Partial List of Topics: Math Spring 2009

One-Variable Calculus

3. (12 points) Find an equation for the line tangent to the graph of f(x) =

Topic Subtopics Essential Knowledge (EK)

AP Calculus AB - Course Outline

AP Calculus AB Summer Assignment

Lecture : The Indefinite Integral MTH 124

Math RE - Calculus II Antiderivatives and the Indefinite Integral Page 1 of 5

Differentiation. 1. What is a Derivative? CHAPTER 5

Calculus I Review Solutions

Mathematics for Economics ECON MA/MSSc in Economics-2017/2018. Dr. W. M. Semasinghe Senior Lecturer Department of Economics

Chapter 4 Differentiation

INTERNET MAT 117. Solution for the Review Problems. (1) Let us consider the circle with equation. x 2 + 2x + y 2 + 3y = 3 4. (x + 1) 2 + (y + 3 2

Calculus II Lecture Notes

10 Exponential and Logarithmic Functions

MATH 142 Business Mathematics II. Spring, 2015, WEEK 1. JoungDong Kim

Ms. York s AP Calculus AB Class Room #: Phone #: Conferences: 11:30 1:35 (A day) 8:00 9:45 (B day)

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

Calculus Essentials Ebook

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?

REVIEW OF MATHEMATICAL CONCEPTS

2.1 The Tangent and Velocity Problems

The plot shows the graph of the function f (x). Determine the quantities.

APPLICATIONS OF DIFFERENTIATION

Part I: Multiple Choice Questions (5 points each) d dx (x3 e 4x ) =

Transcription:

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

Topics to be covered 1. Functions and Continuity 2. Solving Systems of Equations 3. Derivatives (one variable) 4. Exponentials and Logarithms 5. Derivatives (multiple variables) 6. Integration 7. Optimization 2 ***Please ask questions at any time!

Functions and Continuity

Functions, continuous functions Function: f(x) Mathematical relationship between variables (input x, output y ) Each input (x) is related to one and only one output (y). Easy graphical test: does an arbitrary vertical line intersect in more than one place? 4

Functions, continuous functions Are these functions? y = 0.5x + 2 Yes! y = x y = Yes! 1 for 0 x < 1 2 for 1 x < 3 3 for x 3 Yes! No! x 2 + y 2 = 1 y = x No! y = 3 Yes! 5

Functions, continuous functions Continuous: a function for which small changes in x result in small changes in y. No holes, skips, or jumps Intuitive test: can you draw the function without lifting your pen from the paper? 6

Functions, continuous functions Are these continuous functions? y = 0.5x + 2 y = x Yes! y = 1 for 0 x < 1 2 for 1 x < 3 3 for x 3 No! Yes! x 2 + y 2 = 1 No! (not a function) y = x No! (not a function) y = 3 Yes! 7

Solving Systems of Equations

Solving systems of linear equations Count number of equations, number of unknowns If # equations = # unknowns, unique solution might be possible Example: A. y = x B. y = 2 x Answer: x = 1, y = 1 If # equations < # unknowns, no unique solution. Example: a = 1 2b. What is the value of b? Impossible. Any value works If # equations > # unknowns, generally no solution that satisfies all of them. Example: A and B above and third equation: y = 1 + x Algebraic solutions Graphical solution 9

Economics Example: Algebraic Approach Economics Example 1. Supply: Q supplied = 2 Price 2. Demand: Q demanded = 4 2 Price 3. Market Clearing : Q supplied = Q demanded Substitute equations (1) and (2) into (3) and solve for Price. 2 Price = 4 2 Price 4 Price = 4 Price = 1 Substitute price back into (1) and (2) Q supplied = 2 Price = 2 Q demanded = 4 2 Price = 2 Price = 1, Q supplied = 2, Q demanded = 2

Price Economics Example: Graphical Approach Economics Example 1. Supply: Q supplied = 2 Price 2. Demand: Q demanded = 4 2 Price 3. Market Clearing : Q supplied = Q demanded Rearrange equations so they re all in the same y= terms (1) becomes Price = 1 2 Qsupplied (2) becomes Price = 1 2 (Qdemanded 4) = 2 1 2 Qdemanded 2.5 2 1.5 1 0.5 0 Demand Supply 0 1 2 3 4 5 Quantity

Derivatives

Differentiation, also known as taking the derivative (one variable) The derivative of a function is the rate of change of the function. Often denote it as: f x or d df f(x) or dx dx Be comfortable using these interchangeably We can interpret the derivative (at a particular point) as the slope of the tangent line at that point. 13 If there is a small change in x, how much does f(x) change? Δf Δx

Differentiation, also known as taking the derivative (one variable) Linear function: derivative is a constant, the slope (if y = mx + b, then dy dx = m) Nonlinear function: derivative is not constant, but rather a function of x. Linear Function f(x) = 2x 2 Non-Linear Function f x = x 2 + 5x 2 14

Differentiable functions Differentiable: A function is differentiable at a point when there's a defined derivative at that point. Algebraic test: if you know the equation and can solve for the derivative Graphical test: slope of tangent line of points from the left is approaching the same value as slope of the tangent line of the points from the right Intuitive graphical test: As I zoom in, does the function tend to become a straight line? Continuously differentiable function: differentiable everywhere x is defined. That is, everywhere in the domain. If not stated, then negative to positive infinity. If differentiable, then continuous. However, a function can be continuous and not differentiable! (e.g., y = x ) Why do we care? When a function is differentiable, we can use all the power of calculus. 15

Functions, continuous functions Are these continuously differentiable functions? y = x y = 0.5x + 2 No! y = 1 for 0 x < 1 2 for 1 x < 3 3 for x 3 No! Yes! x 2 + y 2 = 1 No! (not a function) y = x No! (not a function) y = 3 Yes! 16

Rules of differentiation (one variable) Power rule y = kx a dy dx = akxa 1 E.g., y = 2x 3 dy dx = 6x2 Derivative of a constant y = k dy dx = 0 E.g., y = 3 dy dx = 0 Chain rule 17 y = f g x dy = df dg dx dg dx E.g., y = 1 + 7x 2 dy = 2 1 + 7x 7 = 14 + 98x dx f g(x) = g(x) 2 g x = 1 + 7x

Rules of differentiation (one variable) Addition rule y = f x + g x dy = df + dg dx dx dx E.g., y = 2x + x 3 dy = 2 + dx 3x2 Product rule y = f x g x dy = df dg g x + f x dx dx dx E.g., y = x 2 3x + 1 dy = 2x 3x + 1 + dx 3x2 = 9x 2 + 2x Quotient rule 18 y = f x g x dy dx = df dx E.g., y = x2 3x+1 dg g x f x dy dx dx g x 2 = 2x 3x+1 3x2 3x+1 2

Second, third and higher derivatives Derivative of the derivative Easy: Differentiate the function again (and again, and again ) Some functions (polynomials without fractional or negative exponents) reduce to zero, eventually y = x 2 First derivative = 2x Second derivative = 2 Third derivative = 0 Other functions may not reduce to zero: e.g., f x = e x 19

Exponentials and Logarithms

Exponents and logarithms (logs) Logs are incredibly useful for understanding exponential growth and decay half-life of radioactive materials in the environment growth of a population in ecology effect of discount rates on investment in energy-efficient lighting Logs are the inverse of exponentials, just like addition:subtraction and multiplication:division y = b x log b y = x In practice, we most often use base e (Euler's number, 2.71828182846 ). We write this as ln : ln x = log e x. Sometimes, we also use base 10. When in doubt, use natural log Important! In Excel, LOG() is base 10 and LN() is natural log 21

Rules of logarithms Logarithm of exponential function: ln e x = x log of exponential function (more generally): ln e g x = g(x) Exponential of log function: e ln x = x More generally, e ln h x = h(x) Log of products: ln xy = ln x + ln y Log of ratio or quotient: ln x y = ln x ln y Log of a power: ln x k = k ln x E.g., ln x 2 = 2ln(x) 22

Derivatives of logarithms d ln x = 1. This is just a rule. You have to memorize it. dx x What about d ln 2x? dx Chain Rule: d 1 ln 2x = 2 = 1 dx 2x x Or, use the fact that ln 2x = ln 2 + ln x and take the derivative of each term. (Simpler.) Also, this means d dx ln kx = d dx ln k + ln x = 1 x for any constant k > 0. (ln A is defined only for A > 0.) In general for d ln g(x), where g(x) is any function of x, use the Chain dx Rule. Why useful? Log-changes give percentages: d ln x = dx x 23

Derivatives of exponents d dx ex = e x. This is just a rule. You have to memorize it. What about d dx e2x? To solve, rewrite so that f g(x) = e g(x) and g x = 2x. The Chain Rule tells us that d dx df dg = eg(x) and dg dx = 2 d dx df dg f g x = = dg dx eg(x) 2 = 2e 2x df dg f g x =. dg dx Analogous to how d ln(x) is the growth as a percentage, dx e x grows at a rate proportional to its current value 24 E.g., if a population level is given by y = 100e 0.05t, where t is time in years, then: dy dt = 0.05 100e0.05t = 0.05y, so it is growing at a rate of 5%.

Why Exponentials and Logs? Numerous applications Interest rates (for borrowing or investment) Decomposition of radioactive materials Growth of a population in ecology Annual vs. continuous compounding See examples in pdf notes With exponential growth/decay, doubling time or half-life is constant, depending on r. As r increases, doubling time or half-life is shorter. Intuitive: faster rate of increase or decay. 25

Derivatives with functions of more than one variable

Partial and total derivatives All the previous stuff about derivatives was based on y = f(x): one input variable and one output. What about multivariate relationships? E.g., f x, y, z = x 2 y 3 2xz Demand for energy-efficient appliances depends on income and prices Growth of a prey population depends on natural reproduction rate, rate of growth of predator population, environmental carrying capacity for prey Forest size depends on trees planted, trees harvested, natural growth rates, etc. Partial derivatives let us express change in the output variable given a small change in the input variable, with other variables still in the mix 27

Guidelines for partial derivatives Partial derivatives denoted f, f x y, etc. ( curly d ) Differentiate each term one by one, holding other variables constant Suppose you're differentiating with respect to x. If a term has x in it, take the derivative with respect to x. If a term does not have x in it, it's a constant with respect to x. The derivative of a constant with respect to x is zero. Examples f = x 2 y 3 + 2x + y z = x 2 y 5 + 2xy 3 f x = 2xy3 + 2 z x = 2xy5 + 2y 3 f y = x2 3y 2 + 1 z y = x2 5y 4 + 2x 3y 2 28

Guidelines for partial derivatives Cross-partial derivatives: for f(x, y), first, then x y Denoted y f x How does the f x or 2 f y x slope change as y changes? Or the other way around. They re equivalent. That is, you could take f = x 2 y 3 + 2x f x = 2xy3 + 2 y f x = 2x 3y2 x y first and then take x f y = 2x 3y2 f y = x2 3y 2 of the result: 29

Total derivatives / differentials Total Derivative: f(x, y). What if both x and y are changing together? Represent the change in a multivariate function with respect to all variables Economics Example: f x, y = profits, where x = price, y = #customers Partial Deriv.: how much would profits change if we price, holding #customers constant? Total Deriv.: how much would profits change if we price, accounting for resulting loss in customers? More general example: both x and y are changing over time, so doesn t make sense to hold one constant Sum of the partial derivatives for each variable, multiplied by the change in that variable df = f f dx + dy x y See https://en.wikipedia.org/wiki/total_derivative 30

Integration

Integration Integral of a function is "the area under the curve" (or the line) Integration (aka antiderivative ) is the inverse of differentiation Just like addition is inverse of subtraction Just like exponents are inverse of logarithms Thus: the integral of the derivative is the original function plus a constant of integration. Or, df dx dx = f x + c df dx 32

Integration Integration is useful for recovering total functions when we start with a function representing a change in something Location, when starting with speed Value of natural capital stock (e.g., forest) when we have a function representing its growth rate Total demand when we start with marginal demand Numerous applications in statistics, global climate change, etc. Two functions that have the same derivative can vary by a constant (thus, the constant of integration) 33 Example: d dx x2 + 4000 = 2x Also, d dx x2 30 = 2x So we write 2x dx = x 2 + c, where c is any constant.

Rules of integration (one variable) Rules can be thought of as reversing the rules for derivatives Power rule x a dx = 1 a+1 xa+1 + c E.g., x 2 dx = 1 3 x3 + c Integral of a constant kdx = kx + c Exponential Rule e x dx = e x + c Logarithmic Rule Integral of sums f x + g x dx = f x dx + g x dx Can pull constants out kf(x)dx = k f x dx 1 x dx = ln x + c 34

Indefinite vs. Definite integrals With indefinite integral, we recover the function that represents the reverse of differentiation df dx = f x + c dx E.g., x 2 dx = 1 3 x3 + c This function would give us the area under the curve but as a function, not a number With definite integral, we solve for the area under the curve between two points b df a dx = f b f(a) dx And so we should get a number or a function, in a multivariate context (but we won't talk about that today) How far did we move between 1pm and 2pm? 35

Definite integrals Basic approach Compute the indefinite integral Drop the constant of integration Evaluate the integral at the upper limit of integration Evaluate the integral at the lower limit of integration Calculate the difference: (upper lower) Example: 2 6 (3x 2 + 2)dx Indefinite integral: x 3 + 2x (without constant of integration) Evaluate this at the upper limit: 6 3 + 2 6 Evaluate this at the lower limit: 2 3 + 2 2 Take the difference: (6 3 + 2 6) (2 3 + 2 2) = 228 12 = 216 6 In math notation: 2 (3x 2 + 2)dx = x 3 + 2x 6 2 = 216 36

Optimization

Optimization: Finding minimums and maximums Use first derivatives to see how afunction is changing dy dx dy dx > 0: function is increasing < 0: function is decreasing What is happening when dy dx = 0? One possibility: function is turning around» This is a "critical point" Another possibility: inflection point. (consider y = x 3 at x = 0.) 38

Procedure for finding minimums and maximums Take first derivative Where does first derivative equal zero? These are candidate points for min or max ( critical points ) Example: f x = x 2 + 5x 2 df dx = 2x + 5 0 x = 5 2 = 2.5 Take second derivative Use second derivatives to determine how the change is changing Minimum: dy dx = 0 and d2 y dx 2 > 0 Maximum: dy dx = 0 and d2 y dx 2 < 0 See technical notes on next slide. 39 Ex: d2 f d 2 x = 2 < 0 Maxiumum

Finding minimums and maximums (technical notes) Technically, dy = 0 is a necessary condition for a min or max. dx (In order to a point to be a min or max, dy must be zero.) d2 y dx 2 > 0 is a sufficient condition for a minimum, and d2 y dx 2 < 0 is a sufficient condition for a maximum. But, these are not necessary conditions. That is, there could be a minimum at a point where d2 y dx 2 = 0. This is a technical detail that you almost certainly don t need to know until you take higher-level applied math. For a good, quick review of necessary and sufficient conditions, watch this 3-minute video: https://www.khanacademy.org/partnercontent/wi-phi/critical-thinking/v/necessary-sufficient-conditions dx 40

Inflection points Inflection point is where the function changes from concave to convex, or vice versa Second derivative tells us about concavity of the original function Inflection point: dy dx = 0 and d2 y dx 2 = 0 Technical: d2 y dx2 = 0 is a necessary but not sufficient condition for inflection point That's enough for our purposes. 41 Just know that an inflection point is where dy or a max. For more information I recommend: https://www.mathsisfun.com/calculus/maxima-minima.html (easiest) http://clas.sa.ucsb.edu/staff/lee/max%20and%20min's.htm http://clas.sa.ucsb.edu/staff/lee/inflection%20points.htm http://www.sosmath.com/calculus/diff/der13/der13.html http://mathworld.wolfram.com/inflectionpoint.html (most technical) dx = 0 but the point is not a min

Further resources These slides, notes, sample problems (see email) Strang textbook: http://ocw.mit.edu/resources/res-18-001-calculusonline-textbook-spring-2005/textbook/ Strang videos at http://ocw.mit.edu/resources/res-18-005-highlightsof-calculus-spring-2010/ (see "highlights of calculus ) Khan Academy videos: https://www.khanacademy.org/math Math(s) Is Fun: https://www.mathsisfun.com/links/index.html (10 upwards; algebra, calculus) Numerous other resources online. Find what works for you. Wolfram Alpha computational knowledge engine at http://www.wolframalpha.com/ Often useful for checking intuition or calculations Excellent way to get a quick graph of a function 42