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

Simple polynomial division


3m read
·Nov 11, 2024

Let's say someone walks up to you on the street and they give you this expression: x squared plus 7x plus 10 divided by x plus 2. They say, "See if you could simplify this thing." So, pause this video and see if you can do that.

One way to think about it is: what is x squared plus 7x plus 10 divided by x plus 2? What is that going to be?

Now, there are two ways that you could approach this. One way is to try to factor the numerator and see if it has a factor that is common to the denominator. So, let's try to do that. We’ve done this many, many times. If this looks new to you, I encourage you to review factoring polynomials in other places on Khan Academy.

What two numbers add up to seven and when you multiply them, you get ten? Well, that would be two and five. So, we could rewrite that numerator as (x + 2)(x + 5). And then, of course, the denominator still has x + 2. Then we clearly see we have a common factor.

As long as x does not equal negative 2, because if x equals negative 2, this whole expression is undefined; then you get a 0 in the denominator. So, as long as x does not equal negative 2, we can divide the numerator and the denominator by (x + 2). Once again, the reason why I put that constraint is we can't divide the numerator and denominator by zero.

For any other values of x, this (x + 2) will be non-zero, and we could divide the numerator and the denominator by that; they would cancel out, and we would just be left with x + 5. So, another way to think about it is this expression—our original expression—could be viewed as x + 5 for any x that is not equal to negative 2.

Now, the other way that we could approach this is through algebraic long division, which is very analogous to the type of long division that you might remember from, I believe, it was fourth grade. So, what you do is say, "All right, I'm going to divide (x + 2) into (x squared + 7x + 10)."

In this technique, you look at the highest degree terms. You have an x there and an x squared there. You say, "How many times does x go into x squared?" Well, it goes x times. Now, you would write that in this column because x is just x to the first power. You could view this as the first-degree column; it's analogous to the place values that we talk about when we first learn numbers or how we regroup or about place value, but here you can view it as degree places or something like that.

Then, you take that x and multiply it by this entire expression. So, x times 2 is 2x. Put that in the first-degree column; x times x is x squared. Now, what we want to do is subtract these things in yellow from what we originally had in blue.

We could do it this way, and then we will be left with 7x minus 2x, which is 5x, and then x squared minus x squared is just zero. Then we can bring down this plus 10. Once again, we look at the highest degree term. x goes into 5x five times. That's a zero-degree, it's a constant, so I'll write it in the constant column.

5 times 2 is 10, and 5 times x is 5. Then, I'll subtract these from what we have up here, and notice we have no remainder. What’s interesting about algebraic long division— we’ll probably see in another video or two—you can actually have a remainder. So, those are going to be situations where just the factoring technique alone would not have worked.

In this situation, this model would have been easier. But this is another way to think about it: you say, "Hey look, (x + 2)(x + 5) is going to be equal to this." Now, if you wanted to rewrite this expression the way we did here and say, "Hey, this expression is equal to x + 5," we would have to constrain the domain. You'd say, "Hey, for all x's not equaling negative 2 for these to be completely identical expressions."

More Articles

View All
Elon Musk Just Abandoned his Twitter Deal... What Next?
It was back on the 4th of April that Elon Musk first announced he was buying 9% of Twitter, a large yet relatively small ownership stake in the company. It was enough to be heard but not necessarily enough to be listened to. And to nobody’s great surprise…
The U.S. Economy Just Hit a Big Turning Point. (Howard Marks' Sea Change Is Here)
People believe in the ability to predict the future, and in general, uh, I agree with uh, John Kenneth Galbraith, who said, “There are two kinds of forecasters: the ones who don’t know and the ones who don’t know they don’t know.” There is Howard Marks, …
Rant: The TRUTH about happiness
I’m just going to rant a little bit about happiness because it seems like a lot of people are very hung up about buying a certain thing, achieving a certain level of success, achieving a certain level of wealth. So many materialistic things that they thi…
Life Unlocks After These 15 Changes
92% of people want change. Every year, 76% of people die with the regret of allowing life to pass them by. Average job. Average home. Average partner. Despite nobody starting off looking for average yet, they still end up there. By the end of this video, …
Ratios on coordinate plane
We are told that a baker uses eight cups of flour to make one batch of muffins for his bakery. Complete the table for the given ratio. So they’re saying that for every batch, he needs eight cups of flour, or he needs eight cups of flour for every batch. …
Jeff Dean’s Lecture for YC AI
So I’m going to tell you a very not super deep into any one topic but very broad brush sense of the kinds of things we’ve been using deep learning for the kinds of systems we’ve built around making deep learning faster. This is joint work with many, many,…