FUNCTIONS.

Slides:



Advertisements
Similar presentations
1.6 Functions. Chapter 1, section 6 Functions notation: f: A B x in A, y in B, f(x) = y. concepts: –domain of f, –codomain of f, –range of f, –f maps.
Advertisements

(CSC 102) Lecture 21 Discrete Structures. Previous Lecture Summery  Sum/Difference of Two Functions  Equality of Two Functions  One-to-One Function.
CSE115/ENGR160 Discrete Mathematics 02/16/12 Ming-Hsuan Yang UC Merced 1.
Discrete Structures Chapter 5 Relations and Functions
Functions Goals Introduce the concept of function Introduce injective, surjective, & bijective functions.
1 Section 1.8 Functions. 2 Loose Definition Mapping of each element of one set onto some element of another set –each element of 1st set must map to something,
CS 2210 (22C:019) Discrete Structures Sets and Functions Spring 2015 Sukumar Ghosh.
EXPONENTIAL FUNCTIONS: DIFFERENTIATION AND INTEGRATION Section 5.4.
Table of Contents Recall an important property of inverse functions: the composite of the functions is x. If we assume that functions f and g are inverses.
Functions.
Chapter 7 Functions Dr. Curry Guinn. Outline of Today Section 7.1: Functions Defined on General Sets Section 7.2: One-to-One and Onto Section 7.3: The.
1 CMSC 250 Chapter 7, Functions. 2 CMSC 250 Function terminology l A relationship between elements of two sets such that no element of the first set is.
Discrete Structures Functions Dr. Muhammad Humayoun Assistant Professor COMSATS Institute of Computer Science, Lahore.
Section 1.8: Functions A function is a mapping from one set to another that satisfies certain properties. We will first introduce the notion of a mapping.
12.1 Inverse Functions For an inverse function to exist, the function must be one-to-one. One-to-one function – each x-value corresponds to only one y-value.
Functions. Recall Relation Let A and B be two sets. A relation between A and B is a collection of ordered pairs (a, b) such that a  A and b  B.
Mathematics. Session Set, Relation & Function Session - 3.
Foundations of Discrete Mathematics Chapter 3 By Dr. Dalia M. Gil, Ph.D.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Temperature Readings The equation to convert the temperature from degrees Fahrenheit to degrees Celsius is: c(x) = (x - 32) The equation to convert the.
Chapter 3 Functions Functions provide a means of expressing relationships between variables, which can be numbers or non-numerical objects.
Functions. Copyright © Peter Cappello2 Definition Let D and C be nonempty sets. A function f from D to C, for each element d  D, assigns exactly 1 element.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Combinations of Functions & Inverse Functions Obj: Be able to work with combinations/compositions of functions. Be able to find inverse functions. TS:
Sullivan Algebra and Trigonometry: Section 7.1 The Inverse Sine, Cosine, and Tangent Functions Objectives of this Section Find the Exact Value of the Inverse.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFunctions.
Temperature Readings The equation to convert the temperature from degrees Fahrenheit to degrees Celsius is: c(x) = (x - 32) The equation to convert the.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Copyright  The McGraw-Hill Companies, Inc. Permission required for reproduction.
HALVERSON – MIDWESTERN STATE UNIVERSITY CMPS 2433 Chapter 2 – Part 2 Functions & Relations.
Mathematics for Computing Lecture 8: Functions Dr Andrew Purkiss-Trew Cancer Research UK
8.4 Logarithms and Logarithmic Functions Goal: Evaluate and graph logarithmic functions Correct Section 8.3.
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
1 Discrete Structures – CNS 2300 Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 1 The Foundations: Logic, Sets,
Chapter 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs BY: MISS FARAH ADIBAH ADNAN IMK.
1.4 Sets Definition 1. A set is a group of objects . The objects in a set are called the elements, or members, of the set. Example 2 The set of positive.
Example Prove that: “IF 3n + 2 is odd, then n is odd” Proof by Contradiction: -p = 3n + 2 is odd, q = n is odd. -Assume that ~(p  q) is true OR -(p 
Chapter 9 Functions Let A and B be nonempty sets. A function f from A to B, written f: A  B is a relation from A to B with the property that every element.
Basic Structures: Functions Muhammad Arief download dari
Chapter 5 – Relations and Functions. 5.1Cartesian Products and Relations Definition 5.1: For sets A, B  U, the Cartesian product, or cross product, of.
Agenda Week 10 Lecture coverage: –Functions –Types of Function –Composite function –Inverse of a function.
April 14, 2015Applied Discrete Mathematics Week 10: Equivalence Relations 1 Properties of Relations Definition: A relation R on a set A is called transitive.
11 DISCRETE STRUCTURES DISCRETE STRUCTURES UNIT 5 SSK3003 DR. ALI MAMAT 1.
10.2 Logarithms and Logarithmic Functions Objectives: 1.Evaluate logarithmic expressions. 2.Solve logarithmic equations and inequalities.
Sets Definition: A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. We write a.
4 Inverse, Exponential, and Logarithmic Functions © 2008 Pearson Addison-Wesley. All rights reserved.
Temperature Readings The equation to convert the temperature from degrees Fahrenheit to degrees Celsius is: c(x) = (x - 32) The equation to convert the.
CSC102 - Discrete Structures Functions
Functions (Mappings). Definitions A function (or mapping)  from a set A to a set B is a rule that assigns to each element a of A exactly one element.
Math 71B 9.3 – Logarithmic Functions 1. One-to-one functions have inverses. Let’s define the inverse of the exponential function. 2.
1 Functions CS 202 Epp section ??? Aaron Bloomfield.
1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 9-1 Exponential and Logarithmic Functions Chapter 9.
Chapter 7 – Radical Equations and Inequalities 7.2 – Inverse Functions and Relations.
FUNCTIONS COSC-1321 Discrete Structures 1. Function. Definition Let X and Y be sets. A function f from X to Y is a relation from X to Y with the property.
A function is a rule f that associates with each element in a set A one and only one element in a set B. If f associates the element b with the element.
1 Discrete Mathematical Functions Examples.
8.4 Logarithmic Functions
Inverse of Transcendental Functions 1- Inverse of Trigonometric Functions 2- Inverse of Exponential Functions 3- Inverse of Hyperbolic Functions.
Functions – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Functions Reading: Kolman, Section 5.1.
1 Lecture 5 Functions. 2 Functions in real applications Curve of a bridge can be described by a function Converting Celsius to Fahrenheit.
Section 2.3. Section Summary  Definition of a Function. o Domain, Cdomain o Image, Preimage  One-to-one (Injection), onto (Surjection), Bijection 
FUNCTIONS.
“It is impossible to define every concept.” For example a “set” can not be defined. But Here are a list of things we shall simply assume about sets. A.
Discrete Mathematics Functions
Functions Goals Introduce the concept of function
Chapter 2 Sets and Functions.
6-7 Inverse Relations and Functions
Functions Section 2.3.
Chapter 5: Inverse, Exponential, and Logarithmic Functions
Functions Section 2.3.
Chapter 5: Exponential and Logarithmic Functions
Presentation transcript:

FUNCTIONS

Function. Definition Let X and Y be sets. A function f from X to Y is a relation from X to Y with the property that, for each element x in X, there is exactly one element y in Y such that x f y: Since any relation from X to Y is a subset of X x Y, a function is a subset S of X x Y such that for each there is a unique with

Functions If f is a function from X to Y the sets X and Y are called the domain and codomain of the function, respectively. The unique element is called the image of under f.

One-to-one Function If f is a function from X to Y and no two distinct elements of the domain are assigned the same element in the codomain, then the function is called one-to-one. To show that a function f is one-to-one, it is necessary to show that

Range If f is a function from X to Y and is a subset of the codomain such that (thus contains all the elements from Y that are paired with elements of the domain X), then is called the range of the function.

Onto Function If the range and codomain of a function are equal, the function is called onto. To show that a function f is onto, it is necessary to show that

One-to-one Correspondence A function, which is both one-to-one and onto is called a one-to-one correspondence. To show that a function f is a one-to-one correspondence, it is necessary to show that thus, for each there is exactly one such that means “there exists exactly one”

Identity Function For any set X, the function is one-to-one correspondence. This function is called the identity function on X.

Composition of Functions Let f be a function from X to Y and g be a function from Y to Z. Then it is possible to combine these two functions in a function gf from X to Z. The function gf is called the composition of g and f and is defined by taking the image of x under gf to be g(f(x)): If X=Z, it is also possible to define the function fg, but in general, gf≠fg

Inverse Function If be one-to-one correspondence, then for each there is exactly one such that . Hence we may define a function with domain Y and codomain X by associating to each the unique such that . This function is denoted by and is called the inverse of function f.

Inverse Function Theorem. Let is one-to-one correspondence. Then: The inverse function of is f. , that is

Exponential Function with base 2 The equation defines a function with the set of real numbers as its domain and the set of positive real numbers as its codomain. This function is called the exponential function with base 2.

Exponential Function with base n In general, the equation defines a function with the set of real numbers as its domain and the set of positive real numbers as its codomain. This function is called the exponential function with base n.

Logarithmic Function with base n Evidently, the exponential function with base n is a one-to-one correspondence because each element of the codomain is associated with exactly one element of the domain. This means that the exponential function with base n has and inverse g called the logarithmic function with base n:

Logarithmic Function with base n Particularly, the logarithmic function with base 2 is the inverse of the exponential function with base 2. The definition of an inverse function implies that if and only if : In general, “a is true if and only if b is true” means the “a implies b” and “b implies a”.