SOLUTION: can anyone please tell me how to graph a function, for example like {{{f(x) = x^2 + x - 6}}}

Algebra ->  Inequalities -> SOLUTION: can anyone please tell me how to graph a function, for example like {{{f(x) = x^2 + x - 6}}}      Log On


   



Question 36859: can anyone please tell me how to graph a function, for example like
f%28x%29+=+x%5E2+%2B+x+-+6

Answer by stanbon(75887) About Me  (Show Source):
You can put this solution on YOUR website!
f(x) = x^2 + x - 6
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation ax%5E2%2Bbx%2Bc=0 (in our case 1x%5E2%2B1x%2B-6+=+0) has the following solutons:

x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca

For these solutions to exist, the discriminant b%5E2-4ac should not be a negative number.

First, we need to compute the discriminant b%5E2-4ac: b%5E2-4ac=%281%29%5E2-4%2A1%2A-6=25.

Discriminant d=25 is greater than zero. That means that there are two solutions: +x%5B12%5D+=+%28-1%2B-sqrt%28+25+%29%29%2F2%5Ca.

x%5B1%5D+=+%28-%281%29%2Bsqrt%28+25+%29%29%2F2%5C1+=+2
x%5B2%5D+=+%28-%281%29-sqrt%28+25+%29%29%2F2%5C1+=+-3

Quadratic expression 1x%5E2%2B1x%2B-6 can be factored:
1x%5E2%2B1x%2B-6+=+1%28x-2%29%2A%28x--3%29
Again, the answer is: 2, -3. Here's your graph:
graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B1%2Ax%2B-6+%29

Hope this helps.
Cheers,
Stan H.