0
TABLE OF CONTENTS PAGE INTRODUCTION 3 CHAPTER 1 - Mathematical Induction 1.1 Learning Objectives 4 1.2 Introduction and Real-world Relevance 4 1.3 Why Is This Important? 4 1.4 Important Concepts, Principles, and Properties 4 1.5 Worked Examples: Summation Formulas 5 1.6 ACTIVITY: Pass the Ball 6 1.7 ASSESSMENT 7 CHAPTER 2 - Prime Numbers 2.1 Learning Objectives 8 2.2 Introduction 8 2.3 Definition and Real-world Relevance 8 2.4 Important Concept, Principles, and Properties 9 2.5 Relevant Rules and Mathematical Formulas 10 2.6 Worked Examples 12 2.7 Dissecting Numbers: Prime Or Composite 14 2.8 ASSESSMENT 14 CHAPTER 3 - Greatest Common Divisor (GCD) 3.1 Learning Objectives 15 3.2 Introduction and Real-World Relevance 15 3.3 Lesson Discussion: What is the Greatest Common Divisor? 15 3.4 Worked Example: 15 3.5 Important Concepts, Principles, and GCD Properties 17 3.6 ACTIVITY: Finding The Greatest Common Divisor (GCD) 18 1
3.7 ASSESSMENT 19 CHAPTER 4 - The Euclidian Algorithm 4.1 Learning Objectives 20 4.2 Introduction and Real-world Relevance 20 4.3 Key Concepts, Principles, and Properties 21 4.4 Rules and Formulas 22 4.5 Worked Examples 22 4.6 ACTIVITY: Real-life Applications Of The Euclidean Algorithm 25 4.7 ASSESSMENT 26 CHAPTER 5 - Linear Diophantine Equations 5.1 Learning Objectives 27 5.2 Introduction and Real-world Relevance 27 5.3 Important Concepts, Principles, and Properties 28 5.4 Relevant Rules and Mathematical Formulas 28 5.5 Worked Examples 29 5.6 ACTIVITY: FACT or BLUFF 30 5.7 ASSESSMENT 30 REFERENCES 32 2
INTRODUCTION Number Theory is a branch of mathematics concerned with the study of integers and their properties, particularly divisibility, prime numbers, and the relationships among integers. It explores fundamental mathematical concepts and the logical principles that enable mathematicians to understand, establish, and prove properties of numbers. Its study provides an important foundation for mathematical reasoning and proof, as well as for exploring more advanced mathematical ideas. This learning module presents five fundamental topics in Number Theory: Mathematical Induction, Prime Numbers, Greatest Common Divisor (GCD), the Euclidean Algorithm, and Linear Diophantine Equations. These topics introduce essential principles and methods for investigating integers, establishing mathematical statements, determining divisibility, identifying prime numbers, finding common divisors, and solving equations involving integer solutions. The module begins with Mathematical Induction, a proof technique used to establish mathematical statements involving integers. It then explores Prime Numbers and their fundamental role in the structure and factorization of integers. The discussion of the Greatest Common Divisor introduces methods for determining the largest common divisor of two or more integers, followed by the Euclidean Algorithm, an efficient procedure for finding the GCD. Finally, Linear Diophantine Equations examine equations whose solutions are restricted to integers, including the conditions and methods for determining such solutions. Through mathematical discussions, worked examples, exercises, and assessments, this module aims to develop learners' understanding of fundamental Number Theory concepts, strengthen their mathematical reasoning, and enhance their ability to apply mathematical principles in solving problems. 3
CHAPTER 1 - Mathematical Induction 1.1 Learning Objectives: At the end of this lesson, the learners should be able to: 1. Explain what the Base Case and the Inductive Step are; 2. Define and identify the Base Case and the Inductive Step in a given statement; 3. Use the Inductive Step to prove that P(k+1) is true given that P(k) is true; and 4. Lastly, the learner is expected to explain and provide a proof of how the two steps were used to prove that a given statement is true. 1.2 Introduction and Real-World Relevance Are you familiar with dominoes? Have you ever watched them fall? When you push the first domino piece, the second one will fall, then the ones after it, until all the pieces have fallen. That is exactly how Mathematical Induction works.Mathematical Induction is a method used to prove that a statement holds true for all natural numbers (1, 2, 3, 4, 5,…). While you could check them one by one, there is an easier and more systematic way. We only need to do two things: 1. Prove that it is true for the first number (the Base Case). 2. Show that if it is true for one number, it is also true for the next number (the Inductive Step). When both steps are established, it follows that the statement is true for all natural numbers. In this module, we will study the two essential parts of Mathematical Induction: the Base Case and the Inductive Step. 1.3 Why Is This Important? Mathematical Induction is not only useful in mathematics—it reflects the same step- by-step logic we use in everyday life. For example, suppose you plan to save money to buy a new cellphone and set a goal to save ₱150 every day. Once you save ₱150 today, and you know you can keep saving another ₱150 each day after that, you can trust that your daily habit will eventually get you to your goal. 1.4 Important Concepts, Principles, and Properties To prove that a statement P(n) holds true for all integers n ≥ b using Mathematical Induction, we follow three key components: ● Base Case: Show that P(b) is true (often b = 0 or b = 1). ● Inductive Hypothesis: Assume that P(k) is true for some arbitrary integer k ≥ b. ● Inductive Step: Prove that P(k + 1) is true using the inductive hypothesis. 4
1.5 Worked Examples: Summation Formulas Example 1: Proving an Arithmetic Series Formula Prove that 15 + 19 + 23 + … + (4n + 11) = n(2n + 13) is true for all positive integers n by mathematical induction. Solution: Step 1: Base Case Show that the statement is true for n = 1. 15 = 1(2(1) + 13) 15 = 1(2 + 13) 15 = 1(15) 15 = 15 ✓ (The Base Case holds true.) (Optional Check for n = 2 and n = 3 to observe the pattern) For n = 2: 15 + 19 = 2(2(2) + 13) → 34 = 34 ✓ For n = 3: 15 + 19 + 23 = 3(2(3) + 13) → 57 = 57 ✓ Step 2: Inductive Hypothesis Assume that the statement is true for an arbitrary positive integer n = k: 15 + 19 + 23 + … + (4k + 11) = k(2k + 13) Step 3: Inductive Step Prove that the statement is true for n = k + 1: 15 + 19 + 23 + … + (4k + 11) + [4(k + 1) + 11] = (k + 1)[2(k + 1) + 13] Substitute the Inductive Hypothesis into the left side of the equation: k(2k + 13) + [4(k + 1) + 11] = (k + 1)(2k + 15) 2k² + 13k + 4k + 15 = (k + 1)(2k + 15) 2k² + 17k + 15 = 2k² + 17k + 15 ✓ Conclusion: Since both the Base Case and the Inductive Step are true, by the Principle of Mathematical Induction, the statement holds true for all positive integers n. Example 2: Proving the Sum of a Sequence with Negative Terms Prove that 1 + 5 + 9 + … + (4n − 3) = n(2n − 1) is true for all positive integers n by mathematical induction. 5
Solution: Step 1: Base Case Show that the statement is true for n = 1. 1 = 1(2(1) − 1) 1 = 1(2 − 1) 1 = 1(1) 1 = 1 ✓ (The Base Case holds true.) (Optional Check for n = 2 and n = 3) For n = 2: 1 + 5 = 2(2(2) − 1) → 6 = 6 ✓ For n = 3: 1 + 5 + 9 = 3(2(3) − 1) → 15 = 15 ✓ Step 2: Inductive Hypothesis Assume that the statement is true for an arbitrary positive integer n = k: 1 + 5 + 9 + … + (4k − 3) = k(2k − 1) Step 3: Inductive Step Prove that the statement is true for n = k + 1: 1 + 5 + 9 + … + (4k − 3) + [4(k + 1) − 3] = (k + 1)[2(k + 1) − 1] Substitute the Inductive Hypothesis into the left side of the equation: k(2k − 1) + [4(k + 1) − 3] = (k + 1)(2k + 1) 2k² − k + 4k + 1 = (k + 1)(2k + 1) 2k² + 3k + 1 = 2k² + 3k + 1 ✓ Conclusion: Since both the Base Case and the Inductive Step have been verified, the statement is true for all positive integers n. 1.6 ACTIVITY: Pass the Ball! Game Rules: 1. The teacher plays music while students pass the ball around the classroom. 2. When the music stops, the student holding the ball must answer the drawn question by stating TRUE or FALSE. 3. If TRUE: If the student answers TRUE and the answer is correct, they stay in the game. If TRUE is incorrect, they are OUT. 6
4. If FALSE: The student must go to the board and show the complete computation to prove why it is FALSE. ● Correct computation: STAY in the game. ● Wrong computation or no board work: OUT. 5. The game continues until all questions are answered or all rounds are finished. Questions 1. For 1 + 5 + 9 + … + (4n − 3) = n(2n − 1), the base case for n = 1 is 1 = 1. 2. For 15 + 19 + 23 + … + (4n + 11) = n(2n + 13), the base case for n = 1 is 15 = 14. 3. In the inductive step, the term added after (4k − 3) is [4(k + 1) − 3]. 4. For 15 + 19 + … + (4n + 11) = n(2n + 13), the base case for n = 2 is 15 + 19 = 34. 5. For 1 + 5 + 9 + … + (4n − 3) = n(2n − 1), the base case for n = 2 is 1 + 5 = 5. 1.7 ASSESSMENT Directions: Read each statement carefully. Prove each formula or inequality for all positive integers n using the three steps of Mathematical Induction: Base Step, Inductive Hypothesis, and Inductive Step. Show all necessary algebraic steps and simplify your expressions completely. 1. Prove that the sum of the first n odd numbers is equal to n² using Mathematical Induction. 1 + 3 + 5 + ⋯ + (2n − 1) = n² 2. A student claims that the inequality 3ⁿ ≥ 2n + 1 is true for all positive integers n. Prove the student's claim using Mathematical Induction. 3ⁿ ≥ 2n + 1 3. The sum of the first n square numbers follows a mathematical pattern. Prove the following formula using Mathematical Induction. 1² + 2² + ⋯ + n² = n(n+1)(2n+1)/6 7
CHAPTER 2 – Prime Numbers 2.1 Learning Objectives By the end of this module, you will be able to: ● Define prime numbers, composite numbers, divisibility, and prime factorization. ● Differentiate composite numbers from prime numbers. ● Perform prime factorization. 2.2 Introduction The Sieve of Eratosthenes, named after a Greek mathematician who lived in the 3rd century B.C., is a technique used to identify prime numbers up to a given limit. In this method, we start with the smallest prime number on the list. For example, suppose we have numbers from 2 to 100. We begin with 2 and cross out all of its multiples. These crossed-out numbers are not prime because they are divisible by 2, meaning they have other factors besides 1 and themselves. The remaining numbers that are not crossed out are the prime numbers. 2.3 Definition and Real-World Relevance Prime and composite numbers are two types of whole numbers (greater than 1) that differ based on how many factors they have. A factor is a number that can divide another number evenly with no remainder. ● Prime Number: A prime number has only two factors: 1 and itself. For example, 5 is a prime number because it can be divided evenly only by 1 and 5: 5 ÷ 1 = 5 5 ÷ 5 ● Composite Number: A composite number has more than two factors—1, itself, and at least one other factor. For example, 8 is a composite number because it can be divided evenly by 1, 2, 4, and 8 (giving it 4 factors): 8 ÷ 1 = 8 8 ÷ 8 = 1 8 ÷ 2 = 4 8 ÷ 4 = 2 Here is the chart of Prime and Composite Numbers: 8
(Green = Prime Numbers) Prime and composite numbers play an important role beyond textbook math: ● Encryption: Secure digital communication and data exchange rely heavily on prime numbers. Many encryption systems use a large composite number formed by multiplying two very large prime numbers, making it difficult for unauthorized parties to crack the code. ● Magicicada (Periodical Cicadas): Certain species of Magicicada emerge from underground burrows to mate and lay eggs on prime-numbered life cycles—most notably every 13 or 17 years. Using prime intervals helps prevent predators with shorter life cycles from synchronizing with their emergence and preying on them in large numbers. 2.4 Important Concepts, Principles, and Properties Prime and Composite Numbers ● Why 1 is neither prime nor composite: The number 1 is not a prime number because a prime number must have two distinct factors (1 and itself), whereas 1 has only one factor. It is also not a composite number because composite numbers have more than two factors. ● The only even prime: The number 2 is the only even prime number. Every other even number is divisible by 2, giving it at least three factors (1, 2, and itself). ● Odd numbers are not always prime: Not all odd numbers are prime. For example, 9, 15, 21, 27, 33, and 35 are odd numbers, but they are composite because they have factors other than 1 and themselves. ● Prime factorization property: Every composite number can be written as a product of prime numbers (a concept connected to prime factorization). Determining Prime and Composite Numbers To find out whether a natural number (greater than 1) is prime or composite, we can use Divisibility Rules and Prime Factorization. Divisibility Rules Divisibility rules are guidelines and shortcuts used to determine whether a given number can be divided evenly (with no remainder) by another number without performing full division—often by examining the digits or properties of the number. Here are key divisibility properties to keep in mind: ● Property 1 (Factors of a Divisor): When a number is divisible by another number, it is also divisible by each of the factors of that divisor. 9
Example: 12 is divisible by 6, and 2 and 3 are factors of 6. Therefore, 12 is also divisible by 2 and 3. ● Property 2 (Co-prime Divisors): When a number is divisible by two or more co- prime numbers (numbers whose greatest common factor is 1), it is also divisible by their product. Example: 70 is divisible by 2 (70 ÷ 2 = 35) and by 5 (70 ÷ 5 = 14). Since 2 and 5 are co-prime, 70 is also divisible by 2 × 5 = 10 (70 ÷ 10 = 7). ● Property 3 (Sum and Difference): When a number is a factor of each of two given numbers, it is also a factor of their sum and their difference. Example: 5 is a factor of 75 (75 ÷ 5 = 15) and 5 is also a factor of 30 (30 ÷ 5 = 6). Therefore, 5 is a factor of their sum, 75 + 30 = 105 (105 ÷ 5 = 21), and their difference, 75 − 30 = 45 (45 ÷ 5 = 9). ● Property 4 (Multiples): When a number is a factor of another number, it is also a factor of any multiple of that number. Example: 3 is a factor of 15 (15 ÷ 3 = 5). Since 90 is a multiple of 15 (15 × 6 = 90), 3 is also a factor of 90 (90 = 3 × 30). Prime Factorization The prime factorization method is used to break down composite numbers into a product of prime numbers. If a number greater than 1 has prime factors other than itself, it is composite; if its only prime factor is itself, it is prime. 2.5 Relevant Rules and Mathematical Formulas In determining whether a natural number is prime or composite, we apply Divisibility Rules and Prime Factorization: • Divisibility Rules: Shortcuts for checking divisibility by examining a number's digits or properties without doing full division (for example: Is 360 divisible by 2, 3, 5, or 10?). Divisor Divisibility Rule Analysis for 360 Divisible? 2 The last digit is even (0, 2, 4, 6, 8). The last digit of 360 is 0 (even). YES 3 The sum of all digits is divisible by 3. 3 + 6 + 0 = 9, and 9 is divisible by 3 (9 ÷ 3 = 3). YES 4 The last two digits form a number divisible by 4. The last two digits are 60, and 60 is divisible by 4 (60 ÷ 4 = 15). YES 10
5 The last digit is 0 or 5. The last digit of 360 is 0. YES 6 The number is divisible by both 2 and 3. 360 is divisible by both 2 and 3. YES 7 Double the last digit and subtract it from the remaining truncated number; the result must be divisible by 7 (or 0). Remaining digits: 36. Double of last digit (0 × 2): 0. 36 - 0 = 36. 36 is not divisible by 7 (36 ÷ 7 = 5r. 1). NO 8 The last three digits form a number divisible by 8. The three-digit number is 360, and 360 is divisible by 8 (360 ÷ 8 = 45). YES 9 The sum of all digits is divisible by 9. 3 + 6 + 0 = 9, and 9 is divisible by 9 (9 ÷ 9 = 1). YES 10 The last digit is 0. The last digit of 360 is 0. YES 11 The alternating sum of digits (subtracting and adding digits in sequence) is 0 or divisible by 11. (3 - 6 + 0) = -3. -3 is not divisible by 11. NO Prime Factorization Prime Factorization is defined as the process of finding the prime factors of a composite number such that their product equals the original number. Because a composite number has more than two factors, prime factorization applies only to composite numbers and not to prime numbers. This method is also essential for finding the Highest Common Factor (HCF) / Greatest Common Divisor (GCD) and the Least Common Multiple (LCM) of a given set of numbers: ● Highest Common Factor (HCF): The largest factor shared by two or more numbers. ● Least Common Multiple (LCM): The smallest positive multiple shared by two or more numbers. Methods for Finding Prime Factors A. Division Method The steps to calculate the prime factors of a number using the division method are similar to the process of finding factors for large numbers. Steps for the Division Method: 1. Divide the given composite number by the smallest prime number (usually 2, 3, or 5) that divides it evenly without a remainder. 2. Write down the quotient below the original number. 3. Repeat the division process on the new quotient using the smallest possible prime divisor. 11
4. Continue dividing until the final quotient reaches 1. 5. Multiply all the prime divisors used throughout the steps to express the number as a product of its prime factors. Example: Division Method for Prime Factorization Below is a detailed step-by-step process of prime factorization using 460 as an example. ● Step 1: Divide 460 by the smallest prime number, which is 2. 460 ÷ 2 = 230 ● Step 2: Divide 230 again by the smallest prime number (which is 2). 230 ÷ 2 = 115 ● Step 3: Divide 115 by the next smallest prime number that divides it evenly, which is 5. 115 ÷ 5 = 23 ● Step 4: Since 23 is a prime number, divide it by itself to get 1. 23 ÷ 23 = 1. Therefore, the prime factors of 460 are 2 × 2 × 5 × 23 or expressed in exponential form: 2² × 5 × 23 B. Factor Tree Method In the Factor Tree Method, the factors of a number are found iteratively, and those sub-factors are continuously factorized step-by-step until all branches end in prime numbers (reaching closure). For example, to find the prime factors of 30 and 210 using a factor tree: In the above image, we get the factor of 30 into 2 numbers, 6 and 5 since 5 is prime we stop, while 6 is still composite we find prime factors of 6 which are 3 and 2. If we write prime factors of 30= 2,3, and 5. It goes the same way as 210 where the prime factors are 2,5,3, and 7. In both cases, tree structure is formed. 2.6 Worked Examples Example 1: Divisibility Analysis of 360 (Numbers 2 to 11) Determine which numbers from 2 to 11 divide 360 evenly using divisibility rules. Solution Table: Divisor Divisibility Rule Application to 208 and 24 Divisible by both? By 2 Last digit is even. • 208 ends in 8 (even) YES 12
• 24 ends in 4 (even) By 3 Sum of digits is divisible by 3. • 208: 2+0+8 = 10 (No) • 24 = 2+4 = 6 (Yes) NO (Only 24) By 4 Last two digits divisible by 4. • 208 = 8 ÷ 4 = 2 (Yes) • 24: 24 ÷ 4 = 6 (Yes) YES By 5 Last digit is 0 or 5. • Neither 208 nor 24 ends in 0 or 5 NO By 6 Divisible by both 2 and 3. • 208 is not divisible by 3 • 24 is divisible by 2 and 3 NO (Only 24) By 8 Divisible by 8. • 208 = 208 ÷ 8 = 26 (Yes) • 24 = 24÷ 8 = 3 (Yes) YES By 9 Sum of digits is divisible by 9. • 208: Sum is 10 (No) • 24: Sum is 6 (No) NO By 10 Last digit is 0. • Neither 208 nor 24 ends in 0 NO B: Using Prime Factorization 1. Continuous Division Method (Finding the GCF/HCF) To find the greatest common factor of 208 and 24 using simultaneous division: 1. Divide both 208 and 24 by their smallest common prime factor (2): ○ 208 ÷ 2 = 104 ○ 24 ÷ 2 = 12 2. Divide 104 and 12 by 2 again: ○ 104 ÷ 2 = 52 ○ 12 ÷ 2 = 6 3. Divide 52 and 6 by 2 again: ○ 52 ÷ 2 = 26 ○ 6 ÷ 2 = 3 4. Stop here, because 26 and 3 have no common prime factors other than 1. ● Greatest Common Factor (GCF): 2 × 2 × 2 = 8 2. Factor Tree Method (Individual Prime Factorization) 13
2.7 ACTIVITY: Dissecting Numbers: Prime Or Composite Scenario: Imagine you are at the bottom of a hidden treasure tower, and to reach the prize at the top, you must climb a total of 83 steps. Task 1: Find and list all the prime numbers on the steps between 24 and 84. Task 2: Identify the first composite number and the last composite number in the range of 24 to 84. Then, find their prime factorization using both the Factor Tree Method and the Division Method. Express your final prime factorizations using exponents. 2.8 ASSESSMENT Directions: Answer the following questions based on the definitions and properties of prime numbers and prime factorization. Provide clear, step-by-step explanations and show all complete calculations or factor lists where required. 1. A security code uses only prime numbers. Identify which of the following numbers are valid prime-number code entries. Explain why the remaining numbers are not prime. 23, 27, 31, 39, 41 2. A detective finds the number 180 written on a mysterious note. To unlock the next clue, the detective must express 180 as a product of prime numbers. Find the prime factorization of 180. Then determine how many distinct prime factors it has. 3. Prime or Not? A student claims that 49 is a prime number because it is odd and cannot be divided by 2. Determine whether the student is correct. Explain your answer and identify the factors of 49. 14
CHAPTER 3 – Greatest Common Divisor 3.1 Learning Objectives At the end of this lesson, the learners should be able to: ● Define the Greatest Common Divisor (GCD) / Greatest Common Factor (GCF). ● Identify factors and common factors of a given set of integers. ● Find the GCD of numbers using the Listing Factors Method and Prime Factorization Method. ● Apply key properties and rules of GCD in mathematical problems. ● Solve real-life word problems involving equal distribution using GCD. 3.2 Introduction and Real-World Relevance The Greatest Common Divisor (GCD), also known as the Greatest Common Factor (GCF), is the largest positive integer that divides two or more numbers without leaving a remainder. We write the GCD of two numbers a and b using the notation gcd(a, b) —for example, gcd(12, 18) = 6. In practical applications, the GCD is used to: ● Cut materials (like timber, fabric, or wire) into equal lengths without waste. ● Divide objects or students into equal groups or sets. ● Simplify fractions to their lowest terms. ● Solve real-world distribution problems requiring equal allocation. 3.3 Lesson Discussion: What is the Greatest Common Divisor? A factor is a whole number that divides another number completely with a remainder of zero. When two or more numbers share the same factor, that number is called a common factor. The largest among all common factors is the Greatest Common Divisor (GCD). 3.4 Worked Example: Find the GCD of 12 and 18. ● Factors of 12: 1, 2, 3, 4, 6, 12 ● Factors of 18: 1, 2, 3, 6, 9, 18 15
Common Factors: 1, 2, 3, 6 Greatest Common Factor (GCD): 6 gcd(12, 18) = 6 Methods of Finding the GCD Method 1: Listing Factors Steps: 1. List all positive factors of each given number. 2. Identify all factors shared by both numbers (the common factors). 3. Select the largest factor from the list of common factors. Example: Find the GCD of 24 and 40 using the Listing Factors method. ● Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24 ● Factors of 40: 1, 2, 4, 5, 8, 10, 20, 40 ● Common Factors: 1, 2, 4, 8 Conclusion: The greatest common factor is 8. gcd(24, 40) = 8 Finding the GCD Using Prime Factorization This method uses the prime factorization of two or more numbers to determine their Greatest Common Divisor (GCD). Steps: 1. Express each number as a product of prime factors. Write each number in its prime factorized form using exponents. 2. Identify common prime numbers. Find the prime numbers that appear in the prime factorization of all given numbers. 3. Use the lowest exponent of each common prime. For every shared prime factor, choose the one with the smallest exponent. 4. Multiply them. Multiply these prime factors together to get the final GCD. 16
Finding the GCD of 72, 48, and 84 Using Prime Factorization Step 1: Express each number as a product of prime factors. ● 72: 2 × 2 × 2 × 3 × 3 = 2³ × 3² ● 48: 2 × 2 × 2 × 2 × 3 = 2⁴ × 3 ● 84: 2 × 2 × 3 × 7 = 2² × 3 × 7 Step 2: Identify common prime numbers. ● Common prime numbers among all three: 2 and 3 Step 3: Use the lowest exponent of each common prime. ● For prime 2: exponents are 3, 4, 2 → lowest exponent = 2 (2²) ● For prime 3: exponents are 2, 1, 1 → lowest exponent = 1 (3) Step 4: Multiply them. gcd(72,, 48, 84) = 2² × 3 gcd(72, 48, 84) = 4 × 3 gcd(72, 48, 84) = 12 3.5 Important Concepts, Principles, and GCD Properties Key Concepts and Principles • Factor: A whole number that divides into another number completely without leaving a remainder. Example: The factors of 10 are 1, 2, 5, and 10. Common Factors: Numbers that can divide two or more given numbers without leaving a remainder. Example: ● Factors of 8: 1, 2, 4, 8 ● Factors of 12: 1, 2, 3, 4, 6, 12 ● Common factors of 8 and 12: 1, 2, and 4. 17
Prime Number: A whole number greater than 1 that has exactly two distinct positive factors: 1 and itself. Prime Factorization: The process of expressing a composite number as a product of prime numbers. Divisibility: The property where a number can be divided by another number evenly without leaving a remainder. Important GCD Properties Property Formula Explanation Commutative Property gcd(a, b) = gcd(b, a) Changing the order of the numbers does not change their GCD. GCD with Zero gcd(a, 0) = ||a|| The GCD of any nonzero integer and zero is the absolute value of that nonzero integer. Relatively Prime gcd(a, b) = 1 Two numbers are relatively prime (coprime) if their only common positive factor is 1. Divisibility Property If d|a and d|b If an integer d divides both a and b, then d also divides their sum (a + b) and their difference (a - b). 3.6 ACTIVITY: Finding The Greatest Common Divisor (GCD) Directions: Read each of the problems carefully and answer using the indicated procedure. Make sure to write out your complete solution. Write your answers on a separate sheet of paper. Part A: Listing Factors Method 1. Find the GCD of 24 and 36 using the Listing Factors Method. 2. Find the GCD of 16 and 28 using the Listing Factors Method. Part B: Prime Factorization Method 3. Find the GCD of 48 and 60 using the Prime Factorization Method. 4. Find the GCD of 36, 54, and 72 using the Prime Factorization Method. 18
3.7 ASSESSMENT Directions: Read each problem carefully. Solve for the Greatest Common Divisor (GCD) of the given numbers using either the Listing Factors Method or the Prime Factorization Method. Show your complete solutions and clearly state your final answers with appropriate units. 1. A school organization is preparing 72 candies and 96 stickers for an event. They want to create identical gift packs using all the candies and stickers, without leftovers. What is the greatest number of gift packs they can make? How many candies and stickers will each pack contain? 2. A rectangular garden measures 84 meters long and 60 meters wide. A gardener wants to divide the garden into the largest possible identical square plots, with no space wasted. What is the side length of each square plot, and how many square plots can be formed? 3. Which pair of numbers has a GCD of 18? Choose the correct answer and show how you verified it. A. 54 and 72 B. 48 and 64 C. 36 and 45 D. 60 and 90 19
CHAPTER 4 – The Euclidean Algorithm 4.1 Learning Objectives At the end of this lesson, the learners should be able to: 1. Define the Greatest Common Divisor (GCD) / Greatest Common Factor (GCF) and relatively prime integers. 2. Explain the historical background and purpose of the Euclidean algorithm using repeated division with remainder. 3. Apply the Euclidean algorithm and its extensions to real-life and mathematical applications. 4.2 Introduction and Real-World Relevance The Euclidean algorithm finds the greatest common divisor of two integers using repeated division with remainder, and it is one of the oldest algorithms that people continue to use nowadays. Euclid described it in his Elements around 300 BC, and it may be even older (cp-algorithms contributors, 2024). The method is credited to Euclid of Alexandria, who worked in Egypt during the reign of Ptolemy I, and it is still used today in areas from basic arithmetic to computer science and cryptography (LibreTexts, n.d.). Definition The greatest common divisor (also called the greatest common factor, GCF) gcd(a, b) of two integers a and b, not both zero, is the largest positive integer that divides both. For example, gcd(4, 6) = 2 and gcd(24, 25) = 1. Two integers are relatively prime when gcd(a, b) = 1 (Lutz, 2016). Listing every divisor of large numbers is slow, and factoring them is harder still. The Euclidean algorithm avoids both. In this module, you will see it applied in these areas: ● Programming: You will find a built-in GCD function in most programming languages, such as C++ (cp-algorithms contributors, 2024). ● Least common multiple: Once you know the GCD, you can find the LCM with lcm(a, b) = (a•b) / gcd(a,b) at the same running time (cp-algorithms contributors, 2024). 20
● Several numbers at once: You can extend the method to a whole list by working pair by pair, since gcd(a, b, c) = gcd[gcd(a, b), c]. For example, gcd(203, 91, 77) = gcd(7, 77) = 7 (freeCodeCamp, 2019). ● Bézout coefficients: The extended version of the algorithm lets you find integers x and y such that ax + by = gcd(a, b) (freeCodeCamp, 2019). ● Cryptography: You will meet the algorithm in cryptography, where Khan Academy (n.d.) teaches it in the modular arithmetic unit. 4.3 Key Concepts, Principles, and Properties Concept 1: The Division Algorithm For any integers a and b with b ≠ 0, there exist unique integers q (the quotient) and r (the remainder) such that: a = qb + r where 0 ≤ r < |b| ● Example: 18 = 4 • 4 + 2, where q = 4 and r = 2. ● Note: Every single step of the Euclidean algorithm consists of one division structured like this. Concept 2: Why Each Step Keeps the GCD the Same The fundamental property of the Euclidean algorithm is that: gcd(a, b) = gcd(b, r) where r is the remainder when a is divided by b. Reasoning: ● If an integer g divides both a and b, it must also divide a - qb = r. ● If an integer g divides both b and r, it must also divide qb + r = a. ● Therefore, the pair (a, b) and the pair (b, r) share the exact same common divisors, which guarantees they have the same greatest common divisor. Concept 3: Why the Algorithm Always Ends The Euclidean algorithm is guaranteed to terminate after a finite number of steps. Reasoning: ● The remainders form a strictly decreasing sequence of non-negative integers (r1 > r2 > r3 > … ≥ 0). Because the remainders cannot decrease indefinitely, the sequence must eventually reach 0. ● The last non-zero remainder is the Greatest Common Divisor (GCD). Computing gcd(48, 18) Step Division Equation Remainder (r) 1 48 = 2 • 18 + 12 12 21
2 18 = 1 • 12 + 6 6 3 12 = 2 • 6 + 0 0 Conclusion: The last non-zero remainder is 6. Therefore, gcd(48, 18) = 6. Concept 4: Other Properties ● Zero rule: gcd(a, 0) = a, so a zero remainder ends the process. ● Symmetric and associative: gcd(a, b, c) = gcd(a, gcd(b, c)). For example, gcd(203, 91, 77) = gcd(7, 77) = 7 (freeCodeCamp, 2019). ● Bézout's identity: there are integers s and t with gcd(a, b) = s·a + t·b. It is also the smallest positive integer of that form, and every other integer of that form is a multiple of it (Lutz, 2016). ● Euclid's lemma: if a prime p divides ab, then p divides a or p divides b. 4.4 RULES AND FORMULAS Rule Formula Meaning Division step a = qb + r, with 0 ≤ r < b Dividing a by b gives a quotient q and a remainder r smaller than b. Key rule gcd(a, b) = a if b = 0; otherwise gcd(a, b) = gcd(b, a mod b) Replacing a with the remainder keeps the same GCD but makes the numbers smaller. When b reaches 0, the answer is a. Three or more numbers gcd(a, b, c) = gcd(gcd(a, b), c) Find the GCD of two numbers, then combine the result with the next number. Bézout's identity gcd(a, b) = sa + tb The GCD can be written with integer multipliers s and t, found by working backwards. Least Common Multiple lcm(a, b) = a · b / gcd(a, b) Once you know the GCD, the LCM follows. 4.5 WORKED EXAMPLES Example 1: gcd(48, 72) Goal: find gcd(48, 72). Divide repeatedly, each time replacing (a, b) with (b, remainder). Step Division Quotient “q” Remainder “r” 1 72 = 1·48 + 24 1 24 2 48 = 2·24 + 0 2 0 Step-by-step reasoning: 1. 48 goes into 72 once, leaving 24 (48 + 24 = 72). 2. 24 goes into 48 exactly twice (48), so the remainder is 0. The last nonzero remainder is 24. 22
Answer: gcd(48, 72) = 24. Check: ● 24 · 2 = 48 and ● 24 · 3 = 72, so 24 divides both. Extension (Bézout): ● 24 = 72 − 1·48 = (−1)·48 + 1·72 Check: −48 + 72 = 24. Example 2: gcd(270, 192) Goal: find gcd(270, 192). Step Division Quotient “q” Remainder “r” 1 270 = 1·192 + 78 1 78 2 192 = 2·78 + 36 2 36 3 78 = 2·36 + 6 2 6 4 36 = 6·6 + 0 6 0 Step-by-step reasoning. 1. 192 goes into 270 once, leaving 78 (192 + 78 = 270). 2. 78 goes into 192 twice (156), leaving 36. 3. 36 goes into 78 twice (72), leaving 6. 4. 6 divides 36 exactly, so the remainder is 0. The last nonzero remainder is 6. Answer: gcd(270, 192) = 6. Check: 6 · 45 = 270 and 6 · 32 = 192, so 6 divides both. Extension (Bézout): work upward from the last nonzero remainder. ● 6 = 78 − 2·36 (from step 3) = 78 − 2·(192 − 2·78) = 5·78 − 2·192 (36 = 192 − 2·78, step 2) = 5·(270 − 192) − 2·192 = 5·270 − 7·192 (78 = 270 − 192, step 1) Check: 5 · 270 = 1350 and 7 · 192 = 1344, and the difference is 6. Example 3: Real-life Application A barangay relief group has 2,184 bottles of water and 3,570 packs of rice. They want to divide all the goods into identical relief boxes, with each box having the same number of bottles and the same number of rice packs, and nothing left over. 1. What is the greatest number of relief boxes they can prepare? 2. How many bottles of water and packs of rice will be in each box? 23
Answer: Given: 2,184 bottles of water, 3,570 packs of rice 1. GCD(3570, 2184) 3570 = 2184(1) + 1386 2184 = 1386(1) + 798 1386 = 798(1) + 588 798 = 588(1) + 210 588 = 210(2) + 168 210 = 168(1) + 42 168 = 42(4) + 0 GCD = 42 most relief boxes 2. 2184 ÷ 42 = 52 bottles of water 3570 ÷ 42 = 85 packs of rice Check: 42 × 52 = 2,184 ✓ and 42 × 85 = 3,570 ✓ Euclidian Algorithm: Computing gcd(a, b) Start at the top and follow the arrows. The loop is a check, then one pass of work, then back to the check. 1. Input integers a and b. These are your two starting numbers. In the example, a = 48 and b = 18. 2. Ask "b = 0?" This is the only decision, and it has two exits: ● yes: stop. The answer is a (the Zero rule). ● no: go down and do one more pass. 3. Division step. Divide a by b to get a = qb + r, and keep the remainder r. Here 48 = 2·18 + 12, so r = 12. 24
4. Key rule. Replace a with b, and b with r. The pair (48, 18) becomes (18, 12), which has the same GCD. 5. Repeat. The arrow on the left carries you back to "b = 0?" with the new pair. 4.6 ACTIVITY: Real-life Applications of the Euclidean Algorithm Directions: Read each problem carefully. Use the Euclidean Algorithm to find the Greatest Common Divisor (GCD) and solve for the required values. Write your complete step-by-step solutions on a separate sheet of paper. Problem A: School Supplies Distribution A school club has 1,596 notebooks and 2,964 pens. They want to make identical supply sets for students, with each set having the same number of notebooks and the same number of pens, and nothing left over. 1. What is the greatest number of supply sets they can make? 2. How many notebooks and pens will be in each set? Problem B: Canteen Snack Packs A canteen has 1,092 hotdog buns and 2,310 slices of cheese. They want to make identical snack packs, with each pack having the same number of buns and the same number of cheese slices, and nothing left over. 1. What is the greatest number of snack packs they can make? 2. How many buns and cheese slices will be in each pack? Problem C: Reading Bundles A librarian has 1,260 storybooks and 2,079 workbooks. She wants to arrange them into identical reading bundles, with each bundle having the same number of storybooks and the same number of workbooks, and none left over. 1. What is the greatest number of reading bundles she can prepare? 2. How many storybooks and workbooks will be in each bundle? 4.7 ASSESSMENT Directions: Solve each item using the Euclidean Algorithm (repeated division with remainder). Write down the complete division equations for each step (a = qb + r) and identify the last non-zero remainder as the GCD. Do not use prime factorization for this section. 25
1. Two mathematicians are competing to find the GCD of 1,078 and 462. You are not allowed to use prime factorization. Find the GCD of 1,078 and 462 using the Euclidean Algorithm. 2. A code is hidden in the last nonzero remainder of the following process. Find the GCD of 391 and 252. What is the code? 3. Find the Missing Remainders Complete the Euclidean Algorithm to determine the GCD of 825 and 360. 825 = 360(2) + ____ 360 = ____ (3) + ____ ____ = ____ (2) + ____ Continue the process until the remainder is zero. 26
CHAPTER 5 – Linear Diophantine Equation 5.1 Learning Objectives By the end of this module, you will be able to: 1. Define a Linear Diophantine Equation (LDE) and explain why it matters in everyday real-world situations. 2. Apply the Euclidean Algorithm and the divisibility rule gcd(a, b) | c to check if integer solutions exist. 3. Solve simple linear Diophantine equations for integer values of x and y using step-by- step back-substitution. 5.2 Introduction and Real-World Relevance In regular algebra, a linear equation like 2x + 3y = 12 has endless answers because x and y can be fractions or decimals (for instance, x = 1.5 and y = 3). However, in real life, fractions and decimals often make no sense because many things cannot be cut into pieces. When we only allow whole numbers (positive, negative, or zero integers) as answers, the equation is called a Diophantine equation. Linear Diophantine Equation A Linear Diophantine Equation in two variables is an equation written as: ax + by = c where a, b, and c are given integers (with a and b not both zero), and we are looking for integer solutions (x, y). This topic is named after Diophantus of Alexandria, an ancient Greek mathematician often called the "Father of Algebra." Whenever a situation deals with whole items that cannot be split, linear Diophantine equations come into play: ● Money and Making Change: When paying an exact amount using only two types of bills or coins, such as ₱20 and ₱50 bills, you need whole numbers of each bill. You cannot tear a bill in half. ● Packing and Shipping: Store owners and warehouse workers use these equations to figure out how many small boxes and large boxes are needed to pack an exact number of items without leaving any empty space. 27
5.3 Important Concepts, Principles, and Properties Before solving ax + by = c, we need to understand two simple ideas that tell us right away whether an answer exists: ● Divisibility (d | c): An integer d divides an integer c if c | d leaves no remainder. For example, 3 divides 21 (3 | 21) because 21 | 3 = 7 with zero remainder. ● Greatest Common Divisor (gcd(a, b)): This is the largest positive whole number d$ that divides both a and b evenly. For example, gcd(6, 9) = 3 because 3 is the biggest number that divides both 6 and 9 without a remainder. Why gcd(a, b) Must Divide c Suppose d = gcd(a, b). Since d divides both a and b, any whole-number combination ax + by will always be a multiple of d. Think of it like adding two stacks of ₱5 coins: no matter how many coins are in each stack, the total money will always be a multiple of ₱5. Therefore, ax + by = c can only have integer solutions if c is also a multiple of d (meaning gcd(a, b) divides c). If d does not divide c, no integer answers can ever work. Solvability Condition Integer Solution Explanation gcd(a, b) does not divide c No integer solutions exist. The left side ax + by is always a multiple of gcd(a, b), while c is not. gcd(a, b) divides c Integer solutions exist. Both sides share the common factor gcd(a, b), so whole-number answers for x and y exist. 5.4 Relevant Rules and Mathematical Formulas Solvability of ax + by = c Consider the linear Diophantine equation ax + by = c, where a, b, and c are integers and d = gcd(a, b): ● Integer solutions (x, y) exist if and only if gcd(a, b) divides c. ● If gcd(a, b) does not divide c, no whole numbers x and y can ever make the equation true. Simple Tools for Solving 1. The Euclidean Algorithm (Finding gcd(a, b)): Instead of listing all factors, divide the larger number by the smaller number using a = bq + r (where q is the quotient and r is the remainder). Keep dividing the previous divisor by the remainder until the remainder hits 0. The last non-zero remainder is d = \gcd(a, b). 2. Back-Substitution (Finding x and y): Take the division step that gave you d and rewrite it so d is alone on one side. Then multiply the entire equation by c/d so the number on the left matches c. The numbers multiplied by a and b are your integer values for x and y. 28
Step-by-Step Solving Procedure 1. Identify a, b, and c: Write down the coefficients from ax + by = c. 2. Find d = gcd(a, b): Use the Euclidean Algorithm until the remainder becomes 0. 3. Check if gcd(a, b) divides c: Divide c by d. If there is a remainder, stop immediately —no integer solutions exist. 4. Solve for x and y: Use back-substitution to write d in terms of a and b, then multiply both sides by c/d to find integer values for x and y. 5.5 Worked Examples Problem1: Find an integer solution x, y for 6x + 9y = 21 Solution: 1. Identify the coefficients and compute d = gcd(a,b): 6x + 9y = 21 a=6 b=9 c=21 d=gcd(a,b) 3=gcd(9,21) 2. Apply the Euclidean Algorithm: 9=6(1)+3 6=3(2)+0 3. Check if gcd(a,b) divides c: 3 divides 21, since 21÷3=7 Because gcd(6,9) divides 21 with no remainder, integer solutions exist. 4. Back-substitute and multiply by c/d = 7 3=9-6(1) 21=9(7)-6(7) 21=6(-7)+9(7) 5. Integer Solution: x = -7 y=7 (Quick Check: 6(-7) + 9(7) = -42 + 63 = 21. Both x and y are simple integers.) Problem2: Determine whether integer solutions exist for 4x+6y=15 Solution: 1. Identify the coefficients and compute d=gcd(a,b) 4x+6y=15 a=4 b=6 c=15 d=gcd(a,b) 2=gcd(4,6) 2. Apply the Euclidean Algorithm: 6=4(1)+2 4=2(2)+0 29
3. Check if gcd(a, b) divides c: 2 does not divide 15 since 15÷2=7 remainder 1 4. Conclusion: If we factor out 2 from the left side, we get 2(2x + 3y) = 15. No matter what integers we pick for x and y, multiplying by 2 always gives an even number, which can never equal the odd number 15. No integer solutions exist. 5.6 Activity: Fact or Bluff Instructions: Write FACT if both the divisibility test and the claimed integer solution (x, y) are completely correct. Write BLUFF if there is any mistake (e.g., if no integer solutions exist or if the values of x and y are wrong), and show the complete step-by-step proof/ correction. CARD # Equation and Claimed Answer FACT or BLUFF Step-by-Step Proof 1 4x + 10y = 18 → x = 18, y = 9 2 6x + 15y = 22 → x = 1, y = 1 3 12x + 16y = 28 → x = -7, y = 7 4 8x + 12y = 20 → x = 5, y = -5 5.7 ASSESSMENT Directions: Read each problem carefully. For items requiring integer solutions, use the Euclidean Algorithm to test for solvability (gcd(a, b)|mid c) and apply back-substitution to find integer values for x and y. Show all complete mathematical solutions and write your final conclusions clearly. 1. During a school fair, a student has ₱120 to buy sandwiches and juice. Sandwiches cost ₱15 each and juice costs ₱9 each. The student wants to spend exactly ₱120. Represent the situation using a Linear Diophantine Equation and determine one possible combination of sandwiches and juice that uses exactly ₱120. Use the Euclidean Algorithm and back-substitution. 2. A school event sells tickets worth ₱8 for students and ₱12 for visitors. The organizers need to collect exactly ₱50. Can the organizers collect exactly ₱50 using a 30
combination of student and visitor tickets? Justify your answer using the GCD condition. 3. A treasure hunter must solve the equation 18x + 30y = 42. Find a particular integer solution and the general integer solution using the Euclidean Algorithm and back- substitution. 31
REFERENCES Admin. (2021, November 30). Prime factorization. BYJU'S. https://byjus.com/maths/prime- factorization/ aibhi.dev. (n.d.). The Euclidean algorithm. Medium. https://medium.com/@aibhi.dev/the- euclidean-algorithm-2a7bbc192de2 Brilliant.org. (n.d.). Greatest common divisor. Brilliant. https://brilliant.org/wiki/greatest- common-divisor/ CK-12 Foundation. (n.d.). Prime factorisation (Section 3.4). CK-12 CBSE Maths Class 6. https://flexbooks.ck12.org/cbook/ck-12-cbse-maths-class-6/section/3.4/primary/ lesson/prime-factorisation/ cp-algorithms contributors. (2024, October 15). Euclidean algorithm for computing the greatest common divisor. Algorithms for Competitive Programming. https://cp- algorithms.com/algebra/euclid-algorithm.html freeCodeCamp. (2019, November 30). Euclidean algorithm: GCD (greatest common divisor) explained with C++ and Java examples. freeCodeCamp. https:// www.freecodecamp.org/news/euclidian-gcd-algorithm-greatest-common-divisor/ Ilioaea, I. (n.d.). Prime numbers (Chapter 2.2). In Discrete mathematics. PressBooks. https:// louis.pressbooks.pub/discretemathematics/chapter/prime-numbers/ Khan Academy. (n.d.). The Euclidean algorithm. https://www.khanacademy.org/computing/ computer-science/cryptography/modarithmetic/a/the-euclidean-algorithm LibreTexts. (n.d.). Euclidean algorithm (Section 4.06). In Math for educators (MATH 010A and 010B CID120). Coalinga College. https://math.libretexts.org/Courses/ Coalinga_College/ Math_for_Educators_%28MATH_010A_and_010B_CID120%29/04%3A_Number_T heory/4.06%3A_Euclidean_Algorithm Mandal, P., & Osborn, K. (n.d.). Greatest common divisor — GCD overview, properties & uses. Study.com. https://study.com/academy/lesson/greatest-common-divisor- definition-formula.html Scribd. (n.d.). Greatest common divisor (Document No. 1042139542). https:// www.scribd.com/document/1042139542/Greatest-Common-Divisor The Organic Chemistry Tutor. (2018, February 20). Mathematical induction practice problems [Video]. YouTube. http://www.youtube.com/watch?v=tHNVX3e9zd0 University of Oklahoma, Department of Mathematics. (2016). The division algorithm and the Euclidean algorithm [PDF]. https://math.ou.edu 32
ANSWER KEY 1.6 ACTIVITY: Pass the Ball! 1. TRUE - 1(2(1)-1) = 1(1) = 1 2. FALSE - Correct answer is 15 = 15, because 1(2(1)+13) = 15 3. TRUE - Replace k with k+1 in (4k-3). 4. TRUE - 15+19=34 and 2(2(2)+13)=2(17)=34 5. FALSE - 2(2(2)-1)=2(3)=6 1.7 ASSESSMENT 1. 1 + 3 + 5 + ⋯ + (2n − 1) = n² A. Base Case: n = 1 1 = 1² 1 = 1 B. Inductive Hypothesis: n = k 1 + 3 + 5 + ⋯ + (2k − 1) = k² C. Inductive Step: n = k + 1 1 + 3 + 5 + ⋯ + (2k − 1) + (2k + 1) = (k + 1)² k² + (2k + 1) = (k + 1)² k² + 2k + 1 = (k + 1)² (k + 1)² = (k + 1)² ∴ 1 + 3 + 5 + ⋯ + (2n − 1) = n² 2. 3ⁿ ≥ 2n + 1 A. Base Case: n = 1 3¹ ≥ 2(1) + 1 3 ≥ 3 B. Inductive Hypothesis: n = k 3ᵏ ≥ 2k + 1 C. Inductive Step: n = k + 1 3ᵏ⁺¹ ≥ 2(k + 1) + 1 3ᵏ⁺¹ = 3(3ᵏ) 3ᵏ⁺¹ ≥ 3(2k + 1) 3ᵏ⁺¹ ≥ 6k + 3 6k + 3 ≥ 2k + 3 4k ≥ 0 3ᵏ⁺¹ ≥ 2k + 3 3ᵏ⁺¹ ≥ 2(k + 1) + 1 ∴ 3ⁿ ≥ 2n + 1 3. 1² + 2² + ⋯ + n² = n(n + 1)(2n + 1)/6 A. Base Case: n = 1 1² = 1(1 + 1)(2(1) + 1)/6 1 = 1(2)(3)/6 1 = 6/6 1 = 1 B. Inductive Hypothesis: n = k 1² + 2² + ⋯ + k² = k(k + 1)(2k + 1)/6 C. Inductive Step: n = k + 1 1² + 2² + ⋯ + k² + (k + 1)² = (k + 1)[(k + 1) + 1][2(k + 1) + 1]/6 = k(k + 1)(2k + 1)/6 + (k + 1)² = [k(k + 1)(2k + 1) + 6(k + 1)²]/6 = (k + 1)[k(2k + 1) + 6(k + 1)]/6 = (k + 1)[2k² + k + 6k + 6]/6 = (k + 1)(2k² + 7k + 6)/6 = (k + 1)(2k + 3)(k + 2)/6 = (k + 1)(k + 2)(2k + 3)/6 = (k + 1)[(k + 1) + 1][2(k + 1) + 1]/6 ∴ 1² + 2² + ⋯ + n² = n(n + 1)(2n + 1)/6 2.7 ACTIVITY: Dissecting Numbers: Prime Or Composite PRIME NUMBERS - 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79 and 83. PRIME FACTORIZATION OF 24 AND 84 1.Using Tree Factor Method 2. Division Method 2 ⟌84,24 2⟌42,12 3⟌21,6 =7,2 2 x 2 x 2 x 3 = 24= 2³ x 3 2 x 2 x 3 x 7= 84= 2² x 3 x 7 2.8 ASSESSMENT 1. 23 23 ÷ 2 ≠ integer 23 ÷ 3 ≠ integer 23 ÷ 5 ≠ integer ∴ 23 is prime 27 = 3 × 9 ∴ 27 is composite 31 31 ÷ 2 ≠ integer 31 ÷ 3 ≠ integer 31 ÷ 5 ≠ integer ∴ 31 is prime 39 = 3 × 13 ∴ 39 is composite 41 33
41 ÷ 2 ≠ integer 41 ÷ 3 ≠ integer 41 ÷ 5 ≠ integer ∴ 41 is prime ∴ 23, 31, 41 2. 180 ÷ 2 = 90 90 ÷ 2 = 45 45 ÷ 3 = 15 15 ÷ 3 = 5 5 ÷ 5 = 1 180 = 2 × 2 × 3 × 3 × 5 180 = 2² × 3² × 5 Distinct prime factors = 3 3. Prime or Not? 49 = 7 × 7 Factors of 49 = {1, 7, 49} ∴ 49 is composite 3.6 ACTIVITY: Finding The Greatest Common Divisor (GCD) Part A: Listing Factors Method 1. GCD of 24 and 36 Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24 Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36 Common factors: 1, 2, 3, 4, 6, 12 Answer: 12 2. GCD of 16 and 28 Factors of 16: 1, 2, 4, 8, 16 Factors of 28: 1, 2, 4, 7, 14, 28 Common factors: 1, 2, 4 Answer: 4 Part B: Prime Factorization Method 3. GCD of 48 and 60 - Step 1: Prime factors - 48 = 2 × 2 × 2 × 2 × 3 = 2⁴ × 3¹ - 60 = 2 × 2 × 3 × 5 = 2² × 3¹ × 5¹ Step 2: Common primes: 2, 3 Step 3: Lowest exponents → 2², 3¹ Step 4: Multiply → 2² × 3¹ = 4 × 3 = 12 Answer: 12 4. GCD of 36, 54, and 72 - Step 1: Prime factors - 36 = 2 × 2 × 3 × 3 = 2² × 3² - 54 = 2 × 3 × 3 × 3 = 2¹ × 3³ - 72 = 2 × 2 × 2 × 3 × 3 = 2³ × 3² Step 2: Common primes: 2, 3 Step 3: Lowest exponents → 2¹, 3² Step 4: Multiply → 2¹ × 3² = 2 × 9 = 18 Answer: 18 3.7 ASSESSMENT 1. 96 = 72(1) + 24 72 = 24(3) + 0 GCD(72, 96) = 24 72 ÷ 24 = 3 96 ÷ 24 = 4 24 packs 3 candies and 4 stickers per pack 2. 84 = 60(1) + 24 60 = 24(2) + 12 24 = 12(2) + 0 GCD(84, 60) = 12 84 ÷ 12 = 7 60 ÷ 12 = 5 7 × 5 = 35 35 square plots 12 m × 12 m per plot 3. A. 54 and 72 72 = 54(1) + 18 54 = 18(3) + 0 GCD(54, 72) = 18 4.6 ACTIVITY: REAL-LIFE APPLICATIONS OF THE EUCLIDEAN ALGORITHM Problem A Given: 1,596 notebooks, 2,964 pens 1. GCD(2964, 1596) 2964 = 1596(1) + 1368 1596 = 1368(1) + 228 1368 = 228(6) + 0 GCD = 228 most supply sets 2. 1596 ÷ 228 = 7 notebooks 2964 ÷ 228 = 13 pens Check: 228 × 7 = 1,596 ✓ and 228 × 13 = 2,964 ✓ Problem B Given: 1,092 buns, 2,310 cheese slices 1. GCD(2310, 1092) 2310 = 1092(2) + 126 1092 = 126(8) + 84 126 = 84(1) + 42 84 = 42(2) + 0 GCD = 42 most snack packs 2. 1092 ÷ 42 = 26 buns 2310 ÷ 42 = 55 cheese slices Check: 42 × 26 = 1,092 ✓ and 42 × 55 = 2,310 ✓ Problem C Given: 1,260 storybooks, 2,079 workbooks 1. GCD(2079, 1260) 2079 = 1260(1) + 819 1260 = 819(1) + 441 819 = 441(1) + 378 441 = 378(1) + 63 378 = 63(6) + 0 GCD = 63 most reading bundles 2. 1260 ÷ 63 = 20 storybooks 2079 ÷ 63 = 33 workbooks Check: 63 × 20 = 1,260 ✓ and 63 × 33 = 2,079 ✓ 4.7 ASSESSMENT 1. 1078 = 462(2) + 154 462 = 154(3) + 0 GCD(1078, 462) = 154 2. 391 = 252(1) + 139 34
252 = 139(1) + 113 139 = 113(1) + 26 113 = 26(4) + 9 26 = 9(2) + 8 9 = 8(1) + 1 8 = 1(8) + 0 GCD(391, 252) = 1 Code = 1 3. 825 = 360(2) + 105 360 = 105(3) + 45 105 = 45(2) + 15 45 = 15(3) + 0 GCD(825, 360) = 15 5.6 ACTIVITY: FACT or BLUFF Card 1: 4x + 10y =18 Rightarrow x=-18 y= 9 – FACT 1. Identify the coefficients and compute d = gcd(a,b) 4x + 10y = 18 a = 4 b = 10 c = 18 d = gcd(a,b) 2 = gcd(4,10) 2. Apply the Euclidean Algorithm: 10 = 4(2) + 2 4 = 2(2) + 0 3. Check if gcd(a, b) divides c: 2 divides 18 (since 18/2 = 9 ) Because gcd(4, 10) divides 18 evenly, integer solutions exist. 4. Back-substitute and multiply by c/d = 9 2 = 10-4(2) 18 = 10(9) - 4(18) 18 = 4(- 18) + 10(9) 5. Verification: x = - 18 y = 9 (FACT) Card 2: 6x + 15y =22 → x=1 , y =1 – BLUFF 1. Identify the coefficients and compute d = gcd(a,b) 6x + 15y = 22 a = 6 b = 15 c = 22 d = gcd(a,b) 3 = gcd(6,15) 2. Apply the Euclidean Algorithm: 15 = 6(2) + 3 6 = 3(2) + 0 3. Check if gcd(a, b) divides c: 3 does not divide 22 (since 22/3 = 7 4. Correction: Factoring out 3 from the left side gives 3(2x + 5y) = 22 Since 2x + 5y is always an integer, the left side is always a multiple of 3 and can never equal 22. (Also, 6(1) + 15(1) = 21≠22 ) No integer solutions exist. (BLUFF) Card 3: 12x + 16y =28 → x=-7, y = 7 – FACT 1. Identify the coefficients and compute d = gcd(a,b) 12x + 16y = 28 a = 12 b = 16 c = 28 d = gcd(a,b) 4 = gcd(12,16) 2. Apply the Euclidean Algorithm: 16 = 12(1) + 4 12 = 4(3) + 0 3. Check if gcd(a, b) divides c: 4 divides 28 (since 28/4 = 7 ) Because gcd(12, 16) divides 28 evenly, integer solutions exist. 4. Back-substitute and multiply by c/d = 7 4 = 16-12(1) 28 = 16(7) - 12(7) 28 = 12(- 7) + 16(7) 5. Verification: x = - 7 y = 7 (FACT) Card 4: 8x + 12y =20 → x=5, y = - 5 – BLUFF 1. Identify the coefficients and compute d = gcd(a,b) 8x + 12y = 20 a = 8 b = 12 c = 20 d = gcd(a,b) 4 = gcd(8,12) 2. Apply the Euclidean Algorithm: 12 = 8(1) + 4 8 = 4(2) + 0 3. Check if gcd(a, b) divides c: 4 divides 20 (since 20/4 = 5 ) Integer solutions exist, so we solve for the correct signs. 4. Back-substitute and multiply by c/d = 5 4 = 12-8(1) 20 = 12(5) - 8(5) 20 = 8(- 5) + 12(5) 5. Correction: The signs on the card were reversed (8(5) + 12(- 5) =-20 ne20). The correct integer solution is: x = - 5 y = 5 (BLUFF) 5.7 ASSESSMENT 1. 15x + 9y = 120 15 = 9(1) + 6 9 = 6(1) + 3 6 = 3(2) + 0 GCD(15, 9) = 3 15 = 9(1) + 6 35
6 = 15 − 9 9 = 6(1) + 3 3 = 9 − 6 3 = 9 − (15 − 9) 3 = 2(9) − 15 120 = 40[2(9) − 15] 120 = 80(9) − 40(15) 120 = 15(−40) + 9(80) Particular solution: x₀ = −40, y₀ = 80 x = x₀ + (b/d)t y = y₀ − (a/d)t x = −40 + (9/3)t x = −40 + 3t y = 80 − (15/3)t y = 80 − 5t General solution: x = −40 + 3t, y = 80 − 5t Let t = 14 x = −40 + 3(14) x = −40 + 42 x = 2 y = 80 − 5(14) y = 80 − 70 y = 10 15(2) + 9(10) = 120 30 + 90 = 120 Answer: x = 2, y = 10 2. 8x + 12y = 50 12 = 8(1) + 4 8 = 4(2) + 0 GCD(8, 12) = 4 4 does not divide 50 No integer solutions 3. 18x + 30y = 42 30 = 18(1) + 12 18 = 12(1) + 6 12 = 6(2) + 0 GCD(18, 30) = 6 18 = 12(1) + 6 6 = 18 − 12 30 = 18(1) + 12 12 = 30 − 18 6 = 18 − (30 − 18) 6 = 18 − 30 + 18 6 = 2(18) − 30 42 = 7[2(18) − 30] 42 = 14(18) − 7(30) 42 = 18(14) + 30(−7) Particular solution: x₀ = 14, y₀ = −7 x = x₀ + (b/d)t y = y₀ − (a/d)t x = 14 + (30/6)t x = 14 + 5t y = −7 − (18/6)t y = −7 − 3t General solution: x = 14 + 5t, y = −7 − 3t Let t = −2 x = 14 + 5(−2) x = 14 − 10 x = 4 y = −7 − 3(−2) y = −7 + 6 y = −1 18(4) + 30(−1) = 42 72 − 30 = 42 42 = 42 Answer: x = 4, y = −1 36
NUMBER THEORY MODULE
Number Theory
