1. Determine whether each of the following functions is 1-to-1 and whether it is
ID: 1721130 • Letter: 1
Question
1. Determine whether each of the following functions is 1-to-1 and whether it is onto. Assume the domain and co-domain is Z, the integers. Explain your answers.
a. f(n) = n / 2, assuming integer division
b. g(n) = 4n + 5
2. Given each of the following functions that maps X = {1, 2, 3} to Y = {A, B, C}
a. f(1) = A, f(2) = B, f(3) = A
b. g(1) = C, g(2) = B, g(3) = A
Determine whether the function has an inverse. If it has an inverse, provide it. If it does not, explain why not.
Refer to the functions in problem 2. What are domain and codomain of both functions? What is the range of each of them?
Draw arrow diagrams for both functions defined in problem 2.
Given the following two functions f: R R and g: R R are defined by the rules:
f(x) = x2 + 10x + 7
g(y) = 5y + 9
Find f g and g f.
Explanation / Answer
(1)
(a) f (1) =0 and f(0) =0. Therefore f is not one-one.
f is onto , as given any m in the codomain , f(2m) =m.
(b) g(n)=4n+5 .g is one-one as 4n+5 =4m+5 implies n =m. g is not onto .(for example there is no integer n such that 4n+5 =0
(2) (a)
f cannot have an inverse as it is not one-one (not onto either)
Its domain and codomain are X and Y respectively.
Its range is the set {A,B} .
The sketch for the function g : X->Y
The function g is clearly one-one onto and the inverse frome Y to X is obtained simply by reversing the arrows.: g(A)=3, g(B)=2 and g(C)=1.
3) f(x) = x2 +10x +7
g(y) = 5y+9
f*g(y) = f(g(y)) = (5y+9)2 +10(5y+9) +7 = 25y2 +140y +171
g*f(x) = g(f(x)) = 5(x2 +10x +7) +7= 5x2 +50x +42
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.