Practice: Converting a Linear Program to Standard Form

Recognition · Direct application

A linear program contains the constraint 2 x 1 + x 2 ≥ 6 . Which rewriting puts this constraint into standard form?

2 hints available, least help first.

Hint 1: Retrieval cue

Does the left-hand side fall short of the bound, or exceed it?

Hint 2: Concept cue

The introduced variable must be nonnegative. Decide whether that quantity has to be added to or removed from the left-hand side to reach equality.

Classification

A program is being put into standard form. It has original variables x 1 ≥ 0 and x 2 free, a surplus variable e 1 introduced for a ≥ constraint, and a slack variable s 1 introduced for a ≤ constraint. The free variable is split as x 2 = x 2 + − x 2 − .

In the final standard-form program, select every variable that carries a nonnegativity restriction.

Select every option that applies

Every option that applies, and only those. The set is checked as a whole.

Direct application · Interpretation

A program asks to maximise 3 x 1 + 2 x 2 . Standard form is a minimisation. What replaces the objective, and what happens to the answer?

1 hint available, least help first.

Hint 1: Retrieval cue

If a > b , what is the relationship between − a and − b ?

Classification

A program contains the free variable x 3 , which is replaced by x 3 = x 3 + − x 3 − with x 3 + , x 3 − ≥ 0 .

Select every statement that must hold after this replacement.

Select every option that applies

Every option that applies, and only those. The set is checked as a whole.

Direct application · Construction

Convert the following linear program to standard form, showing the resulting objective, constraints, and sign restrictions. State how the optimal value of your converted program relates to the optimal value of the original.

max 5 y 1 − y 2 subject to y 1 + 2 y 2 ≤ 10 , y 1 − y 2 ≥ 3 , y 1 ≥ 0 , y 2  free .

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

Which of the three standard-form conditions does this program currently violate?

Hint 2: Strategy cue

Handle the objective direction, then each constraint in turn, then the free variable. Substitute the split variable everywhere it appears.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

Objective: minimize − 5 y 1 + y 2 + − y 2 − . Constraints: y 1 + 2 y 2 + − 2 y 2 − + s 1 = 10 ; y 1 − y 2 + + y 2 − − e 1 = 3 . Sign restrictions: y 1 , y 2 + , y 2 − , s 1 , e 1 ≥ 0 . If the converted program attains minimum v , the original maximum is − v , and the original y 2 is recovered as y 2 + − y 2 − .

A complete answer does each of these:

  • equivalence statement
  • free variable split
  • nonnegativity complete
  • objective direction
  • slack surplus sign

Error diagnosis · Explanation

A student converts the constraint 4 x 1 + 3 x 2 ≥ 12 into 4 x 1 + 3 x 2 + s = 12 with s ≥ 0 , and reports that the program is now in standard form.

Identify the error, explain why the rewritten constraint does not describe the same feasible set, and give a specific point that satisfies the original constraint but not the student's version.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

Solve the student's equation for 4 x 1 + 3 x 2 and read off what it now requires.

Hint 2: Concept cue

With s ≥ 0 , does 4 x 1 + 3 x 2 = 12 − s allow the left-hand side to exceed 12 ?

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

The surplus must be subtracted, not added: the correct conversion is 4 x 1 + 3 x 2 − e = 12 with e ≥ 0 . Because s ≥ 0 , the student's equation forces 4 x 1 + 3 x 2 = 12 − s ≤ 12 , which reverses the original requirement that the left-hand side be at least 12 . Any point with 4 x 1 + 3 x 2 > 12 is a counterexample; for instance x 1 = 3 , x 2 = 1 gives 15 ≥ 12 , which satisfies the original constraint, but would require s = − 3 < 0 in the student's version.

A complete answer does each of these:

  • slack surplus sign
  • equivalence statement

Transfer · Construction

A plant blends two feedstocks. Let t 1 be tonnes of feedstock A and t 2 the net adjustment applied to a baseline of feedstock B, where t 2 may be negative if the baseline is reduced. The planner writes:

max 40 t 1 + 25 t 2 subject to t 1 + t 2 ≤ 60 (kiln capacity, tonnes) 2 t 1 + t 2 ≥ 50 (minimum output, tonnes) t 1 ≥ 8 (contracted minimum for A) t 2  unrestricted in sign.

Convert this program to standard form. Note that t 1 ≥ 8 is a lower bound other than zero; handle it so that every variable in your final program is nonnegative. State the relationship between the converted optimum and the planner's optimum.

Write your answer, then compare it with the worked solution.

3 hints available, least help first.

Hint 1: Retrieval cue

Standard form requires x ≥ 0 , not x ≥ 8 . What substitution shifts the lower bound to zero?

Hint 2: Concept cue

Introduce u = t 1 − 8 and rewrite every occurrence of t 1 , including inside both constraints and the objective.

Hint 3: Strategy cue

Shift the bounded variable first, then split the free variable, then convert each inequality. Track the constant the shift introduces into the objective.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

Substitute u = t 1 − 8 with u ≥ 0 , so t 1 = u + 8 , and split t 2 = t 2 + − t 2 − with t 2 + , t 2 − ≥ 0 . Objective: maximize 40 ( u + 8 ) + 25 ( t 2 + − t 2 − ) = 40 u + 25 t 2 + − 25 t 2 − + 320 , so minimize − 40 u − 25 t 2 + + 25 t 2 − and carry the constant 320 separately. Capacity: ( u + 8 ) + t 2 + − t 2 − + s 1 = 60 , i.e. u + t 2 + − t 2 − + s 1 = 52 , s 1 ≥ 0 . Output: 2 ( u + 8 ) + t 2 + − t 2 − − e 1 = 50 , i.e. 2 u + t 2 + − t 2 − − e 1 = 34 , e 1 ≥ 0 . Sign restrictions: u , t 2 + , t 2 − , s 1 , e 1 ≥ 0 . If the converted minimization attains value v , the planner's maximum is − v + 320 ; t 1 = u + 8 and t 2 = t 2 + − t 2 − .

A complete answer does each of these:

  • equivalence statement
  • free variable split
  • nonnegativity complete
  • objective direction
  • slack surplus sign
Practice data

Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.