Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

rita is starting a running program. the table shows the total number of…

Question

rita is starting a running program. the table shows the total number of miles she runs in different weeks. what is the equation of the line of best fit for the data? state each number to the thousandths place. $y = square x+square$

Explanation:

Step1: Calculate the means of \(x\) and \(y\)

Let \(x\) be the week numbers and \(y\) be the miles run.
\(\bar{x}=\frac{1 + 2+4+6+8+10}{6}=\frac{31}{6}\approx5.167\)
\(\bar{y}=\frac{5 + 8+13+15+19+20}{6}=\frac{80}{6}\approx13.333\)

Step2: Calculate the slope \(m\)

\(m=\frac{\sum_{i = 1}^{n}(x_{i}-\bar{x})(y_{i}-\bar{y})}{\sum_{i = 1}^{n}(x_{i}-\bar{x})^{2}}\)
\((x_1-\bar{x})(y_1 - \bar{y})=(1 - 5.167)(5 - 13.333)=(- 4.167)(-8.333)\approx34.722\)
\((x_2-\bar{x})(y_2 - \bar{y})=(2 - 5.167)(8 - 13.333)=(-3.167)(-5.333)\approx16.889\)
\((x_3-\bar{x})(y_3 - \bar{y})=(4 - 5.167)(13 - 13.333)=(-1.167)(-0.333)\approx0.389\)
\((x_4-\bar{x})(y_4 - \bar{y})=(6 - 5.167)(15 - 13.333)=(0.833)(1.667)\approx1.389\)
\((x_5-\bar{x})(y_5 - \bar{y})=(8 - 5.167)(19 - 13.333)=(2.833)(5.667)\approx16.056\)
\((x_6-\bar{x})(y_6 - \bar{y})=(10 - 5.167)(20 - 13.333)=(4.833)(6.667)\approx32.222\)
\(\sum_{i = 1}^{6}(x_{i}-\bar{x})(y_{i}-\bar{y})=34.722 + 16.889+0.389+1.389+16.056+32.222=101.667\)

\((x_1-\bar{x})^2=(1 - 5.167)^2\approx17.361\)
\((x_2-\bar{x})^2=(2 - 5.167)^2\approx10.024\)
\((x_3-\bar{x})^2=(4 - 5.167)^2\approx1.361\)
\((x_4-\bar{x})^2=(6 - 5.167)^2\approx0.694\)
\((x_5-\bar{x})^2=(8 - 5.167)^2\approx8.024\)
\((x_6-\bar{x})^2=(10 - 5.167)^2\approx23.361\)
\(\sum_{i = 1}^{6}(x_{i}-\bar{x})^{2}=17.361+10.024 + 1.361+0.694+8.024+23.361=60.825\)

\(m=\frac{101.667}{60.825}\approx1.672\)

Step3: Calculate the y - intercept \(b\)

Using the formula \(y=mx + b\), substitute \(x = \bar{x}\) and \(y=\bar{y}\)
\(13.333=1.672\times5.167+b\)
\(b=13.333-1.672\times5.167\)
\(b=13.333 - 8.639\approx4.694\)

Answer:

\(y = 1.672x+4.694\)