Chapter 5
IN THIS CHAPTER
Establishing the coordinate system
Using intercepts and symmetry to your advantage
Plotting lines on a graph
Reviewing the ten most common graphs in algebra
Embracing technology with graphing calculators
An algebraic graph is a drawing that illustrates an algebraic relationship or equation in a two-dimensional plane (like a piece of graph paper). A graph allows you to see the characteristics of an algebraic statement immediately.
The graphs in algebra are unique because they reveal relationships that you can use to model situations. The graph of a mathematical curve has a ton of information crammed into an elegant package. (Okay, not everyone thinks that the graph of a parabola is elegant, but beauty is in the eye of the beholder.) For example, parabolas can model daily temperature, and a flat, S-shaped curve can model the number of people infected with the flu.
In this chapter, you find out how lines, parabolas, other polynomials, and radical curves all fit into the picture. I start off with a quick refresher on graphing basics. The rest of the chapter helps you become a more efficient grapher so you don’t have to plot a million points every time you need to create a graph. Along the way, I discuss using intercepts and symmetry and working with linear equations. I also provide you with a quick rundown of ten basic forms and equations you run into again and again in Algebra II. After you recognize a few landmarks, you can quickly sketch a reasonable graph of an equation. And to top it all off, you get some pointers on using a graphing calculator.
You do most graphing in algebra in the Cartesian coordinate system — a gridlike system where you plot points depending on the magnitude and signs of numbers. You may be familiar with the basics of graphing coordinates, (x, y) points, from Algebra I or junior-high math. Within the Cartesian coordinate system (which is named for the philosopher and mathematician Rene Descartes), you can plug-and-plot points to draw a curve, or you can take advantage of knowing a little something about what the graphs should look like. In either case, the coordinates and their respective plotted points fit together to give you a picture.
A coordinate plane (shown in Figure 5-1) features two intersecting axes — two perpendicular lines that cross at a point called the origin. The axes divide up the coordinate plane into four quadrants, usually numbered with Roman numerals starting in the upper right-hand corner and moving counterclockwise.
The horizontal line is called the x-axis, and the vertical line is called the y-axis. The scales on the axes are shown with little tick marks. Usually, you have the same scale on both axes — each tick mark may represent one unit or five units — but sometimes the plane needs to have two different scales. In any case, the scale on any one axis is the same all along that axis.
You identify points on the coordinate plane with numbers called coordinates, which come in ordered pairs — where the order matters. In the ordered pair (x, y), the first number is the x-coordinate; it tells you how far and in which direction the point is from the origin along the x-axis. The second number is the y-coordinate; it tells you how far from the origin and in which direction the point is along the y-axis. In Figure 5-1, you can see several points drawn in with their corresponding coordinates.
Graphing in algebra isn’t quite as simple as a quick game of connect-the-dots, but the main concept is the same: You connect the points in the correct order, and you see the desired picture.
In the section “Looking at 10 Basic Forms,” later in this chapter, you discover the advantage of having at least a hint of what a graph is supposed to look like. But even when you have a pretty good idea of what you’re going to get, you still need the down-and-dirty ability to plot points.
For example, the list of points doesn’t mean too much, and the list doesn’t look all that informative when graphed. But if you connect the points in order, you get a picture. You can see the points and the corresponding picture in Figure 5-2.
For instance, if you want to sketch the graph of , you can find some points (x, y) that make the equation true. Some points that work (picked at random, making sure they work in the equation) include: , and . You can find many, many more points that work, but these points should give you a pretty good idea of what’s going on. In Figure 5-3a, you can see the points graphed; I connect them with a smooth curve in Figure 5-3b. The order of connecting the points goes by the order of the x-coordinates.
Graphing curves can take as long as you like or be as quick as you like. If you take advantage of the characteristics of the curves you’re graphing, you can cut down on the time it takes to graph and improve your accuracy. Two features that you can quickly recognize and solve for are the intercepts and symmetry of the graphs.
The intercepts of a graph appear at the points where the lines of the graph cross the axes. The graph of a curve may never cross an axis, but when it does, knowing the points that represent the intercepts is very helpful.
For example, the graph of has two x-intercepts and one y-intercept:
Figure 5-4a shows the intercepts of the previous example problem placed on the axes. The graph doesn’t tell you a whole lot unless you’re aware that the equation is a parabola. If you know that you have a parabola (which you will if you read Chapter 7), you know that a U-shaped curve goes through the intercepts. For now, you can just plug-and-plot to find a few more points to help you with the graph (see the section “Plotting from dot to dot”). Using the equation to find other points that work with the graph, you get , and . Figure 5-4b shows the completed graph.
When an item or individual is symmetric, you can see a sameness or pattern to it. A graph that’s symmetric with respect to one of the axes appears to be a mirror image of itself on either side of the axis. A graph symmetric about the origin appears to be the same after a 180-degree turn. Figure 5-5 shows three curves and three symmetries: symmetry with respect to the y-axis (a), symmetry with respect to the x-axis (b), and symmetry with respect to the origin (c).
Recognizing that the graph of a curve has symmetry helps you sketch the graph and determine its characteristics. The following sections outline ways to determine, from a graph’s equation, if symmetry exists.
For example, the graph of the equation is symmetric with respect to the y-axis. If you replace each x with , the equation remains unchanged. Replacing each x with , . The y-intercept is (0, 1). Some other points include and . Notice that the y is the same for both positive and negative x’s. With symmetry about the y-axis, for every point (x, y) on the graph, you also find . It’s easier to find points when an equation has symmetry because of the pairs. Figure 5-6 shows the graph of .
For example, the graph of is symmetric with respect to the x-axis. When you replace each y with , the x value remains unchanged. The x-intercept is (10, 0). Some other points on the graph include ; and . Notice the pairs of points that have positive and negative values for y but the same value for x. This is where the symmetry comes in: The points have both positive and negative values — on both sides of the x-axis — for each x coordinate. Symmetry about the x-axis means that for every point (x, y) on the curve, you also find the point . This symmetry makes it easy to find points and plot the graph. The graph of is shown in Figure 5-7.
For example, the graph of is symmetric with respect to the origin. When you replace every x and y with and , you get , which is the same as multiplying everything through by . The origin is both an x and a y-intercept. The other x-intercepts are (1, 0), (–1, 0), (3, 0), and . Other points on the graph of the curve include , and . These points illustrate the fact that (x, y) and are both on the graph. Figure 5-8 shows the graph of (I changed the scale on the y-axis to make each tick-mark equal 10 units).
Lines are some of the simplest graphs to sketch. It takes only two points to determine the one and only line that exists in that place on the coordinate plane, so one simple method for graphing lines is to find two points — any two points — on the line. Another useful method is to use a point and the slope of the line. The method you choose is often just a matter of personal preference.
The slope of a line also plays a big role in comparing it with other lines that run parallel or perpendicular to it. The slopes of parallel and perpendicular lines are closely related to one another.
The slope of a line, m, has a complicated math definition, but it’s basically a number — positive or negative, large or small — that highlights some of the characteristics of the line, such as its steepness and direction. The numerical value of the slope tells you if the line slowly rises or drops from left to right or dramatically soars or falls from left to right. In order to find the slope and discover the properties of the line, you can use the equation of the line to solve for the information you need, or you can look at the graph of the line to get the general picture. If you opt to concentrate on the equation of the line, you can either look at a specific format of the line’s equation or you can solve for points on the line, which allows you to solve for the slope.
A vertical line doesn’t have a slope. This is tied to the fact that numbers go infinitely high, and math doesn’t have a highest number — you just say infinity. Only an infinitely high number can represent a vertical line’s slope, but usually, if you’re talking about a vertical line, you just say that the slope doesn’t exist.
You can determine the slope of a line, m, if you know two points on the line. The formula for finding the slope with this method involves finding the difference between the y-coordinates of the points and dividing that difference by the difference of the x-coordinates of the points.
For example, to find the slope of the line that crosses the points and , you use the formula to get . This line is fairly steep — the absolute value of is 2 — and it falls as it moves from left to right, which makes it negative.
Algebra II offers two different forms for the equation of a line. The first is the standard form, written , with the two variable terms on one side and the constant on the other side. The other form is the slope-intercept form, written ; the y value is set equal to the product of the slope, m, and x, and the product is added to the y-coordinate of the y-intercept, b.
The standard form for the equation of a line is written . One example of such a line is . You can find an infinite number of points that satisfy this equation; to name a few, you can use , and . It takes only two points to graph a line, so you can choose any two points and plot them on the coordinate plane to create your line.
However, the standard form has more information than may be immediately apparent. You can determine, just by looking at the numbers in the equation, the intercepts and slope of the line. The intercepts, in particular, are great for graphing the line, and you can find them easily because they fall right on the axes.
To graph the line , you find the two intercepts, and , plot them, and create the line. Figure 5-9 shows the two intercepts and the graph of the line. Note that the line falls as it moves from left to right, confirming the negative value of the slope from the formula .
When the equation of a line is written in the slope-intercept form, , you have good information right at your fingertips. The coefficient (a number multiplied with a variable or unknown quantity) of the x term, m, is the slope of the line. And the constant, b, is the y value of the y-intercept (the coefficient of the y term must be 1). With these two bits of information, you can quickly sketch the line.
If you want to graph the line , for example, you first plot the y-intercept, (0, 5), and then count off the slope from that point. The slope of the line is 2; think of the 2 as the slope fraction, with the y-coordinate on top and the x-coordinate on bottom. The slope then is .
You connect the point you count off with the y-intercept to create your line. Figure 5-10 shows the intercept, an example of counting off, and the new point that appears one unit to the right and two units up from the intercept — the point (1, 7).
You can graph lines by using the standard form or the slope-intercept form of the equations. If you prefer one form to the other — or if you need a particular form for an application you’re working on — you can change the equations to your preferred form by performing simple algebra:
In the slope-intercept form, you can quickly determine the slope and y-intercept, .
Lines on the same coordinate plane are parallel if they never touch — no matter how far out you draw them. Lines are perpendicular when they intersect at a 90-degree angle. Both of these instances are fairly easy to spot when you see the lines graphed, but how can you be sure that the lines are truly parallel or that the angle is really 90 degrees and not 89.9 degrees? The answer lies in the slopes.
Consider two lines, and .
For example, the lines and are parallel. Both lines have slopes of 3, but their y-intercepts are different — one crosses the y-axis at (0, 7) and the other at . Figure 5-11a shows these two lines.
The lines and are perpendicular. The slopes are negative reciprocals of one another. You see these two lines graphed in Figure 5-11b.
You study many types of equations and graphs in Algebra II. You find very specific details on graphs of quadratics, other polynomials, radicals, rationals, exponentials, and logarithms in the various chapters of this book devoted to the different types. What I present in this section is a general overview of some of the types of graphs, designed to help you distinguish one type from another as you get ready to ferret out all the gory details. Knowing the basic graphs is the starting point for graphing variations on the basic graphs or more complicated curves.
Ten basic graphs seem to occur most often in Algebra II. I cover the first, a line, earlier in this chapter (see the section “Graphing Lines”), but I also include it in the following sections with the other nine basic graphs.
Figure 5-12a shows the graph of a line. Lines can rise or drop as you move from left to right, or they can be horizontal or vertical. The line in Figure 5-12a has a positive slope and is fairly steep. For more details on lines and other figures, see the section “Graphing Lines.”
The slope-intercept equation of a line is .
Figure 5-12b shows a general quadratic (second-degree polynomial). This curve is called a parabola. Parabolas can open upward like this one, downward, to the left, or to the right. Figures 5-3, 5-4, and 5-5b earlier in the chapter show you some other quadratic curves. (Chapters 3 and 7 go into more quadratic detail.)
Two general equations for quadratics are and .
Figure 5-13a shows the graph of a cubic (third-degree polynomial). A cubic curve (a polynomial with degree 3) can be an S-shaped curve as shown, or it can flatten out in the middle and not feature those turns. A cubic can appear to come from below and end up high and to the right, or it can drop from the left, take some turns, and continue on down (for more on polynomials, check out Chapter 8).
The general equation for a cubic polynomial is .
Figure 5-13b shows the graph of a quartic (fourth-degree polynomial). The graph has a distinctive W-shape, but that shape can flatten out, depending on how many terms appear in its equation. Similar to the quadratic (parabola), the quartic can open downward, in which case it looks like an M rather than a W.
The quartic polynomial has the following general equation: .
In Figure 5-14a, you see a radical curve, and in Figure 5-14b, you see a rational curve. They seem like opposites, don’t they? But a major characteristic radical and rational curves have in common is that you can’t draw them everywhere. A radical curve can have an equation such as , where the square root doesn’t allow you to put values under the radical that give you a negative result. In this case, you can’t use any number smaller than four, so you have no graph when x is smaller than four. The radical curve in Figure 5-14a shows an abrupt stop at the left end, which is typical of a radical curve. (You can find more on radicals in Chapter 4.)
A general equation for some radical curves is , where n is a natural number.
Rational curves have a different type of restriction. When the equation of a curve involves a fraction, it opens itself up for the possibility of having a zero in the denominator of the fraction — a big no-no. You can’t have a zero in the denominator because math offers no such number, which is why the graphs of rational curves have spaces in them — places where the graph has a disconnect.
In Figure 5-14b, you see the graph of . The graph doesn’t have any value when . (Refer to Chapter 9 for information on rational functions.) A general equation for some rational curves is .
Exponential and logarithmic curves are a type of opposites because the exponential and logarithmic functions are inverses of one another. Figure 5-15a shows you an exponential curve, and Figure 5-15b shows a logarithmic curve. When exponential curves are modeling physical situations (money, matter, temperature), they have a starting point, or initial value, of a, which is actually the y-intercept. The value of b determines whether the curve rises or falls in that gentle C shape. If b is larger than 1, the curve rises. If b is between 0 and 1, the curve falls. They generally rise or fall from left to right, but they face upward (called concave up). It helps to think of them collecting snow or sand in their gentle curves. Logarithmic curves also can rise or fall as you go from left to right, but they face downward.
The general form for an exponential curve is .
The general form for a logarithmic curve is .
The absolute value of a number is a positive value or 0, which is why you get a distinctive V-shaped curve from absolute value relations. Figure 5-16a shows a typical absolute value curve.
A general equation for an absolute value curve is .
The graph in Figure 5-16b is probably the most recognizable shape, except for the line, of the ten. A circle goes round and round a fixed distance from its center. (I cover circles and other conics in detail in Chapter 11.)
Circles with their centers at the origin have equations .
You may think that discussions on graphing aren’t necessary if you have a calculator that does the graphing for you. Not so, Kemo Sabe. (If you aren’t a Lone Ranger fan, you can read the last sentence as, “Oh, that’s not true, you silly goose.”)
Graphing calculators are wonderful. They take much of the time-consuming drudgery out of graphing lines, curves, and all sorts of intricate functions. But you have to know how to use the calculator correctly and effectively. Two of the biggest stumbling blocks students and teachers face when using a graphing calculator to solve problems have to do with entering a function correctly and then finding the correct graphing window. You can use your calculator’s manual or online help to get all the other nitty-gritty details.
The trick to entering equations correctly into your graphing calculator is to insert what you mean (and mean what you insert). Your calculator will follow the order of operations, so you need to use parentheses to create the equation that you really want. (Refer to Chapter 1 if you need a review of the order of operations.) The four main trouble areas are fractions, exponents, radicals, and negative numbers.
Say, for example, that you want to graph the equations , , and . You may mistakenly enter them into your graphing calculator as , , and . They don’t appear at all as you expected. Why is that?
When you enter , your calculator (using order of operations) reads that as “Divide 1 by x and then add 2.” Instead of having a gap in the graph when , like you expect, the gap or discontinuity appears when — your hint that you have a problem. If you want the numerator divided by the entire denominator, you use parentheses around the terms in the denominator. Enter the first equation as .
If you enter the second equation as , the calculator does the division first, as dictated by the order of operations, and then adds x. You get the wrong rational curve, not the one you’re expecting. The correct way to enter this equation is .
The last equation, if entered as , may or may not come out correctly. Some calculators will grab the x and put it in the denominator of the fraction. Others will read the equation as times the x. To be sure, you should write the fraction in parentheses: .
Figure 5-17 shows you how the three equations in this discussion will look in a typical graphing calculator.
Graphing calculators have some built-in exponents that make it easy to enter the expressions. You have a button for squared, 2, and, if you look hard, you can find one for cubed, 3. Calculators also provide an alternative to these options, and to all the other exponents: You can enter an exponent with a caret, ^ (pronounced carrot, like what Bugs Bunny eats).
Graphing calculators often have keys for square roots — and even other roots. The main problem comes if you don’t put every term that falls under the radical where it belongs.
If you want to graph and , for example, you use parentheses around what falls under the radical and parentheses around any fractional exponents. Figure 5-18 shows two ways to enter the first and one way to enter the second the equation:
In all phases of algebra, you treat subtract, minus, opposite, and negative the same way, and they all have the same symbol, “”. Graphing calculators aren’t quite as forgiving. They have a special button for negative, and they have another button that means subtract.
Another problem with negatives has to do with the order of operations (see Chapter 1). If you want to square , you can’t enter into your calculator — if you do, you get the wrong answer. Your calculator squares the 4 and then takes its opposite, giving you . To square the , you put parentheses around both the negative sign and the or .
Graphing calculators usually have a standard window to graph in — from to , both side-to-side and up-and-down. The standard window is a wonderful starting point and does the job for many graphs, but you need to know when to change the window or view of your calculator to solve problems.
The graph of appears only as a set of axes if you use the standard setting. The funky picture shows up because the two intercepts — (11, 0) and — don’t show up if you just go from to 10. (In Chapter 8, you find out how to determine these intercepts, if you’re not familiar with that process.) Knowing where the x-intercepts are helps you to set the window properly. You need to change the view or window on your calculator so that it includes all the intercepts. One possibility for the window of the example curve is to have the x-values go from to 12 (one lower than the lowest and one higher than the highest).
Your calculator, bless its heart, tries to be very helpful. But sometimes helpful isn’t accurate. For example, when you graph rational functions that have gaps, or graph piecewise functions that have holes, your calculator tries to connect the two pieces. You can just ignore the connecting pieces of graph, or you can change the mode of your calculator to dot mode. Most calculators have a Mode menu where you can change decimal values, angle measures, and so on. Go to that general area and toggle from connected to dot mode.