Question
Question: How do you graph quadratic function \[y={{x}^{2}}-4x+7\]?...
How do you graph quadratic function y=x2−4x+7?
Solution
In the given question, we have been asked the steps for plotting a graph of a given quadratic equation. We will plot the graph of a given quadratic equation using vertex form. In order to graph a quadratic using vertex form, first we need to find the vertex of the given equation. Later we will find the y-intercept and the x-intercept and then plot the points we found in the above steps. In this way we can graph a quadratic equation using vertex form.
Complete step by step solution:
We have given that,
y=x2−4x+7
Converting into vertex form,
We have,
y=x2−4x+7
Using the vertex form of the equation; i.e.
y=a(x−h)2+k
Where,
a equals to the coefficient of x2.
‘h’ is the x-coordinate of the vertex.
‘k’ is the y-coordinate of the vertex.
Vertex of the given equation y=x2−4x+7 is;
Now, solving for the value of ‘x’ and ‘y’,
y=x2−4x+7
Here ‘a’ is the coefficient of first term and b is the coefficient of ‘x’.
⇒x=2a−b=2−(−4)=2
⇒x=2
Now, solving for the value of ‘y’.
Putting x = -7 in the given equation, we get
⇒y=(2)2−4(2)+7
Simplifying the above equation, we get
⇒y=4−8+7=3
⇒y=3
Therefore, the vertex=(2,3).
Thus,
Vertex = (2, 3), ‘a’ = 1
Now, substituting these values in the vertex equation form, we obtain
y=a(x−h)2+k
y=1(x−(2))2+(3)
Simplifying the above, we get
y=(x−2)2+3
Hence, the equation y=x2−4x+7 in vertex form isy=(x−2)2+3.
The equation of parabola is in the form (x−a)2=2p(y−b)
Rewrite the equation in the form of parabola equation,
We have,
y=(x−2)2+3
We can also write it as;
(x−2)2=(y−3)
Here 2p = 1, p=21
Thus,
The focus is (2,27)
The vertex is (2, 3)
Now finding y-intercept
Put x = 0
y=x2−4x+7=02−4(0)+7=7
Thus, we get the point i.e. (0, 7)
Plotting the points on the graph we found above,
Therefore, this is the required graph of the y=x2−4x+7.
Note:
Students should be very well aware of the vertex form of the equation. Also, they should know about the concept of converting the given equation into vertex form. They should also be very careful while doing the calculations to avoid making errors. Students should also know to find the coordinates of the vertex.