calculus review session
play

Calculus Review Session Brian Prest Duke University Nicholas - PowerPoint PPT Presentation

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


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

  2. 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!

  3. Functions and Continuity

  4. Functions, continuous functions β€’ Function: 𝑔(𝑦) – 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

  5. Functions, continuous functions 1 𝑔𝑝𝑠 0 ≀ 𝑦 < 1 β€’ Are these functions? 𝑧 = |𝑦| 𝑧 = 2 𝑔𝑝𝑠 1 ≀ 𝑦 < 3 3 𝑔𝑝𝑠 𝑦 β‰₯ 3 𝑧 = 0.5𝑦 + 2 Yes! Yes! Yes! 𝑦 2 + 𝑧 2 = 1 |𝑧| = 𝑦 𝑧 = 3 No! No! Yes! 5

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

  7. Functions, continuous functions 1 𝑔𝑝𝑠 0 ≀ 𝑦 < 1 β€’ Are these continuous functions? 𝑧 = 2 𝑔𝑝𝑠 1 ≀ 𝑦 < 3 𝑧 = |𝑦| 3 𝑔𝑝𝑠 𝑦 β‰₯ 3 𝑧 = 0.5𝑦 + 2 Yes! No! Yes! 𝑦 2 + 𝑧 2 = 1 |𝑧| = 𝑦 No! (not a 𝑧 = 3 No! (not a function) function) Yes! 7

  8. Solving Systems of Equations

  9. Solving systems of linear equations β€’ Count number of equations, number of unknowns – If # equations = # unknowns, unique solution might be possible Example: A. 𝑧 = 𝑦 B. 𝑧 = 2 βˆ’ 𝑦 Answer : 𝑦 = 1, 𝑧 = 1 – If # equations < # unknowns, no unique solution. Example: β€’ a = 1 βˆ’ 2𝑐 . 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: 𝑧 = 1 + 𝑦 β€’ Algebraic solutions β€’ Graphical solution 9

  10. Economics Example: Algebraic Approach β€’ Economics Example 1. Supply: 𝑅 π‘‘π‘£π‘žπ‘žπ‘šπ‘—π‘“π‘’ = 2 βˆ— 𝑄𝑠𝑗𝑑𝑓 2. Demand: 𝑅 π‘’π‘“π‘›π‘π‘œπ‘’π‘“π‘’ = 4 βˆ’ 2 βˆ— 𝑄𝑠𝑗𝑑𝑓 3. β€œMarket Clearing”: 𝑅 π‘‘π‘£π‘žπ‘žπ‘šπ‘—π‘“π‘’ = 𝑅 π‘’π‘“π‘›π‘π‘œπ‘’π‘“π‘’ β€’ Substitute equations (1) and (2) into (3) and solve for Price. – 2 βˆ— 𝑄𝑠𝑗𝑑𝑓 = 4 βˆ’ 2 βˆ— 𝑄𝑠𝑗𝑑𝑓 – 4 βˆ— 𝑄𝑠𝑗𝑑𝑓 = 4 β†’ 𝑄𝑠𝑗𝑑𝑓 = 1 β€’ Substitute price back into (1) and (2) – 𝑅 π‘‘π‘£π‘žπ‘žπ‘šπ‘—π‘“π‘’ = 2 βˆ— 𝑄𝑠𝑗𝑑𝑓 = 2 – 𝑅 π‘’π‘“π‘›π‘π‘œπ‘’π‘“π‘’ = 4 βˆ’ 2 βˆ— 𝑄𝑠𝑗𝑑𝑓 = 2 β€’ 𝑸𝒔𝒋𝒅𝒇 = 𝟐 , 𝑹 π’•π’—π’’π’’π’Žπ’‹π’‡π’† = πŸ‘, 𝑹 𝒆𝒇𝒏𝒃𝒐𝒆𝒇𝒆 = πŸ‘

  11. Economics Example: Graphical Approach β€’ Economics Example Supply: 𝑅 π‘‘π‘£π‘žπ‘žπ‘šπ‘—π‘“π‘’ = 2 βˆ— 𝑄𝑠𝑗𝑑𝑓 1. Demand: 𝑅 π‘’π‘“π‘›π‘π‘œπ‘’π‘“π‘’ = 4 βˆ’ 2 βˆ— 𝑄𝑠𝑗𝑑𝑓 2. β€œMarket Clearing”: 𝑅 π‘‘π‘£π‘žπ‘žπ‘šπ‘—π‘“π‘’ = 𝑅 π‘’π‘“π‘›π‘π‘œπ‘’π‘“π‘’ 3. β€’ Rearrange equations so they’re all in the same β€œy=” terms 1 2 𝑅 π‘‘π‘£π‘žπ‘žπ‘šπ‘—π‘“π‘’ – (1) becomes 𝑄𝑠𝑗𝑑𝑓 = βˆ’2 (𝑅 π‘’π‘“π‘›π‘π‘œπ‘’π‘“π‘’ βˆ’ 4) = 2 βˆ’ 1 1 2 𝑅 π‘’π‘“π‘›π‘π‘œπ‘’π‘“π‘’ – (2) becomes 𝑄𝑠𝑗𝑑𝑓 = 2.5 2 1.5 Price Demand 1 Supply 0.5 0 0 1 2 3 4 5 Quantity

  12. Derivatives

  13. 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: 𝑔 β€² 𝑦 or 𝑒 𝑒𝑔 𝑒𝑦 𝑔(𝑦) or 𝑒𝑦 – Be comfortable using these Δ𝑦 interchangeably Δ𝑔 β€’ We can interpret the derivative (at a particular point) as the slope of the tangent line at that point. – If there is a small change in x, how much does f(x) change? 13

  14. Differentiation, also known as taking the derivative (one variable) β€’ Linear function: derivative is a constant, the slope 𝑒𝑧 (if 𝑧 = 𝑛𝑦 + 𝑐 , then 𝑒𝑦 = 𝑛 ) β€’ Nonlinear function: derivative is not constant, but rather a function of x. Linear Function Non-Linear Function 𝑔 𝑦 = βˆ’π‘¦ 2 + 5𝑦 βˆ’ 2 𝑔(𝑦) = 2𝑦 βˆ’ 2 14

  15. 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., 𝑧 = |𝑦| ) β€’ Why do we care? – When a function is differentiable, we can use all the power of calculus. 15

  16. Functions, continuous functions 1 𝑔𝑝𝑠 0 ≀ 𝑦 < 1 β€’ Are these continuously differentiable functions? 𝑧 = 2 𝑔𝑝𝑠 1 ≀ 𝑦 < 3 𝑧 = |𝑦| 3 𝑔𝑝𝑠 𝑦 β‰₯ 3 𝑧 = 0.5𝑦 + 2 No! No! Yes! 𝑦 2 + 𝑧 2 = 1 |𝑧| = 𝑦 No! (not a 𝑧 = 3 No! (not a function) function) Yes! 16

  17. Rules of differentiation (one variable) β€’ Power rule – 𝑧 = 𝑙𝑦 𝑏 β†’ 𝑒𝑧 𝑒𝑦 = 𝑏𝑙𝑦 π‘βˆ’1 – E.g., 𝑧 = 2𝑦 3 β†’ 𝑒𝑧 𝑒𝑦 = 6𝑦 2 β€’ Derivative of a constant – 𝑧 = 𝑙 β†’ 𝑒𝑧 𝑒𝑦 = 0 𝑒𝑧 – E.g., 𝑧 = 3 β†’ 𝑒𝑦 = 0 β€’ Chain rule β†’ 𝑒𝑧 𝑒𝑦 = 𝑒𝑔 𝑒𝑕 – 𝑧 = 𝑔 𝑕 𝑦 𝑒𝑕 𝑒𝑦 – E.g., 𝑧 = 1 + 7𝑦 2 β†’ 𝑒𝑧 𝑒𝑦 = 2 1 + 7𝑦 βˆ— 7 = 14 + 98𝑦 – 𝑔 𝑕(𝑦) = 𝑕(𝑦) 2 𝑕 𝑦 = 1 + 7𝑦 17

  18. Rules of differentiation (one variable) β€’ Addition rule – 𝑧 = 𝑔 𝑦 + 𝑕 𝑦 β†’ 𝑒𝑧 𝑒𝑦 = 𝑒𝑔 𝑒𝑦 + 𝑒𝑕 𝑒𝑦 – E.g., 𝑧 = 2𝑦 + 𝑦 3 β†’ 𝑒𝑧 𝑒𝑦 = 2 + 3𝑦 2 β€’ Product rule – 𝑧 = 𝑔 𝑦 βˆ— 𝑕 𝑦 β†’ 𝑒𝑧 𝑒𝑦 = 𝑒𝑔 𝑒𝑦 𝑕 𝑦 + 𝑒𝑕 𝑒𝑦 𝑔 𝑦 – E.g., 𝑧 = 𝑦 2 3𝑦 + 1 β†’ 𝑒𝑧 𝑒𝑦 = 2𝑦 3𝑦 + 1 + 3𝑦 2 = 9𝑦 2 + 2𝑦 β€’ Quotient rule 𝑒𝑔 𝑒𝑦 𝑕 𝑦 βˆ’ 𝑒𝑕 𝑒𝑦 𝑔 𝑦 – 𝑧 = 𝑔 𝑦 𝑕 𝑦 β†’ 𝑒𝑧 𝑒𝑦 = 𝑕 𝑦 2 𝑦 2 𝑒𝑦 = 2𝑦 3𝑦+1 βˆ’3𝑦 2 3𝑦+1 β†’ 𝑒𝑧 – E.g., 𝑧 = 3𝑦+1 2 18

  19. 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 – 𝑧 = 𝑦 2 – First derivative = 2𝑦 – Second derivative = 2 – Third derivative = 0 β€’ Other functions may not reduce to zero: e.g., 𝑔 𝑦 = 𝑓 𝑦 19

  20. Exponentials and Logarithms

  21. 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 𝑧 = 𝑐 𝑦 ↔ log 𝑐 𝑧 = 𝑦 β€’ In practice, we most often use base 𝑓 (Euler's number, 2.71828182846 …). – We write this as β€œln”: ln 𝑦 = log 𝑓 𝑦 . β€’ 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

  22. Rules of logarithms β€’ Logarithm of exponential function: ln 𝑓 𝑦 = 𝑦 – log of exponential function (more generally): ln 𝑓 𝑕 𝑦 = 𝑕(𝑦) β€’ Exponential of log function: 𝑓 ln 𝑦 = 𝑦 – More generally, 𝑓 ln β„Ž 𝑦 = β„Ž(𝑦) β€’ Log of products: ln 𝑦𝑧 = ln 𝑦 + ln 𝑧 𝑦 β€’ Log of ratio or quotient: ln 𝑧 = ln 𝑦 βˆ’ ln 𝑧 β€’ Log of a power: ln 𝑦 𝑙 = 𝑙 ln 𝑦 – E.g., ln 𝑦 2 = 2ln(𝑦) 22

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

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend