1 Domain and Range of A Function
1 Domain and Range of A Function
𝑹𝒇 = {𝒚: (𝒙, 𝒚) ∈ 𝒇 } ⊆ 𝒀
Notations
(a) ℕ= {1,2,3,4, … }: Set of natural numbers.
(b) ℤ= {… , −3, −2, −1,0,1,2,3,4, … }: Set of integer numbers.
𝑚
(c) ℚ= { ∶ 𝑚, 𝑛 ∈ ℤ, 𝑛 ≠ 0 }: Set of rational numbers.
𝑛
Notes:
𝟓
(i) Every finite decimal number is rational. For example: 𝟎. 𝟓 = ,
𝟏𝟎
𝟑𝟐𝟏𝟓𝟓𝟔𝟕 −𝟕𝟎𝟑
𝟑𝟐𝟏. 𝟓𝟓𝟔𝟕 = , −𝟕. 𝟎𝟑 = , etc.
𝟏𝟎𝟎𝟎𝟎 𝟏𝟎𝟎
Finding the Domain and Range from Graphs of Some Important Functions
We’ll study this topic by using some important functions.
Definition: Absolute-Value Function
An absolute value function is a real valued function defined by
𝒙 𝒊𝒇 𝒙≥𝟎
𝒚 = 𝒇(𝒙) = |𝒙| = {
−𝒙 𝒊𝒇 𝒙<𝟎
Note that the effect of taking the absolute value of a number is to strip away
the minus sign if the number is negative and to leave the number unchanged
if it is nonnegative, for example,
|𝟎| = 𝟎, |−𝟓| = 𝟓, |−√𝟐| = √𝟐, |𝟕| = 𝟕 and |𝟑. 𝟓| = 𝟑. 𝟓.
The graph of 𝒇(𝒙) = |𝒙| is given by:
Finding 𝑫|𝒙| :
𝒙𝟐 − 𝟒 , 𝒙𝟐 − 𝟒 ≥ 𝟎
Sol. 𝒚 = |𝒙𝟐 − 𝟒| = {
−(𝒙𝟐 − 𝟒) , 𝒙𝟐 − 𝟒 < 𝟎
We solve the inequalities: 𝒙𝟐 − 𝟒 ≥ 𝟎 and 𝒙𝟐 − 𝟒 < 𝟎.
If 𝒙𝟐 − 𝟒 = 𝟎 → (𝒙 − 𝟐)(𝒙 + 𝟐) = 𝟎 → 𝒙 = ±𝟐.
Finding 𝑫𝒇 :
𝑫𝒇 = ℝ
𝑹𝒇 = [𝟎, +∞).
Properties of Absolute-Value
For any two real numbers x, y and nonnegative real number 𝑎, then
(i) |𝒙| = √𝒙𝟐 (This property can be used as an alternative definition of |𝒙|)
(ii) |−𝒙| = |𝒙|
(iii) |𝒙. 𝒚| = |𝒙|. |𝒚|
𝒙 |𝒙|
(iv) | | = |𝒚| provided that 𝒚 ≠ 𝟎
𝒚
(v) |𝒙|𝟐 = 𝒙𝟐
(vi) −|𝒙| ≤ 𝒙 ≤ |𝒙|
(vii) |𝒙| = 𝒂 ↔ 𝒙 = ±𝒂
(viii) |𝒙| ≤ 𝒂 ↔ −𝒂 ≤ 𝒙 ≤ 𝒂 and |𝒙| < 𝒂 ↔ −𝒂 < 𝒙 < 𝒂
(ix) |𝒙| ≥ 𝒂 ↔ 𝒆𝒊𝒕𝒉𝒆𝒓 𝒙 ≤ −𝒂 𝒐𝒓 𝒙 ≥ 𝒂 and |𝒙| > 𝒂 ↔ 𝒙 < −𝒂 𝒐𝒓 𝒙 > 𝒂
(x) |𝒙| = |𝒚| ↔ 𝒙 = 𝒚 𝒐𝒓 𝒙 = −𝒚
(xi) |𝒙 + 𝒚| ≤ |𝒙| + |𝒚|
(xii) |𝒙 − 𝒚| ≥ ||𝒙| − |𝒚||
Definition: Signum Function
A signum function is a real valued function defined by
+𝟏, 𝒙 > 𝟎
𝒚 = 𝒔𝒈𝒏(𝒙) = { 𝟎, 𝒙 = 𝟎
−𝟏, 𝒙 < 𝟎
𝒔𝒈𝒏(𝟎) = 𝟎 𝒔𝒈𝒏(𝟏) = 𝟏 𝒔𝒈𝒏(𝟐) = 𝟐 𝒔𝒈𝒏(−𝟎. 𝟎𝟏) = −𝟏 𝒔𝒈𝒏(−𝟏. 𝟏𝟑) = −𝟐
𝒔𝒈𝒏(𝟎. 𝟏) = 𝟎 𝒔𝒈𝒏(𝟏. 𝟓) = 𝟏 𝒔𝒈𝒏(𝟐. 𝟒) = 𝟐 𝒔𝒈𝒏(−𝟎. 𝟗) = −𝟏 s𝒈𝒏(−𝟏. 𝟖𝟕) = −𝟐
𝒔𝒈𝒏(𝟎. 𝟗) = 𝟎 𝒔𝒈𝒏(𝟏. 𝟖) = 𝟏 𝒔𝒈𝒏(𝟐. 𝟕) = 𝟐 𝒔𝒈𝒏(−𝟏) = −𝟏 s𝒈𝒏(−𝟐) = −𝟐
𝒚 = 𝒔𝒈𝒏(𝒙)
𝒙<𝟎
𝒙>𝟎
Finding 𝑫𝒔𝒈𝒏 :
𝒚 = 𝒔𝒈𝒏(𝒙)
𝒙<𝟎
𝒙>𝟎
Finding 𝑹𝒔𝒈𝒏 :
𝒚 = 𝒔𝒈𝒏(𝒙)
𝒙<𝟎
𝒙>𝟎
𝒚 = 𝒔𝒈𝒏(𝒙 − 𝟏) + 𝒔𝒈𝒏(𝒙 + 𝟏)
𝑫𝒇 = ℝ.
Finding 𝑹𝒇 :
𝒚 = 𝒔𝒈𝒏(𝒙 − 𝟏) + 𝒔𝒈𝒏(𝒙 + 𝟏)
Finding 𝑫⟦𝑿⟧ :
𝒚 = ⟦ 𝒙⟧
𝑫⟦𝑿⟧ = ℝ
Finding 𝑹⟦𝑿⟧ :
𝒚 = ⟦ 𝒙⟧
𝑹⟦𝑿⟧ = ℤ.
Examples
Sketch the function 𝒚 = 𝒔𝒈𝒏(⟦𝒙⟧) and find its domain and range.
+𝟏, 𝒙 > 𝟎
Sol. Since 𝒔𝒈𝒏(𝒙) = { 𝟎, 𝒙 = 𝟎 , therefore
−𝟏, 𝒙 < 𝟎
+𝟏, ⟦𝒙⟧ > 𝟎
𝒚 = 𝒔𝒈𝒏(⟦𝒙⟧) = { 𝟎, ⟦𝒙⟧ = 𝟎 .
−𝟏, ⟦𝒙⟧ < 𝟎
The solutions of the two inequalities ⟦𝒙⟧ > 𝟎 and ⟦𝒙⟧ < 𝟎 can be obtained
from the above note *. Therefore, ⟦𝒙⟧ > 𝟎 ↔ 𝒙 ≥ 𝟏 and ⟦𝒙⟧ < 𝟎 ↔ 𝒙 < 𝟎.
Similarly, the solution of the equation ⟦𝒙⟧ = 𝟎 can also be obtained from
the note *, ⟦𝒙⟧ = 𝟎 ↔ 𝟎 ≤ 𝒙 < 𝟏. Hence
+𝟏, 𝒙≥𝟏
𝒚 = 𝒔𝒈𝒏(⟦𝒙⟧) = { 𝟎, 𝟎 ≤ 𝒙 < 𝟏
−𝟏, 𝒙<𝟎
𝒚 = 𝒔𝒈𝒏(⟦𝒙⟧)
Finding 𝑫⟦𝑿⟧ :
𝒚 = 𝒔𝒈𝒏(⟦𝒙⟧)
𝑫𝒇 = ℝ
Finding 𝑫⟦𝑿⟧ :
𝒚 = 𝒔𝒈𝒏(⟦𝒙⟧)
𝑹𝒇 = {−𝟏, 𝟎, +𝟏}.
Exercises (2.15)
Sketch the following functions and find their domains and ranges.
(1) 𝒚 = 𝟒 + 𝒔𝒈𝒏(𝒙𝟐 + 𝟏) (2) 𝒚 = |𝒙| + 𝒔𝒈𝒏(𝒙 − 𝟏)
(3) 𝒚 = 𝒙 𝒔𝒈𝒏(𝒙) (4) 𝒚 = 𝒔𝒈𝒏(𝒙𝟐 − 𝟏) + 𝒔𝒈𝒏(𝒙𝟐 + 𝟏)
(5) 𝒚 = ⟦𝒔𝒈𝒏(𝒙)⟧ (6) 𝒚 = √𝒔𝒈𝒏(𝒙) (7) 𝒚 = ⟦𝒙⟧ − ⟦−𝒙⟧
|𝒙−𝟏|
(8) 𝒚 = 𝒙−𝟏
(9) 𝒚 = |⟦𝒙⟧| (10) 𝒚 = |𝒔𝒈𝒏(𝒙)| (11) 𝒚 = 𝒔𝒈𝒏(√𝒙 − 𝟏) + 𝒔𝒈𝒏(√𝒙 + 𝟏)