Student-produced response
Advanced Math · Hard · 2–3 min
Polynomials
Question HB2-ADV-008
Step-by-step explanation
Inspect the intercepts, then fit every distinct root and its sum.
Step 1: Define the original equation as a zero-output function
The equation is a product set to zero. Name the whole left side: type f(x)=(3x+p)(5x²−80)(2x²−16x+6p).
p is still a letter, so Desmos can’t draw f yet. Next we give p a temporary example value just to look.
Why this helps: A product is 0 when any factor is 0. So every x where f crosses the x-axis is a solution.
Step 2: Temporarily set p to an allowed example
Type p=1. This is our own example value, not the answer.
We’ll delete this row before solving. Otherwise Desmos would keep p stuck at 1.
Why this helps: We only want to see the graph so we can count the solutions. The question says p is positive, and 1 is positive.
Step 3: Count the distinct x-intercepts
Look at the graph: 5 different x-axis crossings.
The other three move when p changes. We’ll keep −4 and 4 as fixed numbers and name the other three x₁, x₂ and x₃.
Why this helps: Two of them come from 5x²−80, which is 0 at −4 and 4. That factor has no p, so those two never move.
Step 4: Delete the temporary p slider
Delete the p = 1 row.
Keep the f(x) row. The graph may disappear or show a warning until the fit is in.
Why this helps: A row like p = 1 locks p to that number. Deleting it lets the regression find p.
Step 5: Match zero output for root position 1
The factor 5x²−80 is 0 at x = −4, whatever p is, so the whole product is 0 there. Type [f(−4)] ~ [0].
We use −4 directly because that factor already fixes it. The x₁, x₂, x₃ names come next for the solutions we still need to find.
Why this helps: The brackets pair f(−4) with 0, meaning f(−4) = 0. The ~ tells Desmos to adjust the unknowns until the pairs match.
Step 6: Match zero output for root position 2
Add the next solution: change the row to [f(−4), f(x₁)] ~ [0, 0].
Type x_1 for x₁. It’s a name for a number Desmos will find. The numbers it shows now are unfinished.
Why this helps: f(x₁) = 0 means x₁ is a solution. Lists pair by position: second item with second item.
Step 7: Match zero output for root position 3
Add f(x₂) on the left and 0 on the right.
The comma adds another match. It doesn’t add the values together.
Why this helps: Now x₂ has to be a solution too, using the same p.
Step 8: Match zero output for root position 4
Add the other fixed solution: f(4) on the left and 0 on the right.
So far: −4, x₁, x₂ and 4 all make f zero.
Why this helps: 5x²−80 is also 0 at x = 4, for any p.
Step 9: Match zero output for root position 5
Add the last solution: f(x₃) on the left and 0 on the right.
Still unfinished: nothing has used the sum yet.
Why this helps: That’s all five solutions we counted on the graph.
Step 10: Append the given sum of solution inputs
They say the sum of the solutions is 20/3. Add −4+x₁+x₂+4+x₃ on the left and 20/3 on the right.
Everything stays in one row, so Desmos uses one p for every match.
Why this helps: We add the solutions themselves (the x-values), not their outputs, which are 0.
Step 11: Force all root inputs to be different
Add {−4<x₁<0<x₂<4<x₃<8} to the end of the row.
Without this, Desmos could put two names on the same crossing and count it twice in the sum.
Why this helps: Read it left to right: x₁ is between −4 and 0, x₂ between 0 and 4, x₃ between 4 and 8. Each name gets its own crossing.
Step 12: Keep the original condition p>0
The question says p is positive. Add {p>0} too.
A tiny RMSE isn’t enough on its own. The fit also has to follow every condition in the question.
Why this helps: The first restriction keeps the solutions different; this one keeps p allowed. We need both.
Step 13: Read the requested value
Type p. Desmos gives p = 4.
The answer came from the fit, not from our example value 1.
Why this helps: Check: with p = 4 the solutions are −4, −4/3, 2, 4 and 6. Their sum is −4 − 4/3 + 2 + 4 + 6 = 20/3, and p is positive.
Hand explanation
Step 1: A product equals zero when one of its factors equals zero
A product equals zero when one of its factors equals zero. The linear factor gives x=−p/3.
Step 2: The middle factor gives x=±4, whose sum is zero
The middle factor gives x=±4, whose sum is zero. For the last factor, divide by 2 to obtain x²−8x+3p=0.
Step 3: Expanding (x−r)(x−s) shows that its two roots sum to 8
Expanding (x−r)(x−s) shows that its two roots sum to 8. Therefore the full root sum is −p/3+0+8=20/3.
Step 4: Multiply by 3
Multiply by 3: −p+24=20, so p=4. At that value the last factor has roots 2 and 6; all five roots −4/3,−4,4,2,6 are real and different.
Step 5: 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
4
Show answer
4
Brief video explanation
A brief Desmos walkthrough with synchronized captions and clear visual guidance.