We are given the quadratic functiony=x2+x−12 and we need to write it in factored form.
y=a(x−s)(x−t)
In the equation above, s and t represent the solutions to the equation y=0. Hence, we begin by finding the solutions using the quadratic formula.
x=2a-b±b2−4ac
In our case, a=1,b=1 and c=-12. Let's substitute these values into the formula above.
The x-intercepts of the function are x=2-1±7. Let's separate them using the positive and negative signs.
x=2-1±7
x=2-1+7
x=2-1−7
x=26
x=2-8
x=3
x=-4
The parabola intercepts the x-axis at -4 and 3. In other words, p=-4 and q=3. We are ready to rewrite the given function in factored form.
f(x)=(x−(-4))(x−3)=(x+4)(x−3)
Next, we find the axis of symmetry by finding the midpoint between the x-intercepts.
x=2-4+3=-21
From the above, we also know that the x-coordinate of the vertex is -21 and the y-coordinate is equal to f(-21). Let's find the y-coordinate.
We now know that the vertex is at (-21,-449). Finally, we can find the y-intercept by setting x=0 in y=x2+x−12.y=02+0−12=-12
The graph intercepts the y-axis at (0,-12). With all this information, we can graph the function.