SlideShare a Scribd company logo
1 of 11
Copyright © 2007 Pearson Education, Inc. Slide 2-1
2.5 Piecewise-Defined Functions
• The absolute value function is a simple example of a function defined
by different rules over different subsets of its domain. Such a function
is called a piecewise-defined function.
– Domain of is with one rule on
and the other rule on
• Example Find each function value given the piecewise-defined
function
Solution
(a)
(b)
(c)
xxf =)( ),,( ∞−∞ xxf −=)( ),0,(−∞
xxf =)( ).,0[ ∞




>
≤+
=
.0if
2
1
0if2
)( 2
xx
xx
xf
.ofgraphSketch the(d))3((c))0((b))3((a) ffff −
.123)3(thus,2)(ruletheuse,03Since −=+−=−+=≤− fxxf
.220)0(thus,2)(ruletheuse,00Since =+=+=≤ fxxf
.5.4)9()3()3(thus,)(ruletheuse,03Since 2
1
2
1
2
1 22
====> fxxf
.ofgraphon theare)5.4,3(and(0,2),),1,3(pointsThe f−−:Note
Copyright © 2007 Pearson Education, Inc. Slide 2-2
2.5 The Graph of a Piecewise-Defined
Function
(d) The graph of
Graph the ray choosing x so that with a solid
endpoint (filled in circle) at (0,2). The ray has slope 1 and
y-intercept 2. Then, graph for This graph will be
half of a parabola with an open endpoint (open circle) at (0,0).
time.aatpieceonedrawnis
0if
2
1
0if2
)( 2




>
≤+
=
xx
xx
xf
,2+= xy ,0≤x
2
2
1
xy = .0>x
Figure 51 pg 2-117
Copyright © 2007 Pearson Education, Inc. Slide 2-3
2.5 Graphing a Piecewise-Defined Function
with a Graphing Calculator
• Use the test feature
– Returns 1 if true, 0 if false when plotting the value of x
• In general, it is best to graph piecewise-defined functions
in dot mode, especially when the graph exhibits
discontinuities. Otherwise, the calculator may attempt to
connect portions of the graph that are actually separate
from one another.
Copyright © 2007 Pearson Education, Inc. Slide 2-4
2.5 Graphing a Piecewise-Defined Function
Sketch the graph of
Solution
For graph the part of the line to the left of,
and including, the point (2,3). For graph the part of
the line to the right of the point (2,3).



>+−
≤+
=
.2if72
2if1
)(
xx
xx
xf
1+= xy
72 +−= xy
,2≤x
,2>x
Copyright © 2007 Pearson Education, Inc. Slide 2-5
2.5 The Greatest Integer (Step) Function
Example Evaluate for (a) –5, (b) 2.46, and (c) –6.5
Solution (a)
(b)
(c)
Using the Graphing Calculator
The command “int” is used by many graphing calculators
for the greatest integer function.



=
integerannotisifthanlessintegergreatestthe
integeranisif
xx
xx
5−
2
7−
§ ¨( )f x x=
§ ¨x
Copyright © 2007 Pearson Education, Inc. Slide 2-6
2.5 The Graph of the Greatest Integer
Function
– Domain:
– Range:
• If using a graphing calculator, put the calculator in dot mode.
[ ]||)( xxf =
),( ∞−∞
},3,2,1,0,1,2,3,{}integeranis{  −−−=xx
Figure 58 pg 2-124
Copyright © 2007 Pearson Education, Inc. Slide 2-7
2.5 Graphing a Step Function
• Graph the function defined by Give the
domain and range.
Solution
Try some values of x.
.1
2
1



 += xy
x -3 -2 -1 0 .5 1 2 3 4
y -1 0 0 1 1 1 2 2 3
}.,2,1,0,1,{israngetheand),(isdomainTheon.so
and,2,42For.1then,20ifthatNotice
 −∞−∞
=<≤=<≤ yxyx
Copyright © 2007 Pearson Education, Inc. Slide 2-8
2.5 Application of a Piecewise-Defined
Function
Downtown Parking charges a $5 base fee for parking through 1 hour, and
$1 for each additional hour or fraction thereof. The maximum fee for 24
hours is $15. Sketch a graph of the function that describes this pricing
scheme.
Solution
Sample of ordered pairs (hours,price): (.25,5), (.75,5), (1,5), (1.5,6), (1.75,6).
During the 1st
hour: price = $5
During the 2nd
hour: price = $6
During the 3rd
hour: price = $7
During the 11th
hour: price = $15
It remains at $15 for the rest of
the 24-hour period.
Plot the graph on the interval (0,24]. Figure 62 pg 2-127

Copyright © 2007 Pearson Education, Inc. Slide 2-9
2.5 Using a Piecewise-Defined Function
to Analyze Data
Due to acid rain, The percentage of lakes in Scandinavia that lost their
population of brown trout increased dramatically between 1940 and 1975.
Based on a sample of 2850 lakes, this percentage can be approximated by
the piecewise-defined function f .
(a) Graph f .
(b) Determine the percentage of lakes that had lost brown trout by
1972.






≤≤+−
<≤+−
=
19759601if18)1960(
15
32
19609401if7)1940(
20
11
)(
xx
xx
xf
Copyright © 2007 Pearson Education, Inc. Slide 2-10
2.5 Using a Piecewise-Defined Function
to Analyze Data
Solution
(a) Analytic Solution: Plot the two endpoints and draw the line
segment of each rule.
Note: Even though there is an open
circle at the point (1960,18)
from the first rule, the second
rule closes it. Therefore, the
point (1960,18) is closed.
(1960,18)pointtheusgives,18,1960
(1940,7)pointtheusgives,7,1940
==
==
yx
yx:7)1940(
20
11
+−= xy
(1975,50)pointtheusgives,50,1975
(1960,18)pointtheusgives,18,1960
==
==
yx
yx:18)1960(
15
32
+−= xy
Figure 63 pg 2-128
Copyright © 2007 Pearson Education, Inc. Slide 2-11
2.5 Using a Piecewise-Defined Function
to Analyze Data
Graphing Calculator Solution
(b) Use the second rule with x = 1972.
(percent)6.4318)19601972(
15
32
)1972( =+−=f
By 1972, about 44% of the lakes had lost
their population of brown trout.

More Related Content

What's hot

Day 2 examples u8f13
Day 2 examples u8f13Day 2 examples u8f13
Day 2 examples u8f13jchartiersjsd
 
Pat05 ppt 0201
Pat05 ppt 0201Pat05 ppt 0201
Pat05 ppt 0201wzuri
 
rit seminars-privacy assured outsourcing of image reconstruction services in ...
rit seminars-privacy assured outsourcing of image reconstruction services in ...rit seminars-privacy assured outsourcing of image reconstruction services in ...
rit seminars-privacy assured outsourcing of image reconstruction services in ...thahirakabeer
 
DeepLearning 6_5 ~ 6_5_3
DeepLearning 6_5 ~ 6_5_3DeepLearning 6_5 ~ 6_5_3
DeepLearning 6_5 ~ 6_5_3Shopetan shoppe
 
Big data matrix factorizations and Overlapping community detection in graphs
Big data matrix factorizations and Overlapping community detection in graphsBig data matrix factorizations and Overlapping community detection in graphs
Big data matrix factorizations and Overlapping community detection in graphsDavid Gleich
 
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...Chiheb Ben Hammouda
 
09 numerical integration
09 numerical integration09 numerical integration
09 numerical integrationMohammad Tawfik
 
bayesImageS: an R package for Bayesian image analysis
bayesImageS: an R package for Bayesian image analysisbayesImageS: an R package for Bayesian image analysis
bayesImageS: an R package for Bayesian image analysisMatt Moores
 

What's hot (20)

Day 2 examples u8f13
Day 2 examples u8f13Day 2 examples u8f13
Day 2 examples u8f13
 
Bresenham Line Drawing Algorithm
Bresenham Line Drawing AlgorithmBresenham Line Drawing Algorithm
Bresenham Line Drawing Algorithm
 
Pat05 ppt 0201
Pat05 ppt 0201Pat05 ppt 0201
Pat05 ppt 0201
 
Day 2a examples
Day 2a examplesDay 2a examples
Day 2a examples
 
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
 
Modeling quadratic fxns
Modeling quadratic fxnsModeling quadratic fxns
Modeling quadratic fxns
 
rit seminars-privacy assured outsourcing of image reconstruction services in ...
rit seminars-privacy assured outsourcing of image reconstruction services in ...rit seminars-privacy assured outsourcing of image reconstruction services in ...
rit seminars-privacy assured outsourcing of image reconstruction services in ...
 
Day 4 examples
Day 4 examplesDay 4 examples
Day 4 examples
 
Day 1 examples
Day 1 examplesDay 1 examples
Day 1 examples
 
DeepLearning 6_5 ~ 6_5_3
DeepLearning 6_5 ~ 6_5_3DeepLearning 6_5 ~ 6_5_3
DeepLearning 6_5 ~ 6_5_3
 
Day 3 examples
Day 3 examplesDay 3 examples
Day 3 examples
 
Big data matrix factorizations and Overlapping community detection in graphs
Big data matrix factorizations and Overlapping community detection in graphsBig data matrix factorizations and Overlapping community detection in graphs
Big data matrix factorizations and Overlapping community detection in graphs
 
Network Analysis & Synthesis Nov 2012
Network Analysis & Synthesis Nov 2012Network Analysis & Synthesis Nov 2012
Network Analysis & Synthesis Nov 2012
 
Distributed Support Vector Machines
Distributed Support Vector MachinesDistributed Support Vector Machines
Distributed Support Vector Machines
 
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
Hierarchical Deterministic Quadrature Methods for Option Pricing under the Ro...
 
09 numerical integration
09 numerical integration09 numerical integration
09 numerical integration
 
Mmi11 ppt 0203
Mmi11 ppt 0203Mmi11 ppt 0203
Mmi11 ppt 0203
 
Talk iccf 19_ben_hammouda
Talk iccf 19_ben_hammoudaTalk iccf 19_ben_hammouda
Talk iccf 19_ben_hammouda
 
bayesImageS: an R package for Bayesian image analysis
bayesImageS: an R package for Bayesian image analysisbayesImageS: an R package for Bayesian image analysis
bayesImageS: an R package for Bayesian image analysis
 
Add math 1
Add math 1Add math 1
Add math 1
 

Viewers also liked

Viewers also liked (20)

AA Section 3-9
AA Section 3-9AA Section 3-9
AA Section 3-9
 
Greatest integer
Greatest integerGreatest integer
Greatest integer
 
Angles and sides of a triangle
Angles and sides of a triangleAngles and sides of a triangle
Angles and sides of a triangle
 
L16 indeterminate forms (l'hopital's rule)
L16 indeterminate forms (l'hopital's rule)L16 indeterminate forms (l'hopital's rule)
L16 indeterminate forms (l'hopital's rule)
 
L2 graphs piecewise, absolute,and greatest integer
L2 graphs  piecewise, absolute,and greatest integerL2 graphs  piecewise, absolute,and greatest integer
L2 graphs piecewise, absolute,and greatest integer
 
2.7 Piecewise Functions
2.7 Piecewise Functions2.7 Piecewise Functions
2.7 Piecewise Functions
 
2.5.3 writing a piecewise defined function
2.5.3 writing a piecewise defined function2.5.3 writing a piecewise defined function
2.5.3 writing a piecewise defined function
 
Hprec8 2
Hprec8 2Hprec8 2
Hprec8 2
 
Hprec9 3
Hprec9 3Hprec9 3
Hprec9 3
 
Hprec6 1
Hprec6 1Hprec6 1
Hprec6 1
 
Hprec7.1
Hprec7.1Hprec7.1
Hprec7.1
 
Hprec9 2
Hprec9 2Hprec9 2
Hprec9 2
 
Hprec2 5
Hprec2 5Hprec2 5
Hprec2 5
 
Hprec5.2
Hprec5.2Hprec5.2
Hprec5.2
 
3.2
3.23.2
3.2
 
Hprec2 4
Hprec2 4Hprec2 4
Hprec2 4
 
Hailu et al 2015 Journal
Hailu et al 2015 JournalHailu et al 2015 Journal
Hailu et al 2015 Journal
 
Alfatika Journal N070102
Alfatika Journal N070102Alfatika Journal N070102
Alfatika Journal N070102
 
Hat04 0203
Hat04 0203Hat04 0203
Hat04 0203
 
Hprec6 4
Hprec6 4Hprec6 4
Hprec6 4
 

Similar to Hat04 0205

Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10Yasser Ahmed
 
1)  Use properties of logarithms to expand the following logarit.docx
1)  Use properties of logarithms to expand the following logarit.docx1)  Use properties of logarithms to expand the following logarit.docx
1)  Use properties of logarithms to expand the following logarit.docxhirstcruz
 
1) Use properties of logarithms to expand the following logarithm.docx
1)  Use properties of logarithms to expand the following logarithm.docx1)  Use properties of logarithms to expand the following logarithm.docx
1) Use properties of logarithms to expand the following logarithm.docxdorishigh
 
Elementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions ManualElementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions Manualzuxigytix
 
MODULE 5 QuizQuestion1. Find the domain of the function. E.docx
MODULE 5 QuizQuestion1. Find the domain of the function. E.docxMODULE 5 QuizQuestion1. Find the domain of the function. E.docx
MODULE 5 QuizQuestion1. Find the domain of the function. E.docxmoirarandell
 
09 a1bs04 mathematical methods
09 a1bs04 mathematical methods09 a1bs04 mathematical methods
09 a1bs04 mathematical methodsjntuworld
 
Amth250 octave matlab some solutions (2)
Amth250 octave matlab some solutions (2)Amth250 octave matlab some solutions (2)
Amth250 octave matlab some solutions (2)asghar123456
 
Admission for b.tech
Admission for b.techAdmission for b.tech
Admission for b.techEdhole.com
 
College algebra 7th edition by blitzer solution manual
College algebra 7th edition by blitzer solution manualCollege algebra 7th edition by blitzer solution manual
College algebra 7th edition by blitzer solution manualrochidavander
 
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docxxy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docxericbrooks84875
 
Chapter 1 (math 1)
Chapter 1 (math 1)Chapter 1 (math 1)
Chapter 1 (math 1)Amr Mohamed
 
Econometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions ManualEconometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions ManualLewisSimmonss
 
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1cideni
 
Idea for ineractive programming language
Idea for ineractive programming languageIdea for ineractive programming language
Idea for ineractive programming languageLincoln Hannah
 

Similar to Hat04 0205 (20)

Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10
 
1)  Use properties of logarithms to expand the following logarit.docx
1)  Use properties of logarithms to expand the following logarit.docx1)  Use properties of logarithms to expand the following logarit.docx
1)  Use properties of logarithms to expand the following logarit.docx
 
Funções 1
Funções 1Funções 1
Funções 1
 
1) Use properties of logarithms to expand the following logarithm.docx
1)  Use properties of logarithms to expand the following logarithm.docx1)  Use properties of logarithms to expand the following logarithm.docx
1) Use properties of logarithms to expand the following logarithm.docx
 
Elementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions ManualElementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions Manual
 
0606 w15 ms_11
0606 w15 ms_110606 w15 ms_11
0606 w15 ms_11
 
Chap07
Chap07Chap07
Chap07
 
MODULE 5 QuizQuestion1. Find the domain of the function. E.docx
MODULE 5 QuizQuestion1. Find the domain of the function. E.docxMODULE 5 QuizQuestion1. Find the domain of the function. E.docx
MODULE 5 QuizQuestion1. Find the domain of the function. E.docx
 
09 a1bs04 mathematical methods
09 a1bs04 mathematical methods09 a1bs04 mathematical methods
09 a1bs04 mathematical methods
 
Amth250 octave matlab some solutions (2)
Amth250 octave matlab some solutions (2)Amth250 octave matlab some solutions (2)
Amth250 octave matlab some solutions (2)
 
Admission for b.tech
Admission for b.techAdmission for b.tech
Admission for b.tech
 
College algebra 7th edition by blitzer solution manual
College algebra 7th edition by blitzer solution manualCollege algebra 7th edition by blitzer solution manual
College algebra 7th edition by blitzer solution manual
 
Algebra 1
Algebra 1Algebra 1
Algebra 1
 
Gate-Cs 1993
Gate-Cs 1993Gate-Cs 1993
Gate-Cs 1993
 
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docxxy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
 
Chapter 1 (math 1)
Chapter 1 (math 1)Chapter 1 (math 1)
Chapter 1 (math 1)
 
Econometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions ManualEconometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions Manual
 
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
 
Idea for ineractive programming language
Idea for ineractive programming languageIdea for ineractive programming language
Idea for ineractive programming language
 
Singlevaropt
SinglevaroptSinglevaropt
Singlevaropt
 

More from stevenhbills (19)

Hprec2 2
Hprec2 2Hprec2 2
Hprec2 2
 
3.1
3.13.1
3.1
 
Hprec3 7
Hprec3 7Hprec3 7
Hprec3 7
 
Hprec5.3
Hprec5.3Hprec5.3
Hprec5.3
 
Hprec5 4
Hprec5 4Hprec5 4
Hprec5 4
 
Hprec5 5
Hprec5 5Hprec5 5
Hprec5 5
 
5.6 solving exponential and logarithmic equations
5.6 solving exponential and logarithmic equations5.6 solving exponential and logarithmic equations
5.6 solving exponential and logarithmic equations
 
Hprec6 2
Hprec6 2Hprec6 2
Hprec6 2
 
Hprec6 3
Hprec6 3Hprec6 3
Hprec6 3
 
Hprec6 5
Hprec6 5Hprec6 5
Hprec6 5
 
Hprec7 4
Hprec7 4Hprec7 4
Hprec7 4
 
Hprec7.3
Hprec7.3Hprec7.3
Hprec7.3
 
Hprec8 1
Hprec8 1Hprec8 1
Hprec8 1
 
Hprec8 3
Hprec8 3Hprec8 3
Hprec8 3
 
Hprec8 4
Hprec8 4Hprec8 4
Hprec8 4
 
Hprec5.1
Hprec5.1Hprec5.1
Hprec5.1
 
Hprec10 1
Hprec10 1Hprec10 1
Hprec10 1
 
Hprec10 2
Hprec10 2Hprec10 2
Hprec10 2
 
Hprec2 1
Hprec2 1Hprec2 1
Hprec2 1
 

Recently uploaded

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Recently uploaded (20)

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

Hat04 0205

  • 1. Copyright © 2007 Pearson Education, Inc. Slide 2-1 2.5 Piecewise-Defined Functions • The absolute value function is a simple example of a function defined by different rules over different subsets of its domain. Such a function is called a piecewise-defined function. – Domain of is with one rule on and the other rule on • Example Find each function value given the piecewise-defined function Solution (a) (b) (c) xxf =)( ),,( ∞−∞ xxf −=)( ),0,(−∞ xxf =)( ).,0[ ∞     > ≤+ = .0if 2 1 0if2 )( 2 xx xx xf .ofgraphSketch the(d))3((c))0((b))3((a) ffff − .123)3(thus,2)(ruletheuse,03Since −=+−=−+=≤− fxxf .220)0(thus,2)(ruletheuse,00Since =+=+=≤ fxxf .5.4)9()3()3(thus,)(ruletheuse,03Since 2 1 2 1 2 1 22 ====> fxxf .ofgraphon theare)5.4,3(and(0,2),),1,3(pointsThe f−−:Note
  • 2. Copyright © 2007 Pearson Education, Inc. Slide 2-2 2.5 The Graph of a Piecewise-Defined Function (d) The graph of Graph the ray choosing x so that with a solid endpoint (filled in circle) at (0,2). The ray has slope 1 and y-intercept 2. Then, graph for This graph will be half of a parabola with an open endpoint (open circle) at (0,0). time.aatpieceonedrawnis 0if 2 1 0if2 )( 2     > ≤+ = xx xx xf ,2+= xy ,0≤x 2 2 1 xy = .0>x Figure 51 pg 2-117
  • 3. Copyright © 2007 Pearson Education, Inc. Slide 2-3 2.5 Graphing a Piecewise-Defined Function with a Graphing Calculator • Use the test feature – Returns 1 if true, 0 if false when plotting the value of x • In general, it is best to graph piecewise-defined functions in dot mode, especially when the graph exhibits discontinuities. Otherwise, the calculator may attempt to connect portions of the graph that are actually separate from one another.
  • 4. Copyright © 2007 Pearson Education, Inc. Slide 2-4 2.5 Graphing a Piecewise-Defined Function Sketch the graph of Solution For graph the part of the line to the left of, and including, the point (2,3). For graph the part of the line to the right of the point (2,3).    >+− ≤+ = .2if72 2if1 )( xx xx xf 1+= xy 72 +−= xy ,2≤x ,2>x
  • 5. Copyright © 2007 Pearson Education, Inc. Slide 2-5 2.5 The Greatest Integer (Step) Function Example Evaluate for (a) –5, (b) 2.46, and (c) –6.5 Solution (a) (b) (c) Using the Graphing Calculator The command “int” is used by many graphing calculators for the greatest integer function.    = integerannotisifthanlessintegergreatestthe integeranisif xx xx 5− 2 7− § ¨( )f x x= § ¨x
  • 6. Copyright © 2007 Pearson Education, Inc. Slide 2-6 2.5 The Graph of the Greatest Integer Function – Domain: – Range: • If using a graphing calculator, put the calculator in dot mode. [ ]||)( xxf = ),( ∞−∞ },3,2,1,0,1,2,3,{}integeranis{  −−−=xx Figure 58 pg 2-124
  • 7. Copyright © 2007 Pearson Education, Inc. Slide 2-7 2.5 Graphing a Step Function • Graph the function defined by Give the domain and range. Solution Try some values of x. .1 2 1     += xy x -3 -2 -1 0 .5 1 2 3 4 y -1 0 0 1 1 1 2 2 3 }.,2,1,0,1,{israngetheand),(isdomainTheon.so and,2,42For.1then,20ifthatNotice  −∞−∞ =<≤=<≤ yxyx
  • 8. Copyright © 2007 Pearson Education, Inc. Slide 2-8 2.5 Application of a Piecewise-Defined Function Downtown Parking charges a $5 base fee for parking through 1 hour, and $1 for each additional hour or fraction thereof. The maximum fee for 24 hours is $15. Sketch a graph of the function that describes this pricing scheme. Solution Sample of ordered pairs (hours,price): (.25,5), (.75,5), (1,5), (1.5,6), (1.75,6). During the 1st hour: price = $5 During the 2nd hour: price = $6 During the 3rd hour: price = $7 During the 11th hour: price = $15 It remains at $15 for the rest of the 24-hour period. Plot the graph on the interval (0,24]. Figure 62 pg 2-127 
  • 9. Copyright © 2007 Pearson Education, Inc. Slide 2-9 2.5 Using a Piecewise-Defined Function to Analyze Data Due to acid rain, The percentage of lakes in Scandinavia that lost their population of brown trout increased dramatically between 1940 and 1975. Based on a sample of 2850 lakes, this percentage can be approximated by the piecewise-defined function f . (a) Graph f . (b) Determine the percentage of lakes that had lost brown trout by 1972.       ≤≤+− <≤+− = 19759601if18)1960( 15 32 19609401if7)1940( 20 11 )( xx xx xf
  • 10. Copyright © 2007 Pearson Education, Inc. Slide 2-10 2.5 Using a Piecewise-Defined Function to Analyze Data Solution (a) Analytic Solution: Plot the two endpoints and draw the line segment of each rule. Note: Even though there is an open circle at the point (1960,18) from the first rule, the second rule closes it. Therefore, the point (1960,18) is closed. (1960,18)pointtheusgives,18,1960 (1940,7)pointtheusgives,7,1940 == == yx yx:7)1940( 20 11 +−= xy (1975,50)pointtheusgives,50,1975 (1960,18)pointtheusgives,18,1960 == == yx yx:18)1960( 15 32 +−= xy Figure 63 pg 2-128
  • 11. Copyright © 2007 Pearson Education, Inc. Slide 2-11 2.5 Using a Piecewise-Defined Function to Analyze Data Graphing Calculator Solution (b) Use the second rule with x = 1972. (percent)6.4318)19601972( 15 32 )1972( =+−=f By 1972, about 44% of the lakes had lost their population of brown trout.