SlideShare a Scribd company logo
Functions
In everyday language the word “function” has at least
two separate meanings I can think of:
A. The purpose of something, as in
“The function of a teacher is to impart knowledge.”
B. When the value of some item
somehow determines uniquely the value of
some other item, as in
“Your (alphabetized) last name determines
uniquely your position on the (numbered)
attendance sheet”
(we say that the position is a function of the last name)
or as in
“the radius of a sphere determines uniquely
its volume”
(we say the volume is a function of the radius.)
In this course we will deal exclusively with the second
interpretation:
the value of some item (usually called )
somehow determines uniquely
the value of some other item (usually called )
(we say is a function of and write )
With the wisdom of more than one century of thought
we give the definition:
Definition. A function is the following three things:
x
y
y x
1. A set D of items, called the domain (the ‘s)
2. A set R of items, called the range (the ‘s)
3. A rule or procedure f that for every given item in D
determines uniquely an item in R.
We write or, more pictorially
In this class we will eventually restrict ourselves to very
specific domains and ranges, but, in a free country, as
long as the three items above obtain we have a
function. Here are four distinct ways (actually fairly
exhaustive) that a function can arise in real life (figure
out what the domain, range and rule are in each case)
x
y
1 A table:
2. A graph
Careful!, not all squiggles are functions!, e.g
what is f(7) ?
See p. 15 of text. They
describe the
vertical line test.
2 12
7
�
�
2 12
7
7
3. A verbal description
The cost of parking in a certain parking garage
in Chicago is $15.00 for the first hour plus $5.00
for each additional half-hour or portion thereof.
(This means that if you are late, one minute can
cost you $5.00 !)
Fun question: I get to the garage at 10:43 am,
park my car and retrieve it at 7:12 pm.
How much do I pay?
4. (The most common) An explicit formula
Fun question: This is the volume of something,
of what?
In this class all functions will be of the type
where D is a set of real numbers, R is a set of real
numbers, and the function may be a graph, a formula
or both.
In fact, with few exceptions both D and R will be the
entire set of real numbers, and we will spend a fair
amount of time learning how to graph functions in
cartesian coordinates and, conversely, to infer
properties of a function from its graph.
The functions we will study can be classified
into four successively increasing collections:
I. Polynomials. They look like
II. Rational functions. The look like
III. Algebraic functions. Any function obtained by
repeatedly and successively applying in any
order any of the following algebraic
operations:
Things can get pretty wild with just these 5
simple operations! Here is an example:
IV. Trigonometric functions. The following six
functions and algebraic combinations thereof.
As usual, once again things can get pretty wild,
you write some crazy expression involving
and the above six functions! (Have some fun !)
Operations on functions
As with numbers, if we are given any two
functions and we can operate on them by
applying the usual arithmetic operations, as in
then
f g
There is another operation we can perform, with
very useful results.
It is called “composition”
It is denoted by
(note the little circle !)
and it is defined by
i.e., given , first compute ,
then apply the function to the result you got.
x
f
Pictorially the composition
(first then ) is represented by
This diagram makes clear that the values
obtained by the first function must be part of
the domain of the second function. It also makes
clear that composition of functions is NOT
commutative ! (Putting on socks and putting on
shoes do NOT commute !)
f
g
We will work out some examples on the board.
I am intentionally making this hard, for your
benefit !
VERTICAL AND HORIZONTAL
SHIFTS AND STRETCHES
This composition operation, together with the
old arithmetical ones, gives us a neat way to
create new functions from old ones.
In what follows figure out first what composition
we are using.
shifts the graph vertically
(up if )
shifts the graph horizontally
(left if )
stretches the graph vertically
(enlarges if )
(Z if we reflect in first!)
stretches the graph horizontally
(compresses if )
(Z if we reflect in first!)
Example (see p. 38, example 2)
Graph

More Related Content

Similar to CalcNo1.pptx

Real World Haskell: Lecture 2
Real World Haskell: Lecture 2Real World Haskell: Lecture 2
Real World Haskell: Lecture 2
Bryan O'Sullivan
 
Function Applicative for Great Good of Palindrome Checker Function - Polyglot...
Function Applicative for Great Good of Palindrome Checker Function - Polyglot...Function Applicative for Great Good of Palindrome Checker Function - Polyglot...
Function Applicative for Great Good of Palindrome Checker Function - Polyglot...
Philip Schwarz
 
Programming in Scala - Lecture Two
Programming in Scala - Lecture TwoProgramming in Scala - Lecture Two
Programming in Scala - Lecture Two
Angelo Corsaro
 
Scala categorytheory
Scala categorytheoryScala categorytheory
Scala categorytheory
Knoldus Inc.
 
Scala categorytheory
Scala categorytheoryScala categorytheory
Scala categorytheory
Meetu Maltiar
 
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own VersionUnderstanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
James Smith
 
functions
 functions  functions
functions
Gaditek
 
project
projectproject
project
Vishnu V
 
Mathematics In Plain Sight
Mathematics In Plain SightMathematics In Plain Sight
Mathematics In Plain Sight
David Krueger
 
Chapter on Functions and Graphs.ppt
Chapter on Functions and Graphs.pptChapter on Functions and Graphs.ppt
Chapter on Functions and Graphs.ppt
PhongLan30
 
invers
inversinvers
1 functions
1 functions1 functions
1 functions
Tzenma
 
Haskell retrospective
Haskell retrospectiveHaskell retrospective
Haskell retrospective
chenge2k
 
Lesson 5: Functions and surfaces
Lesson 5: Functions and surfacesLesson 5: Functions and surfaces
Lesson 5: Functions and surfaces
Matthew Leingang
 
Presentation1
Presentation1Presentation1
Presentation1
Eko Adi
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
cannout
 
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part ...
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part ...Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part ...
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part ...
Philip Schwarz
 
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part 4
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part 4Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part 4
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part 4
Philip Schwarz
 
Functional Programming Concepts for Imperative Programmers
Functional Programming Concepts for Imperative ProgrammersFunctional Programming Concepts for Imperative Programmers
Functional Programming Concepts for Imperative Programmers
Chris
 
1.4 the basic language of functions
1.4 the basic language of functions1.4 the basic language of functions
1.4 the basic language of functions
math123c
 

Similar to CalcNo1.pptx (20)

Real World Haskell: Lecture 2
Real World Haskell: Lecture 2Real World Haskell: Lecture 2
Real World Haskell: Lecture 2
 
Function Applicative for Great Good of Palindrome Checker Function - Polyglot...
Function Applicative for Great Good of Palindrome Checker Function - Polyglot...Function Applicative for Great Good of Palindrome Checker Function - Polyglot...
Function Applicative for Great Good of Palindrome Checker Function - Polyglot...
 
Programming in Scala - Lecture Two
Programming in Scala - Lecture TwoProgramming in Scala - Lecture Two
Programming in Scala - Lecture Two
 
Scala categorytheory
Scala categorytheoryScala categorytheory
Scala categorytheory
 
Scala categorytheory
Scala categorytheoryScala categorytheory
Scala categorytheory
 
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own VersionUnderstanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
 
functions
 functions  functions
functions
 
project
projectproject
project
 
Mathematics In Plain Sight
Mathematics In Plain SightMathematics In Plain Sight
Mathematics In Plain Sight
 
Chapter on Functions and Graphs.ppt
Chapter on Functions and Graphs.pptChapter on Functions and Graphs.ppt
Chapter on Functions and Graphs.ppt
 
invers
inversinvers
invers
 
1 functions
1 functions1 functions
1 functions
 
Haskell retrospective
Haskell retrospectiveHaskell retrospective
Haskell retrospective
 
Lesson 5: Functions and surfaces
Lesson 5: Functions and surfacesLesson 5: Functions and surfaces
Lesson 5: Functions and surfaces
 
Presentation1
Presentation1Presentation1
Presentation1
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part ...
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part ...Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part ...
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part ...
 
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part 4
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part 4Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part 4
Folding Unfolded - Polyglot FP for Fun and Profit - Haskell and Scala - Part 4
 
Functional Programming Concepts for Imperative Programmers
Functional Programming Concepts for Imperative ProgrammersFunctional Programming Concepts for Imperative Programmers
Functional Programming Concepts for Imperative Programmers
 
1.4 the basic language of functions
1.4 the basic language of functions1.4 the basic language of functions
1.4 the basic language of functions
 

Recently uploaded

Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
IsmaelVazquez38
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
Celine George
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
Prof. Dr. K. Adisesha
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 

Recently uploaded (20)

Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 

CalcNo1.pptx

  • 1. Functions In everyday language the word “function” has at least two separate meanings I can think of: A. The purpose of something, as in “The function of a teacher is to impart knowledge.” B. When the value of some item somehow determines uniquely the value of some other item, as in “Your (alphabetized) last name determines uniquely your position on the (numbered) attendance sheet” (we say that the position is a function of the last name) or as in
  • 2. “the radius of a sphere determines uniquely its volume” (we say the volume is a function of the radius.) In this course we will deal exclusively with the second interpretation: the value of some item (usually called ) somehow determines uniquely the value of some other item (usually called ) (we say is a function of and write ) With the wisdom of more than one century of thought we give the definition: Definition. A function is the following three things: x y y x
  • 3. 1. A set D of items, called the domain (the ‘s) 2. A set R of items, called the range (the ‘s) 3. A rule or procedure f that for every given item in D determines uniquely an item in R. We write or, more pictorially In this class we will eventually restrict ourselves to very specific domains and ranges, but, in a free country, as long as the three items above obtain we have a function. Here are four distinct ways (actually fairly exhaustive) that a function can arise in real life (figure out what the domain, range and rule are in each case) x y
  • 5. 2. A graph Careful!, not all squiggles are functions!, e.g what is f(7) ? See p. 15 of text. They describe the vertical line test. 2 12 7 � � 2 12 7 7
  • 6. 3. A verbal description The cost of parking in a certain parking garage in Chicago is $15.00 for the first hour plus $5.00 for each additional half-hour or portion thereof. (This means that if you are late, one minute can cost you $5.00 !) Fun question: I get to the garage at 10:43 am, park my car and retrieve it at 7:12 pm. How much do I pay?
  • 7. 4. (The most common) An explicit formula Fun question: This is the volume of something, of what?
  • 8. In this class all functions will be of the type where D is a set of real numbers, R is a set of real numbers, and the function may be a graph, a formula or both. In fact, with few exceptions both D and R will be the entire set of real numbers, and we will spend a fair amount of time learning how to graph functions in cartesian coordinates and, conversely, to infer properties of a function from its graph.
  • 9. The functions we will study can be classified into four successively increasing collections: I. Polynomials. They look like II. Rational functions. The look like
  • 10. III. Algebraic functions. Any function obtained by repeatedly and successively applying in any order any of the following algebraic operations: Things can get pretty wild with just these 5 simple operations! Here is an example:
  • 11. IV. Trigonometric functions. The following six functions and algebraic combinations thereof. As usual, once again things can get pretty wild, you write some crazy expression involving and the above six functions! (Have some fun !)
  • 12. Operations on functions As with numbers, if we are given any two functions and we can operate on them by applying the usual arithmetic operations, as in then f g
  • 13. There is another operation we can perform, with very useful results. It is called “composition” It is denoted by (note the little circle !) and it is defined by i.e., given , first compute , then apply the function to the result you got. x f
  • 14. Pictorially the composition (first then ) is represented by This diagram makes clear that the values obtained by the first function must be part of the domain of the second function. It also makes clear that composition of functions is NOT commutative ! (Putting on socks and putting on shoes do NOT commute !) f g
  • 15. We will work out some examples on the board. I am intentionally making this hard, for your benefit !
  • 16. VERTICAL AND HORIZONTAL SHIFTS AND STRETCHES This composition operation, together with the old arithmetical ones, gives us a neat way to create new functions from old ones. In what follows figure out first what composition we are using. shifts the graph vertically (up if ) shifts the graph horizontally (left if )
  • 17. stretches the graph vertically (enlarges if ) (Z if we reflect in first!) stretches the graph horizontally (compresses if ) (Z if we reflect in first!) Example (see p. 38, example 2) Graph