Modelling with straight lines
In a nutshell
A straight line graph can be used to model data, which allows you to visualise how two variables change in respect to each other. You can see if two variables are proportional to one another and can make future predictions.
Proportionality
Two variables are proportional when they have an unchanging relationship with each other. In straight line graphs, y is proportional to x. The gradient informs you how much y changes in respect to x. The way y changes with respect to x is constant for straight line graphs.
If x increases by 1 unit, y increases by k units.
Proportionality allows you to make predictions. You can solve for a certain y value given any x value with the equation of a line.
Linear models
Linear modelling is a method to visualise data. If two variables are proportional to each other, you can plot them on a graph and draw a line connecting them. The line allows you to use linear equations, and therefore predict how the variables will continue to change.
procedure
1.
| Plot the given data points on a graph. |
2.
| Draw a line of best fit that most closely fits the trend of the data.
|
3.
| Use two points on the line to solve for the line's gradient and equation.
|
Note: Not all the points need to lie directly on the line for the method to still be valid. However, a linear model becomes less accurate the further away points are from the line.
Example 1
A cyclist is riding a bike when she passes by a tree. Her distance in metres is recorded in 1 second intervals from that point onwards. Below is a table showing her distance from the tree every second.
Create a linear model of her speed. From that model, find out how many seconds will elapse before she makes it to the next tree,
120 metres away.
Plot out the data and draw a line of best fit.
Choose two points on the line and find the gradient of the line.
(2,12) (3,18)
x1=2,y1=12,x2=3,y2=18
mmmm=x2−x1y2−y1=3−218−12=16=6
Use the gradient to find the equation of the line.
y−y1y−12y−12y=m(x−x1)=6(x−2)=6x−12=6x
Solve for x when y=120.
6y=120x=120x=6120x=20 seconds