In the last two sections we learned rules to symbolically differentiate some functions. To summarize, we have established some elementary formulas and some arithmetic rules.
Elementary Formulas.
If \(f(x)=a\text{,}\) then \(f'(x)=0\text{.}\)
If \(f(x)=ax\text{,}\) then \(f'(x)=a\text{.}\)
If \(f(x)=a*x^n\text{,}\) then \(f'(x)=a*n*x^{n-1}\text{,}\) for any nonzero number n.
If \(f(x)=e^x\text{,}\) then \(f'(x)=e^x\text{.}\)
If \(f(x)=a^x\text{,}\) then \(f'(x)=a^x \ln(a)\text{.}\)
If \(f(x)=\ln(x)\text{,}\) then \(f'(x)=1/x\)
Arithmetic derivative rules.
Arithmetic derivative rules:
Scalar multiple rule: The derivative of \(c*f(x)\) is \(c*f'(x)\text{.}\)
Sum and difference rule: The derivative of \(f(x)\pm g(x)\) is \(f'(x)\pm g'(x)\text{.}\)
Product Rule: The derivative of \(f(x)g(x)\) is \(f' (x) g(x)+f(x)g'(x)\text{.}\)
Quotient Rule: The derivative of \(f(x)/g(x)\) is \(\frac{f'(x)g(x)-f(x)g'(x)}{(g(x))^2} \text{.}\)
The other way we traditionally build functions from simpler functions is by use of composition. We want to be able to take derivatives of functions like \((2x+3)^{52}\text{,}\)\(\sqrt{(x^2 )+5x+7}\text{,}\) and \(1.06^{.2x}\text{.}\)
Claim4.3.1.Chain rule.
The derivative of \(f(g(x))\) is \(f'(g(x))g'(x)\text{.}\) In other words,
We could do this problem by expanding it to a polynomial and using rules from the previous section, but that is much too hard. We can write \(f(p)\) as \(g(h(p))\) where \(h(p)=p^3+2 p+5\) and \(g(p)=p^7\text{.}\) We use the rules from the previous section to compute \(h'(p)=3 p^2+2\) and \(g'(p)=7p^6\text{.}\) Composing we get \(g'(h(p))=7(p^3+2 p+5)^6\text{.}\) Thus
We can write \(g(q)\) as \(f(h(q))\) where \(h(q)=q^2+6\) and \(f(q)=\sqrt{q}\text{.}\) We use the rules from the previous section to compute \(h'(q)=2 q\) and \(f'(q)= 1/(2\sqrt{q})\text{.}\) Composing we get \(f'(h(q))= 1/(2\sqrt{(q^2+6 )})\text{.}\) Thus
We can write \(h(t)\) as \(f(g(t))\) where \(g(x)=2 t+5\) and \(f(x)=e^t\text{.}\) We use the rules from the previous section to compute \(g'(t)=2\) and \(f'(t)=e^t\text{.}\) Composing we get \(f' (h(t))= e^(2 t+5)\text{.}\) Thus
As in the previous section, we will use local linearity to justify our derivative rule.
To simplify notation, we will let \(g(x)=u=b x+d\text{.}\) We will be substituting \(g(x)\) into \(f(x)\) and so we will be using the functions \(f(u)=a u+c \text{,}\) with \(a=f' (u)=f' (g(x_0 ))\) and \(g(x)=b x+d\text{,}\) with \(b=g'(x_0 )\text{.}\)
The composition of \(f\) and \(g\) can then be written as
\begin{equation*}
f(g(x))=a (b x+d)+c=(a b) x+(a d+c)\text{.}
\end{equation*}
The coefficient of the linear term is the product of the coefficients of the two linear terms we began with. Hence we find that \([f(g(x_0 ))]'=a b=f'(g(x_0 ))*g'(x_0)\text{.}\)
The Chain rule in other notation.
For the problems above, we used the prime notation, \(f'(x)\text{,}\)\(f'(q)\text{,}\)\(f'(t)\text{,}\) etc, for derivatives. There is also a fractional notation for derivatives, \(\frac{df}{dx}\text{,}\)\(\frac{df}{dq}\text{,}\)\(\frac{df}{dt}\) or \(\frac{dy}{dx}\text{,}\)\(\frac{dp}{dq}\text{,}\)\(\frac{dq}{dt}\text{,}\) etc. that is commonly used. Intuitively, when we have zoomed in far enough for the graph of \(f(x)\) to look like a straight line, then the derivative is the small unit of rise over the small unit of run. With that notation the chain rule has a nice formulation where it reduces to the usual rules for multiplying fractions.
Chain Rule (fractional notation version).
If \(z=g(x)\) and \(y=f(z)\) so \(y=f(g(x))\text{,}\) then
\begin{equation*}
\frac{dy}{dx}=\frac{dy}{dz} \frac{dz}{dx} \text{ or } \frac{df}{dx}=\frac{df}{dg} \frac{dg}{dx}\text{.}
\end{equation*}
Example4.3.3.Successive processes.
We have two processes that need to be run in succession to produce gizmos. The yields of the two processes are given by:
We tend to use x as the variable for almost all functions. When we use the chain rule we need to remember that the input for the second function is the output from the first function. It is safest to use separate variable for the two functions.
Special cases:
Two special cases of the chain rule come up so often, it is worth explicitly noting them.
The general power rule
\([(f(x))^n ]'=n (f(x))^{n-1} f'(x)\text{.}\) This is simply the chain rule when the second function is a power.
This question checks your reading comprehension of the material is section 4.3, The Chain Rule, of Business Calculus with Excel. Based on your reading, select all statements that are correct. There may be more than one correct answer. The statements may appear in what seems to be a random order.
If \(z=g(x)\text{,}\) and \(y=f(z)\text{,}\) so \(y=f(g(x))\text{,}\) then \(\frac{dy}{dz}=\frac{dy}{dz}\frac{dz}{dx}\text{.}\)
If \(z=g(x)\text{,}\) and \(y=f(z)\text{,}\) so \(y=f(g(x))\text{,}\) then \(\frac{dy}{dx}=\frac{dy}{dz}\frac{dz}{dx}\text{.}\)
The derivative of \(f(g(x))\) is \(f'(g'(x))\text{.}\)
If \(g(x)=g(f(x)^n\) then \(g'(x)=n*(f(x)^{n-1}*f'(x)\text{.}\)
If \(g(x)=(f(a*x+b)\) then \(g'(x)=a*f'(a*x+b)\text{.}\)
The derivative of \(f(g(x))\) is \(f'(g(x))*g'(x)\text{.}\)
The pretax profit function is \(\profit(q)=-q^2+300q-2500\) at the widget factory. The tax function is \(\tax(\profit)=0.4(\profit-1000)\text{.}\) Find the equation of the line tangent to the graph of after tax profits when \(q=100\text{.}\)
Note that here we have approximated a composite function by something much simpler. Finding tax meant we had to first find the profit, and then plug that profit into the tax function. Now, all we have to do is plug our value of \(q\) into the linear equation!
20.
The revenue function for gizmos is \(\revenue(q)=.2q^2+500q\text{.}\) The commission cost to the sales force is \(\operatorname{commissions}(\revenue)=0.1\revenue+\revenue^2/3,000,000\text{.}\) Find the equation of the tangent line to commissions as a function of quantity, when \(q=1000\text{.}\)