Applied Calculus New Free Lecture 2.1 .ppt

RaheelAhmed368750 23 views 30 slides Jul 23, 2024
Slide 1
Slide 1 of 30
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30

About This Presentation

Applied Calculus


Slide Content

APPLIED CALCULUS
Lecture # 02
Introduction to Functions
1

Fair Use Notice
Thematerialusedinthispresentationi.e.,pictures/graphs/text,
etc.issolelyintendedforeducational/teachingpurpose,offered
freeofcosttothestudentsforuseunderspecialcircumstancesof
OnlineEducationduetoCOVID-19Lockdownsituationandmay
includecopyrightedmaterial-theuseofwhichmaynothavebeen
specificallyauthorizedbyCopyrightOwners.It’sapplication
constitutesFairUseofanysuchcopyrightedmaterialasprovidedin
globallyacceptedlawofmanycountries.Thecontentsof
presentationsareintendedonlyfortheattendeesoftheclassbeing
conductedbythepresenter.
2

INTRODUCTION TO FUNCTIONS
Thetermfunctionwasrecognizedbya
GermanMathematicianWilhelmLEIBNIZin
1673.
Why?Todescribethedependenceofone
quantitytoanotherquantity.Forexample
1.Areaofcircledependsonradiusofcircle
2.No:ofshirtsdependsonrevenue
3.Agedependsonheight
4.Armlengthisafunctionofheight
5.Aweeklysalaryisafunctionofthehourlypayrateand
thenumberofhoursworked.
20 EL 3

Functions
1.Functionisinputandoutputdevice.
2.Afunctionislikemachinethatassignsa
uniqueoutputtoeveryallowableinput.
EL 20 4

Functions
3.Afunctionisarelationthatgivesasingleoutput
numberforeveryvalidinputnumber(xvalues
cannotberepeated)
4.LetAandBbenonemptysets.Afunctionffrom
AtoBisanassignmentofexactlyoneelementofB
toeachelementofAWewritef(a)=bifbisthe
uniqueelementofBassignedbythefunctionfto
theelementaofA.
Functionsaresometimescalledmappingsor
transformations
EL 20 5

Functions
5.AfunctionffromasetXtoasetYisanassignment
ofexactlyoneelementofYtoeachelementofX.
Wewritef(x)=yory=f(x)
ifyistheuniqueelementofBassignedbythe
functionftotheelementxofA.
IffisafunctionfromAtoB,wewritef:AB
6.Functionisruletowhichassignsavalueofindependent
variablewhichcorrespondstouniquevalueofdependent
variable.
20 EL
6

Functions
If f:AB, we say that A is the domain of f and B is the
co domain of f.
If f(x) = y, we say that y is the image of x and x is the pre-image
of y. The range of f:AB is the set of all images of elements of
A.
We say that f:AB maps A to B.
20 EL 7

Correspondence
EL 20 8

Function
7.A function is a rule that maps a number to another
unique number.The input to the function is called the
independent variable, and is also called the argument
of the function. The output of the function is called
the dependent variable.
A Swiss mathematician Leon-Hard Euler invented a
symbolic way to write statement y is function of x as
y = f(x) read as y is equal to f of x where y is called
dependent and x is called independent variable
Example:
y = x + 1
9

Functions
Function: for every x there is exactly one y.
•Domain= the set of x values
•Range = the set of y values
10

Representation of Function
EL 20 11

Representation of Function
EL 20 12

Representation of Function
EL 20 13

Types of Functions
•A function f:AB is said to be one-to-one (or injective),
if and only if
•x, y A (f(x) = f(y) x = y)
•In other words: f is one-to-one if and only if it does not
map two distinct elements of A onto the same element of
B. or
•Distinct elements of A have distinct images
•Different pre images have different images
14

Types of Functions
•Example:
•f(Ali) = Sukkur
•f(Munir) = Karachi
•f(Nek) = Hyderabad
•f(Kaleem) = Karachi
•Is f one-to-one?
•No, Muneer and Kaleem
are mapped onto the
same element of the
image.
15
g(Ali) = Sukkur
g(Munir) = Karachi
g(Nek) = Hyderabad
g(Kaleem) =Rohri
Is g one-to-one?
Yes, each element is
assigned a unique
element of the image.

Types of Functions
•How can we prove that a function f is one-to-one?
•Whenever you want to prove something, first take a look
at the relevant definition(s):
x, yA (f(x) = f(y) x = y)
•Example:
f:RR
f(x) = x
2
Disproof by counterexample:
f(3) = f(-3), but 3 -3, so f is not one-to-one.
16

Types of Functions
•A function f:AB is called onto, or surjective, iff for every
element y B there is an element x A with f(x) = y
f is onto if and only if its rangeis its entire co domain. e.g.
•A function f: AB is a one-to-one correspondence, or a
bijection, if and only if it is both one-to-one and onto.
173
yx

Types of functions
EL 20 18

Inversion
•An interesting property of bijection is that they have
an inverse function.
•The inverse functionof the bijection f:AB is the
function f
-1
:BA with
•f
-1
(y) = x whenever f(x) = y.
19

Inversion
20
Example:
f(Ali) = Karachi
f(Ahmed) = Hyderabad
f(Kamran) = N.Shah
f(Parvez) = Sukkur
f(Haleem) = Larkana
Clearly, f is bijective.
The inverse function f
-1
is given by:
f
-1
(Karachi) = Ali
f
-1
(Hyderabad) = Ahmed
f
-1
(N.shah) = Kamran
f
-1
(Sukkur) = Parveez
f
-1
(Larkana) = Haleem
Inversion is only possible
for bijections(= invertible
functions)

Types of Function
•Constant Function:
Let A and B be any two nonempty sets, then a
function f from A to B is called Constant Function
if and only if range of f is a singleton.
•If f is constant then f(x) = C
•Algebraic Function: The function defined by
algebraic expression are called algebraic function.
21

Functions
•a
nis called the leading coefficient
•nis the degree of the polynomial
•a
0is called the constant term
Polynomial Function
A polynomial function of degree nin the variable xis
a function defined by
where each a
iis real, a
n0, and n is a whole number.01
1
1)( axaxaxaxP
n
n
n
n 

 

Polynomial Functions
Polynomial
Function in
General Form
Degree
Name of
Function
1 Linear
2 Quadratic
3 Cubic
4 Quartic
The largest exponent within the polynomial determines
the degree of the polynomial.edxcxbxaxy 
234 dcxbxaxy 
23 cbxaxy 
2 baxy 

Even and Odd Functions
A function is y = f(x) is evenif, for each x in the
domain of f, f(-x) = f(x)
A function is y = f(x) is oddif, for each x in the
domain of f,
f(-x) = -f(x)
An even function is symmetric about the y-axis.
An odd function is symmetric about the origin.

Ex. g(x) = x
3
-x
g(-x) = (-x)
3
–(-x) = -x
3
+ x =-(x
3
–x)
Therefore, g(x) is odd because f(-x) = -f(x)
Ex. h(x) = x
2
+ 1
h(-x) = (-x)
2
+ 1 = x
2
+ 1
h(x) is even because f(-x) = f(x)

Composition
•The compositionof two functions g:AB and
f:BC, denoted by fg, is defined by
•(fg)(a) = f(g(a))
•This means that
•first, function g is applied to element aA,
mapping it onto an element of B,
•then, function f is applied to this element of
B, mapping it onto an element of C.
•Therefore, the composite function maps
from A to C.
26

Composition
•Example:
•f(x) = 7x –4, g(x) = 3x,
•f:RR, g:RR
•(fg)(5) = f(g(5)) = f(15) = 105 –4 = 101
•(fg)(x) = f(g(x)) = f(3x) = 21x -4
27

Composition
•Composition of a function and its inverse:
•(f
-1
f)(x) = f
-1
(f(x)) = x
•The composition of a function and its inverse is the
identity functioni(x) = x.
28

Square root function
•Composition of a function and its inverse:
•(f
-1
f)(x) = f
-1
(f(x)) = x
•The composition of a function and its inverse is the
identity functioni(x) = x.
29

Floor and Ceiling Functions
•The floorand ceilingfunctions map the real numbers
onto the integers (RZ).
•The floorfunction assigns to rRthe largest zZwith z
r, denoted by r.it is also called greatest integer.
•Examples:2.3= 2, 2= 2, 0.5= 0, -3.5= -4
•The ceilingfunction assigns to rRthe smallest zZ
with z r, denoted by r.it is also called least integer.
•Examples:2.3= 3, 2= 2, 0.5= 1, -3.5= -3
30