All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Flooring a Floor-Ceiling Function (Posted on 2023-04-17) Difficulty: 3 of 5
At the outset, it is known that x is a positive real number.

Determine the minimum value of:

x*floor(x) + floor(1/x) + x + 1/x + x*ceiling(x) + ceiling(1/x)

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution | Comment 2 of 5 |
Well, Charlie beat me again, but here is my solution w/o looking at his.

Graphing the function leads to the observation that the domain of the minimum is a non-integer between 0 and 1, actually between 0.6 and 0.8.  For that domain, the problem formula reduces to (term by term):<o:p></o:p>

0 + integer(1/x) + x + 1/x + x + integer(1/x) + 1 or<o:p></o:p>

2x + 2(integer(1/x)) + 1/x + 1<o:p></o:p>

For the noted domain of 0.6 to 0.8, integer(1/x) is always 1, so we want to minimize:<o:p></o:p>

F(x)  = 2x + 1/x + 3<o:p></o:p>

Taking derivates and setting to zero:  2 + -(x^(-2)) = 0, or x = +- sqrt (1/2), of which +sqrt(1/2) is the value that minimizes the solution which is, with some algebra 2*sqrt(2) +3


Edited on April 17, 2023, 10:13 am

Edited on April 17, 2023, 10:14 am
  Posted by Kenny M on 2023-04-17 10:09:40

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (11)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information