5.1 Functions.

Slides:



Advertisements
Similar presentations
Section 12.1 Composite and Inverse Functions
Advertisements

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,
LIAL HORNSBY SCHNEIDER
Intro to Algebra/Geometry Solving Equations by Adding or Subtracting.
Solve an equation using subtraction EXAMPLE 1 Solve x + 7 = 4. x + 7 = 4x + 7 = 4 Write original equation. x + 7 – 7 = 4 – 7 Use subtraction property of.
Page: 108. Inverse:The reversal of some process or operation. For functions, the reversal involves the interchange of the domain with the range. Along.
What is a Relation? What is a Function? Have we seen these before??
Algebra Review. Polynomial Manipulation Combine like terms, multiply, FOIL, factor, etc.
Graphing Systems of Equations Graph of a System Intersecting lines- intersect at one point One solution Same Line- always are on top of each other,
Splash Screen Lesson 3 Contents Example 1Elimination Using Addition Example 2Write and Solve a System of Equations Example 3Elimination Using Subtraction.
Inverse Functions 12.1 SAT Question: Let and for all integers x and y. If, what is the value of ?
Solve the equation -3v = -21 Multiply or Divide? 1.
Matrices This chapter is not covered By the Textbook 1.
Unit 3: Matrices.
Functions Reading: Chapter 6 (94 – 107) from the text book 1.
Basic Structures: Functions Muhammad Arief download dari
CompSci 102 Discrete Math for Computer Science January 31, 2012 Prof. Rodger Slides modified from Rosen AB a b c d x y z.
1-8 Solving Equations by Adding or Subtracting Warm-up: Fluency Quiz. Sit with paper blank side up. Homework: Page 41 #4-8 even, #12-16 even, even,
Functions Section 2.3. Section Summary Definition of a Function. – Domain, Cdomain – Image, Preimage Injection, Surjection, Bijection Inverse Function.
Inverse Functions Section 7.4.
1.8 Inverse functions My domain is your range No! My range is your domain.
Section 8.6 Elimination using Matrices. Matrix Method The method computers use. The equations need to be in standard form. The coefficients and constants.
Warm Ups {(2,0) (-1,3) (2,4)} 1. Write as table 2. Write as graph 3. Write as map 4. State domain & range 5. State the inverse.
Solve an equation using addition EXAMPLE 2 Solve x – 12 = 3. Horizontal format Vertical format x– 12 = 3 Write original equation. x – 12 = 3 Add 12 to.
Example 1 Solving Two-Step Equations SOLUTION a. 12x2x + 5 = Write original equation. 112x2x + – = 15 – Subtract 1 from each side. (Subtraction property.
Section 4.1 Inverse Functions. What are Inverse Operations? Inverse operations are operations that “undo” each other. Examples Addition and Subtraction.
© by S-Squared, Inc. All Rights Reserved.
3.2 Inverse Functions. Functions A function maps each element in the domain to exactly 1 element in the range.
Warm Up Solve. 1. x + 5 = 9 2. x – 34 = 72 = x – 39 x = 4 x = 106
Functions – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Functions Reading: Kolman, Section 5.1.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Solving Equations. An equation links an algebraic expression and a number, or two algebraic expressions with an equals sign. For example: x + 7 = 13 is.
1 Lecture 5 Functions. 2 Functions in real applications Curve of a bridge can be described by a function Converting Celsius to Fahrenheit.
Chapter 2 1. Chapter Summary Sets The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions and sequences.
REVIEW A relation is a set of ordered pairs. {(2,3), (-1,5), (4,-2), (9,9), (0,-6)} This is a relation The domain is the set of all x values.
Solving Algebraic Equations. Equality 3 = = = 7 For what value of x is: x + 4 = 7 true?
7-8: Inverse Functions and Relations. Terms to Know Inverse relation: the set of ordered pairs obtained by reversing the coordinates of each original.
Solving Absolute-Value Equations
3. 3 Solving Equations Using Addition or Subtraction 3
Warm-up (10 min. – No Talking)
6.1 One-to-One Functions; Inverse Function
Dividing by a number is the inverse of multiplying by that number
Functions Defined on General Sets
Bell Ringer.
Bell Ringer.
Warm up 11/1/ X ÷ 40.
Chapter 5: Inverse, Exponential, and Logarithmic Functions
Solving 1-Step Integer Equations
4.1 Inverse Functions.
Objective Solve one-step equations in one variable by using multiplication or division.
4.1 One-to-One Functions; Inverse Function
Solving Two-Step Equations
Ch 5 Functions Chapter 5: Functions
Copyright © Cengage Learning. All rights reserved.
Solving one- and two-step equations
6.1 One-to-One Functions; Inverse Function
Bell work: Which of these are ways to represent a function? f(x)=x+3
Chapter 5: Exponential and Logarithmic Functions
Solving 1-Step Integer Equations
Matrix Algebra.
Objective Solve one-step equations in one variable by using multiplication or division.
Sec. 2.7 Inverse Functions.
Bell Ringer.
Solving Absolute-Value Equations
Solving Absolute-Value Equations
Learning Objective Students will be able to: Solve equations in one variable that contain absolute-value expressions.
Ch 8.8: Inverse of Functions and Relations
Functions Section 2.3.
Splash Screen.
Chapter 5: Exponential and Logarithmic Functions
Presentation transcript:

5.1 Functions

Relations are in a Domain, Range format A function is a relationship between two sets of numbers. A function maps a number in one set to a number in another set. Notice that a function maps values to one and only one value. Two Domain values in one set could map to the same Range value. One Domain value must never map to two Range values….that would be a relation, not a function. DOMAIN RANGE f is a function of A to B Domain A = {-1, 1, 7, 5} Range B = {1,49,25} Relations are in a Domain, Range format f = {(-1, 1),(1,1),(7,49),(5,25)} -1 1 7 .5 1 49 25

Relation S = {(1,x),(1,y),(2,z),(3,y)} R S Domain A = {1, 2, 3} Range B = {x, y, z} Relation R = {(1,x),(2,x)} Relation S = {(1,x),(1,y),(2,z),(3,y)} R S R is a function S is not a function because 1(Domain) is related to x (Range) and y (Range). 1 2 3 x y z 1 2 3 x y z

Special Types of Functions A function can be any or all of the following: One to one Onto Everywhere defined -A function is one to one if a unique element of A is a function with a unique element of B -A function is onto if each element of A is a function with each element of B -A function is everywhere defined if each element of A is a function with any element of B

A = {a1, a2,a3} B = {b1,b2,b3} C = {c1, c2 } D = {d1, d2, d3, d4 } f1 ={(a1,b2),(a2,b3),(a3,b1)} everywhere defined, one to one, onto f2={(a1,d2),(a2,d3),(a3,d4)} Not onto, everywhere defined, one to one f3={(b1,c2),(b2,c2),(b3,c1)} Not one to one, onto, everywhere defined f4={(d1,b1),(d2,b2),(d3,b1)} Not everywhere defined, not onto, not one to one…still a function….its just not special

Composition of two functions: Function f is A to B f : A B Function g is B to C g: B C The composition of f and g is denoted g f and is a relation and a function. Theorem 6 of section 4.7 (g f)(a) = g(f(a)) The composition of f and g of a is equal to the function g of function f of a.

Example A= B = Z C is the set of even integers The function of f is A to B f: A B The function g is B to C g: B C The function f of a = a + 1 f(a) = a + 1 The function g of b = 2b g(b) = 2b Find g f (find the composition of f and g) (g f)(a) = g(f(a)) (formula) = g(a + 1) = 2(a + 1) We are substituting the formula for f(a + 1) into the formula for g(2b) where b becomes a + 1.

Finding the inverse of a one to one function: The function must be a one to one function in order to find the inverse. Replace f(x) by y in the equation for f(x) Interchange x and y. Solve for y Replace y by f -1 (x) (The inverse of f of x)

Example: Find the inverse of f(x) = 7x-5 Replace f(x) with y y = 7x-5 2. Interchange x and y x = 7y-5 (This is the inverse function) 3. Solve for y x + 5 = 7y (result of adding 5 to both sides) x + 5/7 = y (result of dividing both sides by 7) Replace y by f -1 (x) f -1 (x) = x + 5/7

The function of x f(x) = 7x – 5 f(x) = changes x by multiplying by 7 and subtracting 5. The inverse function changes x by adding 5 and dividing by 7. f -1 (x) = x + 5/7 The process can be checked by showing that f(f -1 (x)) = x and f -1 (f(x)) = x

f(f -1 (x)) = x f(x) = 7x – 5 Replace x with inverse x + 5/7

f -1 (f(x)) = x f -1 (x) = x + 5/7 Replace x with 7x – 5 7x – 5 + 5/7 = x 7x/7 = x x = x

In your homework If you are given g(b) = 2b (the function g of b = 2b) Find g g (the composition of g and g) The answer is 4b and If you are given g(b) = b2 (the function of g of b = b2 and asked to solve (g g) (the composition of g and g) The answer is b4

One to one functions are used in cryptology One to one functions are used in cryptology. Many secret codes are simple substitution. In this example the alphabet is rearranged on the bottom row using the keyword Destiny. Using the top to bottom approach, the phrase “THE TRUCK ARRIVES TONIGHT” is encoded by finding T on the top row and using the letter on the bottom row that corresponds to the t, in this case Q. DESTINY is the keyword A B C D E F G H I J K L M N O P Q R S T U V W X Y Z D E S T I N Y A B C F G H J K L M O P Q R U V W X Z THE TRUCK ARRIVES TONIGHT QAI QORSF DOOBUIP QKJBYAQ

f(D) = T f(A) = D f -1 (A) = H f(B) = E f -1 (B) = I f(R) = O f(C) = S f -1 (C) = J The inverse function is used by using the table from bottom to top. The code CKAJADPDGKJYEIDOT is constructed from the bottom row and is decoded using corresponding top row letters. This is showing one to one because you can encode and decode using the same arrangements of letters. JOHN HAS A LONG BEARD CKAJ ADP D GKJY EIDOT