Summary 2 Exponential and logarithmic functions Test 1: 13/03/24 Sit in – 240/011 Time: 1800-2000 hours Introduction ď§ General properties of: ď§ đŚ = đ đĽ = đ đĽ ; đđ đĄ; đŚ = đ đĄ = đđĄ , đ > 0 đđđ đ ≠ 1 ď§ Domain of the function – is the set of all real numbers, i.e., the variable t can take negative numbers ď§ Range of the function – is the set of all positive real numbers ď§ That is, the graphs for đ đĄ = đđĄ and đ đĄ = đ−đĄ are always above the t-axis Rules of exponential functions Statement 1. To multiply numbers with the same base – just ADD the indices Equation Example illustrating rule đđ đĽđđ = đđ+đ 2. To divide numbers with the same base, SUBTRACT the indices đđ = đđ−đ đ đ 3. To raise an exponential to a power, MULTIPLY the indices đđ đ = đđđĽđ Rules of exponential functions contd… Statement 4. To multiply numbers with the same index – Multiply the bases & raise to the index 5. To divide numbers with the same index, Equation Example illustrating rule đđ đĽđđ = (đ. đ)đ đđ đ = đđ đ đ Rules of exponential functions contd…. 1. Anything raised to the power zero is one, đ0 = 1 2. If an exponential in a fraction is moved from below the division line, 0 1 đ the sign of the index (power) changes; đ = đ = đ0−đ = đ−đ , e.g., đ đ 1 20 0−4 = 2−4 = = 2 24 24 3. To write roots as indices, everything under the root sign is raised to 1 3 đ 1 đ the power of : đ = đ ; 4 = 41 3 ; đđđđĄ 4. If any product or fraction is raised to a power, the index on each term is multiplied by the power: 2đ 2 đ5 2 = 4đ 4 đ 10 5. There are no rules for simplifying sums or differences of exponential functions; e.g., 2đĽ + 2đŚ ≠ 2đĽ+đŚ Solution to exponential functions • Remember: the solution of an equation is the value of the variable for which the LHS = RHS • Solving exponential functions involves two steps: 1. Simplify the exponential equation by writing each side of the equation as đđđ đ đđđ¤đđ 2. Since the bases on each side of the equation are identical, then if the LHS is to be equal to the RHS, the indices must also be identical. So equate the indices 3. Examples: 1. 2đĽ+3 2đĽ = 32 Applications of exponential functions Growth: Finding the future value of a sum to be invested in the current period đš = đ 1 + đ đĄ ; Principal (P) compounded annually for t years đ đđĄ đš =đ 1+ ; Principal compounded (m) times a year for t years đ đš = đđ đđĄ ; Principal compounded continuously at interest r, where i, r and t are constants as in investment and some models of population growth Discounting: Finding the present value of a sum to be received in the future đ= đš 1+đ đĄ =đš 1+đ −đĄ ; Present value (P) of F to be received in t years under annual compounding đ −đđĄ đ =đš 1+ ; Present value (P) of F to be received in t years under multiple đ compounding đ = đšđ −đđĄ ; Present value (P) of F to be received in t years under continuous compounding logarithms ď§ Logarithm is the power to which a base (b) must be raised to obtain a particular number (y), generally; ď§ đŚ = đ đĄ ↔ đĄ = đđđđ đŚ ď§ Log of y to the base b is the power to which the base (b) must be raised in order to attain the value y Solving natural exponential & logarithmic functions ď§ Since they are inverses of each other, one is helpful in solving the other Natural exponential Natural logarithm Constant đ ln đ = đ ln đ đ = đ Variable đ ln đĽ = đĽ ln đ đĽ = đĽ đ ln đ(đĽ) = đ(đĽ) ln đ đ(đĽ) = đ(đĽ) Function of a variable đĽđ§ đđ = n logarithms ď§ Common log and natural log ď§ Two commonly used bases – the number 10 & number e ď§ When 10 is the base, the logarithm is called common logarithm (đđđ10 ) ď§ When e is the base, the logarithm is called natural logarithm (đđđđ ) or ln ď§ In analytical work, natural logs are more convenient than common logs Rules of logarithms Statement Equation Rule 1. Log of a product ln đ˘đŁ = ln đ˘ + ln đŁ Rule 2. Log of quotient ln đ˘ đŁ = ln đ˘ − đđđŁ Rule 3. Log of power ln đ˘đ = đ ln đ˘ ; đ˘ > 0 Rule 1, Rule 2 & Rule 3 Rule 4. conversion of log base Rule 5. Inversion of log base Example illustrating rule ln đ˘đŁ đ /đĄ = ln đ˘ + ln đŁ đ − ln đĄ = ln đ˘ + đ đđ đŁ − ln t đđđđ đ˘ = đđđđ đ đđđđ đ˘ ; (đ˘ > 0) đđđđ đ = 1 đđđđ đ Proof: Let đ˘ = đ đ , đ đ đĄđđđĄ đ = đđđđ đ˘, then đđđđ đ˘ = đđđđ đ đ = đ đđđđ đ = (đđđđ đ˘)(đđđđ đ) đđđĄ đ˘ = đ; đđđđ đ = (đđđđ đ)(đđđđ đ); since đđđđ đ = 1, then đđđđ đ &(đđđđ đ) must be reciprocal of each other (your practice) Properties of logs • There are no real logs of negative numbers • Logs of numbers less than 1 are negative • Log (1) = 0 for any base • Logs of numbers greater than one are always positive Logarithmic functions ď§ Logarithmic function refers to a situation where a variable is expressed as a function of the logarithm of another variable ď§ Consider: đŚ = đ đĄ and đŚ = đ đĄ ď§ Write the above exponential functions in log forms ď§ In general the log of a function may be written as: ď§ The base of the power becomes the base of the log, ď§ The power drops down ď§ Where the number & base must be real positive numbers ď§ đđ˘đđđđ ď§ đđ˘đđđđ = đđđ đ đđđ¤đđ = đđđ đ đđđ¤đđ ď§ đđđđđđ đ đđ˘đđđđ = đđđ¤đđ Base conversion 𥠕 đŚ = đ´đđđĄ can always be converted into natural exponential function: đŚ = đ´đ • Consider a more general expression: đ´đ đđĄ & convert it to đ´đ đ𥠕 Idea is to express r as a function of b and c • We accomplish this by taking natural logs on both sides • ln đ đ = ln đ đ • đ = ln đ đ = đ ln đ • Therefore y = đ´đ đđĄ can always be rewritten in the natural base form, • đŚ = đ´đ (đ ln đ)𥠕 Convert đŚ = 3(5)2đĄ to a natural exponential function • A=3; b=5 & c=2 hence đ = đ đđ đ = 2 ln 5 • đŚ = 3(5)đĄ = 3đ (2 ln 5)𥠕 Use your calculate to simplify Base conversion • Convert log function of the form, t = đđđđ đŚ into equivalent natural log function • đđđđ đŚ = (đđđđ đ)(đđđđ đŚ) • By rule 5 of logs, t = đđđđ đŚ = •t= 1 đđđđ đŚ đđđđ đ ln đŚ ln đ • Convert the following functions into the natural log forms 1. t = đđđ2 đŚ 2. t = 7đđđ10 2đŚ Rules of differentiation • 1. The natural exponential function rule The derivative of a natural exponential function is equal to the original exponential function times the derivative of the exponent • đŚ = đ đ(đĄ) • đŚ ′ = đ đ(đĄ) â đ′ (đĄ) • Example 1: đŚ = đ đđĄ−đ ; exponent = kt-c • đ đĄ = đđĄ − đ & đ′ đĄ = đ • Substituting: đŚ ′ = đ đđĄ−đ â đ = đđ đđĄ−đ Rules of differentiation • 2. The natural logarithmic function rule đŚ = ln đ(đĄ) •đŚ • • • • • • 1 đ′ (đĄ) ′ = . đ (đĄ) = đ(đĄ) đ(đĄ) đ 1 = ln đđĄ → (ln đđĄ) = . đ đđĄ đđĄ ′ đŚ Example 1: đŚ = ln 5đĄ đ đĄ = 5đĄ & đ′ đĄ = 5 5 1 ′ Substituting: đŚ = = 5đĄ đĄ 5 Example 2: đŚ = ln đĄ ; đ đĄ = đĄ 5 & đ′ đĄ = 5đĄ 4 ′ • Substituting: đŚ = 5đĄ 4 đĄ5 = 5 đĄ = đ đđĄ = 1 đĄ Rules of differentiation • 3. Exponential function rule for base b other than e The derivative is the original function times the derivative of the exponent times the natural log of the base • đŚ = đ đ(đĄ) ; đ > 0, đ ≠ 1 • • • • • • • • đŚ ′ = đ đ(đĄ) â đ′ (đĄ) â ln đ Example 3: đŚ = đ đĄ ; đ đĄ = đĄ & đ′ đĄ = 1 Substituting: đŚ ′ = đ đĄ â 1 â ln đ đŚ ′ = đ đĄ ln đ Example 4: đŚ = 121−đĄ đ = 12; đ đĄ = 1 − đĄ; đ′ đĄ = −1 đŚ ′ = − (12)1−đĄ ln 12 Rules of differentiation • 4. Logarithmic function rule for base b other than e đŚ = đđđđ đ(đĄ); đ > 0, đ ≠ 1; • đŚ′ = 1 đ(đĄ) â đ′ (đĄ) â đđđđ đ = 1 đ(đĄ) â đ′ (đĄ) • Example 5: đŚ = đđđ2 (đĄ + 1); • đ đĄ = đĄ + 1 & đ′ đĄ = 1 ′ • Substituting: đŚ = • đŚ′ = 1 đĄ+1 ln 2 1 đĄ+1 â 1 â đđđ2 đ â 1 ln đ (Rule 5) Application đđŚ • find đđĽ đđđđ đŚ = đĽ đ đ đđĽ−đ • Using derivatives of exponential functions rules 1. Using derivatives of exponential functions rules and 2. Taking the natural log of the function & then differentiating the natural log function Application Practice: find the relative growth rate of sales at t=4, given S t = 100,000đ 0.5 đĄ , 1. đş = đ′ đ = At t=4; G = 0.5 −0.5 0.5đĄ 0.25đĄ ∗100,000đ 0.5 100,000đ 0.5đĄ 0.25 4 = 0.25 2 = 0.25đĄ −0.5 = 0.25 đĄ = 0.125 = 12.5% or 0.5đĄ 0.5 2. ln đ = ln 1000,000 + ln đ = ln 100,000 + 0.5đĄ 0.5 & taking derivative of the natural log with respect to t 1 đđ đ 0.25 0.5 −0.5 đş= â = ln 100,000 + 0.5đĄ = 0 + 0.25đĄ = = đ đđĄ đđĄ 4 Optimization of Exponential and Logarithmic Functions ď§ Unconstrained Optimization Problems ď§ Suppose you are given the demand function, ď§ đ = 12.50đ −0.005đ ď§ Determine the price and quantity at which the total revenue will be maximized ď§ đđ = đđ = (12.50đ −0.005đ )đ ď§ FOC: đđ ′ = −0.005(12.50đ −0.005đ )đ + (1) 12.50đ −0.005đ = 0 ď§ 12.50đ −0.005đ 1 − 0.005đ = 0 ď§ Since 12.50đ −0.005đ ≠ 0 for any value of đ, then ď§ 1 − 0.005đ = 0, đ = 200 ď§ đ = 12.50đ −0.005(200) = 12.5đ −1 = 4.60 Optimization of Exponential and Logarithmic Functions ď§ SOC: đđ ′′ = 12.50đ −0.005đ −0.005 + (1 − 0.005đ)(−0.005)(12.5đ −0.005đ ) ď§ Evaluated at đ = 200 , đđ ′′ = −0.0625 0.36788 < 0 (Sufficient condition for maximum satisfied) Optimization of Exponential and Logarithmic Functions ď§ Optimal Timing ď§ The optimum time is the time over which a good whose value appreciates overtime is stored so that its value at an approximate time in future is maximized before it is sold. ď§ Such goods include cheese, wine etc. ď§ The most popular function to represent the value of such goods is the exponential function ď§ The Problem of Cheese Storage ď§ Suppose a cheese maker has in store a quantity of cheese worth đ´ Pula at time đĄ = 0 Optimization of Exponential and Logarithmic Functions ď§ The cheese maker has the choice of selling the cheese at the present time (đĄ = 0) or storing and selling it later when its value has appreciated ď§ Suppose the growing value of the cheese is represented by the function, đ = 2 đĄ ď§ Note: At time đĄ = 0, the cheese maker will receive, đ = 20 = 1 Pula ď§ As a businessman, the cheese maker will choose to sell the cheese in future when he can maximize profit obtained from the sale of the cheese Optimization of Exponential and Logarithmic Functions ď§ Assuming storage costs are zero, his profit will be equivalent to the revenue received ď§ The maximization of profits involves maximization of the present value of đ, where đ = 2 đĄ . The present value of đ can be denoted đ(đĄ) ď§ Assuming continuous interest compounding, the present value of đ is defined, đ đĄ = đđ −đđĄ ď§ Recalling that đ = 2 đĄ , then đ đĄ = (2 đĄ )đ −đđĄ ď§ Therefore, đ(đĄ) = 2 đĄ đ −đđĄ ď§ (after substituting and simplifying) Optimization of Exponential and Logarithmic Functions ď§ Three steps for finding the optimal time: i. Express the function, đ(đĄ) in natural log form ii. Apply the necessary condition for optimization: find the first order derivative, set it equal to zero and solve the resulting equation to determine the critical value for the function iii. Evaluate if the sufficient condition is satisfied: the sufficient condition for maximum is satisfied if the second derivative is negative Optimization of Exponential and Logarithmic Functions ď§ ď§ ď§ ď§ ď§ ď§ ď§ ď§ ď§ ď§ Step 1: Express the function in natural log form đ(đĄ) = 2 đĄ đ −đđĄ , đđđ = ln 2 đĄ + ln đ −đđĄ đđđ = đĄln 2 − đđĄ Step 2: First Order Condition 1 1 đđ đ đ = đđđ´ + đĄ 2 ln 2 − đđĄ đ đđĄ đđĄ đđĄ đđ 1 −1 = đ đĄ 2 đđ2 − đ = 0 đđĄ 2 đđ ln 2 =đ −đ =0 đđĄ 2 đĄ ln 2 Since đ ≠ 0, then − đ=0 2 đĄ ln 2 ln 2 = đ đđ đĄ = 2 đĄ 2đ 2 ln 2 ∗ đĄ = 2đ =0 Optimization of Exponential and Logarithmic Functions ď§ Supposing the interest rate is 5 %, then ď§ đ = 0.05 đĄ∗ 0.6931 2 2(0.05) ď§ Solving for đĄ, = = (6.931)2 = 48.0 đŚđđđđ ď§ 48 years is the Optimum time ď§ Step 3: Evaluate the sufficient condition đ2 đ đ 1 −1 1 −1 đđ ď§ 2 = đ. đĄ 2 đđ2 − đ + đĄ 2 đđ2 − đ , đđĄ ď§ ď§ đđĄ 2 2 đđ Since = 0 at the critical value, đđĄ đ2 đ It means, 2 = đ … . =? đđĄ đđĄ Optimization of Exponential and Logarithmic Functions ď§ Practice Problems 1. Cut glass currently worth $100 is appreciating in value according 1 đĄ2 to, đ = 100đ đĄ = 100đ . How long should the cut glass be kept to maximize its present value if under continuous compounding (a) đ = 0.08 and (b) đ = 0.12 (Dowling, pp. 194) 2. Land bought for speculation is increasing in value according to 3 the formula, đ = 1000đ đĄ . The discount rate under continuous compounding is 0.09. How long should the land be held to maximize the present value (Dowling, pp. 195)