Diana V.

asked • 11/02/22

If ๐‘Ž and ๐‘ are integers for which ๐‘Ž|๐‘ and ๐‘|๐‘Ž, then ๐‘Ž=ยฑ๐‘.

If ๐‘Ž and ๐‘ are integers for which ๐‘Ž|๐‘ and ๐‘|๐‘Ž, then ๐‘Ž=ยฑ๐‘.ย 


1 Expert Answer

By:

Jorge S. answered • 11/02/22

Tutor
4.9 (94)

Computer Science/Math Tutoring

Jorge S.

the topics required to understand how to do this problem are 0. brief philosophical topics (sounds weird but its recommended) 1. informal logic 2. propositional logic (STRONGLY RECOMMENDED) 3. natural deduction in propositional logic (STRONGLY RECOMMENDED) 4. predicate logic (STRONGLY RECOMMENDED) 5. natural deduction in predicate logic (STRONGLY RECOMMENDED) 6. sets 7. definition of divides | 8. using formal logic to solve the problem Recommended textbooks: A cartoon introduction to philosophy discrete structures logic and computability by Hein Recall that a proposition is a statement that has a truth value. "I like pizza" "all squares are rectangles" "the bubble sort algorithm is correct" "hex is a shorthand for binary" "the light is on or the light is off" "1 is an element of the Natural numbers" "the successor of 1 is 2" "1 + 1 = 2" "You have work tomorrow" Are all examples of statements that have truth value, and are therefore PROPOSITIONS. This looks like a proof problem, so we need to prove the following proposition "If ๐‘Ž and ๐‘ are integers for which ๐‘Ž|๐‘ and ๐‘|๐‘Ž, then ๐‘Ž=ยฑ๐‘." To do this problem we need to first understand the proposition. "If ๐‘Ž and ๐‘ are integers for which ๐‘Ž|๐‘ and ๐‘|๐‘Ž, then ๐‘Ž=ยฑ๐‘." is a conditional proposition, where conditional propositions have the form: IF A THEN B. therefore A would be "๐‘Ž and ๐‘ are integers for which ๐‘Ž|๐‘ and ๐‘|๐‘Ž" and B would be "๐‘Ž=ยฑ๐‘". A is called the antecedent and B is called the consequent. Now proofs are INVESTIGATIVE problems, there isn't going to be a clear cut way to solve them, therefore its going to take a lot and time and thinking to complete it. So its better that I just explain the proof along the way. There are many ways to prove something, but looking at the problem at the top of my head I want to do a DIRECT PROOF. A DIRECT PROOF of a proposition "IF A THEN B" starts by assuming assuming A is true, then using known facts to DERIVE out the proposition B. Therefore a proof can be represented as a sequence of propositions that are all true from their RESPECTIVE premises/theorems (logic is weird so there will be some scenerios that seem to break this rule): 1. A P (Premise aka the statement we assume true) 2. derived statement 3. Derived statement . . . n. B (Our conclusion we are trying to reach) this is the deduction approach to doing proofs I'll go ahead and list out the proof as a sequence of propositions then explain informally after.
Report

11/02/22

Jorge S.

The solution is a natural deduction formal proof. Rather than listing out the english, the actual step by step logic of the proof is described (though some steps might have been condensed/slight informally done). However, the above also shows WHY proofs are hard. Proofs are literally their own kind of math, and its taught in a logic course or in the logic chapter of a discrete mathematics course. The most important topic is Natural deduction, but many discrete mathematics courses leave this out (probably for time constraints). Natural deduction teaches the RULES of proofs, literally the theory of how proofs work. Next time you get stuck in a proof remember its because, analogically, they are making the students solve differential calculus problems with arithmetic knowledge only. Proofs are also hard because they are investigative problems. It's a lot like writing a program, the steps must follow logically from previous lines. Because of this it may take HOURS to write a concise logical proof for 1 problem.
Report

11/02/22

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.