# Question Video: Solving Quadratic Equations by Equating a Given Quadratic Function with a Given Value Mathematics

Find all possible values of π₯ satisfying π(π₯) = π₯Β² + 9π₯ + 2 and π(π₯) = β16 given π₯ β β€.

02:52

### Video Transcript

Find all possible values of π₯ satisfying π of π₯ is equal to π₯ squared plus nine π₯ plus two and π of π₯ is equal to negative 16, given that π₯ is in the set of integers.

Weβre given this quadratic equation π of π₯ equals π₯ squared plus nine π₯ plus two. And weβre trying to answer the question, for what π₯-values will this function be equal to negative 16? If weβre going to solve this algebraically, we take our function π of π₯ is equal to π₯ squared plus nine π₯ plus two. And in place of π of π₯, weβre going to substitute negative 16 so that we have a new equation that says negative 16 is equal to π₯ squared plus nine π₯ plus two.

But to solve a quadratic like this, we want to set it equal to zero. And we can do that by adding 16 to both sides of this equation. Now we have zero equals π₯ squared plus nine π₯ plus 18. It seems like we can probably solve this by factoring. So we break up our π₯ squared into π₯ times π₯. And then weβre looking for two values that when multiplied together equal positive 18 and when added together equal nine. We have three times six, which multiply together to equal 18 and add together to equal nine. This means π₯ squared plus nine π₯ plus 18 can be broken up into the two terms π₯ plus three times π₯ plus six.

To solve for π₯, we set both of these equations equal to zero. On the left, we subtract three from both sides, and we see that π₯ equals negative three. On the right, we subtract six from both sides, and we see that π₯ equals negative six. If we wanted to check that we have found the correct values for π₯ that satisfy this equation, we would want to check that negative 16 is equal to negative three squared plus nine times negative three plus two. We get nine minus 27 plus two, which is equal to negative 16. And that verifies negative three as a solution.

Weβll use the same procedure to check for negative six. Negative 16 is equal to negative six squared plus nine times negative six plus two. Weβll get 36 minus 54 plus two, which is negative 16 and therefore verifies the π₯ equals negative six solution. Itβs also true that negative three and negative six are integers. So we can say all possible values of π₯ are negative three and negative six.