One day, Jack and Jill was bored. Jill then asked Jack a question: "Hey Jack, see if you can figure the answer, I've got two real POSITIVE values and their properties are:
1. Their sum is equal to their product.
2. Their sum is equal to their squares' difference.
Can you help Jack find the answer? From the information given, take the floor function of each value and add the results together.
Clarification: Floor Function : = the largest integer that is smaller or equal to . For example, and
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.
Let x and y be the two distinct real POSITIVE values
(Eqn 1) x + y = x y
(Eqn 2) x + y = x 2 − y 2
x + y = x 2 − y 2 x + y = ( x + y ) ( x − y ) 1 = x − y (Eqn 3) y = x − 1
Substitute y from Eqn3 in Eqn1 x + ( x − 1 ) = x ( x − 1 ) 2 x − 1 = x 2 − x x 2 − 3 x + 1 = 0
By quadratic formula x = 2 ( 1 ) − ( − 3 ) ± ( − 3 ) 2 − 4 ( 1 ) ( 1 ) x = 2 3 ± 5
x ≈ 2 . 6 1 8
x ≈ 0 . 3 8 1 9 (Extraneous solution because it is paired to a negative value of y.)
Substitute x in Eqn3 y ≈ 2 . 6 1 8 − 1 y ≈ 1 . 6 1 8
y ≈ 0 . 3 8 1 9 − 1 y ≈ − 0 . 6 1 8 1 (Extraneous solution because we need only positive values)
Taking the floor function of each value.
⌊ x ⌋ = ⌊ 2 . 6 1 8 ⌋ = 2 and ⌊ y ⌋ = ⌊ 1 . 6 1 8 ⌋ = 1
Adding the result
⌊ x ⌋ + ⌊ y ⌋ = 2 + 1 = 3