NEETJEE.guru
MathematicsJEE

Decision Variables in Linear Programming

By Admin 13 November 2026 Updated 27 November 2026 10 min read 13 views
On this page· 13 sections
Overview

Source & scope. Class 12 Mathematics, Chapter 12 Linear Programming, Section 12.2.1 Mathematical formulation of the problem. Builds on: Optimisation Problems: Definition and Examples. Next: Objective Function in Linear Programming and Constraints and Non-Negative Restrictions in Linear Programming,...

Source & scope. Class 12 Mathematics, Chapter 12 Linear Programming, Section 12.2.1 Mathematical formulation of the problem. Builds on: Optimisation Problems: Definition and Examples. Next: Objective Function in Linear Programming and Constraints and Non-Negative Restrictions in Linear Programming, the two other pieces decision variables feed into.

Decision variables are the unknown quantities in a linear programming problem whose values the decision-maker can choose, and on which the objective function and constraints depend. In NCERT's furniture-dealer example, x (the number of tables bought) and y (the number of chairs bought) are the decision variables: "Let x be the number of tables and y be the number of chairs that the dealer buys... Variables x and y are called decision variables."

At a glance

  • Decision variables are the quantities a problem asks you to decide — here, x and y.
  • They represent real, countable or measurable choices (e.g., number of tables, number of chairs).
  • NCERT requires decision variables to be non-negative: x ≥ 0, y ≥ 0.
  • The objective function and all constraints are written in terms of the decision variables.
  • Correctly naming the decision variables is the first step of formulating any LPP.

Learning objectives

  • State what a decision variable represents in a linear programming problem.
  • Identify the decision variables from a word problem.
  • Explain why decision variables are restricted to non-negative values.
  • Recognise decision variables as the foundation on which the objective function and constraints are built.

Prerequisite knowledge

The reader should understand what an optimisation problem and a linear programming problem are (see the dedicated sibling articles); no further background is needed, since naming decision variables is typically the very first formulation step.

Core explanation

Where decision variables come from. NCERT introduces decision variables directly from the word problem: "Let x be the number of tables and y be the number of chairs that the dealer buys." The dealer's entire decision — how to split his Rs 50,000 and his 60 units of storage between tables and chairs — boils down to choosing values for x and y. Everything else in the problem (profit, investment used, storage used) can be written as an expression in x and y once these two quantities are fixed.

Why they are called "decision" variables. The dealer is free to decide how many tables and how many chairs to buy; nothing in the problem forces a particular choice in advance. The entire purpose of solving the LPP is to work out which choice of x and y gives the best (maximum profit) outcome, out of all the choices the dealer is allowed to make. This is precisely why they are called decision variables — they are the variables over which a decision is actually being made.

Non-negativity. NCERT immediately notes: "Obviously, x and y must be non-negative, i.e., x ≥ 0, y ≥ 0 (Non-negative constraints)." This reflects the real-world meaning of the variables: it is not possible to buy a negative number of tables or chairs. Non-negativity is such a standard requirement for decision variables representing real physical quantities (counts, amounts, weights) that NCERT treats x ≥ 0, y ≥ 0 as an automatic part of every LPP's constraint set, labelling them specifically as "non-negative restrictions" (covered in depth in the sibling article on constraints).

How many decision variables an LPP can have. NCERT's chapter works entirely with two decision variables (conventionally x and y) because the graphical method requires plotting regions on a two-dimensional x-y plane. In general, a linear programming problem can have any number of decision variables, but solving it graphically becomes impractical beyond two (or occasionally three, using a three-dimensional picture) — this is exactly why NCERT restricts the chapter's scope to two-variable problems solved by the graphical method.

Identifying decision variables from a word problem. The practical skill tested throughout this chapter is translating a word problem into symbols: reading the problem, identifying the quantity(ies) the decision-maker is actually free to choose, and naming them x and y (or similar). In the furniture-dealer problem, the dealer is not free to change the cost of a table or the amount of money available — those are fixed data. What he IS free to choose is how many of each item to buy — hence x and y are the tables and chairs bought, not, say, the cost per table.

Key terms

  • Decision variables — the unknown quantities (e.g., x, y) whose values the decision-maker chooses; they determine the objective function and constraints.
  • Non-negative restriction — the condition that decision variables representing real quantities cannot be negative (x ≥ 0, y ≥ 0).
  • Two-variable LPP — a linear programming problem with exactly two decision variables, solvable by the graphical method.
  • Fixed data — given numerical information in a word problem (costs, profits, limits) that is NOT a decision variable.

Diagram / figure guidance

A simple labelled table with two columns: "Fixed data" (table cost Rs 2500, chair cost Rs 500, budget Rs 50,000, storage 60) versus "Decision variables" (x = number of tables, y = number of chairs), visually separating what is given from what must be decided.

Worked example

A dealer buys tables and chairs. Identify the decision variables for the problem of maximising his profit, and state their non-negativity condition.

First, identify what the dealer is actually free to choose: not the price of a table, not his total budget, but how many of each item to purchase. Let x denote the number of tables bought and y denote the number of chairs bought — these are the decision variables, since the dealer's profit, his money spent, and his storage used all depend on the specific values he chooses for x and y. Since it is impossible to buy a negative number of tables or chairs, both variables must satisfy x ≥ 0 and y ≥ 0 — these are the non-negative restrictions that accompany the decision variables in every LPP of this kind.

Common misconceptions

  • "Decision variables can be any quantity mentioned in the problem, like cost or profit." No — decision variables are specifically the quantities the decision-maker chooses (e.g., number of tables); cost and profit are fixed data or the objective function, computed FROM the decision variables, not decision variables themselves.
  • "Decision variables can take negative values if the algebra allows it." They cannot, when they represent real physical counts or amounts — this is why every LPP in this chapter explicitly states x ≥ 0, y ≥ 0 as part of its constraints.
  • "An LPP must have exactly two decision variables." Not in general — LPPs can have any number of decision variables; this chapter restricts itself to two specifically because that is what the graphical method can handle.
  • "Decision variables and the objective function are the same thing." They are different: decision variables (x, y) are the inputs the decision-maker chooses; the objective function (Z) is the single quantity computed from those inputs that is to be maximised or minimised.

Exam application (JEE)

JEE's most common test of this concept is simply asking a student to correctly define x and y from a word problem before setting up the rest of the LPP — getting this step wrong (e.g., swapping what x and y represent, or choosing the wrong pair of quantities) cascades into an incorrect objective function and incorrect constraints, so examiners frequently design word problems where careless variable assignment is the main trap.

Frequently asked questions

  • What are decision variables in linear programming? They are the unknown quantities (such as x and y) representing the choices a decision-maker makes, from which the objective function and constraints are built.
  • Why must decision variables be non-negative? Because they typically represent real, countable quantities like the number of items bought, which cannot be negative.
  • Can a linear programming problem have more than two decision variables? Yes, in general, but this chapter's graphical method only handles two-variable problems conveniently.
  • How do I find the decision variables in a word problem? Identify the quantity or quantities the decision-maker is actually free to choose (not fixed data like prices or budgets), and assign them symbols such as x and y.
  • Are decision variables the same as the objective function? No — decision variables are the inputs chosen; the objective function is the single output quantity computed from them that is optimised.

Practice questions (original practice questions)

  1. In a problem where a factory decides how many units of Product A and Product B to manufacture, the decision variables are:
    • (a) The factory's total revenue
    • (b) The number of units of Product A and Product B
    • (c) The cost per unit of raw material
    • (d) The factory's total floor area
    • Answer: (b) — These are the quantities the factory actually chooses; the rest is fixed data or derived from them.
  2. Which condition is standard for decision variables representing physical item counts?
    • (a) They must be irrational
    • (b) They must be negative
    • (c) They must be non-negative
    • (d) They must be prime numbers
    • Answer: (c) — Physical counts cannot be negative, so x ≥ 0, y ≥ 0 is standard.
  3. In the furniture-dealer problem, which of the following is a decision variable?
    • (a) Rs 50,000
    • (b) The number of chairs bought
    • (c) The profit per table, Rs 250
    • (d) The storage limit of 60 pieces
    • Answer: (b) — The number of chairs bought (y) is chosen by the dealer; the others are fixed data.
  4. Why does this chapter restrict itself to exactly two decision variables?
    • (a) Because LPPs can never have more than two variables
    • (b) Because the graphical method requires plotting on a two-dimensional plane
    • (c) Because NCERT forbids more variables by definition
    • (d) Because two is the minimum number allowed
    • Answer: (b) — The graphical method's two-dimensional plots are why this chapter restricts itself to two decision variables.
  5. If a problem fixes the price of an item but asks how many units to buy, the quantity that is a decision variable is:
    • (a) The price
    • (b) The number of units to buy
    • (c) Both the price and the number of units
    • (d) Neither
    • Answer: (b) — The price is fixed data; the number of units to buy is the variable under the decision-maker's control.

Quick revision

  • Decision variables (e.g., x, y) are the quantities the decision-maker actually chooses.
  • They must usually be non-negative (x ≥ 0, y ≥ 0) when representing real counts/amounts.
  • The objective function and constraints are both written in terms of decision variables.
  • Naming decision variables correctly is the first step of formulating an LPP.
  • This chapter restricts itself to two decision variables, matching the graphical method.

Related articles

NCERTMathematicsClass 12
Rate this article
No ratings yetSign in to rate

0 Comments

Sign in to join the discussion.

Decision Variables in Linear Programming — JEE Notes | NEETJEE.guru