ephedyn
- 169
- 1
Homework Statement
"Prove that the sum of two rational numbers is a rational number."
I just started on proof writing, so I'll just like to verify if I'm not missing anything here, and get some comments about the style.
The attempt at a solution
Theorem. If a,b \in \mathbb{Q} then a+b \in \mathbb{Q}
Proof. Given a,b \in \mathbb{Q}
we have some p_1,p_2,q_1,q_2 \in \mathbb{Z} satisfying
a=\dfrac{p_1}{q_1} \, b=\dfrac{p_2}{q_2}
which implies that
a+b<br /> =\dfrac{p_1}{q_1}+\dfrac{p_2}{q_2}<br /> =\dfrac{p_{1}q_{2}+p_{2}q_{1}}{q_{1}q_{2}}
By closure of \mathbb{Z} under addition and multiplication, it follows from the assumption that p_1,p_2,q_1,q_2 \in \mathbb{Z} that
p_{1}q_{2}+p_{2}q_{1} and q_{1}q_{2} are also integers.
Hence, a+b can be expressed as the ratio of 2 integers. By definition, a+b is rational. \square
"Prove that the sum of two rational numbers is a rational number."
I just started on proof writing, so I'll just like to verify if I'm not missing anything here, and get some comments about the style.
The attempt at a solution
Theorem. If a,b \in \mathbb{Q} then a+b \in \mathbb{Q}
Proof. Given a,b \in \mathbb{Q}
we have some p_1,p_2,q_1,q_2 \in \mathbb{Z} satisfying
a=\dfrac{p_1}{q_1} \, b=\dfrac{p_2}{q_2}
which implies that
a+b<br /> =\dfrac{p_1}{q_1}+\dfrac{p_2}{q_2}<br /> =\dfrac{p_{1}q_{2}+p_{2}q_{1}}{q_{1}q_{2}}
By closure of \mathbb{Z} under addition and multiplication, it follows from the assumption that p_1,p_2,q_1,q_2 \in \mathbb{Z} that
p_{1}q_{2}+p_{2}q_{1} and q_{1}q_{2} are also integers.
Hence, a+b can be expressed as the ratio of 2 integers. By definition, a+b is rational. \square