Intermediate Math Circles March 7, 2012 Problem Set: Linear Diophantine Equations II Solutions

Similar documents
Intermediate Math Circles February 29, 2012 Linear Diophantine Equations I

Math Circles - Lesson 2 Linear Diophantine Equations cont.

The Euclidean Algorithm and Diophantine Equations

Intermediate Math Circles February 26, 2014 Diophantine Equations I

Common Core Algebra Rock the Regents Station 1:Linear Equations & Inequalities. Name: Teacher: Date: Grade: (circle one) Period:

Topic 1. Solving Equations and Inequalities 1. Solve the following equation

Chapter 1. Greatest common divisor. 1.1 The division theorem. In the beginning, there are the natural numbers 0, 1, 2, 3, 4,...,

Math 2 Variable Manipulation Part 1 Algebraic Equations

WRITING EQUATIONS through 6.1.3

Warm-up. Using n as the variable, write an equation. than Ned s earnings. What did Ned earn? 1. 7 more than a number is 55.

Linear Diophantine Equations

Math 10 - Unit 8 REVIEW WORKSHEET - Systems of Linear Equations

Chapter 6 review. 1. Which statement is true about the graphs of these equations?

5-3B Systems Review Puzzle

An Introduction to Mathematical Thinking: Algebra and Number Systems. William J. Gilbert and Scott A. Vanstone, Prentice Hall, 2005

Essential Question How can you use substitution to solve a system of linear equations?

Math 1 Variable Manipulation Part 4 Student

Chapter 1-2 Add and Subtract Integers

Study Guide-Quarter 1 Test

UNIT 2: REASONING WITH LINEAR EQUATIONS AND INEQUALITIES. Solving Equations and Inequalities in One Variable

Measurement and Data Core Guide Grade 1

Mental Math. Grade 10 Essential Mathematics (20S) General Questions

The ACCUPLACER (Elementary Algebra) is a 12 question placement exam. Its purpose is to make sure you are put in the appropriate math course.

MAT 113 Test #2 Solutions

Systems of Equations. Red Company. Blue Company. cost. 30 minutes. Copyright 2003 Hanlonmath 1

Unit 5 SIMULTANEOUS LINEAR EQUATIONS

Pre-Test Chapter

7.4 Using a Substitution Strategy to Solve a System of Linear Equations

Lines and Systems Review

= $ m. Telephone Company B charges $11.50 per month plus five cents per minute. Writing that mathematically, we have c B. = $

BOROUGH OF MANHATTAN COMMUNITY COLLEGE DEPARTMENT OF MATHEMATICS MAT 051 Midterm Examination Review

Mathematics Florida Standards (MAFS) Grade 1

Lesson Title PA Common Core CCSS Numbers and Counting. Instruction Lesson Day Routines CC A.3 2.MD.8

SAMPLE TEST MATHEMATICS ExPLANATIONS OF CORRECT ANSWERS

A Level Summer Work. Year 11 Year 12 Transition. Due: First lesson back after summer! Name:

Georgia Online Formative Assessment Resource (GOFAR) 5th Grade Math

50 Must Solve Algebra Questions

the distance from the top to the bottom of an object height a measurement of how heavy something is weight

Systems of Linear Equations: Solving by Adding

Name Period Date DRAFT

Work. Work. Work. Directions: Choose the best answer. Answer ALL questions. Show ALL work in column 2. If. Common Core Algebra I Regents Review #2

Algebra II First Semester Assignment #5 (Review of Sections 1.1 through 1.8)

Pre-Test. Name Date. 3 3 x 5 5. Solve each equation. 2. 2x x

First Grade Common Core Math: Freebie

GRADE LEVEL: THIRD SUBJECT: MATH DATE: CONTENT STANDARD INDICATORS SKILLS ASSESSMENT VOCABULARY ISTEP

NOTES. [Type the document subtitle] Math 0310

Ch 1. The Language of Algebra

Directions: Answers must be left in one of the following forms:

California 3 rd Grade Standards / Excel Math Correlation by Lesson Number

The problems in this booklet are organized into strands. A problem often appears in multiple strands. The problems are suitable for most students in

Name: Class: Date: ID: A

Applications of Systems of Equations

50 Must Solve Algebra Questions

RP7-31 Using Proportions to Solve Percentage Problems I

LESSON 2 PRACTICE PROBLEMS KEY

13. Convert to a mixed number: Convert to an improper fraction: Are these two fractions equivalent? 7

Name Class Date. What is the solution to the system? Solve by graphing. Check. x + y = 4. You have a second point (4, 0), which is the x-intercept.

Math 109 HW 9 Solutions

1. Graph the system of equations and tell the solution. 1. Solution

Algebra. Chapter 6: Systems of Equations and Inequalities. Name: Teacher: Pd:

Chapter 1: Fundamentals of Algebra Lecture notes Math 1010

Chapter 3. Expressions and Equations Part 1

Chapter 9: Equations and Inequalities

JUMPMath. Manitoba Curriculum Correlations. Contents

GAP CLOSING. Algebraic Expressions. Intermediate / Senior Facilitator s Guide

State Mu Alpha Theta Contest 2007 Algebra 3&4 Class Test

Student Book SERIES. Time and Money. Name

1.1 Real Numbers and Number Operations

Released 2010 Achievement Test. Mathematics GRADE

2006 Marywood Mathematics Contest

This is Solving Linear Systems, chapter 3 from the book Advanced Algebra (index.html) (v. 1.0).

I. ORDER OF OPERATIONS

4.4 Solving Linear Systems in Three Variables

In notes, handouts, tests shaded is Positive and non-shaded (white) is Negative

WRITING EQUATIONS 4.1.1

Harbor Creek School District

2.1 Simplifying Algebraic Expressions

Solving Linear Systems: Substitution

2. If an object travels at five feet per second, how many feet does it travel in one hour?

A Readable Introduction to Real Mathematics

Lesson 8: Representing Proportional Relationships with Equations

Question 4: Expand and simplify: (x - 4) (x - 6) Answer: x 2-10x Question 1: Expand and simplify: (x + 3) (x + 8) Answer: x x + 24

Unit 3 Linear Algebra & Unit 4 Systems of Linear Equations REVIEW. + is equal to 2.

2007 Marywood Mathematics Contest

Math 1 Variable Manipulation Part 4 Word Problems

LESSON 5.2 PROBLEM SOLVING

ACTIVITY 3. Learning Targets: 38 Unit 1 Equations and Inequalities. Solving Inequalities. continued. My Notes

Mental Math 5 th Grade

Directions. Answering Multiple-Choice Questions. Answering Open-Response Questions

Math II Final Exam Question Bank Fall 2016

('')''* = 1- $302. It is common to include parentheses around negative numbers when they appear after an operation symbol.

My Favorite Problems, 2 Harold B. Reiter University of North Carolina Charlotte

FSA Algebra I End-of-Course Review Packet. Algebra and Modeling

Arithmetic Testing OnLine (ATOL) SM Assessment Framework

Serena: I don t think that works because if n is 20 and you do 6 less than that you get 20 6 = 14. I think we should write! 6 > 4

Factoring and Expanding Linear Expressions

BETHLEHEM CATHOLIC HIGH SCHOOL

Northwest Arkansas Instructional Alignment Second Grade Mathematics. Objective

GEOMETRY AND MENSURATION...

SOLVING LINEAR INEQUALITIES

Transcription:

Intermediate Math Circles March 7, 2012 Problem Set: Linear Diophantine Equations II Solutions 1. Alyssa has a lot of mail to send. She wishes to spend exactly $100 buying 49-cent and 53-cent stamps. Parts (a)-(d), will step you through determining the number of ways she can do so. Let s let x represent the number of 49-cent stamps she buys and y represent the number of 53-cent stamps she buys. a) Use the Euclidean Algorithm to calculate gcd(49, 53). So gcd(49, 53) = 1 53 = 1 49 + 4 (1) 49 = 12 4 + 1 (2) 4 = 4 1 + 0 (3) b) Find a solution to 49x + 53y = 1. Working backwards through the steps in the Euclidean Algorithm in part (a): 1 = 49 12 4 from (2) = 49 12 (53 1 49) from (1) = 13 49 12 53 So one solution is x = 13, y = 12. 1

c) Find all solutions to 49x + 53y = 10000. Since gcd(49, 53) = 1 and 1 divides 10000, we know that there is a solution to this linear Diophantine equation. 49(13) + 53( 12) = 1 Multiplying both sides by 10000: So one solution is x = 130000, y = 120000. 10000(49(13) + 53( 12)) = 10000(1) 49(10000(13)) + 53(10000( 12)) = 10000 The complete solution is: x = 130000 + 53n, y = 120000 49n, where n is any integer. 49(130000) + 53( 120000) = 10000 d) Find all solutions to 49x + 53y = 10000, where x 0, y 0. In order to have x 0, we would need x = 130000 + 53n 0, 53n 130000 Thus, n 2452.83... and since n is an integer, this implies that we must have n 2452. In order to have y 0, we would need y = 120000 49n 0, 49n 120000 Thus, n 2448.98... and since n is an integer, this implies that we must have n 2449. So 2452 n 2449. So the solutions are: n = 2452 : x = 44, y = 148 n = 2451 : x = 97, y = 99 n = 2450 : x = 150, y = 50 n = 2449 : x = 203, y = 1 e) List all of the ways that Alyssa can spend exactly $100 buying 49-cent and 53-cent stamps. Alyssa has 4 possibilities. She could buy: 44 49-cent stamps and 148 53-cent stamps, or 97 49-cent stamps and 99 53-cent stamps, or 150 49-cent stamps and 50 53-cent stamps, or 203 49-cent stamps and 1 53-cent stamp 2

2. At a museum, an adult ticket costs $10 and a student ticket costs $6. Suppose your school group spends exactly $156 on tickets for a field trip to the museum. Determine all possibilities for the number of adults and students who went on the field trip. Let x represent the number of student tickets and y represent the number of adult tickets. We need to solve the linear Diophantine equation 6x + 10y = 156. From the Euclidean Algorithm, we know: Working backwards we get: 10 = 1 6 + 4 (1) 6 = 1 4 + 2 (2) 4 = 2 2 + 0 (3) 2 = 6 1 4 from (2) = 6 1 (10 1 6) from (1) = 2 6 1 10 So 6(2) + 10( 1) = 2. But we need to solve 6x + 10y = 156. Multiplying both sides by 78: 6(2) + 10( 1) = 2 78(6(2) + 10( 1)) = 78(2) 6(78(2)) + 10(78( 1)) = 156 6(156) + 10( 78) = 156 So one solution to 6x + 10y = 156 is x = 156, y = 78. x = 156 + ( 10)n = 156 + 5n and y = 78 ( 6 )n = 78 3n 2 2 Since x and y represent the number of students and adults, we need x 0 and y 0. In order to have x 0, we would need x = 156 + 5n 0, 5n 156, thus n 31.2 and since n is an integer, this implies that we must have n 31. In order to have y 0, we would need y = 78 3n 0, 3n 78, thus n 26 So 31 n 26 and the possibilities are: n = 26 : x = 26, y = 0 (so, 26 student tickets and 0 adult tickets) n = 27 : x = 21, y = 3 (so, 21 student tickets and 3 adult tickets) n = 28 : x = 16, y = 6 (so, 16 student tickets and 6 adult tickets) n = 29 : x = 11, y = 9 (so, 11 student tickets and 9 adult tickets) n = 30 : x = 6, y = 12 (so, 6 student tickets and 12 adult tickets) n = 31 : x = 1, y = 15 (so, 1 student ticket and 15 adult tickets) 3

3. Determine the number of ways you can make exactly $200 using exactly 1000 coins if each coin is a quarter, a dime or a nickel. Let q represent the number of quarters, d represent the number of dimes and n represent the number of nickels. The information given in the problem tells us that q + d + n = 1000 (1) 25q + 10d + 5n = 20000, dividing by 5, 5q + 2d + n = 4000 (2) Subtracting (1) from (2) we get: 4q + d = 3000. So we need to solve the linear Diophantine equation 4q + d = 3000. gcd(4, 1) = 1 and 4(0) + 1 = 1. Multiplying both sides by 3000: 4(0) + 1(3000) = 3000 So one solution to 4q + d = 3000 is q = 0, d = 3000. q = ( 1)k = k and d = 3000 ( 4 )k = 3000 4k 1 1 Since q + d + n = 1000, we have n = 1000 q d = 1000 k (3000 4k) = 3k 2000 Since q, d and n represent coins, we need q 0, d 0 and n 0. In order to have q 0, we would need q = k 0 In order to have d 0, we would need d = 3000 4k 0, 4k 3000, thus k 750. In order to have n 0, we would need n = 3k 2000 0, 3k 2000, thus k 666. 6 And since k must be an integer, we need k 667. So 667 k 750 and so there are 750 667 + 1 = 84 ways to make exactly $200 using exactly 1000 coins if each is a quarter, dime or nickel. 4

4. Find the smallest positive integer x so that 157x leaves remainder 10 when divided by 24. We need to solve 157x = 24y + 10 for integers x and y. In other words, we need to solve the linear Diophantine equation 157x 24y = 10. From the Euclidean Algorithm, we know: Working backwards we get: 157 = 6 24 + 13 (1) 1 = 11 5 2 from (4) 24 = 1 13 + 11 (2) 13 = 1 11 + 2 (3) 11 = 5 2 + 1 (4) 2 = 2 1 + 0 (5) = 11 5 (13 1 11) from (3) = 6 11 5 13 = 6 (24 1 13) 5 13 from (2) = 6 24 11 13 = 6 24 11 (157 6 24) from (1) = 72 24 11 157 So 157( 11) 24( 72) = 1. But we need to solve 157x 24y = 10. Multiplying both sides by 10: 157( 11) 24( 72) = 1 10(157( 11) 24( 72)) = 10(1) 157(10( 11)) 24(10( 72)) = 10 157( 110) 24( 720) = 10 So one solution to 157x 24y = 10 is x = 110, y = 720. x = 110 + ( 24 157 )n = 110 24n and y = 720 ( )n = 720 157n 1 1 We are asked for the smallest positive value of x. In order to have x 0, we would need x = 110 24n 0, 24n 110, thus n 4.583... and since n is an integer, this implies that we must have n 5. So the smallest possible value for x is when n = 5, and we have x = 110 24( 5) = 10. 5

5. A person cashes a cheque at the bank. By mistake the teller pays the person the number of cents as dollars and the number of dollars as cents. The person spends $3.50 before noticing the mistake, then after counting the money finds that there is exactly double the amount of the cheque. For what amount was the cheque drawn? Let the original cheque be for x dollars and y cents. The information given in the question tells us that 2(100x + y) = 100y + x 350. Rearranging, we get 199x 98y = 350. In other words we need to solve the linear Diophantine equation 98y 199x = 350. From the Euclidean Algorithm, we know: 199 = 2 98 + 3 (1) Working backwards we get: 1 = 3 1 2 from (3) 98 = 32 3 + 2 (2) 3 = 1 2 + 1 (3) 2 = 2 1 + 0 (4) = 3 1 (98 32 3) from (2) = 33 3 1 98 = 33 (199 2 98) 1 98 from (1) = 33 199 67 98 So 98( 67) 199( 33) = 1. But we need to solve 98y 199x = 350. 98( 67) 199( 33) = 1 Multiplying both sides by 350: 350(98( 67) 199( 33)) = 350(1) 98(350( 67)) 199(350( 33)) = 350 98( 23450) 199( 11550) = 350 So one solution to 98y 199x = 350 is x = 11550, y = 23450. x = 11550 + ( 98 199 )n = 11550 + 98n and y = 23450 ( )n = 23450 + 199n 1 1 Since x and y represent the number of dollars and cents, we need x 0 and y 0. In order to have x 0, we need x = 11550 + 98n 0, and so 98n 11550, thus n 117.86... Since n is an integer, this implies that we must have n 118. In order to have y 0, we need y = 23450 + 199n 0, and so 199n 23450, thus n 117.84... Since n is an integer, this implies that we must have n 118. Also, since y represents the number of cents, we need y 99. In order to have y 99, we need y = 23450 + 199n 99, and so 199n 23549, thus n 118.34... Since n is an integer, this implies that we must have n 118. So 118 n 118, and so the only possibility is for n = 118. When n = 118 : x = 11550 + 98(118) = 14, y = 23450 + 199(118) = 32. So the original cheque was for $14.32. 6