Draw a line by plotting points
Picture a city map. A location needs two instructions: how far across, then how far up. A coordinate pair, such as (2, 5), records those two instructions in that order.
A function is a rule that gives one output for each input. Its graph is a picture of all the input and output pairs. You put the input on the horizontal x-axis and the output on the vertical y-axis.
A linear function gives a straight line. You can mark a few addresses that obey its rule and draw the line through them. Two different addresses locate the line. A third address helps you notice a calculation mistake before you draw.
- Coordinate pairs. (−2, 3) means left 2, then up 3; the input is first.
- Function notation. f(3) asks for the output at input 3; if f(x) = 2x, then f(3) = 6.
- Order of operations. Multiply before adding: 2 × 3 + 1 = 7.
- Fraction multiplication. × 6 = = 4; multiply the top, then divide.
- Signed addition. −4 + 5 = 1 because five forward steps undo four backward steps.
Say: put an input in, find its output, and mark their address.
The graph contains every point whose output obeys the function rule.
- y = f(x)
- (x, f(x))
- f(x) = mx + b
A street map locates an address with two directions.
The point (1, 2) means one unit across and two up. For f(x) = 2x, the address (2, 4) also fits, because twice 2 is 4.
Each chosen input makes one output. Plotting is recording the machine's answers on a map.
- 1. Choose input values. If the slope contains a fraction, try multiples of its denominator. Multiples are results of multiplying by whole numbers: for a denominator of 3, use 0 × 3 = 0, 1 × 3 = 3 and 2 × 3 = 6.
- 2. Substitute each input into the function to find its output.
- 3. Record the pairs in a values picture, then plot each input across and output up.
- 4. Draw a straight line through the points and extend it both ways.
- 5. If a third point misses the line, recalculate before drawing.
Strategy: graph from a formula by choosing points
- Choose convenient inputs.
- Compute one output per input using multiplication before addition.
- Plot at least two distinct points and check a third.
- Extend the straight line through the points.
You need to draw all the input and output pairs of f(x) = −x + 5. Use convenient inputs to locate its line.
- Choose inputs 0, 3 and 6. Look at their columns in the values picture.Each is a multiple of 3, which cancels the bottom of the slope fraction when multiplied.
- f(0) = − × 0 + 5 = 0 + 5 = 5, giving (0, 5).Substitution replaces x with 0. Any number times 0 is 0.
- f(3) = − × 3 + 5 = −2 + 5 = 3, giving (3, 3).The 3 cancels the bottom 3; do the multiplication before adding 5.
- f(6) = − × 6 + 5 = −4 + 5 = 1, giving (6, 1).Six contains two groups of 3, so the product is −4.
- Plot those three points and draw one straight line extending through them in both directions.Every allowed input needs a point, including inputs between and beyond the three chosen ones.
- Tip: Choose 0 as one input when possible. Multiplication by 0 leaves the starting value.