Ceiling and floor operators used for min max

  • Thread starter Thread starter quantum__2000
  • Start date Start date
  • Tags Tags
    Max Operators
AI Thread Summary
The discussion revolves around the use of ceiling and floor operators as substitutes for min and max functions, specifically the notation \lceil x \rceil^k to represent min(x, k). Participants express skepticism about this notation, labeling it as one of the worst they have encountered due to its potential for confusion with exponents. They highlight the standard definitions of the ceiling function, which gives the smallest integer greater than or equal to x, and the floor function, which provides the largest integer less than or equal to x. The consensus suggests that more conventional notations, such as [x] for floor and ceiling functions, are preferable for clarity. Overall, the thread critiques the unconventional notation while reaffirming established mathematical conventions.
quantum__2000
Messages
1
Reaction score
0
I remember seeing somewhere people using symbols for ceiling and floor operators together with super/subscripts as substitutes for min and max. Example:
\lceil x \rceil ^k
to mean min(x,k).

Has anyone ever seen this? Where? Thanks!
 
Mathematics news on Phys.org
I'm sorry, I haven't seen this. But I just wanted to say that this certainly ranks among the top 10 worst notations I've ever seen.
 
quantum__2000 said:
I remember seeing somewhere people using symbols for ceiling and floor operators together with super/subscripts as substitutes for min and max. Example:
\lceil x \rceil ^k
to mean min(x,k).

Has anyone ever seen this? Where? Thanks!
I haven't seen the notation as you used it, to give the minimum of two numbers, but I have seen this:
##\lceil x \rceil##, also called the smallest integer function. It is defined as being the smallest integer that is greater than or equal to x. Many programming languages, including C, C++, and others, have a ceiling function, ceil(x), that does this.
For example, ##\lceil 1.8 \rceil = 2##.

The counterpart is the floor function, or greatest integer function, denoted ##\lfloor x \rfloor##. C, C++, and others have floor(x). This is defined as the largest integer that is less than or equal to x.
For example, ##\lfloor 2.35 \rfloor = 2##.

I agree with micromass that ##\lceil x \rceil^k## is terrible notation.
 
It would be a reasonable notation for denoting the smallest multiple of k greater than or equal to x. That is, the generalization of ceiling to a modulus other than 1.
 
  • Like
Likes ElijahRockers
Yes, that's definitely incorrect notation and most people will confuse it as exponents. As someone else stated, the notation that is correct and seen in programming languages is [7.8]=8 or [5.1]=5. These are more standard and less likely to be confused.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top