Cryptography and Secret Codes or one reason that linear equations are cool.

Slides:



Advertisements
Similar presentations
9/21/12. I can identify which factors are prime numbers. LEARNING TARGET.
Advertisements

 Caesar used to encrypt his messages using a very simple algorithm, which could be easily decrypted if you know the key.  He would take each letter.
Solving Equations = 4x – 5(6x – 10) -132 = 4x – 30x = -26x = -26x 7 = x.
Basic Logarithms A way to Undo exponents. Many things we do in mathematics involve undoing an operation.
THOAN. THOAN Think of a number… THOAN Multiply it by 3.
LIAL HORNSBY SCHNEIDER
Finding the Roots of a Polynomial. 2 Real Roots and 2 Complex Roots because it only has 2 x-intercepts but has 4 “turns” Classifying the Roots of a Polynomial.
Table of Contents Compound Linear Inequalities: Solving Algebraically Example: Algebraically solve, - 5 < 2x + 3  8. First break the compound inequality.
Finding the Equation of a Line Between Two Points
Copyright © Cengage Learning. All rights reserved. 7.8 Applications of Matrices and Determinants.
Graph Linear Equations
Chapter 4.1 Inverse Functions.
2.4 Inverse of Linear Transformations For an animation of this topic visit: Is the transformation.
Basic Logarithms A way to Undo exponents. Many things we do in mathematics involve undoing an operation.
MAT 1000 Mathematics in Today's World Winter 2015.
Math Basics & Diagrams Foundations of Algebra Unit 1 Lesson 1.
Working With Radicals. Do Now Simplify each of the exponential expressions.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Unit 2 – Week 4 Reasoning with Linear Equations and Inequalities Lesson 1.
Introduction to Functions
Divisibility Everyday Math Lesson 1.5.
Table of Contents Solving Linear Systems of Equations - Dependent Systems The goal in solving a linear system of equations is to find the values of the.
Determine whether (2, 4) is a solution for y= 5x-6.
Variables Tutorial 3c variable A variable is any symbol that can be replaced with a number to solve a math problem. An open sentence has at least one.
 What is Algebraic Expressions and how do I solve them?
Section 2.1: Shift Ciphers and Modular Arithmetic Practice HW from Barr Textbook (not to hand in) p.66 # 1, 2, 3-6, 9-12, 13, 15.
Equations of Linear Relationships
9.4 factoring to solve quadratic equations.. What are the roots of a quadratic function? Roots (x-intercepts): x values when y = 0 ( ___, 0) How do you.
Solving Quadratic Equations by Factoring. Solution by factoring Example 1 Find the roots of each quadratic by factoring. factoring a) x² − 3x + 2 b) x².
4.8 Writing Equations from Patterns A very useful problem-solving strategy is look for a pattern. When you make a conclusion based on a pattern of examples,
7.8 Partial Fractions. If we wanted to add something like this: We would need to find a common denominator! Now, we want to REVERSE the process! Go from.
Today we will solve equations with two variables. Solve = figure out.
Warm Up Solve. 1. x + 4 = y – 2.3 = z = = 8 x = 15 y = 10.1 z = 30 Course Introduction to Functions w9w9 w = 72 Learning Target:
CRYPTOGRAPHY. WHAT IS PUBLIC-KEY ENCRYPTION? Encryption is the key to information security The main idea- by using only public information, a sender can.
9.2 Representing Linear Functions. Graphing Equations Make a Table.
4.4 Identity and Inverse Matrices
2.1.1 Calling Plans day 3 Unit 2: Linear Relationships SWBAT: Compare calling plans by using graphs, tables, and equations.
Review 1.Competing the square geometrically and computationally. 2.Graph the equation from completed the square form using transformations.
Copyright © Cengage Learning. All rights reserved. 7 Linear Systems and Matrices.
Table of Contents First get all nonzero terms on one side. Quadratic Equation: Solving by factoring Example: Solve 6x 2 – 13x = 8. 6x 2 – 13x – 8 = 0 Second.
Today we will solve equations with two variables. Solve = figure out.
Equations of Linear Relationships
Notes Over 10.5 Using Cramer’s Rule for a 2 x 2 System
Welcome Back to Math January 25, 2016 Today you will need:a pencil and eraser, your notebook, your tablet Math Message: Write an expression using letters.
Notes Over 4.4 Finding the Inverse of 2 x 2 Matrix.
Cryptography Cryptography is the use of mathematics to encode messages and prevent them from being read by anyone who doesn’t know the code. One way that.
Warm UP: Review of Inequalities What do each of the symbols represent: 1. > 2. < Greater Than 2. Less than 3. Less than or equal to 4. Greater.
Reasoning with linear equations and inequalities Students will understand that equation is a statement of equality between two expression. Students find.
Solving 2 step equations. Two step equations have addition or subtraction and multiply or divide 3x + 1 = 10 3x + 1 = 10 4y + 2 = 10 4y + 2 = 10 2b +
Investigating Identity and Inverse Matrices QUESTION: What are some properties of identity and inverse matrices? 1 Let A =, B =, and C=. Consider the 2.
BY: KAYLEE J. KAMRYN P. CLOE B. EXPRESSIONS * EQUATIONS * FUNCTIONS * AND INEQUALITIES.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 4 Inverse, Exponential, and Logarithmic Functions Copyright © 2013, 2009, 2005 Pearson Education,
Year 9 Mathematics Algebra and Sequences
Patterns and Nonlinear Functions
Objective: Be able to add and subtract directed numbers.
Point Slope Form.
Applications of Inverse Matrices
Oral and Mental Starter
Composite functions.
Choosing the Best Method
Completing the Square.
Solve each quadratic using whatever method you choose!
Objective: Be able to add and subtract directed numbers.
Title: Solving Linear Equations Date: 24/04/13
4.7A Complete the Square Algebra II.
Solving a System of Linear Equations
Writing Rules for Linear Functions Pages
X ⦁ X = 64 ±8 ±14 X ⦁ X ⦁ X =
Presentation transcript:

Cryptography and Secret Codes or one reason that linear equations are cool.

Basic Cryptography Code ABCDEFGHIJKLMNOPQRSTUVWXYZ DEFGHIJKLMNOPQRSTUVWXYZABC Romans would use this type of code Here “LINEAR” becomes “OLQHDU” What would “HTXDWLRQ” be?

Numerical Code We can do more if we change letters into numbers: So that “FWJH” becomes “ ” Can you come up with another example? ABCDEFGHIJKLMNOPQRSTUVWXYZ

Numerical Codes Or we can even modify this code! Here “FWJH” becomes “ ” Writing code like a table is hard though. Can you think of a simple rule to describe this code? ABCDEFGHIJKLMNOPQRSTUVWXYZ

Linear Codes The rule we came up with “Change it to a number and add 3” is a linear code It is more easily written with the linear equation y=x+3 To encode “MUSTANGS” first change each letter to a number, and then apply the linear equation M  13  16; U  21  24; etc.

Linear codes How would you write “MUSTANG ON” in the linear code y=2x+5? First turn it into numbers: “ ” Then apply the linear code: “ ” Now try with the linear code y=-3x+80 How might we undo this? ABCDEFGHIJKLMNOPQRSTUVWXYZ

Linear Block Codes Linear block codes use more than one equation to make a code. How might you do this? First take a message “CRYPTOGRAPHY” and break it up into blocks. Here we will use block size 2, so CR-YP-TO-GR- AP-HY are the blocks.

Linear Block Codes You then need as many linear equations as your block size. We need 2 equations, so let’s use y=2x+5 and y=-3x+80 To make a code for CRYPTOGRAPHY, first take the first block ‘CR’ and encode it. C  3  2*3+5=11; R  18  -3*18+80=26 So ‘CR’ becomes ‘11 26’. What is the rest of the code? ABCDEFGHIJKLMNOPQRSTUVWXYZ

ABCDEFGHIJKLMNOPQRSTUVWXYZ A Problem Now encode “BOOT” using this block system. It becomes ‘ ’ The problem is that ‘O’ is encoded as ‘35’ for both rules. This is called collision. You can tell there is a double letter. To see this, solve the equation 2x+5=-3x+80 for x. ABCDEFGHIJKLMNOPQRSTUVWXYZ

Review Codes: Assign a new symbol to each letter Numerical Codes: Use numbers as the symbol Linear Codes: Use linear equations to change the numbers Linear Block Codes: Use more than one linear equation at a time Collision: When the same letter is changed to the same number in a linear block code

Now go make your own code!