Category: mathematics

  • Mastering Set Notations and DeMorgan’s Law: A Comprehensive Guide

    Mastering Set Notations and DeMorgan’s Law: A Comprehensive Guide

    The commutative laws

    A ∪ B = B ∪ A

    A ∩ B = B ∩ A

    Associative laws

    (A ∪ B) ∪ C = A ∪ (B ∪ C)

    (A ∩ B) ∩ C = A ∩ (B ∩ C)

    Distributive laws

    A ∩ (B ∪ C) = (A ∩ B)U (A ∩ C)

    A U (B ∩ C ) = (A ∪ B) ∩ (A ∪ C)

    Idempotent laws

    A U A = A

    A ∩ A = A

    Identity laws

    A ∪ ∅ = A

    A ∩ U = A

    Universal Bound laws

    A ∪ U= U

    A ∪ ∅ = ∅

    DeMorgan’s law

    (A ∪ B)c = Ac ∩ Bc

    (A ∩ B)c = Ac ∪ Bc

    Complement laws

    A ∪ Ac = U

    (A ∩ A)c = ∅

    complement of U and ∅

    Uc = ∅

    c= ∪

    Double Complement law

    (Ac)c =A

    Set Difference law

    A – B = A ∩ Bc


    Related Topics


  • Indices and logarithms

    Indices and logarithms

    An expression like a x a x a x a can be written as x4.

    x4 is read as x raised to power 4.

    in the expression x4 , 4 is the index and x is the base.

    In other words, an index is the number of times the base is multiplied by itself.

    The laws of indices

    Multiplication law

    when the numbers with the same base are multiplied together, the result is same as raised the base of one with the sum of all their indices.

    For example:

    a2 X a5 x a7 = a(2+5+7) = a13

    Conclusion:

    An index of a product is the sum of the given indices provided the bases are the same.

    in general case :am x an = am+n

    Division law

    When numbers of the same base are divided, the result is like raising the common base with the difference of their indices.

    prove: let a10 ÷ a7 =

    =a x a x a = a3 = a(10-7)

    conclusion:

    Index of a quotient from two numbers with the same bases is given by the index of the divisor subtracted from the index of the dividend.

    in general case: am ÷ an = am-n

    power rule

    consider the case (b3)3 = b3 x b3 x b3 = b9 = b3×3

    conclusion: when a number is raised to a certain power is raised to power, the result is like multiplying the indices together.

    in general : (am)n = am*n

    Zero Index rule

    a0 = 1

    generally:

    any number raised to power zero is equal to 1

    example: (100000000)0 = 1

    Negative indices

    it states :

    Prove:

    conclusion:

    number raised to negative indices is same as reciprocal of the same number raised to positive power

    Fractional indices

    in other words, nth root of a number is like raised that number with a reciprocal of the number.

    The laws of Logarithm

    1. log(ab) = log a + log b; in other words log of product of a and b is like summation of their individual logarithm
    2. log(a/b) = log a – log b; that is, the log of quotient of a divided by b is like subtracting log b from log a
    3. n x log a = log an; that is product of n and log a is equal to log a raised to power of n.
    Example

    Evaluate without using mathematical tables or a calculator:

    2 log 5 – 1/2 log16+2 log 40

    solution

    using the rule n x log a = log an ; we rewrite the expression as:

    log 52 – log 16(1/2) + log 402 = log 25 – log 4 + log 1600

    rem:

    The above expression can be simplified from the expression:

    log(a/b) = log a – log b meaning log 25-log4 = log(25/4) and hence we rewrite the expression as:

    and from the rule: log(ab) = log a + log b; we have

    log (25/4 x 1600 ) = log(25 x 400) = log 10000

    and log 10000 = log 104 = 4 log 10

    but log 10 = 1

    hence 4 x 1 = 4

    Hence the whole expression evaluate evaluates to 4.

    Example

    Given that log 2 = 0.3010 and log 3 = 0.4771 evaluate:

    (a) log 6 (b) log 1.5 ( c) log 54

    solution

    general expression: log (ab) = log a + log b

    (a)

    log 6 = log (3 x 2) = log 3 + log 2

    = 0.4771 + 0.3010 = 0.7781

    (b)

    log 1.5 = log(3/2) = log 3 – log 2

    = 0.4771 – 0.3010 = 0.1761

    ( c) log 54 = log (27 x 2)=log (33 x 2)

    log 33 + log 2 = 3 log 3 + log 2

    3(0.4771) + 0.3010

    = 1.7323

    Related Topics


  • Sequences and series

    Sequences and series

    Sequences

    Consider the following patter of numbers:

    2, 4, 6, 8, 10, ………

    1, 4, 9, 16, 25, 36,…….

    1, 3, 5, 7, 9, 11, 13, 15……..

    Can you be able to get the next number? Can you write the next 20 numbers from the pattern?

    There are some rules you can use to obtain the numbers in each pattern. For example in the first pattern, you can count position of the number and then multiply by 2, in other words, the nth number is simply 2n. Like 7th number is simply 2*7=14.

    The second pattern is a square of the position in the number, like 6th is 36=62, and hence next number after 36 is 72=49.

    A sequence or a progression is a series of numbers where each of the next number in the pattern can be obtained using some rules.

    Each of the numbers in the sequence is called a term.

    The rule used in the pattern ensures numbers are arranged in a definite order and the next number can always be obtained using the rule

    Example

    For each of the following sequences, find the next three terms.

    • 1, 3,5,7……..
    • 1/3, 1/9, 1/27……
    • 1,8,27……
    • -3, 6, -12……

    Solution

    • To obtain the next term, and 2 to the preceding term, hence the next term is 7+2, next 9+2, next 11+2,etc. Hence the next three terms are 9, 11, and 13.
    • The next term in the pattern is obtained by multiplying the preceding number by 1/3. That is, next number after 1/27 will be (1/27)*1/3=1/81, then next ones (1/81)*1/3=1/243 and next (1/243)*1/3=1/729.
    • In the next sequence, the next number is obtained by cubing it’s position. For instance, second number is 23 =8 and 33=27. So the next one is 43 and so on, hence the next three numbers are 64, 125 and 216.
    • The next number is obtained by multiplying the preceding term by -2. Hence the next three terms are 24,-48 and 96.
    Example

    If the nth term of a sequence is given by 2n+3, find the first, fifth and the twelfth term.

    Solution

    For the first term n=1. Hence substitute 1 in the above equation such that we have 2 x 1 + 3=5

    For the fifth term; n=5, hence second term is given by 2 x 5+3=13

    12th term is 2 x 12+3=27;

    hence the first, fifth and the twelfth term is 5, 13 and 27 consequently.

    Practice questions

    For each sequence below, give the next four terms and the rule used

    1. 1, 3, 5, 7, ……
    2. 5, 10, 15, 5, 20, …..
    3. 15, 6, -3, -12, …….
    4. 8, 4, 2,…..
    5. 1, 4, 9, 16, …..
    6. 1, 7, 49, 343,…..
    7. 1, 1/3, 1/9, 1/27, …..
    8. 230, 23, 2.3, …..
    9. 1, -1/2, 1/4, -1/8, …..
    10. 1, 1/4, 1/9, 1/16, …..
    Related pages

  • SURDS

    Rational Numbers

    A rational number is a number which can be written in the form p/q where p and q are integers and q should be greater than zero. P and q must not have a common factor between then except 1.

    Examples of rational numbers is like 1/5, 3/7, 4/11, etc.

    Irrational numbers

    Irrational are numbers are numbers that cannot be written in the form p/q. Irrational numbers cannot be expressed as simple fraction.

    Examples of irrational numbers includes:

    π  √2   √3   √7  etc.

    when irrational numbers are expressed as decimals, the decimals continues without end and without recurring

    for example √2 = 1.414213562……… and π =3.141592654…..

    surds

    The roots of rational numbers that gives irrational numbers are called surds.

    numbers under square-root sign that will result to a whole number after square-root operations are NOT surds.

    a surd is an irrational number of the form ±√x such that ±√x cannot be written as a/b where a, b ℤ and b ≠ 0.

    for example ∛64 is not surd because it will evaluate to 4 which is a whole number.

    Simplifying surds

    In order to simplify surds, the number under the root sign should be expressed as a product of two factors such that one factor is a perfect root.

    Examples:

    simplify the following

    (a)  √12  (b) √32    (c)  √(3/4)   (d) ∛250

    solution

    (a) We first express 12 as a product of two values, where one value is a perfect square as shown

    Then we separate the two values under the root sign to have two roots multiplied such as:

    we know square root of 4 is 2, but squareroot of 3 is irrational, hence we write:

    and finally we remove the multiplication sign X to have


    (b) 32 can be expressed as a product of many factors:

    • 2x 16
    • 4 x 8
    • 2 x 2 x 2 x 2 x 2 = 25
    • we write 24 x 21

    24 is a perfect square and so we can it can be simplified when inside the square-root sign.

    however, the shortest way is to get the root of 16 and root of 2 because root of 16 exists and square-root of 2 is irrational. hence we write

    square-root of 16=4 and squareroot of 2 is irrational, hence we have:


    (c) here were are looking for square-root of resultant quotient from dividing 3 and 4.

    but we can as well get the same result by dividing root of 3 with root of 4 as shown:

    and this can be simplified to:

    (d) This problem requires us to find the cube-root of 250. There is no whole number that can be a cube-root of 250.

    factors of 250 includes:

    • 10 x 25
    • 5 x 50
    • 125 x 2

    but 125 = 5 x 5 x 5 = 53

    hence we can express cube-root of 250 as the cube-root of the product 2 x 125.

    which is broken down to:

    and from the laws of indices:

    and hence the final expression becomes:


    surds can also be expressed as single compound surd from other surds

    for example:

    Related Topics


  • Grouped and Ungrouped data

    In statistics, data items can be considered as a group instead of considering an individual item especially when the number of records are huge.

    In grouping, you take few neighboring items and put them in a group, for example if you have items like 41,42,42,43,45,46, you can decide to consider a group of 41-45 instead of listing the numbers individually.

    Let us consider the data provided below that represents ages of some 20 senior workers in a company:

    63, 53, 58, 64, 54, 64, 58, 67, 54, 54, 56, 53, 51, 52, 58, 53, 63, 65, 67, 58.

    we can make the frequency table as we discussed earlier

    AgeTallyFrequency
    51/1
    52/1
    53////4
    54//2
    56/1
    58////4
    63//2
    64//2
    65/1
    67//2
    Totalsummation20
    ungrouped data of senior workers in a company

    63, 53, 58, 64, 54, 64, 58, 67, 54, 54, 56, 53, 51, 52, 58, 53, 63, 65, 67, 58.

    We can reduce the size of the table by grouping the data in 5 values as shown. please note that we have changed the first column from age to class meaning it will represent a class of a certain age group.

    classTallyFrequency
    51-55//// ///8
    56-60////5
    61-65////5
    66-70//2
    Totalsummation20
    Grouped data for senior workers in a company

    Measurements such as height, mass, age, time e.t.c are usually estimates of the actual values therefore any value between 50.5 and 51.4 could be estimated as 51. Therefore we can write interval x as 50.5 ≤x< 51.5.

    A class interval 51-55 includes all masses between 50.5 t0 55.5

    The values 50.5 and 55.5 are called the class boundaries of the class 51-55.

    50.5 is the lower class boundary in this case and 55.5 is the upper class boundary.

    The difference between the class boundaries is the class width(class size). For example in the example above, class width =55.5-50.5 = 5

    when grouping data, ensure the groups are not so many, the most recommended is 5-12 groups.

    practice question

    The data below shows masses of 30 animals in animal farm.

    27, 28, 24, 25, 30, 40, 30, 28, 26,43, 27, 28, 33, 35, 36, 27, 30, 28, 31, 30, 28, 29, 30, 35, 32, 26, 25, 42, 43, 27.

    Required:

    (a) Make a grouped frequency table for the data

    (b) represent the grouped data in a bar graph and then in a pie chart4

    Solution

    The first step is deterring the number of classes. This we do by determining the range and the size of each group. let say each group should have n items and the range is R.

    The number of groups (classes=R/n) approximated to the nearest whole number that is greater than R/n.

    the range is the difference between the highest score and the lowest score. In the above data, the range = 43-24 = 19

    Assuming we want each class has five items, then number of classes = 19/5≈3.8 which should be 4 to the nearest whole number. however we said the best numbers is between 5-12. hence we can reduce the number of items per group, probably to 4.

    hence 19/4 = 4.75 classes ≈5

    five classes are better than four because fewer number of items in a group can increase accuracy when calculating the measures of central tendencies.

    the groups starts from the lowest value, and then add 3 items to get the upper boundary of that group. Note we have added 3 and not 4 because the lower boundary need 3 more items to make 4 items in the group.

    The frequency table for the grouped data should be as follow

    classesTallyFrequency
    24-27//// ////9
    28-31//// //// //12
    32-35////4
    36-39/1
    40-43////4
    Totalsummation30
    Frequency table for masses of animals in a farm

    The data can be represented in the in a bar graph as shown

    Practice question

    The marks obtained by students in a Java test were recorded as follow

    71, 73, 64, 58, 49, 52, 62, 68, 52, 48, 55, 63, 60, 71, 66, 61, 58, 57, 65, 64, 49, 52, 59, 53, 59, 74, 56, 57, 59,66.

    required:

    • make a frequency distribution table for the data
    • Draw a histogram to show this information

    Related Topics


  • Pie charts

    Pie chart is a circular graph where a circle is divided into sections each representing a frequency of each item in the data set.

    A pie chart shows the relative contribution that different categories contribute to an overall total. They are generally used to show percentage or proportional data and the percentage represented by each category is provided next to the corresponding slice of pie. The total of all the percentages shown in the pie chart should be 100.
    They are good for displaying data for around 6 categories or fewer. When there are more categories it is difficult for the eye to distinguish between the relative sizes of the different sectors and so the chart becomes difficult to interpret. 

    To draw a pie chart, the total frequency is equated to the 360o angles that makes a circle. So the frequency of each item is presented by a sector of the circle whose angle is a fraction of the total frequency.

    Example

    Consider the following Data that shows the favorite game for some grade 8 students .

    GamesNumber
    Soccer400
    handball50
    Basketball60
    Volleyball250
    Athletics300
    Table showing favorite games in a school

    Required: Presenting this data in a pie chart

    solution

    We need to find the size of the sectors in our desired circle chart that will represent each frequency.

    The total frequency =400+50+60+250+300 = 1060

    The radius of the circle chart does not matter, it can be of any size but make sure you select the one that is most convenient and will make your char presentable.

    we equate: 1060 students = 360o

    the sector that will represent the soccer will be (400/1060)*360 = ~136o

    sector for handball = (50/1060) *360 = ~17 o

    sector for basketball =(60/1060) * 360 = ~20o

    sector for volleyball = (250/1060) * 360 = ~85o

    sector for athletics = (300/1060) * 360 = 102o

    note that we have approximated the angles to whole numbers but when you add them they should add up to 360o . that is (136 + 17 +20 +85+102)=360.

    we should use the radius of the circle as a reference line from which we will draw sectors of the circle. The pie chart after you draw it should resemble the following chart

    Related pages

  • Line Graphs

    Line Graphs

    A line graph is used to show how things change over time using a line on a Cartesian plane. It is also used to show variation of one quantity with respect to another quantity.

    Line charts connect individual numeric data points resulting to simple, straightforward way to visualize a sequence of values.

    Line charts are useful when viewing trends in data over time.

    Example

    The following shows sales in a certain store for a period of one year in terms of $1000.

    Task: Draw the line graph to represent this information

    Solution

    To draw the line graph, we mark the months on the horizontal axis and sales on the vertical axis. The ordered pairs of a particular month and the corresponding sales is marked on the grid. For example, mark the point (Jan, 600),(Feb 500),(march,450)…….

    The marked points are joined to make jointed lines as in figure below

    Line graphs for sales against month

    Multiple Line Graphs

    We can have two or more values that can be compared in a line graph against one quantity. For example how two products have been seeling in each month.

    In the above example, we could like to compare sales of two products for every month.

    For example, let us consider an IT stores that sold both CPU processors and Storage Disks. We can observe and compare sales of the two products with time on one grid but with two lines, each representing the trend of a particular product.

    The line graph for the data above will be as shown

    Multiple linear graphs for sales of processors and storage disks

    Note: 1 unit vertically represents $100,000 amount of sames

    Practice Questions

    The table below shows number of emails received by in a managers computer daily for a period of 10 days.

    Number of emails received by a manager

    Required:

    Represent the above information with a line a graph.


    Related Topics

  • Bar Graphs

    Bar Graphs

    Bar graphs constitutes vertical or horizontal rectangles drawn on a Cartesian plane in order to represent a particular data item with it’s frequency.

    Bar charts are especially effective when you have numerical data that splits nicely into different categories so you can quickly see trends within your data.  They are best used to:

    • show change over time
    • compare different categories
    • compare parts of a whole.

    There are two types of simple bar charts:

    • Vertical or column chart –bars are moving upwards or are vertical.
    • Horizontal bar chart– This is a bar chart where the bars are horizontal.

    For vertical bar graphs, horizontal axis represents category of items and vertical axis the frequency.

    For horizontal bar graphs, item categories are on vertical axis and frequency on the horizontal axis. see the figure below

    Bar graphs are particularly useful in making comparison of data.The height or length of a bar graph is directly proportional to frequency but the width does not have numerical significance.

    As an example consider a hypothetical data about daily visitors that calls in in the first seven major stores in Washington as in table below.

    We can represent the above information on a bar graph for a more appealing visualization. A typical vertical bar graph for the above data can be as in the diagram below.

    A vertical bar graph

    If the same information could be represented using horizontal bar graph, it could appear as shown below:

    Horizontal bar graph

    Each unit in the horizontal scale represents 200 visitors

    By now you may have realized that a chart has 5 important elements:

    • Chart title– example: Number of visitors per day in 5 stores
    • Vertical axis title-e.g : store name
    • horizontal axes title-e.g : number of visitors
    • axes labels-e.g, Amazon fresh, Food lion, Gian….
    • data labels

    Chart title is arguably the most important piece of a chart.It is the element that lets the audience know what your chart is about.

    Your chart titles should be descriptive enough such that, at first glance, your audience knows what information the chart intends to give them. The title should also be brief and concise so that the graph is not cluttered.

    Chart title is usually placed at the top of the chart.

    Example

    The table below shows the number of students enrolled in each course in the department of Science and Engineering at Kenyatta University on January 2024.

    Draw a bar graph to show this information

    solution

    Vertical bar chart showing relationship between enrollment and course

    The vertical scale in the above chart represents 1 unit for 5 students

    Multiple Bar Graphs

    Multiple bar graphs are used when we have more than one category of data entities to analyse. For example performance of students in two or more subjects.

    For Example compare sales value of two loan products for various banks in the last one year in million dollars as shown

    Task: draw a bar graph to represent this information

    Solution

    Multiple bar graphs

    In the above chart the bar blue bar represents A mortgage sales and the orange colour represents business loan.

    Divided Bar Charts

    This are bar charts that represents two or more quantities on the same bar where one category is connected in series with the other category.

    The information about bank products described above could be represented as stacked graph as shown.

    stacked bar graphs

    Practice Exercise

    1. The table below shows the number of female and male students enrolled in 7 courses offered in a semester from the department of science and Technology.

    Task:

    1. Draw a multiple graph to represent the information
    2. Draw a stacked graph to represent the information
    3. Which causes has more females compared to males
    4. which cause has the lowest number of participants

    2. Learners in grade 4 were asked to name breed of dogs at their home and their teacher recorded their response in the table below.

    Required: Represent the data on a bar graph.

    3. The results of a mathematics tests for 30 students were as follows:

    43 62 33 45 56 32 34 39 51 65 32 43 33 32 43 45 46 44 33 45 51 56 35 33 34 45 32 42 43 62

    Required: Make a bar graph to show this information

    4. The masses of students in grade 7 and 8 were recorded as follow

    required:

    1. draw a multiple bar graphs to represent this information
    2. Represent the information using a stacked graph

    Conclusion

    In this lesson we have discussed how to represent data Using bar graphs. Bar graphs represents data in a more intuitive way. There are various ways we can draw bar graphs. This includes:

    • Vertical bar graphs
    • Horizontal bar graphs
    • Multiple bar graphs
    • stacked bar graphs

    We can compare more than one entity of data in one bar graph.

    Related Topics


  • Answers to Statistics 1

    Answers to Statistics 1

    Answers to Exercise 1

    1. –> 12, 13, 13, 14, 14, 14, 14, 15 , 16, 17, 17, 18, 21, 23, 23, 24, 27.

    2. –>The most common score is 14 as it has the highest number of repeats

    3. –> 10, because there are 10 values above 14

    4. –> largest value=27, smallest value=12, 27-12 = 15

    5. answers in number 4 shows how the data values are distributed. it represents the range at which scores have spread. in the above question, the data spread across 15 values

    6. 16

  • Statistics

    Statistics

    Statistics is the science of data collection, organization, representation and interpretation of data or information.

    Please note the difference between statistics and statistic.

    Statistic

    Statistic is a collection of information shown in numbers. For example the number of people that browse a a web in a day is a statistic.

    Data

    Data is used to mean fact or information which needs examination or processing in order to extract useful information. For example counting the number of people in a location is data collection. Data collection may be described as gathering of facts that may be used for information processing.

    Examples of data collections may include:

    • The number of items sold per category of items sold in the supermarket
    • The number of crimes or cases reported to a police station daily
    • The average fuel consumption of a country in a month
    • Number of people infected with HIV virus per day
    • The average rainfall of an area over a given period

    Data representation

    Data collected should be presented in a way that is most useful to the consumer meaning it should be represented in a way that is convenient and easy to understand. Data that is well represented will be understood and be interpreted easily.

    Some of the methods used to represent data includes

    • Listing the data in a chronological order
    • pictograms (picture graphs)
    • bar charts
    • pie charts
    • histograms
    • Frequency tables

    Listing of data

    Listing data is simply putting down the actual numbers representing a quantity of an item in a data set. for example consider a class of 20 students that are in a computer science class that sits for a test and scored the following marks in percentage:

    82, 70, 79, 61, 56, 67, 80, 60, 55, 62, 65, 73,74, 76, 67, 78, 83, 68, 59, 49.

    Above represents a list of marks as recorded by the teacher from the students scripts. There is nothing much we can do with a list of numbers, but we can make the list more meaningful by arranging the items in ascending or descending orders.

    From the ordered list, one can determine the highest value, smallest value, a value that is repeated most of times and the value that is at the middle.

    If you can consider the data above, it’s ordered list will be as follow:

    49, 55, 56, 59, 60, 61, 62, 65, 67, 67, 68, 70, 73, 74, 76, 78, 79, 80, 82, 83.

    As you can see from the list, the lowest value is at the beginning of the list and the largest value is at the end of the list.

    Please note that the value that are repeated are placed next to each other.

    To get to the middle we simple divide the list size by two. for example in the above list, to get to the middle we simple gets a value between 10th and 11th position. We will be talking more about the mid value in the upcoming lessons.

    Exercise 1

    Marks scored in an English test by a group of 17 students were recorded as follows out of 30 possible marks.

    17, 18, 12, 13, 15, 14, 17, 23, 14, 27, 24, 16, 23, 14, 21, 14, 13.

    1. List the scores in ascending order
    2. which is the most common score
    3. how many scores above the common score
    4. what is the difference between the largest and smallest value
    5. what significance can you draw from number 4 above
    6. which score is in the middle.
    statistics symbols

    Frequency tables

    Frequency means the number of times a value is recorded or observed. It means the count of a particular value in a data set.

    While counting the scores, a tally mark / is made for every occurrence of an item and every 5th occurrence is stroked across the other four ////. The result of tallying is placed on a table with the value making one column, tallying another column and the frequency another column. From the table, much more manipulation of data can be done, but we are likely to see that in other lessons.

    consider the data below:

    82, 70, 79, 61, 56, 67, 80, 60, 67, 55, 62, 65, 73, 74, 76, 67, 78, 83, 68, 59, 67, 49, 64, 80, 79, 60, 55, 73, 73, 67, 74, 61, 73, 82, 83, 73, 67.

    We will make a table of three columns and in the first column we list every unique value that is represented in the data . The second column we will put the tallying and the third column we put the result of the tallying

    MarkTallyingFrequency
    49/1
    55//2
    56/1
    59/1
    60//2
    61//2
    62/1
    64/1
    65/1
    67//// /6
    68/1
    70/1
    73////5
    74//2
    76/1
    78/1
    79//2
    80//2
    82//2
    83//2
    Total37
    A frequency distribution table

    Exercise 2

    The following are scores in a math class for 21 students :

    35, 30, 27, 29, 32, 31, 28, 27, 29, 30, 31, 29, 29, 34, 29, 30, 27, 28, 31, 31, 30.

    1. Arrange the data in descending order
    2. Make a frequency table for the data
    3. What is the most common mark

    Related Topics