The Domain: {-3,-1,1} and Range: {-1,2,4,5}
What is domain and range?
Domain – All of the values that go into a relation or a function are called the domain.
Range – All of the entities (output) which emerge from a relation or a function are called the range.
All input values that are used (independent values) forms the Domain set.
All output values that are used (dependent values) forms the Range set.
Example: Given Function:- f = 2x+1 , Find the domain, range if 1<=x<=5.
The values of x lies from 1 to 10.
So, domain is {1, 2, 3, 4, 5}.
The values of f obtained by putting domain elements in the function will be range.
- So, if x=1 then f = 2(1)+1 = 3,
- if x=2 then f = 2(2)+1 = 5,
- if x=3 then f = 2(3)+1 =7,
- if x=4 then f = 2(4)+1 = 9,
- if x=5 then f = 2(5)+1 = 11.
So, range is {3,5,7,9,11}.
We have relation Q as
Q = { (-2, 4), (0, 2), (-1, 3), (4, -2) }
so, we know domain are the input values
Domain: {-2,-1,0,4}
and range are the output values
Range: {-2,2,3,4}