 
    
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>function Archives - Complete, Concrete, Concise</title>
	<atom:link href="https://complete-concrete-concise.com/tag/function/feed/" rel="self" type="application/rss+xml" />
	<link>https://complete-concrete-concise.com/tag/function/</link>
	<description>Practical Information Without The Bloat</description>
	<lastBuildDate>Mon, 21 Mar 2011 16:45:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>What is a Function?</title>
		<link>https://complete-concrete-concise.com/mathematics/what-is-a-function/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Mon, 21 Mar 2011 16:45:11 +0000</pubDate>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[definition]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[what is a function]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=10</guid>

					<description><![CDATA[<p>In mathematics: Unknown things are often written using x, y, or z. Known things are often written using a, b, or c. Functions are often written using f, g, or h. A function is an abstraction. Just as using a variable lets you talk about an unknown value in an equation: x2 + 2 = [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/mathematics/what-is-a-function/">What is a Function?</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>In mathematics:</p>
<ul>
<li>Unknown things are often written using <em>x</em>, <em>y</em>, or <em>z</em>.</li>
<li>Known things are often written using <em>a</em>, <em>b</em>, or <em>c</em>.</li>
<li>Functions are often written using <em>f</em>, <em>g</em>, or <em>h</em>.</li>
</ul>
</div>
<p>A function is an abstraction. Just as using a variable lets you talk about an unknown value in an equation:</p>
<p>x<sup>2</sup> + 2 = 6</p>
<p>x<sup>2</sup>+ y = 7</p>
<p>using a function lets you generalize about mathematical operations:</p>
<p><em>f(x)</em><br />
<em>g(x, y)</em></p>
<p>The actual mathematical operation doesn’t matter because all functions have certain properties and behaviours in common. Besides, it is a lot easier to write <em>f(x)</em> than some long equation.</p>
<p>In mathematical terms:</p>
<div class="c2">
<p><em>A function f is a mapping from the set <strong>A</strong> to the set <strong>B</strong>, where set <strong>A</strong> is called the <strong>domain</strong> and set <strong>B</strong> is called the <strong>codomain</strong></em>.</p>
<p>It is written as <em>f</em> : <strong>A</strong> &rarr; <strong>B</strong>.</p>
</div>
<p>This simply means that a function</p>
<ul>
<li>takes things found in <strong>A</strong> (the <strong>domain</strong>)</li>
<li>does something to them</li>
<li>and returns things found in <strong>B</strong> (the <strong>codomain</strong>)</li>
</ul>
<p>There is no restriction on what sets <strong>A</strong> and <strong>B</strong> are. They could be</p>
<ul>
<li>a set of integers,</li>
<li>a set of real numbers</li>
<li>a set of functions returning positive integers</li>
<li>a set of convex polygons</li>
<li>a set of two dimensional data representing images</li>
</ul>
<p>They don’t even have to be the same sets – the <strong>codomain</strong> can be different from the <strong>domain</strong>.
</p>
<p>The only restriction is that there can only be one mapping from <strong>A</strong> to <strong>B</strong>. In other words, every single item in the set<strong> A</strong>, when processed by the function, can only map to a single item from the set <strong>B</strong>. Although, multiple items in <strong>A</strong> can map to the same item in <strong>B</strong>.
</p>
<p>For example, given</p>
<p><em>f(x)</em> = &radic;x</p>
<ul>
<li>If the <strong>domain</strong> is the set of positive real numbers (i.e. all numbers greater than 0) and if the <strong>codomain</strong> is the set of all positive real numbers, then <em>f(x)</em> is a function.</li>
<li>If the <strong>domain</strong> is the set of positive real numbers and if the <strong>codomain</strong> is the set of all real numbers (both positive and negative), then <em>f(x)</em> is not a function (hint, &radic;4 can be 2 or –2).</li>
</ul>
<p>If we are given</p>
<p><em>f(x)</em> = x &#8211; x</p>
<p>then no matter what the <strong>domain</strong> is, the <strong>codomain</strong> is always the set containing 0. Therefore, every element in the <strong>domain</strong> (set <strong>A</strong>) maps to exactly one element in the <strong>codomain</strong> (set <strong>B</strong>). They just all happen to map to the same element.</p>
<p>Given this restriction, our mathematical definition now looks like this:</p>
<div class="c2">
<p><em>A function f is a mapping from the set <strong>A</strong> to the set <strong>B</strong>, such that each element of <strong>A</strong> maps to exactly one element in <strong>B</strong>. Set <strong>A</strong> is called the <strong>domain</strong> and set <strong>B</strong> is called the <strong>codomain</strong></em>.</p>
<p>It is written as <em>f</em> : <strong>A</strong> &rarr; <strong>B</strong>.</p>
</div>
<h2>Notation</h2>
<p>Functions can be referred to by just a letter – <em>f</em> being the most common.</p>
<p>You can have a whole bunch of functions and refer to them as <em>f<sub>1</sub></em>, <em>f<sub>2</sub></em>, <em>f<sub>3</sub></em>, &#8230; <em>f<sub>n</sub></em>.</p>
<p>Functions can be written with parameters – <em>f(x)</em> being common. It should be read as <em>“the value of <strong>x</strong> being evaluated / processed by the function <strong>f</strong>”. </em></p>
<p>Functions can have a whole bunch of parameters:</p>
<p><em>f(x, y)</em></p>
<p><em>f(x, y, z, w)</em></p>
<p><em>f(x<sub>1</sub>, x<sub>2</sub>, &#8230; x<sub>n</sub>)</em></p>
<p>The function can be defined for you:</p>
<p><em>f(x)</em> = x<sup>2</sup> + 3x + 2</p>
<p>It can also be defined in terms of other functions:</p>
<p><em>g(x, y)</em> = &int;&int;<em>f(x,y)</em></p>
<p>(Here, <em>g(x, y)</em> is being defined as the double integration of function <em>f(x, y)</em>)</p>

<p>The post <a href="https://complete-concrete-concise.com/mathematics/what-is-a-function/">What is a Function?</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
