Math 381 Midterm Practice Problem Solutions

Size: px
Start display at page:

Download "Math 381 Midterm Practice Problem Solutions"

Transcription

1 Math 381 Midterm Practice Problem Solutions Notes: -Many of the exercises below are adapted from Operations Research: Applications and Algorithms by Winston. -I have included a list of topics covered on the midterm, as well as topics you may likely be tested on. This is not meant to be an exhaustive list, but constitutes the main focus of the midterm material. Mathematical Modeling You should know the Modeling Process and the steps involved. Exercise 1. Try to write down the Mathematical Modeling Process from memory (if you forgot, it s in Lecture 1). What are some examples we have seen of the various steps involved in the Mathematical Modeling Process? Solution. Translate: We translate problems into math every time we do a word problem. Equipment replacement, fixedcharge problems, and shortest path problems, can all be tricky because of this initial step of translating the problem into math. Solve/approximate: We have seen several different kinds of solving techniques: Dijkstra s algorithm, Kruskal s algorithm, etc. Interpret: Often the interpretation is quite obvious, but understanding if the solution is reasonable can be subtle. For example, if you are solving a diet problem with an IP and the solution tells you that you should eat primarily cookies every day, you should have the common sense to realize that maybe there is something wrong with your IP, or maybe some parameters or constraints need to be tuned. One helpful bit of information when using LPs is to look at which constraints are tight and interpret why these ones are tight and the others are not. Test and revise: In this phase you should use the intuition you gained in the interpretation phase to figure out how you should fine-tune your model. For example, if you have gained knowledge in the interpretation stage about which constraints in your LP are tight, maybe those are the constraints you should focus on. Linear Programs You should know all of the LP terminology we ve discussed, how to convert a word problem into a linear program, how to convert an LP into matrix form, how to sove a 2-dimensional LP graphically. Exercise 2. Leary Chemical manufactures three chemicals: A, B, and C. These chemicals are produced via two production processes: 1 and 2. Running process 1 for an hour costs $4 and yields 3 units of A, 1 of B, and 1 of C. Running process 2 for an hour costs $1 and produces 1 unit of A and 1 of B. To meet customer demands, at least 10 units of A, 5 of B, and 3 of C must be produced daily. Graphically determine a daily production plan that minimizes the cost of meeting Leary Chemical s daily demands. 1

2 Solution. Let x be the amount of time process 1 is run, and y be the amount of time process 2 is run. min 4x + y subject to 3x + y 10 x + y 5 x 3 y 0 This one is tricky to graph by hand, since the lines are fairly close together. You can figure out that 3x+y 10 is an unnecessary constraint without graphing, though, by observing that x + y 5 together with 2x 6 already imply that 3x + y 11, meaning that 3x + y 10 is unnecessary. On an exam, I would give you something easier to graph by hand, and then you might be required to sketch a graph of the feasible region. Here is what Desmos gives you. The dark green shaded region is the feasible region (restricted to y 0). You can figure out that the intersection of the two lines, (3, 2), is the optimum by comparing the slope of the isocost lines 4x + y = C with the slope of the line x + y = 5. Since the slope of the isocost line is 4, and the slope of the line x + y = 5 is 1, then since the isocost line is steeper, then the minimum must be attained at the higher vertex of the feasible region, which is the intersection of the lines x = 3 and x + y = 5. Therefore, process 1 should run for 3 hours and process 2 for 2 hours, resulting in a cost of $14. Exercise 3. For each of the following, determine the direction in which the objective function increases. Your answer should be a single vector. (a) 4x 1 x 2 (b) x 1 + 2x 2 (c) x 1 3x 2 (Big Hint: If the objective function can be written as c T x, then the direction of maximum increase is in the direction of the vector c. Think about how to justify this using the concept of a gradient from Calculus, or even just elementary geometry.) Solution. With the Big Hint in mind, then all we have to do is convert the coefficients into a vector, and we are done! The answers are (a) 4, 1, (b) 1, 2, and (c) 1, 3. In order to justify this, we can use the concept of the gradient from calculus. If f(x, y) is a function of two variables, then given a point (a, b), the gradient of f evaluated at (a, b) is denoted f (a,b), which is the vector 2

3 which points in the direction of the greatest increase of f starting from the point (a, b). In our case, f is a linear function. For example, for part (a) we have f(x 1, x 2 ) = 4x 1 x 2. Then the gradient does not depend on the point (a, b). It is the constant vector f f =, f = 4, 1. x 1 x 2 Exercise 4. Furnco manufactures desks and chairs. Each desk uses 4 units of wood, and each chair uses 3. A desk contributes $40 to profit, and a chair contributes $25. Marketing restrictions require that the number of chairs produced be at least twice the number of desks produced. If 20 units of wood are available, formulate an LP to maximize Furnco s profit. Then graphically solve the LP. Solution. Let x be the number of desks manufactured and y the number of chairs manufactured, then max 40x + 25y s.t. 4x + 3y 20 2x y x 0 If you compare the slope of the objective, which is 40/25 = 1.6, to the slope of the line 4x + 3y = 20, which is 4/3 = 1.3 3, the objective is steeper. Therefore, from the graph you can see that the optimum should occur at the intersection of the two lines 4x + 3y = 20 and 2x = y. Solving, you get that the optimum is obtained at (2, 4), with a maximum value of 180. Exercise 5. Graphically find all optimal solutions to the following LP: min x 1 x 2 s.t. x 1 + x 2 6 x 1 x 2 0 x 2 x 1 3 x 1, x 2 0 Solution. The two constraints x 1 x 2 0 and x 2 x 1 3 contradict each other. Therefore, the feasible region is empty. Therefore, there is no optimal solution to the LP. This problem was taken straight from a textbook, so I take no credit for the wording of the problem. Typically if I put a problem like this on an exam where there is no solution, I would phrase the question more like find all optimal solutions to the LP, or state that there is no optimal solution, so it doesn t sound so much like a trick question. However, I might phrase a question this way if there is a solution, so don t automatically assume the problem has no solution if you see a question worded like this. Graph Theory You should know all of the graph theory terminology, Held-Karp algorithm, Dijkstra s algorithm, Kruskal s algorithm, and applications of these algorithms to decision problems such as Equipment Replacement. Exercise 6. Run Dijkstra s algorithm on the following graph to find the shortest path from node 1 to node 5. 3

4 Solution. For this one, I ll just give the answer: The shortest path from 1 to 5 is which has cost 14. The final l(v) values are l(1) = 0, l(2) = 2, l(3) = 7, l(4) = 6, and l(5) = 14. Typically on a Dijkstra s algorithm on an exam, I ll require that you also list the data of the set R and l(v) function at each step. Exercise 7. A library must build shelving to shelve inch high books, inch high books, and inch high books. Each book is 0.5 inch thick. Shelving comes in three options: 4, 8 or 12 inches high, and the library must decide which of these kinds of shelves to build. For example, the library may build an 8-inch high shelf to store all books of height less than or equal to 8 inches, and a 12-inch high shelf to store all of the 12-inch books. Alternatively, a 12-inch high shelf might be built to store all books, so that the 4 and 8-inch shelving are not needed. The library believes it costs $2, 300 to build a shelf and that a cost of $5 per square inch is incurred for book storage. (Assume that the area required to store a book is given by height of storage area times book s thickness.) Formulate and solve a shortest-path problem that could be used to help the library determine how to shelve the books at minimum cost. (Hint: Have nodes 0, 4, 8, and 12, with c ij being the total cost of shelving all books of height > i and j on a single shelf.) Solution. Using the hint, we have that c 0,4 = (4 0.5) = 4300 c 4,8 = (8 0.5) = 4300 c 8,12 = (12 0.5) = 4700 c 0,8 = (8 0.5) = 8300 c 4,12 = (12 0.5) = 7700 c 0,12 = (12 0.5) = 13, 700 Using this data and running Dijkstra s algorithm on the resulting directed graph with edge costs, we find that the optimal solution is the path with cost $12, 000. This path represents building a 4-inch shelf for all of the 4-inch books, and building a 12-inch shelf for all of the 8 and 12-inch books. 0-1 IPs You should be familiar with the various applications of 0-1 IPs to graph theory we have discussed. You should also be able to apply 0-1 IPs to various real-world applications, including knapsack problems (like on the homework), cargo loading, scheduling problems, fixed-charge problems, either-or constraints. Exercise 8. There are six cities (cities 1-6) in Kilroy County. The county must determine where to build fire stations. The county wants to build the minimum number of fire stations needed to ensure that at least one fire station is within 15 minutes (driving time) of each city. The times (in minutes) required to drive between the cities in Kilroy County are shown in the following table. Formulate an IP that will tell Kilroy how many fire stations should be built and where they should be located. Distance To From City 1 City 2 City 3 City 4 City 5 City 6 City City City City City City Solution. First, I would record which cities are within 15 minutes of each other: 4

5 City Cities which are 15 min away 1 1,2 2 1,2,6 3 3,4 4 3,4,5 5 4,5,6 6 2,5,6 Let x i be the binary variable which is 1 if and only if a fire station is built in City i. Then for each row in the table we have a constraint: min x 1 + x x 6 s.t. x 1 + x 2 1 x 1 + x 2 + x 6 1 x 3 + x 4 1 x 3 + x 4 + x 5 1 x 4 + x 5 + x 6 1 x 2 + x 5 + x 6 1 x i {0, 1} Exercise 9. Ford has four automobile plants. Each is capable of producing the Taurus, Lincoln, or Escort, but it can only produce one of these cars. The fixed cost of operating each plant for a year and the variable cost of producing a car of each type at each plant are given in the table below. Ford faces the following restrictions: (a) Each plant can produce only one type of car. (b) The total production of each type of car must be at a single plant; that is, for example, if any Tauruses are made at plant 1, then all Tauruses must be made there. (c) If plants 3 and 4 are used, then plant 1 must also be used. Suppose that each year, Ford must produce exactly 500,000 of each type of car. Formulate an IP whose solution will tell Ford how to minimize the annual cost of producing cars. Variable Cost($) Plant Fixed Cost($) Taurus Lincoln Escort 1 7 billion 12,000 16,000 9, billion 15,000 18,000 11, billion 17,000 19,000 12, billion 19,000 22,000 14,000 Solution. This is probably the hardest problem on here because part (c) is hard to interpret in terms of an inequality. Also, it uses fixed-charge in an interesting way and it can be hard to figure out what the decision variables should be. Furthermore, I forgot to add the last two lines of the problem statement in the first version of this document (sorry!). Because of (a) and (b), our decision variables can be binary variables: y i,t which is 1 if and only if plant i produces Tauruses, y i,l which is 1 if and only if plant i produces Lincolns, and y i,e which is 1 if and only if plant i produces Escorts. Then we have the constraints y i,t + y i,l + y i,e 1 5

6 for each i since each plant can make at most one type of car. Furthermore, we have y 1,T + y 2,T + y 3,T + y 4,T = 1 since exactly one plant must produce Tauruses. Similarly for Lincolns and Escorts. Notice that the number of Tauruses made at plant i is 500, 000y i,t by our assumptions. Now let z i = y i,t + y i,l + y i,e for each i. Then z i is a binary variable which is 1 if and only if plant i is used. Then (c) is equivalent to the logical statement: We can accomplish this with the inequality If z 3 = 1 and z 4 = 1, then z 1 = 1. z 3 + z 4 1 z 1, since if z 3 = z 4 = 1, then this forces 1 z 1 so z 1 = 1. Otherwise, if one of z 3 or z 4 is zero, then it will not be a constraint on z 1, which is exactly what we wanted to encode. Finally, the objective function is min (7, 000, 000z , 000y 1,T , 000y 1,L , 000y 1,E ) + +(2, 000, 000z , 000y 4,T , 000y 4,L , 000y 4,E ) where here I have scaled everything to be in thousands of dollars (and hid the terms for plants 2 and 3). You can scale this down even more to min (70z y 1,T y 1,L + 9 5y 1,E ) + (60z y 2,T y 2,L y 2,E ) +(40z y 3,T y 3,L y 3,E ) + (20z y 4,T y 4,L y 4,E ) Minimizing this objective subject to the previous constraints will minimize cost. Stochastic Processes You should know the basic statistics we have covered and basic probability terminology. You should know how to create a histogram, how to compute expected value, the definition and properties of normal distribution, Central Limit Theorem, and Markov Chains. Exercise 10. Now suppose you have a red, a green, and a blue six-sided die. Let R, G, and B be the discrete random variables which determine the face values of the red, green and blue dice, respectively. What is the sample space, probability density function and expected value of R + G + B? (Hint: If X and Y are discrete random variables with finite expected values, then it is not hard to show that E(X + Y ) = E(X) + E(Y ), the expected values add. ) Solution. Sample space is S = {3, 4,..., 18}. The probability density function for R + G + B is also symmetric, so it turns out you only have to calculate p(y) for 3 y 10. Furthermore you can calculate the probability density function of R + G + B by using the probability density function for R + G. For example, an outcome of 8 can be written as 7 + 1, 6 + 2, 5 + 3, 4 + 4, 3 + 5, or 2 + 6, where the first number in the sum is the result of adding together the first two dice, and the second numer is the value of the third roll. Then p(8) = (6/36)(1/6) + (5/36)(1/6) + (4/36)(1/6) + (3/36)(1/6) + (2/36)(1/6) + (1/36)(1/6) = ( )/216 = 21/216. Continuing in this way, after a little bit of calculation we get y p(y) 1/216 3/216 6/216 10/216 15/216 21/216 25/216 27/216 6

7 so we can complete the table for 11,..., 18 as well by symmetry, y p(y) 27/216 25/216 21/216 15/216 10/216 6/216 3/216 1/216 In order to compute the expected value, use the hint: E(R + G + B) = E(R) + E(G) + E(B) = 3E(R) = = 10.5 Exercise 11. There is a dinner party where n people check their hats. The hats are mixed up during dinner, so that afterward each person receives a random hat. In particular, each person gets their own hat with probability 1/n. What is the expected number of people who get their own hat? (Hint: Use the fact that expected values add from the previous exercise.) Solution. The idea is to write the random variable for the number of people who get their own hat as a sum of variables. Consider the random variable Y to be the numer of people who get their own hat. Define the random variable X i to be 1 if the ith person gets their own hat, and 0 otherwise. Here, the state space for Y and the X i is the set of all permutations of the n people. Then we have Y = X 1 + X X n. By the hint from the last exercise, we have that the expected number of people who get their own hat is E(Y) = E(X 1 ) + E(X 2 ) + + E(X n ) To calculate E(X i ), just write down the definition of expected value, E(X i ) = 0P (X i = 0) + 1P (X i = 1) = P (X i = 1) But since each person gets their own hat with probability 1/n, we have P (X i = 1) = 1/n, so E(X i ) = 1 n + 1 n n = 1 where above, there are n many 1/n s in the sum. Therefore, the expected number of people who get their own hat back is 1. Exercise 12. Consider the following transition matrix of a time-independent Markov Chain, [ ] P = (a) Draw the weighted directed graph associated to this Markov Chain. (b) Compute the two-step transition matrix. Solution. (a) (b) P 2 = [ ] = [ 0.72 ]

8 Scheduling the Italian National Volleyball Tournament You should be able to define the keywords and terms in the article. I won t test you on your memory of the specifics in the article, but I may ask you to translate a verbal description of a constraint in the article into math, or something similar. The following is an example of the type of question that could appear on the midterm. Exercise 13. Recall from the article Scheduling the Italian National Volleyball Tournament that δi,j k is the decision variable with value 1 if and only if team i plays at home in slot k. The variable Hi k is defined to be a binary variable with value 1 if and only if team i plays at home in slot k, so its mathematical description is Hi k = j i δk i,j. The variable HHi k is defined to be a binary variable that states if team i plays at home in both slot k and k + 1. Write down a mathematical description of HHi k in terms of linear inequalities in the variables Hk i and Hk+1 i. (Big Hint: If x and y are 0-1 variables, in order to define a new 0-1 variable z which is equal to 1 if and only x = y = 1, simply add the constraints z x z y x + y 1 z to your list of constraints. Think about why these are the correct inequalities to write down.) Solution. Using the hint, all we have to do is replace x with H k i HHi k Hi k HHi k H k+1 i Hi k + H k+1 i 1 HHi k, y with Hk+1 i, and z with HH k i, This makes sense because if Hi k = H k+1 i = 1 (if we have a break HH), then the third inequality forces HHi k so 1 HHk i so HHk i = 1. Also, the other two inequalities are trivially true. On the other hand, if Hi k = 0 (so we don t have a HH break), then the first inequality forces HHi k 0, so HHi k = 0. Also, the other two inequalities are trivially true. The same logic holds if H k+1 i = 0. 8

Spring 2018 IE 102. Operations Research and Mathematical Programming Part 2

Spring 2018 IE 102. Operations Research and Mathematical Programming Part 2 Spring 2018 IE 102 Operations Research and Mathematical Programming Part 2 Graphical Solution of 2-variable LP Problems Consider an example max x 1 + 3 x 2 s.t. x 1 + x 2 6 (1) - x 1 + 2x 2 8 (2) x 1,

More information

Review Questions, Final Exam

Review Questions, Final Exam Review Questions, Final Exam A few general questions 1. What does the Representation Theorem say (in linear programming)? 2. What is the Fundamental Theorem of Linear Programming? 3. What is the main idea

More information

Review Questions, Final Exam

Review Questions, Final Exam Review Questions, Final Exam A few general questions. What does the Representation Theorem say (in linear programming)? In words, the representation theorem says that any feasible point can be written

More information

Name: Section Registered In:

Name: Section Registered In: Name: Section Registered In: Math 125 Exam 1 Version 1 February 21, 2006 60 points possible 1. (a) (3pts) Define what it means for a linear system to be inconsistent. Solution: A linear system is inconsistent

More information

MATH 408N PRACTICE MIDTERM 1

MATH 408N PRACTICE MIDTERM 1 02/0/202 Bormashenko MATH 408N PRACTICE MIDTERM Show your work for all the problems. Good luck! () (a) [5 pts] Solve for x if 2 x+ = 4 x Name: TA session: Writing everything as a power of 2, 2 x+ = (2

More information

Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions

Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions For each question, there is a model solution (showing you the level of detail I expect on the exam) and then below

More information

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2: Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2: 03 17 08 3 All about lines 3.1 The Rectangular Coordinate System Know how to plot points in the rectangular coordinate system. Know the

More information

CS 124 Math Review Section January 29, 2018

CS 124 Math Review Section January 29, 2018 CS 124 Math Review Section CS 124 is more math intensive than most of the introductory courses in the department. You re going to need to be able to do two things: 1. Perform some clever calculations to

More information

A Primer on Statistical Inference using Maximum Likelihood

A Primer on Statistical Inference using Maximum Likelihood A Primer on Statistical Inference using Maximum Likelihood November 3, 2017 1 Inference via Maximum Likelihood Statistical inference is the process of using observed data to estimate features of the population.

More information

Math 381 Discrete Mathematical Modeling

Math 381 Discrete Mathematical Modeling Math 381 Discrete Mathematical Modeling Sean Griffin Today: -Projects -Central Limit Theorem -Markov Chains Handout Projects Deadlines: Project groups and project descriptions due w/ homework (Due 7/23)

More information

Practice Questions for Math 131 Exam # 1

Practice Questions for Math 131 Exam # 1 Practice Questions for Math 131 Exam # 1 1) A company produces a product for which the variable cost per unit is $3.50 and fixed cost 1) is $20,000 per year. Next year, the company wants the total cost

More information

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs Computational Integer Programming Lecture 2: Modeling and Formulation Dr. Ted Ralphs Computational MILP Lecture 2 1 Reading for This Lecture N&W Sections I.1.1-I.1.6 Wolsey Chapter 1 CCZ Chapter 2 Computational

More information

Systems of Equations. Red Company. Blue Company. cost. 30 minutes. Copyright 2003 Hanlonmath 1

Systems of Equations. Red Company. Blue Company. cost. 30 minutes. Copyright 2003 Hanlonmath 1 Chapter 6 Systems of Equations Sec. 1 Systems of Equations How many times have you watched a commercial on television touting a product or services as not only the best, but the cheapest? Let s say you

More information

CS173 Lecture B, November 3, 2015

CS173 Lecture B, November 3, 2015 CS173 Lecture B, November 3, 2015 Tandy Warnow November 3, 2015 CS 173, Lecture B November 3, 2015 Tandy Warnow Announcements Examlet 7 is a take-home exam, and is due November 10, 11:05 AM, in class.

More information

Linear Programming II NOT EXAMINED

Linear Programming II NOT EXAMINED Chapter 9 Linear Programming II NOT EXAMINED 9.1 Graphical solutions for two variable problems In last week s lecture we discussed how to formulate a linear programming problem; this week, we consider

More information

Chapter 6 Outline Systems of Linear Inequalities

Chapter 6 Outline Systems of Linear Inequalities SOLVES AN INEQUALITY Chapter 6 Outline Systems of Linear Inequalities FORGETS TO FLIP THE SYMBOL Date Topic Homework Lesson 1: Exploring Linear Inequalities Homework Completion Complete In Progress Not

More information

CLASS NOTES: BUSINESS CALCULUS

CLASS NOTES: BUSINESS CALCULUS CLASS NOTES: BUSINESS CALCULUS These notes can be thought of as the logical skeleton of my lectures, although they will generally contain a fuller exposition of concepts but fewer examples than my lectures.

More information

k P (X = k)

k P (X = k) Math 224 Spring 208 Homework Drew Armstrong. Suppose that a fair coin is flipped 6 times in sequence and let X be the number of heads that show up. Draw Pascal s triangle down to the sixth row (recall

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 Second Group of Students (with first letter of surnames I Z) Problem Set Rules: Due: February 12, 2013 1. Each student should

More information

Solution to Proof Questions from September 1st

Solution to Proof Questions from September 1st Solution to Proof Questions from September 1st Olena Bormashenko September 4, 2011 What is a proof? A proof is an airtight logical argument that proves a certain statement in general. In a sense, it s

More information

Math 5a Reading Assignments for Sections

Math 5a Reading Assignments for Sections Math 5a Reading Assignments for Sections 4.1 4.5 Due Dates for Reading Assignments Note: There will be a very short online reading quiz (WebWork) on each reading assignment due one hour before class on

More information

Integer Linear Programs

Integer Linear Programs Lecture 2: Review, Linear Programming Relaxations Today we will talk about expressing combinatorial problems as mathematical programs, specifically Integer Linear Programs (ILPs). We then see what happens

More information

GRE Quantitative Reasoning Practice Questions

GRE Quantitative Reasoning Practice Questions GRE Quantitative Reasoning Practice Questions y O x 7. The figure above shows the graph of the function f in the xy-plane. What is the value of f (f( ))? A B C 0 D E Explanation Note that to find f (f(

More information

EXAM 2 REVIEW DAVID SEAL

EXAM 2 REVIEW DAVID SEAL EXAM 2 REVIEW DAVID SEAL 3. Linear Systems and Matrices 3.2. Matrices and Gaussian Elimination. At this point in the course, you all have had plenty of practice with Gaussian Elimination. Be able to row

More information

Math 3C Midterm 1 Study Guide

Math 3C Midterm 1 Study Guide Math 3C Midterm 1 Study Guide October 23, 2014 Acknowledgement I want to say thanks to Mark Kempton for letting me update this study guide for my class. General Information: The test will be held Thursday,

More information

Major Ideas in Calc 3 / Exam Review Topics

Major Ideas in Calc 3 / Exam Review Topics Major Ideas in Calc 3 / Exam Review Topics Here are some highlights of the things you should know to succeed in this class. I can not guarantee that this list is exhaustive!!!! Please be sure you are able

More information

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman. Math 224 Fall 2017 Homework 1 Drew Armstrong Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman. Section 1.1, Exercises 4,5,6,7,9,12. Solutions to Book Problems.

More information

Operations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Operations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Operations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture - 13 Multiple Item Inventory - Constraint on Money Value, Space,

More information

University of California Berkeley CS170: Efficient Algorithms and Intractable Problems November 19, 2001 Professor Luca Trevisan. Midterm 2 Solutions

University of California Berkeley CS170: Efficient Algorithms and Intractable Problems November 19, 2001 Professor Luca Trevisan. Midterm 2 Solutions University of California Berkeley Handout MS2 CS170: Efficient Algorithms and Intractable Problems November 19, 2001 Professor Luca Trevisan Midterm 2 Solutions Problem 1. Provide the following information:

More information

Section 2.5 Linear Inequalities

Section 2.5 Linear Inequalities Section 2.5 Linear Inequalities WORDS OF COMPARISON Recently, you worked with applications (word problems) in which you were required to write and solve an equation. Sometimes you needed to translate sentences

More information

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES General: OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES This points out some important directions for your revision. The exam is fully based on what was taught in class: lecture notes, handouts and homework.

More information

Math 251 Midterm II Information Spring 2018

Math 251 Midterm II Information Spring 2018 Math 251 Midterm II Information Spring 2018 WHEN: Thursday, April 12 (in class). You will have the entire period (125 minutes) to work on the exam. RULES: No books or notes. You may bring a non-graphing

More information

MATH 1130 Exam 1 Review Sheet

MATH 1130 Exam 1 Review Sheet MATH 1130 Exam 1 Review Sheet The Cartesian Coordinate Plane The Cartesian Coordinate Plane is a visual representation of the collection of all ordered pairs (x, y) where x and y are real numbers. This

More information

Section K MATH 211 Homework Due Friday, 8/30/96 Professor J. Beachy Average: 15.1 / 20. ), and f(a + 1).

Section K MATH 211 Homework Due Friday, 8/30/96 Professor J. Beachy Average: 15.1 / 20. ), and f(a + 1). Section K MATH 211 Homework Due Friday, 8/30/96 Professor J. Beachy Average: 15.1 / 20 # 18, page 18: If f(x) = x2 x 2 1, find f( 1 2 ), f( 1 2 ), and f(a + 1). # 22, page 18: When a solution of acetylcholine

More information

Preparing for the CS 173 (A) Fall 2018 Midterm 1

Preparing for the CS 173 (A) Fall 2018 Midterm 1 Preparing for the CS 173 (A) Fall 2018 Midterm 1 1 Basic information Midterm 1 is scheduled from 7:15-8:30 PM. We recommend you arrive early so that you can start exactly at 7:15. Exams will be collected

More information

MA 1128: Lecture 08 03/02/2018. Linear Equations from Graphs And Linear Inequalities

MA 1128: Lecture 08 03/02/2018. Linear Equations from Graphs And Linear Inequalities MA 1128: Lecture 08 03/02/2018 Linear Equations from Graphs And Linear Inequalities Linear Equations from Graphs Given a line, we would like to be able to come up with an equation for it. I ll go over

More information

Main topics for the First Midterm Exam

Main topics for the First Midterm Exam Main topics for the First Midterm Exam The final will cover Sections.-.0, 2.-2.5, and 4.. This is roughly the material from first three homeworks and three quizzes, in addition to the lecture on Monday,

More information

Math Lab 10: Differential Equations and Direction Fields Complete before class Wed. Feb. 28; Due noon Thu. Mar. 1 in class

Math Lab 10: Differential Equations and Direction Fields Complete before class Wed. Feb. 28; Due noon Thu. Mar. 1 in class Matter & Motion Winter 2017 18 Name: Math Lab 10: Differential Equations and Direction Fields Complete before class Wed. Feb. 28; Due noon Thu. Mar. 1 in class Goals: 1. Gain exposure to terminology and

More information

MATH 56A SPRING 2008 STOCHASTIC PROCESSES

MATH 56A SPRING 2008 STOCHASTIC PROCESSES MATH 56A SPRING 008 STOCHASTIC PROCESSES KIYOSHI IGUSA Contents 4. Optimal Stopping Time 95 4.1. Definitions 95 4.. The basic problem 95 4.3. Solutions to basic problem 97 4.4. Cost functions 101 4.5.

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 10 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 10 Notes Midterm Good job overall! = 81; =

More information

Finding Limits Graphically and Numerically

Finding Limits Graphically and Numerically Finding Limits Graphically and Numerically 1. Welcome to finding limits graphically and numerically. My name is Tuesday Johnson and I m a lecturer at the University of Texas El Paso. 2. With each lecture

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Problem Set Rules: Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 (Second Group of Students) Students with first letter of surnames G Z Due: February 12, 2013 1. Each

More information

Notes for Lecture 21

Notes for Lecture 21 U.C. Berkeley CS170: Intro to CS Theory Handout N21 Professor Luca Trevisan November 20, 2001 Notes for Lecture 21 1 Tractable and Intractable Problems So far, almost all of the problems that we have studied

More information

Sometimes the domains X and Z will be the same, so this might be written:

Sometimes the domains X and Z will be the same, so this might be written: II. MULTIVARIATE CALCULUS The first lecture covered functions where a single input goes in, and a single output comes out. Most economic applications aren t so simple. In most cases, a number of variables

More information

Probability (Devore Chapter Two)

Probability (Devore Chapter Two) Probability (Devore Chapter Two) 1016-345-01: Probability and Statistics for Engineers Fall 2012 Contents 0 Administrata 2 0.1 Outline....................................... 3 1 Axiomatic Probability 3

More information

ACT Elementary Algebra Review Contents

ACT Elementary Algebra Review Contents ACT Elementary Algebra Review Contents Simplifying Expressions... Review... Practice Problems... FOIL and Multiplying Binomials... 4 Review... 4 Practice Problems... 4 Inequalities... 7 Review... 7 Practice

More information

Introduction to linear programming

Introduction to linear programming Chapter 2 Introduction to linear programming 2.1 Single-objective optimization problem We study problems of the following form: Given a set S and a function f : S R, find, if possible, an element x S that

More information

Math 1071 Final Review Sheet The following are some review questions to help you study. They do not

Math 1071 Final Review Sheet The following are some review questions to help you study. They do not Math 1071 Final Review Sheet The following are some review questions to help you study. They do not They do The exam represent the entirety of what you could be expected to know on the exam; reflect distribution

More information

CS 125 Section #12 (More) Probability and Randomized Algorithms 11/24/14. For random numbers X which only take on nonnegative integer values, E(X) =

CS 125 Section #12 (More) Probability and Randomized Algorithms 11/24/14. For random numbers X which only take on nonnegative integer values, E(X) = CS 125 Section #12 (More) Probability and Randomized Algorithms 11/24/14 1 Probability First, recall a couple useful facts from last time about probability: Linearity of expectation: E(aX + by ) = ae(x)

More information

Algebra 2 CP Semester 1 PRACTICE Exam

Algebra 2 CP Semester 1 PRACTICE Exam Algebra 2 CP Semester 1 PRACTICE Exam NAME DATE HR You may use a calculator. Please show all work directly on this test. You may write on the test. GOOD LUCK! THIS IS JUST PRACTICE GIVE YOURSELF 45 MINUTES

More information

UC Berkeley, CS 174: Combinatorics and Discrete Probability (Fall 2008) Midterm 1. October 7, 2008

UC Berkeley, CS 174: Combinatorics and Discrete Probability (Fall 2008) Midterm 1. October 7, 2008 UC Berkeley, CS 74: Combinatorics and Discrete Probability (Fall 2008) Midterm Instructor: Prof. Yun S. Song October 7, 2008 Your Name : Student ID# : Read these instructions carefully:. This is a closed-book

More information

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University Lecture Note 1: Introduction to optimization Xiaoqun Zhang Shanghai Jiao Tong University Last updated: September 23, 2017 1.1 Introduction 1. Optimization is an important tool in daily life, business and

More information

Mathematics Level D: Lesson 2 Representations of a Line

Mathematics Level D: Lesson 2 Representations of a Line Mathematics Level D: Lesson 2 Representations of a Line Targeted Student Outcomes Students graph a line specified by a linear function. Students graph a line specified by an initial value and rate of change

More information

Math M111: Lecture Notes For Chapter 3

Math M111: Lecture Notes For Chapter 3 Section 3.1: Math M111: Lecture Notes For Chapter 3 Note: Make sure you already printed the graphing papers Plotting Points, Quadrant s signs, x-intercepts and y-intercepts Example 1: Plot the following

More information

Section Notes 8. Integer Programming II. Applied Math 121. Week of April 5, expand your knowledge of big M s and logical constraints.

Section Notes 8. Integer Programming II. Applied Math 121. Week of April 5, expand your knowledge of big M s and logical constraints. Section Notes 8 Integer Programming II Applied Math 121 Week of April 5, 2010 Goals for the week understand IP relaxations be able to determine the relative strength of formulations understand the branch

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 10 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 10 Notes Midterm Good job overall! = 81; =

More information

Math (P)Review Part I:

Math (P)Review Part I: Lecture 1: Math (P)Review Part I: Linear Algebra Computer Graphics CMU 15-462/15-662, Fall 2017 Homework 0.0 (Due Monday!) Exercises will be a bit harder / more rigorous than what you will do for the rest

More information

College Algebra: Midterm Review

College Algebra: Midterm Review College Algebra: A Missive from the Math Department Learning College Algebra takes effort on your part as the student. Here are some hints for studying that you may find useful. Work Problems If you do,

More information

Systems of Nonlinear Equations and Inequalities: Two Variables

Systems of Nonlinear Equations and Inequalities: Two Variables Systems of Nonlinear Equations and Inequalities: Two Variables By: OpenStaxCollege Halley s Comet ([link]) orbits the sun about once every 75 years. Its path can be considered to be a very elongated ellipse.

More information

1.4 Techniques of Integration

1.4 Techniques of Integration .4 Techniques of Integration Recall the following strategy for evaluating definite integrals, which arose from the Fundamental Theorem of Calculus (see Section.3). To calculate b a f(x) dx. Find a function

More information

In economics, the amount of a good x demanded is a function of the price of that good. In other words,

In economics, the amount of a good x demanded is a function of the price of that good. In other words, I. UNIVARIATE CALCULUS Given two sets X and Y, a function is a rule that associates each member of X with eactly one member of Y. That is, some goes in, and some y comes out. These notations are used to

More information

North Carolina State University

North Carolina State University North Carolina State University MA 141 Course Text Calculus I by Brenda Burns-Williams and Elizabeth Dempster August 7, 2014 Section1 Functions Introduction In this section, we will define the mathematical

More information

Lecture 10: Powers of Matrices, Difference Equations

Lecture 10: Powers of Matrices, Difference Equations Lecture 10: Powers of Matrices, Difference Equations Difference Equations A difference equation, also sometimes called a recurrence equation is an equation that defines a sequence recursively, i.e. each

More information

Descriptive Statistics (And a little bit on rounding and significant digits)

Descriptive Statistics (And a little bit on rounding and significant digits) Descriptive Statistics (And a little bit on rounding and significant digits) Now that we know what our data look like, we d like to be able to describe it numerically. In other words, how can we represent

More information

Review for Final Exam, MATH , Fall 2010

Review for Final Exam, MATH , Fall 2010 Review for Final Exam, MATH 170-002, Fall 2010 The test will be on Wednesday December 15 in ILC 404 (usual class room), 8:00 a.m - 10:00 a.m. Please bring a non-graphing calculator for the test. No other

More information

Solutions to Second Midterm

Solutions to Second Midterm Operations Management 33:623:386:04/05 Professor Eckstein, Spring 2002 Solutions to Second Midterm Q1 Q2 Q3 Total Max 35 33 30 94 Mean 25.9 26.4 27.6 79.8 Median 27.0 27.0 28.0 81.0 Min 8 15 20 50 Standard

More information

(arrows denote positive direction)

(arrows denote positive direction) 12 Chapter 12 12.1 3-dimensional Coordinate System The 3-dimensional coordinate system we use are coordinates on R 3. The coordinate is presented as a triple of numbers: (a,b,c). In the Cartesian coordinate

More information

15-780: LinearProgramming

15-780: LinearProgramming 15-780: LinearProgramming J. Zico Kolter February 1-3, 2016 1 Outline Introduction Some linear algebra review Linear programming Simplex algorithm Duality and dual simplex 2 Outline Introduction Some linear

More information

Math 3 Variable Manipulation Part 7 Absolute Value & Inequalities

Math 3 Variable Manipulation Part 7 Absolute Value & Inequalities Math 3 Variable Manipulation Part 7 Absolute Value & Inequalities 1 MATH 1 REVIEW SOLVING AN ABSOLUTE VALUE EQUATION Absolute value is a measure of distance; how far a number is from zero. In practice,

More information

Mathematics 1104B. Systems of Equations and Inequalities, and Matrices. Study Guide. Text: Mathematics 11. Alexander and Kelly; Addison-Wesley, 1998.

Mathematics 1104B. Systems of Equations and Inequalities, and Matrices. Study Guide. Text: Mathematics 11. Alexander and Kelly; Addison-Wesley, 1998. Adult Basic Education Mathematics Systems of Equations and Inequalities, and Matrices Prerequisites: Mathematics 1104A, Mathematics 1104B Credit Value: 1 Text: Mathematics 11. Alexander and Kelly; Addison-Wesley,

More information

Alex s Guide to Word Problems and Linear Equations Following Glencoe Algebra 1

Alex s Guide to Word Problems and Linear Equations Following Glencoe Algebra 1 Alex s Guide to Word Problems and Linear Equations Following Glencoe Algebra 1 What is a linear equation? It sounds fancy, but linear equation means the same thing as a line. In other words, it s an equation

More information

Math 164-1: Optimization Instructor: Alpár R. Mészáros

Math 164-1: Optimization Instructor: Alpár R. Mészáros Math 164-1: Optimization Instructor: Alpár R. Mészáros First Midterm, April 20, 2016 Name (use a pen): Student ID (use a pen): Signature (use a pen): Rules: Duration of the exam: 50 minutes. By writing

More information

Solutions to Review Questions, Exam 1

Solutions to Review Questions, Exam 1 Solutions to Review Questions, Exam. What are the four possible outcomes when solving a linear program? Hint: The first is that there is a unique solution to the LP. SOLUTION: No solution - The feasible

More information

Algebra 1 Winter Break Extra Credit Fall Semester 2013

Algebra 1 Winter Break Extra Credit Fall Semester 2013 Algebra Winter Break Extra Credit Fall Semester ( Homework Points Maximum) Due: Monday January, at the start of class Directions: Answer all questions, showing work for each problem on your own separate

More information

OPTIMISATION /09 EXAM PREPARATION GUIDELINES

OPTIMISATION /09 EXAM PREPARATION GUIDELINES General: OPTIMISATION 2 2008/09 EXAM PREPARATION GUIDELINES This points out some important directions for your revision. The exam is fully based on what was taught in class: lecture notes, handouts and

More information

Chapter 3 Introduction to Linear Programming PART 1. Assoc. Prof. Dr. Arslan M. Örnek

Chapter 3 Introduction to Linear Programming PART 1. Assoc. Prof. Dr. Arslan M. Örnek Chapter 3 Introduction to Linear Programming PART 1 Assoc. Prof. Dr. Arslan M. Örnek http://homes.ieu.edu.tr/~aornek/ise203%20optimization%20i.htm 1 3.1 What Is a Linear Programming Problem? Linear Programming

More information

June If you want, you may scan your assignment and convert it to a.pdf file and it to me.

June If you want, you may scan your assignment and convert it to a.pdf file and  it to me. Summer Assignment Pre-Calculus Honors June 2016 Dear Student: This assignment is a mandatory part of the Pre-Calculus Honors course. Students who do not complete the assignment will be placed in the regular

More information

Chapter 1 Review Applied Calculus 31

Chapter 1 Review Applied Calculus 31 Chapter Review Applied Calculus Section : Linear Functions As you hop into a taxicab in Allentown, the meter will immediately read $.0; this is the drop charge made when the taximeter is activated. After

More information

PROJECT MANAGEMENT CHAPTER 1

PROJECT MANAGEMENT CHAPTER 1 PROJECT MANAGEMENT CHAPTER 1 Project management is the process and activity of planning, organizing, motivating, and controlling resources, procedures and protocols to achieve specific goals in scientific

More information

Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur. Lecture - 20 Travelling Salesman Problem

Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur. Lecture - 20 Travelling Salesman Problem Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur Lecture - 20 Travelling Salesman Problem Today we are going to discuss the travelling salesman problem.

More information

36106 Managerial Decision Modeling Linear Decision Models: Part II

36106 Managerial Decision Modeling Linear Decision Models: Part II 1 36106 Managerial Decision Modeling Linear Decision Models: Part II Kipp Martin University of Chicago Booth School of Business January 20, 2014 Reading and Excel Files Reading (Powell and Baker): Sections

More information

Chapter 1 Review of Equations and Inequalities

Chapter 1 Review of Equations and Inequalities Chapter 1 Review of Equations and Inequalities Part I Review of Basic Equations Recall that an equation is an expression with an equal sign in the middle. Also recall that, if a question asks you to solve

More information

COMPSCI 611 Advanced Algorithms Second Midterm Exam Fall 2017

COMPSCI 611 Advanced Algorithms Second Midterm Exam Fall 2017 NAME: COMPSCI 611 Advanced Algorithms Second Midterm Exam Fall 2017 A. McGregor 15 November 2017 DIRECTIONS: Do not turn over the page until you are told to do so. This is a closed book exam. No communicating

More information

MATH 115 SECOND MIDTERM

MATH 115 SECOND MIDTERM MATH 115 SECOND MIDTERM March 31, 2009 NAME: SOLUTIONS INSTRUCTOR: SECTION NUMBER: 1. Do not open this exam until you are told to begin. 2. This exam has 9 pages including this cover. There are 9 questions.

More information

1 Basic continuous random variable problems

1 Basic continuous random variable problems Name M362K Final Here are problems concerning material from Chapters 5 and 6. To review the other chapters, look over previous practice sheets for the two exams, previous quizzes, previous homeworks and

More information

MA 3280 Lecture 05 - Generalized Echelon Form and Free Variables. Friday, January 31, 2014.

MA 3280 Lecture 05 - Generalized Echelon Form and Free Variables. Friday, January 31, 2014. MA 3280 Lecture 05 - Generalized Echelon Form and Free Variables Friday, January 31, 2014. Objectives: Generalize echelon form, and introduce free variables. Material from Section 3.5 starting on page

More information

How hard is it to find a good solution?

How hard is it to find a good solution? How hard is it to find a good solution? Simons Institute Open Lecture November 4, 2013 Research Area: Complexity Theory Given a computational problem, find an efficient algorithm that solves it. Goal of

More information

1 Basic continuous random variable problems

1 Basic continuous random variable problems Name M362K Final Here are problems concerning material from Chapters 5 and 6. To review the other chapters, look over previous practice sheets for the two exams, previous quizzes, previous homeworks and

More information

IE 5112 Final Exam 2010

IE 5112 Final Exam 2010 IE 5112 Final Exam 2010 1. There are six cities in Kilroy County. The county must decide where to build fire stations. The county wants to build as few fire stations as possible while ensuring that there

More information

Math Practice Final - solutions

Math Practice Final - solutions Math 151 - Practice Final - solutions 2 1-2 -1 0 1 2 3 Problem 1 Indicate the following from looking at the graph of f(x) above. All answers are small integers, ±, or DNE for does not exist. a) lim x 1

More information

COMPSCI 611 Advanced Algorithms Second Midterm Exam Fall 2017

COMPSCI 611 Advanced Algorithms Second Midterm Exam Fall 2017 NAME: COMPSCI 611 Advanced Algorithms Second Midterm Exam Fall 2017 A. McGregor 15 November 2017 DIRECTIONS: Do not turn over the page until you are told to do so. This is a closed book exam. No communicating

More information

= (6)(1) ( 4)( 1) 2( 11 ) = 2 11 = 9.

= (6)(1) ( 4)( 1) 2( 11 ) = 2 11 = 9. Math 6 / Exam (October, 6) page. [ points] For all of parts (a) (d), let f(x) = x 4 and let g(x) be given in the graph to the right. (a) [3 points of ] Find g (x) dx. By the Fundamental Theorem of Calculus,

More information

Math 112 Group Activity: The Vertical Speed of a Shell

Math 112 Group Activity: The Vertical Speed of a Shell Name: Section: Math 112 Group Activity: The Vertical Speed of a Shell A shell is fired straight up by a mortar. The graph below shows its altitude as a function of time. 400 300 altitude (in feet) 200

More information

Another max flow application: baseball

Another max flow application: baseball CS124 Lecture 16 Spring 2018 Another max flow application: baseball Suppose there are n baseball teams, and team 1 is our favorite. It is the middle of baseball season, and some games have been played

More information

Midterm Study Guide and Practice Problems

Midterm Study Guide and Practice Problems Midterm Study Guide and Practice Problems Coverage of the midterm: Sections 10.1-10.7, 11.2-11.6 Sections or topics NOT on the midterm: Section 11.1 (The constant e and continuous compound interest, Section

More information

MATH MW Elementary Probability Course Notes Part I: Models and Counting

MATH MW Elementary Probability Course Notes Part I: Models and Counting MATH 2030 3.00MW Elementary Probability Course Notes Part I: Models and Counting Tom Salisbury salt@yorku.ca York University Winter 2010 Introduction [Jan 5] Probability: the mathematics used for Statistics

More information

Linear equations The first case of a linear equation you learn is in one variable, for instance:

Linear equations The first case of a linear equation you learn is in one variable, for instance: Math 52 0 - Linear algebra, Spring Semester 2012-2013 Dan Abramovich Linear equations The first case of a linear equation you learn is in one variable, for instance: 2x = 5. We learned in school that this

More information

2. Find the intervals where function is increasing and decreasing. Then find all relative extrema.

2. Find the intervals where function is increasing and decreasing. Then find all relative extrema. MATH 1071Q Exam #2 Review Fall 2011 1. Find the elasticity at the given points and determine whether demand is inelastic, elastic, or unit elastic. Explain the significance of your answer. (a) x = 10 2p

More information

CLASS NOTES: INTERMEDIATE ALGEBRA AND COORDINATE GEOMETRY

CLASS NOTES: INTERMEDIATE ALGEBRA AND COORDINATE GEOMETRY CLASS NOTES: INTERMEDIATE ALGEBRA AND COORDINATE GEOMETRY 1. The basic laws of Algebra Section 1 of these notes covers the same material as Sections 1.1, 1.2, and 1.6 of the text (in a somewhat very different

More information

Physics 6A Lab Experiment 6

Physics 6A Lab Experiment 6 Biceps Muscle Model Physics 6A Lab Experiment 6 Introduction This lab will begin with some warm-up exercises to familiarize yourself with the theory, as well as the experimental setup. Then you ll move

More information