Advanced Math · Hard · 3–4 min

No real solutions with integers

Question ADV-HARD-02

r² + qr = 2r − 63
In the equation shown, q is an integer constant. The equation has no real solutions. What is the greatest possible value of q?

Student-produced response

Solve in the interactive workspace →

Step-by-step explanation

Graph the discriminant’s allowed parameter range.

Step 1: Write the no-real-solutions test

(q-2)2-4(1)(63)<0

The equation is r² + qr = 2r − 63. Move everything left: r² + (q−2)r + 63 = 0. It has no real solutions when the number under the quadratic formula’s square root is negative. Type (q−2)²−4(1)(63)<0.

Desmos can’t draw this yet because q has no value. Next we let the graph show every q that works.

Why this helps: That number is B² − 4AC, called the discriminant. Here A = 1 (on r²), B = q − 2 (on r) and C = 63. A negative number has no real square root, so there are no real solutions.

Step 2: Graph all candidate parameter values

(x-2)2-4(1)(63)<0

Change the same row to (x−2)²−4(1)(63)<0. We just renamed q as x.

This isn’t a graph of the original equation. It’s a picture of which q-values are allowed.

Why this helps: Desmos uses x for its horizontal axis. So a point at x = 17 on this graph means “try q = 17.” The shaded part shows every q that passes the test.

Step 3: Read the excluded boundary coordinates

(x-2)2-4(1)(63)<0

Read the open edges of the shaded band: about −13.8745 and 17.8745. These are q-values, because q is on the horizontal axis.

The dashed edge lines mean “not included.”

Why this helps: Open edges are left out: at an edge the discriminant equals 0, which gives one repeated real solution, not none. q must be an integer, so 17 is inside and 18 is outside.

Step 4: Choose the greatest allowed integer

ceil(2+67)-1

Type ceil(2+6√7)−1. Desmos gives 17.

This works even if an edge were a whole number, because the edge itself is never allowed. The answer is 17.

Why this helps: The upper edge is exactly 2 + 6√7 (since √252 = 6√7). ceil rounds up to 18, and subtracting 1 gives the last integer below the edge: 17.

Hand explanation

Step 1: Move all terms to one side to obtain r²+(q−2)r+63=0

Move all terms to one side to obtain r²+(q−2)r+63=0. In the quadratic formula, the quantity under the square root is (q−2)²−4(1)(63).

Step 2: No real roots requires this quantity to be negative, because a real square…

No real roots requires this quantity to be negative, because a real square root cannot have a negative input. Thus (q−2)²<252, or |q−2|<√252≈15.875.

Step 3: The upper boundary is q<17.875, so the greatest integer candidate is 17

The upper boundary is q<17.875, so the greatest integer candidate is 17. Check it: (17−2)²−252=−27<0.

Step 4: At q=18 the value is 4>0, so the next integer fails

At q=18 the value is 4>0, so the next integer fails.

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

17

Show answer

17

Brief video explanation

A focused walkthrough of graphing both sides and using the q slider to find the greatest integer with no real solutions.

Related practice