Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 205943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:36:05+00:00 2026-05-11T17:36:05+00:00

I have floor(sqrt(floor(x))) . Which is true: The inner floor is redundant. The outer

  • 0

I have floor(sqrt(floor(x))). Which is true:

  1. The inner floor is redundant.
  2. The outer floor is redundant.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:36:05+00:00Added an answer on May 11, 2026 at 5:36 pm

    Obviously the outer floor is not redundant, since for example, sqrt(2) is not an integer, and thus floor(sqrt(2))≠sqrt(2).

    It is also easy to see that sqrt(floor(x))≠sqrt(x) for non-integer x. Since sqrt is a monotone function.

    We need to find out whether or not floor(sqrt(floor(x)))==floor(sqrt(x)) for all rationals (or reals).

    Let us prove that if sqrt(n)<m then sqrt(n+1)<m+1, for integers m,n. It is easy to see that

    n<m^2 ⇒ n+1 < m^2+1 < m^2+2m+1 = (m+1)^2
    

    Therefor by the fact that sqrt is montone we have that

    sqrt(n) < m -> sqrt(n+1) < m+1 -> sqrt(n+eps)<m+1 for 0<=eps<1
    

    Therefor floor(sqrt(n))=floor(sqrt(n+eps)) for all 0<eps<1 and integer n. Assume otherwise that floor(sqrt(n))=m and floor(sqrt(n+eps))=m+1, and you’ve got a case where sqrt(n)<m+1 however sqrt(n+eps)>=m+1.

    So, assuming the outer floor is needed, the inner floor is redundant.

    To put it otherwise it is always true that

    floor(sqrt(n)) == floor(sqrt(floor(n)))
    

    What about inner ceil?

    It is easy to see that floor(sqrt(n)) ≠ floor(sqrt(ceil(n))). For example

    floor(sqrt(0.001))=0, while floor(sqrt(1))=1
    

    However you can prove in similar way that

    ceil(sqrt(n)) == ceil(sqrt(ceil(n)))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When you have Math.floor(Math.random()*10)+1 its supposed to pick a random number between 1-10 from
I have a UIScrollview with a UIImageview inside it showing a floor plan. I
I have a small remote controlled car going on the room floor. For simplicity
I have this piece of Javascript code: N1 = Math.floor(275 * month / 9)
I have 4 main classes: House, Floor, Room, Asset. An asset is in a
I have the following code to generate two random numbers var attackRoll = Math.floor((Math.random()*6)+1);
Hi i have the following super class class Room: def __init__(self,building,floor,number): self.building=building self.floor=floor self.number=number
Assume I have a C# class like this: [XmlRoot(floors)] public class FloorCollection { [XmlElement(floor)]
I have an NSDecimal in a tight calculations loop, where I need to floor
I have the following function: function getLevel(points) { var level = -1 + Math.sqrt(4

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.