

Graphs Numbers 
Graphs : InequalitiesBasic  Intermediate  Advanced  Help Enter the inequality you want to plot, set the dependent variable if desired and click on the Graph button.
Systems of Equations and InequalitiesIn previous chapters we solved equations with one unknown or variable. We will now study methods of solving systems of equations consisting of two equations and two variables. POINTS ON THE PLANEOBJECTIVESUpon completing this section you should be able to:
We have already used the number line on which we have represented numbers as points on a line. Note that this concept contains elements from two fields of mathematics, the line from geometry and the numbers from algebra. Rene Descartes (15961650) devised a method of relating points on a plane to algebraic numbers. This scheme is called the Cartesian coordinate system (for Descartes) and is sometimes referred to as the rectangular coordinate system. This system is composed of two number lines that are perpendicular at their zero points.
Study the diagram carefully as you note each of the following facts. The number lines are called axes. The horizontal line is the xaxis and the vertical is the yaxis. The zero point at which they are perpendicular is called the origin.
Positive is to the right and up; negative is to the left and down.
The plane is divided into four parts called quadrants. These are numbered in a counterclockwise direction starting at the upper right. Points on the plane are designated by ordered pairs of numbers written in parentheses with a comma between them, such as (5,7). This is called an ordered pair because the order in which the numbers are written is important. The ordered pair (5,7) is not the same as the ordered pair (7,5). Points are located on the plane in the following manner. First, start at the origin and count left or right the number of spaces designated by the first number of the ordered pair. Second, from the point on the xaxis given by the first number count up or down the number of spaces designated by the second number of the ordered pair. Ordered pairs are always written with x first and then y, (x,y). The numbers represented by x and y are called the coordinates of the point (x,y).
Example 1 On the following Cartesian coordinate system the points A (3,4), B (0,5), C (2,7), D (4,1), E (3,4), F (4,2), G (0,5), and H (6,0) are designated. Check each one to determine how they are located.
GRAPHING LINEAR EQUATIONSOBJECTIVESUpon completing this section you should be able to:
A graph is a pictorial representation of numbered facts. There are many types of graphs, such as bar graphs, circular graphs, line graphs, and so on. You can usually find examples of these graphs in the financial section of a newspaper. Graphs are used because a picture usually makes the number facts more easily understood. In this section we will discuss the method of graphing an equation in two variables. In other words, we will sketch a picture of an equation in two variables. All possible answers to this equation, located as points on the plane, will give us the graph (or picture) of the equation. Of course we could never find all numbers x and y such that x + y = 7, so we must be content with a sketch of the graph. A sketch can be described as the "curve of best fit." In other words, it is necessary to locate enough points to give a reasonably accurate picture of the equation.
Example 1 Sketch the graph of 2x + y = 3. Solution We wish to find several pairs of numbers that will make this equation true. We will accomplish this by choosing a number for x and then finding a corresponding value for y. A table of values is used to record the data. In the top line (x) we will place numbers that we have chosen for x. Then in the bottom line (y) we will place the corresponding value of y derived from the equation.
In this example we will allow x to take on the values 3, 2, 1,0, 1,2,3.
These facts give us the following table of values: We now locate the ordered pairs (3,9), (2,7), (1,5), (0,3), (1,1), (2,1), (3,3) on the coordinate plane and connect them with a line. We now have the graph of 2x + y = 3.
The graphs of all firstdegree equations in two variables will be straight lines. This fact will be used here even though it will be much later in mathematics before you can prove this statement. Such firstdegree equations are called linear equations.
Equations in two unknowns that are of higher degree give graphs that are curves of different kinds. You will study these in future algebra courses. Since the graph of a firstdegree equation in two variables is a straight line, it is only necessary to have two points. However, your work will be more consistently accurate if you find at least three points. Mistakes can be located and corrected when the points found do not lie on a line. We thus refer to the third point as a "checkpoint."
Example 2 Sketch the graph of 3x  2y  7. Solution First make a table of values and decide on three numbers to substitute for x. We will try 0, 1,2.
The answer is not as easy to locate on the graph as an integer would be. So it seems that x = 0 was not a very good choice. Sometimes it is possible to look ahead and make better choices for x.
The point (1,2) will be easier to locate. If x = 2, we will have another fraction. The point (3,1) will be easy to locate.
We will readjust the table of values and use the points that gave integers. This may not always be feasible, but trying for integral values will give a more accurate sketch. We now have the table for 3x  2y = 7.
Locating the points (1,2), (3,1), ( 1,5) gives the graph of 3x  2y = 7.
SLOPE OF A LINEOBJECTIVESUpon completing this section you should be able to:
We now wish to discuss an important concept called the slope of a line. Intuitively we can think of slope as the steepness of the line in relationship to the horizontal. Following are graphs of several lines. Study them closely and mentally answer the questions that follow. Which line is steeper? What seems to be the relationship between the coefficient of x and the steepness Which graph would be steeper: of the line when the equation is of the form y = mx?
Now study the following graphs. Which line is steeper? What effect does a negative value for m have on the graph?
For the graph of y = mx, the following observations should have been made.
In other words, in an equation of the form y  mx, m controls the steepness of the line. In mathematics we use the word slope in referring to steepness and form the following definition: In an equation of the form y = mx, m is the slope of the graph of the equation. Example 1 Sketch the graph of y = 6x and give the slope of the line. Solution We first make a table showing three sets of ordered pairs that satisfy the equation.
We then sketch the graph. The value of m is 6, therefore the slope is 6. We may merely write m  6. Example 2 Sketch the graph and state the slope of Solution Choosing values of x that are divisible by 3, we obtain the table
Then the graph is The slope of We now wish to compare the graphs of two equations to establish another concept. Example 3 Sketch the graphs of y 3x and y  3x + 2 on the same set of coordinate axes.
Solution In example 3 look at the tables of values and note that for a given value of x, the value of y in the equation y = 3x + 2 is two more than the corresponding value of y in the equation y = 3x. Look now at the graphs of the two equations and note that the graph of y = 3x + 2 seems to have the same slope as y = 3x. Also note that if the entire graph of y = 3x is moved upward two units, it will be identical with the graph of y = 3x + 2. The graph of y = 3x crosses the yaxis at the point (0,0), while the graph of y = 3x + 2 crosses the yaxis at the point (0,2).
Compare these tables and graphs as in example 3.
The slope from one point on a line to another is determined by the ratio of the change in y to the change in x. That is,
Note that the change in x is 3 and the change in y is 2. The change in x is 4 and the change in y is 1.
Example 7 In the graph of y = 3x  2 the slope is 3. y = mx + b is called the slopeintercept form of the equation of a straight line. If an equation is in this form, m is the slope of the line and (0,b) is the point at which the graph intercepts (crosses) the yaxis.
If the equation of a straight line is in the slopeintercept form, it is possible to sketch its graph without making a table of values. Use the yintercept and the slope to draw the graph, as shown in example 8.
First locate the point (0,2). This is one of the points on the line. The slope indicates that the changes in x is 4, so from the point (0,2) we move four units in the positive direction parallel to the xaxis. Since the change in y is 3, we then move three units in the positive direction parallel to the yaxis. The resulting point is also on the line. Since two points determine a straight line, we then draw the graph.
Example 9 Give the slope and yintercept and sketch the graph of y = 3x + 4. Solution m = 3, yintercept = (0,4). To express the slope as a ratio we may write 3 as or . If we write the slope as , then from the point (0,4) we move one unit in the positive direction parallel to the xaxis and then move three units in the negative direction parallel to the yaxis. Then we draw a line through this point and (0,4). Suppose an equation is not in the form y = mx + b. Can we still find the slope and yintercept? The answer to this question is yes. To do this, however, we must change the form of the given equation by applying the methods used in section 42.
Example 10 Find the slope and yintercept of 3x + 4y = 12. Solution First we recognize that the equation is not in the slopeintercept form needed to answer the questions asked. To obtain this form solve the given equation for y.
Example 11 Find the slope and yintercept of 2x  y = 7. Solution Placing the equation in slopeintercept form, we obtain
GRAPHING LINEAR INEQUALITIESOBJECTIVESUpon completing this section you should be able to graph linear inequalities. In chapter 4 we constructed line graphs of inequalities such as These were inequalities involving only one variable. We found that in all such cases the graph was some portion of the number line. Since an equation in two variables gives a graph on the plane, it seems reasonable to assume that an inequality in two variables would graph as some portion or region of the plane. This is in fact the case. The solution of the inequality x + y < 5 is the set of all ordered pairs of numbers {x,y) such that their sum is less than 5. (x + y < 5 is a linear inequality since x + y = 5 is a linear equation.) Example 1 Are each of the following pairs of numbers in the solution set of x + y < 5? (2,1), (3,4), (5,6), (3,2), (0,0), (1,4), (2,8). Solution
Following is a graph of the line x + y = 5. The points from example 1 are indicated on the graph with answers to the question "Is x + y < 5?"
Observe that all "yes" answers lie on the same side of the line x + y = 5, and all "no" answers lie on the other side of the line or on the line itself. The graph of the line x + y = 5 divides the plane into three parts: the line itself and the two sides of the lines (called halfplanes). x + y < 5 is a halfplane If one point of a halfplane is in the solution set of a linear inequality, then all points in that halfplane are in the solution set. This gives us a convenient method for graphing linear inequalities. To graph a linear inequality
Example 2 Sketch the graph of 2x 4 3y > 7. Solution Step 1: First sketch the graph of the line 2x + 3y = 7 using a table of values or the slopeintercept form. Step 2: Next choose a point that is not on the line 2x + 3y = 7. [If the line does not go through the origin, then the point (0,0) is always a good choice.] Now turn to the inequality 2x + 3y> > 7 to see if the chosen point is in the solution set. Step 3: The point (0,0) is not in the solution set, therefore the halfplane containing (0,0) is not the solution set. Hence, the other halfplane determined by the line 2x + 3y = 7 is the solution set.
Example 3 Graph the solution for the linear inequality 2x  y ≥ 4. Solution Step 1: First graph 2x  y = 4. Since the line graph for 2x  y = 4 does not go through the origin (0,0), check that point in the linear inequality. Step 2: Step 3: Since the point (0,0) is not in the solution set, the halfplane containing (0,0) is not in the set. Hence, the solution is the other halfplane. Notice, however, that the line 2x  y = 4 is included in the solution set. Therefore, draw a solid line to show that it is part of the graph.
Example 4 Graph x < y. Solution First graph x = y. Next check a point not on the line. Notice that the graph of the line contains the point (0,0), so we cannot use it as a checkpoint. To determine which halfplane is the solution set use any point that is obviously not on the line x = y. The point (  2,3) is such a point. Using this information, graph x < y.
GRAPHICAL SOLUTION OF A SYSTEM OF LINEAR EQUATIONSOBJECTIVESUpon completing this section you should be able to:
Example 1 The pair of equations is called a system of linear equations. We have observed that each of these equations has infinitely many solutions and each will form a straight line when we graph it on the Cartesian coordinate system. We now wish to find solutions to the system. In other words, we want all points (x,y) that will be on the graph of both equations. Solution We reason in this manner: If all solutions of 2x  y = 2 lie on one straight line and all solutions of x + 2y = 11 lie on another straight line, then a solution to both equations will be their points of intersection (if the two lines intersect).
Note that the point of intersection appears to be (3,4). We must now check the point (3,4) in both equations to see that it is a solution to the system.
Therefore, (3,4) is a solution to the system. Not all pairs of equations will give a unique solution, as in this example. There are, in fact, three possibilities and you should be aware of them. Since we are dealing with equations that graph as straight lines, we can examine these possibilities by observing graphs. 1. Independent equations The two lines intersect in a single point. In this case there is a unique solution.
2. Inconsistent equations The two lines are parallel. In this case there is no solution.
3. Dependent equations The two equations give the same line. In this case any solution of one equation is a solution of the other.
In later algebra courses, methods of recognizing inconsistent and dependent equations will be learned. However, at this level we will deal only with independent equations. You can then expect that all problems given in this chapter will have unique solutions.
To solve a system of two linear equations by graphing
Since (3,2) checks in both equations, it is the solution to the system. GRAPHICAL SOLUTION OF A SYSTEM OF LINEAR INEQUALITIESOBJECTIVESUpon completing this section you should be able to:
Later studies in mathematics will include the topic of linear programming. Even though the topic itself is beyond the scope of this text, one technique used in linear programming is well within your reachthe graphing of systems of linear inequalitiesand we will discuss it here. You found in the previous section that the solution to a system of linear equations is the intersection of the solutions to each of the equations. In the same manner the solution to a system of linear inequalities is the intersection of the halfplanes (and perhaps lines) that are solutions to each individual linear inequality. In other words, x + y > 5 has a solution set and 2x  y < 4 has a solution set. Therefore, the system has as its solution set the region of the plane that is in the solution set of both inequalities. To graph the solution to this system we graph each linear inequality on the same set of coordinate axes and indicate the intersection of the two solution sets.
Checking the point (0,0) in the inequality x + y > 5 indicates that the point (0,0) is not in its solution set. We indicate the solution set of x + y > 5 with a screen to the right of the dashed line.
Checking the point (0,0) in the inequality 2x  y < 4 indicates that the point (0,0) is in its solution set. We indicate this solution set with a screen to the left of the dashed line.
The intersection of the two solution sets is that region of the plane in which the two screens intersect. This region is shown in the graph.
The results indicate that all points in the shaded section of the graph would be in the solution sets of x + y > 5 and 2x  y < 4 at the same time. SOLVING A SYSTEM BY SUBSTITUTIONOBJECTIVESUpon completing this section you should be able to solve a system of two linear equations by the substitution method. In section 65 we solved a system of two equations with two unknowns by graphing. The graphical method is very useful, but it would not be practical if the solutions were fractions. The actual point of intersection could be very difficult to determine. Example 1 Solve by the substitution method: Solution
Step 2 Substitute the value of x into the other equation. In this case the equation is 2x + 3y = 1. Substituting (4 + 2y) for x, we obtain 2(4 + 2y) + 3y = 1, an equation with only one unknown.
Step 3 Solve for the unknown.
Step 4 Substitute y =  1 into either equation to find the corresponding value for x. Since we have already solved the second equation for x in terms of y, we may use it.
Thus, we have the solution (2,1).
Step 5 Check the solution in both equations. Remember that the solution for a system must be true for each equation in the system. Since the solution (2,1) does check.
SOLVING A SYSTEM OF LINEAR EQUATIONS BY ADDITIONOBJECTIVESUpon completing this section you should be able to solve a system of two linear equations by the addition method. The addition method for solving a system of linear equations is based on two facts that we have used previously. First we know that the solutions to an equation do not change if every term of that equation is multiplied by a nonzero number. Second we know that if we add the same or equal quantities to both sides of an equation, the results are still equal. Example 1 Solve by addition:
Solution
Step 2 Add the equations. Step 3 Solve the resulting equation.
Step 4 Find the value of the other unknown by substituting this value into one of the original equations. Using the first equation,
Step 5 If we check the ordered pair (4,3) in both equations, we see that it is a solution of the system. Example 2 Solve by addition:
Solution
Step 2 Adding the equations, we obtain Step 3 Solving for y yields Step 4 Using the first equation in the original system to find the value of the other unknown gives Step 5 Check to see that the ordered pair (  1,3) is a solution of the system.
STANDARD FORMOBJECTIVESUpon completing this section you should be able to:
Equations in the preceding sections have all had no fractions, both unknowns on the left of the equation, and unknowns in the same order. Example 1 Change 3x = 5 + 4y to standard form. Solution 3x = 5 + 4y is not in standard form because one unknown is on the right. If we add 4y to both sides, we have 3x  4y = 5, which is in standard form.
Now add  24x to both sides, giving  24x + 9y = 10, which is in standard form. Usually, equations are written so the first term is positive. Thus we multiply each term of this equation by ( 1).
WORD PROBLEMS WITH TWO UNKNOWNSOBJECTIVESUpon completing this section you should be able to:
Many word problems can be outlined and worked more easily by using two unknowns. Example 1 The sum of two numbers is 5. Three times the first number added to five times the second number is 9. Find the numbers. Solution Let x = first number
Example 2 Two workers receive a total of $136 for 8 hours work. If one worker is paid $1.00 per hour more than the other, find the hourly rate for each. Solution Let x = hourly rate of one worker
The first statement gives us the equation 8x + 8y = 136. The second statement gives the equation x = y + 1. We now have the system (in standard form) Solving gives x = 9 and y = 8. One worker’s rate is $9.00 per hour and the other’s is $8.00 per hour.
SUMMARYKey Words
Procedures
