SlideShare ist ein Scribd-Unternehmen logo
1 von 20
16 CIVIL 15/07/16 1
INTRODUCTION TO FUNCTIONSINTRODUCTION TO FUNCTIONS
The term function was recognized by a GermanThe term function was recognized by a German
Mathematician LEIBNIZ .Mathematician LEIBNIZ .
Why………to describe the dependence of oneWhy………to describe the dependence of one
quantity to an other quantity.quantity to an other quantity.
DefinitionDefinition:1. A:1. A functionfunction is a relation thatis a relation that
gives agives a single outputsingle output number for every validnumber for every valid
input number (x values cannot be repeated)input number (x values cannot be repeated)
2. Function is input and out put device.2. Function is input and out put device.
3.A function is like machine that assigns a3.A function is like machine that assigns a
unique output to every allowable input.unique output to every allowable input.
16 CIVIL 2
FunctionsFunctions
4.A4.A functionfunction f from a set X to a set Y is anf from a set X to a set Y is an
assignmentassignment of exactly one element of Y to eachof exactly one element of Y to each
element of X.element of X.
We writeWe write
f(x) = y or y = f(x)f(x) = y or y = f(x)
if y is the unique element of B assigned by theif y is the unique element of B assigned by the
function f to the element x of A.function f to the element x of A.
If f is a function from A to B, we writeIf f is a function from A to B, we write
f: Af: A→→BB
(note: Here, “(note: Here, “→→“ has nothing to do with if… then)“ has nothing to do with if… then)
16 CIVIL 3
FunctionsFunctions
5.Function is rule to which assigns a value of5.Function is rule to which assigns a value of
independent variable which corresponds to uniqueindependent variable which corresponds to unique
value of dependent variable.value of dependent variable.
If f:AIf f:A→→B, we say that A is theB, we say that A is the domaindomain of f and Bof f and B
is theis the co domainco domain of f.of f.
If f(x) = y, we say that y is theIf f(x) = y, we say that y is the imageimage of x and x isof x and x is
thethe pre-imagepre-image of y.of y.
TheThe rangerange of f:Aof f:A→→B is the set of all images ofB is the set of all images of
elements of A.elements of A.
We say that f:AWe say that f:A→→BB mapsmaps A to B.A to B.
16 CIVIL 4
FunctionFunction
A function is a rule that maps a number toA function is a rule that maps a number to
another unique number.The input to theanother unique number.The input to the
function is called the independent variable, andfunction is called the independent variable, and
is also called the argument of the function. Theis also called the argument of the function. The
output of the function is called the dependentoutput of the function is called the dependent
variable.variable.
A Swiss mathematician Leon-Hard Euler inventedA Swiss mathematician Leon-Hard Euler invented
a symbolic way to write statement y is functiona symbolic way to write statement y is function
of x as y = f(x) read as y is equal to f of xof x as y = f(x) read as y is equal to f of x
Example:Example:
y = xy = x + 1+ 1
Function
FunctionFunction - for every x there is exactly one y.- for every x there is exactly one y.
DomainDomain - set of x-values- set of x-values
RangeRange - set of y-values- set of y-values
16 CIVIL 6
Types of FunctionsTypes of Functions
A function f:AA function f:A→→B is said to beB is said to be one-to-oneone-to-one (or(or
injectiveinjective), if and only if), if and only if
∀∀x, yx, y ∈∈ A (f(x) = f(y)A (f(x) = f(y) →→ x = y)x = y)
In other words:In other words: f is one-to-one if and only if itf is one-to-one if and only if it
does not map two distinct elements of A onto thedoes not map two distinct elements of A onto the
same element of B. orsame element of B. or
Distinct elements of A have distinct imagesDistinct elements of A have distinct images
16 CIVIL 7
Types of FunctionsTypes of Functions
Example:Example:
f(Linda) = Moscowf(Linda) = Moscow
f(Max) = Bostonf(Max) = Boston
f(Kathy) = Hong Kongf(Kathy) = Hong Kong
f(Peter) = Bostonf(Peter) = Boston
Is f one-to-one?Is f one-to-one?
No, Max and Peter areNo, Max and Peter are
mapped onto the samemapped onto the same
element of the image.element of the image.
g(Linda) = Moscowg(Linda) = Moscow
g(Max) = Bostong(Max) = Boston
g(Kathy) = Hong Kongg(Kathy) = Hong Kong
g(Peter) = New Yorkg(Peter) = New York
Is g one-to-one?Is g one-to-one?
Yes, each element isYes, each element is
assigned a uniqueassigned a unique
element of the image.element of the image.
16 CIVIL 8
Types of FunctionsTypes of Functions
How can we prove that a function f is one-to-one?How can we prove that a function f is one-to-one?
Whenever you want to prove something, first takeWhenever you want to prove something, first take
a look at the relevant definition(s):a look at the relevant definition(s):
∀∀x, yx, y∈∈A (f(x) = f(y)A (f(x) = f(y) →→ x = y)x = y)
Example:Example:
f:f:RR→→RR
f(x) = xf(x) = x22
Disproof by counterexample:
f(3) = f(-3), but 3f(3) = f(-3), but 3 ≠≠ -3, so f is not one-to-one.-3, so f is not one-to-one.
9
Types of FunctionsTypes of Functions
A function f:AA function f:A→→B is calledB is called ontoonto, or, or surjectivesurjective, if, if
and only if for every element yand only if for every element y ∈∈ B there is anB there is an
element xelement x ∈∈ A with f(x) = yA with f(x) = y
In other words, f is onto if and only if itsIn other words, f is onto if and only if its rangerange isis
itsits entire co domainentire co domain. e.g.. e.g.
A function f: AA function f: A→→B is aB is a one-to-one correspondenceone-to-one correspondence,,
or aor a bijectionbijection, if and only if it is both one-to-one, if and only if it is both one-to-one
and onto.and onto.
Obviously, if f is a bijection and A and B are finiteObviously, if f is a bijection and A and B are finite
sets, then |A| = |B|.sets, then |A| = |B|.
3
y x=
10
InversionInversion
An interesting property of bijection is thatAn interesting property of bijection is that
they have anthey have an inverse functioninverse function..
TheThe inverse functioninverse function of the bijection f:Aof the bijection f:A→→BB
is the function fis the function f-1-1
:B:B→→A withA with
ff-1-1
(y) = x whenever f(x) = y.(y) = x whenever f(x) = y.
11
InversionInversion
Example:Example:
f(Linda) = Moscowf(Linda) = Moscow
f(Max) = Bostonf(Max) = Boston
f(Kathy) = Hong Kongf(Kathy) = Hong Kong
f(Peter) = Lf(Peter) = Lüübeckbeck
f(Helena) = New Yorkf(Helena) = New York
Clearly, f is bijective.Clearly, f is bijective.
The inverse functionThe inverse function
ff-1-1
is given by:is given by:
ff-1-1
(Moscow) = Linda(Moscow) = Linda
ff-1-1
(Boston) = Max(Boston) = Max
ff-1-1
(Hong Kong) = Kathy(Hong Kong) = Kathy
ff-1-1
(L(Lüübeck) = Peterbeck) = Peter
ff-1-1
(New York) = Helena(New York) = Helena
Inversion is onlyInversion is only
possible for bijectionspossible for bijections
(= invertible functions)(= invertible functions)
Types of FunctionTypes of Function
Constant Function:Constant Function:
Let ‘A’ and ‘B’ be any two non–emptyLet ‘A’ and ‘B’ be any two non–empty
sets, then a function ‘ff’ from ‘A’ tosets, then a function ‘ff’ from ‘A’ to
‘B’ is called Constant Function if and‘B’ is called Constant Function if and
only if range of ‘f’ is a singleton.only if range of ‘f’ is a singleton.
Algebraic Function: TheAlgebraic Function: The functionfunction
defined by algebraic expression aredefined by algebraic expression are
called algebraic function.called algebraic function.
12
FunctionsFunctions
aann is called theis called the leading coefficientleading coefficient
nn is theis the degreedegree of the polynomialof the polynomial
aa00 is called theis called the constant termconstant term
Polynomial FunctionPolynomial Function
AA polynomial function of degreepolynomial function of degree nn in the variablein the variable xx isis
a function defined bya function defined by
where eachwhere each aaii is real,is real, aann  0, and 0, and nn is a whole number.is a whole number.
01
1
1)( axaxaxaxP n
n
n
n ++++= −
− 
Polynomial FunctionsPolynomial Functions
The largest exponent within theThe largest exponent within the
polynomial determines the degree of thepolynomial determines the degree of the
polynomial.polynomial.
Polynomial
Function in
General Form
Degree
Name of
Function
1 Linear
2 Quadratic
3 Cubic
4 Quarticedxcxbxaxy ++++= 234
dcxbxaxy +++= 23
cbxaxy ++= 2
baxy +=
Even and Odd FunctionsEven and Odd Functions
A function is y = f(x) isA function is y = f(x) is eveneven if, for each x in theif, for each x in the
domain of f,domain of f,
f(-x) = f(x)f(-x) = f(x)
A function is y = f(x) isA function is y = f(x) is oddodd if, for each x in theif, for each x in the
domain of f,domain of f,
f(-x) = -f(x)f(-x) = -f(x)
An even function is symmetric about the y-axis.An even function is symmetric about the y-axis.
An odd function is symmetric about the origin.An odd function is symmetric about the origin.
Ex. g(x) = xEx. g(x) = x33
- x- x
g(-x) = (-x)g(-x) = (-x)33
– (-x) = -x– (-x) = -x33
+ x =+ x =-(x-(x33
– x)– x)
Therefore, g(x) is odd because f(-x) = -f(x)Therefore, g(x) is odd because f(-x) = -f(x)
Ex. h(x) = xEx. h(x) = x22
+ 1+ 1
h(-x) = (-x)h(-x) = (-x)22
+ 1 = x+ 1 = x22
+ 1+ 1
h(x) is even because f(-x) = f(x)h(x) is even because f(-x) = f(x)
17
CompositionComposition
TheThe compositioncomposition of two functions g:Aof two functions g:A→→B andB and
f:Bf:B→→C, denoted by fC, denoted by f°°g, is defined byg, is defined by
(f(f°°g)(a) = f(g(a))g)(a) = f(g(a))
This means thatThis means that
• firstfirst, function g is applied to element a, function g is applied to element a∈∈A,A,
mapping it onto an element of B,mapping it onto an element of B,
• thenthen, function f is applied to this element of, function f is applied to this element of
B, mapping it onto an element of C.B, mapping it onto an element of C.
• ThereforeTherefore, the composite function maps, the composite function maps
from A to C.from A to C.
18
CompositionComposition
Example:Example:
f(x) = 7x – 4, g(x) = 3x,f(x) = 7x – 4, g(x) = 3x,
f:f:RR→→RR, g:, g:RR→→RR
(f(f°°g)(5) = f(g(5)) = f(15) = 105 – 4 = 101g)(5) = f(g(5)) = f(15) = 105 – 4 = 101
(f(f°°g)(x) = f(g(x)) = f(3x) = 21x - 4g)(x) = f(g(x)) = f(3x) = 21x - 4
19
CompositionComposition
Composition of a function and its inverse:Composition of a function and its inverse:
(f(f-1-1
°°f)(x) = ff)(x) = f-1-1
(f(x)) = x(f(x)) = x
The composition of a function and its inverseThe composition of a function and its inverse
is theis the identity functionidentity function i(x) = x.i(x) = x.
20
Floor and Ceiling FunctionsFloor and Ceiling Functions
TheThe floorfloor andand ceilingceiling functions map the realfunctions map the real
numbers onto the integers (numbers onto the integers (RR→→ZZ).).
TheThe floorfloor function assigns to rfunction assigns to r∈∈RR the largestthe largest
zz∈∈ZZ with zwith z ≤≤ r, denoted byr, denoted by rr..
Examples:Examples: 2.32.3 = 2,= 2, 22 = 2,= 2, 0.50.5 = 0,= 0, -3.5-3.5 = -4= -4
TheThe ceilingceiling function assigns to rfunction assigns to r∈∈RR the smallestthe smallest
zz∈∈ZZ with zwith z ≥≥ r, denoted byr, denoted by rr..
Examples:Examples: 2.32.3 = 3,= 3, 22 = 2,= 2, 0.50.5 = 1,= 1, -3.5-3.5 = -3= -3

Weitere ähnliche Inhalte

Was ist angesagt?

1.6 inverse function (optional)
1.6 inverse function (optional)1.6 inverse function (optional)
1.6 inverse function (optional)
math123c
 
Prolog Cpt114 - Week 2
Prolog Cpt114 - Week 2Prolog Cpt114 - Week 2
Prolog Cpt114 - Week 2
a_akhavan
 
8functions
8functions8functions
8functions
manrak
 
Inverse Functions
Inverse FunctionsInverse Functions
Inverse Functions
tschmucker
 
7.7 one to_one_functions_-_inverse_functions
7.7 one to_one_functions_-_inverse_functions7.7 one to_one_functions_-_inverse_functions
7.7 one to_one_functions_-_inverse_functions
arvin gutierrez
 
53 inverse function (optional)
53 inverse function (optional)53 inverse function (optional)
53 inverse function (optional)
math126
 
Lesson 15: Inverse Trigonometric Functions
Lesson 15: Inverse Trigonometric FunctionsLesson 15: Inverse Trigonometric Functions
Lesson 15: Inverse Trigonometric Functions
Matthew Leingang
 
4 5 inverse functions
4 5 inverse functions4 5 inverse functions
4 5 inverse functions
hisema01
 

Was ist angesagt? (20)

1.6 inverse function (optional)
1.6 inverse function (optional)1.6 inverse function (optional)
1.6 inverse function (optional)
 
Calculus- Basics
Calculus- BasicsCalculus- Basics
Calculus- Basics
 
Prolog Cpt114 - Week 2
Prolog Cpt114 - Week 2Prolog Cpt114 - Week 2
Prolog Cpt114 - Week 2
 
Notes chapter 1
Notes chapter 1 Notes chapter 1
Notes chapter 1
 
5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.
 
8functions
8functions8functions
8functions
 
Inverse Functions
Inverse FunctionsInverse Functions
Inverse Functions
 
5.3 Basic functions. A handout.
5.3 Basic functions. A handout.5.3 Basic functions. A handout.
5.3 Basic functions. A handout.
 
5.6 Function inverse. A handout.
5.6 Function inverse. A handout.5.6 Function inverse. A handout.
5.6 Function inverse. A handout.
 
Inverse function
Inverse functionInverse function
Inverse function
 
Calc 5.3
Calc 5.3Calc 5.3
Calc 5.3
 
7.7 one to_one_functions_-_inverse_functions
7.7 one to_one_functions_-_inverse_functions7.7 one to_one_functions_-_inverse_functions
7.7 one to_one_functions_-_inverse_functions
 
53 inverse function (optional)
53 inverse function (optional)53 inverse function (optional)
53 inverse function (optional)
 
Convex Analysis and Duality (based on "Functional Analysis and Optimization" ...
Convex Analysis and Duality (based on "Functional Analysis and Optimization" ...Convex Analysis and Duality (based on "Functional Analysis and Optimization" ...
Convex Analysis and Duality (based on "Functional Analysis and Optimization" ...
 
5.2. Function composition
5.2. Function composition5.2. Function composition
5.2. Function composition
 
5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.
 
Lesson 15: Inverse Trigonometric Functions
Lesson 15: Inverse Trigonometric FunctionsLesson 15: Inverse Trigonometric Functions
Lesson 15: Inverse Trigonometric Functions
 
Formulae
FormulaeFormulae
Formulae
 
4 5 inverse functions
4 5 inverse functions4 5 inverse functions
4 5 inverse functions
 
Functions
Functions Functions
Functions
 

Ähnlich wie Functions (1)

01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf
RajuSingh806014
 
2 7 Bzca5e
2 7 Bzca5e2 7 Bzca5e
2 7 Bzca5e
silvia
 
Inverses & One-to-One
Inverses & One-to-OneInverses & One-to-One
Inverses & One-to-One
aabdel96
 

Ähnlich wie Functions (1) (20)

functions-1.pdf
functions-1.pdffunctions-1.pdf
functions-1.pdf
 
L04 (1)
L04 (1)L04 (1)
L04 (1)
 
Topic 3 Inverse of function, steps to find inverse and properties of inverse
Topic 3 Inverse of function, steps to find inverse and properties of inverseTopic 3 Inverse of function, steps to find inverse and properties of inverse
Topic 3 Inverse of function, steps to find inverse and properties of inverse
 
CMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions RepresentationsCMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions Representations
 
PreCalc Section 1.6.ppt
PreCalc Section 1.6.pptPreCalc Section 1.6.ppt
PreCalc Section 1.6.ppt
 
Inverse function
Inverse function Inverse function
Inverse function
 
Functions
Functions Functions
Functions
 
237654933 mathematics-t-form-6
237654933 mathematics-t-form-6237654933 mathematics-t-form-6
237654933 mathematics-t-form-6
 
Functions
FunctionsFunctions
Functions
 
Math task 3
Math task 3Math task 3
Math task 3
 
Functions.ppt
Functions.pptFunctions.ppt
Functions.ppt
 
Functions.ppt
Functions.pptFunctions.ppt
Functions.ppt
 
01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf
 
TYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLES
TYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLESTYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLES
TYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLES
 
2 7 Bzca5e
2 7 Bzca5e2 7 Bzca5e
2 7 Bzca5e
 
Task3
Task3Task3
Task3
 
The concept of functions.pptx
The concept of functions.pptxThe concept of functions.pptx
The concept of functions.pptx
 
Inverses & One-to-One
Inverses & One-to-OneInverses & One-to-One
Inverses & One-to-One
 
Functions
FunctionsFunctions
Functions
 
Functions (Theory)
Functions (Theory)Functions (Theory)
Functions (Theory)
 

Mehr von Ghulam Mehdi Sahito

Mehr von Ghulam Mehdi Sahito (18)

Rehabilitation of Flexible Pavements.pptx
Rehabilitation of Flexible Pavements.pptxRehabilitation of Flexible Pavements.pptx
Rehabilitation of Flexible Pavements.pptx
 
16. AASHTO Pavement Design Method (Rigid).pptx
16. AASHTO  Pavement Design Method (Rigid).pptx16. AASHTO  Pavement Design Method (Rigid).pptx
16. AASHTO Pavement Design Method (Rigid).pptx
 
03. Highway Planning and highway components.pptx
03. Highway Planning and highway components.pptx03. Highway Planning and highway components.pptx
03. Highway Planning and highway components.pptx
 
04. Design Controls.pptx
04. Design Controls.pptx04. Design Controls.pptx
04. Design Controls.pptx
 
06. Cross-section elements.pptx
06. Cross-section elements.pptx06. Cross-section elements.pptx
06. Cross-section elements.pptx
 
17. AASHTO Rigid Pavement Design (Example).pptx
17. AASHTO Rigid  Pavement Design (Example).pptx17. AASHTO Rigid  Pavement Design (Example).pptx
17. AASHTO Rigid Pavement Design (Example).pptx
 
05. Classification of Roads.pptx
05. Classification of Roads.pptx05. Classification of Roads.pptx
05. Classification of Roads.pptx
 
13a. Road Construction Methods.pptx
13a. Road Construction Methods.pptx13a. Road Construction Methods.pptx
13a. Road Construction Methods.pptx
 
Traffic Engineering.pptx
Traffic Engineering.pptxTraffic Engineering.pptx
Traffic Engineering.pptx
 
15. Example on AASHTO Flexible Method.pptx
15. Example on AASHTO Flexible Method.pptx15. Example on AASHTO Flexible Method.pptx
15. Example on AASHTO Flexible Method.pptx
 
21. Design of signalized Intersection.pptx
21. Design of signalized Intersection.pptx21. Design of signalized Intersection.pptx
21. Design of signalized Intersection.pptx
 
Foundation ppt
Foundation  pptFoundation  ppt
Foundation ppt
 
De watering-ppt
De watering-pptDe watering-ppt
De watering-ppt
 
Damp proofing ppt
Damp proofing pptDamp proofing ppt
Damp proofing ppt
 
Curing ppt
Curing pptCuring ppt
Curing ppt
 
Connstruction engg ppt 2016
Connstruction engg ppt 2016Connstruction engg ppt 2016
Connstruction engg ppt 2016
 
introduction to Numerical Analysis
introduction to Numerical Analysisintroduction to Numerical Analysis
introduction to Numerical Analysis
 
Linear algebra notes
Linear algebra notesLinear algebra notes
Linear algebra notes
 

Kürzlich hochgeladen

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Kürzlich hochgeladen (20)

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 

Functions (1)

  • 1. 16 CIVIL 15/07/16 1 INTRODUCTION TO FUNCTIONSINTRODUCTION TO FUNCTIONS The term function was recognized by a GermanThe term function was recognized by a German Mathematician LEIBNIZ .Mathematician LEIBNIZ . Why………to describe the dependence of oneWhy………to describe the dependence of one quantity to an other quantity.quantity to an other quantity. DefinitionDefinition:1. A:1. A functionfunction is a relation thatis a relation that gives agives a single outputsingle output number for every validnumber for every valid input number (x values cannot be repeated)input number (x values cannot be repeated) 2. Function is input and out put device.2. Function is input and out put device. 3.A function is like machine that assigns a3.A function is like machine that assigns a unique output to every allowable input.unique output to every allowable input.
  • 2. 16 CIVIL 2 FunctionsFunctions 4.A4.A functionfunction f from a set X to a set Y is anf from a set X to a set Y is an assignmentassignment of exactly one element of Y to eachof exactly one element of Y to each element of X.element of X. We writeWe write f(x) = y or y = f(x)f(x) = y or y = f(x) if y is the unique element of B assigned by theif y is the unique element of B assigned by the function f to the element x of A.function f to the element x of A. If f is a function from A to B, we writeIf f is a function from A to B, we write f: Af: A→→BB (note: Here, “(note: Here, “→→“ has nothing to do with if… then)“ has nothing to do with if… then)
  • 3. 16 CIVIL 3 FunctionsFunctions 5.Function is rule to which assigns a value of5.Function is rule to which assigns a value of independent variable which corresponds to uniqueindependent variable which corresponds to unique value of dependent variable.value of dependent variable. If f:AIf f:A→→B, we say that A is theB, we say that A is the domaindomain of f and Bof f and B is theis the co domainco domain of f.of f. If f(x) = y, we say that y is theIf f(x) = y, we say that y is the imageimage of x and x isof x and x is thethe pre-imagepre-image of y.of y. TheThe rangerange of f:Aof f:A→→B is the set of all images ofB is the set of all images of elements of A.elements of A. We say that f:AWe say that f:A→→BB mapsmaps A to B.A to B.
  • 4. 16 CIVIL 4 FunctionFunction A function is a rule that maps a number toA function is a rule that maps a number to another unique number.The input to theanother unique number.The input to the function is called the independent variable, andfunction is called the independent variable, and is also called the argument of the function. Theis also called the argument of the function. The output of the function is called the dependentoutput of the function is called the dependent variable.variable. A Swiss mathematician Leon-Hard Euler inventedA Swiss mathematician Leon-Hard Euler invented a symbolic way to write statement y is functiona symbolic way to write statement y is function of x as y = f(x) read as y is equal to f of xof x as y = f(x) read as y is equal to f of x Example:Example: y = xy = x + 1+ 1
  • 5. Function FunctionFunction - for every x there is exactly one y.- for every x there is exactly one y. DomainDomain - set of x-values- set of x-values RangeRange - set of y-values- set of y-values
  • 6. 16 CIVIL 6 Types of FunctionsTypes of Functions A function f:AA function f:A→→B is said to beB is said to be one-to-oneone-to-one (or(or injectiveinjective), if and only if), if and only if ∀∀x, yx, y ∈∈ A (f(x) = f(y)A (f(x) = f(y) →→ x = y)x = y) In other words:In other words: f is one-to-one if and only if itf is one-to-one if and only if it does not map two distinct elements of A onto thedoes not map two distinct elements of A onto the same element of B. orsame element of B. or Distinct elements of A have distinct imagesDistinct elements of A have distinct images
  • 7. 16 CIVIL 7 Types of FunctionsTypes of Functions Example:Example: f(Linda) = Moscowf(Linda) = Moscow f(Max) = Bostonf(Max) = Boston f(Kathy) = Hong Kongf(Kathy) = Hong Kong f(Peter) = Bostonf(Peter) = Boston Is f one-to-one?Is f one-to-one? No, Max and Peter areNo, Max and Peter are mapped onto the samemapped onto the same element of the image.element of the image. g(Linda) = Moscowg(Linda) = Moscow g(Max) = Bostong(Max) = Boston g(Kathy) = Hong Kongg(Kathy) = Hong Kong g(Peter) = New Yorkg(Peter) = New York Is g one-to-one?Is g one-to-one? Yes, each element isYes, each element is assigned a uniqueassigned a unique element of the image.element of the image.
  • 8. 16 CIVIL 8 Types of FunctionsTypes of Functions How can we prove that a function f is one-to-one?How can we prove that a function f is one-to-one? Whenever you want to prove something, first takeWhenever you want to prove something, first take a look at the relevant definition(s):a look at the relevant definition(s): ∀∀x, yx, y∈∈A (f(x) = f(y)A (f(x) = f(y) →→ x = y)x = y) Example:Example: f:f:RR→→RR f(x) = xf(x) = x22 Disproof by counterexample: f(3) = f(-3), but 3f(3) = f(-3), but 3 ≠≠ -3, so f is not one-to-one.-3, so f is not one-to-one.
  • 9. 9 Types of FunctionsTypes of Functions A function f:AA function f:A→→B is calledB is called ontoonto, or, or surjectivesurjective, if, if and only if for every element yand only if for every element y ∈∈ B there is anB there is an element xelement x ∈∈ A with f(x) = yA with f(x) = y In other words, f is onto if and only if itsIn other words, f is onto if and only if its rangerange isis itsits entire co domainentire co domain. e.g.. e.g. A function f: AA function f: A→→B is aB is a one-to-one correspondenceone-to-one correspondence,, or aor a bijectionbijection, if and only if it is both one-to-one, if and only if it is both one-to-one and onto.and onto. Obviously, if f is a bijection and A and B are finiteObviously, if f is a bijection and A and B are finite sets, then |A| = |B|.sets, then |A| = |B|. 3 y x=
  • 10. 10 InversionInversion An interesting property of bijection is thatAn interesting property of bijection is that they have anthey have an inverse functioninverse function.. TheThe inverse functioninverse function of the bijection f:Aof the bijection f:A→→BB is the function fis the function f-1-1 :B:B→→A withA with ff-1-1 (y) = x whenever f(x) = y.(y) = x whenever f(x) = y.
  • 11. 11 InversionInversion Example:Example: f(Linda) = Moscowf(Linda) = Moscow f(Max) = Bostonf(Max) = Boston f(Kathy) = Hong Kongf(Kathy) = Hong Kong f(Peter) = Lf(Peter) = Lüübeckbeck f(Helena) = New Yorkf(Helena) = New York Clearly, f is bijective.Clearly, f is bijective. The inverse functionThe inverse function ff-1-1 is given by:is given by: ff-1-1 (Moscow) = Linda(Moscow) = Linda ff-1-1 (Boston) = Max(Boston) = Max ff-1-1 (Hong Kong) = Kathy(Hong Kong) = Kathy ff-1-1 (L(Lüübeck) = Peterbeck) = Peter ff-1-1 (New York) = Helena(New York) = Helena Inversion is onlyInversion is only possible for bijectionspossible for bijections (= invertible functions)(= invertible functions)
  • 12. Types of FunctionTypes of Function Constant Function:Constant Function: Let ‘A’ and ‘B’ be any two non–emptyLet ‘A’ and ‘B’ be any two non–empty sets, then a function ‘ff’ from ‘A’ tosets, then a function ‘ff’ from ‘A’ to ‘B’ is called Constant Function if and‘B’ is called Constant Function if and only if range of ‘f’ is a singleton.only if range of ‘f’ is a singleton. Algebraic Function: TheAlgebraic Function: The functionfunction defined by algebraic expression aredefined by algebraic expression are called algebraic function.called algebraic function. 12
  • 13. FunctionsFunctions aann is called theis called the leading coefficientleading coefficient nn is theis the degreedegree of the polynomialof the polynomial aa00 is called theis called the constant termconstant term Polynomial FunctionPolynomial Function AA polynomial function of degreepolynomial function of degree nn in the variablein the variable xx isis a function defined bya function defined by where eachwhere each aaii is real,is real, aann  0, and 0, and nn is a whole number.is a whole number. 01 1 1)( axaxaxaxP n n n n ++++= − − 
  • 14. Polynomial FunctionsPolynomial Functions The largest exponent within theThe largest exponent within the polynomial determines the degree of thepolynomial determines the degree of the polynomial.polynomial. Polynomial Function in General Form Degree Name of Function 1 Linear 2 Quadratic 3 Cubic 4 Quarticedxcxbxaxy ++++= 234 dcxbxaxy +++= 23 cbxaxy ++= 2 baxy +=
  • 15. Even and Odd FunctionsEven and Odd Functions A function is y = f(x) isA function is y = f(x) is eveneven if, for each x in theif, for each x in the domain of f,domain of f, f(-x) = f(x)f(-x) = f(x) A function is y = f(x) isA function is y = f(x) is oddodd if, for each x in theif, for each x in the domain of f,domain of f, f(-x) = -f(x)f(-x) = -f(x) An even function is symmetric about the y-axis.An even function is symmetric about the y-axis. An odd function is symmetric about the origin.An odd function is symmetric about the origin.
  • 16. Ex. g(x) = xEx. g(x) = x33 - x- x g(-x) = (-x)g(-x) = (-x)33 – (-x) = -x– (-x) = -x33 + x =+ x =-(x-(x33 – x)– x) Therefore, g(x) is odd because f(-x) = -f(x)Therefore, g(x) is odd because f(-x) = -f(x) Ex. h(x) = xEx. h(x) = x22 + 1+ 1 h(-x) = (-x)h(-x) = (-x)22 + 1 = x+ 1 = x22 + 1+ 1 h(x) is even because f(-x) = f(x)h(x) is even because f(-x) = f(x)
  • 17. 17 CompositionComposition TheThe compositioncomposition of two functions g:Aof two functions g:A→→B andB and f:Bf:B→→C, denoted by fC, denoted by f°°g, is defined byg, is defined by (f(f°°g)(a) = f(g(a))g)(a) = f(g(a)) This means thatThis means that • firstfirst, function g is applied to element a, function g is applied to element a∈∈A,A, mapping it onto an element of B,mapping it onto an element of B, • thenthen, function f is applied to this element of, function f is applied to this element of B, mapping it onto an element of C.B, mapping it onto an element of C. • ThereforeTherefore, the composite function maps, the composite function maps from A to C.from A to C.
  • 18. 18 CompositionComposition Example:Example: f(x) = 7x – 4, g(x) = 3x,f(x) = 7x – 4, g(x) = 3x, f:f:RR→→RR, g:, g:RR→→RR (f(f°°g)(5) = f(g(5)) = f(15) = 105 – 4 = 101g)(5) = f(g(5)) = f(15) = 105 – 4 = 101 (f(f°°g)(x) = f(g(x)) = f(3x) = 21x - 4g)(x) = f(g(x)) = f(3x) = 21x - 4
  • 19. 19 CompositionComposition Composition of a function and its inverse:Composition of a function and its inverse: (f(f-1-1 °°f)(x) = ff)(x) = f-1-1 (f(x)) = x(f(x)) = x The composition of a function and its inverseThe composition of a function and its inverse is theis the identity functionidentity function i(x) = x.i(x) = x.
  • 20. 20 Floor and Ceiling FunctionsFloor and Ceiling Functions TheThe floorfloor andand ceilingceiling functions map the realfunctions map the real numbers onto the integers (numbers onto the integers (RR→→ZZ).). TheThe floorfloor function assigns to rfunction assigns to r∈∈RR the largestthe largest zz∈∈ZZ with zwith z ≤≤ r, denoted byr, denoted by rr.. Examples:Examples: 2.32.3 = 2,= 2, 22 = 2,= 2, 0.50.5 = 0,= 0, -3.5-3.5 = -4= -4 TheThe ceilingceiling function assigns to rfunction assigns to r∈∈RR the smallestthe smallest zz∈∈ZZ with zwith z ≥≥ r, denoted byr, denoted by rr.. Examples:Examples: 2.32.3 = 3,= 3, 22 = 2,= 2, 0.50.5 = 1,= 1, -3.5-3.5 = -3= -3