Linear programming

Mathematics · Class 12

What will we learn in this lesson?

This lesson works through Linear programming as it appears in Class 12 Mathematics. The explanation stays close to the facts and definitions recorded for this topic: each conclusion below can be traced back to a statement made here, and nothing is taken from a textbook passage.

By the end of the lesson you should be able to:

These aims are deliberately small. Each one can be checked against a single statement in this lesson, so you can tell whether you have understood the idea rather than simply recognised the words.

Prerequisite knowledge

Before starting, make sure the following terms are familiar. They are not optional vocabulary: the rest of the lesson uses them to connect one statement to the next.

In short, the term objective function means the linear function to be maximised or minimised; the term feasible region means the set of points satisfying all constraints. If those two descriptions are clear, the remaining statements will read as developments of them rather than as separate facts to memorise.

If a term is still unclear, return to this short list while reading the worked sections. The aim is not to learn a definition by heart, but to know exactly which idea each word is carrying in a sentence.

A simple example from everyday experience

Start with the statements that are already known about Linear programming. No calculation is needed at this stage; the task is simply to notice what each statement asserts and how two statements can describe the same situation from different sides.

  1. A linear programming problem optimises a linear objective function subject to linear constraints. The feasible region is the set of points satisfying all the constraints. Read the two statements together before moving to a calculation.
  2. If an optimum exists, it occurs at a corner point of the feasible region. A bounded feasible region always gives both a maximum and a minimum of a linear objective function. A second statement gives the condition that the first one relies on.
  3. Corner points are found by solving the equations of the intersecting boundary lines. The feasible region of a linear programming problem is the set of points that satisfy all of its constraints. The useful step is to keep the given quantity fixed and vary only what the statement changes.
  4. The constraints x greater than or equal to zero and y greater than or equal to zero restrict the feasible region to the first quadrant. In the graphical method, each constraint is drawn as a line and the region that satisfies it is shaded. Neither statement contradicts the other; they describe the same result at different levels.
  5. An unbounded feasible region can still have an optimum value if the objective function is bounded in the direction of optimisation. Each corner point is tested by evaluating the objective function there, and the optimal value is chosen. The same reasoning appears again in a slightly different form.
  6. Linear programming problems with only two decision variables can be solved graphically. A feasible region can be empty, which means the problem has no feasible solution. This is the point where the algebra and the meaning of the statement meet.

A few statements deserve a second reading, because the key word in each one fixes the condition under which it is true.

A harder example

Problem. Maximise Z = 3x + 2y over the corner points (0, 0), (4, 0), (0, 5) and (2, 3).

The information required is already available in this lesson: the definitions above and the statements about Linear programming. Work through the given data one step at a time rather than trying to guess the answer.

Scope. The following is deliberately not part of this lesson: Topics outside the chapter heading; Board examination papers and marking schemes. Do not import it as if it had been established here.

Step-by-step solution

Each line below does one job. Reading them in order shows where the given information enters and where the conclusion comes out.

  1. Z(0, 0) = 0
  2. Z(4, 0) = 12; Z(0, 5) = 10; Z(2, 3) = 12
  3. maximum Z = 12, attained at (4, 0) and (2, 3)

Result. maximum Z = 12 Notice that the result follows from the earlier lines; it is not an extra fact brought in at the end.

Concept comparison table

The table puts the vocabulary, the common misreadings and the formal statements side by side. Use the left column as a prompt and the right column as the check.

Term or claimMeaning / correct form
objective functionthe linear function to be maximised or minimised.
feasible regionthe set of points satisfying all constraints.
corner pointa vertex of the feasible region.
non-negative restrictiona constraint requiring that all decision variables be zero or positive.
unbounded regiona feasible region that extends infinitely in at least one direction.
decision variablea variable whose value the problem seeks to choose, such as x and y.
Misconception: The optimum of a linear programme is always at the centre of the feasible region.Correct form: the optimum occurs at a corner point, not usually at the centre.
Misconception: Any point inside the feasible region gives the optimum value.Correct form: only corner points need to be checked for the optimum value.
Misconception: The optimal solution always lies in the interior of the feasible region.Correct form: the optimal solution lies at a corner point or along an edge of the feasible region, not inside it.

Notice that the misconception rows are not extra content: each one repairs a specific misreading of the same material. This is why the table is more useful for review than a list of definitions alone.

Common mistakes

These errors are listed because each one sounds plausible until the exact wording of the definition is checked.

A reliable habit is to read the correction aloud and then point to the statement in this lesson that supports it. If you cannot point to one, the correction has not yet been understood.

Summary

One line to remember: A linear programming problem optimises a linear objective function subject to linear constraints. Everything else in this lesson is an application or a careful restatement of that point.

Check your understanding

Answer the three questions without looking back, then use the answers to see exactly which statement you need to revisit.

  1. Which statement about Linear programming is supported by this lesson?

    Answer: A linear programming problem optimises a linear objective function subject to linear constraints.

  2. Complete the sentence: objective function means …

    Answer: the linear function to be maximised or minimised.

  3. A student says: “The optimum of a linear programme is always at the centre of the feasible region.” How would you respond using this lesson?

    Answer: the optimum occurs at a corner point, not usually at the centre.

If an answer cannot be found in the statements above, it is not required by this lesson.

Definitions

objective function
the linear function to be maximised or minimised
feasible region
the set of points satisfying all constraints
corner point
a vertex of the feasible region
non-negative restriction
A constraint requiring that all decision variables be zero or positive.
unbounded region
A feasible region that extends infinitely in at least one direction.
decision variable
A variable whose value the problem seeks to choose, such as x and y.

Key facts

Common mistakes and corrections

Common mistake

The optimum of a linear programme is always at the centre of the feasible region.

Correction

The optimum occurs at a corner point, not usually at the centre.

Common mistake

Any point inside the feasible region gives the optimum value.

Correction

Only corner points need to be checked for the optimum value.

Common mistake

The optimal solution always lies in the interior of the feasible region.

Correction

The optimal solution lies at a corner point or along an edge of the feasible region, not inside it.

Worked examples

Maximise Z = 3x + 2y over the corner points (0, 0), (4, 0), (0, 5) and (2, 3).

Z(0, 0) = 0

Z(4, 0) = 12; Z(0, 5) = 10; Z(2, 3) = 12

maximum Z = 12, attained at (4, 0) and (2, 3)

maximum Z = 12

Maximise Z = 3x + 2y subject to x + y ≤ 4, x ≥ 0 and y ≥ 0.

Corner points are (0, 0), (4, 0) and (0, 4).

At (0, 0), Z = 0; at (4, 0), Z = 12; at (0, 4), Z = 8.

The maximum is 12 at (4, 0).

The maximum value of Z is 12, at x = 4 and y = 0.

Outside the scope of this topic

Source: data/global-olgu/india/in-c12-math-linear-programming.json