From a straight line to the function equation
A common problem is the following one. We are looking for the equation of a linear function , but all we know are the coordinates of two points through which the graph of passes. Such a graph is shown below. It passes through the points and . How do we find its function equation
Here is how it works. We can use the two points to find the slope by choosing the slope triangle as shown in the figure above. then tells you how to get from the -coordinate of to the -coordinate of
and tells you how to get from the -coordinate of to the -coordinate of
Thus we have
We therefore have
How can we find ? Well, we know that the graph passes through , so we know that
Of course we could have taken as well, and get the same :
The function equation of is therefore
Q1
Find the function equation of a linear function whose graph
- passes through the points and
- passes through the points and
- has an -intercept at and crosses the -axis at
- intersects the -axis at and the -axis at
- is the diagonal of a square of side length (two solutions), where the lower left point of the square is at the origin.
- has -intercept and slope .
Q2
Determine the point of intersection between the straight lines and

Q3
Consider the linear function . Find another linear function whose graph forms a right angle with the graph of and passes through the point .
Solution
A1
. Draw a figure!!
-
, thus . . Thus .
-
, thus . . Thus .
-
, . , thus . (-intercept). Thus .
-
, , thus . , thus .
-
The square is shown below.Solution 1: graph passes through and , thus . Solution 2: graph passes through and , thus .
-
.

A2
First, find the function equations of and . with slope , so . As point is on , it follows . with slope , so . As point is on , it follows . Second, we can find the -coordinate of : Find such that
The -coordinate is given by . We could have taken the function as well, but this will get the same -coordinate. The point has therefore the coordinates .
A3
Let us call the new function , and the function equation is . From the figure (see below) it follows that the graph of has slope and because it passes through the point , it is .
