Advanced Math · Hard · 3–4 min

Polynomial identities

Question ADV-HARD-01

(ax + 4)(3x² − bx + 5) = 18x³ − 6x² + 18x + 20
The equation shown is true for all x, where a and b are constants. What is the value of ab?
  1. 1212
  2. 1515
  3. 1818
  4. 2424
Solve in the interactive workspace →

Step-by-step explanation

Fit the original identity across several inputs.

Step 1: Match both expressions across the list

(ax1+4)(3x12-bx1+5)∼18x13-6x12+18x1+20

Type both sides with x₁ in place of x and ~ in place of =: (ax₁+4)(3x₁²−bx₁+5) ~ 18x₁³−6x₁²+18x₁+20.

Type x_1. There’s no x₁ list yet, so this row is unfinished. The next row gives it inputs.

Why this helps: The ~ tells Desmos to find the a and b that make both sides give the same output.

Step 2: Add ten random allowed inputs

x1=random(10)

The equation is true for all x. Type x₁=random(10).

Check: (6x+4)(3x²−3x+5) = 18x³ − 18x² + 12x² + 30x − 12x + 20 = 18x³ − 6x² + 18x + 20. It matches.

Why this helps: random(10) makes a list of 10 random inputs. It doesn’t mean the number 10. Desmos has to use the same a and b for all 10, so it finds a = 6 and b = 3.

Step 3: Calculate the requested product

ab

They ask for ab. Type ab. Desmos gives 18.

Neither a nor b alone is the answer.

Why this helps: ab means a times b: 6 × 3 = 18.

Hand explanation

Step 1: Because the equation holds for all x, the coefficients of matching powers …

Because the equation holds for all x, the coefficients of matching powers must agree. Multiplying the ax term by 3x² produces the x³ coefficient 3a, so 3a=18 and a=6.

Step 2: The x² terms combine to −ab+12, and the other side has x² coefficient −6

The x² terms combine to −ab+12, and the other side has x² coefficient −6. Thus −ab+12=−6.

Step 3: Subtract 12 to obtain −ab=−18, and multiply by −1 to get ab=18

Subtract 12 to obtain −ab=−18, and multiply by −1 to get ab=18. We can find the requested product directly without separately calculating b.

Step 4: Your answer

Return to the question and compare the quantity you found with what it asks for. Explain the last calculation in your own words before opening the answer check.

Check your answer

C: 18

Show answer

18

Related practice