Total Approximation Differentiation#
Question 1.#
Assume that the approval rating of a Prime Minister is given by the function A ( d , e ) A(d,e) A ( d , e ) , where d d d is defence spending (in billions) and e e e is education spending (in billions). The output of the approval rating A ( d , e ) A(d,e) A ( d , e ) itself is a percentage between 0 0 0 and 100 100 100 .
It is desirable to predict how changes to defence and education spending impact upon the PM's approval. With current spending at d 0 d_0 d 0 and e 0 e_0 e 0 , the rate that approval (in percentage) changes with respect to defence spending (in billions) is measured by Newspoll to be the partial derivative
∂ A ∂ d ( d 0 , e 0 ) = 6.9 , \frac{\partial A}{\partial d}(d_0,e_0)=6.9,
∂ d ∂ A ( d 0 , e 0 ) = 6.9 ,
so an increase in defence spending of 1 1 1 billion dollars will translate to an increase in approval of 6.9 % 6.9\% 6.9% .
Similarly, the rate that approval changes with respect to education spending is measured to be the partial derivative
∂ A ∂ e ( d 0 , e 0 ) = 5.8. \frac{\partial A}{\partial e}(d_0,e_0)=5.8.
∂ e ∂ A ( d 0 , e 0 ) = 5.8.
Hence by the total differential approximation, for [ d , e ] [d,e] [ d , e ] in the neighbourhood of [ d 0 , e 0 ] [d_0,e_0] [ d 0 , e 0 ] ,
A ( d , e ) ≈ A ( d 0 , e 0 ) + ∂ A ∂ d ( d 0 , e 0 ) ( d − d 0 ) + ∂ A ∂ e ( d 0 , e 0 ) ( e − e 0 ) . A(d,e)\approx A(d_0,e_0)
+\frac{\partial A}{\partial d}(d_0,e_0)(d-d_0)
+\frac{\partial A}{\partial e}(d_0,e_0)(e-e_0).
A ( d , e ) ≈ A ( d 0 , e 0 ) + ∂ d ∂ A ( d 0 , e 0 ) ( d − d 0 ) + ∂ e ∂ A ( d 0 , e 0 ) ( e − e 0 ) .
The current approval rating is
A ( d 0 , e 0 ) = 51. A(d_0,e_0)=51.
A ( d 0 , e 0 ) = 51.
If defence spending is decreased by 0.8 0.8 0.8 billion and education spending increased by 0.4 0.4 0.4 billion, then the approval rating approximately changes to
A ( d , e ) ≈ 51 + 6.9 ( − 0.8 ) + 5.8 ( 0.4 ) = 51 − 5.52 + 2.32 = 47.8. \begin{aligned}
A(d,e)
&\approx 51 + 6.9(-0.8) + 5.8(0.4) \\
&= 51 - 5.52 + 2.32 \\
&= 47.8.
\end{aligned}
A ( d , e ) ≈ 51 + 6.9 ( − 0.8 ) + 5.8 ( 0.4 ) = 51 − 5.52 + 2.32 = 47.8.
Therefore, the approval rating is approximately 47.8 % 47.8\% 47.8% .
Question 2.#
The volume of toilet paper on the roll is thus given by the formula:
V ( ℓ , r , R ) = π ℓ ( R 2 − r 2 ) . V(\ell, r, R) = \pi \ell(R^2 - r^2).
V ( ℓ , r , R ) = π ℓ ( R 2 − r 2 ) .
According to your measurements, the volume of toilet paper is (to the nearest cubic mm):
V ( 98 , 25 , 56 ) = [ 773077 ] mm 3 . V(98, 25, 56) = \textbf{[ 773077 ]} \text{ mm}^3.
V ( 98 , 25 , 56 ) = [ 773077 ] mm 3 .
However, since your initial measurements were only accurate to the nearest mm, the true volume of toilet paper may be different.
The total differential approximation can be used to estimate how the measured volume V ( 98 , 25 , 56 ) V(98, 25, 56) V ( 98 , 25 , 56 ) differs from the true value of V ( ℓ , r , R ) V(\ell, r, R) V ( ℓ , r , R ) as:
V ( ℓ , r , R ) ≈ V ( 98 , 25 , 56 ) + ∂ V ∂ ℓ ( 98 , 25 , 56 ) ( ℓ − 98 ) + ∂ V ∂ r ( 98 , 25 , 56 ) ( r − 25 ) + ∂ V ∂ R ( 98 , 25 , 56 ) ( R − 56 ) . V(\ell, r, R) \approx V(98, 25, 56) + \frac{\partial V}{\partial \ell}(98, 25, 56)(\ell - 98) + \frac{\partial V}{\partial r}(98, 25, 56)(r - 25) + \frac{\partial V}{\partial R}(98, 25, 56)(R - 56).
V ( ℓ , r , R ) ≈ V ( 98 , 25 , 56 ) + ∂ ℓ ∂ V ( 98 , 25 , 56 ) ( ℓ − 98 ) + ∂ r ∂ V ( 98 , 25 , 56 ) ( r − 25 ) + ∂ R ∂ V ( 98 , 25 , 56 ) ( R − 56 ) .
We calculate the partial derivatives (to the nearest integer):
∂ V ∂ ℓ ( 98 , 25 , 56 ) = [ 7889 ] \dfrac{\partial V}{\partial \ell}(98, 25, 56) = \textbf{[ 7889 ]} ∂ ℓ ∂ V ( 98 , 25 , 56 ) = [ 7889 ]
∂ V ∂ r ( 98 , 25 , 56 ) = [ -15394 ] \dfrac{\partial V}{\partial r}(98, 25, 56) = \textbf{[ -15394 ]} ∂ r ∂ V ( 98 , 25 , 56 ) = [ -15394 ]
∂ V ∂ R ( 98 , 25 , 56 ) = [ 34482 ] \dfrac{\partial V}{\partial R}(98, 25, 56) = \textbf{[ 34482 ]} ∂ R ∂ V ( 98 , 25 , 56 ) = [ 34482 ]
Since we measured ℓ , r \ell, r ℓ , r and R R R to the nearest mm,
∣ ℓ − 98 ∣ < 0.5 , ∣ r − 25 ∣ < 0.5 and ∣ R − 56 ∣ < 0.5. |\ell - 98| < 0.5, \quad |r - 25| < 0.5 \quad \text{and} \quad |R - 56| < 0.5.
∣ ℓ − 98∣ < 0.5 , ∣ r − 25∣ < 0.5 and ∣ R − 56∣ < 0.5.
Using the integer approximations above together with the triangle inequality,
∣ V ( ℓ , r , R ) − V ( 98 , 25 , 56 ) ∣ ≤ ∣ ∂ V ∂ ℓ ( 98 , 25 , 56 ) ∣ ∣ ℓ − 98 ∣ + ∣ ∂ V ∂ r ( 98 , 25 , 56 ) ∣ ∣ r − 25 ∣ + ∣ ∂ V ∂ R ( 98 , 25 , 56 ) ∣ ∣ R − 56 ∣ . |V(\ell, r, R) - V(98, 25, 56)| \le \left|\frac{\partial V}{\partial \ell}(98, 25, 56)\right| |\ell - 98| + \left|\frac{\partial V}{\partial r}(98, 25, 56)\right| |r - 25| + \left|\frac{\partial V}{\partial R}(98, 25, 56)\right| |R - 56|.
∣ V ( ℓ , r , R ) − V ( 98 , 25 , 56 ) ∣ ≤ ∂ ℓ ∂ V ( 98 , 25 , 56 ) ∣ ℓ − 98∣ + ∂ r ∂ V ( 98 , 25 , 56 ) ∣ r − 25∣ + ∂ R ∂ V ( 98 , 25 , 56 ) ∣ R − 56∣.
And so our measured volume V ( 98 , 25 , 56 ) V(98, 25, 56) V ( 98 , 25 , 56 ) differs from the true volume by
∣ V ( ℓ , r , R ) − V ( 98 , 25 , 56 ) ∣ ≤ [ 28882.5 ] mm 3 . |V(\ell, r, R) - V(98, 25, 56)| \le \textbf{[ 28882.5 ]} \text{ mm}^3.
∣ V ( ℓ , r , R ) − V ( 98 , 25 , 56 ) ∣ ≤ [ 28882.5 ] mm 3 .
To two decimal places, this represents an approximate error of no more than
∣ V ( ℓ , r , R ) − V ( 98 , 25 , 56 ) ∣ V ( 98 , 25 , 56 ) ≤ 3.74% . \frac{|V(\ell,r,R)-V(98,25,56)|}{V(98,25,56)} \le \textbf{3.74\%}.
V ( 98 , 25 , 56 ) ∣ V ( ℓ , r , R ) − V ( 98 , 25 , 56 ) ∣ ≤ 3.74% .