Introduction to the Coordinate System and T-Chart
In algebra and later classes, you will work with a Coordinate System where you’ll graph relations and functions. This is also called a Cartesian Plane.
To graph, put the $ x$’s (the independent variable) on the bottom and the $ y$’s (the dependent variables) up on the side like this. Don’t worry about why you are graphing this way; someone just decided to do it this way. First, go back and forth with the $ x$’s, and then up and down with the $ y$’s; the point is written like $ \left( {x,y} \right)$. (Remember that you learned to crawl first – back and forth – and then you learned to walk – which is more like going up and down.)
The $ \left( {x,y} \right)$ point is also called an ordered pair. For the point $ \left( {4,3} \right)$ below, we went over 4 with the $ x$’s and up 3 with the $ y$’s. The $ x$-part of the ordered pair is also called the “run” (because you run back and forth), and the $ y$-part is the “rise” (because you rise/fall up and down).
As an example, if we were to graph the situation where one makes $10 an hour at the mall, it turns out that the graph will be a straight line (linear), and every point on the line will give the $ x$–to-$ y$ (hours-to-earnings) solution. We can create a “T-chart” (do you see the “T”?) and then graph the line. Here is the equation, T-chart, and graph:
In other words, when we graph the line, we can go over (back and forth) to see what the hours are and then look up to see how much we would make with that many hours. You can think of the $ x$ as the “question” on the bottom where you go back and forth, and then look up and down to get the “answer” where the $ y$ is – the answers are all on the line! The ordered pair $ (x,y)$ represents $ \left( {\text{number of hours you work, amount of money you make}} \right)$. We can just ignore the negative numbers (to the left of 0 and underneath 0); these are meaningless in this situation.
This concept is used every day for many different applications in the world! Of course, the relationship between $ x$ and $ y$ is not always linear (a straight line), but for now, we’ll work with linear relationships.
Any relation that has only one “answer” ($ y$) for each “question” ($ x$) is a function, which we’ll learn more about in the Algebraic Functions, including Domain and Range section.
Slope-Intercept Formula – the most “famous”
In the example above, the “$ y$-intercept”, or where the line hits the $ y$-axis is $ 0$ (this is actually at $ x=0$), and the coordinate point is $ \left( {0,0} \right)$. This is because when we work $ 0$ hours, we get paid $ 0$ dollars.
The most common equation for graphing a line is $ y=mx+b$, where $ m$ is the slope of the line, and $ b$ is the $ y$-intercept. This is called the slope-intercept formula for line, since it contains the slope and the $ y$-intercept. We really don’t know why they use “$ m$” for slope and “$ b$” for the $ y$-intercept; it’s one of those great mysteries in life!
The slope of the line is the rate of change; in our example, it is the rate per hour that you make working at the store. Think of the slope as how much you go up (or down) for going over (or back) one value of $ x$. Also, if you see words like “$ m$ for every (one) thing” or “$ m$ per (one) thing”, $ m$ would be the slope). In our case, when we go over one on the bottom (for example, from $ 2$ to $ 3$), we go up $ 10$ on the graph (from $ 20$ to $ 30$). It’s as easy as that! The slope can also be thought as the “rise” over the “run”. Again, don’t worry why; this is how someone just defined it. The $ y$-intercept is a “starting point” since it’s when $ x=0$.
Here’s another “real world” example. At the state far, it costs $4$ to get in (entrance fee), and then $ \$2$ for every ride. The amount you spend ($ y$) depends on how many rides you take ($ x$); in other words, $ y=2x+4$. This can be interpreted as “The amount you spend at the fair is equal to 2 times the number of rides you take, plus the $4 to get in.” Here is a T-chart and graph:
Where does the line cross the $ y$-axis, in other words, where on the line is $ x=0$? This is before we’ve been on any rides. This is at $ y=4$; this is the $ y$-intercept. This is our amount to get into the fair (say, the “starting point”). The actual point is $ (0,4)$ (go back and forth $ 0$, go up $ 4$).
Look at the slope (or how much the line is slanted up, in this case). Do you see that for every time the graph goes up $ 2$ (“rise”), it goes over $ 1$ (“run”)? Our slope represents how fast we are spending money on the rides, but has nothing to do with the entrance fee. Note that you have to be really careful to compare slopes of different graphs, since the scales (how far apart the $ x$’s are, and the $ y$’s are) may be a little different, like in our graph.
Mathematically, to get the slope you can just take any two points and subtract the $ y$-values from each other and put that in the numerator, and then subtract the $ x$-values from each other (in same order that you subtracted the $ y$-values) and put that in the denominator. (Note that the little 1’s and 2’s are called subscripts, since they are a little bit below the actual letter. They just mean like the first $ x$, first $ y$ and then the second $ x$, second $ y$, and so on.) Here’s the formula: $ \displaystyle \text{slope}=\frac{{\text{rise}}}{{\text{run}}}=\frac{{({{y}_{2}}-{{y}_{1}})}}{{({{x}_{2}}-{{x}_{1}})}}$, where $ \left( {{{x}_{1}},{{y}_{1}}} \right)$ and $ \left( {{{x}_{2}},{{y}_{2}}} \right)$ are points on the line. Here is an example using points $ (2,8)$ and $ (6,16)$: $ \displaystyle \text{slope}=\frac{{\text{rise}}}{{\text{run}}}=\frac{{({{y}_{2}}-{{y}_{1}})}}{{({{x}_{2}}-{{x}_{1}})}}\,=\,\frac{{16-8}}{{6-2}}=\frac{8}{4}=\frac{2}{1}=2$. It doesn’t matter which point is first, as long as both the top and bottom are started with the same point.
Note that positive slopes go the right and up (like you’re throwing a ball if you’re right-handed), and negative slopes go to the right and down.
Here’s an example on how to graph from a slope-intercept formula, using another equation:
Note that if we were given a linear equation in another form, such as $ \displaystyle x=7y+3$, we could do some algebra to get it to slope-intercept form: $ \require{cancel} \displaystyle x=7y+3;\,x-3=7y;\,\frac{{x-3}}{7}=\frac{{\cancel{7}y}}{{\cancel{7}}};\,y=\frac{x}{7}-\frac{3}{7}$. This line has a slope of $ \displaystyle \frac{1}{7}$ and a $ y$-intercept of $ \displaystyle -\frac{3}{7}$.
Point-Slope Formula
There is another formula that’s commonly used to graph a line, specifically when you have a slope and a random point that’s not the $ y$-intercept. This is called the point-slope formula, since it contains the slope and that random point: $ \displaystyle y-{{y}_{1}}=\,m\left( {x-{{x}_{1}}} \right)$, where $ \left( {{{x}_{1}},{{y}_{1}}} \right)$ is any point on the line. And we can always take this formula and put it back into the slope-intercept line or standard equation by doing a little bit of algebra!
Let’s say we know $ (2,1)$ is on a line, and the slope is $ -3$. Then we have an equation for the line: $ y-1=-3\left( {x-2} \right)$. (To put this form into the slope-intercept form, distribute the $ -3$ and isolate the $ y$ on the left: $ y-1=-3\left( {x-2} \right);\,\,y-1=-3x+6;\,\,y=-3x+7\,$.)
Here’s an example on how to graph from a point-slope formula:
Standard Form/Intercepts Method
The Standard Form of a linear equation is supposedly the “most elegant” form of a line and is used most often for graphing using the Intercepts Method, as shown below. It is in the form $ Ax+By=C$, where $ A$, $ B$, and $ C$ are integers and $ A$ is positive. (You may see the similar general form of a linear equation, which is $ Ax+By-C=0$.) We can “turn” the slope-intercept form or any other form of a linear equation into the standard form with a little bit of algebra. For example, $ \displaystyle y=-\frac{2}{3}x-2;\,\,\,3y=-2x-6;\,\,2x+3y=-6\,$.
To graph the standard form using the intercepts method (which I also call the “cover up” method), you obtain the $ x$- and $ y$-intercepts by “covering up” the other variable and its coefficient. This is because the $ \boldsymbol{y}$–intercept occurs when $ \boldsymbol{x=0}$, and the $ \boldsymbol{x}$–intercept occurs when $ \boldsymbol{y=0}$ (look at a graph, and you might be able to see this!).
Here’s an example on how to graph from the Standard formula:
You can use this method for any equation in the form $ \boldsymbol {Ax+By=C}$, but it’s much easier when $ A$ and $ B$ go into $ C$ (otherwise you are dealing with fractions). Do you see how the $ x$–intercept is $ \displaystyle \left( {\frac{C}{A},\,0} \right)$, and the $ y$–intercept is $ \displaystyle \left( {0,\,\frac{C}{B}} \right)$? Pretty cool, isn’t it?
Horizontal and Vertical Lines
Horizontal lines are when “$ y=$ a number”; for example, “$ y=5$”. There is no $ x$ in the equation, so this is a horizontal line where $ y$ is always $ 5$, no matter what $ x$ is. The slope is zero (0), since $ 0x$ means there is no $ x$. You can remember this since a “$ y$” looks like an upside down “$ h$”, and “$ h$” is the beginning of the word “horizontal”. The line “$ y=0$” sits on the $ x$-axis.
Vertical lines are when “$ x=$ a number”; for example, “$ x=2$”. There is no $ y$ in the equation, so this is a vertical line where $ x$ always equals $ 2$, no matter what $ y$ is. The slope is undefined, like the line is falling from the sky. You can remember this since you can draw a “$ v$” in an “$ x$”, and “$ v$” is the beginning of the word “vertical”. The line “$ x=0$” sits on the $ y$-axis.
Parallel and Perpendicular Lines
Parallel Lines
Parallel lines are lines that look like railroad tracks or the two lines in an equal sign; they never cross each other. Parallel lines have the same slope. Do you see how this is true If you look at any two different points on the lines, you would go back and forth, and up and down the same amount. You may also see parallel as $ \parallel $.
Here’s an example: you and your friend Madison make the same amount of money (say $ \$10$ an hour) at the mall, but your friend got a bonus of a $ \$25$ gift certificate for the store when she started working. If you include the $ \$25$ that she got when she started working, if the two of you work the same number of hours, you will never catch up with her. Here are the two equations on a graph:
Note that special cases of parallel lines are two horizontal lines (such as $ y=3$ and $ y=4$) and two vertical lines (such as $ x=-1$ and $ x=4$).
Perpendicular Lines
Perpendicular lines are lines that cross each other exactly like the corner of a piece of paper; they meet at what we call a “right” angle, or (if you’ve had Geometry), a 90 degree angle. You may also see perpendicular as $ \bot $.
There’s something very peculiar about the slopes of perpendicular lines; their slopes are what we call negative reciprocals or opposite reciprocals of each other. This sounds fancy, but all it means is that we take the first slope, change the sign (make it positive if it’s negative, or make it negative if it’s positive) and then flip it (for example, $ 2$ would flip to be $ \displaystyle \frac{1}{2}$, $ \displaystyle \frac{2}{3}$ would flip to be $ \displaystyle \frac{3}{2}$) – we will have the slope of the line perpendicular to it. It makes sense that we take the negative reciprocal, if you think about it. Since the lines crisscross each other, it makes sense that if one slope is positive, the other is negative (or if one has zero slope, the other would have undefined slope). If you start at a point and go up $ 2$ and over $ 1$, for example, it would make sense that if you go over $ 2$ and down$ 1$, you’ll end up with a perfect corner: a right angle. Try a few on a piece of graph paper.
Here are some combinations of slopes that are perpendicular: $ \displaystyle \frac{2}{3}$ and $ \displaystyle -\frac{3}{2}$, $ 4$ and $ \displaystyle -\frac{1}{4}$, $ 1$ and $ -1$, $ \displaystyle -\frac{5}{8}$ and $ \displaystyle \frac{8}{5}$, $ 0$ (for example, horizontal line $ y=3$) and UNDEFINED (for example, vertical line $ x=2$, since we can’t divide by $ 0$!).
Here are the types of parallel and perpendicular line problems you might see:
Obtaining an Equation for a Line
Sometimes you’ll want to get the equation for line, given that you have two points on that line. Remember that two points make any line; try this by drawing two points on a piece of paper and trying to draw more than one line between them; you can’t! Here’s an example:
Suppose, with an example from another fair in another state, you know that Jane rode $ 4$ rides and spent $ \$24$ and Judy rode $ 2$ rides and only spent $ \$16$. From these two points, you want a general equation of the line, to see how much it would cost, say, if you were to ride $ 7$ rides.
We’ve learned that we can use the slope-intercept equation $ \boldsymbol{y=mx+b}$, or the slope-point equation $ \boldsymbol{{y-{{y}_{1}}=m\left( {x-{{x}_{1}}} \right)}}$; we can use either equation. For both equations, we first need to find the slope, which is the change in $ y$’s over change in $ x$’s. Since the $ x$ is the number of rides, and the $ y$ is the price, Jane’s point on the line would be $ (4,24)$, and Judy’s would be $ (2,16)$. Remember that we have to start with the same point in the subtraction on the top and the bottom: $ \displaystyle \text{slope}=\frac{{\text{rise}}}{{\text{run}}}\,=\,\frac{{({{y}_{2}}-{{y}_{1}})}}{{({{x}_{2}}-{{x}_{1}})}}\,=\,\frac{{24-16}}{{4-2}}\,=\,\frac{8}{2}\,=4$. Thus, each ride costs $ \$4$, since the slope is a rate.
At this point, it’d be easier to use the point-slope equation, but you could alternatively use the slope-intercept equation. You can use either point; it will still get to the same equation! You can also see how we can get the slope-intercept form of the equation with a little algebra. (After getting the equation, we can see that to ride $ 7$ rides, the cost would be $ y=4\left( 7 \right)+8=\$36$.)
To graph this equation, we can either make a T-chart like the one below and plot points (remember, you actually only need 2 points), or plot the $ y$-intercept $ (0,8)$ and then use the slope to go up $ 4$, over $ 1$, and then draw the line:
Again, do you see how when we make coordinate graphs, we look for the “question” on the bottom (the “$ x$”) and then go over and find the “answer” on the line (the “$ y$” part of the line)? This is a very important concept.
Distance and Midpoint Formulas
There are a couple of formulas that you’ll learn (either in Geometry or Algebra or both) that have to do with the Coordinate System and points; these are the Distance Formula and the Midpoint Formula.
Distance Formula
The Distance Formula is exactly what is says: it’s the distance between two given points. It gives you a single number that is the distance measured between two points, say $ \left( {{{x}_{1}},{{y}_{1}}} \right)$ and $ \left( {{{x}_{2}},{{y}_{2}}} \right)$: $ \text{Distance}=\sqrt{{{{{\left( {{{x}_{2}}-{{x}_{1}}} \right)}}^{2}}+{{{\left( {{{y}_{2}}-{{y}_{1}}} \right)}}^{2}}}}$. It doesn’t matter which point is $ \left( {{{x}_{1}},{{y}_{1}}} \right)$ and which point is $ \left( {{{x}_{2}},{{y}_{2}}} \right)$, as long as you always start with the same point when you do the subtracting. Here are some examples:
Midpoint Formula
The Midpoint Formula gives you the point that is exactly half-way between two given points, say $ \left( {{{x}_{1}},{{y}_{1}}} \right)$ and $ \left( {{{x}_{2}},{{y}_{2}}} \right)$: $ \displaystyle \text{Midpoint}=\left( {\frac{{{{x}_{1}}+{{x}_{2}}}}{2},\frac{{{{y}_{1}}+{{y}_{2}}}}{2}} \right)$. Note that the result is an ordered pair and not just a number (thus, midpoint). I like to think of the midpoint formula as just the averages of the two points. Here are some examples:
Linear Inequalities in Two Variables
If we were to graph two or more non-parallel linear equations, the point that they intersect is the solution to their system of equations; we will see how to do this in here in the Systems of Equations section. We can also graph inequalities with two variables or more to solve them; they will typically have an infinite number of solutions. These types of graphs are actually kind of pretty and fun to do – almost like artwork! Just remember that the areas shaded are where the equation “works”; in other words, where the solutions are.
When graphing the equations in the slope-intercept method (“$ \displaystyle y=mx+b$”) formula (or another method, like the intercept method), we look which way the inequality sign is, with respect to the positive coefficient of $ \boldsymbol {y}$. When we have “$ y<$”, we always shade in under the line that we draw (or to the left, if we have a vertical line). Think of “less than” as “raining down” from the graph. Note that we need a positive coefficient of $ y$ for this to work. When we have “$ y>$”, we always shade above the line that we draw (or to the right, if we have a vertical line). Think of “greater than” as “raining up” from the graph. (I know – it doesn’t really “rain up”, but I still like to explain the graphs that way.) Note that we need a positive coefficient of $ y$ for this to work. You can always plug in an $ (x,y)$ ordered pair to see if it shows up in the shaded areas (which means it’s a solution), or the unshaded areas (which means it’s not a solution.) For an example of this, see the first inequality below.
With “$ <$” and “$ >$” inequalities, draw a dashed (or dotted) line to indicate that we’re not including that line (exclusive), whereas with “$ \le$” and “$ \ge$”, draw a regular line, to indicate that we are including it in the solution (inclusive). To remember this, I think about the fact that “$ <$” and “$ >$” have less pencil marks than “$ \le$” and “$ \ge$”, so there is less pencil used when you draw the lines on the graph. You can also remember this by thinking the line under the “$ \le$” and “$ \ge$” means you draw a solid line on the graph.
The last example is a “Compound Inequality” since it involves more than one inequality. The solution set is the ordered pairs that satisfy both inequalities; it is indicated by the darker shading
We’ll use these types of graphs when we work in the Introduction to Linear Programming section later.
Learn these rules, and practice, practice, practice!
Click on Submit (the arrow to the right of the problem) to solve this problem. You can also type in more problems, or click on the 3 dots in the upper right hand corner to drill down for example problems.
If you click on “Tap to view steps”, you will go to the Mathway site, where you can register for the full version (steps included) of the software. You can even get math worksheets.
You can also go to the Mathway site here, where you can register, or just use the software for free without the detailed solutions. There is even a Mathway App for your mobile device. Enjoy!
On to Direct, Inverse, Joint and Combined Variation – you are ready!