Some ordered pairs for a linear function of \pink{X_VAR}
are given in the table below.
X_HEADER
Y_HEADER
xval
COEF * xval + CONS
Which equation was used to generate this table?
Y_VAR = COEFX_VAR + CONS
Y_VAR = wrong.coefX_VAR + wrong.cons
Take one of the equations and try plugging in the values from the table. If the equality does not hold for at least one set of values, then we can eliminate that answer choice.
For example, consider Y_VAR = WRONG_ANSWERS[0].coefX_VAR + WRONG_ANSWERS[0].cons
. Substituting in \pink{X_VAR = XVALS[0]}
and \blue{Y_VAR = XVALS[0] * COEF + CONS}
shows that the equality holds for the first row of the table:
\blue{XVALS[0] * COEF + CONS} = WRONG_ANSWERS[0].coef(\pink{XVALS[0]}) + WRONG_ANSWERS[0].cons
XVALS[0] * COEF + CONS = XVALS[0] * COEF + CONS
However, plugging in \pink{X_VAR = XVALS[1]}
and \blue{Y_VAR = XVALS[1] * COEF + CONS}
from the second row of the table gives us:
\blue{XVALS[1] * COEF + CONS} = WRONG_ANSWERS[0].coef(\pink{XVALS[1]}) + WRONG_ANSWERS[0].cons
XVALS[1] * COEF + CONS \ne WRONG_ANSWERS[0].coef * XVALS[1] + WRONG_ANSWERS[0].cons
So we can eliminate Y_VAR = WRONG_ANSWERS[0].coefX_VAR + WRONG_ANSWERS[0].cons
from consideration and try a different answer choice.
When we try Y_VAR = COEFX_VAR + CONS
, we see that it holds up for each set of values in the table.
\blue{COEF * xval + CONS} = COEF \cdot \pink{xval} + CONS
|
→ |
\blue{COEF * xval + CONS} = COEF * xval + CONS
|
The equation that fits this table of values is Y_VAR = COEFX_VAR + CONS
.
The data in the table show the cost of buying bulk vegetables per pound, including the fee for the clerk to package the vegetables in boxes.
Which equation fits the data?
xval
$COEF * xval + CONS
tableval.xval
tableval.yval
The table below was generated using the following equation:\quad f(x) = COEFx + CONS
Find the missing value.
Find the missing values.
f(tableval.xval)
= COEF * tableval.xval + CONS
Plug the corresponding values of \pink{x}
into the equation to find the missing values of \blue{f(x)}
.
\blue{f(tableval.xval)} = COEF \cdot \pink{tableval.xval} + CONS = tableval.xval * COEF + CONS = tableval.xval * COEF + CONS
The missing value isvalues are:
f(tableval.xval) = tableval.xval * COEF + CONS