LAMC Intermediate I & II October 12, Oleg Gleizer. Warm-up

Similar documents
LAMC Junior Circle January 29, Olga Radko and Oleg Gleizer. A digit and a number. Place-value numerals. Properties of numbers.

LAMC Beginners Circle October 6, Oleg Gleizer. A problem solving session. Problem 1 Put the right sign, >, <, or =, between the fractions.

Example: x 10-2 = ( since 10 2 = 100 and [ 10 2 ] -1 = 1 which 100 means divided by 100)

Binary addition example worked out

Park School Mathematics Curriculum Book 9, Lesson 2: Introduction to Logarithms

Egyptian Fractions: Part I

Number Bases: Dr Olga Maleva

Arithmetic: Decimals, Fractions and Percentages

Egyptian Fractions: Part I

6.5 Metric U.S. Customary Measurement Conversions

Ch. 3 Equations and Inequalities

base 2 4 The EXPONENT tells you how many times to write the base as a factor. Evaluate the following expressions in standard notation.

MATH Dr. Halimah Alshehri Dr. Halimah Alshehri

5.2 Polynomial Operations

We say that the base of the decimal number system is ten, represented by the symbol

All the examples in this worksheet and all the answers to questions are available as answer sheets or videos.

9.2 Multiplication Properties of Radicals

Section 1: Whole Numbers TERM 1

Math 7 Homework # 46 M3 L1

Student Activity: Finding Factors and Prime Factors

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

Chapter 2 Linear Equations and Inequalities in One Variable

Solving with Absolute Value

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

Quadratic Equations Part I

HW: page 168 (12-24 evens, 25-28) Extra Credit # 29 & 31

Chapter 3. Expressions and Equations Part 1

You separate binary numbers into columns in a similar fashion. 2 5 = 32

Counting in Different Number Systems

Reading Scales. facts. count aloud Count by 12s from 12 to 60. mental math. problem solving. Power Up F

SECTION 2.3: LONG AND SYNTHETIC POLYNOMIAL DIVISION

Math Class: Algebra I. Summer Review Packet DUE DATE:

Algebra I Summer Review Packet

The Celsius temperature scale is based on the freezing point and the boiling point of water. 12 degrees Celsius below zero would be written as

One of your primary goals in mathematics should be to become a good problem solver. It helps to approach a problem with a plan.

Chapter 5 Simplifying Formulas and Solving Equations

3-4 Solving Equations Containing Decimals. Warm Up Problem of the Day Lesson Presentation Lesson Quizzes

September 12, Math Analysis Ch 1 Review Solutions. #1. 8x + 10 = 4x 30 4x 4x 4x + 10 = x = x = 10.

How long is the arrow?

The Basics: Twenty-Seven Problems

MEASUREMENT IN THE LABORATORY

INTERMEDIATE 1 The Maths Pathway

6th Grade. Equations & Inequalities.

Unit #3 Linear Algebra Review

1: Please compute the Jacobi symbol ( 99

Park Forest Math Team. Meet #3. Algebra. Self-study Packet

Grade 7. Critical concept: Integers. Curricular content. Examples and Strategies

32. SOLVING LINEAR EQUATIONS IN ONE VARIABLE

Pre-Lab 0.2 Reading: Measurement

Physics 12 Rules for Significant Digits and Rounding

Lecture 17: Trees and Merge Sort 10:00 AM, Oct 15, 2018

Chemistry: The Central Science

14:332:231 DIGITAL LOGIC DESIGN. Why Binary Number System?

9.4 Radical Expressions

Foundations 5 Curriculum Guide

IES Parque Lineal - 2º ESO

CP Algebra 2. Summer Packet. Name:

Lesson/Unit Plan Name: Algebraic Expressions Identifying Parts and Seeing Entities. as both a single entity and a sum of two terms.

C. Graph the solution to possibilities for Sharmara s number and give the solution in interval notation.

Calculating methods. Addition. Multiplication. Th H T U Th H T U = Example

2 ways to write the same number: 6,500: standard form 6.5 x 10 3 : scientific notation

Chemistry Chapter 2 Data Analysis

Prepared by Sa diyya Hendrickson. Package Summary

Practical Algebra. A Step-by-step Approach. Brought to you by Softmath, producers of Algebrator Software

Chapter 1. Chemical Foundations

Lesson 21 Not So Dramatic Quadratics

CHAPTER 7: RATIONAL AND IRRATIONAL NUMBERS (3 WEEKS)...

Scientific Method: a logical approach to understanding or solving problems that needs solved.

Take the Anxiety Out of Word Problems

Unit 5. Linear equations and inequalities OUTLINE. Topic 13: Solving linear equations. Topic 14: Problem solving with slope triangles

Math 302 Module 4. Department of Mathematics College of the Redwoods. June 17, 2011

Math 0301 Course Review. 1) 8 less the quotient of 52 and 4. 2) The product of 7 and 25. 9) 5x 3.2y + 6.8z 1.1x + 0.2y 10) (11x 9) (43x 2)

Chapter 1, section 2. Measurement. Note: It will probably take 2-3 class periods to get through this entire presentation.

LAMC Beginners Circle January 12, Oleg Gleizer. Warm-up

Sample Math Placement Exam Questions

MATH NUMBER SENSE 7 Performance Objective Task Analysis Benchmarks/Assessment Students:

Polynomials. This booklet belongs to: Period

Name Class Date. You can use the properties of equality to solve equations. Subtraction is the inverse of addition.

Mathematics GRADE 8 Teacher Packet

In this unit we will study exponents, mathematical operations on polynomials, and factoring.

Chapter 7 - Exponents and Exponential Functions

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

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Homework 5. This homework is due October 6, 2014, at 12:00 noon.

CH 59 SQUARE ROOTS. Every positive number has two square roots. Ch 59 Square Roots. Introduction

Astronomy 102 Math Review

Incoming 7 th Grade Summer Packet

Arithmetic with Whole Numbers and Money Variables and Evaluation

UNIT 5 EXPONENTS NAME: PERIOD:

Algebra. Mathematics Help Sheet. The University of Sydney Business School

Measurement & Lab Equipment

Chem 115 POGIL Worksheet - Week 1 Units, Measurement Uncertainty, and Significant Figures - Solutions

Chemistry 1. Worksheet 4. Temperature in Chemistry. 1 MathTutorDVD.com

MATHEMATICS SUBTEST PRACTICE TEST APPENDIX VERSION 2: Multiple-Choice Question Analyses

The Methods of Science

Polynomial Operations

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

Polynomial Division. You may also see this kind of problem written like this: Perform the division x2 +2x 3

x y = 2 x + 2y = 14 x = 2, y = 0 x = 3, y = 1 x = 4, y = 2 x = 5, y = 3 x = 6, y = 4 x = 7, y = 5 x = 0, y = 7 x = 2, y = 6 x = 4, y = 5

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

8th Grade Scientific Notation

Transcription:

LAMC Intermediate I & II October 2, 204 Oleg Gleizer prof40g@math.ucla.edu Warm-up Problem A student was asked to divide some number by two and to add three to the result. By mistake, the student multiplied the number by two and subtracted three from the product. Accidentally, the student got the right answer. Find the original number.

Problem 2 The Celsius temperature scale divides the temperature segment where the (distilled ) water stays liquid into 00 equal parts. At the sea level, 0 C is the freezing point, 00 C is the boiling one. In the Fahrenheit scale, the (distilled) water freezes at 32 F and boils at 22 F. The transition between the scales is given by the following formula. Find a and b. T F = a T C + b What temperature is the same in both scales? 2

Problem 3 Alice bought some chocolates and lollipops in the ratio 7:4. The price of all the chocolates to the price of all the lollipops was in the ratio 5:2. The girl spent $27.40 in all. If each lollipop costs 5 cents less than each chocolate, how many lollipops did Alice buy? 3

Binary numbers Let us recall that there are only two digits in the binary system, 0 and. 0 0 = 0 2 (remember, the subscript denotes the base), 0 = 2, but 2 0 = 0 2, 3 0 = 2, and so on. Example Find the binary representation of the number 74 0. Let us list all the powers of 2 that are less than or equal to 74. n 2 n n 2 n 0 5 32 2 6 64 2 4 7 28 3 8 8 256 4 6 It turns out that the largest integral power of two still less 4

than 74 is 28 = 2 7. 74 = 28 + 46 = 2 7 + 46 The largest power of two less than 46 is 32 = 2 5. 74 = 28 + 32 + 4 = 2 7 + 2 5 + 4 Finally, it is not hard to represent 4 as a sum of powers of two, 4 = 8 + 4 + 2. 74 = 28 + 32 + 8 + 4 + 2 = 2 7 + 2 5 + 2 3 + 2 2 + 2 To write the number 74 0 in the binary form, we now need to fill the following eight boxes with either zeros or ones. 7 6 5 4 3 2 0 The numbers under the boxes are the powers of two. If a power is absent from the decomposition of the number, then the corresponding box is filled with zero. For example, there is no = 2 0 in the decomposition of the number 74 we have computed, so the first box from the right is filled with zero. 7 6 5 4 3 2 0 2 = 2 is present in the decomposition, so the box corresponding to the first power gets filled with one. 0 7 6 5 4 3 2 0 0 5

4 = 2 2 is also present in the decomposition, so the box corresponding to the second power of two gets filled with one. 7 6 5 4 3 2 0 0 Filling up all the boxes gives us the binary representation. 0 0 0 7 6 5 4 3 2 0 We write it down as follows. 74 0 = 000 2 Problem 4 Find the binary representations of the following decimal numbers. 2 0 = 25 0 = 32 0 = 00 0 = 6

Problem 5 Find the decimal representations of the following binary numbers. 0 2 = 00 2 = 000000 2 = 000 2 = Problem 6 Complete the binary addition and multiplication tables below. + 0 0 0 0 7

Problem 7 Use long addition to sum up the following two binary numbers without switching to the decimals. 0 + 0 0 Then find the decimal representation of the summands and of the sum and check your answer. 0 2 = 00 2 = 8

A balance scale is a device for comparing weights very similar to a see-saw at a children s playground. You put two weights on the scales plates. If the weights are equal, the scales remain in balance. If the weights are different, the lighter weight goes up. Problem 8 Given a balance scale and the weights of lb, 2 lbs, 4 lbs, and 8 lbs (one of each), prove that you can weigh any (integral) load from to 5 lbs. Why do you think this is possible? 9

Problem 9 Perform the following long multiplication without switching to the decimals. 0 0 0 Then find the decimal representations of the factors and of the product and check your answer. 0 2 = 00 2 = 0

Problem 0 Find the missing binary digits. 0 + 0 0 0 0 0 + 0 0 0 0 0 0 0 Problem Recover the missing binary digits making the below inequalities correct. 0 0 > 0 0 0 0 0 > 0 0 0 0 > 0 0

Problem 2 Perform the following subtraction of the binary numbers. 0 0 0 0 Then find the decimal representations of the numbers and of the difference and check your answer. 000 2 = 0 2 = 2

Problem 3 Solve the following equations in the binaries. x + = 0 x = x 0 = 0 x = x 0 = 0 x = x + 0 = 000 x = x + = 0 x = x 00 = 0 x = 3

Complement of a decimal number A decimal complement of a positive decimal integer x is a positive decimal integer c such that x + c equals the smallest number of the form 0 n greater than or equal to x. For example, the decimal complement of 7 is 3 (7 + 3 = 0). Let us find the decimal complement of 243. The smallest power of ten greater than the number is 000. To have zero as the last digit of the sum, the last digit of the complement must be equal to 7. c = 7 3 + 7 = 0, so one carries over. Therefore, the second digit of the complement must be equal to five. c = 5 7 + 4 + 5 = 0, so one carries over again. Hence, the third digit of c must be equal to seven. c = 7 5 7 The number c is the desired complement. 243 + 757 = 000 4

Problem 4 Find decimal complements of the following decimal numbers. x c 24 79 7, 834 5

A decimal complement is a great computational tool that replaces a trickier operation, subtraction, with an easier one, addition. For example, let us see how it helps us to subtract 7, 834 from 9, 632. 9, 632 7, 834 = 9, 632 (0, 000 2, 66) = 9, 632+2, 66 0, 000 Instead of subtracting 7, 834 from 9, 632, we add the decimal complement of 7, 834, the number 2, 66, to 9, 632 and then subtract 0, 000. 9, 632 7, 834 = 9, 632+2, 66 0, 000 =, 798 0, 000 =, 798 Problem 5 Use the above trick to solve the following subtraction problems. 92 24 = 533 79 = 025 787 = 6

Complement of a binary number A binary complement of a positive binary integer x is a positive binary integer c such that x + c equals the smallest number of the form 2 n greater than or equal to x. For example, the decimal complement of 0 is (0 + = 000). The following algorithm describes how to construct c from x.. Read x from the right to the left. 2. If the first digit on the right is zero, move on to the next digit. 3. Do not change the first one you meet on the way. 4. After the first one, change all the zeros you meet to ones and all the ones to zeros. Let us use the algorithm to find the binary complement of the number x = 0000. The algorithm tells us to keep two zeros and the first one on the right hand side of x. c = 0 0 From this point on, we need to switch zeros and ones. So the next one becomes zero. c = 0 0 0 The next zero becomes one. 7

c = 0 0 0 And so froth to the end. c = 0 0 0 0 0 Dropping the zero at the front of the complement, we get the following number. c = 0000 Problem 6 Use long addition to check that c is indeed the complement of x. 0 0 0 0 + 0 0 0 0 What power of two do x and c add up to? n = Problem 7 Find binary complements of the following numbers. x = c = x = 00 c = 8

Similar to the decimal case, we can use a binary complement to make the operation of subtraction simpler. Suppose that we need to subtract a binary number x from a binary number y. Since the sum of x and its complement c equals some power of two, x + y = 2 n = } 0.{{.. 0} 2, n times we can perform the subtraction as follows. y x = y (2 n c) = y + c 2 n This way we replace a general subtraction problem by an addition problem followed by a subtraction of the simplest possible kind, that of a number having a one for the first digit and zeros for the rest of them. To show the efficiency of the method, let us use it to solve Problem 2. We need to subtract 0 from 000. Let us rewrite the greater number first. Instead of 0, let us write its binary complement we are about to add. The complement is found using the algorithm on page 7. Finally, let us write down the sum of 0 and its complement that we will subtract. 0 0 0 0 0 0 0 + 0 0 0 0 0 0 9

Performing first the addition and then the subtraction completes the computation. 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 Question It may be that the new subtraction algorithm is a bit easier than the old one, but do we really need it? We don t, but our computers do. The heart of the computer is a chip known as a CPU, central processing unit. Nearly all it can do is adding binary numbers. You just have learned how it does subtraction! 20

Problem 8 Use the new method to solve the following subtraction problems. 0 0 0 0 0 2

If you are finished doing all the above, but there still remains some time... Problem 9 Three farmers went to the market to sell chicken. One farmer brought 0 chicken to sell, the second brought 6, while the third brought 26. The farmers agreed to charge the same price for their animals. After the lunch break, afraid that they may not sell all of the chicken, the farmers lowered the price. As a result, they sold all the chicken, making $35 each. What was the price before and after the lunch break? 22

Homework An algorithm is a clear finite set of instructions needed to perform a computation or to solve a problem. For example, the algorithm you have seen on page 7 prescribes the steps needed to efficiently execute the subtraction of binary numbers. Problem 20 Design an algorithm for the division of binary numbers. Hint: realize division as repeated subtraction. 23