SlideShare a Scribd company logo
1 of 12
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 1
Functions And There
Types
By:
Imdad-Ul-Haq
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 2
3
INTRODUCTION TO FUNTIONS
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 4
What is a Function??
 A function is a rule which operates on one number to give another
number. OR
 A function is a rule which maps a number to another unique number.
 For example
We might have a function that added 3 to any number. So if we
apply this function to the number 2, we get the number 5. If we apply this
function to the number 8, we get the number 11. If we apply this function
to the number x, we get the number x + 3. We can show this
mathematically by writing
f(x) = x + 3.
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 5
Continue ……
The number x that we use for the input of the function is called the
argument of the function. So
 if we choose an argument of 2:
we get f(2) = 2 + 3 = 5.
 If we choose an argument of 8:
we get f(8) = 8 + 3 = 11.
 If we choose an argument of −6:
we get f(−6) = −6+3= −3.
 If we choose an argument of z: we get f(z) = z + 3.
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 6
Continue ……
Key Point
 A function is a rule that maps a number to another unique number.
 The input to the function is called the independent variable, and is also
called the argument of the function. The output of the function is
called the dependent variable.
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 7
When is a function valid?
For example we have a function , so how could we come
to know either this function is valid or not ????
Our definition of a function says that it is a rule mapping a number to
another unique number. So we cannot have a function which gives two
different outputs for the same argument.
 One easy way to check this is from the graph of the function, by using
a ruler. If the ruler is aligned vertically, then it only ever crosses the
graph once; no more and no less. This means that the graph represents
a valid function.
2
( ) 3 4f x x 
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 8
Continue……..
 
 
 
   
   
2
2
2
2
2
0 3 0 4 4
1 3 1 4 1
2 3 2 4 8
1 3 1 4 1
2 3 2 4 8
f
f
f
f
f
    
    
   
      
     
 So is a valid function.
 Its an onto function.
2
( ) 3 4f x x 
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 9
Lets try an other Example…….
In the same way as before, we can produce a table of results to help us plot the graph
of the function: f(0) = 0
f(1) = ±1
f(2) = ±1.4 to 1 d.p.
f(3) = ±1.7 to 1 d.p.
f(4) = ±2.
( )f x x
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 10
 Which shows that f(x)=√𝑥 is not a valid function……
 One way around this problem is to define √x to take only the positive
values, or zero: this is sometimes called the positive square root of x.
However, there is still the issue that we cannot choose a negative
argument. So we should also choose to restrict the choice of
argument to positive values, or zero.
 We say that the set of possible inputs is called the domain of the
function,
 And the set of corresponding outputs is called the range.
 So that the domain of above function is the set of numbers x ≥ 0,
and the range is the corresponding set of numbers f(x) ≥ 0
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 11
 Minor assignment:
 
 
 
2
2
Q: Varify either the following functions are valid or not??
Plot the graph of the functions.
If these are not valid, then make them valid
functions by ristricting their domains.
1) 2 - 3 5
1
2) ( )
1
3)
2
: Develop
f x x x
f x
x
f x
x
Q


 



atlest one relation which satisfy conditions for an ''into-function''
CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY
PESHAWAR, PAKISTAN 12

More Related Content

What's hot

What's hot (20)

Gr10 step function ppt
Gr10 step function pptGr10 step function ppt
Gr10 step function ppt
 
simplex method
simplex methodsimplex method
simplex method
 
Domain and range
Domain and rangeDomain and range
Domain and range
 
Interpolation and its applications
Interpolation and its applicationsInterpolation and its applications
Interpolation and its applications
 
Alg2 lesson 2.1
Alg2 lesson 2.1Alg2 lesson 2.1
Alg2 lesson 2.1
 
Error analysis
Error analysisError analysis
Error analysis
 
Simplex method maximisation
Simplex method maximisationSimplex method maximisation
Simplex method maximisation
 
Matlab Files
Matlab FilesMatlab Files
Matlab Files
 
Piecewise Functions
Piecewise FunctionsPiecewise Functions
Piecewise Functions
 
Programming with matlab session 4
Programming with matlab session 4Programming with matlab session 4
Programming with matlab session 4
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
Piecewise and Step Functions
Piecewise and Step FunctionsPiecewise and Step Functions
Piecewise and Step Functions
 
Selection sort
Selection sortSelection sort
Selection sort
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Domain and range from graphs
Domain and range from graphsDomain and range from graphs
Domain and range from graphs
 
Assignment problem ppt
Assignment problem ppt Assignment problem ppt
Assignment problem ppt
 
[ITP - Lecture 04] Variables and Constants in C/C++
[ITP - Lecture 04] Variables and Constants in C/C++[ITP - Lecture 04] Variables and Constants in C/C++
[ITP - Lecture 04] Variables and Constants in C/C++
 
Insertion sort algorithm power point presentation
Insertion  sort algorithm power point presentation Insertion  sort algorithm power point presentation
Insertion sort algorithm power point presentation
 
Selection sort
Selection sortSelection sort
Selection sort
 
Sorting (Bubble,Merge,Selection sort)
Sorting (Bubble,Merge,Selection sort)Sorting (Bubble,Merge,Selection sort)
Sorting (Bubble,Merge,Selection sort)
 

Similar to Introduction to Function and there types

Chapter on Functions and Graphs.ppt
Chapter on Functions and Graphs.pptChapter on Functions and Graphs.ppt
Chapter on Functions and Graphs.pptPhongLan30
 
Introduction to Functions
Introduction to FunctionsIntroduction to Functions
Introduction to FunctionsMelanie Loslo
 
Machine learning
Machine learningMachine learning
Machine learningShreyas G S
 
Introduction to functions
Introduction to functionsIntroduction to functions
Introduction to functionsElkin Guillen
 
Lesson 1
Lesson 1Lesson 1
Lesson 1urenaa
 
Lesson 1
Lesson 1Lesson 1
Lesson 1urenaa
 
functions
 functions  functions
functions Gaditek
 
Function notation by sadiq
Function notation by sadiqFunction notation by sadiq
Function notation by sadiqSadiq Hussain
 
Functions reading passage
Functions reading passageFunctions reading passage
Functions reading passagebweldon
 
Edsc 304 lesson 1
Edsc 304 lesson 1Edsc 304 lesson 1
Edsc 304 lesson 1urenaa
 
Java Code The traditional way to deal with these in Parsers is the .pdf
Java Code The traditional way to deal with these in Parsers is the .pdfJava Code The traditional way to deal with these in Parsers is the .pdf
Java Code The traditional way to deal with these in Parsers is the .pdfstopgolook
 
General Mathematics - Exponential Functions.pptx
General Mathematics - Exponential Functions.pptxGeneral Mathematics - Exponential Functions.pptx
General Mathematics - Exponential Functions.pptxinasal105
 
Presentation1
Presentation1Presentation1
Presentation1Eko Adi
 
WEEK-1_SESSION-1-RELATIONS-FUNCTIONS.pdf
WEEK-1_SESSION-1-RELATIONS-FUNCTIONS.pdfWEEK-1_SESSION-1-RELATIONS-FUNCTIONS.pdf
WEEK-1_SESSION-1-RELATIONS-FUNCTIONS.pdfSofiaAbella1
 
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 2.pptx
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 2.pptxAIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 2.pptx
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 2.pptxZawarali786
 
B02110105012
B02110105012B02110105012
B02110105012theijes
 
The International Journal of Engineering and Science (The IJES)
 The International Journal of Engineering and Science (The IJES) The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
 

Similar to Introduction to Function and there types (20)

Chapter on Functions and Graphs.ppt
Chapter on Functions and Graphs.pptChapter on Functions and Graphs.ppt
Chapter on Functions and Graphs.ppt
 
Introduction to Functions
Introduction to FunctionsIntroduction to Functions
Introduction to Functions
 
Machine learning
Machine learningMachine learning
Machine learning
 
Note introductions of functions
Note introductions of functionsNote introductions of functions
Note introductions of functions
 
Introduction to functions
Introduction to functionsIntroduction to functions
Introduction to functions
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 
My powerpoint
My powerpointMy powerpoint
My powerpoint
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 
functions
 functions  functions
functions
 
Function notation by sadiq
Function notation by sadiqFunction notation by sadiq
Function notation by sadiq
 
Functions reading passage
Functions reading passageFunctions reading passage
Functions reading passage
 
Edsc 304 lesson 1
Edsc 304 lesson 1Edsc 304 lesson 1
Edsc 304 lesson 1
 
Java Code The traditional way to deal with these in Parsers is the .pdf
Java Code The traditional way to deal with these in Parsers is the .pdfJava Code The traditional way to deal with these in Parsers is the .pdf
Java Code The traditional way to deal with these in Parsers is the .pdf
 
General Mathematics - Exponential Functions.pptx
General Mathematics - Exponential Functions.pptxGeneral Mathematics - Exponential Functions.pptx
General Mathematics - Exponential Functions.pptx
 
Presentation1
Presentation1Presentation1
Presentation1
 
WEEK-1_SESSION-1-RELATIONS-FUNCTIONS.pdf
WEEK-1_SESSION-1-RELATIONS-FUNCTIONS.pdfWEEK-1_SESSION-1-RELATIONS-FUNCTIONS.pdf
WEEK-1_SESSION-1-RELATIONS-FUNCTIONS.pdf
 
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 2.pptx
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 2.pptxAIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 2.pptx
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 2.pptx
 
Function
Function Function
Function
 
B02110105012
B02110105012B02110105012
B02110105012
 
The International Journal of Engineering and Science (The IJES)
 The International Journal of Engineering and Science (The IJES) The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 

More from Imdad Ul Haq

How amazon web services uses formal methods
How amazon web services uses formal methodsHow amazon web services uses formal methods
How amazon web services uses formal methodsImdad Ul Haq
 
Software architacture recovery
Software architacture recoverySoftware architacture recovery
Software architacture recoveryImdad Ul Haq
 
Enhance ERD(Entity Relationship Diagram)
Enhance ERD(Entity Relationship Diagram)Enhance ERD(Entity Relationship Diagram)
Enhance ERD(Entity Relationship Diagram)Imdad Ul Haq
 
V_Sound(Visualize Softwar and Understand the Document)
V_Sound(Visualize Softwar  and Understand the Document)V_Sound(Visualize Softwar  and Understand the Document)
V_Sound(Visualize Softwar and Understand the Document)Imdad Ul Haq
 
Ufone marketing oriantation
Ufone marketing oriantationUfone marketing oriantation
Ufone marketing oriantationImdad Ul Haq
 
Library management system
Library management systemLibrary management system
Library management systemImdad Ul Haq
 

More from Imdad Ul Haq (7)

How amazon web services uses formal methods
How amazon web services uses formal methodsHow amazon web services uses formal methods
How amazon web services uses formal methods
 
Software architacture recovery
Software architacture recoverySoftware architacture recovery
Software architacture recovery
 
Enhance ERD(Entity Relationship Diagram)
Enhance ERD(Entity Relationship Diagram)Enhance ERD(Entity Relationship Diagram)
Enhance ERD(Entity Relationship Diagram)
 
V_Sound(Visualize Softwar and Understand the Document)
V_Sound(Visualize Softwar  and Understand the Document)V_Sound(Visualize Softwar  and Understand the Document)
V_Sound(Visualize Softwar and Understand the Document)
 
Ufone marketing oriantation
Ufone marketing oriantationUfone marketing oriantation
Ufone marketing oriantation
 
Library management system
Library management systemLibrary management system
Library management system
 
Counting sort
Counting sortCounting sort
Counting sort
 

Recently uploaded

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 

Recently uploaded (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 

Introduction to Function and there types

  • 1. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 1
  • 2. Functions And There Types By: Imdad-Ul-Haq CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 2
  • 4. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 4 What is a Function??  A function is a rule which operates on one number to give another number. OR  A function is a rule which maps a number to another unique number.  For example We might have a function that added 3 to any number. So if we apply this function to the number 2, we get the number 5. If we apply this function to the number 8, we get the number 11. If we apply this function to the number x, we get the number x + 3. We can show this mathematically by writing f(x) = x + 3.
  • 5. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 5 Continue …… The number x that we use for the input of the function is called the argument of the function. So  if we choose an argument of 2: we get f(2) = 2 + 3 = 5.  If we choose an argument of 8: we get f(8) = 8 + 3 = 11.  If we choose an argument of −6: we get f(−6) = −6+3= −3.  If we choose an argument of z: we get f(z) = z + 3.
  • 6. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 6 Continue …… Key Point  A function is a rule that maps a number to another unique number.  The input to the function is called the independent variable, and is also called the argument of the function. The output of the function is called the dependent variable.
  • 7. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 7 When is a function valid? For example we have a function , so how could we come to know either this function is valid or not ???? Our definition of a function says that it is a rule mapping a number to another unique number. So we cannot have a function which gives two different outputs for the same argument.  One easy way to check this is from the graph of the function, by using a ruler. If the ruler is aligned vertically, then it only ever crosses the graph once; no more and no less. This means that the graph represents a valid function. 2 ( ) 3 4f x x 
  • 8. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 8 Continue……..               2 2 2 2 2 0 3 0 4 4 1 3 1 4 1 2 3 2 4 8 1 3 1 4 1 2 3 2 4 8 f f f f f                             So is a valid function.  Its an onto function. 2 ( ) 3 4f x x 
  • 9. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 9 Lets try an other Example……. In the same way as before, we can produce a table of results to help us plot the graph of the function: f(0) = 0 f(1) = ±1 f(2) = ±1.4 to 1 d.p. f(3) = ±1.7 to 1 d.p. f(4) = ±2. ( )f x x
  • 10. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 10  Which shows that f(x)=√𝑥 is not a valid function……  One way around this problem is to define √x to take only the positive values, or zero: this is sometimes called the positive square root of x. However, there is still the issue that we cannot choose a negative argument. So we should also choose to restrict the choice of argument to positive values, or zero.  We say that the set of possible inputs is called the domain of the function,  And the set of corresponding outputs is called the range.  So that the domain of above function is the set of numbers x ≥ 0, and the range is the corresponding set of numbers f(x) ≥ 0
  • 11. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 11  Minor assignment:       2 2 Q: Varify either the following functions are valid or not?? Plot the graph of the functions. If these are not valid, then make them valid functions by ristricting their domains. 1) 2 - 3 5 1 2) ( ) 1 3) 2 : Develop f x x x f x x f x x Q        atlest one relation which satisfy conditions for an ''into-function''
  • 12. CITY UNIVERSITY OF SCIENCE AND INFORMATIN TECHNOLOGY PESHAWAR, PAKISTAN 12