Differential Equations and Linear Algebra (4th Edition)

Published by Pearson
ISBN 10: 0-32196-467-5
ISBN 13: 978-0-32196-467-0

Chapter 5 - Inner Product Spaces - 5.4 Least Squares Approximation - Problems - Page 375: 16

Answer

See below

Work Step by Step

The number of bacteria can be described by $$P(t)=Ce^{kt}$$ with $C,k$ are constant. Take the logarithm of each side: $$\ln P(t)=kt+\ln C$$ Let $y=\ln P(t)\\ b=\ln C$ The data points are: $(0,\ln 100);(1,\ln 24.5);(3,\ln 1.5);(4,\ln 0.4);(6,\ln 0.1)$ Take the logarithm of number of bacteria $P(t)$: $(0,4.605);(1,3.199);(3,0.405);(4,-0.916);(6,-2.303)$ Form the matrices: $A=\begin{bmatrix} 0 & 1\\ 1 & 1\\ 3 & 1\\ 4 & 1\\ 6 & 1\end{bmatrix}\\ x=\begin{bmatrix} k\\b \end{bmatrix}\\ b=\begin{bmatrix} 4.605\\ 3.199\\ 0.405\\ -0.916\\ -2.303 \end{bmatrix}$ Obtain: $x_0=(A^TA)^{-1}A^Tb\\ =(\begin{bmatrix} 0 & 1 & 3 & 4 & 6 \\ 1 & 1 & 1 & 1 & 1 \end{bmatrix}\begin{bmatrix} 0 & 1\\ 1 & 1\\ 3 & 1\\ 4 & 1\\ 6 & 1\end{bmatrix})^{-1}\begin{bmatrix} 0 & 1 & 3 & 4 & 6\\ 1 & 1 & 1 & 1 & 1 \end{bmatrix}\begin{bmatrix} 4.605\\ 3.199\\ 0.405\\ -0.916\\ -2.303 \end{bmatrix}\\ =\begin{bmatrix} 62& 14\\ 14 & 5 \end{bmatrix}^{-1}\begin{bmatrix} 0 & 1 & 3 & 4 & 6 \\ 1 & 1 & 1 & 1 & 1 \end{bmatrix}\begin{bmatrix} 4.605\\ 3.199\\ 0.405\\ -0.916\\ -2.303 \end{bmatrix}\\ =\frac{1}{114}\begin{bmatrix} 5 & -14\\ -14 & 62 \end{bmatrix}\begin{bmatrix} 0 & 1 & 3 & 4 & 6 \\ 1 & 1 & 1 & 1 & 1 \end{bmatrix}\begin{bmatrix} 4.605\\ 3.199\\ 0.405\\ -0.916\\ -2.303 \end{bmatrix}\\ =\frac{1}{114}\begin{bmatrix} -14 & -9 & 1 &6 & 16 \\ 62 &48 & 20 & 6 & -22 \end{bmatrix}\\ =\frac{1}{114}\begin{bmatrix} 135.2\\ 492.332\end{bmatrix}\\ =\begin{bmatrix} -1.186\\ 4.319 \end{bmatrix}\\ k=-1.186\\ b=4.319$ Since $b=\ln C\rightarrow C=e^b=e^{4.319}=75.113$ Consequently, $P(t)=Ce^{kt}=75.113e^{-1.186t}$
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.