Examples of...
Popular examples
Top Examples
Examples of Injective functions
Injective functions
A function f is injective if and only if whenever f(x) = f(y), x = y.
Example: f(x) = x+5 from the set of real numbers naturals to naturals is an injective function.
This function can be easily reversed. For example:
* f(3) = 8
Given 8 we can go back to 3
Example: f(x) = x2 from the set of real numbers naturals to naturals is not an injective function because of this kind of thing:
* f(2) = 4 and
* f(-2) = 4
This is against the definition f(x) = f(y), x = y, because f(2) = f(-2) but 2 ≠ -2
In other words there are two values of "A" that point to one "B", and this function could not be reversed (given the value "4" ... what produced it?)
BUT if we made it from the set of natural numbers naturals to naturals then it is injective, because:
* f(2) = 4
* there is no f(-2), because -2 is not a natural number
Is this example useful?
To share this example, copy and paste this code into your website, blog or forum:
Example: f(x) = x+5 from the set of real numbers naturals to naturals is an injective function.
This function can be easily reversed. For example:
* f(3) = 8
Given 8 we can go back to 3
Example: f(x) = x2 from the set of real numbers naturals to naturals is not an injective function because of this kind of thing:
* f(2) = 4 and
* f(-2) = 4
This is against the definition f(x) = f(y), x = y, because f(2) = f(-2) but 2 ≠ -2
In other words there are two values of "A" that point to one "B", and this function could not be reversed (given the value "4" ... what produced it?)
BUT if we made it from the set of natural numbers naturals to naturals then it is injective, because:
* f(2) = 4
* there is no f(-2), because -2 is not a natural number
Is this example useful?
To share this example, copy and paste this code into your website, blog or forum:
Comments
To leave a comment, you must register for free a> or if you are already registered log in.
Has not written any comments yet.
Has not written any comments yet.
Related examples
Find the Median Value Posted on 2011-05-05 18:41:40
The Median is the "middle number" (in a sorted list of numbers). To find the Median, place the numbers you are given in value order and find...Convert Areas Posted on 2011-05-05 10:34:38
To convert area, simply remember that area is length by width:
Area = Length × Width
So, you need to convert once for the length and once a...Convert Volumes Posted on 2011-05-05 10:33:40
Conversion is simply a matter of multiplying by the right number.
For example: Convert 30 cubic feet into cubic meters (30 ft3 to m3)
The...Convert Lengths Posted on 2011-05-05 10:32:44
Conversion is simply a matter of multiplying by the right number.
For example, the conversion for kilometers into miles is:
1 km = 0.6214 m...Convert Metric to imperial Posted on 2011-05-05 10:29:21
Conversion is simply a matter of multiplying by the right number.
Some examples:
What is 2,000 meters in Imperial?
1. In the chart it sho...