結合法則
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2024/02/13 03:13 UTC 版)
例
結合的演算の例をいくつか挙げる:
- 文字列結合。3つの文字列 "a"、"b"、"c" を繋げる際、先の2つを繋いで "ab" を得てから、その末尾に3つめの "c" を繋ぐと、"abc" となる。一方で、後の2つを繋いで "bc" を得てから、その先頭に1つめの "a" を繋いでも、同じく "abc" となる。そのため、文字列結合は結合的である。なお、可換ではない。
- 複素数同士の乗法。グループ化を表す括弧は、曖昧さを生まずに除去できる。
- 右自明演算 (必ず の値を返す)、および左自明演算 ∘ (必ず の値を返す)。どちらも可換ではない。
- 八元数の加法。なお、乗法は結合的でない。
- 最大公約数をとる演算。
- 最小公倍数をとる演算。
- 少し一般に、四つの集合 M, N, P, Q とそれらの間の写像 h: M → N, g: N → P, f: P → Q についてやはり が成り立つ。要するに写像の合成は常に結合的である。
- 三元集合 {A, B, C} に演算を以下の乗積表に従って定めたものは結合的である(かつ可換でない):
× | A | B | C |
---|---|---|---|
A | A | A | A |
B | A | B | C |
C | A | A | A |
注釈
出典
- ^ Hungerford, Thomas W. (1974). Algebra (1st ed.). Springer. p. 24. ISBN 978-0387905181. "Definition 1.1 (i) a(bc) = (ab)c for all a, b, c in G."
- ^ Durbin, John R. (1992). Modern Algebra: an Introduction (3rd ed.). New York: Wiley. p. 78. ISBN 978-0-471-51001-7 . "If are elements of a set with an associative operation, then the product is unambiguous; this is, the same element will be obtained regardless of how parentheses are inserted in the product"
- ^ “Matrix product associativity”. Khan Academy. 2016年6月5日閲覧。
- ^ Moore and Parker[要文献特定詳細情報]
- ^ Copi and Cohen[要文献特定詳細情報]
- ^ Hurley[要文献特定詳細情報]
- ^ [1]
- ^ George Mark Bergman: Order of arithmetic operations
- ^ Education Place: The Order of Operations
- ^ Khan Academy: The Order of Operations, timestamp 5m40s
- ^ Virginia Department of Education: Using Order of Operations and Exploring Properties, section 9
- ^ Bronstein: de:Taschenbuch der Mathematik, pages 115-120, chapter: 2.4.1.1, ISBN 978-3-8085-5673-3
- ^ Exponentiation Associativity and Standard Math Notation Codeplea. 23 Aug 2016. Retrieved 20 Sep 2016.
- ^ http://msdn.microsoft.com/en-us/library/vstudio/zh100ckf.aspx
結合法則と同じ種類の言葉
固有名詞の分類
- 結合法則のページへのリンク