Relations Vs Functions A relation is a set

  • Slides: 15
Download presentation
Relations Vs. Functions

Relations Vs. Functions

A relation is a set of ordered pairs.

A relation is a set of ordered pairs.

A relation assigns the x’s with y’s 1 2 3 2 4 5 6

A relation assigns the x’s with y’s 1 2 3 2 4 5 6 8 10 Domain (set of all x’s) Range (set of all y’s) 4 This relation can be written {(1, 6), (2, 2), (3, 4), (4, 8), (5, 10)}

A function is an input-output relationship that has exactly one output for each input.

A function is an input-output relationship that has exactly one output for each input. Another way of saying it is that there is one and only one output (y) for each input (x). Every Function is a relation, but not every relation is a function

INPUT OUTPUT INPUT: The value substituted into an expression or function OUTPUT: The value

INPUT OUTPUT INPUT: The value substituted into an expression or function OUTPUT: The value that results from the substitution of a given input into an expression or function.

DOMAIN AND RANGE (x , y) (Domain , Range)

DOMAIN AND RANGE (x , y) (Domain , Range)

DOMAIN AND RANGE The domain is the set of all x values in the

DOMAIN AND RANGE The domain is the set of all x values in the relation domain = {-1, 0, 2, 4, 9} These are the x values written in a set from smallest to largest {(2, 3), (-1, 5), (4, -2), (9, 9), (0, -6)} These are the y values written in a set from smallest to largest range = {-6, -2, 3, 5, 9} The range is the set of all y values in the relation This is a relation

Vertical Line Test (pencil test) If any vertical line passes through more than one

Vertical Line Test (pencil test) If any vertical line passes through more than one point of the graph, then that relation is not a function. Are these functions? FUNCTION! NOPE!

Vertical Line Test FUNCTION! NO WAY! FUNCTION!

Vertical Line Test FUNCTION! NO WAY! FUNCTION!

IS THIS A FUNCTION? re a ’s ed x l Al sign as 1

IS THIS A FUNCTION? re a ’s ed x l Al sign as 1 2 3 4 5 2 4 6 8 10 Set A is the domain This is. Whew! a function What ---it meets our did that say? conditions Xd mo oes n re ot t y a ha hav ssi n o e gn ne ed Set B is the range Must use all the x’s The x value can only be assigned to one y

Let’s look at another relation and decide if it is a function. The secondition

Let’s look at another relation and decide if it is a function. The secondition says each x can have only one y, but it CAN be the same y as another x gets assigned to. re a ’s ed x l Al sign as 1 2 3 4 5 2 4 6 8 10 Set A is the domain This is a function ---it meets our conditions No xh tha as m ass n one ore ign y ed Set B is the range Must use all the x’s The x value can only be assigned to one y

good example that you can “relate” to to isis students in in our AA

good example that you can “relate” to to isis students in in our AA good math class this semester are set A. A. The grade they earn out math of the class isis set B. B. Each student must be be assigned aa grade of and can only be and be assigned. ONEgrade, but butmorethanone student can get the same grade (we hope so---we want lots of of student A’s). The example shown on on the previous screen had each A’s). student getting the same grade. That’s okay. student 1 2 3 4 5 2 4 6 8 10 2 was assigned both 4 and 10 Is the relation shown above a function? NO Why not? ? ?

Check out this relation and determine if it is a function. It is not---3

Check out this relation and determine if it is a function. It is not---3 didn’t get assigned to anything Remember in our example, a student in math must receive a grade. 1 2 3 4 5 Set A is the domain 2 4 6 8 10 Set B is the range This is not a Must use all the x’s function---it doesn’t assign each x with a y The x value can only be assigned to only one y

Check out this relation to determine if it is a function. This is fine—each

Check out this relation to determine if it is a function. This is fine—each student gets only one grade. More than one can get an A and I don’t have to give any D’s (so all y’s don’t need to be used). 1 2 3 4 5 2 4 6 8 10 Set A is the domain This is a function Set B is the range Must use all the x’s The x value can only be assigned to one y

We commonly call functions by letters. Because function starts with f, it is a

We commonly call functions by letters. Because function starts with f, it is a commonly used letter to refer to functions. This means the right hand side is a function called f This means the right hand side has the variable x in it The left side DOES NOT MEAN f times x like brackets usually do, it simply tells us what is on the right hand side. The left hand side of this equation is the function notation. It tells us two things. We called the function f and the variable in the function is x.