1 - Functions and Graphs - 05+
1 - Functions and Graphs - 05+
2023/2024 ANU
Chapter (1)
• A function is a rule that assigns to each input number exactly one output number.
• Function is often represented by 𝒚 = 𝒇(𝒙).
• We refer 𝒚 as dependent variable, and 𝒙 as independent variable.
• Domain: the set of all values of 𝒙.
• Range: the set of all values of 𝒚.
• Univariate function: contains only one independent variable.
• Multivariate function: contains more than one independent variable, 𝒚 = 𝒇(𝒙𝟏 , 𝒙𝟐 )
• We will study 9 functions:
𝒚 = 𝒇(𝒙) = Name
1 𝒚=𝑪 Constant
2 𝒎𝒙 + 𝒃 Linear
3 𝒙𝟐 Quadratic
4 𝒙𝟑 Cubic
5 √𝒙 Radical
6 |𝒙| Absolute
𝟏
7 Rational
𝒙
8 𝒃𝒙 Exponential
9 𝐥𝐨𝐠 𝒙 Logarithmic
Example (1):
Graph the function 𝒚 = 𝒇(𝒙) = 𝟓 , and state the Range and the Domain of the function.
Solution:
y
8
7
6
5
4
3
2
1 x
-4 -3 -2 -1 -1 1 2 3 4 5
-2
-3
Example (2):
Graph the function 𝒚 = 𝒇(𝒙) = 𝟐𝒙 − 𝟔 .
Solution:
Put 𝒙 = 𝟎, then 𝒚 = 𝟐(𝟎) − 𝟔 = −𝟔
Put 𝒚 = 𝟎, then 𝟎 = 𝟐𝒙 − 𝟔, → 𝟐𝒙 = 𝟔, →𝒙=𝟑
𝒙 𝟎 𝟑
𝒚 −𝟔 𝟎
2
x
-3 -2 -1 1 2 3 4
-2
▪ Domain: (−∞, ∞) -4
▪ Range: (−∞, ∞) -6
-8
▪ The 𝒙 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕 is: (𝟑, 𝟎) -10
▪ The 𝒚 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕 is: (𝟎, −𝟔)
▪ The function is increasing because the slope =2, is positive.
Example (3):
Find the slope and the y- intercept and graph the function:
𝟔𝒙 + 𝟐𝒚 = 𝟐𝟒 .
Solution:
𝟐𝒚 = 𝟐𝟒 − 𝟔𝒙 (÷ 𝟐 𝒃𝒐𝒕𝒉 𝒔𝒊𝒅𝒆𝒔)
𝒚 = 𝟏𝟐 − 𝟑𝒙
Put 𝒙 = 𝟎, then 𝒚 = 𝟏𝟐 − 𝟑(𝟎) = 𝟏𝟐
Put 𝒚 = 𝟎, then 𝟎 = 𝟏𝟐 − 𝟑𝒙, → 𝟑𝒙 = 𝟏𝟐, →𝒙=𝟒
𝒙 𝟎 𝟒
𝒚 𝟏𝟐 𝟎
y
12
4
x
2 4
▪ Domain: (−∞, ∞)
▪ Range: (−∞, ∞)
▪ The 𝒙 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕 is: (𝟒, 𝟎)
▪ The 𝒚 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕 is: (𝟎, 𝟏𝟐)
▪ The function is decreasing because the slope =−𝟑, is negative.
𝒚 = (−𝟏)𝟐 + 𝟐(−𝟏) − 𝟑 = 𝟏 − 𝟐 − 𝟑 = −𝟒
The vertex is: (−𝟏, −𝟒), and it is a "minimum" (because 𝒂=1, is +ve)
y
7
6
5
4
3
2
1 x
-4 -3 -2 -1 -1 1 2
-2
-3
-4
𝒚 = (𝟐)𝟐 − 𝟒(𝟐) + 𝟑 = 𝟒 − 𝟖 + 𝟑 = −𝟏
The vertex is: (𝟐, −𝟏), and it is a "minimum".
4y
1
x
-1 1 2 3 4 5
-1
Example (6):
Graph the function: 𝒚 = 𝒇(𝒙) = 𝒙𝟐 − 𝟒𝒙
Solution:
𝒂 = 𝟏, 𝒃 = −𝟒, 𝒄=𝟎
(1) Because 𝒂 = 𝟏 is positive, the function is upward.
(2) Y-intercept is: 𝒚 = 𝟎 (The value of 𝒄 = 𝟎).
(3) X-intercepts: Put 𝒚 = 𝟎
𝒙𝟐 − 𝟒𝒙 = 𝟎 → 𝒙(𝒙 − 𝟒) = 𝟎 →
𝒙 = 𝟎 and 𝒙 = 𝟒
−𝒃 −(−𝟒)
(4) 𝒙 −vertex: 𝒙 = = =𝟐
𝟐𝒂 𝟐(𝟏)
𝒚 = (𝟐)𝟐 − 𝟒(𝟐) = 𝟒 − 𝟖 = −𝟒
The vertex is: (𝟐, −𝟒), and it is a "minimum".
y
6
5
4
3
2
1
x
-2 -1 1 2 3 4 5 6 7
-1
-2
-3
-4
-5
-6
𝒚 = −(𝟏)𝟐 + 𝟐(𝟏) = −𝟏 + 𝟐 = 𝟏
The vertex is: (𝟏, 𝟏), and it is a "maximum".
x
-1 1 2 3
-1
4) Cubic Function
Example (8):
Graph the function: 𝒚 = 𝒇(𝒙) = 𝒙𝟑
Solution:
x -3 -2 -1 0 1 2 3
y -27 -8 -1 0 𝟏 8 27
y
100
80
60
40
20 x
-9 -8 -7 -6 -5 -4 -3 -2 -1-20 1 2 3 4 5 6 7 8 9
-40
-60
-80
-100
-120
Some properties:
1. The function is "cubic" or 3rd degree.
2. The graph is symmetric about the origin.
3. Domain: 𝑹
4. Range: 𝑹
5. Increasing function.
6. (0,0) is the X-intercept and Y-intercept.
7. The graph lies in the quadrants: 1 and 3.
5) Radical function
Example (9):
x
-1 1 2 3 4 5 6 7 8 9 10
Some Properties:
1. Domain: [𝟎, ∞)
2. Range: [𝟎, ∞)
3. Increasing function.
4. (0,0) is the X-intercept and Y-intercept.
5. The graph lies in the quadrant 1 only.
6) Absolute function
Example (10):
Graph the function: 𝒚 = 𝒇(𝒙) = |𝒙|
Solution:
x -3 -2 -1 0 1 2 3
y 3 2 1 0 𝟏 2 3
x
-3 -2 -1 1 2 3 4
Some Properties:
1. Domain: 𝑹
2. Range: [𝟎, ∞)
3. Increasing on the interval (𝟎, ∞), and decreasing on (−∞, 𝟎, ).
4. (0,0) is the X-intercept and Y-intercept.
5. The graph lies in the quadrants: 1 and 2.
7) Rational function
Example (11):
Graph and state the properties of the following two functions:
𝟏 −𝟏
𝒚 = 𝒇(𝒙) = 𝒚 = 𝒇(𝒙) =
𝒙 𝒙
x -3 -2 -1 -.5 0 .5 1 2 3 x -3 -2 -1 -.5 0 .5 1 2 3
y y
12 12
10 1 10
8
2 8
6 6
4 4
2 2
x x
-3 -2 -1 1 2 3 -3 -2 -1 1 2 3
-2 -2
-4 -4
3 -6 -6 4
-8 -8
-10 -10
-12 -12
(5) Symmetric about the origin. (5) Symmetric about the origin.
8) Exponential Function
The base 𝒃 is a constant, and the exponent 𝒙 is any real number (variable).
➢ The graph of the function:
𝟎<𝒃<𝟏 𝒃>𝟏
For example, 𝒚 = 𝟎. 𝟓𝒙 For example, 𝒚 = 𝟐𝒙
y y
(1,2)
(0,1)
(0,1)
(1,0.5) x
x -3 -2 -1 1 2 3 4
-2 -1 1 2 3 4
1- Has horizontal asymptote (the X-axis, 𝑦 = 0). 1- Has horizontal asymptote (the X-axis, 𝑦 = 0).
2- Y-intercept is (0, 1). 2- Y-intercept is (0, 1).
3- Domain: all real numbers 𝑅, (−∞, ∞). 3- Domain: all real numbers 𝑅, (−∞, ∞).
4- Range: (0, ∞), All positive numbers. 4- Range: (0, ∞), All positive numbers.
5- Decreasing function (when 0 < 𝑏 < 1). 5- Increasing function (when 𝑏 > 1).
6- At 𝑥 = 1, 𝑦 = 𝑏, it passes through (1, 𝑏). 6- At 𝑥 = 1, 𝑦 = 𝑏, it passes through (1, 𝑏).
7- The graph lies in quadrants: 1 and 2. 7- The graph lies in quadrants: 1 and 2.
8- If 𝑏 = 1, the graph is a horizontal line at 𝑦 = 1. 8- If 𝑏 = 1, the graph is a horizontal line at 𝑦 = 1.
5.5
5 3.5
4.5
3
2.5
3.5
3
2
2.5
1.5
2
1.5
1
0.5
0.5
x
x
-1.8 -1.6 -1.4 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8
-2.2 -2 -1.8 -1.6 -1.4 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6
-0.5
9) Logarithmic Function
The exponential function has an inverse function. The inverse function of the exponential function 𝒃𝒙
is the logarithmic function to the base 𝒃.
𝒚 = 𝒃𝒙
𝐥𝐨𝐠 𝒃 𝒚 = 𝒙
Example (13):
Converting from Exponential to logarithmic Form.
y 2.5 y
4 2
1.5 (2,1)
3 1
2 0.5 (1,0) x
(0.5,1)
-0.5 1 2 3 4
1
(1,0) x -1
0.5 1 1.5 2 2.5 -1.5
-1 -2
-2.5
-2 -3
-3.5
➢ Notes:
➢ Logarithms to the base 10 are called the common logarithms, and 𝑙𝑜𝑔 𝑥 means log10 𝑥 .
➢ Logarithms to the base 𝑒 are called the natural logarithms, and 𝑙𝑛 𝑥 means log 𝑒 𝑥.
Example (16):
Graph and state the properties of the function:
1.2 y 2.5
y
1 2
0.8 1.5
0.6 1
0.4 0.5 (1,0) x
0.2
(1,0) 1 2 3 4
x -0.5
10 20 -1
-0.2
-1.5
-0.4
-2
-0.6 -2.5
-0.8 -3
-1 -3.5
Exercises (1)
A) Y= -2 x +6 6
B) Y= 2 x +3 2
x
C) Y= -2 x +3 -1 1 2 3 4
-2
D) Y= 2 x +6
5. which of the following functions represent this graph? y
A) Y= x +8 2
x
-2 2 4 6 8
B) Y= - x +8 -2
-4
C) Y= - x - 8 -6
-8
D) Y= x – 8
Question 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Answer D C B A D A B D B B D A B A A C C A D D
Question 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Answer D C A B A B A A B D B C B C B
Question 1 2 3 4 5
Answer F F T F T
Question (3):
Graph 𝒚 = 𝒇(𝒙) = 𝒙𝟐 − 𝟖𝒙 , and then complete the following:
(i) The X- intercepts are (….., 0) and (……, 0).
(ii) The Y- intercept is (0, …… )
(iii) The vertex is (……, …….. )
Question (4):
Graph 𝒚 = 𝒇(𝒙) = −𝒙𝟐 + 𝟐𝒙 , and then complete the following:
(i) The X- intercepts are (….., 0) and (……, 0).
(ii) The Y- intercept is (0, …… )
(iii) The vertex is (……, …….. )
Question (5):
Graph 𝒚 = 𝒇(𝒙) = 𝒙𝟐 − 𝟒 , and then complete the following:
(i) The X- intercepts are (….., 0) and (……, 0).
(ii) The Y- intercept is (0, …… )
(iii) The vertex is (……, …….. )
Question (6):
Graph and state the properties of the following functions:
a) 𝒚 = 𝒙𝟐 − 𝒙 − 𝟔
b) 𝒚 = 𝒙𝟐 − 𝟐𝟓