Question 12·Hard·Linear Functions
The table below gives the typical amounts of energy per gram, expressed in both food calories and kilojoules, of the three macronutrients in food.
| Macronutrient | Food calories | Kilojoules |
|---|---|---|
| Protein | 4.0 | 16.7 |
| Fat | 9.0 | 37.7 |
| Carbohydrate | 4.0 | 16.7 |
If the 180 food calories in a granola bar come entirely from grams of protein, grams of fat, and grams of carbohydrate, which of the following expresses in terms of and ?
For problems like this, immediately translate the verbal description into an equation by multiplying "calories per gram" by "number of grams" for each macronutrient and adding them to equal the given total. Ignore irrelevant columns (like kilojoules here), then algebraically solve the linear equation for the requested variable, keeping track of signs when moving terms. Finally, check that the result makes sense: as or increase, should adjust in the direction that keeps the total calories fixed.
Hints
Use calories per gram
Focus only on the Food calories column. How many calories does each gram of protein, fat, and carbohydrate contribute? Write an expression for the total calories using , , and .
Set up the total-calorie equation
Once you have expressions for calories from protein, fat, and carbohydrates, add them together and set the sum equal to , the total calories in the bar.
Solve for the variable you want
Your equation will have the form . Rearrange this to isolate on one side. Be careful with signs when you move and to the other side, and remember you must divide by the coefficient of at the end.
Check the sign of the (p + c) term
Think logically: if the bar has more protein or more carbohydrates (which both add calories), should the amount of fat needed to reach 180 total calories go up or down? Use that to decide whether the term should be added or subtracted in the expression for .
Desmos Guide
Represent the total calories equation
In Desmos, define the total calories from the macronutrients as an expression: Total(p, f, c) = 4*p + 9*f + 4*c. This corresponds to the equation .
Test each answer choice
For each answer choice, define a separate function for fat in terms of and , such as fA(p,c) = 20 + (4/9)*(p + c) for choice A, and similarly for the others. Then, for each one, define a corresponding total, for example TotalA(p,c) = 4*p + 9*fA(p,c) + 4*c.
Use sample values to verify
Create a table in Desmos or use sliders for and . Plug several different pairs of values for and (for example, , , ) into each Total expression. The correct answer choice is the one whose total is always for all tested values of and .
Step-by-step Explanation
Translate the table into an equation
From the table (using only the Food calories column):
- Protein: calories per gram
- Fat: calories per gram
- Carbohydrate: calories per gram
If the bar has grams of protein, grams of fat, and grams of carbohydrate, then the total calories from each macronutrient are:
- Protein:
- Fat:
- Carbohydrate:
Because the bar has calories total, we get the equation
Isolate the fat term
We want in terms of and , so solve the equation for .
First, move the protein and carbohydrate terms to the other side:
Factor out on the right side to make the next step easier:
Solve for f and simplify
Now divide both sides of by :
Distribute :
So the correct expression is
which corresponds to choice B.