yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Worked example: Rewriting expressions by completing the square | High School Math | Khan Academy


2m read
·Nov 11, 2024

Let's see if we can take this quadratic expression here, ( x^2 + 16x + 9 ), and write it in this form.

You might be saying, "Hey Sal, why do I even need to worry about this?" One, it is just good algebraic practice to be able to manipulate things. But as we'll see in the future, what we're about to do is called completing the square. It's a really valuable technique for solving quadratics, and it's actually the basis for the proof of the quadratic formula, which you'll learn in the future. So it's actually a pretty interesting technique.

So how do we write this in this form? Well, one way to think about it is if we expanded this ( (x + a)^2 ). We know if we square ( (x + a) ) we would get ( x^2 + 2ax + a^2 ), and then you still have that plus ( b ) right over there.

So one way to think about it is let's take this expression, this ( x^2 + 16x + 9 ). I'm just going to write it with a little few spaces in it: ( x^2 + 16x ) and then ( + 9 ), just like that.

If we say, "Alright, we have an ( x^2 ) here, we have an ( x^2 ) here," if we say that ( 2ax ) is the same thing as that, then what's ( a ) going to be? So if this is ( 2a \times x ), well that means ( 2a = 16 ) or that ( a = 8 ).

And so if I want to have an ( a^2 ) over here, well if ( a ) is 8, I would add ( 8^2 ), which would be 64. Well, I can't just add numbers willy-nilly to an expression without changing the value of an expression. So if I don't want to change the value of the expression, I still need to subtract 64.

So notice all that I have done now is I just took our original expression, and I added 64 and subtracted 64. So I have not changed the value of that expression. But what was valuable about me doing that is now this first part of the expression, this part right over here, fits the pattern of what? A perfect square quadratic.

Right over here we have ( x^2 + 2ax ) where ( a ) is 8, plus ( a^2 ) which is 64. Once again, how did I get 64? I took half of the 16 and I squared it to get to the 64.

And so this stuff that I've just squared off, this is going to be ( (x + 8)^2 ). Once again, I know that because ( a ) is 8. So this is ( (x + 8)^2 ).

And then all of this business on the right-hand side, what is ( 9 - 64 )? Well, ( 64 - 9 ) is ( -55 ). So this is going to be ( -55 ).

So minus 55, and we're done! We've written this expression in this form, and what's also called completing the square.

More Articles

View All
Worked example: Calculating mass percent | AP Chemistry | Khan Academy
So right over here, I have the molecular formula for glucose. And so let’s just say that I had a sample of pure glucose right over here. This is my little pile of glucose. I’m not even going to tell you its mass, but based on the molecular formula, can yo…
Part-to-whole relationships in text structure | Reading | Khan Academy
Hello readers. Today we’re going to be talking about how smaller sections of text work together to support the whole text. But first, let us consider Voltron. It is a giant robot made up of five smaller robots, each one piloted by a person. Five friends, …
Difference of squares intro | Mathematics II | High School Math | Khan Academy
We’re now going to explore factoring a type of expression called a difference of squares. The reason why it’s called a difference of squares is because it’s expressions like x² - 9. This is a difference; we’re subtracting between two quantities that are e…
Kevin O'Leary Visits Longines Boutique | Teddy Baldassarre
[Music] Every time I go out shopping with Teddy, I end up with another bad influence. It’s very bad. Interesting! I’m buying it right here. That’s how her he is. Oh, sorry Howard, never mind! You got the aviation baby. What should you do? [Music] Mr. Wo…
Before Free Solo | Edge of the Unknown on Disney+
[SUSPENSEFUL MUSIC] MAN 1: Morocco, it’s off the map. No one would know about it. This was a place where he could test himself, both physically and mentally with a massive amount of climbing. And then, he wanted to free solo one of the big walls at the e…
How Cod Saved the Vikings
When I was in the Lofoten Islands in northern Norway, I came across one of the strangest sights I have ever seen: cod. [♫ ominous low tone fades in ♪] Hundreds of thousands of them, strung up on racks, [♫ ominous low tone fades in ♪] their stench blanketi…