← Linear programming

Class 12 Maths · 10 worked problems

Study the worked examples below, or retry these problems as a revision test.

Take topic test →

Objective along a feasible edge

Substituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint. Z = 4x + (10 − x) = 10 + 3x.

Practise with worked solutions

Problem 1

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. At x = 0, objective Z = 10. For each unit increase in x, the change in objective Z is 3. Predict objective Z at x = 6.

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outStart from the intercept and add the accumulated change: 10 + (3) × 6.
  4. Resultobjective Z is 28.
Problem 2

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. Read each pair as (x, objective Z). The observations are (2, 16) and (6, 28). Find the rate of change.

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outSubtract corresponding outputs and inputs. The slope is (28 − 16) / (6 − 2).
  4. ResultThe signed rate is 3 output units per input unit.
Problem 3

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. Read each pair as (x, objective Z). Using (2, 16) and (4, 22), reconstruct the reading at zero input.

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outThe output changes by 6 per input step of 2. Move one such step backwards from (2, 16).
  4. ResultThe intercept is 16 − (6) = 10.
Problem 4

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. The starting reading is 10 and the signed slope is 3. At what input is the output 34?

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outSubtract the initial contribution to isolate the change: 34 − (10) = 24. Divide by the slope.
  4. Resultx = 8. Putting it into the model gives the stated output.
Problem 5

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. Read each pair as (x, objective Z). Readings are (0, 10) and (8, 34). Estimate the output a quarter of the way between these input settings.

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outA quarter of the input interval gives a quarter of the signed output difference: (34 − 10)/4 = 6.
  4. ResultAdd this to the first output to get 16.
Problem 6

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. You know the slope is 3 but the zero reading is lost. Can the change in output from input 2 to 6 still be found?

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outSubtract the two model equations. Their common intercept cancels, leaving slope × change in input.
  4. ResultYes. The signed change is 3 × 4 = 12.
Problem 7

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. Read each pair as (x, objective Z). Three measured pairs are (0, 10), (2, 16) and (4, 25). Are all three consistent with one constant rate?

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outThe first interval changes the reading by 6. An equal second interval should give the same increment, predicting 22.
  4. ResultThe last observation lies 3 above the prediction, so the three cannot all fit the exact model.
Problem 8

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. Read each pair as (x, objective Z). The true readings include (2, 16) and (6, 28). An instrument adds 2 units to every output. What happens to the inferred slope and intercept?

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outThe added 2 cancels in differences. Recover the true intercept by subtracting one slope step from the first reading, then apply the offset.
  4. ResultSlope stays 3. The apparent intercept is 12 instead of 10.
Problem 9

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. Compare two models starting at the same output 10. Their signed slopes are 3 and 1.5. How far apart are the predictions at input 4?

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outSubtract the slopes and multiply by input because the intercepts match. Use the magnitude for a separation.
  4. ResultThe separation is |1.5 × 4| = 6 output units.
Problem 10

Compare points on the full feasible edge y = 10 − x, where 0 ≤ x ≤ 10. The objective is Z = 4x + y. Read each pair as (x, objective Z). Readings are (2, 16) and (6, 28). Redefine input zero at the first observation. What are the new intercept and the prediction two original input steps later?

Worked solution
  1. Choose the ruleZ = 4x + (10 − x) = 10 + 3x
  2. Why it appliesSubstituting the binding edge constraint turns the objective into a linear function of x. Its slope indicates the improving endpoint.
  3. Work it outChanging the reference relabels the first input as zero. Its output 16 becomes the intercept. The slope is still 3.
  4. ResultAfter an input increase of 4, the prediction is 16 + (3) × 4 = 28.