Homework 5 Solutions

Similar documents
Homework 5 Solutions

Homework 3: Solutions

Homework 2: Solutions

Homework 4 Solutions

Math 242: Principles of Analysis Fall 2016 Homework 1 Part B solutions

MATH 271 Summer 2016 Practice problem solutions Week 1

1 Fundamental Concepts From Algebra & Precalculus

1 Solving Algebraic Equations

Problem Set 7 Solutions

Sequences, their sums and Induction

Research Methods in Mathematics Homework 4 solutions

56 CHAPTER 3. POLYNOMIAL FUNCTIONS

Solutions to Homework 2

Postulate 2 [Order Axioms] in WRW the usual rules for inequalities

Midterm Preparation Problems

Math Real Analysis

Midterm: Sample 3. ECS20 (Fall 2017) 1) Using truth tables, establish for each of the two propositions below if it is a tautology, a contradiction

Name (print): Question 4. exercise 1.24 (compute the union, then the intersection of two sets)

Sequence. A list of numbers written in a definite order.

9/5/17. Fermat s last theorem. CS 220: Discrete Structures and their Applications. Proofs sections in zybooks. Proofs.

Computer Science Section 1.6

A lower bound for X is an element z F such that

Practice Test III, Math 314, Spring 2016

Basic Proof Techniques

Recitation 7: Existence Proofs and Mathematical Induction

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

Homework 1 Solutions

Thus f is continuous at x 0. Matthew Straughn Math 402 Homework 6

MTHSC 3190 Section 2.9 Sets a first look

Ch 3.2: Direct proofs

MAC 1140: Test 1 Review, Fall 2017 Exam covers Lectures 1 5, Sections A.1 A.5. II. distance between a and b on the number line is d(a, b) = b a

Math1a Set 1 Solutions

In Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3

MATH 2400 (Azoff) Fall Notes to Homework Assignments. Problems from Chapter 1 of Spivak (Assignment 1)

Solutions to Homework Set 1

Algebra III and Trigonometry Summer Assignment

The Law of Averages. MARK FLANAGAN School of Electrical, Electronic and Communications Engineering University College Dublin

Basic properties of the Integers

Chapter 1: Foundations for Algebra

MATH 2554 (Calculus I)

Solutions to Homework 9

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

Math 3000 Section 003 Intro to Abstract Math Homework 6

Proofs. Chapter 2 P P Q Q

Partial Derivatives October 2013

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

Finals: Solutions. ECS 20 (Fall 2009) Patrice Koehl May 20, 2016

Math Homework # 4

Example: Limit definition. Geometric meaning. Geometric meaning, y. Notes. Notes. Notes. f (x, y) = x 2 y 3 :

3 The language of proof

Solutions for Homework Assignment 2

WILLIAM LOWELL PUTNAM MATHEMATICAL COMPETITION. (3k(k + 1) + 1), for n 1.

Identify the specified numbers by circling. 1) The integers in the following list: 8 16, 8, -10, 0, 9, - 9

Real Analysis - Notes and After Notes Fall 2008

Discrete Mathematics. Spring 2017

Proof by Contradiction

Due date: Monday, February 6, 2017.

PRACTICE PROBLEM SET

Proofs Not Based On POMI

HOMEWORK 1: SOLUTIONS - MATH 215 INSTRUCTOR: George Voutsadakis

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

Functions. Definition 1 Let A and B be sets. A relation between A and B is any subset of A B.

MAT115A-21 COMPLETE LECTURE NOTES

Homework 1. 10(b) A useful denial of the statement We will win the first game or the second one is We will lose the first two games.

p = This is small enough that its primality is easily verified by trial division. A candidate prime above 1000 p of the form p U + 1 is

Hence, (f(x) f(x 0 )) 2 + (g(x) g(x 0 )) 2 < ɛ

Test Codes : MIA (Objective Type) and MIB (Short Answer Type) 2007

0, otherwise. Find each of the following limits, or explain that the limit does not exist.

Graphing Linear Equations: Warm Up: Brainstorm what you know about Graphing Lines: (Try to fill the whole page) Graphing

In N we can do addition, but in order to do subtraction we need to extend N to the integers

MATH CSE20 Homework 5 Due Monday November 4

MA 301 Test 4, Spring 2007

C241 Homework Assignment 7

Discrete Math I Exam II (2/9/12) Page 1

In N we can do addition, but in order to do subtraction we need to extend N to the integers

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

Review of Power Series

ALGEBRA CLAST MATHEMATICS COMPETENCIES

Limits and Continuity

Testing Series with Mixed Terms

Mathematical Induction

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

COT 2104 Homework Assignment 1 (Answers)

Normal Forms Note: all ppts about normal forms are skipped.

Skills Practice Skills Practice for Lesson 10.1

Multiplication of Polynomials

A lower bound for X is an element z F such that

MT804 Analysis Homework II

(4) Using results you have studied, show that if x, y are real numbers,

MATH98 Intermediate Algebra Practice Test Form A

DR.RUPNATHJI( DR.RUPAK NATH )

Proofs. Chapter 2 P P Q Q

Natural Numbers: Also called the counting numbers The set of natural numbers is represented by the symbol,.

Equations and Inequalities

Homework I, Solutions

1 Take-home exam and final exam study guide

Chapter 2 Section 2.1: Proofs Proof Techniques. CS 130 Discrete Structures

(3,1) Methods of Proof

Math 320: Real Analysis MWF 1pm, Campion Hall 302 Homework 8 Solutions Please write neatly, and in complete sentences when possible.

MATH 2200 Final LC Review

Transcription:

Homework 5 Solutions ECS 0 (Fall 17) Patrice Koehl koehl@cs.ucdavis.edu February 8, 019 Exercise 1 a) Show that the following statement is true: If there exist two integers n and m such that n + n + 1 = m, then n =. Let P be the statement considered. P is an implication of the form p q with p defined as n and m are integers such that n + n + 1 = m and q defined as n =. We prove that p is false, the proposition P is therefore always true. The proposition p is: there exists two integer n and m are integers such that n +n+1 = m. However, we note that: a) n + n + 1 = (n + n) + 1, and, since n + n is an integer, n + n + 1 is odd. b) m is even, as m is an integer If p were to be true, we would have an odd number equal to an even number... this is a contradiction, and therefore p is false. Since p is false, p q is true. b) If x and y are rational numbers such that x < y, show that there exists a rational number z with x < z < y. This is an existence proof: we only need to find one example. Let x and y be two rational numbers, then let z = x+y which is also rational. Then z x = x+y x = y x > 0 as x < y. y z = y x+y = y x > 0 as x < y. x < z < y and z is rational. Exercise Let x be a real number. Show that x + x+1 + x+ = x. Let x = n, where n is an integer. By definition of floor, we have: n x < n + 1. Any integer n can either be of the form k or k + 1 or k + for some integer k. Thus, we consider three cases: 1

1) There exists an integer k such that n = k. We can rewrite the inequality above as: k x < k + 1 = k x < k + 1 < k + 1 x = k. (1) And, k + 1 x + 1 < k + = k < k + 1 x + 1 < k + < k + 1 x + 1 = k () k + x + < k + = k < k + x + < k + 1 x + = k () Combining equations (1) and () and (), we get x + x+1 + x+ = k = n = x ) There exists an integer k such that n = k + 1. We can rewrite the inequality above as: k + 1 x < k + = k < k + 1 x < k + < k + 1 x = k. (4) k + x + 1 < k + = k < k + x + 1 < k + 1 x + 1 = k (5)

k + x + < k + 4 = k + 1 x + < k + 4 < k + x + = k + 1 (6) Combining equations (4), (5) and (6), we get x + x+1 + x+ = k + k + k + 1 = k + 1 = n = x ) There exists an integer k such that n = k +. We can rewrite the inequality above as: k + x < k + = k < k + x < k + 1 x = k. (7) k + x + 1 < k + 4 = k + 1 x + 1 < k + 4 < k + x + 1 = k + 1 (8) k + 4 x + < k + 5 = k + 1 < k + 4 x + < k + 5 < k + x + = k + 1 (9) Combining equations (7), (8) and (9), we get x + x+1 + x+ = k + k + 1 + k + 1 = k + = n = x

Exercise Let x be a real number and an integer greater or equal to. Show that x = x + x+1 +... + x+ 1. We could use a proof by case that generalizes the solution described for exercise, using case; there is however a faster and maybe more elegant solution. Let us define: f(x) = x x x+1... x+ 1 We show first that f(x) is periodic, with period 1. For this, we need to show that: x R, f (x + 1) = f(x) Let x be a real number. otice that: f (x + 1) = x + 1 x + 1 x +... x + 1 x + = x + 1 x + 1 x +... x + 1 x + 1 = x + 1 x + 1 x +... x + 1 x 1 = f(x) Since this is true with no conditions on x, it is true for all x, and therefore f is periodic, with 1 being one period. A periodic function needs to be defined only on one period, here in the interval [0, 1). Let x be in this interval. Then: f(x) = 0. 0 x < 1 0 x < 1 < 1 0 x + 1 < 1 + 1 = < 1... 0 x + 1 < 1 + 1 = = 1 Since f(x) = 0 on one of its period, we have f(x) = 0 x = x + x+1 Exercise 4 +... + x+ 1 x R. : Let x be a real number. Then show that ( x x) (x x ) 1 4 When x is integer, then x = x = x implies ( x x) (x x ) = 0 1 4. If x is not an integer, there exista a real number ɛ such that x = x + ɛ where 1 > ɛ > 0. Then(x x ) = ɛ and 4

( x x) = 1 ɛ. Then ( x x) (x x ) = ɛ(1 ɛ) = ɛ ɛ = 1 4 (ɛ ɛ + 1 4 ) = 1 4 (ɛ 1 ) 1 4 Exercise 5 Let x be a real number. Solve the following equations: a) x + x 5 = 1 x Let x be a real number. We notice first that x + x 5 is an integer., if x is a solution of the equation then 1 x should also be an integer, let say k. If x = k, for some integer k, solves the equation, then (x + x 5) is an integer so x + x 5 = (x + x 5) and x + x 5 = k. This implies 4k + k 5 = k = 4k + k 5 = 0 = 4k 4k + 5k 5 = 0 = 4k(k 1) + 5(k 1) = 0 = (k 1)(4k + 5) = 0 = k = 1, k = 5 4 As k is an integer the only solution is k = 1 i.e. x =. b) 4 x = x + 1 for x R Let x be a real number that solves the equation. We notice first that 4 x is an integer, which we write as k. Then, the equation gives k = x + 1, where k is the integer defined before, and therefore x = k 1. Then 4 x = k = 4 (k 1 ) = k = 4 k + 1 = k = 4 k = k = k = = x = k 1 = So, x = solves the equation. 5

Extra Credit Let x and y be two real numbers such that 0 < x y. We define: a) The customized arithmetic mean m of x and y: m = x + y b) The customized geometric mean g of x and y: g = x 1 y ( 1 c) The customized harmonic mean h of x and y: h = x + ) y Show that: x h g m y We will proceed by steps: a) Let us show first that: i) x m y otice that: m x = x+y x = (y x) 0 since y x; therefore m x. y m = y x y = y x 0; therefore y m. ii) x g y otice that g x = x 1 y x 1 x = x 1 increasing function of x, g x 0; therefore ( g x. y g = y 1 y x 1 y = y y 1 x 1 increasing function of x, y g 0; therefore y g. ( ) y x. Since x y and f(x) := x is an ). Since x y and f(x) := x 1 is an iii) x h y otice that 1 h is the customized arithmetic mean of 1 x and 1 y. From above, we can say that 1 y 1 h 1 x from which we deduce that x h y. b) g m Since, both g and m are positive, therefore m g 0 7m 7g 0 (x + y) 7xy 0. ow, in these kinds of inequalities, it is always helpful to find the special case (possibly by intuition or hit and trial) when the equality holds. ote that when x = y, then m = x = g = (x + y) 7xy = 0. So, we can expect that (x y) is a factor in (x + y) 7xy. Also if the polynomial attains a minimum at x = y, then there should be factor (x y) in (x + y) 7xy. ow, we factorize (x + y) 7xy = x + 6x y + 1xy + 8y 7xy = x + 6x y 15xy + 8y = x x y + xy + 8x y 16xy + 8y = x(x y) + 8y(x y) = (x + 8y)(x y) 0 as y x > 0. Hence, m g 0 i.e. m g 6

c) h g We note again that 1 h is the customized arithmetic mean of 1 x and 1 y. The customized geometric mean of 1 x and 1 y is ( 1 x ) 1 ( 1 y ) = 1 x 1 y From a), b), and c), we can conclude that x h g m y. = 1 g. From b) above, we have 1 g 1 h, therefore h g. 7