Professional Documents
Culture Documents
Chapter-2 MMW B
Chapter-2 MMW B
Use the vertical line test to determine if the following graphs represent functions.
Solution
Recall that in an ordered pair, the x-coordinate is the input value and the y-coordinate is the output value.
Therefore, we can look at each ordered pair as (input, output).
Since input 2 is listed two different times, once it is paired with output 4 and once it is paired with output 7.
Therefore, no, it is not a function.
While output 5 is given multiple times, each input value is only given once, and therefore each input value
has exactly one output value. Therefore, yes, it is a function.
Operations of Functions
Rules on performing operations on functions:
The fifth operation is called the composition of two functions. The composition of the
functions f (x) and g(x) is symbolized this way: (f∘g)(x). It is equivalent to f (g(x)). It is read "f
of g of x." The concept is simple. First, the value of g at x is taken, and then the value of f at
that value is taken.
Examples:
Given f(x)= 5x + 8 and g(x)= x – 9 Given f(x)= x^2 + 19x + 1 and g(x)= 3x + 8
Given f(x)= 2x g(x) = x^2 Given f(x)= 2x g(x) = x + 3 Given f(x)= 2x + 1 g(x) = x - 3
Given f(x)= 2x g(x) = x^2 Given f(x)= 2x g(x) = x^2 Given f(x)= 5x^2 – 10x + 15 g(x) = 5x
Example 1:
In a survey of 36 college students, they were asked about their preference for
platforms: Facebook and Instagram. Out of these students, 30 use Facebook, 20 use
Instagram and 15 use both Facebook and Instagram.
1. To find the number of student who uses only Facebook, subtract the number of student who uses both Fb and Ig to
the number of students who uses Facebook. n(F) - n(F and I) = 30 – 15 = 15 students
2. To find the number of student who uses only Instagram, subtract the number of student who uses both Fb and Ig to
the number of students who uses Instagram. n(I) - n(F and I) = 20 – 15 = 5 students
3. To find the number of students who doesn’t preferred any of the two platforms, subtract the number of students
who preferred Facebook or Instagram to the total number of students surveyed. n(U) – n(F or I) = 36 – 35 = 1
student
Example 2
In a survey of 100 students, they were asked about their pets. You have the following
information:
In order for us to visualize the answer to the questions, we will make a Venn diagram based from the given
1. 10 students
2. 5 students
3. 10 students
Binary
- Base 2 number that uses only 2 digits, 0 and 1 to represent all numerical values. It is
the most fundamental numbering system in computing.
- Each digit is called bit.
Step 1: List out the exponents of 2 for all the digits starting from the rightmost position. The first power
would be 20 and as we move on to the left side it will be 21, 22, 23, 24, 25,... In the given example, there
are 4 digits, therefore, starting from the rightmost digit, the weight of each position from right to left is
20, 21, 22, and 23
Step 2: Multiply each digit in the binary number starting
from the right with its respective weight based on its
position and evaluate the product.
1 * 20 = 1
0 * 21 = 0
1 * 22 = 4
8 4 2 1
1 * 23 = 8
Step 3: Finally, sum up all the products obtained for all the digits in the binary number, which gives the
decimal equivalent of the given binary number. 1+ 0 + 4 + 8 = 13
11012 = 13
1024 512 256 128 64 32 16 8 4 2 1
Examples
1. 101012 = 16 + 0 + 4 + 0 + 1 = 21
2. 10110012 = 64 + 0 + 16 + 8 + 0 + 0 + 1 = 89
3. 1010012 = 32 + 0 + 8 + 0 + 0 + 1 = 41
Decimal to Binary
Using the numbers above, find numbers in which the given decimal can be
Examples
represented as a sum. Mark the numbers as '1' if they can be represented as a sum
and '0' if they cannot. For example, if the decimal is 24, and you can represent it as
1. 24 = 110002
the sum of 16 and 8, then you would put two 1 with three 0's. Be sure to use a
2. 57 = 1110012
base-two representation.
3. 17= 100012
Thank you.
/ᐠ - ˕ -マ