### Video Transcript

Solve π₯ squared minus four π₯ plus four equals zero by factoring, and hence determine which of the following figures would be a sketch of π¦ equals π₯ squared minus four π₯ plus four.

We have five figures, one of which is a sketch of π¦ equals π₯ squared minus four π₯ plus four. The question is which one. Weβre told that solving π₯ squared minus four π₯ plus four equals zero will help us. We write down the equation. Now how do we solve it? The answer is by factoring.

We want to write the left-hand side of our equation as a product of two factors, π₯ plus something times π₯ plus something. Letβs call those somethings that we need to find π and π. To find the values of π and π, we use the fact that π times π must be equal to the constant term of the trinomial, four.

This is a fact that is well worth remembering. Iβll explain why itβs true at the end of the video. If we assume that π and π are going to be integers, then we can just list all the possible values of π and π for which π times π is four. For example, π could be one, in which case π is four. Or π and π could both be two. It turns out that we donβt need to include the case that π is four and π is one.

This is just the first possibility with the values of π and π swapped. What we do need to consider is the possibility that π and π could be negative. This gives the other two possibilities, that π is equal to negative one and π is equal to negative four and that π and π are both equal to negative two. Weβve listed all the factor pairs of four including negative possibilities.

What do we do now? The other fact that weβll prove at the end of the video is that π plus π is equal to the coefficient of the π₯ term, in our case negative four. For each column in our table, we calculate π plus π. We thought that π could be one and π could be four. But this gives a value of five for π plus π and not negative four as we want. And so these arenβt the values that weβre looking for.

Similarly, when π and π are both two, then π plus π is four, not what weβre looking for. The next possibility gives negative five. It turns out that itβs the last option when both π and π are negative two. That gives us what we want. π plus π is then negative four. We found that π is negative two and π is negative two. And we can get rid of our working.

We need to substitute the values of π and π that we found. We get π₯ plus negative two times π₯ plus negative two equals zero. We can make things easier for ourselves by subtracting two instead of adding negative two. Okay, so our left- hand side is factored as required. You can check that distributing really does give π₯ squared minus four π₯ plus four.

These two expressions really are equal. Of course you might have just recognized that this is the perfect square π₯ minus two squared. We have factored as required. How does this help us solve our equation? We use the zero product property, which says that if the product of two factors is equal to zero, then one of those factors is equal to zero.

As both of our factors are π₯ minus two, we have that π₯ minus two must be equal to zero. And adding two to both sides, we see that our only solution is π₯ equals two. We have solved this equation. But how does this help us with our figures? Weβre looking for the sketch of π¦ equals π₯ squared minus four π₯ plus four. And weβve just solved π₯ squared minus four π₯ plus four equals zero.

Comparing these two equations, we can see that weβve basically solved π¦ equals zero. Our answer was π₯ equals two and so π₯ equals two is when π¦ equals zero. On a graph or sketch, π¦ equals zero is the equation of the π₯-axis. And so weβre expecting an π₯-intercept at π₯ equals two. We see that option A has this π₯-intercept marked. When π₯ is two, π¦ is equal to zero.

However, we also see an π₯-intercept at π₯ equals negative two. However, we found that our equation only had one solution, π₯ equals two. π₯ equals negative two was not a solution of our equation. And so π₯ equals negative two should not be an π₯-intercept of our graph. For that reason, we can eliminate option A as a possibility. Option B however only has an π₯-intercept at π₯ equals two, as required.

This remains a possibility, as does option C. Option D has an π₯ intercept at π₯ equals negative two, not what we want. And option E, much like option A, has two π₯-intercepts and so isnβt the right sketch. Solving the equation allowed us to narrow down the options to a choice between options B and C. But weβre still going to have to decide.

One way of doing this is to consider the π¦-intercept, that is the value of π¦ for which the graph crosses the π¦-axis. In other words, the value of π¦ when π₯ is zero. We can substitute π₯ equals zero into the equation of our graph. We get that π¦ is equal to zero squared minus four times zero plus four. Zero squared and four times zero are both zero. And so weβre left with just the constant term four.

Looking at our two options, we can see that while option B has a π¦-intercept of four as required, option C has a π¦-intercept of negative four. We therefore eliminate option C and choose option B. Another way of choosing between options B and C would be to consider the coefficient of the π₯ squared term. This coefficient is one. One is greater than zero. And so weβre looking for an upward facing curve like we see in option B and not a downward facing curve like in option C.

To end this video, weβll just prove the fact that we used earlier which allowed us to say that the product of A and B should be four and their sum should be negative four. We can distribute these two brackets. We can distribute the terms in these parentheses. We get π₯ squared plus π₯ times π, which is ππ₯, plus π times π₯ plus π times π. We can swap and combine these like terms and we get π₯ squared plus π plus π times π₯ plus ππ.

We want to find values of π and π for which these two expressions are equal for all values of π₯. For these two expressions to be equal, their constant terms must be equal and so ππ must equal four. This was the fact that we used to list several possibilities for the values of π and π in the integers.

And also the coefficient of π₯ of these two expressions must be equal. And so π plus π must equal negative four. This is what we used to choose between the possibilities that we had in our table. Having then found the values of π and π, we wrote the equation of the graph in this form.