SOLUTION: Can you graph the equation: y= -X^2-4X+5. If you can, please explan how u got the vertex and how to graph everything. Thanks.

Algebra ->  Graphs -> SOLUTION: Can you graph the equation: y= -X^2-4X+5. If you can, please explan how u got the vertex and how to graph everything. Thanks.      Log On


   



Question 142145: Can you graph the equation: y= -X^2-4X+5. If you can, please explan how u got the vertex and how to graph everything. Thanks.
Answer by nabla(475) About Me  (Show Source):
You can put this solution on YOUR website!
f%28x%29=-x%5E2-4x%2B5
First of all, let's find where the function intercepts the x-axis by setting f(x)=0.
0=-x%5E2-4x%2B5
0=x%5E2%2B4x-5 <-- Make it a little easier by multiplying both sides by -1.
0=x%5E2%2B4x-5 <---Factor-thought step: what numbers multiply to get -5 and add to get 4?
0=%28x%2B5%29%28x-1%29 <--- 5 and -1!
Now, when can this equation be true? That is, if it equals 0, one of either term (x+5) or (x-1) must be 0. So we set each equal to zero.
x+5=0 or x-1=0
which means x=-5 or x=1. So we now have the x-intercepts.
Next, the vertex of a parabola is -b/2a, when the function is in form ax^2+bx+c. So, for our purposes the vertex is x=-(-4)/2(-1)=4/(-2)=-2. The function is valued at f(-2)=-(-2)^2-4(-2)+5=-4+8+5=9. So the vertex is (-2,9). Note the direction in which the function opens: the leading coefficient is -1 (of x^2). This means it opens downward.
Now you can graph it properly. Look at my graph below and see if you can reproduce it yourself.
graph%28+300%2C+200%2C+-8%2C+4%2C+-4%2C+13%2C+-x%5E2-4x%2B5+%29