of 26 /26
Today’s Agenda Attendance / Announcements Questions from 6.1 / 6.2 Sections 7.1 / 7.2 E.C. Quiz Today

Lecture 7.1 to 7.2 bt

Embed Size (px)

Text of Lecture 7.1 to 7.2 bt

Page 1: Lecture 7.1 to 7.2 bt

Today’s Agenda

Attendance / Announcements

Questions from 6.1 / 6.2

Sections 7.1 / 7.2

E.C. Quiz Today

Page 2: Lecture 7.1 to 7.2 bt

Exam Schedule

Exam 5 (Ch 6.1, 7)

Wed 4/1

Exam 6 (Ch 10)

Monday 4/27

Final Exam (Cumulative)

Monday 5/4

Page 3: Lecture 7.1 to 7.2 bt

Graphing Systems of Inequalities

1. Graph boundary lines

2. Check inequality signs

(Dashed or Solid?)

3. Shade accordingly

5. Test Points

4𝑥 + 𝑦 ≥ 92𝑥 + 3𝑦 ≤ 7

4. Identify Intersecting

regions (“Feasible”)

Page 4: Lecture 7.1 to 7.2 bt

Graph the Feasible Region

5𝑦 − 2𝑥 ≤ 10𝑥 ≥ 3𝑦 ≥ 2

𝑦 ≤2

5𝑥 + 2

𝑥 ≥ 3𝑦 ≥ 2

Page 5: Lecture 7.1 to 7.2 bt

Find “Corner Points” of the Feasible

Region3𝑥 + 2𝑦 ≤ 6−2𝑥 + 4𝑦 ≤ 8

𝑥 + 𝑦 ≥ 1𝑥 ≥ 0𝑦 ≥ 0

𝑦 ≤ −32

𝑥+3

𝑦 ≤ 12

𝑥 + 2

𝑦 ≥ −𝑥 + 1𝑥 ≥ 0𝑦 ≥ 0

Page 6: Lecture 7.1 to 7.2 bt

Find “Corner Points” of the Feasible

Region3𝑥 + 2𝑦 ≤ 6−2𝑥 + 4𝑦 ≤ 8

𝑥 + 𝑦 ≥ 1𝑥 ≥ 0𝑦 ≥ 0

Page 7: Lecture 7.1 to 7.2 bt

Finding Feasible RegionsFind the system

whose feasible region

is a triangle with

vertices (2,4),

(-4,0), and (2,-1)

2

46

832

x

yx

yx

Page 8: Lecture 7.1 to 7.2 bt

Linear Programming

Businesses use linear

programming to find out how to

maximize profit or minimize

costs. Most have constraints on

what they can use or buy.

Page 9: Lecture 7.1 to 7.2 bt

Linear Programming

The Objective Function is

what we need to maximize or

minimize. For us, this will be a

function of 2 variables, f(x, y)

Page 10: Lecture 7.1 to 7.2 bt

Linear Programming

The Constraints are the

inequalities that provide us with

the Feasible Region.

Page 11: Lecture 7.1 to 7.2 bt

Linear Programming (pg 400)

Page 12: Lecture 7.1 to 7.2 bt

The general idea… (pg 398)Find max/min values of the objective

function, subject to the constraints.

yxyxf 52),(

0,0

1

842

623

yx

yx

yx

yx

Objective Function Constraints

Page 13: Lecture 7.1 to 7.2 bt

The general idea… (pg 398)

Graph the Feasible Region

Page 14: Lecture 7.1 to 7.2 bt

The general idea… (pg 398)

The Feasible Region makes up the possible inputs to the Objective Function

yxyxf 52),(

Page 15: Lecture 7.1 to 7.2 bt

Corner Point Thm (pg 400)

If a feasible region is bounded, then the objective function has both a maximum and minimum value, with each occurring at one or more corner points.

Page 16: Lecture 7.1 to 7.2 bt

Find the minimum and maximum

value of the function f(x, y) = 3x - 2y.

We are given the constraints:

• y ≥ 2

• 1 ≤ x ≤5

• y ≤ x + 3

Page 17: Lecture 7.1 to 7.2 bt

6

4

2

2 3 4

3

1

1

5

5

7

8

y ≤ x + 3

y ≥ 2

1 ≤ x ≤5

Page 18: Lecture 7.1 to 7.2 bt

6

4

2

2 3 4

3

1

1

5

5

7

8

y ≤ x + 3

y ≥ 2

1 ≤ x ≤5Need to find corner points (vertices)

Page 19: Lecture 7.1 to 7.2 bt

• The vertices (corners) of the

feasible region are:

(1, 2) (1, 4) (5, 2) (5, 8)

• Plug these points into the

function f(x, y) = 3x - 2y

Note: plug in BOTH x, and y values.

Page 20: Lecture 7.1 to 7.2 bt

Evaluate the function at each vertex

to find min/max values

f(x, y) = 3x - 2y

• f(1, 2) = 3(1) - 2(2) = 3 - 4 = -1

• f(1, 4) = 3(1) - 2(4) = 3 - 8 = -5

• f(5, 2) = 3(5) - 2(2) = 15 - 4 = 11

• f(5, 8) = 3(5) - 2(8) = 15 - 16 = -1

Page 21: Lecture 7.1 to 7.2 bt

So, the optimized solution is:

• f(1, 4) = -5 minimum

• f(5, 2) = 11 maximum

Page 22: Lecture 7.1 to 7.2 bt

Find the minimum and maximum value

of the function f(x, y) = 4x + 3y

With the constraints:

52

24

1

2

xy

xy

xy

Page 23: Lecture 7.1 to 7.2 bt

6

4

2

53 4

5

1

1

2

3y ≥ -x + 2

y ≥ 2x -5

y ≤ 1/4x + 2

Need to find corner points (vertices)

Page 24: Lecture 7.1 to 7.2 bt

f(x, y) = 4x + 3y

• f(0, 2) = 4(0) + 3(2) = 6

• f(4, 3) = 4(4) + 3(3) = 25

• f( , - ) = 4( ) + 3(- ) = -1 = 7

3

1

3

1

3

7

3

28

3

25

3

Evaluate the function at each vertex

to find min/max values

Page 25: Lecture 7.1 to 7.2 bt

• f(0, 2) = 6 minimum

• f(4, 3) = 25 maximum

So, the optimized solution is:

Page 26: Lecture 7.1 to 7.2 bt

Classwork / Homework

• Page 395

•1 – 6

•7 – 45 e.o.odd

•47, 49, 53

• Page 403

•1, 3, 7, 9, 11