7.1Implicit differentiation¶
In high-school, we learned about the explicit and implicit equation of line:
explicit form
implicit form
The difference between these two forms is that in explicit form we know the formula by which is given, while in implicit form we don’t immediately know that formula (although we can easily compute it). This same method can be used for more general functions.
Sometimes, the implict form of a function can be such that we can’t explicitly express from the given equation. Nonetheless, we know how to compute the derivative of implicitly given function, as the following problems show.
7.2Logarithmic differentiation¶
So far, we have learned how to find the derivatives of products, quotients, compositions and implicitly given functions. However, there are still some functions that we don’t (yet) know how to differentiate. In this section, we will learn a new method that we’ll be able to use to differentiate some functions that we didn’t know how to differentiate before.
7.3Differential of a function¶
Remember that the derivative of the function is defined as the limit
If is very very close to 0, then it follows that
This approximation is very important to us, so we want to give special names to the quantities above:
small displacement
exact change
the differential
Therefore, the equation above tells us that
In other words, the exact change in the value of the function can be approximated by the differential.
Of course, the approximation can be accurate or not, so we need a way of measuring the error we make when using the differential to approximate the exact change:
absolute error
relative error
Solution to Problem 7.9
If we denote by the initial amount of money that is being invested into advertising, then the first approach might be the to find the value of such that
Since the equation that we need to solve is the following:
This equation is very complicated and we don’t know how to solve it using any methods that we know of. Therefore, we need to approach this problem in some other way.
Using the fact that the differential approximates the exact change, we have that
where is the initial amount of money being invested in advertising. If the business wants to increase their revenue by then So, from the approximation above, the additional amount of money that needs to be invested in advertising is
Therefore, the bussiness needs to invest around 725 euros more in advertising in order to achieve their goal.
If we would like to check whether or not our approximation was good, we can compute the revenue if the bussines invests euros in advertising:
Since the increase of the initial revenue is equal to we see that our approximation is reasonably good!
Solution to Problem 7.10
If we would like to know how the given change in the interst rate would affect the portfolio’s value, we would need to find Plugging into the given equation, we obtain
Again, this is a rather complicated equation that we don’t know how to solve so we need to change our approach.
Because the differential approximates the exact change, we know that
where is the initial interest rate. In our case, we know that and we want to compute Hence, the only thing we are missing is the value of the derivative Since the function is given implicitly, we use implicit differentiation to compute the derivative:
Pluggin-in we get
Plugging-in into the defining equation for , we get
Hence, we get
Finally, we can approximate the change in portfolio’s value using the differential:
Solution to Problem 7.11
If the initial market index is equal to then the initial price of the stock is
Our task is to find by how much can the market index change so that Marko’s function gives accurate values up to of the inital value that is equal to If we denote that that displacement of the market index, we would need to solve the following inequality:
Of course, this inequality is far to complicated for us to solve, so we need to change our approach.
Because the differential approximates the exact change, we know that
Therefore, we have the following approximation
This inequality we know how to solve. First of all, we need to find the derivative Using logarithmic differentiation, we get
If then we have
Now, the problem boils down to a simple inequality
Therefore, we have estimated that if the market index changes up to accuracy of Marko’s model will be withing of the actual stock price.
In order to see if our estimates are accurate or not, let’s compute the exact change in portfolio value given that the market index changes by at most :
Therefore, we see that our estimates are accurate, i.e. they ensure that the error made using Marko’s model remain under the given threshold.