Relationship Between Variables in the Equation of a Line Study Guide (page 2)
Introduction to Relationship Between Variables in the Equation of a Line
Mathematical discoveries, small or great are never born of spontaneous generation.
—Jules Henri PoincarÉ (1854–1912) French Mathematician
In this lesson, you'll learn about input/output tables: how to find the rule of a table and how to find a missing value in a table.
The variables in the equation of a line have a relationship between each other. As the value of one variable changes, so does the value of the other variable. In the equation y = 4x – 1, when x = 3, y is equal to 4(3) – 1 = 12 – 1 =11. If x is equal to 4, then y is equal to 4(4) – 1 = 16 – 1 = 15.
For any equation of a line, we can make an input/output table to show the relationship between x and y. The input/output table of y = 4x – 1 shows the value of y for different values of x:
The first column shows the value of x. We say that x is the independent variable, because it determines the value of y, and we say that y is the dependent variable, because we find its value based on the value of x. The middle column of the table shows the substitution of a number for x, and the last column shows the value of y after those calculations have been performed. Most input/output tables do not show the middle column, just the values of x and y.
The equation used for this table is listed right at the top of the table, but it usually is not given to us; we will need to figure out what the equation is based on the values in the table.
This input/output table is the kind of table we will usually see—just 4 or 5 x values with their corresponding y values. Previously, we learned that the slope of a line is the change in the y-values between two points on a line divided by the change in the x-values of those points. Because we were given equations in that lesson, we could find the slope of a line by putting the equation in slopeintercept form. Now that we have an input/output table, we can figure out the slope of a line ourselves!
We can find the slope of a line using any two points on the line. We will use the first two rows of this input/output table. First, find the difference between the y values: 6 – 5 = 1. Next, find the difference between the x values: 1 – 0 = 1. Now, divide the difference between the y values by the difference between the x values: 1 ÷ 1 = 1. The slope of this equation is 1.
We have the slope of the equation, and now we need the y-intercept. Remember: Slope-intercept form is y = mx + b, where m is the slope of the line and b is the y-intercept. We have plenty of x and y values, and we know the slope of the line is 1. We can substitute these values into the equation and solve for b. Any row from the table will do. Let's use the last row, where x is 4 and y is 9. Substitute these values into the equation y = mx + b:
- 9 = 1(4) + b
- 9 = 4 + b
Subtract 4 from both sides of the equation:
- 9 – 4 = 4 + b – 4
- 5 = b
The y-intercept of the line is 5. Now that we have the slope and the y-intercept, we can write the equation for this table: y = 1x + 5, or y = x + 5. Looking back at the table, we can see that each value of y is 5 greater than its x value, so our equation is correct.
If x = 0 in the input/output table, its y value is the y-intercept of the equation, because the y-intercept of an equation is the value of y when x = 0. In the previous example, the first row of the table shows that y = 5 when x = 0, and 5 is the y-intercept of the equation.
We can find the equation used to make the following table in the same way.
First, find the slope. Take the difference between the first two y values and divide it by the difference between the first two x values: The slope of the line is 3. Next, find the y-intercept using the equation y = mx + b, the slope of the line, and one row of values from the table. Using the first row, we find that:
- –7 = 3(–2) + b
- –7 = –6 + b
- –1 = b
The y-intercept of the line is –1, making the equation y = 3x – 1.
To find the slope and y-intercept using an input/output table, choose the rows of the table that contain the easiest numbers with which to work. The integers that are closest to zero are often the easiest values to add, subtract, multiply, and divide.
Finding the Missing Value in a Table
You might have noticed we only need two rows from a table to find the equation of the table. Sometimes, we are asked to find a missing value from a table. We start by finding the equation of the table, and then we use that equation to find the missing value.
Using the first two rows of the table, we can find that the slope is = –7. Using the first row of the table, we can find the y-intercept of the equation:
- 3 = –7(1) + b
- 3 = –7 + b
- 10 = b
The equation for this table is y = –7x + 10. We are looking for the value of y when x = 5, so substitute 5 for x in the equation and solve for y:
- y = –7(5) + 10
- y = –35 + 10
- y = –25
When x = 5, y = –25, so the missing value in the table is –25.
The missing value in a table might be an x value. After finding the equation for the table, substitute the y value that is in the same row as the missing x value into the equation and solve for x.
Find practice problems and solutions for these concepts at Relationship Between Variables in the Equation of a Line Practice Questions.
- Kindergarten Sight Words List
- First Grade Sight Words List
- 10 Fun Activities for Children with Autism
- Grammar Lesson: Complete and Simple Predicates
- Definitions of Social Studies
- Child Development Theories
- Signs Your Child Might Have Asperger's Syndrome
- How to Practice Preschool Letter and Name Writing
- Social Cognitive Theory
- Curriculum Definition