Algebra · Hard · 2–3 min

Linear equations

Question HB2-ALG-006

Energy per Gram of Typical Macronutrients
MacronutrientFood caloriesKilojoules
Protein44.016.716.7
Fat99.037.737.7
Carbohydrate44.016.716.7
The table above gives the typical amounts of energy per gram, expressed in both food calories and kilojoules, of the three macronutrients in food. If the 270270 food calories in a granola bar come entirely from p grams of protein, f grams of fat, and c grams of carbohydrate, which of the following expresses f in terms of p and c?
  1. 30+(49)(p+c)30+(4/9)(p+c)
  2. 30−(49)(p+c)30−(4/9)(p+c)
  3. 30−(49)(p−c)30−(4/9)(p−c)
  4. 30+(94)(p+c)30+(9/4)(p+c)
Solve in the interactive workspace →

Step-by-step explanation

Use the calorie equation to compare formulas.

Step 1: Enter the calorie relation

4p+9f+4c∼270

From the table, protein is 4, fat is 9 and carbohydrate is 4 calories per gram. The total is 270 food calories. Type 4p+9f+4c~270.

p, f and c are still letters, so the fit is unfinished for now.

Why this helps: Grams × calories per gram, added up, has to be 270. The ~ lets Desmos find f once we pick p and c.

Step 2: Choose protein

p=5

Type p=5. This is an example value we choose.

Keep p = 5 for every choice, so the test is fair.

Why this helps: We’re testing formulas, so any reasonable amount works.

Step 3: Choose carbohydrate

c=10

Type c=10, another example. Desmos fits f = 23.333… grams.

That’s positive, so it’s a real granola bar. Now each choice must give 23.333….

Why this helps: 4(5) + 4(10) = 60 calories, leaving 210 for fat. 210 ÷ 9 = 23.333….

Step 4: Test choice A

A=30+(49)(p+c)

Type choice A: A=30+(4/9)(p+c). It gives 36.667, not 23.333. Cross out A.

Same p = 5 and c = 10.

Why this helps: A adds the protein and carbohydrate part instead of taking it away.

Step 5: Test choice B

B=30-(49)(p+c)

Type choice B: B=30−(4/9)(p+c). It gives 23.333…, matching f.

B is still possible. Check the last two.

Why this helps: The 270 calories come from all three. Take away protein’s 4p and carbohydrate’s 4c, and the rest is fat. Each gram of fat is 9 calories, so f = 30 − (4/9)(p + c).

Step 6: Test choice C

C=30-(49)(p-c)

Type choice C: C=30−(4/9)(p−c). It gives 32.222…. Cross out C.

Same example values, different answer.

Why this helps: C subtracts c instead of adding it, which gives the wrong amount.

Step 7: Test choice D

D=30+(94)(p+c)

Type choice D: D=30+(9/4)(p+c). It gives 63.75. Only B matched. Choose B.

That’s f in terms of p and c.

Why this helps: The 270 calories come from all three. Take away protein’s 4p and carbohydrate’s 4c, and the rest is fat. Each gram of fat is 9 calories, so f = 30 − (4/9)(p + c).

Hand explanation

Step 1: Use the food-calorie column

Use the food-calorie column: each gram of protein supplies 4 calories, fat 9, and carbohydrate 4.

Step 2: Total calories therefore give 4p+9f+4c=270

Total calories therefore give 4p+9f+4c=270.

Step 3: Subtract the protein and carbohydrate contributions

Subtract the protein and carbohydrate contributions: 9f=270−4p−4c.

Step 4: Divide every term by 9

Divide every term by 9: f=30−(4/9)(p+c).

Step 5: Kilojoules belong to a different unit column and are not used in this calo…

Kilojoules belong to a different unit column and are not used in this calorie equation.

Step 6: Your answer

Return to the question and compare the quantity you found with what it asks for. Explain the last calculation in your own words before opening the answer check.

Check your answer

B: 30−(4/9)(p+c)

Show answer

30−(4/9)(p+c)

Related practice