quadratic function solution
Hi,
I have a simple question regarding solving a quadratic function

I tried to solve it as follows in general for y=y1 find the roots of the quadratic equation:

Hence, in more detail...
for
:


assuming 
)}{2a})
)}{2a})
However, this is not producing the desired result. For example, assume the following function
 = 3x^2 + 2x + 1)
 = 34)
and
following the solution above gives:
and 
None of them being 3 as I would expect. Can someone point me in the right direction or a link with info I can look up?
Thank you in advance.
Re: quadratic function solution
you have to distinguish between factorization and solving of the equation.
To solve the equation you have x1 and x2 as you mentioned, this gives you the roots of your equation only. But, the factorization of the the quadratic function is given by
\left(\frac{-b-\sqrt{b^2-4ac}}{2a}\right).)
Re: quadratic function solution
I'm getting the correct result:


}}{2\cdot3})



If you are getting something different, I suggest showing your work so that we may locate any errors.
Re: quadratic function solution
Thanks. After few hours of googling, posting here and reassuring me that it is correct I realised that excel does not like lack of parentheses. Thanks again a lot.
Re: quadratic function solution
Quote:
Originally Posted by
gatemaze
Thanks. After few hours of googling, posting here and reassuring me that it is correct I realised that excel does not like lack of parentheses. Thanks again a lot.
I believe Excel follows the standard order of operations. You'll always need parentheses in situations like that when you're entering an expression in plain text. The horizontal line in a fraction (called a vinculum) acts as a grouping symbol in handwritten expressions, but we don't have that luxury when we just use a / for division.
Re: quadratic function solution
To solve
in general, first divide everything by
:
. Complete the square by adding
to both sides:

^2 = \frac{b^2}{4a^2} - \frac{c}{a} = \frac{b^2 - 4ac}{4a^2})
Take square root of both sides

