Function Discrete Math Examples
The domain and codomain are both the set of integers.
Function discrete math examples. A discrete function is a function with distinct and separate values. 1 2 3 a b c g. A function f. Z rightarrow z g x x 5.
However the range is only the set of integer multiples of 3. This means that the values of the functions are not connected with each other. Z rightarrow z f x x 2 is not invertiable since this is not one to one as x 2 x 2. The permutation function yields the number of ways that n distinct items can be arranged in k spots.
The function f is called invertible if its inverse function g exists. Z rightarrow z f x x 5 is invertible since it has the inverse function g. The following are all examples of functions. 1 2 3 a b c.
Defined by f n 3n. F n 3 n.