<<

Product and Chain Rules

Basic Math for Economics – Refresher

Eric Dunaway [email protected] 1 Introduction

 There are times when calculating the of a is too cumbersome to simply use the . It could be a situation where one function is multiplied by another, or it could be a function within a function. While it may be possible to distribute everything and then apply the power rule, it might be much easier to use a different technique. We classify these techniques into two main types (there are others that are rarely used in economics), depending on how the functions are organized: the product rule and the .

Eric Dunaway [email protected] 2 Product Rule

 The product rule is useful when we have situations where two functions are multiplied by each other.  Suppose we have functions 푔(푥) and ℎ(푥). We can define function 푓 푥 as, 푓 푥 = 푔 푥 ⋅ ℎ(푥)  The Product Rule gives us a quick way to calculate the derivative of 푓(푥) and is defined as follows: 푓′ 푥 = 푔′ 푥 ⋅ ℎ 푥 + 푔 푥 ⋅ ℎ′(푥) In words, the derivative of 푓(푥) is simply the derivative of the first function times the second function plus the derivative of the second function times the first function.

Eric Dunaway [email protected] 3 Product Rule

 Let’s practice this by calculating the marginal revenue function.  Suppose a monopolist faced the inverse demand function 푝 = 100 − 2푞  We can find the monopolist’s total revenue function by multiplying the price they charge and the quantity they sell, 푇푅 = 푝 ⋅ 푞. In fact, we can make this solely a function of the quantity by substituting the inverse demand function for 푝, 푇푅 = 푝 ⋅ 푞 = 100 − 2푞 ⋅ 푞

Eric Dunaway [email protected] 4 Product Rule

푇푅 = 100 − 2푞 푞  We could easily solve this by distributing the 푞 through the parenthesis, but let’s apply the product rule.  We have two functions multiplied by each other, 푔 푞 = 100 − 2푞 and ℎ 푞 = 푞.  From the power rule, we can obtain the of each of these functions, 푔′ 푞 = −2 and ℎ′ 푞 = 1.  Using our definition of the product rule, MR = 푓′ 푞 = 푔′ 푞 ⋅ ℎ 푞 + 푔 푞 ⋅ ℎ′ 푞 = −2 ⋅ 푞 + 100 − 2푞 ⋅ 1 푀푅 = −2푞 + 100 − 2푞 = 100 − 4푞

Eric Dunaway [email protected] 5 Chain Rule

 Lastly, we have the chain rule. The chain rule is useful when we are dealing with functions of functions.  Suppose we have functions 푔(푥) and ℎ(푥). We can define function 푓 푥 as, 푓 푥 = 푔 ℎ 푥  The chain rule gives us a quick way to calculate the derivative of 푓(푥) and is defined as follows: 푓′ 푥 = 푔′ ℎ 푥 ⋅ ℎ′(푥) In words, the derivative of 푓(푥) is simply the derivative of the outer function (where the inner function acts as the argument of the outer function) times the derivative of the inner function.

Eric Dunaway [email protected] 6 Chain Rule

 Let’s look at the chain rule through another utility function, 푈 푥 = log 푥2 . Let’s calculate the marginal utility, 푈′(푥).  In this case, 푔 푥 = log 푥 and ℎ 푥 = 푥2. In this case, ℎ(푥) serves as the argument of 푔(푥), but is also a function of 푥.  As before, we can calculate both of their derivatives as 1 푔′ 푥 = and ℎ′ 푥 = 2푥. 푥  Using our definition of the chain rule, 1 푈′ 푥 = 푔′ ℎ 푥 ⋅ ℎ′ 푥 = ⋅ 2푥 ℎ 푥 2푥 2 푈′(푥) = = 푥2 푥

Eric Dunaway [email protected] 7