Integral part and fractional part

Algebra Level 4

On your calculator you have the number 4 + 7 + 53 2 4.14005494464 4 + \frac{ -7 + \sqrt{53} } { 2} \approx 4.14005494464 and by mistake you hit the key that squares the number giving you 17 + 7 + 53 2 17.14005494464 17 + \frac{ -7 + \sqrt{53} } { 2} \approx 17.14005494464 .

You notice that the whole number part of the number and the whole number part of the square of the number has changed (4 to 17) but that the decimal parts of both are still the same.

How many numbers strictly between 4 and 5 have that property? (That is, when you square the number, the whole number part changes but the decimal part remains the same.)


The answer is 7.

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.

1 solution

Otto Bretscher
Sep 15, 2015

Interesting problem!

We want f ( x ) = x 2 x f(x)=x^2-x to be an integer. Since f ( 4 ) = 12 f(4)=12 and f ( 5 ) = 20 f(5)=20 , there are 7 \boxed{7} such numbers x x , with f ( x ) = 13 , . . , 19 f(x)=13,..,19 .

Please Elaborate..

Sagar Shah - 5 years, 9 months ago

Log in to reply

"The decimal part stays the same" means that we want f ( x ) = x 2 x f(x)=x^2-x to be an integer. (In the example given in the problem, that integer is 17.14005 4.14005 = 13. 17.14005-4.14005=13. ) Since f ( x ) = x 2 x f(x)=x^2-x on [ 4 , 5 ] [4,5] is an increasing, continuous function, with range [ f ( 4 ) , f ( 5 ) ] = [ 12 , 20 ] [f(4),f(5)]=[12,20] , the 7 integers 13, 14,...19 are in the range.

Otto Bretscher - 5 years, 9 months ago

Log in to reply

That's nice. Thanks.

Nehemiah Osei - 5 years, 8 months ago

Is this an application of the Intermediate Value Theorem?

Andrew Ellinor - 5 years, 7 months ago

Log in to reply

@Andrew Ellinor Yes, we certainly use the intermediate value theorem, and also the fact that f ( x ) f(x) is increasing.

Otto Bretscher - 5 years, 7 months ago

Excellent solution !! Mine was a little bigger (instead of finding the count of such numbers I tried to find there form and then counted all of them.). Try generalizing the problem for finding the general form of such numbers lying between any two integer n n and n + 1 n + 1 .

Utsav Bhardwaj - 5 years, 7 months ago

If I may ask. Why isn't the equation f ( x ) = x 2 x + 1 f(x)=x^2-x+1

Nehemiah Osei - 5 years, 7 months ago

Log in to reply

It is given that the numbers and their square have the same fractional part i.e.

{ x } = { x 2 } \large\displaystyle \left\{x\right\} = \left\{x^2\right\}

(Here { x } \left\{x\right\} = fractional part of x )

Now x = x + { x } x = \lfloor x \rfloor + \left\{x\right\}

x 2 = x 2 + { x 2 } = x 2 + { x } x^2 = \lfloor x^2 \rfloor + \left\{x^2\right\} = \lfloor x^2 \rfloor + \left\{x\right\}

Therefore x 2 x = x 2 + { x } x + { x } = x 2 x = i n t e g e r x^2 - x = \lfloor x^2 \rfloor + \left\{x\right\} - \lfloor x \rfloor + \left\{x\right\} = \lfloor x^2 \rfloor - \lfloor x \rfloor = integer

Therefore for obtaining the no. of such integers between 4 4 and 5 5 we need to count the no. of integer solutions between f ( 4 ) f\left(4\right) and f ( 5 ) f\left(5\right) where f ( x ) = x 2 x f\left(x\right) = x^2 - x which is 7.

Also the numbers are of the form

4 + 7 + 49 + 4 n 2 \large\displaystyle 4 + \frac{-7+\sqrt{49 + 4n}}{2} where n [ 1 , 7 ] n\in\left[1,7\right]

and can be obtained by solving the quadratics

a 2 + a = a + 1 a^2 + a = a + 1

a 2 + a = a + 2 a^2 + a = a + 2

a 2 + a = a + 3 a^2 + a = a + 3

a 2 + a = a + 4 a^2 + a = a + 4

a 2 + a = a + 5 a^2 + a = a + 5

a 2 + a = a + 6 a^2 + a = a + 6

a 2 + a = a + 7 a^2 + a = a + 7

Here a represents the fractional part of x x .

Utsav Bhardwaj - 5 years, 7 months ago

You could use either function: x 2 x x^2-x is an integer iff x 2 x + 1 x^2-x+1 is ;)

Otto Bretscher - 5 years, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...