<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3ADefinition</id>
	<title>Functions:Definition - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3ADefinition"/>
	<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;action=history"/>
	<updated>2026-06-12T10:45:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=3781&amp;oldid=prev</id>
		<title>Khanh at 21:50, 11 November 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=3781&amp;oldid=prev"/>
		<updated>2021-11-11T21:50:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:50, 11 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[File:Arrow diagram &lt;/del&gt;of a function &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(non-injective &lt;/del&gt;and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;non-surjective)&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;svg|thumb|Example of an arrow diagram of &lt;/del&gt;a function &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;math&amp;gt; f:A\to B &amp;lt;/math&amp;gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;== Functions ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;A function is a relationship between two sets of numbers. We may think &lt;/ins&gt;of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;this as a ''mapping''; a function ''maps'' a number in one set to a number in another set.  Notice that &lt;/ins&gt;a function &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;maps values to '''one &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;only one''' value&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Two values in one set could map to one value, but one value '''must never''' map to two values: that would be a relation, ''not'' &lt;/ins&gt;a function&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;A function (or &lt;/del&gt;&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mapping&lt;/del&gt;&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;) is a relationship between two sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; that maps each input &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; to exactly one output &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;. A function &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; that maps elements of the set &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; to elements in the set &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is denoted as &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; is the domain of &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is the codomain. We can also think of a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; as a set of ordered pairs &amp;lt;math&amp;gt; (a, b) &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;, such that each element &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is paired with exactly one element &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;. If a function &amp;lt;math&amp;gt; f&lt;/del&gt;: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;A\to B &amp;lt;/math&amp;gt; maps an input &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; to an output &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;, we can write that &amp;lt;math&amp;gt; f(a) = b &amp;lt;/math&amp;gt;. For finite, reasonably small sets, we can depict a function graphically (see image)&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{| align=&lt;/ins&gt;&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;right&lt;/ins&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;| [[Image&lt;/ins&gt;:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Allowed_mapping_for_a_function&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Note: a function cannot map one input to more than one output, but it can map more than one input to the same output. &lt;/del&gt;For example, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;let &lt;/del&gt;&amp;lt;math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;A &lt;/del&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;\{a_1, a_2\} &lt;/del&gt;&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;B &lt;/del&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;\{b_1, b_2\} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a_1\neq a_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b_1\neq b_2 &lt;/del&gt;&amp;lt;/math&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;. If &amp;lt;math&amp;gt; f&lt;/del&gt;: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;A\to B &amp;lt;/math&amp;gt; is a relation such that &lt;/del&gt;&amp;lt;math&amp;gt; f(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a_1&lt;/del&gt;) = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;b_1 &lt;/del&gt;&amp;lt;/math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/del&gt;&amp;lt;math&amp;gt; f(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a_1&lt;/del&gt;) = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;b_2 &lt;/del&gt;&amp;lt;/math&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, then &lt;/del&gt;&amp;lt;math&amp;gt; f &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/math&amp;gt; is NOT a function. However, a relation &amp;lt;math&amp;gt; g: A\to B &amp;lt;&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&amp;gt; such that &amp;lt;math&amp;gt; g(a_1&lt;/del&gt;) = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;b_1 &lt;/del&gt;&amp;lt;/math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/del&gt;&amp;lt;math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;g&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a_2&lt;/del&gt;) = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;b_1 &lt;/del&gt;&amp;lt;/math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;IS a valid function&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;if we write (define) a function as:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;: &lt;/ins&gt;&amp;lt;math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;f(x)&lt;/ins&gt;=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;x^2&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;then we say:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:'f of x equals x squared'&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;we have&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;: &lt;/ins&gt;&amp;lt;math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;f(-1)&lt;/ins&gt;=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt;f(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/ins&gt;)=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;: &lt;/ins&gt;&amp;lt;math&amp;gt;f(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;7&lt;/ins&gt;)=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;49&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;: &lt;/ins&gt;&amp;lt;math&amp;gt;f&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(1&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2&lt;/ins&gt;)=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1/4&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;&amp;lt;math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;f&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;4&lt;/ins&gt;)=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;16&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;and so on&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;===Examples===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;This function &lt;/ins&gt;f maps &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;numbers &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;their squares&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* Let &amp;lt;math&amp;gt; A = \{1, 2, 3, 4, 5\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{-1, 3, 4\} &amp;lt;/math&amp;gt;, and let &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(1) = -1  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; &lt;/del&gt;f&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(2) = 3  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(3) = 4  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(4) = 3  &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; f(5) = -1  &amp;lt;/math&amp;gt;. Since each element of the domain &lt;/del&gt;maps to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;exactly one element (that is, there is no &amp;lt;math&amp;gt; f(a) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a) = b_2 &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; b_1 \neq b_2 &amp;lt;/math&amp;gt;), &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is a function&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* For sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; &lt;/del&gt;and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; in the previous example, let &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; be a relation such that &amp;lt;math&amp;gt; g(1) &lt;/del&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(1) &lt;/del&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;3 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(2) &lt;/del&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;4 &amp;lt;/math&amp;gt;&lt;/del&gt;, &amp;lt;math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;g&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;4&lt;/del&gt;) = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;4 &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; g&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;5&lt;/del&gt;) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;= 4 &lt;/del&gt;&amp;lt;/math&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;. Since &amp;lt;math&amp;gt; g &amp;lt;/math&amp;gt; maps the input &amp;lt;math&amp;gt; 1 &amp;lt;/math&amp;gt; to two distinct outputs, this relation is NOT a valid function.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;=== Range &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;codomain &lt;/ins&gt;===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;If D is a set&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;we can say&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;: &lt;/ins&gt;&amp;lt;math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;f&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;D&lt;/ins&gt;) = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;\{f&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/ins&gt;) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|\ x \in D\}&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* Let &amp;lt;math&amp;gt; &lt;/del&gt;f&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;: \N\to\N &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; &lt;/del&gt;f(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;n&lt;/del&gt;) = &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;n + &lt;/del&gt;1 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/math&amp;gt;. This is a function&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;since each &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt; maps to exactly one element &amp;lt;math&amp;gt; n+&lt;/del&gt;1&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;\in\N &amp;lt;/math&amp;gt;&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;which forms a née of &lt;/ins&gt;f &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;is usually a subset of a larger set. This set is known as the ''codomain'' of a function. For example, with the function &lt;/ins&gt;f(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''x''&lt;/ins&gt;)=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cos ''x'', the range of f is [-&lt;/ins&gt;1,1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;], '''but''' the codomain is the set of real numbers&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* Let &lt;/del&gt;&amp;lt;math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;g&lt;/del&gt;: \&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;N\to\Z &lt;/del&gt;&amp;lt;/math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;such &lt;/del&gt;that &amp;lt;math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|g(n)| = n &lt;/del&gt;&amp;lt;/math&amp;gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;This &lt;/del&gt;is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;not &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;valid function, since for &lt;/del&gt;&amp;lt;math&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;n&lt;/del&gt;\in\&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;N &lt;/del&gt;&amp;lt;/math&amp;gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;math&amp;gt; g&lt;/del&gt;(n) &amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&lt;/del&gt;&amp;gt; can &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;equal both &lt;/del&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&lt;/del&gt;&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;n &lt;/del&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&lt;/del&gt;&amp;gt; and &amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&lt;/del&gt;&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-n &lt;/del&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, and &lt;/del&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&lt;/del&gt;&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;n\neq -n &lt;/del&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&lt;/del&gt;&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;for &lt;/del&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&lt;/del&gt;&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;n\neq 0 &lt;/del&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;math&lt;/del&gt;&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;=== Notations ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;When we have a function f, with domain D and range R, we write:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;&amp;lt;math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;f &lt;/ins&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;D &lt;/ins&gt;\&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;longrightarrow R&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;If we say &lt;/ins&gt;that&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, for instance, ''x'' is mapped to ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;, we also can add&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;&amp;lt;math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;f : D \longrightarrow R;\ x \longmapsto x^2&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Notice that we can have a function that maps a point (''x'',''y'') to a real number, or some other function of two variables -- we have a set of ordered pairs as the domain&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Recall from set theory that this &lt;/ins&gt;is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;defined by the ''Cartesian product'' - if we wish to represent &lt;/ins&gt;a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;set of all real-valued ordered pairs we can take the Cartesian product of the real numbers with itself to obtain&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;&amp;lt;math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;\mathbb{R}\times\mathbb{R}=\mathbb{R}^2=\{(x,y)|\ x\ \mbox{and}\ y &lt;/ins&gt;\in\&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mathbb{R}\}&lt;/ins&gt;&amp;lt;/math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;When we have a set of ''n''-tuples as part of the domain&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;we say that the function is ''n''-ary &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;for numbers ''&lt;/ins&gt;n&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''=1,2 we say unary, and binary respectively).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;=== Other function notation ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Functions can be written as above, but we can also write them in two other ways. One way is to use an arrow diagram to represent the mappings between each element. We write the elements from the domain on one side, and the elements from the range on the other, and we draw arrows to show that an element from the domain is mapped to the range.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;For example, for the function f(''x''&lt;/ins&gt;)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;=''x''&amp;lt;sup&amp;gt;3&lt;/ins&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sup&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, the arrow diagram for the domain {1,2,3} would be:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Image:Arrow diagram example.jpg]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Another way is to use set notation. If f(''x'')=''y'', we &lt;/ins&gt;can &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;write the function in terms of its mappings. This idea is best to show in an example.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Let us take the domain D={1,2,3}, and f(''x'')=''x''&lt;/ins&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sup&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2&lt;/ins&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sup&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. Then, the range of f will be R={f(1),f(2),f(3)}={1,4,9}. Taking the Cartesian product of D &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;R we obtain F={(1,1),(2,4),(3,9)}.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;So using set notation, a function can be expressed as the Cartesian product of its domain and range.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; f(''x'')&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;This function is called ''f'', and it takes a ''variable'' ''x''. We substitute some value for ''x'' to get the second value, which is what the function maps x to.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;===Types of functions===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Functions can either be '''''one to one (injective), onto (surjective), or bijective'''''.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;u&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''INJECTIVE Functions'''&lt;/ins&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;u&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' are functions in which every element in the domain maps into a unique elements in the codomain.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;u&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''SURJECTIVE Functions'''&lt;/ins&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;u&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' are functions in which every element in the codomain is mapped by an element in the domain.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;u&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''''''BIJECTIVE''' Functions&lt;/ins&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;u&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' are functions that are both injective and surjective&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;---onto functions '''&amp;lt;/u&amp;gt;''' a function f form A to B is onto ,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Resources==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Resources==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 129-140&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 129-140&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/A_Spiral_Workbook_for_Discrete_Mathematics_(Kwong)/06%3A_Functions/6.02%3A_De%EF%AC%81nition_of_Functions Definition of Functions], Mathematics LibreTexts&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/A_Spiral_Workbook_for_Discrete_Mathematics_(Kwong)/06%3A_Functions/6.02%3A_De%EF%AC%81nition_of_Functions Definition of Functions], Mathematics LibreTexts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Licensing == &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Content obtained and/or adapted from:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://en.wikibooks.org/wiki/Discrete_Mathematics/Functions_and_relations Functions and relations, Wikibooks: Discrete Mathematics] under a CC BY-SA license&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1544&amp;oldid=prev</id>
		<title>Lila at 19:10, 27 September 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1544&amp;oldid=prev"/>
		<updated>2021-09-27T19:10:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:10, 27 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: a function cannot map one input to more than one output, but it can map more than one input to the same output. For example, let &amp;lt;math&amp;gt; A = \{a_1, a_2\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{b_1, b_2\} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a_1\neq a_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b_1\neq b_2 &amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; is a relation such that &amp;lt;math&amp;gt; f(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a_1) = b_2 &amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is NOT a function. However, a relation &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; g(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; g(a_2) = b_1 &amp;lt;/math&amp;gt; IS a valid function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: a function cannot map one input to more than one output, but it can map more than one input to the same output. For example, let &amp;lt;math&amp;gt; A = \{a_1, a_2\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{b_1, b_2\} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a_1\neq a_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b_1\neq b_2 &amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; is a relation such that &amp;lt;math&amp;gt; f(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a_1) = b_2 &amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is NOT a function. However, a relation &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; g(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; g(a_2) = b_1 &amp;lt;/math&amp;gt; IS a valid function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Examples===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Examples===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lila</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1542&amp;oldid=prev</id>
		<title>Lila at 19:08, 27 September 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1542&amp;oldid=prev"/>
		<updated>2021-09-27T19:08:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:08, 27 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Examples&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;===&lt;/ins&gt;Examples&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; A = \{1, 2, 3, 4, 5\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{-1, 3, 4\} &amp;lt;/math&amp;gt;, and let &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(1) = -1  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(2) = 3  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(3) = 4  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(4) = 3  &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; f(5) = -1  &amp;lt;/math&amp;gt;. Since each element of the domain maps to exactly one element (that is, there is no &amp;lt;math&amp;gt; f(a) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a) = b_2 &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; b_1 \neq b_2 &amp;lt;/math&amp;gt;), &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is a function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; A = \{1, 2, 3, 4, 5\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{-1, 3, 4\} &amp;lt;/math&amp;gt;, and let &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(1) = -1  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(2) = 3  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(3) = 4  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(4) = 3  &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; f(5) = -1  &amp;lt;/math&amp;gt;. Since each element of the domain maps to exactly one element (that is, there is no &amp;lt;math&amp;gt; f(a) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a) = b_2 &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; b_1 \neq b_2 &amp;lt;/math&amp;gt;), &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is a function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lila</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1541&amp;oldid=prev</id>
		<title>Lila at 19:05, 27 September 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1541&amp;oldid=prev"/>
		<updated>2021-09-27T19:05:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:05, 27 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: a function cannot map one input to more than one output, but it can map more than one input to the same output. For example, let &amp;lt;math&amp;gt; A = \{a_1, a_2\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{b_1, b_2\} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a_1\neq a_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b_1\neq b_2 &amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; is a relation such that &amp;lt;math&amp;gt; f(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a_1) = b_2 &amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is NOT a function. However, a relation &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; g(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; g(a_2) = b_1 &amp;lt;/math&amp;gt; IS a valid function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: a function cannot map one input to more than one output, but it can map more than one input to the same output. For example, let &amp;lt;math&amp;gt; A = \{a_1, a_2\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{b_1, b_2\} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a_1\neq a_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b_1\neq b_2 &amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; is a relation such that &amp;lt;math&amp;gt; f(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a_1) = b_2 &amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is NOT a function. However, a relation &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; g(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; g(a_2) = b_1 &amp;lt;/math&amp;gt; IS a valid function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Examples:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Examples:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; A = \{1, 2, 3, 4, 5\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{-1, 3, 4\} &amp;lt;/math&amp;gt;, and let &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(1) = -1  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(2) = 3  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(3) = 4  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(4) = 3  &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; f(5) = -1  &amp;lt;/math&amp;gt;. Since each element of the domain maps to exactly one element (that is, there is no &amp;lt;math&amp;gt; f(a) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a) = b_2 &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; b_1 \neq b_2 &amp;lt;/math&amp;gt;), &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is a function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; A = \{1, 2, 3, 4, 5\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{-1, 3, 4\} &amp;lt;/math&amp;gt;, and let &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(1) = -1  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(2) = 3  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(3) = 4  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(4) = 3  &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; f(5) = -1  &amp;lt;/math&amp;gt;. Since each element of the domain maps to exactly one element (that is, there is no &amp;lt;math&amp;gt; f(a) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a) = b_2 &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; b_1 \neq b_2 &amp;lt;/math&amp;gt;), &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is a function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* For sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; in the previous example, let &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; be a relation such that &amp;lt;math&amp;gt; g(1) = 1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(1) = 3 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(2) = 4 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(4) = 4 &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; g(5) = 4 &amp;lt;/math&amp;gt;. Since &amp;lt;math&amp;gt; g &amp;lt;/math&amp;gt; maps the input &amp;lt;math&amp;gt; 1 &amp;lt;/math&amp;gt; to two distinct outputs, this relation is NOT a valid function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* For sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; in the previous example, let &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; be a relation such that &amp;lt;math&amp;gt; g(1) = 1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(1) = 3 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(2) = 4 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(4) = 4 &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; g(5) = 4 &amp;lt;/math&amp;gt;. Since &amp;lt;math&amp;gt; g &amp;lt;/math&amp;gt; maps the input &amp;lt;math&amp;gt; 1 &amp;lt;/math&amp;gt; to two distinct outputs, this relation is NOT a valid function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; f: \N\to\N &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(n) = n + 1 &amp;lt;/math&amp;gt;. This is a function, since each &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt; maps to exactly one element &amp;lt;math&amp;gt; n+1\in\N &amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; f: \N\to\N &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(n) = n + 1 &amp;lt;/math&amp;gt;. This is a function, since each &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt; maps to exactly one element &amp;lt;math&amp;gt; n+1\in\N &amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; g: \N\to\Z &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; |g(n)| = n &amp;lt;/math&amp;gt;. This is not a valid function, since for &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(n) &amp;lt;/math&amp;gt; can equal both &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; -n &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; n\neq -n &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt; n\neq 0 &amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; g: \N\to\Z &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; |g(n)| = n &amp;lt;/math&amp;gt;. This is not a valid function, since for &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(n) &amp;lt;/math&amp;gt; can equal both &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; -n &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; n\neq -n &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt; n\neq 0 &amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lila</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1539&amp;oldid=prev</id>
		<title>Lila at 18:15, 27 September 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1539&amp;oldid=prev"/>
		<updated>2021-09-27T18:15:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:15, 27 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Example of an arrow diagram of a function &amp;lt;math&amp;gt; f:A\to B &amp;lt;/math&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.svg|Arrow_diagram_of_a_function_(non-injective_and_non-surjective)&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Arrow diagram of a function (non-injective and non-surjective).svg|thumb|&lt;/ins&gt;Example of an arrow diagram of a function &amp;lt;math&amp;gt; f:A\to B &amp;lt;/math&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A function (or &amp;quot;mapping&amp;quot;) is a relationship between two sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; that maps each input &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; to exactly one output &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;. A function &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; that maps elements of the set &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; to elements in the set &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is denoted as &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; is the domain of &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is the codomain. We can also think of a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; as a set of ordered pairs &amp;lt;math&amp;gt; (a, b) &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;, such that each element &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is paired with exactly one element &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;. If a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; maps an input &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; to an output &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;, we can write that &amp;lt;math&amp;gt; f(a) = b &amp;lt;/math&amp;gt;. For finite, reasonably small sets, we can depict a function graphically (see image).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A function (or &amp;quot;mapping&amp;quot;) is a relationship between two sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; that maps each input &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; to exactly one output &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;. A function &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; that maps elements of the set &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; to elements in the set &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is denoted as &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; is the domain of &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is the codomain. We can also think of a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; as a set of ordered pairs &amp;lt;math&amp;gt; (a, b) &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;, such that each element &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is paired with exactly one element &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;. If a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; maps an input &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; to an output &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;, we can write that &amp;lt;math&amp;gt; f(a) = b &amp;lt;/math&amp;gt;. For finite, reasonably small sets, we can depict a function graphically (see image).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lila</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1538&amp;oldid=prev</id>
		<title>Lila at 18:06, 27 September 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1538&amp;oldid=prev"/>
		<updated>2021-09-27T18:06:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:06, 27 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A function (or &amp;quot;mapping&amp;quot;) is a relationship between two sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; that maps each input &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; to exactly one output &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;. A function &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; that maps elements of the set &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; to elements in the set &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is denoted as &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; is the domain of &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is the codomain. We can also think of a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; as a set of ordered pairs &amp;lt;math&amp;gt; (a, b) &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;, such that each element &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is paired with exactly one element &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;. If a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; maps an input &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; to an output &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;, we can write that &amp;lt;math&amp;gt; f(a) = b &amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[File:Example of an arrow diagram of a function &amp;lt;math&amp;gt; f:A\to B &amp;lt;/math&amp;gt;.svg|Arrow_diagram_of_a_function_(non-injective_and_non-surjective)]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A function (or &amp;quot;mapping&amp;quot;) is a relationship between two sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; that maps each input &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; to exactly one output &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;. A function &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; that maps elements of the set &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; to elements in the set &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is denoted as &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; is the domain of &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is the codomain. We can also think of a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; as a set of ordered pairs &amp;lt;math&amp;gt; (a, b) &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;, such that each element &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is paired with exactly one element &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;. If a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; maps an input &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; to an output &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;, we can write that &amp;lt;math&amp;gt; f(a) = b &amp;lt;/math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. For finite, reasonably small sets, we can depict a function graphically (see image)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: a function cannot map one input to more than one output, but it can map more than one input to the same output. For example, let &amp;lt;math&amp;gt; A = \{a_1, a_2\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{b_1, b_2\} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a_1\neq a_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b_1\neq b_2 &amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; is a relation such that &amp;lt;math&amp;gt; f(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a_1) = b_2 &amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is NOT a function. However, a relation &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; g(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; g(a_2) = b_1 &amp;lt;/math&amp;gt; IS a valid function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: a function cannot map one input to more than one output, but it can map more than one input to the same output. For example, let &amp;lt;math&amp;gt; A = \{a_1, a_2\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{b_1, b_2\} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a_1\neq a_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b_1\neq b_2 &amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; is a relation such that &amp;lt;math&amp;gt; f(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a_1) = b_2 &amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is NOT a function. However, a relation &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; g(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; g(a_2) = b_1 &amp;lt;/math&amp;gt; IS a valid function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* For sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; in the previous example, let &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; be a relation such that &amp;lt;math&amp;gt; g(1) = 1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(1) = 3 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(2) = 4 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(4) = 4 &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; g(5) = 4 &amp;lt;/math&amp;gt;. Since &amp;lt;math&amp;gt; g &amp;lt;/math&amp;gt; maps the input &amp;lt;math&amp;gt; 1 &amp;lt;/math&amp;gt; to two distinct outputs, this relation is NOT a valid function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* For sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; in the previous example, let &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; be a relation such that &amp;lt;math&amp;gt; g(1) = 1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(1) = 3 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(2) = 4 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(4) = 4 &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; g(5) = 4 &amp;lt;/math&amp;gt;. Since &amp;lt;math&amp;gt; g &amp;lt;/math&amp;gt; maps the input &amp;lt;math&amp;gt; 1 &amp;lt;/math&amp;gt; to two distinct outputs, this relation is NOT a valid function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; f: \N\to\N &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(n) = n + 1 &amp;lt;/math&amp;gt;. This is a function, since each &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt; maps to exactly one element &amp;lt;math&amp;gt; n+1\in\N &amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; f: \N\to\N &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(n) = n + 1 &amp;lt;/math&amp;gt;. This is a function, since each &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt; maps to exactly one element &amp;lt;math&amp;gt; n+1\in\N &amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; g: \N\to\Z &amp;lt;/math&amp;gt; such that |g(n)| = n. This is not a valid function, since for &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(n) &amp;lt;math&amp;gt; can equal both &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; -n &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; n\neq -n &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt; n\neq 0 &amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Let &amp;lt;math&amp;gt; g: \N\to\Z &amp;lt;/math&amp;gt; such that &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;math&amp;gt; &lt;/ins&gt;|g(n)| = n &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/math&amp;gt;&lt;/ins&gt;. This is not a valid function, since for &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(n) &amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;math&amp;gt; can equal both &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; -n &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; n\neq -n &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt; n\neq 0 &amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Resources==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Resources==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 129-140&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 129-140&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/A_Spiral_Workbook_for_Discrete_Mathematics_(Kwong)/06%3A_Functions/6.02%3A_De%EF%AC%81nition_of_Functions Definition of Functions], Mathematics LibreTexts&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/A_Spiral_Workbook_for_Discrete_Mathematics_(Kwong)/06%3A_Functions/6.02%3A_De%EF%AC%81nition_of_Functions Definition of Functions], Mathematics LibreTexts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lila</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1537&amp;oldid=prev</id>
		<title>Lila: Created page with &quot;A function (or &quot;mapping&quot;) is a relationship between two sets &lt;math&gt; A &lt;/math&gt; and &lt;math&gt; B &lt;/math&gt; that maps each input &lt;math&gt; a\in A &lt;/math&gt; to exactly one output &lt;math&gt; b\in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Functions:Definition&amp;diff=1537&amp;oldid=prev"/>
		<updated>2021-09-27T18:01:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A function (or &amp;quot;mapping&amp;quot;) is a relationship between two sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; that maps each input &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; to exactly one output &amp;lt;math&amp;gt; b\in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A function (or &amp;quot;mapping&amp;quot;) is a relationship between two sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; that maps each input &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; to exactly one output &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;. A function &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; that maps elements of the set &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; to elements in the set &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is denoted as &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; is the domain of &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; is the codomain. We can also think of a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; as a set of ordered pairs &amp;lt;math&amp;gt; (a, b) &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a\in A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b\in B &amp;lt;/math&amp;gt;, such that each element &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is paired with exactly one element &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;. If a function &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; maps an input &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; to an output &amp;lt;math&amp;gt; b &amp;lt;/math&amp;gt;, we can write that &amp;lt;math&amp;gt; f(a) = b &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: a function cannot map one input to more than one output, but it can map more than one input to the same output. For example, let &amp;lt;math&amp;gt; A = \{a_1, a_2\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{b_1, b_2\} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; a_1\neq a_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b_1\neq b_2 &amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; is a relation such that &amp;lt;math&amp;gt; f(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a_1) = b_2 &amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is NOT a function. However, a relation &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; g(a_1) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; g(a_2) = b_1 &amp;lt;/math&amp;gt; IS a valid function.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* Let &amp;lt;math&amp;gt; A = \{1, 2, 3, 4, 5\} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B = \{-1, 3, 4\} &amp;lt;/math&amp;gt;, and let &amp;lt;math&amp;gt; f: A\to B &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(1) = -1  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(2) = 3  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(3) = 4  &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; f(4) = 3  &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; f(5) = -1  &amp;lt;/math&amp;gt;. Since each element of the domain maps to exactly one element (that is, there is no &amp;lt;math&amp;gt; f(a) = b_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; f(a) = b_2 &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; b_1 \neq b_2 &amp;lt;/math&amp;gt;), &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt; is a function.&lt;br /&gt;
* For sets &amp;lt;math&amp;gt; A &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B &amp;lt;/math&amp;gt; in the previous example, let &amp;lt;math&amp;gt; g: A\to B &amp;lt;/math&amp;gt; be a relation such that &amp;lt;math&amp;gt; g(1) = 1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(1) = 3 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(2) = 4 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(4) = 4 &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; g(5) = 4 &amp;lt;/math&amp;gt;. Since &amp;lt;math&amp;gt; g &amp;lt;/math&amp;gt; maps the input &amp;lt;math&amp;gt; 1 &amp;lt;/math&amp;gt; to two distinct outputs, this relation is NOT a valid function.&lt;br /&gt;
* Let &amp;lt;math&amp;gt; f: \N\to\N &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; f(n) = n + 1 &amp;lt;/math&amp;gt;. This is a function, since each &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt; maps to exactly one element &amp;lt;math&amp;gt; n+1\in\N &amp;lt;/math&amp;gt;.&lt;br /&gt;
* Let &amp;lt;math&amp;gt; g: \N\to\Z &amp;lt;/math&amp;gt; such that |g(n)| = n. This is not a valid function, since for &amp;lt;math&amp;gt; n\in\N &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; g(n) &amp;lt;math&amp;gt; can equal both &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; -n &amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; n\neq -n &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt; n\neq 0 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 129-140&lt;br /&gt;
* [https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/A_Spiral_Workbook_for_Discrete_Mathematics_(Kwong)/06%3A_Functions/6.02%3A_De%EF%AC%81nition_of_Functions Definition of Functions], Mathematics LibreTexts&lt;/div&gt;</summary>
		<author><name>Lila</name></author>
		
	</entry>
</feed>