Video: Derive the Quadratic Formula | Nagwa Video: Derive the Quadratic Formula | Nagwa

Video: Derive the Quadratic Formula

Here, we will explain how to use the technique of completing the square to derive a formula to solve an equation of the general form π‘Žπ‘₯Β² + 𝑏π‘₯ + 𝑐 = 0 for π‘₯.

09:27

Video Transcript

Find a formula for solving a quadratic equation of the form π‘Žπ‘₯ squared plus 𝑏π‘₯ plus 𝑐 is equal to zero. So here’s our equation we’re trying to solve in terms of π‘₯, and π‘Ž, 𝑏, and 𝑐 are just constant numbers.

So first of all, we’re gonna divide both sides of the equation by the constant π‘Ž. So the π‘Žβ€™s here cancel out and we’re left with 𝑏π‘₯ over π‘Ž plus 𝑐 over π‘Ž is equal to zero over π‘Ž. Well that’s just zero. So with just a little bit of tidying up, this is the equation we’re now trying to solve.

And now I’m gonna subtract this 𝑐 over π‘Ž from both sides of my equation, so subtracting from the left-hand side and subtracting from the right-hand side. So 𝑐 over π‘Ž take away 𝑐 over π‘Ž is nothing, and on the right-hand side at zero take away 𝑐 over π‘Ž, I’ve just got negative 𝑐 over π‘Ž.

Now I’m gonna use the method of completing the square on the left-hand side to try and find another form of that left-hand side, which is gonna help us to solve our equation. So this is our first guess: what we’re going to square in order to get an equivalent expression to this one.

Now the π‘₯ squared term tells us we’re gonna use π‘₯ here and then we take half of this coefficient for this term here. So let’s multiply out these brackets. π‘₯ times π‘₯ is π‘₯ squared, π‘₯ lots of 𝑏 over two π‘Ž is 𝑏 over two π‘Žπ‘₯, 𝑏 over two π‘Ž lots of π‘₯ is another 𝑏 over two π‘Žπ‘₯, and finally 𝑏 over two π‘Ž times 𝑏 over two π‘Ž is positive 𝑏 squared over four π‘Ž squared.

Then adding 𝑏 over two π‘Žπ‘₯ plus 𝑏 over two π‘Žπ‘₯ gives us 𝑏 over π‘Žπ‘₯. Now the first part here π‘₯ squared plus 𝑏 over π‘Žπ‘₯ is exactly what we were looking for up here, π‘₯ squared over π‘π‘Žπ‘₯. The problem is, we’ve got this extra bit on the end, the extra 𝑏 squared over four π‘Ž squared.

So this expression here isn’t the same as this expression here. We’ve got an extra 𝑏 squared over four π‘Ž squared. So if I took that away from this term, then I would end up with what I wanted at the very beginning.

So our first guess was π‘₯ plus 𝑏 over two π‘Ž all squared would be equivalent to π‘₯ squared plus 𝑏 over π‘Žπ‘₯, but as we’ve seen down here, that’s not quite right. It gives us a little bit too much, so I need to subtract that from this in order to get what I was actually looking for. So hopefully you can see that these two lines are the same thing; π‘₯ plus 𝑏 over two π‘Ž all squared gives us this expression down here.

If I subtract 𝑏 squared from four π‘Ž squared, that’s like getting rid of that bit, which just leaves this bit here, which is in fact exactly what we were looking for. Right so now I’m gonna try and isolate the π‘₯ plus 𝑏 over two π‘Ž all squared term by adding 𝑏 squared over four π‘Ž squared to both sides of my equation.

Now we can see that, on the left-hand side, I’ve got negative 𝑏 squared over four π‘Ž squared, and then I’m adding 𝑏 squared over four π‘Ž squared, so those two terms are gonna cancel out. And now I’m gonna try and manipulate the right-hand side so that, instead of two separate terms, I’ve just got one big term.

And the way I can do this, I’ve got a denominator on this term of four π‘Ž squared. I’ve got a denominator on this term of just π‘Ž. So if I multiply the top by four π‘Ž and the bottom by four π‘Ž, now my denominator on this term is gonna be four π‘Ž squared just like this term.

Now by multiplying by four π‘Ž over four π‘Ž, that basically is one, four π‘Ž divided by four π‘Ž is one, so I haven’t changed the magnitude of the number; I’ve just changed the format of the expression. So when I rewrite that, you can see that I’ve got two terms with a common denominator, so I can just put that altogether in one big term.

And there we have it. So rather than write minus four π‘Žπ‘ plus 𝑏 squared, I’ve put the positive term first, so 𝑏 squared minus four π‘Žπ‘ all over four π‘Ž squared. Now I can take square roots of both sides so that I can see on the left-hand side I’m just gonna find out what π‘₯ plus 𝑏 over two π‘Ž is.

And clearly there are two possible answers for the right-hand side. We could have the positive version of the square root of 𝑏 squared minus four π‘Žπ‘ all over four π‘Ž squared or we could have the negative version of that. And now what I’m gonna do as well is I’m just gonna rearrange that second term slightly because the square root of four π‘Ž squared is clearly two π‘Ž.

And now I can simply subtract 𝑏 over two π‘Ž from both sides, so that I can leave π‘₯ on its own over here on the left. So we’re going to subtract 𝑏 over two π‘Ž from both sides of the equation. So over here on the left-hand side, I’ve got 𝑏 over two π‘Ž, take away 𝑏 over two π‘Ž, so that leaves nothing, so those two things cancel out.

And now I’m gonna write this in a slightly different order, so I’m gonna write the negative 𝑏 over two π‘Ž first. And we’ve already got a common denominator here, so in fact I’m gonna go one stage further than that. I’m gonna write this all as one expression on the right-hand side.

And here we have a general formula for solving quadratic equations of the format π‘Žπ‘₯ squared plus 𝑏π‘₯ plus 𝑐 is equal to zero. So let’s see how we can use that in practice. Here’s a question. Solve π‘₯ squared minus five π‘₯ plus six equals zero. So we’ve gotta find the value or values of π‘₯ which will satisfy that equation.

So the first thing to do is to work out what π‘Ž, 𝑏, and 𝑐 are from the general formula. So our general format is π‘Žπ‘₯ squared plus 𝑏π‘₯ plus 𝑐, so the coefficient of π‘₯ squared is the value of π‘Ž. There’s nothing in front of the π‘₯ squared, so that means there’s one π‘₯ squared, so π‘Ž is equal to one.

The coefficient in front of the π‘₯ is negative five, so 𝑏 is negative five. And the number term on its own at the end is positive six, so 𝑐 is positive six. So next we write out our quadratic formula: π‘₯ is equal to negative 𝑏 plus or minus the square root of 𝑏 squared minus four π‘Žπ‘ all over two π‘Ž.

And then we’re gonna substitute in these values to that equation. Now a couple of top tips: I would always write the equation out in full as we have done here substituting in all values π‘Ž, 𝑏, and 𝑐 exactly as they are. That shows if you’re in exam it shows the examiner you know basically what you’re doing.

Secondly I would always write negative numbers in brackets, so we’ve got negative five. I’ve written the negative five in brackets here and here because 𝑏 was negative five. This means that when you enter the number on your calculator, your calculator isn’t going to make any mistakes. So for example here, negative five squared if I’ve just written negative five squared on my calculator that will give me an answer of negative twenty-five.

But really we want the whole of negative five squared, so negative five times negative five is positive twenty-five. So this is the answer we’re looking for. Therefore, the brackets are definitely gonna help us get the right answer. Okay let’s go through that bit by bit.

The negative of negative five is positive five plus or minus negative five times negative five is positive twenty-five, so this is gonna be twenty-five, and four times one is four and four times six is twenty-four, so we’re gonna be taking away twenty-four. And on the bottom, two times one is just two.

So working out the contents of the square root, there twenty-five take away twenty-four is one, so we’ve got the square root of one. So the- the answers are gonna be five plus the square root of one all over two or five take away the square root of one all over two. So now we write those out separately.

First of all, we’re gonna do the positive case, then we’re going to do the negative case. So the first instance π‘₯ could be five plus one over two, which gives us an answer of three, or π‘₯ could be five take away one over two, which gives us an answer of two. Now we just need to write our answer out clearly.

There we go; the answer π‘₯ equals three or π‘₯ equals two. If we wanted to be really sure of ourselves, we could always try those back in the original equation, so let’s just quickly do that now. So three, let’s try three first, three squared is nine take away five lots of three, so we’re taking away fifteen, and then add six, so nine add six is fifteen takeaway fifteen, that’s zero, that’s correct.

And now with two, two squared is four take away five lots of two, so we’re taking away ten, and then we’re adding six, well four plus six is ten take away ten is equal to zero. So we know that’s correct as well, so we- we’re completely happy that our answers are correct.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy