YouTube2Text

Algebra 2: 3.4: Linear Programming — Transcript

by Mrs. Allen · 2,926 words · 412 segments · language en · Watch on YouTube

Full transcript

  1. 0:00welcome to the 3.4 lesson video today
  2. 0:02we're going to be learning about linear
  3. 0:04programming so I'm going to begin by
  4. 0:06telling you what that means and our goal
  5. 0:09is to solve systems of inequality
  6. 0:12specifically using linear programming so
  7. 0:15let's talk about what this process is
  8. 0:17linear programming is a method for
  9. 0:19finding a minimum or maximum value of
  10. 0:22some quantity given a set of constraints
  11. 0:25and another word for constraints um is
  12. 0:28limitations so you can see right here in
  13. 0:31this example that we have a system of
  14. 0:33linear inequalities and because the
  15. 0:37domain and range are limited by these
  16. 0:39inequalities these are called
  17. 0:41constraints as you can see in the graph
  18. 0:43at right the region that is formed by
  19. 0:46the linear inequality boundary lines and
  20. 0:48the shading overlapping of the shading
  21. 0:50that's called the feasible region and
  22. 0:52the feasible region is the graph of the
  23. 0:54system and it contains all the points
  24. 0:56that satisfy all of the constraints or
  25. 0:58all of the linear inequality
  26. 1:01an objective function is one more term
  27. 1:02that we're going to be discussing today
  28. 1:04before we get to examples an objective
  29. 1:06function is an equation that model the
  30. 1:08quantity that we are minimizing or
  31. 1:10maximizing so for example two examples
  32. 1:13of minimizing something would be
  33. 1:14minimizing cost or minimizing time and
  34. 1:17two examples for maximizing something
  35. 1:19would be maximizing profit or maximizing
  36. 1:22items produced so you can see at right
  37. 1:25we have an example equation for an
  38. 1:27objective function and that is 2x + y
  39. 1:30equals c where C is some positive number
  40. 1:32and you can see right there that we have
  41. 1:34the feasible region in the yellow um
  42. 1:37surrounded by the boundary lines of the
  43. 1:40inequalities and we have two red
  44. 1:43objective functions and the only
  45. 1:45difference between them is the value of
  46. 1:48C the graphs of the objective function
  47. 1:51for the various values of c would be
  48. 1:53parallel lines and when the lines are
  49. 1:55closer to the origin those represent the
  50. 1:58smaller values of c and those further
  51. 2:00away from the origin represent bigger
  52. 2:03values of c so you can see right here
  53. 2:05that the line 2x + yal 7 is intersecting
  54. 2:10the feasible region at the coordinate
  55. 2:12point
  56. 2:1323 and the other objective function 2x +
  57. 2:18y = 17 is intersecting the feasible
  58. 2:21region at the coordinate 73 these
  59. 2:24vertices of the feasible region
  60. 2:26represent the least and the greatest
  61. 2:29values for the objective function
  62. 2:31basically you need to realize that the
  63. 2:33domain is going to be restricted
  64. 2:35typically for real world situations and
  65. 2:37we've actually been working with this
  66. 2:38already this year um when we are talking
  67. 2:41about uh for example the number of
  68. 2:43people that variable would not be
  69. 2:45negative so that would be restricting
  70. 2:47the domain which means we have some
  71. 2:49constraints that we're dealing with and
  72. 2:52as in the previous lesson the most
  73. 2:54reasonable method to determine the
  74. 2:55common Solutions of a set of
  75. 2:57inequalities is to graph so that's what
  76. 2:58we're about to do in our key concept box
  77. 3:01here we're going to be talking about the
  78. 3:02vertex principle of linear programming
  79. 3:04this is something important and you want
  80. 3:05to jot this down in your notes so if we
  81. 3:08are having a maximum or minimum value of
  82. 3:11the linear objective function it's going
  83. 3:13to occur at one or more vertices of the
  84. 3:15feasible region and we actually looked
  85. 3:17at that above when I was talking about
  86. 3:19this example right here the maximum and
  87. 3:21minimum version values would be at the
  88. 3:24vertices I'm assuming you remember what
  89. 3:26vertices or the word vertex in singular
  90. 3:29form means
  91. 3:30a Vertex is when two lines come together
  92. 3:33to form a corner so now let's dive into
  93. 3:37example one and learn how to solve a
  94. 3:39problem using linear programming by
  95. 3:41testing in the objective function all of
  96. 3:43the vertices of the feasible region so
  97. 3:46here in example one we need to figure
  98. 3:48out what point in the feasible region
  99. 3:49maximizes the function P for the
  100. 3:52objective function P equal 2x + y so you
  101. 3:55can see at right that we're given the
  102. 3:57constraints so take a moment to jot down
  103. 3:59these four
  104. 4:00constraints these are all linear
  105. 4:02inequalities and as usual we're about to
  106. 4:05graph um and as in the past we typically
  107. 4:08solve for y to put it in slope intercept
  108. 4:10form to graph easily so you can see what
  109. 4:12I did was I just solved for y so I
  110. 4:14subtracted the X and divided by two so
  111. 4:17I'm getting Y is less than or equal to
  112. 4:19-2x + 5vs and then I just put it in
  113. 4:22decimal form just to show you that five
  114. 4:24halves is the same thing as 2.5 so now
  115. 4:26what I'm going to do is graph that
  116. 4:28function
  117. 4:31and I'm going to go to 2 and a half on
  118. 4:33the Y
  119. 4:34AIS and then the slope is one2 so I'm
  120. 4:37just going to go down one and over
  121. 4:46two and then connect with a solid
  122. 4:48boundary line I'm also going to be
  123. 4:50shading below because the inequality
  124. 4:52symbol is less than or equal to
  125. 5:00as you can see the skills that we
  126. 5:02practice in Chapter 2 are necessary for
  127. 5:05this problem so now I'm going to do a
  128. 5:07similar thing and solve for y for the
  129. 5:08second inequality when solving for Y for
  130. 5:10the second inequality I get Y is greater
  131. 5:13than or equal to x - 2 so I'm going to
  132. 5:15go to minus two on the Y AIS and the
  133. 5:18slope is one over one so that means
  134. 5:20we're going up one over
  135. 5:22one this is also going to be a solid
  136. 5:25boundary line because we have a line
  137. 5:26underneath the inequality symbol and
  138. 5:29going to be shading above for the third
  139. 5:32inequality it is just X is greater than
  140. 5:35or equal to Z which means it's a
  141. 5:36vertical line going through the origin
  142. 5:38and all values that are greater than
  143. 5:40equal to zero are solutions and for the
  144. 5:42last inequality it is uh Y is greater
  145. 5:44than equal to Zer which means it's a
  146. 5:46horizontal line starting at the x axis
  147. 5:48and going above so now I'll show you the
  148. 5:50overlap okay now that we have all of the
  149. 5:52linear
  150. 5:53inequalities graphed you can see the
  151. 5:56overlap is that quadrilateral looking
  152. 5:58shape that that is outlined in the thick
  153. 6:01black pen and now we're given four
  154. 6:05different vertices those are all
  155. 6:07vertices of this feasible region now
  156. 6:10what we're going to do is use these
  157. 6:13vertices and evaluate the function P at
  158. 6:17each of these vertices to see which
  159. 6:19value we get for the biggest that will
  160. 6:21be the maximum
  161. 6:22value okay so I erased some of the
  162. 6:25highlighting and drawing on the graph so
  163. 6:27it's easier to focus on what need to
  164. 6:29deal with so the vertices are
  165. 6:32highlighted in the purple and then you
  166. 6:35probably remember from geometry class
  167. 6:36last year that typically we label
  168. 6:38vertices with letters to identify them
  169. 6:42so I wrote down the C of the vertices Q
  170. 6:45R st and now we're going to be
  171. 6:48evaluating the function p p = 2x + y and
  172. 6:53evaluting just means plugging in the
  173. 6:54values for the equation so we're going
  174. 6:57to be using
  175. 6:59the
  176. 7:02equation p = 2 * 0 + 0 and that equals
  177. 7:080 Let's try the next one 2 * 0 + 2.5
  178. 7:14that equals
  179. 7:152.5 2 * 3 + 1 that equal 7 and 2 * 2 + 0
  180. 7:24that equals 4 so we wanted to figure out
  181. 7:27what point in the Fe I region which is
  182. 7:30this quadrilateral shape here maximizes
  183. 7:33the function p and we can see that the
  184. 7:36coordinate s because we substitute that
  185. 7:39value when we substitute that value in
  186. 7:40for the objective function we find out
  187. 7:43that P equals 7 which means value for
  188. 7:47this
  189. 7:51function now we're about to take a look
  190. 7:53at a real life example problem and
  191. 7:56discover the process of how to use
  192. 7:58linear programming to maximize
  193. 8:00profit here's example two you are screen
  194. 8:03printing t-shirts and sweatshirts to
  195. 8:05sell at the pulk county Blues Festival
  196. 8:08and are working with the following
  197. 8:09constraints you have at most 20 hours to
  198. 8:12make shirts you want to spend no more
  199. 8:15than $600 on supplies and you want to
  200. 8:18have at least 50 items to sell we need
  201. 8:21to figure out how many t-shirts and how
  202. 8:22many sweatshirts should you make to
  203. 8:24maximize your profit and how much is the
  204. 8:27maximum profit so let's take a moment
  205. 8:30and look at the Givens and then identify
  206. 8:33the
  207. 8:34variables I'm going to let x equal the
  208. 8:36number of t-shirts made and y equal the
  209. 8:39number of sweatshirts made so let's use
  210. 8:41this table to organize the information
  211. 8:44that we have let's focus in on the first
  212. 8:47row for the minutes it says here in the
  213. 8:49picture that it takes 10 minutes to make
  214. 8:52one colored t-shirt so I'm going to
  215. 8:55write
  216. 8:5610x and for sweatshirts it takes takes
  217. 9:0030 minutes to make so 30
  218. 9:03Y and our first constraint said we have
  219. 9:06most 20 hours hopefully you're realizing
  220. 9:09that the units are different um minutes
  221. 9:11versus hours so in order to make the
  222. 9:14total into minutes we just need to
  223. 9:16multiply 20 * 60 and that gives us 1,200
  224. 9:24minutes so here is our first row
  225. 9:27complete and the symbol that want to use
  226. 9:30is going to be less than or equal to
  227. 9:33because we do not want to go over the 20
  228. 9:35hours or also known as the 1200 minutes
  229. 9:39now let's take a look at the number of
  230. 9:42t-shirts and
  231. 9:45sweatshirts it says that we want to have
  232. 9:48at least 50 items to sell so that tells
  233. 9:50me that we need to have 50 at the total
  234. 9:55um for the minimum actually so that
  235. 9:56means we want a greater than or equal to
  236. 9:58because 50 is the smallest amount of
  237. 10:00items that we want to sell and then from
  238. 10:03there we don't know the exact number so
  239. 10:05that's why we have the variables X and Y
  240. 10:08the cost it says here in the picture
  241. 10:11that supplies cost $4 for one t-shirt so
  242. 10:13we're going to have
  243. 10:154X and then for the sweatshirt it says
  244. 10:18supplies cost $20 so 20
  245. 10:22Y and it told us that we do not want to
  246. 10:26spend more than $600 so we have 600 over
  247. 10:29here
  248. 10:29and then we're going to have a less than
  249. 10:31or equal to because we do not want to
  250. 10:33surpass that
  251. 10:37$600 so I wrote down the three
  252. 10:40constraints that we have so far in
  253. 10:42inequality form and I just Ed the same
  254. 10:44values that we were talking about in the
  255. 10:45table there are just two more
  256. 10:47constraints that we need to write down
  257. 10:50and they should make sense to you it's X
  258. 10:53is greater than or equal to
  259. 10:55Zer and Y is greater than or equal to
  260. 10:58zero and that's because since X and Y
  261. 11:01are the number of t-shirts and
  262. 11:02sweatshirts respectively we cannot have
  263. 11:04a negative number so that's why we're
  264. 11:05starting at zero and going beyond that
  265. 11:08now let's talk about how to come up with
  266. 11:10the objective function for the profit so
  267. 11:13taking a look at the tags right here up
  268. 11:16in the picture we see that the profit is
  269. 11:18$6 for a T-shirt and the profit for a
  270. 11:20sweatshirt is $20 so that's why I have
  271. 11:226X + 20 y so that is going to
  272. 11:27be the object Ive function and I know
  273. 11:31it's going to be for profit because it
  274. 11:32talks about in the question how many
  275. 11:35t-shirts how many sweatshirts can we
  276. 11:37make to maximize The Profit so that's
  277. 11:39going to be our objective
  278. 11:48function okay now that we made our
  279. 11:51objective function if you are listening
  280. 11:53if you could just put a smiley face
  281. 11:55right next to the equation that we just
  282. 11:57wrote down that will help me Det
  283. 11:59determine who is actually listening
  284. 12:01through and watching the videos
  285. 12:04thoroughly now let's learn how to use
  286. 12:06this objective
  287. 12:07function before graphing the feasible
  288. 12:10region I would just like to talk about
  289. 12:12how this function is an a discrete
  290. 12:15function and that's because the number
  291. 12:17of t-shirts X and the number of
  292. 12:18sweatshirts y can only be whole numbers
  293. 12:21so remember discreet just means we don't
  294. 12:23have all real numbers as Solutions only
  295. 12:25whole numbers work for this
  296. 12:27situation so we're about to graph the
  297. 12:29constraints that we formed earlier to
  298. 12:31form the feasible region so feel free to
  299. 12:34pause here to start setting up your
  300. 12:36graph you can see that I used the
  301. 12:39variables that we defined earlier for
  302. 12:40the X and Y
  303. 12:42labels and you can also see that I'm
  304. 12:44going up on the x axis I'm going up by
  305. 12:4615s but I'm only labeling every other
  306. 12:49and then on the y- axis I'm going up by
  307. 12:51threes but again I'm only labeling every
  308. 12:53other when graphing the constraints my
  309. 12:56suggestion is to either put the
  310. 12:58inequality in intercept form or to find
  311. 13:00the X and Y intercepts plot those and
  312. 13:02connect I actually use the second
  313. 13:05process I just talked about you can see
  314. 13:07right here I pretended that it was an
  315. 13:10equation at first and I found the X and
  316. 13:12Y intercepts plotted those and connected
  317. 13:14those and we're going to be shading
  318. 13:16below for this region because it's less
  319. 13:19than or equal to in the original
  320. 13:20inequality for the next inequality X
  321. 13:22Plus Y is greater than or equal to 50 I
  322. 13:25have this in the blue I found out that
  323. 13:27the X and Y intercepts are both at 50 50
  324. 13:30um I can easily graph this on the xaxis
  325. 13:32but on the y- AIS it's off the graph so
  326. 13:33that's why indicated as an arrow now
  327. 13:36let's take a look at the third one for
  328. 13:38the inequality 4x + 20 Y is less than
  329. 13:41equal to 600 I know that I'm shading
  330. 13:42below and for the x intercept I found
  331. 13:45out that it's 150 and for the Y
  332. 13:46intercept I found it's at 30 so I
  333. 13:48graphed this in the green the X and Y
  334. 13:50intercepts and I connected them the last
  335. 13:53two constraints are actually just the X
  336. 13:55and Y axis so that just tells us that we
  337. 13:58are working in the first quadrant only
  338. 14:00so now I have the feasible region shaded
  339. 14:03remember the feasible region is just
  340. 14:05where all of the individual linear
  341. 14:08inequality shading
  342. 14:09overlap you may be wondering how do we
  343. 14:12find the coordinates of each
  344. 14:14vertex if they are hard to read off the
  345. 14:17graph what we want to do is solve the
  346. 14:19system of equations related to the lines
  347. 14:21that intersect to form the vertex so
  348. 14:24using that process that we have learned
  349. 14:26earlier in this chapter so now I have
  350. 14:29labeled the feasible region with the
  351. 14:30vertices a b c d the vertex a is the
  352. 14:34coordinate 50 and that is just the x
  353. 14:37intercept of this equation here in the
  354. 14:40blue and the D the vertex D the
  355. 14:43coordinate is 120 and that is also the x
  356. 14:47intercept of the other equation as shown
  357. 14:50right here for the coordinates of
  358. 14:54vertices B and C we would need to solve
  359. 14:58the systems that I have listed right
  360. 14:59here and in order to find out which
  361. 15:02systems I'm talking about I just
  362. 15:05followed the color coordinating that I
  363. 15:06was using so the blue and the green
  364. 15:09equations would be the intersection at
  365. 15:12vertex B and then the red equation which
  366. 15:16I show in the black up here as well as
  367. 15:19the green equation that would solve for
  368. 15:22the intersection point at vertex C so
  369. 15:25just as in the previous problem now I'm
  370. 15:27going to sub to each of these
  371. 15:29coordinates in for our objective
  372. 15:31function P = 6X + 20 y to see which
  373. 15:36coordinate maximizes the
  374. 15:44equation okay so I'm going to start off
  375. 15:46by plugging in 50 for the equation so 6
  376. 15:49* 50 + 20 * 0 and that gives us
  377. 15:56300 next coordinate 6 6 * 25 + 20 * 25
  378. 16:04and that equals
  379. 16:07650 for coordinate C we have 6 * 75 + 20
  380. 16:13* 15 and that equals
  381. 16:17750 and the last one p equals 6 *
  382. 16:23120 + 20 * 0 and that equals 720 so like
  383. 16:29I said I'm just using the coordinates of
  384. 16:31the vertices that I just discussed in
  385. 16:33step two and substitute those in for the
  386. 16:36objective function equation P = 6X + 20
  387. 16:40and now we can see which coordinate
  388. 16:42maximizes the profit in this
  389. 16:45situation so you can see that the
  390. 16:47greatest value is at coordinate C
  391. 16:51because we have P equals
  392. 16:53750 so now let's discuss that like we
  393. 16:56were just talking about at the
  394. 16:57coordinate C 75 15 the function is
  395. 17:00maximized so that means we can maximize
  396. 17:02profit by selling 75 t-shirts and 15
  397. 17:05sweatshirts and I'm just getting that
  398. 17:07from the coordinate itself X comma Y and
  399. 17:09the maxim maximum profit at this
  400. 17:12coordinate is
  401. 17:14$750 so that completes our real life
  402. 17:21example okay that's it for today's
  403. 17:24lesson there were only two problems just
  404. 17:26because there were longer in length L
  405. 17:29and difficulty so now here's the lesson
  406. 17:32check I am just looking for you to do
  407. 17:34the evens so two four and
  408. 17:40six so take a moment to jot down these
  409. 17:43three systems of inequalities and
  410. 17:46constraints and make sure you show your
  411. 17:48work and graphs for each of these I'll
  412. 17:50see you soon

About this transcript

This page contains the full transcript of Algebra 2: 3.4: Linear Programming by Mrs. Allen, generated from the public captions YouTube serves with the video. The transcript has 2,926 words across 412 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.