Advanced Math · Hard · 2–3 min

Quadratic functions

Question HB2-ADV-152

nx2−16x=28x2−8nx^(2) − 16x = 28x^(2) − 8
In the given equation, n is an integer constant. If the equation has two distinct real solutions, what is the greatest possible value of n?

Student-produced response

Solve in the interactive workspace →

Step-by-step explanation

Graph the equation once and count its x-axis intersections.

Step 1: Plot the complete equation in one row

nx2-16x=28x2-8

Type the equation exactly: nx²−16x=28x²−8. No y=, and don’t split it into two sides.

n isn’t set yet, so the graph may be empty. Next we give n a trial value.

Why this helps: There’s no y, so Desmos draws a vertical line at each x that makes the two sides equal. Each line is one solution.

Step 2: Try n=35 and read two solution inputs

n=35

Set n=35. Two vertical lines appear, crossing the x-axis at about 0.7388 and 1.5469.

The slider moves in whole numbers because n is an integer. The 34 to 40 range is just where we’re looking.

Why this helps: Two different x-values means two solutions. So 35 works. But is it the greatest?

Step 3: At n=36 the two solutions merge into one

n=36

Move n to 36. Now there’s only one line, at x = 1.

At n = 36 the equation becomes 8(x−1)² = 0, and only x = 1 solves that.

Why this helps: The two solutions merged into one. The question needs two distinct solutions, so 36 fails.

Step 4: A larger integer has no solution line

n=37

Move n to 37. No lines at all.

The blank graph is a real result, not a problem with the window.

Why this helps: No x makes the two sides equal, so there are no solutions. 37 fails.

Step 5: Return to the greatest valid integer

n=35

Put n back to 35. The answer is 35.

Report 35, not the decimal solutions.

Why this helps: Why does every n above 36 fail? Left side minus right side equals 8(x−1)² + (n−36)x². For n > 36 both parts are 0 or more, so both would have to be 0. That needs x = 1 and x = 0 at the same time, which can’t happen.

Hand explanation

Step 1: Collect terms

Collect terms: (n−28)x²−16x+8=0. If n=28 the quadratic term vanishes and only one linear solution remains, so exclude that setting.

Step 2: Otherwise two distinct real roots require discriminant (−16)²−4(n−28)8>0

Otherwise two distinct real roots require discriminant (−16)²−4(n−28)8>0. Simplifying gives 256−32(n−28)>0, or n<36.

Step 3: The greatest allowed integer is 35

The greatest allowed integer is 35. At 36 the two roots coincide, so it cannot qualify.

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

35

Show answer

35

Brief video explanation

A 50-second walkthrough of graphing one equation and using an integer slider to find the greatest n with two distinct solutions.

Related practice