Set up the equation of the straight line through the points P(1|3) and Q(3|−1) .
For this task you need the following basic knowledge: Linear Function
You are given the points P(1|3) and Q(3|−1).
You are looking for the equation of the straight line that passes through the two points.
To determine the linear equation, it is best to first consider the general form of the linear equation:
Firstly, recall the equation for the gradient of a straight line:
Plug the values x1,x2,y1,y2 from the points P and Q into the formula.
m=−1−33−1= −42
Shorten the denominator.
m=−2
Now you know that the equation of the line through the points P and Q looks like this:
Next, determine the y -intercept (t).
To determine t, insert the x- and y-values of one of the two points into the equation of the line. This is calculated using the point P as an example
3=−2⋅1+t
3=−2+t
t=5
The y-intercept of the function is 5. This gives you the function equation.
y=−2⋅x+5