Can I Simplify This Proof for Rational Numbers and Integers?

  • Thread starter Thread starter iamsmooth
  • Start date Start date
  • Tags Tags
    Proof
AI Thread Summary
The discussion centers on a proof demonstrating that for any rational number q, there exists a rational number r such that q + r is an integer. The proof correctly shows that by defining r as (b-a)/b, the sum simplifies to 1, which is an integer. Participants debate the complexity of the proof, with some suggesting that simpler alternatives exist, such as using r = 1 - q. There is also a consideration of whether the sets of rational numbers (Q) and integers (Z) should be restricted to positive values, which could complicate the proof. Overall, the proof is deemed correct, though opinions vary on its simplicity and elegance.
iamsmooth
Messages
103
Reaction score
0
\forall q \in \textbf{Q}, \exists r \in\textbf{Q} so that q + r\in \textbf{Z} (Q is set of all rational numbers, and Z is set of all Integers)

Proof:

let q be an arbitrary rational number
thus, q=\frac{a}{b} for some integers a and b, and b is not 0
let r = \frac{b-a}{b} where b-a,b\in\textbf{Z}, b is still not 0
<br /> q + r = \frac{a}{b} + \frac{b-a}{b}

= \frac{a+b-a}{b}

= \frac{b}{b}

=1 and 1 is an integer

End of proof

I'm not sure if I was redundant with anything, or if I forgot to say anything. I think I only need to find one example since the second quantifier says there exists, which I think means I only need to show one algebraically for an arbitrary rational number. Also, I can take advantage of the fact that an integer is an integer, so I don't have to define it I guess...

I'm in a first year discreet mathematics course. If there's anything wrong with my proof, please let me know.

Thanks, appreciate it!
 
Last edited:
Physics news on Phys.org
Are Q and Z restricted to > 0? If not r = -q will always work.
 
Yeah, -r would work, but I was wondering if my proof works as well. I realized that -r would work afterwards, but I already wrote down my version which I think works out algebraically, but yeah I wanted to confirm before I submit this.
 
Your proof is correct, but as a mathematician I can tell you it is awful. Simple proofs are always preferred over complicated ones.

A more interesting case is restricting Q and Z to be positive. Then something like your proof might be needed.
(Hint: replace b-a by nb-a, where n is sufficiently large).
 
Your proof is fine. I agree with mathman in spirit, but can you honestly say q+(1-q)=1 is "complicated"?
 
Tobias Funke said:
Your proof is fine. I agree with mathman in spirit, but can you honestly say q+(1-q)=1 is "complicated"?

Your version is several lines shorter than the original.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top