Solveeit Logo

Question

Question: Plot a graph for the equation \[y = - {x^2} + 4x - 1\]....

Plot a graph for the equation y=x2+4x1y = - {x^2} + 4x - 1.

Explanation

Solution

Here we will first find the intercept and the vertex of the equation. We will put the different values of xx intercept to get the yy intercept. We will then put values of yy intercept to get the xx intercept. Then we will find the vertex of the graph using the Axis of symmetry formula. Finally, we will plot the graph using the intercept of the vertex.

Complete step-by-step answer:
The equation whose graph we have to form is
y=x2+4x1y = - {x^2} + 4x - 1…….(1)\left( 1 \right)
First, we will find the yy and xx intercept of the graph.
So let us substitute x=0x = 0in equation (1)\left( 1 \right), we get
y=0+4×01 y=1\begin{array}{l}y = 0 + 4 \times 0 - 1\\\ \Rightarrow y = - 1\end{array}
So we get one point as (0,1)\left( {0, - 1} \right).
Now, we will substitute y=0y = 0 in equation (1)\left( 1 \right), we get
0=x2+4x10 = - {x^2} + 4x - 1
The above equation is a quadratic equation.

On comparing the above equation to the general form of quadratic formula x=ax2+bx+cx = a{x^2} + bx + c, we get
a=1a = - 1, b=4b = 4 and c=1c = - 1
Substituting these value in the formula x=b±b24ac2ax = \dfrac{{ - b \pm \sqrt {{b^2} - 4ac} }}{{2a}}, we get
x=(4)±424(1)(1)1×2x = \dfrac{{ - \left( 4 \right) \pm \sqrt {{4^2} - 4\left( { - 1} \right)\left( { - 1} \right)} }}{{ - 1 \times 2}}
Simplifying the expression, we get
x=(4)±1642\Rightarrow x = \dfrac{{ - \left( 4 \right) \pm \sqrt {16 - 4} }}{{ - 2}}
Subtracting the terms, we get
x=4±122\Rightarrow x = \dfrac{{ - 4 \pm \sqrt {12} }}{{ - 2}}
Taking 2 common from numerator and denominator, we get
\Rightarrow x = \dfrac{{ - 2 \pm \sqrt 3 }}{{ - 1}}$$$$$$ \Rightarrow x = - \left( { - 2 \pm \sqrt 3 } \right) = \left( {2 \pm \sqrt 3 } \right)Sowegetpointsas So we get points as\left( {2 - \sqrt 3 ,0} \right)andand \left( {2 + \sqrt 3 ,0} \right).Nowwewillfindtheaxisofsymmetry.Axisofsymmetry. Now we will find the axis of symmetry. Axis of symmetry = - \dfrac{b}{{2a}}Substituting Substitutingb = 4andanda = - 1intheaboveequation,wegetin the above equation, we get \Rightarrow AxisofsymmetryAxis of symmetry = - \dfrac{4}{{2 \times \left( { - 1} \right)}} = 2Nowwewillfindthevertex.WewillusetheformulaVertex Now we will find the vertex. We will use the formula Vertex = (Axisofsymmetry,(Axis of symmetry,f(Axisofsymmetry)),where,(Axis of symmetry)), where,f\left( x \right) = - {x^2} + 4x - 1.Substituting. Substituting x = 2intheaboveequation,wegetin the above equation, we get \begin{array}{l}f\left( 2 \right) = - {2^2} + 4 \times 2 - 1\\ \Rightarrow f\left( 2 \right) = 3\end{array}Sovertex So vertex = \left( {2,3} \right)Asthevalueof As the value ofaisnegativethereforeparabolashouldopendown.So,wegetourpointsasis negative therefore parabola should open down. So, we get our points as\left( {2 - \sqrt 3 ,0} \right)(2+3,0)\left( {2 + \sqrt 3 ,0} \right)\left( {0, - 1} \right)andourvertexasand our vertex as\left( {2,3} \right)$$.
Now we will plot the graph as follows:

Note: We know that to plot a graph we should have at least three to four points so that we can connect them to form the graph. Finding the vertex is an important step that can’t be skipped as we should know at what point our graph is bending. We could put two values of xx in the equation and get the two points from there also that will be a simple method to do.