Presentation on Functions...a topic of Mathematics. Functions, Domain, Codomian, Range
Size: 1.48 MB
Language: en
Added: Aug 24, 2015
Slides: 19 pages
Slide Content
And its Application
Property of Amit Amola.
Should be used for reference
and with consent. 1
Inmathematics, afunctionis arelation
between asetof inputs and a set of
permissible outputs with the property that
each input is related to exactly one output.
For an example of a function, letXbe theset
consisting of four shapes: a red triangle, a yellow
rectangle, a green hexagon, and a red square; and
let Ybe the set consisting of five colors: red, blue, green, pink, and yellow. Linking each shape
to its color is a function fromXtoY: each shape is linked to a color (i.e., an element inY), and
each shape is linked to exactly one color. There is no shape that lacks a color and no shape that
has two or more colors. This function will be referred to as the "color-of-the-shape function".
Property of Amit Amola.
Should be used for reference
and with consent. 2
1."...each element..."means that every element inXis related
to some element inY.
(But some elements ofYmight not be related to anyvalue,
which is fine.)
2."...exactly one..."means that a function issingle valued. It
will not give back 2 or more results for the same input.
So for example "f(2) = 7or9" is not right!
If a relationship does not follow those two rules then
it isnot a function... it would still be a relationship,
just not a function.
Property of Amit Amola.
Should be used for reference
and with consent. 3
In our examples above
1. the set "X" is called theDomain,
2. the set "Y" is called theCodomain, and
3. the set of elements that get pointed to in Y (the actual values produced by the function) is
called the Range.
Property of Amit Amola.
Should be used for reference
and with consent. 4
You can write the input and output of a function as an "ordered pair", such as (4,16).
They are calledorderedpairs because the input always comes first, and the output second: (input, output)
So it looks like this: (x,f(x))
Example-(4,16)means that the function takes in “4” and gives out “16”.
Set of Ordered Pairs
A function can then be defined as asetof ordered pairs:
For example in above diag. where we had shapes and their particular color, the ordered pairs are-( , ),
( , ),( , ),( , ).
But the function has to besingle valued, so we also say
“if it contains ( , ),and ( , ), then must be equal to ”.
Which is not possible and is just a way of saying that an input of "a" cannot produce two different results.
Property of Amit Amola.
Should be used for reference
and with consent. 5
A functionfwith domainXand codomainYis commonly denoted by
f : X YOR X Y
In this context, the elements ofXare calledargumentsoff. For each argumentx, the
corresponding uniqueyin the codomain is called the functionvalueatxor
theimageofxunderf. It is written asf(x). One says thatf associatesywithxor mapsxtoy.
This is abbreviated by y=f(x)
Moreover in following function i.e. –
"fis a function from(the set of natural numbers) to(the set of integers)“
OR
“domain belongs to natural number and range belongs to integers".
f
Property of Amit Amola.
Should be used for reference
and with consent. 6
IfAis any subset of the domainX, thenf(A) is the subset of the codomainYconsisting of all
images of elements of A. We say thef(A) is theimageof A under f. Theimageoffis given
byf(X). On the other hand, the inverse image(orpreimage,complete inverse image) of a
subsetBof the codomainY under a functionfis the subset of the domainXdefined by:
For example, the preimage of {4, 9} under the squaring function is the set {−3,−2,2,3}.
Image
Property of Amit Amola.
Should be used for reference
and with consent. 7
Preimage
A function is calledone-to-one(or an injective) iff(a) ≠f(b) for any
twodifferentelementsaandbof the domain.
It is calledonto(orsurjective) iff(X) =Y. That is, it is onto if for every elementyin the
codomain there is anxin the domain such thatf(x) =y. Finallyfis calledbijectiveif it is both
injective and surjective.
The following is example of square function of natural number i.e. f(x)=x
2
is both one-to-one
and onto:
Property of Amit Amola.
Should be used for reference
and with consent. 8
Thecompositionof two functions takes the
output of one function as the input of a second one.
That is, the value ofxis obtained by first applyingftoxto obtain
y=f(x) and then applyinggtoyto obtainz=g(y). The composition
is only defined when the codomainoffis the domain ofg.
Assuming that, the composition in the opposite orderneed not be
defined. Even if it is, i.e., if the codomain offis the codomain ofg,
it isnotin general true that
That is, the order of the composition is important. For example, supposef(x)=x
2
andg(x)=x+1. Theng(f(x))=x
2
+1, while f(g(x))= (x+1)
2
, which
isx
2
+2x+1, a different function.
Property of Amit Amola.
Should be used for reference
and with consent.
9
The unique function over a setXthat maps each element to itself is called theidentity
functionforX.
For any set of A, the identity function on A is the function
A:A A defined by
A
(a)=a for all a A. In terms of ordered pairs,
A={ (a , a) | a A}
The Greek symbol is pronounced “yota”, so that “
A” is read “yota sub A.”
Under composition, an identity function is "neutral": iffis any function fromXtoY, then:
Property of Amit Amola.
Should be used for reference
and with consent. 10
Let f:A B. If there exists a function g:B A such that g o f =I
Aand f o g=I
B , then f is called
an invertible function and g is called the inverse of f. We write, f
-1
=g.
And clearly
As a simple example, iffconverts a temperature in degrees CelsiusCto degrees FahrenheitF,
the function converting degrees Fahrenheit to degrees Celsius would be a suitablef
−1
.
Property of Amit Amola.
Should be used for reference
and with consent. 11
A real-valued functionfis one whose codomain is the set ofreal numbersor asubsetthereof.
If, in addition, the domain is also a subset of the real number,fis a real valued function of a real
variable. The study of such functions is calledreal analysis.
Example:
Let f:R R be defined by f(x)=2x-3. The domain of
f is R and range f =R since any real number y
can be expressed y =2x-3. Graphically, this line is
represented beside the text. Since range f=R, f is onto.
It is also one-to-one, so being onto and one-to-one, it
is a bijection from R to R.10 5 0 5 10
10
0
10
20
Property of Amit Amola.
Should be used for reference
and with consent. 12
•differentiable,integrable
•polynomial,rational
•algebraic,transcendental
•odd or even
•convex,monotonic
•holomorphic,meromorphic,entire
•vector-valued
•computable
Property of Amit Amola.
Should be used for reference
and with consent. 13
Property of Amit Amola.
Should be used for reference
and with consent. 14
When the ATM card is inserted to the
machine, the program inside is performing a
function to map the number stored in the card
to your current or saving account. This is
basically a one-to-one mapping, i.e., function.
This is probably the most widely and popular
use of function.
Property of Amit Amola.
Should be used for reference
and with consent. 15
Money as a function of time. You never
have more than one amount of money at any
time because you can always add everything
to give one total amount. By understanding
how your money changes over time, you
can plan to spend your money sensibly.
Businessmen find it very useful to plot the
graph of their money over time so that they
can see when they are spending too much.
Property of Amit Amola.
Should be used for reference
and with consent. 16
Temperature as a function of various factors.
Temperature is a very complicated function because it
has so many inputs, including: the time of day, the
season, the amount of clouds in the sky, the strength of
the wind, where you are and many more. But the
important thing is that there is only one temperature
output when you measure it in a specific place. This is
what thermometer deals with and is a very good
example for many to one function.
Property of Amit Amola.
Should be used for reference
and with consent. 17
Location as a function of time. You can never be in two places at the same time. If you were to
plot the graphs of where two people are as a function of time, the place where the lines cross
means that the two people meet each other at that time. This idea is used in logistics, an area of
mathematics that tries to plan where people and items are for businesses.
Property of Amit Amola.
Should be used for reference
and with consent. 18
Property of Amit Amola.
Should be used for reference
and with consent. 19