Question 228·Hard·Equivalent Expressions
In the expression above, is a real constant. If the expression is equivalent to for all , which of the following could be the value of ?
When an expression with a variable in the coefficients is said to be equivalent to another expression for all (except where undefined), clear any denominators so you get a polynomial identity. Expand both sides, then match coefficients of like powers of —often only one coefficient (like the constant term) gives a simple linear equation in the unknown parameter. Solving that small equation is much faster and more reliable than plugging in random -values or trying to do polynomial long division repeatedly for each answer choice.
Hints
Eliminate the fraction
Start by getting rid of the denominator. Since the expression is equal to for all , what can you multiply both sides by so that the denominator disappears?
Relate the numerator to a product
After you clear the denominator, you should get an equation where equals a product involving and . Write that equation explicitly.
Expand and compare
Carefully expand and compare the result to . Which parts (coefficients of , of , and the constant terms) must match?
Focus on the constant term
Notice that the and coefficients on both sides already match automatically. Use the constant terms to set up a simple linear equation in and solve it.
Desmos Guide
Enter the two expressions with a slider for k
In one expression line, type y = (x^2 + kx + 6)/(x + 3) and in another line type y = x + k - 3. When you type k, Desmos will prompt you to add a slider; create the slider for .
Test each answer choice for k
Use the slider (or type directly into the slider box) to set equal to each of the answer choices: 4, 5, 6, and 8. For each value, look at the graphs of the two expressions.
Check for complete overlap of the graphs
For the correct value of , the two graphs should lie exactly on top of each other for all -values except possibly at , where the rational expression has a hole. For the incorrect values of , the two graphs will not coincide everywhere (they may intersect in a few points but will not be the same line).
Optional: Graph the difference to confirm
Add a third expression: y = (x^2 + kx + 6)/(x + 3) - (x + k - 3). For the correct value of , this graph will be the horizontal line (except possibly at ). For other values of , the graph will not be identically zero.
Step-by-step Explanation
Clear the denominator
Because the two expressions are equal for all , you can multiply both sides by (which is never zero on the allowed domain) to remove the denominator:
Multiply both sides by :
So the numerator must satisfy
Expand the product on the right-hand side
Now expand step by step.
First distribute :
Then expand each term:
Add them together:
Combine the terms to get :
Match the constant terms and solve for k
From Step 1 and the expansion in Step 2, you now have
Because these polynomials are equal for all , their constant terms must be equal:
Solve for :
Add 9 to both sides:
Divide both sides by 3:
So the value of is 5, which corresponds to answer choice B.