-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathfunctions_math.theory.txt
415 lines (373 loc) · 11.8 KB
/
functions_math.theory.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
┏━━━━━━━━━━━━━━━━━━━━┓
┃ FUNCTIONS_MATH ┃
┗━━━━━━━━━━━━━━━━━━━━┛
n-ary relation
Binary relation:
- notation:
- R S ...
- rule assigning some x (where x∈ X) to some y (where y∈ Y)
- terms:
- domain: X
- codomain: Y
- image of x: y
- preimage of y: x
- image of R: set of all y with a preimage
- noted Im(R)
Binary relations can be defined:
- with algebraic rule:
- e.g. f: X -> X^2
- can include logical conditions
- with list of images|preimages:
- can be:
- numerical: as a table
- graphical: as a graph
- can interpolate
Domain:
- set can be defined either:
- with explicit elements
- with a logical condition for any elements
- named natural domain
- support: subset of all x with an image != 0
Uniqueness:
- right-uniquess + left-uniquess
- right-uniqueness:
- also named functionality
- when no preimages has multiple images
- left-uniqueness:
- also named injectivity or one-to-one (1-1)
- when no image has multiple preimages
Totality:
- left-totality + right-totality
- left-totality:
- also named seriality
- when no preimages has 0 images
- right-totality:
- also named surjectivity or onto
- when no image has 0 preimages
- i.e. Im(f) = Y
- g: domain(f) -> Im(f) is always right-total
Bijectivity
- uniquess + totality
- every image has exactly 1 preimage
- implies |X| = |Y|
- if |X| = |Y|, left-total + right-unique => right-total + left-unique (and vice-versa)
Partial function:
- binary function that is right-unique
- notation:
- f: X ->/ Y
- f: X ⇸ Y
Function:
- partial function that is left-total
- notation:
- f: X -> Y (whole domain)
- f(x) = y (specific preimage)
- F G ... (for function composition)
Function composition:
- notation: F ∘ G
- means g(f(x))
Functional power:
- notation:
- Fⁿ or f^n
- fⁿ(x) or f^n(x)
- careful: is also an alternative notation for derivatives f''(x)
- means F ∘ F ∘ ...
Function space:
- noted [X -> Y]
- set of all possible f: X -> Y
Operations:
- also named operators
- function where preimages|images are tuples
- notation:
- f: X * Y * ... -> Z
- i.e. domain is cartesian product of X * Y * ...
- X OP Y
- notation for unspecified|unknown operation
- X • Y
- XY (juxtaposition)
- operands:
- other name for preimages
- also named inputs or arguments
- outputs
- other name for images
- also named return values
- arity:
- also named rank or adicity
- number of operands
- names:
- nullary|niladic: 0
- unary|monadic: 1
- binary|dyadic: 2
- ternary|triadic: 3
- quaternary|tetradic: 4
- multary|multiary|polyadic: 2+
- N-ary: N
- variadic|multigrade|anadic: indefinite
- often has own notation:
- often uses a sign:
- can be written:
- infix: between operands
- prefix|postfix: before|after operands
- precedence:
- also named order of operations
- decides how to group operands and operations in infix notation
- by assigning a higher|lower precedence to each operation
Identity element:
- also named only identity
- notation:
- e
- 1ₛ (for set S)
- id
- y so that:
- left-identity: f(y, x) <=> x
- right-identity: f(x, y) <=> x
- two-sided identity: both
- there can be several left|right identities
- there cannot be both left|right identities, except for one single two-sided identity
- otherwise f(x,y) <=> x || y, if both are different identity elements
- name for specific operations:
- additive identity: addition
- multiplicative identity: multiplication
- also named unity
Unity
- adjective: unital
- also named identity property
- when for any x, there is an identity element y
Identity function:
- also named identity relation|map|transformation
- noted idₓ (for domain x)
- g: x -> x
- identity element of function composition
- involutory
Absorbing element
- also named zero|annihilating element
- element x, for a binary function f:
- left-absorbing|zero: ∀ y. f(x,y) = x
- right-absorbing|zero: ∀ y. f(y,x) = x
- absorbing|zero: both
Inverse:
- inverse element:
- also named only inverse
- with identity element id, y so that:
- right-inverse: f(x, y) = id
- left-inverse: f(y, x) = id
- two-sided inverse: both
- y is [left|right-]inverse element
- x is [left|right-]invertible element
- also named unit
- if there are several left|right-identities, there can be several left|right-inverses
- name for specific operations:
- additive inverse: addition
- also named opposite|negation|sign change
- multiplicative inverse: multiplication
- also named reciprocal
- invertibility of a set:
- when all elements are invertible
- implied by:
- all of:
- cancellation
- unity
- right-totality for a given x
- reason: bijection from Y to Z, i.e. exactly one z must be identity element
- formulas:
- f(x, f(x, y)) = x
Inverse function:
- also named anti-function
- noted f⁻¹ or f^-1
- inverse element of function composition
- i.e. f⁻¹ is inverse of f if:
- right-inverse: f ∘ f⁻¹ = idₓ
- i.e. f⁻¹(f(x)) = x
- left-inverse: f⁻¹ ∘ f = idₓ
- i.e. f(f⁻¹(x)) = x
- inverse: both
- partial inverse function:
- also named quasi-inverse
- when f is not right-total
- i.e. only Im(f) can be inverted, not whole codomain
- [quasi-]invertibility of a function:
- when it has an [quasi-]inverse function
- equivalent to bijectivity
- for quasi-inverse: only to left-uniqueness
- inherits from function:
- left|right-unique -> right|left-unique
- left|right-total -> right|left-total
- involution
- idempotence
- closure
- formulas:
- (f⁻¹)⁻¹ = f
- (f ∘ g)⁻¹ = g⁻¹ ∘ f⁻¹
Algebraic division:
- inverse function of a binary function
- binary function often noted *
- notation for left division:
- / (solidus)
- ÷ (obelus, division sign)
- :
- horizontal fraction bar
- notation for right division:
- \
- in x/y:
- x is dividend|numerator
- y is divisor|denominator
- if multiplication x*y = z is not commutative, there is:
- right division: z/y = x
- left division: x\z = y
- inherits from function:
- unity
- never:
- absorbing element
- commutative
- associative:
- is left-associative instead:
- x/y/z = (x/y)/z
- x\y\z = (x\y)\z
- alternative
- power-associative
- flexible
- medial
- distributivity
Cancellation property:
- also named divisibility
- possibility to do algebraic division
- of an element x, for x*y = z:
- can be:
- left-cancellative: z/x = y
- right-cancellative: z/y = x
- cancellative: both
- equivalent to either:
- left-uniquess
- x*y = x*z => y = z
- or y*x ...
- of a set: if all elements are cancellative
- formulas:
- x = y/(y/x)
- if associativity of *
- x/(y*z) = (x/y)/z
- x/(y/z) = (x*z)/y
- x*(y/z) = (x*y)/z
- (x/y)*(v/w) = (x*v)/(y*w)
- x/y = (x*w)/(y*w)
- if commutativity of *
- x*(y/z) = y*(x/z)
- if unity of *
- x/y = id/(y/x)
- x/y = x*(id/y)
- x/(y/z) = x*(id/(y/z))
Involution:
- adjective: involutory
- f(f(x)) = x
- i.e. f = f⁻¹
Idempotence:
- f(f(x)) <=> f(x)
Nilpotence:
- x where ∃ n. x^n = 0, n∈ N
- n is named index|degree
- unipotence: x + 1
Commutativity:
- for binary relations, named "symmetry"
- opposite: "antisymmetry"
- f(x,y) <=> f(y,x)
Associativity:
- also named association
- g over f:
- f(x, g(y,z)) <=> g(f(x,y), z)
- f over g:
- f(g(x,y), z) <=> g(x, f(y,z))
- left|right-associativity:
- when not associative and operations must be evaluated from left|right-to-right|left
Alternativity:
- associativity when 2 operands (including middle) are equal
- can be:
- left-alternative: f(x, g(x,y)) <=> g(f(x,x), y)
- right-alternative: f(x, g(y,y)) <=> g(f(x,y), y)
- alternative: both
- implied by associativity
Flexibility:
- associativity when 2 operands (excluding middle) are equal
- f(x, g(y,x)) <=> g(f(x,y), x)
- implied by either associativity or commutativity
Power-associativity:
- associativity when 3 operands are equal
- f(x, g(x,x)) <=> g(f(x,x), x)
- implied by either alternativity, flexibility or idempotency
- if function is multiplication:
- means unique result of x^n, where n∈ N
Distributivity:
- is:
- left-distributivity: f(x, g(y,z)) <=> f(g(x,y), g(x,z))
- right-distributivity: f(g(y,z), x) <=> f(g(y,x), g(z,x))
- [auto-]distributivity: both
- if f commutative, left-distributivity same as right-distributivity
- formulas (using generic * + / for f g f⁻¹)
- (x+y)*z = x*z + y*z
- (x+y)*(v+w) = x*v + x*w + y*v + y*w (factorization)
- if cancellation of *
- (x+y)/z = x/z + y/z
- if associativity of *
- x/y + v/w = (x*w + v*y)/(y*w)
Absorption:
- left: f(x, g(x,y)) = x and
g(x, f(x,y)) = x
- right: f(g(x,y), y) = y and
g(f(x,y), y) = y
Medial:
- also named abelian, alternation, transposition, interchange, bi-commutativity, bisymmetry, surcommutativity, entropy
- f(f(w,x), f(y,z)) <=> f(f(w,y), f(x,z))
- implied by commutativity + associativity
- implies semimedial:
- left-semimedial: f(f(x,x), f(y,z)) <=> f(f(x,y), f(x,z))
- right-semimedial: f(f(w,x), f(y,y)) <=> f(f(w,y), f(x,y))
- semimedial: f(f(x,x), f(y,y)) <=> f(f(x,y), f(x,y))
Reflexivity:
- f(x,x) = true
- opposite: "irreflexivity"
Transitivity:
- f(x,y) && f(y,z) => f(x,z)
Equivalence:
- symmetry + reflexivity + transitivity
Extensivity:
- x ⊆ f(x)
Monotony:
- increasing:
- also named non-decreasing
- weakly: x <= y => f(x) <= f(y)
- strictly: x < y => f(x) < f(y)
- decreasing:
- also named non-increasing
- weakly: x >= y => f(x) >= f(y)
- strictly: x >= y => f(x) >= f(y)
Closure property:
- when domain is either same set of power set of codomain
- i.e. f: S [* S [*...]] -> S
- closed set:
- smallest S closed under f
- closure operator:
- also named hull|consequence operator
- f: S -> T
- where S ⊆ T
- for a given function g
- returns closed set T under g
- properties:
- idempotent
- monotone
- extensive
- closure space: closed set + closure operator
Representations:
- functional diagram:
- domain|codomain: left|right
- images|preimages: dots
- image|preimage relations: arrows between them
- graph:
- domain|codomain: abscissa|ordinate (x|y axis)
- images|preimages: lines on abscissa|ordinate
- image|preimage relations: dots at the intersection of images|preimages lines
- x|y-intercept: dot where x|y is 0
Indicator function:
- also named characteristic function, or boolean predicate function
- f: X -> {0,1} with 1 if X∈ Y, 0 if X∉ Y
Mathematical model:
- function used to represent a sytem (often in real life)
- can be:
- analytic: based on rule or logical condition
- curve-fitting: based on list of images|preimages (regression)