S6-SA1-0209
What are Constraints in Linear Programming?
Grade Level:
Class 10
AI/ML, Physics, Biotechnology, Space Technology, Chemistry, Engineering, Medicine
Definition
What is it?
In Linear Programming, 'constraints' are limitations or restrictions on the resources available or conditions that must be met. They are usually expressed as inequalities (like less than or equal to, or greater than or equal to) or sometimes as equations, defining the boundaries within which a solution must exist.
Simple Example
Quick Example
Imagine you are making ladoos for a school fair. You have only 2 kg of besan and 1 kg of sugar. These are your constraints! You cannot make more ladoos than what these ingredients allow, even if you want to make 1000 ladoos. Your production is 'constrained' by the available besan and sugar.
Worked Example
Step-by-Step
Let's say a factory makes two types of toys: Car (x) and Doll (y).
--- The factory has a maximum of 100 hours for assembly. Each Car takes 2 hours and each Doll takes 1 hour.
--- The constraint for assembly time would be: 2x + 1y <= 100.
--- This means the total time spent assembling cars (2x) plus the total time spent assembling dolls (1y) must be less than or equal to 100 hours.
--- Also, you cannot make negative toys, so x >= 0 and y >= 0 are 'non-negativity' constraints.
--- So, the constraints are: 2x + y <= 100, x >= 0, y >= 0.
Why It Matters
Constraints are super important because they help us find the best possible solution within real-world limits. From designing efficient rocket trajectories for ISRO to optimizing medicine dosages in healthcare, understanding constraints helps engineers and doctors make crucial decisions. They are the backbone of problem-solving in fields like AI/ML and biotechnology.
Common Mistakes
MISTAKE: Confusing constraints with the objective function. | CORRECTION: Constraints define the 'rules' or limits, while the objective function (like maximizing profit or minimizing cost) is what you are trying to achieve within those rules.
MISTAKE: Forgetting non-negativity constraints (x >= 0, y >= 0). | CORRECTION: In most real-world problems, quantities like number of items or hours cannot be negative, so always include x >= 0, y >= 0 unless specifically told otherwise.
MISTAKE: Incorrectly writing the inequality sign (e.g., using > instead of >=). | CORRECTION: Read the problem carefully. 'At most 10' means <= 10. 'At least 5' means >= 5. 'Exactly 7' means = 7.
Practice Questions
Try It Yourself
QUESTION: A baker can use at most 5 kg of flour. If 'f' is the amount of flour used in kg, write the constraint. | ANSWER: f <= 5
QUESTION: A mobile phone company needs to produce at least 100 basic models (x) and 50 premium models (y) per day. Write these two constraints. | ANSWER: x >= 100, y >= 50
QUESTION: A student has a maximum of 8 hours to study for two subjects, Maths (M) and Science (S). If Maths needs 1.5 hours per chapter and Science needs 1 hour per chapter, and they want to study at least 3 chapters of Maths and 2 chapters of Science, write all the constraints. | ANSWER: 1.5M + S <= 8 (total time), M >= 3 (Maths chapters), S >= 2 (Science chapters), M >= 0, S >= 0 (non-negativity)
MCQ
Quick Quiz
Which of the following best describes a constraint in Linear Programming?
The goal you want to achieve, like maximum profit.
A limitation or restriction on resources or conditions.
The final answer to the problem.
A variable that can take any value.
The Correct Answer Is:
B
Constraints are the boundaries or restrictions within which a problem must be solved. Option A describes the objective function, and Options C and D are incorrect.
Real World Connection
In the Real World
Think about how delivery apps like Zepto or Swiggy deliver food so fast. They use Linear Programming to decide the best routes and assign delivery partners. The constraints here are things like the delivery person's available time, fuel limits, traffic conditions, and the customer's location. These 'rules' help them deliver your favourite biryani quickly!
Key Vocabulary
Key Terms
INEQUALITY: A mathematical statement showing that two values are not equal, using symbols like <, >, <=, >=. | OBJECTIVE FUNCTION: The equation you want to maximize (like profit) or minimize (like cost). | FEASIBLE REGION: The area on a graph where all constraints are satisfied. | NON-NEGATIVITY: The condition that variables cannot be negative (e.g., x >= 0).
What's Next
What to Learn Next
Now that you understand constraints, the next step is to learn about the 'Feasible Region'. This is the area on a graph where all your constraints are met, and it's where you'll find the best possible solution to your problem. Keep exploring!


