Predict the functions from the following graphs:
(i) A line passing through points and .
(ii) A parabola passing through points , , and .
(iii) A parabola passing through points , , and .
(iv) A parabola passing through points and with a given leading coefficient .
To determine a function from its graph, identify the shape of the curve to choose the correct general equation (linear: ; quadratic: ). Substitute the coordinates of the given points into these equations to create a system of equations and solve for the unknown coefficients.
The graph represents a straight line. We first find the slope () using the two given points and .
Since the equation of the line is linear: \begin{align*} y &= mx + c \\ y &= 2x + c \end{align*}
Substitute the point into equation (1) to find the y-intercept ():
The final equation is:
The graph is a parabola. The general equation of a parabola is:
Substitute the point into equation (1): \begin{align*} -1 & = a(0)^2 + b(0) + c \Rightarrow c=-1 \\ y & =a x^{2}+b x-1 \end{align*}
Substitute the point into equation (2): \begin{align*} 1 & =a(-1)^{2}+b(-1)-1 \\ 1+1 & =a-b \\ a & =b+2 \end{align*}
Substitute the point into equation (2): \begin{align*} 1 &= a(1)^{2}+b(1) \\ 1 &= a+b \end{align*}
Substitute the value of from equation (3) into equation (4):
Substitute back into equation (3):
Substitute and into equation (2):
The general equation of the parabola is:
Substitute the point into equation (1): \begin{align*} 3 & = 0+0+c \\ c & = 3 \\ y & = a x^{2}+b x+3 \end{align*}
Substitute the point into equation (2): \begin{align*} -1 & =a(-2)^{2}+b(-2)+3 \\ -1-3 & =4 a-2 b \\ \frac{-4}{2} & =\frac{4a}{2}-\frac{2 b}{2} \\ -2 & =2 a-b \\ b & =2 a+2 \end{align*}
Substitute the point into equation (2):
Substitute into the equation above:
Substitute into equation (3): (Note: The raw data contains a slight calculation discrepancy in the final substitution for , but the logic follows the substitution of into the derived expression for .)
Using :
Given , the equation of the parabola is: \begin{align*} y &= ax^{2}+bx+c \\ y &= x^{2}+bx+c \end{align*}
Substitute the point into equation (1): \begin{align*} 0 & =(-1)^{2}+b(-1)+c \\ 0 & =1-b+c \\ c & =b-1 \end{align*}
Substitute the point into equation (1):
Substitute into equation (2) to find :
The final equation is: