4. Linear Programming (Graphics)

Slides:



Advertisements
Similar presentations
6.5 Graphing Linear Inequalities
Advertisements

Graphing Linear Inequalities in Two Variables
6.5 Graphing Linear Inequalities
The Linear Function.
How to Graph a Linear Inequality. Linear Inequalities linear inequality  A linear inequality describes a region of the coordinate plane that has a boundary.
6.5 Graphing Linear Inequalities in Two Variables Wow, graphing really is fun!
Graph the boundary line the same as if the problem was a linear equation.  Pretend that there is an equal sign and use an appropriate method to graph.
Graphing Linear Inequalities
7.6 Solving Systems of Linear Inequalities. Remember How to Sketch the graph of 6x + 5y ≥ 30… 1.Write in slope- intercept form and graph: y ≥ - 6 / 5.
3.1 Solve Linear Systems by Graphing. Vocabulary System of two linear equations: consists of two equations that can be written in standard or slope intercept.
Systems of Inequalities. Graphing a Linear Inequality in Two Variables 1.Replace the inequality symbol with an equal sign and graph the corresponding.
Graphing Linear Inequalities in Two Variables Section 6.5 Algebra I.
LINEAR SYSTEMS – Graphing Method In this module, we will be graphing two linear equations on one coordinate plane and seeing where they intersect. You.
7.6 Solving Systems of Linear Inequalities. Bell Work: Check to see if the ordered pairs are a solution of 2x-3y>-2 A. (0,0) B. (0,1) C. (2,-1)
Graphing linear Inequalities in 2 Variables. Checking Solutions An ordered pair (x,y) is a solution if it makes the inequality true. Are the following.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 5.1 Inequalities in Two Variables The student will be able to graph linear.
Graphing Linear Inequations y > y is greater than  all points above the line are a solution y < y is less than  all points below the line are a solution.
Solving Absolute Value Equations & Inequalities Solving Absolute Value Equations & Inequalities.
Entry Task Solve for y 1) 2x + -3y < 12 2) x > ½ y - 7.
7. Linear Programming (Simplex Method)
Objective: To construct equations of straight lines from given graphs
Warm-up: Solve for x. 6x + 12 = x 2x + 3(x – 5) = 25
Lesson 7.5, page 755 Systems of Inequalities
Solving Linear Inequalities
Copyright 2012, 2008, 2004, 2000 Pearson Education, Inc.
Linear Inequalities and Systems of Linear Inequalities
Math in Our World Section 7.4 Linear Inequalities.
Graphing a Linear Inequality
Graphing Systems of Inequalities.
Graphing Systems of Inequalities.
7.6 Solving Systems of Linear Inequalities
Graphing Linear Inequalities
Objective #51: Graph linear inequalities in 2 variables
Chapter 3 Graphs and Functions
Graphing a Linear Inequality in Two Variables
Graphing Linear Inequalities
Equations of straight lines
Point-Slope Form Slope-Intercept Form
Linear Inequalities.
6-5 Linear Inequalities.
Section 7-5: Linear Inequalities
Section 2.8 and 3.3 Graphing Inequalities
Parallel and Perpendicular Lines
2.6 Graphing linear Inequalities in 2 Variables
Chapter 3 Section 4.
Relations and Functions
Chapter 5 Linear Inequalities and Linear Programming
Lesson Objective: I will be able to …
Graphing and Solving Systems of Linear Inequalities
Graphing Systems of Linear Inequalities
Mr F’s Maths Notes Algebra 9. Inequalities.
Warm Up Graph each inequality. 1. x > –5 2. y ≤ 0
Chapter 3 Graphs and Functions.
Objective Graph and solve linear inequalities in two variables.
Solving Systems of Linear Inequalities
Graphing Linear Equations
Linear Inequalities.
Graphing Systems of Inequalities.
When you replace the equals sign in a linear equation by one of the inequality symbols, you now have a linear inequality. Examples: 1 2 y > x + 1 2x –
Sullivan Algebra and Trigonometry: Section 12.8
Graphing Linear Inequalities in 2 Variables
Section 2.8 – Graphing Linear Inequalities
Warm Up.
Linear and nonlinear relationships
Graphing Linear Equations
1.4 Graphing linear Inequalities in Two Variables
Linear Inequalities in Two Variables
2-8: Two Variable Inequalities
Learning Target Students will be able to: Graph and solve linear inequalities in two variables.
When you replace the equals sign in a linear equation by one of the inequality symbols, you now have a linear inequality. Examples: 1 2 y > x + 1 2x –
Presentation transcript:

4. Linear Programming (Graphics) Objectives: Sketching a straight line Half-planes - sketching inequalities Simultaneous inequalities - determining a region Refs: B&Z 5.1.

Graphing Inequalities We know how to graph equations of the form y x c -c/m y=mx+c slope m An equation like is also the equation of a straight line.

Example 1: Written in this form, the y-intercept is c/b, the x-intercept is c/a and the gradient is -a/b. Example 1: 2 x -4 y 4x-2y=8 y-intercept: 8/-2=-4 x-intercept: 8/4=2 gradient:-4/-2=2

Notice that the straight line has divided the plane into two half-planes. In fact any straight line divides the plane into two half planes. Now let’s go back to our equation If we replace the equality by an inequality, can we represent this graphically? 2 x -4 y 4x-2y=8 Let’s do some exploration. Where do the points (0,0), (-2,1), (-1,-2) lie? They are all in the same half plane.

Notice that all of these values are ≤ 8. Now let’s evaluate at these points. (0,0) 4(0)-2(0)=0 (-2,1) 4(-2)-2(1)=-10 (-1,-2) 4(-1)-2(-2)=0 Notice that all of these values are ≤ 8. 2 x -4 y 4x-2y=8 Indeed all points in the left half-plane give values ≤ 8. Try some more for yourself.

Now identify the points (3,0), (4,1), (2,-2) on the graph. They are all in the right half-plane. 2 x -4 y 4x-2y=8 If we evaluate at these points (3,0) 4(3)-2(0)=12 (4,1) 4(4)-2(1)=14 (2,-2) 4(2)-2(-2)=12 we find that all of these values are ≥ 8.

It turns out if the function has value ≤ c (or ≥) for some This is no accident! It turns out if the function has value ≤ c (or ≥) for some point in the half-plane, then the function has value ≤ c (or ≥) for all points in the half-plane. So to sketch the inequality we need only to check one point (not on the line). The value of the function at this point will tell us which half-plane is the one we want. Note that if the inequality is strict (<, > rather than ≤, ≥) we indicate this by a dotted line. So far this is too easy! What happens if we have a system of simultaneous inequalities?

Example 2: Sketch the region determined by We must determine the region which satisfies all four inequalities. On the diagram we will shade the excluded region. 5x+2y=10 2 5 The first step is to indicate the lines y x 3 2x+2y=6 on the graph.

Now we can determine which half-planes to include. (a) x ≥ 0 y x 3 2x+2y=6 5x+2y=10 2 5 Now we can determine which half-planes to include. (a) x ≥ 0 - any point with negative x-co-ordinate is excluded. (b) y ≥ 0 - any point with negative y-co-ordinate is excluded. (c) 2x+2y ≤ 6 - try the point (3,3). 2(3)+2(3)=12 ≥ 6, so the half-plane containing (3,3) is excluded (d) 5x +2y ≤ 10 - try the point (1,1). 5(1)+2(1)=7 ≤ 10, so the half-plane containing (1,1) is included.

Any point within this region will satisfy all of the inequalities x 3 2x+2y=6 5x+2y=10 2 5 Any point within this region will satisfy all of the inequalities

You may now do Questions 1 and 2, Example Sheet 2 From the Orange Book.