Content deleted Content added
m →Example |
|||
Line 51:
===Example===
Suppose salami and sausage cost €6 and €3 per kilogram, and we wish to buy €12 worth. How much of each can we purchase? Letting ''x'' and ''y'' be the weights of salami and sausage, the total cost is: <math>6x + 3y = 12</math>. Solving for ''y'' gives the point-slope form <math>y = -2x + 4</math>, as above. That is, if we first choose the amount of salami ''x'', the amount of sausage can be computed as a function <math>y = f(x) = -2x + 4</math>. Since salami
Note that we could instead have chosen ''y'' as the independent variable, and computed ''x'' as a linear function of it: <math>x = -\tfrac12 y +2</math>. Also, the graph includes points with negative values of ''x'' or ''y'', which have no meaning in terms of the original variables (unless we imagine selling meat to the butcher). Thus we should restrict our function to the ___domain <math>0\le x\le 2</math> (or <math>0\le y\le 4</math>).
|