2.3 Solv
2.3 Solv
2. Find the domain and range of these functions. Note that in each case, to findthe
domain, determine the set of elements assigned values by the function.
a) the function that assigns the next largest integer to a positive integer.
The domain is the set of positive integers, and the range is the set of integers greater
than 1.
a) the function that assigns to each positive integer the largest integer not
exceeding the square root of the integer.
The domain is given as Z+ . Clearly the range is Z+ as well.
a) [ 2.99 ] = 3
1 1
b) ⌈ ⌊ 1 ⌋ + ⌈ ⌉ + ⌉=2
2 2 2
a) 𝑓 (𝑛) = ⌈𝑛 / 2⌉
This is not one-to-one, since, for example, f(3) = f(4) = 2.
a) 𝑓 (𝑚 , 𝑛 ) = 𝑚 + 𝑛 + 1
This is clearly onto, since f(0, n - 1) = n for every integer n.
b) a) 𝑓 (𝑚 , 𝑛 ) = | 𝑚 | − | 𝑛|
This is onto. To achieve negative values, we set m = 0, and to achieve nonnegative values we
set n = 0
10. Let f (x) = ax + b and g(x) = cx + d, where a, b, c, and d are constants. Determine
necessary and suffi - cient conditions on the constants a, b, c, and dso that 𝑓 ∘ 𝑔 = 𝑔
∘𝑓.
Forming the compositions we have (f ◦ g)(x) = acx + ad + b and (g ◦ f)(x) = cax + cb + d.
These are equal if and only if ad+b = cb+d. In other words, equality holds for all 4-
tuples (a, b, c, d) for which ad+b = cb+d.
a) 𝑓 (𝑥) = ⌊𝑥 /2 ⌋ + ⌈𝑥 /2 ⌉
12. Show that if x is a real number and n is an integer, the
a) 𝑓(𝑥) = −3 𝑥2 + 7
not bijection
b) 𝑓(𝑥) = (𝑥 + 1) / (𝑥 + 2)
not bijection from R to R, f is a bijection from R - {-2} to R - {1}.