### Video Transcript

Find all pairs of values for π and π so that the point three, one lies on the curve π¦ is equal to ππ₯ plus π all squared and dπ¦ by dπ₯ is equal to six at this point.

The question wants us to find every possible pair of values for π and π so that the point three, one lies on our curve π¦ is equal to ππ₯ plus π squared and the slope of the curve is equal to six at this point. So weβre actually given two pieces of information about our curve. Weβre told that point three, one lies on our curve, and weβre told the slope of our curve is six at this point. Letβs use each piece of information separately.

First, letβs find all possible values of π and π such that the point three, one lies on our curve. We know saying three, one lies on our curve is the same as saying that our equation holds when we substitute in π₯ is equal to three and π¦ is equal to one. Weβll substitute these values in. This gives us one is equal to π times three plus π all squared. And weβll rewrite π times three as three π. Finally, weβll distribute the square over our parentheses. This gives us the equation one is equal to nine π squared plus six ππ plus π squared. Letβs recap what this equation means.

Any pair of values for π and π, which satisfy this equation, will mean that the point three, one lies on our curve. We can form a similar equation to make the slope of our curve equal to six at the point three, one. The first thing we need to do is find an equation for our slope. And weβll do this by distributing the exponent over our parentheses. This gives us π¦ is equal to π squared π₯ squared plus two πππ₯ plus π squared. We want to use this to find an expression for dπ¦ by dπ₯. We can do this by differentiating each term by using the power rule for differentiation. Which tells us, for real constants π and π, the derivative of ππ₯ to the πth power with respect to π₯ is equal to π times π times π₯ to the power of π minus one. We multiply by the exponent of π₯ and reduce this exponent by one.

So letβs start by differentiating π squared π₯ squared. Weβll multiply by the exponent of π₯, which is two, and then reduce this exponent by one. And we can simplify this. Two minus one is equal to one. And π₯ to the first power is just equal to π₯. To differentiate our second term, weβll rewrite two πππ₯ as two πππ₯ times π₯ to the first power. Now, we can differentiate this by using the power rule for differentiation. Weβll multiply by the exponent of π₯, which is one, and reduce this exponent by one. And we can then simplify this since one minus one is equal to zero. And π₯ to the zeroth power is just equal to one. So this term is just two ππ.

Finally, we could differentiate the constant π squared by writing it as π squared times π₯ to the zeroth power. However, we can also just remember the derivative of any constant is just equal to zero. So this gives us an expression for dπ¦ by dπ₯. And remember, we know the slope is equal to six when π₯ is equal to three. So weβll substitute this information in. This gives us six is equal to two π squared times three plus two ππ. And we can simplify this equation by dividing through by two. And this gives us the equation three is equal to three π squared plus ππ. And remember, any pair of values of π and π which satisfy this equation will mean the slope of our curve is equal to six at the point three, one.

Now, since weβre looking for the pairs of values of π and π, which satisfy both of these properties, they must satisfy both of these equations. This means we need to solve these as simultaneous equations. Thereβs a few different ways of doing this. Weβre going to rewrite the equation three is equal to three π squared plus ππ to make π the subject. Weβll start by subtracting three π squared from both sides. This gives us three minus three π squared is equal to ππ. Next, weβll divide both sides of our equation through by π. And this gives us π is equal to three minus three π squared all divided by π.

We now want to substitute this value of π into our other simultaneous equation. This will give us an equation for all of the values of π which satisfy both of our simultaneous equations. Substituting π is equal to three minus three π squared over π gives us one is equal to nine π squared plus six π times three minus three π squared over π plus three minus three π squared over π squared. At this point, we want to cancel π divided by π. However, we can only do this if π is not equal to zero. So we need to check if π is equal to zero. Letβs take a look at the equation of our curve when π is equal to zero.

When π is equal to zero, the equation of our curve becomes π¦ is equal to π squared. This is just a horizontal line. So in particular, its slope is equal to zero for all values of π₯. But we want the slope to be equal to six at the point three, one. So π cannot be equal to zero. So we can cancel π divided by π. Next, weβll distribute six over our parentheses. This gives us 18 minus 18π squared. Now, weβll distribute the square over the parentheses in our last term. This gives us nine minus 18π squared plus nine π to the fourth power divided by π squared.

Weβll simplify this slightly. Weβll subtract one from both sides of our equation. And 18 minus one is 17. And we have nine π squared minus 18π squared is equal to negative nine π squared. So our equation is now zero is equal to 17 minus nine π squared plus nine minus 18π squared plus nine π to the fourth power divided by π squared. Weβll simplify this by multiplying both sides of our equation through by π squared. And remember, we know that π is not equal to zero.

Multiplying each term by π squared and simplifying, we get zero is equal to 17π squared minus nine π to the fourth power plus nine minus 18π squared plus nine π to the fourth power. And we can now simplify this. Negative nine π to the fourth power plus nine π to the fourth power is equal to zero. And 17π squared minus 18π squared is equal to negative π squared. So we have zero is equal to nine minus π squared. Weβll add π squared to both sides of this equation to see that π squared is equal to nine. And we can solve this for π by taking the square root, remembering we get a positive and a negative result. This means that π is equal to positive or negative three.

And we can now find the corresponding value of π by substituting these values of π into our equation for π. When π is equal to three, we get that π is equal to three minus three times three squared all divided by three, which we can calculate to give us negative eight. And when π is equal to negative three, we get π is equal to three minus three times negative three squared divided by negative three, which we can calculate to give us eight.

So weβve shown if π and π satisfy both of these conditions, then π is equal to three and π is equal to negative eight, or π is equal to negative three and π is equal to positive eight. Weβll write this as π is equal to positive or negative three and then π is equal to negative or positive eight.