1
$\begingroup$

Show that the solutions to the equation $ax^2 + 2bx + c =0$ are given by $x = -\frac{b}{a} \pm \sqrt{\frac{b^2-ac}{a^2}}$

Hint: Start by dividing the whole equation by $a$

At first I have tried solving the equation without using the hint provided in my exercise and directly applying completing square, I get $x = -\frac{b}{a} \pm \sqrt{\frac{b^2-c}{a}}$. So if I am to use the hint, I obtain the appropriate answer. But I wonder if I am asked the same question in my exam where the hint will not be provided then how am I supposed to answer.

I would like to know how one should approach this kind of question and how do I realise when to divide the whole equation with in this case $a$ or is there any other ways so that I can avoid dividing the whole equation by $a$.Thanks in advance for any help you are able to provide!

EDIT: Here's my steps. Please see where have I done wrong.

\begin{align} ax^2+2bx+c&=0 \\ a\left[\left(x+\frac{b}{a}\right)^2-\frac{b^2}{a^2}\right] + c&=0 \\ a\left(x+\frac{b}{a}\right)^2-\frac{b^2}{a} + c&=0 \\ \left(x+\frac{b}{a}\right)^2&=\left(\frac{b^2}{a}-c\right)\left(\frac{1}{a}\right)\\ \left(x+\frac{b}{a}\right)^2&=\frac{a(b^2-c)}{a^2}\\ \left(x+\frac{b}{a}\right)^2&=\frac{b^2-c}{a} \\ x+\frac{b}{a}&=\pm\sqrt{\frac{b^2-c}{a}} \\ \implies x&=-\frac{b}{a}\pm\sqrt{\frac{b^2-c}{a}}\\ \end{align}

$\endgroup$
8
  • 2
    $\begingroup$ You should assume $a\ne 0$. $\endgroup$
    – markvs
    Commented Sep 27, 2020 at 0:53
  • 1
    $\begingroup$ Without the hint you divide the equation by $a$ as well. $\endgroup$ Commented Sep 27, 2020 at 0:57
  • $\begingroup$ Im interested to know how you proceeded without dividing by $a$ $\endgroup$
    – David Diaz
    Commented Sep 27, 2020 at 1:08
  • $\begingroup$ Sure I am showing the steps. Since I'm new here, I'm having hard time typing my steps here. $\endgroup$
    – Rafsan J
    Commented Sep 27, 2020 at 1:11
  • $\begingroup$ @DavidDiaz Please review my steps $\endgroup$
    – Rafsan J
    Commented Sep 27, 2020 at 1:27

4 Answers 4

3
$\begingroup$

As you did, complete the square by first taking out a factor of $a$, where $a\neq 0$ since the equation is a quadratic.

\begin{align} ax^2+2bx+c&=0 \\ a(x^2+2\frac{b}{a}+\frac{c}{a})&=0 \\ a\left[(x+\frac{b}{a})^2-\frac{b^2}{a^2}+\frac{c}{a}\right]&=0 \\ (x+\frac{b}{a})^2&=\frac{b^2-ac}{a^2} \\ x+\frac{b}{a}&=\pm\sqrt{\frac{b^2-ac}{a^2}} \\ \implies x&=-\frac{b}{a}\pm\sqrt{\frac{b^2-ac}{a^2}}\\ \end{align}

Maybe you made a mistake somewhere?

$\endgroup$
1
$\begingroup$

HINT: Complete the square:

$$ax^2+2bx+c=0$$

$$a\left(x^2+\frac{2b}{a}x\right)+c=0$$

Try the rest from here.

$\endgroup$
4
  • $\begingroup$ I get $x = -\frac{b}{a} \pm \sqrt{\frac{b^2-c}{a}}$. $\endgroup$
    – Rafsan J
    Commented Sep 27, 2020 at 0:59
  • $\begingroup$ @RafsanJ If you want to show your steps in the question, I can try to spot where you made a mistake. $\endgroup$
    – Kman3
    Commented Sep 27, 2020 at 1:00
  • $\begingroup$ How can I upload the picture here or how do I send it to you? $\endgroup$
    – Rafsan J
    Commented Sep 27, 2020 at 1:02
  • 1
    $\begingroup$ @RafsanJ You could put your steps in the question using MathJax (LaTeX formatting). $\endgroup$
    – Kman3
    Commented Sep 27, 2020 at 1:03
1
$\begingroup$

As JCAA said, you should assume $a\ne 0$, otherwise, it is not a quadratic equation, but a linear equation. Also, division by zero is undefined. We just could divide both sides by $a$ because of that.

$ax^2+2bx+c=0 \implies x^2+2\dfrac{b}{a}x+\dfrac{a}{c}=0 \implies x^2+2\dfrac{b}{a}x=-\dfrac{c}{a}$

Completing the square,

$x^2+2\dfrac{b}{a}x + \color{red}{\dfrac{b^2}{a^2}} =-\dfrac{c}{a}+ \color{red}{\dfrac{b^2}{a^2}}\\\\ \left(x+\dfrac{b}{a}\right)^2 = \dfrac{b^2-ac}{a^2} \\\boxed{x=-\dfrac{b}{a}\pm \sqrt{\dfrac{b^2-ac}{a^2}}} $

$\endgroup$
1
$\begingroup$

You are given the equation and the answers and asked to verify. Additionally, you don't want to divide the equation by the leading coefficient. You could:

  • Verify the answers directly by plugging them in. Then argue that these must be the only solutions.
  • Solve the equation in a way that avoids dividing.

The first method would look something like:

By the fundamental theorem of algebra, the given equation has at most two roots. We show that they are indeed the given solutions. $$\dots\text{(some god awful amount of algebra)}\dots$$ $\dots$completing our proof.


To avoid dividing, your method was good. An alternative, if you are familiar with the quadratic formula, would be to plug your coefficients in and simplify, taking care not to confuse yourself with overloaded variables.

$$\text{Let } a=a, b=2b, c=c. \text{ Then,}$$

\begin{align} x &= \frac{-2b \pm \sqrt{(2b)^2 - 4ac}}{2a}\\ &= -\frac{b}{a} \pm \frac{\sqrt{4b^2 - 4ac}}{2a}\\ &= -\frac{b}{a} \pm \sqrt{\frac{4b^2 - 4ac}{4a^2}}\\ &= -\frac{b}{a} \pm \sqrt{\frac{b^2 - ac}{a^2}} \end{align}


When there's no time pressure the approach you choose to solve a problem doesn't need to be a final decision. Often there is more than one way to get where you're going. Even when you do get the right answer it can be helpful to examine what you did.

On an exam though, it will help to have some experience solving similar problems and leaning towards techniques you've used before.

$\endgroup$
1
  • $\begingroup$ Noted. Your method makes the math easier by thousand times! $\endgroup$
    – Rafsan J
    Commented Sep 27, 2020 at 4:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .