Language and Symbols Part 3
Language and Symbols Part 3
and Symbols
FUNCTIONS
Functions
A function is a relation in which every input is paired with exactly
one output.
Notation
If A and B are sets and F is a function from A to B, then given
elements x in A, the unique element in B that is related to x by F
is denoted by F(x), which is read as “F of x.”
Functions
Example:
Let A = {2, 4, 6} and B = {1, 3, 5}.
Which of the relations R, S, and T defined
below are functions from A to B?
a. R = { (2,5), (4,1), (4,3), (6,5) }
b. For all (x, y) ∈ A×B, (x, y) ∈ S means that
y = x + 1.
c. T is defined by the arrow diagram.
Functions
Example:
Let A = {2, 4, 6} and B = {1, 3, 5}.
Which of the relations R, S, and T defined below are functions
from A to B?
a. R = { (2,5), (4,1), (4,3), (6,5) }
ANSWER:
R is not a function because it does not satisfy property 2. The
ordered pairs (4, 1) and (4, 3) have the same first element.
Functions
Example:
Let A = {2, 4, 6} and B = {1, 3, 5}.
Which of the relations R, S, and T defined below are functions from A to B?
b. For all (x, y) ∈ A×B, (x, y) ∈ S means that y = x + 1.
ANSWER:
S is not a function because it does not satisfy property 1. It is
not true that every element of A is the first element of an ordered
pair in S. For example, 6 ∈ A but there is no y in B such that
y = 6 +1 = 7.
Functions
Example:
Let A = {2, 4, 6} and B = {1, 3, 5}.
Which of the relations R, S, and T defined below are functions from A to B?
c. T is defined by the arrow diagram.
ANSWER:
T is a function. Each element in {2, 4, 6} is related to some
elements in {1, 3, 5} and no element in {2, 4, 6} is related to more
than one element in (1, 3, 5}.
Functions
NOTE:
✓ If the set of ordered pairs have different x-coordinates, it is a
function.
✓ If the set of ordered pairs have the same x-coordinates, it is
not a function but it could be a relation.
✓ Y-coordinates have no bearing in determining functions.
✓ Function is a relation but a relation could not be said a
function.
Operations on Functions
a.) The sum and difference of f and g, denoted by f ± g is the
function defined by (f ± g)(x) = f(x) ± g(x).
b.) The product of f and g, denoted by f ⋅ g is the function defined
by (f ⋅ g)(x) = f(x) ⋅ g(x) .
c.) The quotient of f and g , denoted by f/g is the function defined
by f(x)/g(x), where g(x) is not equal to zero.
d.) The composite function of f and g , denoted by f ∘ g is the
function defined by (f ∘ g)(x) = f(g(x)). Similarly, g ∘ f is the
function defined by (g ∘ f)(x) = g(f(x)).
Operations on Functions
Example:
If f(x) = 2x + 1 and g(x) = 3x + 2, what is (f + g)(x)?
Solution:
(f + g)(x) = f(x) + g(x)
(f + g)(x) = (2x + 1) + (3x + 2)
(f + g)(x) = 2x + 3x + 1 + 2
(f + g)(x) = 5x + 3
Operations on Functions
Example:
If f(x) = 2x + 1 and g(x) = 3x + 2, what is (f ⋅ g)(x)?
Solution:
(f ⋅ g)(x) = f(x) ⋅ g(x)
(f ⋅ g)(x) = (2x + 1) ⋅ (3x + 2)
(f ⋅ g)(x) = 6𝑥 2 + 4𝑥 + 3𝑥 + 2
(f ⋅ g)(x) = 6𝑥 2 + 7𝑥 + 2
Operations on Functions
Example:
If f(x) = 3x + 1 and g(x) = 𝑥 2 , what is (f ∘ g)(x)?
Solution:
(f ∘ g)(x) = f(g(x))
(f ∘ g)(x) = f(𝑥 2 )
(f ∘ g)(x) = 3(𝑥 2 ) + 1
(f ∘ g)(x) = 3𝑥 2 + 1
Operations on Functions
Example:
If f(x) = 3x + 1 and g(x) = 𝑥 2 , what is (g ∘ f)(x)?
Solution:
(g ∘ f)(x) = g(f(x))
(g∘ f)(x) = g(3𝑥 + 1)
(g ∘ f)(x) = 3𝑥 + 1 2
(g ∘ f)(x) = 9𝑥 2 + 3𝑥 + 3𝑥 + 1
(g ∘ f)(x) = 9𝑥 2 + 6𝑥 + 1
BINARY OPERATIONS
Binary Operation
Binary Operation on a set is a calculation that combines two
elements of the set (called operands) to produce another element
of set.
Solution:
Let a ∈ Z and b ∈ Z. If we add a and b, then the sum a + b ∈ Z.
Hence, a * b = a + b is binary operation.
Binary Operation
Tell whether the following is a binary operation or not.
Solution:
Let a, b ∈ Z. Then the product of a and b, that is ab ∈ Z.
Hence, a * b = ab is binary operation.
Binary Operation
Tell whether the following is a binary operation or not.
Solution:
Let a, b ∈ 𝑅 + . If we take the sum of a + 17b, we’ll get positive
real numbers (a + 17b ∈ 𝑅 + ). Hence, it is a binary operation.
Binary Operation
Tell whether the following is a binary operation or not.
Solution:
If a > b, then a – b > 0 which is an ∈ 𝑍 +
If a < b, then a – b < 0 which is not ∉ 𝑍 +
Therefore, * is NOT a binary operation.
Binary Operation
Tell whether the following is a binary operation or not.
5.) G ∈ 𝑅 defined by a * b = 𝑎𝑏 .
Solution:
To be able to determine if the above statement is a binary operation or not, we
need to have a counter example.
Hence, * is commutative on S ∈ 𝑍 + .
Binary Operation
Example: (c) Identity
Let S = 𝑍 + as define *
on S by
a*b = a + b – ab. a*e=a e*a=a
Show the associativity a + e – ae = a e + a – ea = a
and commutativity of S e – ae = a – a e – ea = a – a
in a binary operation.
Find also its identity e(1 - a) = 0 e(1 - a) = 0
and inverse if any. e=0 e=0
−1 −𝐚 Therefore,
a = 1 + 2𝑎 = 0
𝟏+𝟐𝐚
2𝑎 = −1
−𝟏
𝑎=
𝟐
Test Yourself
1.) The binary operation * is defined over the set R of real
numbers by a * b = a + b + 2ab, a, b ∈ R
c.) Determine the inverse of 2 and 3.
−𝐚 −𝐚
𝐼𝑛𝑣𝑒𝑟𝑠𝑒 𝑜𝑓 2 = 𝐼𝑛𝑣𝑒𝑟𝑠𝑒 𝑜𝑓 3 =
𝟏+𝟐𝐚 𝟏+𝟐𝐚
−𝟐 −𝟑
𝐼𝑛𝑣𝑒𝑟𝑠𝑒 𝑜𝑓 2 = 𝐼𝑛𝑣𝑒𝑟𝑠𝑒 𝑜𝑓 3 =
𝟏+𝟐(𝟐) 𝟏+𝟐(𝟑)
−𝟐 −𝟑
𝐼𝑛𝑣𝑒𝑟𝑠𝑒 𝑜𝑓 2 = 𝐼𝑛𝑣𝑒𝑟𝑠𝑒 𝑜𝑓 3 =
𝟓 𝟕
Test Yourself
2.) A binary operation * defined on a closed set R is said to be
associative if (a * b)*c = a*(b * c), a, b, c ∈ R.
Given that a * b = 2a + ab, evaluate:
a.) (2 * 3)*4
b.) 2*(3 * 4)
Test Yourself
2.) A binary operation * defined on a closed set R is said to be
associative if (a * b)*c = a*(b * c), a, b, c ∈ R.
Given that a * b = 2a + ab, evaluate:
a.) (2 * 3)*4
Solution:
(2 * 3)*4 = [2(2) + 2(3)] *4
= 10 * 4
= 2(10) + 10(4)]
= 20 + 40
= 60
Test Yourself
2.) A binary operation * defined on a closed set R is said to be
associative if (a * b)*c = a*(b * c), a, b, c ∈ R.
Given that a * b = 2a + ab, evaluate:
b.) 2*(3 * 4)
Solution:
2*(3 * 4) = 2*[2(3) + 3(4)]
= 2 * 18
= 2(2) + 2(18)]
= 4 + 36
Since (2 * 3)*4 ≠ 2*(3 * 4),
= 40
then * is not associative.
Test Yourself
3.) A binary operation * is defined on the set R of real
numbers by p * q = p + q - 2 , where p, q ∈ R.
Find the identity element e of R under *.
Solution:
p*e=p
p+e- 2=p
e- 2=p-p
e- 2=0
e= 𝟐
Test Yourself
3.) A binary operation * is defined on the set R of real
numbers by p * q = p + q - 2 , where p, q ∈ R.
Find the inverse element of p.
Solution:
p * p−1 = e
p + p−1 - 2 = 2
p−1 = 2 + 2 - p
p−1 = 𝟐 𝟐 - p
--end of presentation--