Why is the floor implemented?

Algebra Level 4

x 2 6 x + 5 = 0 \large x^2 - 6\left\lfloor x\right\rfloor + 5 = 0

Find the sum of squares of the solutions to the above equation.


The answer is 65.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Pranshu Gaba
Jun 26, 2015

We can subtract 6 { x } 6\{ x\} from both sides of the equation, where { x } \{x\} is the fractional part of x x . We get

x 2 6 x + 5 = 6 { x } x^2 - 6x + 5 = - 6\{x\}

We know 6 { x } -6\{x\} has the range [ 0 , 6 ) [0, -6) , so we find the values of x x for which the LHS lies in this range.

x 2 6 x + 5 x^2 - 6x + 5 can be factorized to ( x 1 ) ( x 5 ) (x -1 )(x - 5) . Its minimum will occur at x = 1 + 5 2 = 3 x = \frac{1 + 5}{2} = 3 . Its minimum value is 4 -4 which is greater than 6 -6 , so for x [ 1 , 5 ] , ( x 1 ) ( x 5 ) x \in [1, 5], (x-1)(x-5) will lie in [ 0 , 6 ) [0, -6) , and we will find roots only in this interval.


We can now rewrite the original equation as x 2 = 6 x 5 x^2 = 6 \lfloor x \rfloor - 5 .

For x [ 1 , 2 ) x \in [1, 2) , x = 1 x 2 = 6 × 1 5 x = + 1 \lfloor x \rfloor = 1 \implies x^2 = 6 \times 1 - 5 \iff x = +1 .

For x [ 2 , 3 ) x \in [2, 3) , x = 2 x 2 = 6 × 2 5 x = + 7 \lfloor x \rfloor = 2 \implies x^2 = 6 \times 2 - 5 \iff x = +\sqrt{7}

For x [ 3 , 4 ) x \in [3, 4) , x = 3 x 2 = 6 × 3 5 x = + 13 \lfloor x \rfloor = 3 \implies x^2 = 6 \times 3 - 5 \iff x = +\sqrt{13}

For x [ 4 , 5 ) x \in [4, 5) , x = 4 x 2 = 6 × 4 5 x = + 19 \lfloor x \rfloor = 4 \implies x^2 = 6 \times 4 -5 \iff x = +\sqrt{19}

For x = 5 x = 5 , x = 5 x 2 = 6 × 5 5 x = + 5 \lfloor x \rfloor = 5 \implies x^2 = 6 \times 5- 5 \iff x = +5 is a root.

(We have considered only the positive roots since in case x x lies in a positive interval.)

Sum of squares of roots is 1 + 7 + 13 + 19 + 25 = 65 1 + 7 + 13 + 19 + 25 = \boxed{65} . ~_\square

Moderator note:

Nicely done.

We have to first determine the possible range or solutions, and then check each of these cases.

Same way! Nice solution

Shreyash Rai - 5 years, 5 months ago
Prasun Biswas
Jun 26, 2015

Rewrite the equation as follows:

x 2 = 6 x 5 x^2=6\left\lfloor x\right\rfloor-5

Now, by the trivial inequality , we have,

6 x 5 = x 2 0 x 5 6 = 0.8 3 6\left\lfloor x\right\rfloor-5=x^2\geq 0\implies \left\lfloor x\right\rfloor\geq\frac 56=0.8\overline{3}

But since the floor function only returns integer values, we should have,

x 0.8 3 = 1 x 1 \left\lfloor x\right\rfloor\geq\left\lceil 0.8\overline{3}\right\rceil=1\iff x\geq 1

Further, note that if x [ m , m + 1 ) x\in [m,m+1) for some positive integer m m , we have,

x 2 [ m 2 , ( m + 1 ) 2 ) and 6 x 5 = 6 m 5 x^2\in [m^2,(m+1)^2)\quad\textrm{and}\quad 6\left\lfloor x\right\rfloor-5=6m-5

For equality to hold between the two expressions, we must have,

m 2 6 m 5 < ( m + 1 ) 2 1 m 5 m^2\leq 6m-5\lt (m+1)^2\iff 1\leq m\leq 5

The above mentioned inequality is obtained by solving the inequality with the lower bound as follows:

m 2 6 m 5 ( m 5 ) ( m 1 ) 0 m^2\leq 6m-5\iff (m-5)(m-1)\leq 0

The rest follows by using the fact that a b 0 ab\leq 0 implies that one of a , b a,b is 0 \leq 0 and the other is 0 \geq 0 . You get two cases. Reject the absurd case and give the solution set as m [ 1 , 5 ] m\in [1,5] using the correct case.

The upper bound is always maintained regardless of the value of m m because ( m + 1 ) 2 6 m + 5 = ( m 2 ) 2 + 2 2 > 0 m Z + (m+1)^2-6m+5=(m-2)^2+2\geq 2\gt 0~\forall~m\in\Bbb{Z^+} by the trivial inequality.

Hence, from all this, we can conclude that we have, for solutions x x to this equation,

x 2 = 6 m 5 1 m 5 m Z + x^2=6m-5~\forall~1\leq m\leq 5~\land~m\in\Bbb{Z^+}

The required sum can be evaluated using the result above as,

x x 2 = m = 1 5 ( 6 m 5 ) = 6 ( m = 1 5 m ) 5 × 5 = 6 5 × 6 2 25 = 90 25 = 65 \begin{aligned}\sum_x x^2=\sum_{m=1}^5(6m-5)&=6\left(\sum_{m=1}^5m\right)-5\times 5\\&=6\cdot\frac{5\times 6}{2}-25=90-25=\boxed{65}\end{aligned}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...