Die Abrundungsfunktion (auch Gaußklammer , Ganzzahl-Funktion , Ganzteilfunktion oder Entier-Klammer ) und die Aufrundungsfunktion sind Funktionen, die jeder reellen Zahl die nächstliegende nicht größere bzw. nicht kleinere ganze Zahl zuordnen. Die Notation wurde nach Carl Friedrich Gauß benannt, der das Symbol [ x ] {\displaystyle \left[x\right]} für die Abrundungsfunktion 1808 einführte. Ende des 20. Jahrhunderts verbreiteten sich auch die von Kenneth E. Iverson eingeführten Bezeichnungen floor ( x ) {\displaystyle \operatorname {floor} (x)} und ⌊ x ⌋ {\displaystyle \lfloor x\rfloor } (englisch floor „Boden“) für die Gaußklammer sowie ceil ( x ) {\displaystyle \operatorname {ceil} (x)} und ⌈ x ⌉ {\displaystyle \lceil x\rceil } (englisch ceiling „Decke“) für die Aufrundungsfunktion. Im Deutschen bezieht sich das Wort Gaußklammer ohne weitere Zusätze meist auf die ursprüngliche von Gauß verwendete Notation. Für die von Iverson eingeführten Varianten werden dann zur Unterscheidung die Bezeichnungen untere Gaußklammer und obere Gaußklammer verwendet.
Zeichensatz Die Zeichen für die Abrundungs- und Aufrundungsfunktion sind weiterentwickelte eckige Klammern und können in den verschiedenen Umgebungen folgendermaßen kodiert werden:
LEFT FLOOR ⌊ U+230A (HTML ⌊ ⌊) RIGHT FLOOR ⌋ U+230B (HTML ⌋ ⌋) LEFT CEILING ⌈ U+2308 (HTML ⌈ ⌈) RIGHT CEILING ⌉ U+2309 (HTML ⌉ ⌉)
Im Textsatzsystem LaTeX können diese Zeichen im math-Modus als \lfloor, \rfloor, \lceil und \rceil oder seit 2018 auch direkt als Unicode-Zeichen angegeben werden.
Abrundungsfunktion oder Gaußklammer
Definition Für eine reelle Zahl x {\displaystyle x} ist ⌊ x ⌋ {\displaystyle \lfloor x\rfloor } die größte ganze Zahl , die kleiner oder gleich x {\displaystyle x} ist:
⌊ x ⌋ := max { k ∈ Z ∣ k ≤ x } {\displaystyle \lfloor x\rfloor :=\max\{k\in \mathbb {Z} \mid k\leq x\}}
Beispiele ⌊ 2 , 8 ⌋ = 2 {\displaystyle \lfloor 2{,}8\rfloor =2} ⌊ − 2 , 8 ⌋ = − 3 {\displaystyle \lfloor -2{,}8\rfloor =-3} Man beachte, dass ⌊ − 2 , 8 ⌋ {\displaystyle \lfloor -2{,}8\rfloor } nicht etwa gleich − 2 {\displaystyle -2} ist. Die Definition verlangt ja ⌊ x ⌋ ≤ x {\displaystyle \lfloor x\rfloor \leq x} , und es ist − 2 > − 2 , 8 {\displaystyle -2>-2{,}8} . ⌊ − 2 , 2 ⌋ = − 3 {\displaystyle \lfloor -2{,}2\rfloor =-3} ⌊ 2 ⌋ = 2 {\displaystyle \lfloor 2\rfloor =2}
Eigenschaften Für alle k ∈ Z , x ∈ R {\displaystyle k\in \mathbb {Z} ,x\in \mathbb {R} } gilt k ≤ ⌊ x ⌋ ⟺ k ≤ x {\displaystyle k\leq \lfloor x\rfloor \Longleftrightarrow k\leq x} . Es gilt immer ⌊ x ⌋ ≤ x < ⌊ x ⌋ + 1 {\displaystyle \lfloor x\rfloor \leq x<\lfloor x\rfloor +1} . Dabei ist ⌊ x ⌋ = x {\displaystyle \lfloor x\rfloor =x} genau dann, wenn x {\displaystyle x} eine ganze Zahl ist. Für jede ganze Zahl k {\displaystyle k} und jede reelle Zahl x {\displaystyle x} gilt ⌊ x + k ⌋ = ⌊ x ⌋ + k {\displaystyle \lfloor x+k\rfloor =\lfloor x\rfloor +k} . Für alle reellen Zahlen x , y {\displaystyle x,y} gilt ⌊ x ⌋ + ⌊ y ⌋ ≤ ⌊ x + y ⌋ ≤ ⌊ x ⌋ + ⌊ y ⌋ + 1 {\displaystyle \lfloor x\rfloor +\lfloor y\rfloor \leq \lfloor x+y\rfloor \leq \lfloor x\rfloor +\lfloor y\rfloor +1} . Für jede ganze Zahl k {\displaystyle k} und jede natürliche Zahl n {\displaystyle n} gilt ⌊ k n ⌋ ≥ k − n + 1 n {\displaystyle \left\lfloor {\frac {k}{n}}\right\rfloor \geq {\frac {k-n+1}{n}}} . Die Abrundungsfunktion ist idempotent : Es gilt ⌊ ⌊ x ⌋ ⌋ = ⌊ x ⌋ {\displaystyle {\bigl \lfloor }\lfloor x\rfloor {\bigr \rfloor }=\lfloor x\rfloor } . Sind m {\displaystyle m} und n {\displaystyle n} teilerfremde natürliche Zahlen, dann gilt ∑ j = 1 n − 1 ⌊ j m n ⌋ = ( m − 1 ) ( n − 1 ) 2 {\displaystyle \sum _{j=1}^{n-1}\left\lfloor {\frac {jm}{n}}\right\rfloor ={\frac {(m-1)(n-1)}{2}}} . Die Abrundungsfunktion ist nicht stetig , aber oberhalbstetig. Für nichtganze reelle x {\displaystyle x} konvergiert die Fourierreihe der 1 {\displaystyle 1} -periodischen Funktion ⌊ x ⌋ − x {\displaystyle \lfloor x\rfloor -x} , und es gilt ⌊ x ⌋ = x − 1 2 + 1 π ∑ k = 1 ∞ sin ( 2 k π x ) k {\displaystyle \lfloor x\rfloor =x-{\frac {1}{2}}+{\frac {1}{\pi }}\sum _{k=1}^{\infty }{\frac {\sin {(2k\pi x)}}{k}}} . Sind m ∈ Z {\displaystyle m\in \mathbb {Z} } und n ∈ N {\displaystyle n\in \mathbb {N} } , so gilt⌊ x + m n ⌋ = ⌊ ⌊ x ⌋ + m n ⌋ {\displaystyle \left\lfloor {\frac {x+m}{n}}\right\rfloor =\left\lfloor {\frac {\lfloor x\rfloor +m}{n}}\right\rfloor } . Daraus folgt für m ≠ 0 {\displaystyle m\neq 0} direkt⌊ ⌊ x / m ⌋ n ⌋ = ⌊ x m n ⌋ {\displaystyle \left\lfloor {\frac {\lfloor x/m\rfloor }{n}}\right\rfloor =\left\lfloor {\frac {x}{mn}}\right\rfloor } . Für reelle Zahlen x , y ≥ 0 {\displaystyle x,y\geq 0} gilt außerdem⌊ x ⌋ ⋅ ⌊ y ⌋ ≤ ⌊ x ⋅ y ⌋ {\displaystyle \lfloor x\rfloor \cdot \lfloor y\rfloor \leq \lfloor x\cdot y\rfloor } .
Programmierung Programmiersprachen setzen dies mit Funktionen wie Int, Round, Ceil/Ceiling, Floor oder entier um.
Aufrundungsfunktion
Definition Für eine reelle Zahl x {\displaystyle x} ist ⌈ x ⌉ {\displaystyle \lceil x\rceil } die kleinste ganze Zahl, die größer oder gleich x {\displaystyle x} ist.
⌈ x ⌉ := min { k ∈ Z ∣ k ≥ x } {\displaystyle \lceil x\rceil :=\min\{k\in \mathbb {Z} \mid k\geq x\}}
Beispiele ⌈ 2 , 8 ⌉ = 3 {\displaystyle \lceil 2{,}8\rceil =3} ⌈ 2 , 3 ⌉ = 3 {\displaystyle \lceil 2{,}3\rceil =3} ⌈ − 2 , 8 ⌉ = − 2 {\displaystyle \lceil -2{,}8\rceil =-2} ⌈ 2 ⌉ = 2 {\displaystyle \lceil 2\rceil =2}
Eigenschaften Es gilt ⌈ ⌈ x ⌉ ⌉ = ⌈ x ⌉ {\displaystyle \lceil \lceil x\rceil \rceil =\lceil x\rceil } . Sind m ∈ Z {\displaystyle m\in \mathbb {Z} } und n ∈ N {\displaystyle n\in \mathbb {N} } , so gilt ⌈ x + m n ⌉ = ⌈ ⌈ x ⌉ + m n ⌉ {\displaystyle \left\lceil {\frac {x+m}{n}}\right\rceil =\left\lceil {\frac {\lceil x\rceil +m}{n}}\right\rceil } . Daraus folgt für m ≠ 0 {\displaystyle m\neq 0} direkt ⌈ ⌈ x / m ⌉ n ⌉ = ⌈ x m n ⌉ {\displaystyle \left\lceil {\frac {\lceil x/m\rceil }{n}}\right\rceil =\left\lceil {\frac {x}{mn}}\right\rceil } .
Programmierung Programmiersprachen setzen dies mit Funktionen wie ceil() oder ceiling um.
Allgemeine Eigenschaften
Gaußklammer und Dezimalstellen Für positive Zahlen gilt
x = ⌊ x ⌋ + frac ( x ) {\displaystyle x=\lfloor x\rfloor +\operatorname {frac} (x)} .Die Funktion frac ( x ) {\displaystyle \operatorname {frac} (x)} liefert dabei den Nachkommaanteil mit 0 ≤ frac ( x ) < 1 {\displaystyle 0\leq \operatorname {frac} (x)<1} .
Zusammenhänge zwischen Auf- und Abrundungsfunktion Es ist stets⌈ x ⌉ + ⌊ − x ⌋ = 0 {\displaystyle \lceil x\rceil +\lfloor -x\rfloor =0} . Deshalb erhält man die Aufrundungsfunktion aus der Gaußklammerfunktion per⌈ x ⌉ = − ⌊ − x ⌋ {\displaystyle \lceil x\rceil =-\lfloor -x\rfloor } . Es ist stets⌈ x ⌉ ≤ y ⟺ x ≤ ⌊ y ⌋ {\displaystyle \left\lceil x\right\rceil \leq y\Longleftrightarrow x\leq \left\lfloor y\right\rfloor } ,⌊ x ⌋ < y ⟺ x < ⌈ y ⌉ {\displaystyle \left\lfloor x\right\rfloor <y\Longleftrightarrow x<\left\lceil y\right\rceil } . Für ganze Zahlen k {\displaystyle k} gilt⌊ k 2 ⌋ + ⌈ k 2 ⌉ = k {\displaystyle \left\lfloor {\frac {k}{2}}\right\rfloor +\left\lceil {\frac {k}{2}}\right\rceil =k} . Für reelle Zahlen x , y {\displaystyle x,y} mit y ≠ 0 {\displaystyle y\neq 0} gilt⌈ x + 1 y ⌉ − ⌊ x y ⌋ = 1 {\displaystyle \left\lceil {\frac {x+1}{y}}\right\rceil -\left\lfloor {\frac {x}{y}}\right\rfloor =1} .
Kaufmännische Rundung Die kaufmännische Rundung auf die nächstliegende ganze Zahl kann auch mit diesen Funktionen ausgedrückt werden:
⌊ x + 0 , 5 ⌋ {\displaystyle \lfloor x+0{,}5\rfloor } für x ≥ 0 {\displaystyle x\geq 0} , ⌈ x − 0 , 5 ⌉ {\displaystyle \lceil x-0{,}5\rceil } für x < 0 {\displaystyle x<0} . wikipedia, wiki, enzyklopädie, buch, bibliothek, artikel, lesen, kostenlos herunterladen, Informationen über Abrundungsfunktion und Aufrundungsfunktion, Was ist Abrundungsfunktion und Aufrundungsfunktion? Was bedeutet Abrundungsfunktion und Aufrundungsfunktion?
© 2025 www.dl1.de-de.nina.az — Alle Rechte vorbehalten.