2.4: Find y given x and the Equation of a Line
- Page ID
- Find the value of y given x and the equation of a line.
- Use a line to make predictions.
A line can be thought of as a function, which means that if a value of \(x\) is given, the equation of the line produces exactly one value of \(y\); This is particularly useful in regression analysis where the line is used to make a prediction of one variable given the value of the other variable.
Consider the line with equation:
Find the value of \(y\) when \(x\) is 5.
Just replace the variable \(x\) with the number 5 in the equation and perform the arithmetic:
A survey was done to look at the relationship between a woman's height, \(x\) and the woman's weight, \(y\). The equation of the regression line was found to be:
Use this equation to estimate the weight in pounds of a woman who is 5' 2" (62 inches) tall.
Just replace the variable \(x\) with the number 62 in the equation and perform the arithmetic:
We can put this into a calculator or computer to get:
Therefore, our best prediction for the weight of a woman who is 5' 2'' tall is that she is 121 lbs.
A biologist has collected data on the girth (how far around) of pine trees and the pine tree's height. She found the equation of the regression line to be:
Where the girth, \(x\), is measured in inches and the height, \(y\), is measured in feet. Use the regression line to predict the height of a tree with girth 28 inches.