Congruences (2/17) If m (the modulus) is positive and if a and b are integers, then we say a is congruent to b mod m, writing a  b (mod m), provided that.

Slides:



Advertisements
Similar presentations
Fermat’s Little Theorem (2/24) Theorem (flt). If p is prime and GCD(a, p) = 1, then a p – 1  1 (mod p). Again, this says that in a mod p congruence, we.
Advertisements

Chapter 4 Number Theory.
Congruence of Integers
Mathematics of Cryptography Part I: Modular Arithmetic, Congruence,
Table of Contents Recall that to solve the linear system of equations in two variables... we needed to find the values of x and y that satisfied both equations.
Fractions and Decimals 5.2. Writing a Fraction as a decimal Divide the numerator by the denominator.
© 2007 by S - Squared, Inc. All Rights Reserved.
Mathematics of Cryptography Part I: Modular Arithmetic, Congruence,
Proof of Euler-Fermat (2/28) Here’s an outline of the proof of the Euler-Fermat Theorem, which mirrors the proof of flt. Given any m, let B = {b i | 0.
Solving Systems of Linear Equations
Solving Linear Systems by Linear Combinations
Solving Equations II Lesson After completing this lesson, you will be able to say: I can solve one-variable equations containing multiplication.
Solve the equation -3v = -21 Multiply or Divide? 1.
Solving One-Step Equations and Inequalities
Rational Functions. To sketch the graph of a rational function: Determine if the function points of discontinuity for the.
Lesson 1.1 Objective: To solve equations using addition, subtraction, multiplication, and division Are operations that undo each other such as addition.
Use the Distributive Property to: 1) simplify expressions 2) Solve equations.
Solving Linear Equations with a variable on only one side of the equation.
2.6 Properties of Equality and Congruence Textbook page 88.
Section 2.1 Solving Equations Using Properties of Equality.
I can solve one-step equations in one variable.. Equations that have the same solutions. In order to solve a one-step equation, you can use the properties.
Chinese Remainder Theorem. How many people What is x? Divided into 4s: remainder 3 x ≡ 3 (mod 4) Divided into 5s: remainder 4 x ≡ 4 (mod 5) Chinese Remainder.
2-Step Equations What??? I just learned 1-step! Relax. You’ll use what you already know to solve 2-step equations.
ESSENTIAL SKILLS: SOLVE EQUATIONS BY USING ADDITION AND SUBTRACTION SOLVE EQUATIONS BY USING MULTIPLICATION AND DIVISION 2-2: Solving One-Step Equations.
SOLVING TWO-STEP EQUATIONS Section 7.5. A two step equation is an equation that involves two operations. –Goal is to get the variable to stand alone –Get.
One step equations Add Subtract Multiply Divide  When we solve an equation, our goal is to isolate our variable by using our inverse operations.  What.
Arithmetic Expressions Addition (+) Subtraction (-) Multiplication (*) Division (/) –Integer –Real Number Mod Operator (%) Same as regular Depends on the.
Solve Linear Systems by Substitution January 28, 2014 Pages
9/28/12 - Simplify. 1. 2y + 4 – 3y – (2t + 1) + 10 = -1y – 1 = -14t + 3 HW check today! This is Sheet #2!
Solving a System of Equations in Two Variables By Substitution Chapter 8.2.
2.2 Solving Two- Step Equations. Solving Two Steps Equations 1. Use the Addition or Subtraction Property of Equality to get the term with a variable on.
Solve Two-Step Equations. Vocabulary A two-step equation, such as 2x + 3 = 9 has two different operations, multiplication and addition. To solve a two-step.
Essential Question: Why, oh why, didn’t I take the blue pill?
Solving One Step Equations subtract 3 Adding or subtracting the same number from each side of an equation produces an equivalent equation. Addition.
Solving Equations with Variables on Both Sides. Review O Suppose you want to solve -4m m = -3 What would you do as your first step? Explain.
Solving Inequalities Using Multiplication and Division Chapter 4 Section 3.
4-6 Solving Equations with Fractions What You’ll Learn ► To solve one – step equations ► To solve two – equations.
Warm Up Find the solution to linear system using the substitution method. 1) 2x = 82) x = 3y - 11 x + y = 2 2x – 5y = 33 x + y = 2 2x – 5y = 33.
3. 3 Solving Equations Using Addition or Subtraction 3
2-2 Solving One-Step Equations
Solving Systems of Linear Equations
WARM UP Page 9 “Check Skills You’ll Need” # 1 – 12.
Linear Equations in One Variable
Stand Quietly.
Solving Two-Step Equations
Adding and Subtracting Integers is like …
Bell Ringer.
Bell Ringer.
Warm up 11/1/ X ÷ 40.
Solving 1-Step Integer Equations
Objective Solve equations in one variable that contain more than one operation.
6-3 Solving Systems Using Elimination
Objective Solve equations in one variable that contain variable terms on both sides.
Notes Over 1.4 It’s time to stop “daydreaming”
Before: December 4, 2017 Solve each system by substitution. Steps:
Objectives Solve systems of linear equations in two variables by elimination. Compare and choose an appropriate method for solving systems of linear equations.
2-2 Solving One-Step Equations
Objective Solve equations in one variable that contain more than one operation.
Objective Solve inequalities that contain variable terms on both sides.
Objective Solve equations in one variable that contain variable terms on both sides.
Bell Ringer.
3 Chapter Chapter 2 Graphing.
Lesson 1.1 Objective: To solve equations using addition, subtraction, multiplication, and division Vocab: Inverse operations: Are operations that undo.
Math-7 NOTES What are Two-Step Equations??
Review of Integers and Solving Equations
Exercise Solve and check x – 3 = 5. x = 8 8 – 3 = 5.
Dear Power point User, This power point will be best viewed as a slideshow. At the top of the page click on slideshow, then click from the beginning.
Solving Systems of Linear Equations by Elimination
Presentation transcript:

Congruences (2/17) If m (the modulus) is positive and if a and b are integers, then we say a is congruent to b mod m, writing a  b (mod m), provided that m | (b – a). Again, this says that a and b have the same remainder r upon division by m, where 0 ≤ r < m, and of course a  r (mod m) and b  r (mod m). Congruences “respect” addition, subtraction and multiplication, i.e., if a 1  b 1 (mod m) and a 2  b 2 (mod m), then (1) a 1  a 2  b 1  b 2 (mod m) (proof?), and (2) a 1 a 2  b 1 b 2 (mod m) (proof??)

However, Watch Out for Division Division (i.e. cancellation) may not work! Example (2)(6)  (2)(8) (mod 4), but 6  8 (mod 4) Guess what’s wrong here. In regular integer (i.e., Diophantine) equations, you can cancel provided what? So what will be the corresponding condition in congruences? Proof??

Solving Linear Congruences Suppose we have a congruence which contains a variable x which is linear in x. Then by adding, subtracting and multiplying, we can simplify this congruence to the form a x  c (mod m) and we seek x. How do we find it? By the solutions to a congruence of any kind, we shall mean solutions which are not congruent to each other (mod m), and in general we list them in their “smallest” form, i.e., so that they all satisfy 0 ≤ x 0 < m. Hence a nice thing about congruences is that there are at most m solutions, i.e., we can do “guess and check” on a finite set!

Some Examples Simply using guess and check, find all solutions of the following linear congruences a x  c (mod m) : 3x  5 (mod 6) 3x  9 (mod 6) 5x  4 (mod 6) 4x  12 (mod 8) 12x  15 (mod 100) (Be more clever. Think even and odd.) What patterns can we discern as to the number of solutions which occur? Hint: It has to do with the GCD(a, m) and whether that number divides c.

Assignment for Wednesday Hand-in #2 is due. Read Chapter 8 to the top of page 60.