File size: 16,170 Bytes
c1978e4
 
 
 
 
34e926b
c1978e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64543f5
c1978e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64543f5
c1978e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
 "id": "241_linear_programming",
 "subject": "Applied Mathematics",
 "code": "241",
 "chapter": "Linear programming",
 "text": "# 241 Applied Mathematics — Linear programming (CBSE Class XII, Unit 8)\r\n\r\nScope: CBSE 2026–27 Applied Mathematics Unit 8: terminology (decision variables, constraints, objective function, non-negativity), formulation of LPPs with up to three non-trivial constraints (manufacturing and diet problems), the graphical method for two variables, the corner point method, and feasible/infeasible and bounded/unbounded regions. Numbered paragraphs [P1]… are the anchors the knowledge atoms point to.\r\n\r\n## A. Formulating a linear programming problem\r\n\r\n[P1] A linear programming problem (LPP) asks for the best value — the largest profit or the smallest cost — of a linear expression, when the choices are limited by linear conditions. The quantities we choose are the decision variables, for example x tables and y chairs. They cannot be negative: x ≥ 0, y ≥ 0 (the non-negativity constraints).\r\n\r\n[P2] Each limited resource gives a constraint. If a table uses 3 units of wood and a chair 1 unit, x tables and y chairs use 3x + y units, which cannot exceed the wood available, say 30: 3x + y ≤ 30. The amount per unit goes with its own variable. A minimum requirement, as in a diet problem (at least 60 units of vitamin A), gives a ≥ constraint.\r\n\r\n[P3] The objective function Z = px + qy is what we maximise or minimise; p and q are the profit (or cost) per unit of x and of y. Formulating means writing: Maximise (or Minimise) Z = px + qy subject to the constraints and x, y ≥ 0.\r\n\r\n## B. The feasible region\r\n\r\n[P4] To graph ax + by ≤ c, draw the line ax + by = c, usually through its intercepts (c/a, 0) and (0, c/b). Special cases: x ≤ k (b = 0) is a vertical line through (k, 0); y ≥ k (a = 0) is a horizontal line through (0, k); and a line with c = 0, such as y = 2x, passes through the origin, so plot a second point such as (1, 2). Then shade the side that satisfies the inequality by testing any point NOT on the line, usually the origin. For ax + by ≤ c with c > 0, 0 ≤ c is true, so the origin side is feasible; for ax + by ≥ c with c > 0 the far side is. If the line passes through the origin, test another point such as (1, 0).\r\n\r\n[P5] The feasible region is the set of points that satisfy every constraint at once, including x ≥ 0 and y ≥ 0. Every point in it is a feasible solution; points outside are infeasible. A feasible solution that gives the best (maximum or minimum) value of Z is an optimal feasible solution, or simply the optimal solution. If no point satisfies all the constraints the problem has no feasible solution.\r\n\r\n[P6] Corner points are the vertices of the feasible region, where its boundary lines meet. Not every crossing of two lines is a corner: an intercept of one constraint line that lies outside the region (because it breaks another constraint) is not a corner point. To find a corner where two boundary lines cross, solve their equations together. Example: 3x + y = 30 and x + 2y = 20; doubling the first and subtracting the second gives 5x = 40, so x = 8 and y = 30 − 24 = 6: the corner is (8, 6). A constraint with fractions, such as x/25 + y/40 ≤ 1, is easier to graph from its intercepts (25, 0) and (0, 40), or after multiplying through by 200: 8x + 5y ≤ 200.\r\n\r\n[P7] A feasible region is bounded if it can be enclosed in a circle; otherwise it is unbounded. A problem with only resource limits (≤) and x, y ≥ 0 gives a bounded region provided all the coefficients are non-negative and each variable has a positive coefficient in at least one ≤ constraint (with only x ≤ 8, the region is unbounded in y); a problem with only minimum requirements (≥) gives an unbounded region that goes on for ever away from the origin. When ≤ and ≥ constraints are mixed, either can happen: the region is unbounded if nothing limits it in some direction, so look at the graph.\r\n\r\n## C. The corner point method\r\n\r\n[P8] Fundamental results: (1) if an LPP has an optimal solution, it occurs at a corner point of the feasible region; (2) if the feasible region is non-empty and bounded, Z has BOTH a maximum and a minimum value, each at a corner. So: find all the corners, evaluate Z at each, and choose the largest (for a maximum) or smallest (for a minimum). If no point satisfies all the constraints, the region is empty (the problem is infeasible) and there is no solution at all: for example, x + y ≤ 4 and x + y ≥ 6 cannot both hold.\r\n\r\n[P9] Picture the line px + qy = k. As k changes the line moves parallel to itself. When p and q are positive, increasing k moves it away from the origin: for a maximum, push it outward and the last point of the region it touches is the optimum; for a minimum, pull it inward and the last point it touches is the optimum. Because the region is bounded by straight edges, that last point is a corner (or a whole edge, see [P10]).\r\n\r\n[P10] If Z takes the same best value at two adjacent corners, every point on the edge joining them is also optimal: the problem has infinitely many optimal solutions. This happens when the objective line is parallel to that edge (its coefficients are in the same proportion as the edge's constraint).\r\n\r\n[P11] For an unbounded region a corner value is only a candidate. For a minimum: let m be the SMALLEST corner value; draw px + qy = m and look at the open half-plane px + qy < m. If it has no point in common with the feasible region, m is the minimum; if it does, Z has no minimum. For a maximum: let M be the LARGEST corner value and look at px + qy > M. If it has no point in common with the region, M is the maximum; if it does, Z has no maximum. With positive costs and a region made only of ≥ constraints with non-negative coefficients, a minimum always exists, but a maximum never does.\r\n\r\n## D. What changes the answer\r\n\r\n[P12] Changing the profit per unit of one product tilts the objective line. The best corner changes only when the slope of the objective line passes the slope of one of the two edges that meet at that corner. When the slope is exactly equal to an edge's slope, both corners of that edge are optimal and so is every point between them ([P10]). So a small change in profit may leave the best plan the same while Z changes; a larger change moves the optimum to a neighbouring corner.\r\n\r\n[P13] More of a resource that is used up at the optimum (a binding constraint) moves that boundary outward and can raise the best profit; more of a resource that is not used up at the optimum changes nothing. An extra limit — such as a market that takes at most k units — can cut off the old best corner and create new corners.\r\n\r\n## E. Further points the syllabus and papers expect\r\n\r\n[P14] Redundant constraints. A constraint is redundant if removing it does not change the feasible region: every point satisfying the other constraints already satisfies it. It forms no edge of the region and creates no new corner (its line may still touch the region at a corner, e.g. x ≤ 10 together with x + y ≤ 10 meets it only at (10, 0)). Example: with x + y ≤ 10, x ≥ 0, y ≥ 0, the constraint x ≤ 15 is redundant.\r\n\r\n[P15] A limit on one product. A market or storage limit on one product alone, such as \"at most 8 shirts a week\", gives a constraint in one variable, x ≤ 8. It adds a vertical edge to the region and can cut off the old best corner, creating new corners.\r\n\r\n[P16] Whole numbers. The graphical method treats x and y as continuous, and CBSE questions are set so that the optimal corners come out as sensible values. Finding the best whole-number plan when a corner is fractional (integer programming) is beyond the syllabus; note that the best whole-number plan need not be next to that corner.\r\n\r\n[P17] A complete example. A carpenter makes tables (x) and chairs (y). A table needs 3 units of wood and 1 hour of labour; a chair needs 1 unit of wood and 2 hours. 30 units of wood and 20 hours of labour are available, and profit is ₹50 per table and ₹40 per chair. Formulate: Maximise Z = 50x + 40y subject to 3x + y ≤ 30, x + 2y ≤ 20, x ≥ 0, y ≥ 0. Graph: 3x + y = 30 through (10, 0) and (0, 30); x + 2y = 20 through (20, 0) and (0, 10); the origin satisfies both, so shade towards it. Corners: (0, 0), (10, 0), (8, 6) [solving the two equations, see [P6]] and (0, 10). Values: Z = 0, 500, 640, 400. The maximum profit is ₹640, making 8 tables and 6 chairs. The region is bounded, so no further check is needed.\r\n\r\n[P18] Limits on both products. A market limit on each product, such as \"at most 80 of x and 60 of y\", gives two one-variable constraints x ≤ 80 and y ≤ 60: a vertical and a horizontal edge. Each may or may not be redundant; check by drawing.\r\n",
 "atoms": [
  {
   "id": "241-LP-A01",
   "type": "rule",
   "statement": "Decision variables are the quantities we choose (for example x tables and y chairs); they cannot be negative, so x ≥ 0 and y ≥ 0.",
   "why": "",
   "prerequisites": [],
   "tier": "core",
   "paragraphs": "P1"
  },
  {
   "id": "241-LP-A02",
   "type": "rule",
   "statement": "Each limited resource gives a constraint: (amount used per unit of x)·x + (amount used per unit of y)·y ≤ amount available. A minimum requirement uses ≥.",
   "why": "",
   "prerequisites": [
    "241-LP-A01"
   ],
   "tier": "core",
   "paragraphs": "P2"
  },
  {
   "id": "241-LP-A03",
   "type": "rule",
   "statement": "The objective function Z = px + qy is what we maximise (profit) or minimise (cost); p and q are the profit or cost per unit.",
   "why": "",
   "prerequisites": [
    "241-LP-A01"
   ],
   "tier": "core",
   "paragraphs": "P3"
  },
  {
   "id": "241-LP-A04",
   "type": "rule",
   "statement": "To graph a constraint, draw its boundary line through its two intercepts, then shade the side that satisfies it (test the origin: for ax + by ≤ c with c > 0 the origin side is feasible).",
   "why": "",
   "prerequisites": [
    "241-LP-A02"
   ],
   "tier": "core",
   "paragraphs": "P4"
  },
  {
   "id": "241-LP-A05",
   "type": "rule",
   "statement": "The feasible region is the set of points satisfying every constraint, including x, y ≥ 0. Points outside it are infeasible.",
   "why": "",
   "prerequisites": [
    "241-LP-A04"
   ],
   "tier": "core",
   "paragraphs": "P5"
  },
  {
   "id": "241-LP-A06",
   "type": "rule",
   "statement": "Corner points are where the boundaries of the feasible region meet. An intercept of a constraint line that lies outside the region is NOT a corner point.",
   "why": "",
   "prerequisites": [
    "241-LP-A05"
   ],
   "tier": "core",
   "paragraphs": "P6"
  },
  {
   "id": "241-LP-A07",
   "type": "rule",
   "statement": "Corner point method: if an optimum exists, it occurs at a corner point. Evaluate Z at every corner and pick the largest (max) or smallest (min).",
   "why": "",
   "prerequisites": [
    "241-LP-A06",
    "241-LP-A03"
   ],
   "tier": "core",
   "paragraphs": "P8-P9"
  },
  {
   "id": "241-LP-A08",
   "type": "rule",
   "statement": "If Z takes the same best value at two adjacent corners, every point on the edge joining them is optimal: there are infinitely many optimal solutions. This happens when the objective line is parallel to that edge.",
   "why": "",
   "prerequisites": [
    "241-LP-A07"
   ],
   "tier": "core",
   "paragraphs": "P10"
  },
  {
   "id": "241-LP-A09",
   "type": "rule",
   "statement": "A feasible region is bounded if it can be enclosed in a circle; otherwise it is unbounded.",
   "why": "",
   "prerequisites": [
    "241-LP-A05"
   ],
   "tier": "core",
   "paragraphs": "P7"
  },
  {
   "id": "241-LP-A10",
   "type": "rule",
   "statement": "For an unbounded region, the corner value m is the minimum only if the open half-plane px + qy < m has no point in common with the region (for a maximum M: px + qy > M has none).",
   "why": "",
   "prerequisites": [
    "241-LP-A07",
    "241-LP-A09"
   ],
   "tier": "core",
   "paragraphs": "P11"
  },
  {
   "id": "241-LP-A11",
   "type": "rule",
   "statement": "Changing the profit per unit tilts the objective line. The best corner changes only when the slope of the objective line passes the slope of one of the two edges that meet at that corner; a small change may leave the best plan the same while Z changes.",
   "why": "",
   "prerequisites": [
    "241-LP-A07"
   ],
   "tier": "core",
   "paragraphs": "P12"
  },
  {
   "id": "241-LP-A12",
   "type": "rule",
   "statement": "Increasing the amount of a resource that is used up at the optimum (a binding constraint) moves that boundary outward and can raise the best Z; more of a resource that is not used up changes nothing.",
   "why": "",
   "prerequisites": [
    "241-LP-A07"
   ],
   "tier": "core",
   "paragraphs": "P13"
  }
 ],
 "misconceptions": [
  {
   "id": "241-LP-M01",
   "wrong": "A resource limit is written with ≥ (or a requirement with ≤).",
   "correct": "Each limited resource gives a constraint: (amount used per unit of x)·x + (amount used per unit of y)·y ≤ amount available. A minimum requirement uses ≥.",
   "atoms": [
    "241-LP-A02"
   ]
  },
  {
   "id": "241-LP-M02",
   "wrong": "The per-unit amounts are attached to the wrong variable.",
   "correct": "Each limited resource gives a constraint: (amount used per unit of x)·x + (amount used per unit of y)·y ≤ amount available. A minimum requirement uses ≥.",
   "atoms": [
    "241-LP-A02"
   ]
  },
  {
   "id": "241-LP-M03",
   "wrong": "Every intercept of every constraint line is a corner point.",
   "correct": "Corner points are where the boundaries of the feasible region meet. An intercept of a constraint line that lies outside the region is NOT a corner point.",
   "atoms": [
    "241-LP-A06"
   ]
  },
  {
   "id": "241-LP-M04",
   "wrong": "The best corner is the one farthest from the origin, or the one with the largest x, whatever the objective.",
   "correct": "Corner point method: if an optimum exists, it occurs at a corner point. Evaluate Z at every corner and pick the largest (max) or smallest (min).",
   "atoms": [
    "241-LP-A07"
   ]
  },
  {
   "id": "241-LP-M05",
   "wrong": "A small change in profit per unit always changes the best plan.",
   "correct": "Changing the profit per unit tilts the objective line. The best corner changes only when the slope of the objective line passes the slope of one of the two edges that meet at that corner; a small change may leave the best plan the same while Z changes.",
   "atoms": [
    "241-LP-A11"
   ]
  },
  {
   "id": "241-LP-M06",
   "wrong": "More of any resource always raises the best profit.",
   "correct": "Increasing the amount of a resource that is used up at the optimum (a binding constraint) moves that boundary outward and can raise the best Z; more of a resource that is not used up changes nothing.",
   "atoms": [
    "241-LP-A12"
   ]
  },
  {
   "id": "241-LP-M07",
   "wrong": "For an unbounded region the corner value is always the optimum, with nothing to check.",
   "correct": "For an unbounded region, the corner value m is the minimum only if the open half-plane px + qy < m has no point in common with the region (for a maximum M: px + qy > M has none).",
   "atoms": [
    "241-LP-A10"
   ]
  },
  {
   "id": "241-LP-M08",
   "wrong": "When two corners give the same best value there are exactly two solutions.",
   "correct": "If Z takes the same best value at two adjacent corners, every point on the edge joining them is optimal: there are infinitely many optimal solutions. This happens when the objective line is parallel to that edge.",
   "atoms": [
    "241-LP-A08"
   ]
  },
  {
   "id": "241-LP-M09",
   "wrong": "The side of a ≤ constraint away from the origin is shaded.",
   "correct": "To graph a constraint, draw its boundary line through its two intercepts, then shade the side that satisfies it (test the origin: for ax + by ≤ c with c > 0 the origin side is feasible).",
   "atoms": [
    "241-LP-A04"
   ]
  }
 ]
}