Solving Quadratic Equation: Explaining Why "a" Must be Equal to 1

AI Thread Summary
The discussion centers on the necessity of the leading coefficient "a" being equal to 1 when solving quadratic equations. A user initially struggles to find the roots of the quadratic function f(x) = 4x^2 + 5x + 1 and mistakenly applies the quadratic formula. Clarifications reveal that the correct application of the formula requires careful attention to the leading coefficient, which affects the roots. The conversation also touches on the treatment of complex roots and emphasizes the importance of including the leading coefficient when expressing the quadratic in factored form. Overall, understanding the role of "a" is crucial for accurately solving and interpreting quadratic equations.
FrogPad
Messages
801
Reaction score
0
Umm... I guess I don't remember this from algebra, but I have a rather basic question.

Let's say you have the expression,
f(x) = 4x^2 + 5x + 1

And we want to find the roots.

So,

\frac{-5 \pm \sqrt{5-4(4)}}{2(4)}= \{ \frac{1}{2},-1 \}

Now, if we plug these into f(x) we have:
f(1/2) = 9/2
f(-1) = 0

So obviously the quadratic equation does not yield the roots. But if we let a=1.

4(x^2+\frac{5}{4}x+\frac{1}{4})
Again, using the quadratic:
x = \{ -1,-\frac{1}{4} \}

So now plugging this into f(x)

f(x) = 4(x^2+\frac{5}{4}x+\frac{1}{4})

yields:
f(-1) = 0
f(\frac{-1}{4}) = 0

So what gives. I don't think I was ever taught that "a" has to be equal to 1 for it to hold.

If someone could clarify why this is that would be awesome. I seem to remember something about completing the square, but the thing is, is I have an engineering test on Thursday, and the last thing I want to be using my time on is figuring out why this is. But I'm curious :smile:

Thanks
 
Last edited:
Physics news on Phys.org
FrogPad said:
Let's say you have the expression,
f(x) = 4x^2 + 5x + 1

And we want to find the roots.

So,

\frac{-5 \pm \sqrt{-4(4)}}{2(4)}= \{ \frac{1}{2},-1 \}

Recheck your quadratic equation. It should be:
\frac{-b \pm \sqrt{b^2 -4ac}}{2a}

You forgot to take the sqrt of b^2 - 4ac :smile:
 
Last edited:
You can also try to complete the square or find the numbers m, n such as m*n = c and m+n = b when a = 1 .
 
Last edited:
mbrmbrg said:
Recheck your quadratic equation. It should be:
\frac{-b \pm \sqrt{b^2 -4ac}}{2a}

You forgot to take the sqrt of b^2 - 4ac :smile:

:blushing:

Ok, cool... so I'm not crazy. It works fine for the reals. Now when I get complex conjugates, it seems to be a different story. Please tell me I'm making a simple mistake again ! :cry:


f(s) = 10s^2 + 10s + 40
\frac{-b \pm \sqrt{b^2-4ac}}{2a}=\frac{-10 \pm \sqrt{100-4(10)(40)}}{2(10)}=\frac{-10 \pm\sqrt{-1500}}{2(10)} = \ldots
\ldots = \left\{ \frac{-1}{2} + \frac{\sqrt{15}}{2}j \,\, , \,\, \frac{-1}{2} - \frac{\sqrt{15}}{2}j \right\} = \{ \lambda_1 \,\, , \,\, \lambda_2 \}
f(\lambda_1) = f(\lambda_2) = 0
So that's cool. But what about,

(s-\lambda_1)(s-\lambda_2)=s^2+s+4

If the roots were real then wouldn't that equal the original function. Maybe I'm doing drugs, because I can't believe I'm getting caught up with this right now
 
It works fine for complex roots.

In your examples of s^2+s+4 and 10s^2+10s+40, remember if u and v are roots of a polynomial ax^2+bx+c, then

ax^2+bx+c=a*(x-u)*(x-v)

it's not just a product over factors corresponding to the roots, you need to take care of the leading coefficient as well.
 
shmoe said:
ax^2+bx+c=a*(x-u)*(x-v)

it's not just a product over factors corresponding to the roots, you need to take care of the leading coefficient as well.

:cool:

Ahh, that's what I was missing! Thanks man. I can't believe I forgot that :mad:
 
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top