Question #47595

1. Use technology to solve the appropriate matrix equation to find the quadratic equation that is the
best fit to the points (-2,25), (3,0) , (5,10) and (6,33).
2. Often data is expected to follow an exponential growth model of the form y = A^ekt, where t measures
time and k is called the growth rate. By rewriting the equation as log y = k^t+logA, use this technique
to find the values of A and k that give the best t of the exponential growth model to experimental
data where the values of y at times 0, 1, 2 and 3 are 11, 23, 42 and 80 respectively.

Expert's answer

Answer on Question #47595 – Math - Matrix | Tensor Analysis

1. Use technology to solve the appropriate matrix equation to find the quadratic equation that is the best fit to the points (2,25)(-2, 25) , (3,0)(3,0) , (5,10)(5,10) and (6,33)(6,33) .

2. Often data is expected to follow an exponential growth model of the form y=Aekty = A^{\wedge} \text{ekt} , where tt measures time and kk is called the growth rate. By rewriting the equation as logy=kt+logA\log y = k^{\wedge} t + \log A , use this technique to find the values of AA and kk that give the best tt of the exponential growth model to experimental data where the values of yy at times 0, 1, 2 and 3 are 11, 23, 42 and 80 respectively.

Solution:

When data is collected from an experiment we would expect to have more accurate results by recording a large number of observations. This may result in a data set that is too large to use the method of Polynomial Interpolation. To find a polynomial of degree nn , that fits a data set of more than n+1n + 1 points, we can use the method of Least Squares. Often, in this case, the graph of the polynomial will not lie on all the data points but it will be the best fit for the data.

Suppose we want to find a quadratic polynomial that fits the following data:



We are finding a quadratic polynomial (degree n=2n = 2 ) for a data set of 4 points. Since 4n+14 \neq n + 1 in this setting, we cannot use the method of Polynomial Interpolation. However, we can start the process in a similar manner. Each of the four points (x1,y1)(x_{1}, y_{1}) , (x2,y2)(x_{2}, y_{2}) , (x3,y3)(x_{3}, y_{3}) and (x4,y4)(x_{4}, y_{4}) can be substituted into the quadratic. Each of the data points must satisfy the standard quadratic equation:


y1=c1+c2x+c3x2y _ {1} = c _ {1} + c _ {2} x + c _ {3} x ^ {2}


For the same coefficients c1,c2c_{1}, c_{2} and c3c_{3} .

Then we can substitute each data point into this equation to get the following system:


c1+c2(2)+c3(2)2=25c _ {1} + c _ {2} (- 2) + c _ {3} (- 2) ^ {2} = 2 5c1+3c2+c3(3)2=0c _ {1} + 3 c _ {2} + c _ {3} (3) ^ {2} = 0c1+5c2+c3(5)2=10c _ {1} + 5 c _ {2} + c _ {3} (5) ^ {2} = 1 0c1+6c2+c3(6)2=33c _ {1} + 6 c _ {2} + c _ {3} (6) ^ {2} = 3 3


Simplify the system by multiplying terms.


c12c2+4c3=25c _ {1} - 2 c _ {2} + 4 c _ {3} = 2 5c1+3c2+9c3=0c _ {1} + 3 c _ {2} + 9 c _ {3} = 0c1+5c2+25c3=10c _ {1} + 5 c _ {2} + 25 c _ {3} = 10c1+6c2+36c3=33c _ {1} + 6 c _ {2} + 36 c _ {3} = 33


This system has more equations than unknowns and may not have a solution. Consider the matrix equation that corresponds to the system.


[12413915251636][c1c2c3]=[2501033]\left[ \begin{array}{ccc} 1 & -2 & 4 \\ 1 & 3 & 9 \\ 1 & 5 & 25 \\ 1 & 6 & 36 \end{array} \right] \cdot \left[ \begin{array}{c} c _ {1} \\ c _ {2} \\ c _ {3} \end{array} \right] = \left[ \begin{array}{c} 25 \\ 0 \\ 10 \\ 33 \end{array} \right]


Unlike the Vandermonde Matrix, the first matrix in the equation is not square and therefore has no inverse. At this point we will employ the transpose of this matrix to find the Normal Equations. This will enable us to find a solution.

Multiply each side of the matrix equation (left multiplication) by the transpose to get:


[11112356492536][12413915251636][c1c2c3]=[11112356492536][2501033]\left[ \begin{array}{cccc} 1 & 1 & 1 & 1 \\ -2 & 3 & 5 & 6 \\ 4 & 9 & 25 & 36 \end{array} \right] \cdot \left[ \begin{array}{ccc} 1 & -2 & 4 \\ 1 & 3 & 9 \\ 1 & 5 & 25 \\ 1 & 6 & 36 \end{array} \right] \cdot \left[ \begin{array}{c} c _ {1} \\ c _ {2} \\ c _ {3} \end{array} \right] = \left[ \begin{array}{cccc} 1 & 1 & 1 & 1 \\ -2 & 3 & 5 & 6 \\ 4 & 9 & 25 & 36 \end{array} \right] \cdot \left[ \begin{array}{c} 25 \\ 0 \\ 10 \\ 33 \end{array} \right][412741274360743602018][c1c2c3]=[681981538]\left[ \begin{array}{ccc} 4 & 12 & 74 \\ 12 & 74 & 360 \\ 74 & 360 & 2018 \end{array} \right] \cdot \left[ \begin{array}{c} c _ {1} \\ c _ {2} \\ c _ {3} \end{array} \right] = \left[ \begin{array}{c} 68 \\ 198 \\ 1538 \end{array} \right]


Corresponding to this matrix equation are the Normal Equations:


4c1+12c2+74c3=684 c _ {1} + 12 c _ {2} + 74 c _ {3} = 6812c1+74c2+360c3=19812 c _ {1} + 74 c _ {2} + 360 c _ {3} = 19874c1+360c2+2018c3=153874 c _ {1} + 360 c _ {2} + 2018 c _ {3} = 1538


We solve this system and get the values for the coefficients c1,c2c_1, c_2 and c3c_3.

Firstly we convert the equations into Ax=bAx = b matrix form.


[412741274360743602018][c1c2c3]=[681981538]\left[ \begin{array}{ccc} 4 & 12 & 74 \\ 12 & 74 & 360 \\ 74 & 360 & 2018 \end{array} \right] \cdot \left[ \begin{array}{c} c _ {1} \\ c _ {2} \\ c _ {3} \end{array} \right] = \left[ \begin{array}{c} 68 \\ 198 \\ 1538 \end{array} \right]


Then we calculate the determinant A.


Determinant A=[412741274360743602018]=22472\text{Determinant A} = \left[ \begin{array}{ccc} 4 & 12 & 74 \\ 12 & 74 & 360 \\ 74 & 360 & 2018 \end{array} \right] = 22472


After that we calculate the determinant for Ac1A c_{1}.


DeterminantAc1=[6812741987436015383602018]=43800\text {Determinant} \mathrm {A c} _ {1} = \left[ \begin{array}{l l l} 68 & 12 & 74 \\ 198 & 74 & 360 \\ 1538 & 360 & 2018 \end{array} \right] = 43800


Then we calculate the determinant for Ac2\mathrm{Ac}_2.


DeterminantAc2=[46874121983607415382018]=170136\text {Determinant} \mathrm {A c} _ {2} = \left[ \begin{array}{l l l} 4 & 68 & 74 \\ 12 & 198 & 360 \\ 74 & 1538 & 2018 \end{array} \right] = -170136


Then we calculate the determinant Ac3\mathrm{Ac}_3.


DeterminantAc3=[412681274190743601538]=45872\text {Determinant} \mathrm {A c} _ {3} = \left[ \begin{array}{l l l} 4 & 12 & 68 \\ 12 & 74 & 190 \\ 74 & 360 & 1538 \end{array} \right] = 45872


Then we derive the solution set.


c1=detAc1detA=54752809=1.9491c _ {1} = \frac {\det \mathrm {A c} _ {1}}{\det \mathrm {A}} = \frac {5475}{2809} = 1.9491c2=detAc2detA=212672809=7.57102c _ {2} = \frac {\det \mathrm {A c} _ {2}}{\det \mathrm {A}} = \frac {-21267}{2809} = -7.57102c3=detAc3detA=57342809=2.0413c _ {3} = \frac {\det \mathrm {A c} _ {3}}{\det \mathrm {A}} = \frac {5734}{2809} = 2.0413


Substitute into the origin equation find values. The resulting polynomial will be equal


y1=1.94917.57102x+2.0413x2y _ {1} = 1.9491 - 7.57102x + 2.0413x ^ {2}


We also can rewrite the obtained equation in general form.


y=2.0413x27.57102x+1.9491y = 2.0413x ^ {2} - 7.57102x + 1.9491


2. Often data is expected to follow an exponential growth model of the form y=Aekty = A^{\wedge} \text{ekt}, where tt measures time and kk is called the growth rate. By rewriting the equation as logy=kt+logA\log y = k^{\wedge} t + \log A, use this technique to find the values of AA and kk that give the best tt of the exponential growth model to experimental data where the values of yy at times 0, 1, 2 and 3 are 11, 23, 42 and 80 respectively.

Usually the problems, which is involving exponential decay and growth involve fitting a set of data. We have a function of the form y(t)=aekty(t) = ae^{kt}, where aa represents the initial quantity and kk is called the growth or decay constant, in our case kk it is the growth rate.

If we start with initial equation y=aekty = ae^{kt} then we have


ln(y)=ln(aekt)\ln (y) = \ln (a e ^ {k t})


Then we obtained the following.


ln(y)=ln(a)+ktln(e)\ln (y) = \ln (a) + k t \ln (e)


We can simplify the equation.


ln(y)=ln(a)+kt\ln (y) = \ln (a) + k t


We can see that if we plot tt on the horizontal and ln(y)\ln(y) on the vertical then ln(y)\ln(y) is a linear function of tt where kk is the slope and ln(a)\ln(a) is the slope. We provide the givn set of population data in the Table.

Table



Based on the information in the table we can represent the graph.



We see that the initial population (the population when t=0t = 0 ) is 11. So, P0=11P_0 = 11 . Thus, we need to solve the equation.


y(0)=aekty (0) = a e ^ {k t}


We also know that


ln(y)=ln(a)+kt\ln (y) = \ln (a) + k t


If we put t=0t = 0 we can see that value of ln(y)\ln(y) will be equal to ln(a)\ln(a) . We also can write.


y(0)=aek0y (0) = a e ^ {k 0}y(0)=ay (0) = a


If we put t=1t = 1 , then we can find the value of aa and kk .


y(1)=aeky (1) = a e ^ {k}


As we have find the value of aa which is equal to 11, we now can find the value of kk.


23=11ek23 = 11 e^kln(2311)=ln(e)k\ln \left(\frac{23}{11}\right) = \ln (e)^k


From there we can find the value of kk.


k=ln(2311)k = \ln \left(\frac{23}{11}\right)k=0.738k = 0.738


Then we consider the value of t=2t = 2. Then kk will be equal


k=ln(4211)2k = \frac{\ln \left(\frac{42}{11}\right)}{2}k=0.670k = 0.670


Then we consider the value of t=3t = 3. Then kk will be equal


k=ln(8011)3k = \frac{\ln \left(\frac{80}{11}\right)}{3}k=0.661k = 0.661


Thus the value of k=0.690k = 0.690

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS