⌊ 4 x ⌋ + ⌈ x ⌉ = x 2 + 4 Find the sum of squares of the solutions to the above equation.
Notations : ⌊ ⋅ ⌋ denotes the floor function and ⌈ ⋅ ⌉ denotes the ceiling function .
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.
Note the left hand side is necessarily integral. So that means x² is integral.
By inspection, x=1 and x=4 are solutions.
However, the condition that x² is an integer does not imply x is an integer.
Looking at the equation x² + 4 = 5x tells us that the integral intersection points are 1 and 4.
When x is outside the domain (0,5), the right hand side is necessarily greater than the left hand side, so no solutions exist, which can be shown using basic inequalities involving the floor and ceiling functions.
It then remains to analytically exhaust all the possible solutions that lie in the interval (0,5)
Such solutions are square roots of integers.
After some exhaustive bashing, the other 3 solutions are √14, √15 and √17
Hence the answer to the question is 1+16+14+15+17=63
Typo: 1 + 1 6 + 1 4 + 1 5 + 1 7 = 6 3 (The box isn't necessary, I just feel like adding it)
Log in to reply
Fixed and thanks for pointing it out
Typo pointer is back :P
Log in to reply
Lol? I never went away
Log in to reply
@Hung Woei Neoh – :P yeah but i am seeing this after a long time because I have started taking care of not making typos in my solutions/questions now because of you.
Relevant wiki: Floor and Ceiling Functions - Problem Solving
Since a − 1 < ⌊ a ⌋ ≤ a and a ≤ ⌈ a ⌉ < a + 1 , the solutions must satisfy 5 x + c = x 2 + 4 with − 1 < c < 1 . Completing the square, ( x − 2 2 1 ) 2 = 2 4 1 − c , so that x = 2 2 1 ± 2 4 1 − c and x 2 ∈ ⟨ 0 . 4 8 6 , 1 . 9 1 0 ⟩ ∪ ⟨ 1 3 . 0 9 0 , 1 8 . 5 1 4 ⟩ . Moreover, since the lhs of the original equation is an integer, x 2 must also be an integer. This limits us to x 2 ∈ { 1 , 1 4 , 1 5 , 1 6 , 1 7 , 1 8 } . Of these possible values, only x 2 = 1 8 does not work out, leaving us with the sum of squares 1 + 1 4 + 1 5 + 1 6 + 1 7 = 6 3 .
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Floor and Ceiling Functions - Problem Solving
⌊ 4 x ⌋ + ⌈ x ⌉ = x 2 + 4
Since the LHS of the equation is integral, the RHS must also be integral, which means that x 2 = n ⟹ x = n , where n is a non-negative integer.
We can assume that the solutions should occur around the solutions of continuous equation (that is equation without the floor and ceiling functions) as follows:
4 x + x x 2 − 5 x + 4 ( x − 1 ) ( x − 4 ) ⟹ x = x 2 + 4 = 0 = 0 = 1 , 4
Checking for solutions around 1 = 1 ,
Checking for solutions around 1 = 1 ,
Therefore the solutions are 1 , 1 4 , 1 5 , 1 6 , and 1 7 . And the sum of squares of solution is 1 + 1 4 + 1 5 + 1 6 + 1 7 = 6 3 .