Given that x is an integer which satisfies the set of constraints below:
⎩ ⎪ ⎪ ⎨ ⎪ ⎪ ⎧ x ≥ 0 x + 1 0 0 9 ≤ 2 0 1 8 ( x 2 0 1 8 ) ≥ ( x + 1 0 0 9 2 0 1 8 )
Find the number of possible values for x .
You can try more of my fundamental problems here .
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.
⎩ ⎪ ⎨ ⎪ ⎧ x ≥ 0 x + 1 0 0 9 ≤ 2 0 1 8 ( x 2 0 1 8 ) ≥ ( x + 1 0 0 9 2 0 1 8 )
The first two inequalities give us 0 ≤ x ≤ 1 0 0 9
( x + 1 0 0 9 2 0 1 8 ) = ( 1 0 0 9 − x 2 0 1 8 )
See the proof here .
⇒ ( x 2 0 1 8 ) ≥ ( 1 0 0 9 − x 2 0 1 8 )
When x = 0 , ( x 2 0 1 8 ) = ( 0 2 0 1 8 ) , ( 1 0 0 9 − x 2 0 1 8 ) = ( 1 0 0 9 2 0 1 8 )
When x = 1 , ( x 2 0 1 8 ) = ( 1 2 0 1 8 ) , ( 1 0 0 9 − x 2 0 1 8 ) = ( 1 0 0 8 2 0 1 8 )
When x = 2 , ( x 2 0 1 8 ) = ( 2 2 0 1 8 ) , ( 1 0 0 9 − x 2 0 1 8 ) = ( 1 0 0 7 2 0 1 8 )
...
When x = 5 0 4 , ( x 2 0 1 8 ) = ( 5 0 4 2 0 1 8 ) , ( 1 0 0 9 − x 2 0 1 8 ) = ( 5 0 5 2 0 1 8 )
When x = 5 0 5 , ( x 2 0 1 8 ) = ( 5 0 5 2 0 1 8 ) , ( 1 0 0 9 − x 2 0 1 8 ) = ( 5 0 4 2 0 1 8 )
...
When x = 1 0 0 7 , ( x 2 0 1 8 ) = ( 1 0 0 7 2 0 1 8 ) , ( 1 0 0 9 − x 2 0 1 8 ) = ( 2 2 0 1 8 )
When x = 1 0 0 8 , ( x 2 0 1 8 ) = ( 1 0 0 8 2 0 1 8 ) , ( 1 0 0 9 − x 2 0 1 8 ) = ( 1 2 0 1 8 )
When x = 1 0 0 9 , ( x 2 0 1 8 ) = ( 1 0 0 9 2 0 1 8 ) , ( 1 0 0 9 − x 2 0 1 8 ) = ( 0 2 0 1 8 )
Notice that the values of both sides are interchanged throughout the process of substituting values.
From x = 0 to x = 1 0 0 9 , there are a total of 1 0 0 9 + 1 = 1 0 1 0 values
∴ the number of possible values for x = 2 1 0 1 0 = 5 0 5 ,
which starts from x = 5 0 5 all the way to x = 1 0 0 9
Problem Loading...
Note Loading...
Set Loading...
From the first two constraints, we have 0 ≤ x ≤ 1 0 0 9 . Then ( x 2 0 1 8 ) ≥ ( x + 1 0 0 9 2 0 1 8 ) = ( 2 0 1 8 − ( x + 1 0 0 9 ) 2 0 1 8 ) = ( 1 0 0 9 − x 2 0 1 8 )
For 0 ≤ x ≤ 1 0 0 9 , ( x 2 0 1 8 ) ≥ ( 1 0 0 9 − x 2 0 1 8 ) if x ≥ 1 0 0 9 − x , ⟹ 2 x ≥ 1 0 0 9 , ⟹ x ≥ 5 0 5 . Therefore, 5 0 5 ≤ x ≤ 1 0 0 9 , altogether 5 0 5 possible values.