Question

In: Math

Part I: Constructing proofs. You must write down all proofs in acceptable mathematical language: make sure...

Part I: Constructing proofs.

You must write down all proofs in acceptable mathematical language: make sure you mark the beginning and end of the proof, define all variables, use complete, grammatically correct sentences, and give a justification for each assertion (e.g., by definition of…).

Definitions:

• An integer ? is even if and only if there exists an integer ? such that ? = 2?.

• An integer ? is odd if and only if there exists an integer ? such that ? = 2? + 1.

• Two integers have the same parity when they are both even or when they are both odd. Two integers have opposite parity when one is even and the other one is odd.

• An integer ? is divisible by an integer ? with ? ≠ 0, denoted ? | ?, if and only if there exists an integer ? such that ? = ??.

• A real number ? is rational if and only if there exist integers ? and ? with ? ≠ 0 such that ? = ?/?.

• For any real number ?, the absolute value of ?, denoted |?|, is defined as follows: |?| = { ? if ? ≥ 0; −? if ? < 0 4.

Prove each of the following statements using a direct proof, a proof by contrapositive, a proof by contradiction, or a proof by cases. For each statement, indicate which proof method you used, as well as the assumptions (what you suppose) and the conclusions (what you need to show) of the proof.

a. If ? is divisible by ? and ? is divisible by ?, where ?, ?, and ? are positive integers, then ? +? is divisible by ?.

b. The difference of any rational number and any irrational number is irrational.

c. There is no integer that is both even and odd.

d. Any two consecutive integers have opposite parity.

e. For all real numbers ? and ?, ???(?, ?) = ?+?−|?−?| ? and ???(?, ?) = ?+?+|?−?| ? .

Solutions

Expert Solution

a) Since x is divisible by z and y is divisible by z, then there exists integers c and d such that

x = cz and y = dz.

Now, x+y = cz+dz = (c+d)z.

Since c and d are integers then c+d is also an integer.

Therefore (c+d)z is divisible by z ,i.e., x+y is divisible by z.

b) Assume x is an irrational number and the difference of x and a rational number is a rational number , where a,b,c,d are integers (b,d 0).

Then,

By addition,

i.e.,

Since integers are closed under multiplication and addition, ad, bc, bd, bc+ad are integers, making a rational number by definition.

This is a contradiction to the given fact that the difference of x and is a rational number.

The assumption is wrong.

Therefore, the difference of a rational number and an irrational number is an irrational number.

c) Let us assume that there exists a number A that is both even and odd.

Since A is even, then there exists an integer k such that A = 2k.

Snce A is odd, then there exists an integer m such that A = 2m+1.

By condition we have, 2k = 2m+1.

i.e., 2k-2m = 1

i.e., 2(k-m) = 1

Since k and m are integers, then k-m is an integer and 2(k-m) is an even number.

But in other side we have an odd number 1.

This is a contradiction to the given fact that an integer can be both even and odd.

The assumption is wrong.

Therefore, an integer can't be both even and odd.

d) Let us assume that x and y be any two consecutive integers that have same parity.

Case I : both of x and y are even.

Then there exists integers c and d such that x = 2c and y = 2d.

Since x and y are consecutive integers, then x+1 = y.

i.e., 2c+1 = 2d

Here, in one side we have an odd integer and in other side we have an even integer.

This is a contradiction to the given fact that Any two consecutive integers have same parity.

The assumption is wrong.

Case II : both of x and y are odd.

Then there exists integers c and d such that x = 2c+1 and y = 2d+1.

Since x and y are consecutive integers, then x+1 = y.

i.e., (2c+1)+1 = 2d+1

i.e., 2c+1+1 = 2d+1

i.e., 2c+2 = 2d+1

i.e., 2(c+1) = 2d+1

Here, in one side we have an even integer and in other side we have an odd integer.

This is a contradiction to the given fact that Any two consecutive integers have same parity.

The assumption is wrong.

Therefore, Any two consecutive integers have opposite parity.

e) Case I : x > y.

Here, x-y > 0 ,i.e., x-y is positive.

Then, |x-y| = x-y.

Then, [x+y-|x-y|]/2 = [x+y-(x-y)] = [x+y-x+y]/2 = [2y]/2 = y = min(x,y).

And, [x+y+|x-y|]/2 = [x+y+(x-y)]/2 = [x+y+x-y]/2 = [2x]/2 = x = max(x,y).

Case II : x < y.

Here, x-y < 0 ,i.e., x-y is negative.

Then, |x-y| = -(x-y) = y-x.

Then, [x+y-|x-y|]/2 = [x+y-(y-x)] = [x+y-y+x]/2 = [2x]/2 = x = min(x,y).

And, [x+y+|x-y|]/2 = [x+y+(y-x)]/2 = [x+y+y-x]/2 = [2y]/2 = y = max(x,y).

Therefore, for all real numbers x and y, min(x,y) = [x+y-|x-y|]/2 and max(x,y) = [x+y+|x-y|]/2.


Related Solutions

Write down all proofs in acceptable mathematical language: make sure that you mark the beginning and...
Write down all proofs in acceptable mathematical language: make sure that you mark the beginning and end of the proof, state every assumption, define every variable, give a justification for every assertion (e.g., by definition of…), and use complete, grammatically correct sentences. Definitions: • An integer ? is even if and only if there exists an integer ? such that ? = 2?. An integer ? is odd if and only if there exists an integer ? such that ?...
You must show your work on all mathematical questions and I must be able to follow...
You must show your work on all mathematical questions and I must be able to follow your steps. The institutional research office has recently conducted a survey group of consumers. According to demographic data, the research office has given you the following:                         Typical weekly consumer income                    $500                         Price of Frosty Cola                                        $2.50 per case                         Price of Coca-Cola                                         $5.00 per case You want to break this data down for the chief financial officer in two forms:...
You must show your work on all mathematical questions and I must be able to follow...
You must show your work on all mathematical questions and I must be able to follow your steps. Your assistant was called away for a medical emergency while he was working on Frosty Cola’s cost structure for last month. He was not able to finish his analysis; however, you have a meeting with the chief financial officer in fifteen minutes and he is expecting this information in its entirety. Your assistant was able to jot down the following for you...
You must show your work on all mathematical questions and I must be able to follow...
You must show your work on all mathematical questions and I must be able to follow your steps. You are the manager of a local factory that produces plastic bottles for soft drink manufacturers. Your assistant comes to you with exciting news about a new assembly line for the company. He presents the following data to you that he’s researched:             Estimated life of assembly line:                 4 years             Initial investment cost:                                   $800,000             Estimated salvage value:                                none...
Write code for a game of picking match sticks. You must make sure that the computer...
Write code for a game of picking match sticks. You must make sure that the computer always wins. The game is as follows There are 26 matchsticks initially. The computer will ask the user to pick anywhere between 1 and 4 matchsticks. The player (whether the user or the computer) who has to pick up the last matchstick (or matchsticks) is the loser. You will have to use a combination of branching and looping commands with appropriate prompts and the...
You must write the code in 80x86 assembly language and must attach a screenshot of the...
You must write the code in 80x86 assembly language and must attach a screenshot of the output. # Pennies for Pay Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day, four pennies the third day, and so on with the daily pay doubling each day the employee works. The program should ask the user for the number of days the employee worked...
(MUST BE DONE IN C (NOT C++)) In this task, you will have to make sure...
(MUST BE DONE IN C (NOT C++)) In this task, you will have to make sure you understood the concept of “the dot” in programming. Go ahead and declare an array of characters with a default length (whichever length you want, it's fine). Next, you want to ask the user for a phrase and store the characters in your array, but before you do that, ask the user for an estimated length of the array. If the length given is...
Please write concrete specification in Performance approach To make sure you understand what I mean, this...
Please write concrete specification in Performance approach To make sure you understand what I mean, this is the 'Performance' approach for writing the specifications. Performance (results) specifications Characteristics• - Describe in detail the required performance or service characteristics of the finished product or system• - Methods used to achieve desired results is left to the discretion of the contractor, but must be guaranteed -Methods of testing and measurement, to evaluate the results, should be spelled out in the specifications.
MUST BE WRITTEN IN ASSEMBLY LANGUAGE ONLY AND MUST COMPILE IN VISUAL STUDIO You will write...
MUST BE WRITTEN IN ASSEMBLY LANGUAGE ONLY AND MUST COMPILE IN VISUAL STUDIO You will write a simple assembly language program that performs a few arithmetic operations. This will require you to establish your programming environment and create the capability to assemble and execute the assembly programs that are part of this course. Your \student ID number is a 7-digit number. Begin by splitting your student ID into two different values. Assign the three most significant digits to a variable...
Write out the Accounting Identity of Savings = Investment Make sure to identify each part of...
Write out the Accounting Identity of Savings = Investment Make sure to identify each part of savings and investment What is Odious Debt? (Opinion:) Is the U.S. debt Odious?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT