Question
Question: How do you graph \(y = {x^2} - 6x + 2\)?...
How do you graph y=x2−6x+2?
Solution
In this problem, a quadratic equation is given. The equation of the curve is a parabola, and it has a vertex. In the general form, the equation is y=ax2+bx+c. We will use the equation for the vertex of the parabola a(x+d)2+e. Here, the formula for d is d=2ab, and the formula of e=c−4ab2. Substitute the values of a, b, and c to find the vertex of the parabola.
Complete step by step solution:
In this question, the quadratic equation is given. The graph of the given expression is obtained.
Here, in the given parabola equation is:
⇒y=x2−6x+2 ...(1)
Let us compare the above equation with the general form y=ax2+bx+c.
So, the value of ‘a’ is 1, the value of ‘b’ is -6, and the value of ‘c’ is 2.
Now, let us consider the vertex form of a parabola.
⇒a(x+d)2+e
Here, the formula of d=2ab.
Put the value of a and b.
⇒d=2(1)−6
⇒d=2−6
That is equal to,
⇒d=−3
The formula of e=c−4ab2.
Put the value of a, b and c.
⇒e=2−4(1)(−6)2
⇒e=2−436
⇒e=2−9
That is equal to,
⇒e=−7
Now, put these values in the below equation.
⇒a(x+d)2+e
Therefore,
⇒1(x−3)2−7
That is equal to,
⇒(x−3)2−7
Use the vertex form, y=a(x−h)2+k, to determine the values of a, h, and k.
The value a is 1, the value of h is 3, and the value of k is -7.
Since the value of a is positive, the parabola opens up.
Let us find the vertex (h,k).
Therefore, the vertex is (3, -7).
Now, let us find the distance from the vertex to a focus of the parabola by using the formula:
⇒P=4a1
Put the value of a is 1.
⇒P=4(1)1
That is equal to,
⇒P=41
Now, let us find the focus. The focus of a parabola can be found by adding P to the y-coordinate k is the parabola opens up or down.
The formula for focus is:
⇒(h,k+p)
Put the value of h, k, and p.
⇒(3,−7+41)
Let us take LCM.
⇒(3,4−28+1)
That is equal to,
⇒(3,4−27)
Now, find the axis of symmetry by finding the line that passes through the vertex and the focus.
That is equal to,
⇒x=3
Now, the directrix of a parabola is the horizontal line found by subtracting p from the y-coordinate k of the vertex if the parabola opens up or down.
⇒y=k−p
Put the value of k and p.
⇒y=−7−41
Take LCM.
⇒y=4−28−1
That is equal to,
⇒y=4−29
The graph of the given equation is as below.
Note: We should remember the formulas for the vertex is (h,k), the distance from the vertex to a focus of the parabola is P=4a1, the focus of a parabola focus is (h,k+p), the directrix of a parabola is y=k−p.