subrings of rational numbers

so we've an additional property and we can't say it's a subring or not a subring when the denomator is even because the fraction isn't written in lowest term
It means we have to check it. E.g. if we consider the odd denominators, then we have to look at ss s\cdot s' that occurs in rrss \dfrac{r\cdot r'}{s\cdot s'} as well as in rsrsss. \dfrac{r\cdot s' -r'\cdot s}{s\cdot s'} . The typical reasoning in abstract algebra goes along the lines: What if not?

Assume ss s\cdot s' is even after cancelation, i.e. when written in lowest terms. Written in the lowest terms means, that rr=qt r\cdot r' =q\cdot t and ss=qt s\cdot s'=q\cdot t' for some coprime numbers t,t t,t' such that
rrss=qtqt=ttorrsrsss=qtqt=tt. \dfrac{r\cdot r'}{s\cdot s'}=\dfrac{q\cdot t}{q\cdot t'}=\dfrac{t}{t'}\quad\text{or}\quad\dfrac{r\cdot s'- r'\cdot s}{s\cdot s'}=\dfrac{q\cdot t}{q\cdot t'}=\dfrac{t}{t'}. Assume that t t' is even. Then 2tqt=ss. 2\,|\,t'\,|\,q\cdot t' = s\cdot s'. Therefore, by the definition of prime numbers, such as 2, 2, we get that 2s 2\,|\,s or 2s 2\,|\,s' which is impossible since they are both odd. This contradiction means that t t' is odd and not even, and S S with odd denominators is a subring.


The same argument fails if we consider even denominators. Then assuming t t' would be odd doesn't tell us anything about qt=ss. q\cdot t'=s\cdot s' . E.g.
5616=516=2223=23. \dfrac{5}{6}-\dfrac{1}{6}=\dfrac{5-1}{6}=\dfrac{2\cdot 2}{2\cdot 3}=\dfrac{2}{3}.

This shows how you should proceed with the other examples: prove it or find a counterexample. In order to prove it, you have to list all properties that define S S and show that abS a-b \in S and abS a\cdot b \in S whenever a,bS. a,b\in S.


The reason why @Dr.Peterson said that written in lower terms was an essential property and not just a hint is the following: If we distinguish between 1/3 1/3 and 2/6 2/6 then we look at the ring of pairs [Z×(Z{0})]\left[ \mathbb{Z}\times (\mathbb{Z}\setminus \{0\})\right] with many ambiguities such as 1/3S 1/3\in S and 2/6∉S. 2/6\not \in S. In order to avoid them, we consider the ring [Z×(Z{0})/] \left[\mathbb{Z}\times (\mathbb{Z}\setminus \{0\}) / \sim \right] where \sim means that we consider all quotients with the same numerical value as equivalent and do not distinguish among them. In this ring we have 1/3=2/6. 1/3=2/6 . However, it means that we have to make a decision of which element we want to work with when defining S. S. Will it be 1/3 1/3 or will it be 2/6 2/6? Written in lower terms or fully canceled is a rule that determines one unique element in every equivalence class of quotients with the same numerical value (up to ±1 \pm 1 to be correct).

You said rational numbers, which is
Q=Z×(Z{0})/ \mathbb{Q}= \mathbb{Z}\times (\mathbb{Z}\setminus \{0\}) / \sim and unique but defined S S by its representations which is ambiguous.
 
2tq.t=s.s\displaystyle 2|t'|q.t' = s.s'

what this mean. say it in words. i guess it mean 2\displaystyle 2 is divided by coprime t\displaystyle t' and coprime t\displaystyle t' is divided by q.t\displaystyle q.t' equal s.s\displaystyle s.s'

i assume t\displaystyle t' is even. why 2\displaystyle 2 is divided by s\displaystyle s and 2\displaystyle 2 is divided by s\displaystyle s' is impossible? what is s\displaystyle s and s\displaystyle s'?

your example here 5616\displaystyle \frac{5}{6} - \frac{1}{6} has two same denomators. isn't the idea i start with two different numbers in the denomators and see if their lowest term is odd? like 5416=3024424=2924\displaystyle \frac{5}{4} - \frac{1}{6} = \frac{30}{24} - \frac{4}{24} = \frac{29}{24} lowest is even not odd

This shows how you should proceed with the other examples: prove it or find a counterexample. In order to prove it, you have to list all properties that define S S and show that abS a-b \in S and abS a\cdot b \in S whenever a,bS. a,b\in S.
still it's not clear :(

The reason why @Dr.Peterson said that written in lower terms was an essential property and not just a hint is the following: If we distinguish between 1/3 1/3 and 2/6 2/6 then we look at the ring of pairs [Z×(Z{0})]\left[ \mathbb{Z}\times (\mathbb{Z}\setminus \{0\})\right] with many ambiguities such as 1/3S 1/3\in S and 2/6∉S. 2/6\not \in S. In order to avoid them, we consider the ring [Z×(Z{0})/] \left[\mathbb{Z}\times (\mathbb{Z}\setminus \{0\}) / \sim \right] where \sim means that we consider all quotients with the same numerical value as equivalent and do not distinguish among them. In this ring we have 1/3=2/6. 1/3=2/6 . However, it means that we have to make a decision of which element we want to work with when defining S. S. Will it be 1/3 1/3 or will it be 2/6 2/6? Written in lower terms or fully canceled is a rule that determines one unique element in every equivalence class of quotients with the same numerical value (up to ±1 \pm 1 to be correct).

You said rational numbers, which is
Q=Z×(Z{0})/ \mathbb{Q}= \mathbb{Z}\times (\mathbb{Z}\setminus \{0\}) / \sim and unique but defined S S by its representations which is ambiguous.
this i don't understand:(
 
2tq.t=s.s\displaystyle 2|t'|q.t' = s.s'

what this mean. say it in words. i guess it mean 2\displaystyle 2 is divided by coprime t\displaystyle t' and coprime t\displaystyle t' is divided by q.t\displaystyle q.t' equal s.s\displaystyle s.s'
It only means: two divides t t' and t t' and t t' divides qt. q'\cdot t'. Coprime doesn't matter here. It is like 42884. 4\,|\,28\,|\,84. Four divides twenty-eight divides eighty-four, so four divides eighty-four, too.
still it's not clear :(


this i don't understand:(

I'm sorry for that. It's a bit like I was asking you to explain the word sophisticated without using English words. You asked whether certain subsets of the rational numbers are a subring of the rational numbers or not. To answer it, we must speak about rational numbers, arbitrary numbers, addition and multiplication in Q. \mathbb{Q}.

  1. What is a rational number? Firstly, they contain the integers. However, integers are not quotients. So how will we write them? Will it be 2=21 2=\dfrac{2}{1} or 2=42 2=\dfrac{4}{2} ? One has an even, the other one an odd denominator. This leads us immediately to the second point: When do two rational numbers be equal? This property is defined by
    ab=cdad=bc(). \dfrac{a}{b}=\dfrac{c}{d} \Longleftrightarrow a\cdot d = b\cdot c\quad({}^*).
    Your question didn't say whether we distinguish between 21 \dfrac{2}{1} and 42 \dfrac{4}{2} or not. This only changed when you added "in its lowest representation". This is more than a hint because it invoked the definition () ({}^*) and ruled out the case 2=42 2=\dfrac{4}{2} and left us with the case 2=21. 2=\dfrac{2}{1}. It says, that we do not speak about different quotients being the same number, only that we speak about fully canceled numbers as 2=21 2=\dfrac{2}{1} is. Only this "hint" makes the question unambiguous and which is why @Dr.Peterson said that it is more than a hint but rather a crucial requirement.

  2. We need arbitrary numbers since we cannot check the entire subset. E.g., the subset A contains all numbers with odd denominators, i.e. all numbers {q=ab  b is odd }. \left\{\left.q=\dfrac{a}{b}\right| \;b\text{ is odd }\right\}. We cannot check all of them of whether e.g. addition in A stays in A. We need to prove it for any, i.e. arbitrary two quotients ab,cd \dfrac{a}{b},\dfrac{c}{d} with odd b,d. b,d.

  3. Addition is generally defined as
    ab+cd=ad+bcbd. \dfrac{a}{b} +\dfrac{c}{d}=\dfrac{ad+bc}{bd}.
    However, we no longer have any control over whether the new denominator bd b\cdot d is odd or even again. We need an argument for that. Examples do not count since we require arbitrary elements of A.

  4. Multiplication is generally defined as
    abcd=acbd. \dfrac{a}{b}\cdot \dfrac{c}{d}=\dfrac{ac}{bd}. Again, we no longer have any control over whether the new denominator bd b\cdot d is odd or even and need an argument for that. Examples do not count since we require arbitrary elements of A.

  5. When is a number odd or even? The distinction is found by a division by two: odd if two is not a factor of the number, even if it is a factor. But how do we know whether two is a factor of bd b\cdot d ? The best way to write this with rigour is to use the fact that two is a prime number. A prime number is defined to be a number that is not one or minus one, and that if it divides a product of two numbers, then it has to divide one of its factors. Examples: Seven is prime and if it divides one-hundred and eighty-two , which is the product of fourteen and thirteen then seven has to divide thirteen or fourteen (or both). Six is not a prime and it divides thirty-six which is a product of four and nine. However, six neither divides four nor nine.

    In our situation, we need to figure out whether the product bd b\cdot d is odd or even, i.e. whether two divides a product. Since two is prime, we know: If two divides bd b\cdot d then it has to divide either b b or d d (or both). Hene, if both b b and d d are odd, then two cannot divide bd b\cdot d and bd b\cdot d is odd, too. If both are even then b=2b b=2\cdot b' and d=2d d=2\cdot d' so
    222bd=bd 2\,|\,2^2\cdot b' \cdot d'=b\cdot d and bd b\cdot d is even, too. However, we need to prove this for canceled quotients ab,cd \dfrac{a}{b},\dfrac{c}{d} and neither ad+bcbd \dfrac{ad+bc}{bd} nor acbd \dfrac{ac}{bd} are automatically canceled, i.e. written in lowest terms. IN the case of odd denominators, everything is clear: If it is odd, then the canceled version must also be odd because an additional factor two cannot come out of nowhere by the process of cancellation. However, if both are even, i.e. have a factor two, then cancelation of ad+bcbd \dfrac{ad+bc}{bd} could eliminate the factors two:
    32+52=82=41. \dfrac{3}{2}+\dfrac{5}{2}=\dfrac{8}{2}=\dfrac{4}{1}.
    In this case, an example is sufficient, because one counterexample is enough to disprove a general statement. But this is only valid for counterexamples, not to prove a general statement by examples.
 
It only means: two divides t t' and t t' and t t' divides qt. q'\cdot t'. Coprime doesn't matter here. It is like 42884. 4\,|\,28\,|\,84. Four divides twenty-eight divides eighty-four, so four divides eighty-four, too.


I'm sorry for that. It's a bit like I was asking you to explain the word sophisticated without using English words. You asked whether certain subsets of the rational numbers are a subring of the rational numbers or not. To answer it, we must speak about rational numbers, arbitrary numbers, addition and multiplication in Q. \mathbb{Q}.

  1. What is a rational number? Firstly, they contain the integers. However, integers are not quotients. So how will we write them? Will it be 2=21 2=\dfrac{2}{1} or 2=42 2=\dfrac{4}{2} ? One has an even, the other one an odd denominator. This leads us immediately to the second point: When do two rational numbers be equal? This property is defined by
    ab=cdad=bc(). \dfrac{a}{b}=\dfrac{c}{d} \Longleftrightarrow a\cdot d = b\cdot c\quad({}^*).
    Your question didn't say whether we distinguish between 21 \dfrac{2}{1} and 42 \dfrac{4}{2} or not. This only changed when you added "in its lowest representation". This is more than a hint because it invoked the definition () ({}^*) and ruled out the case 2=42 2=\dfrac{4}{2} and left us with the case 2=21. 2=\dfrac{2}{1}. It says, that we do not speak about different quotients being the same number, only that we speak about fully canceled numbers as 2=21 2=\dfrac{2}{1} is. Only this "hint" makes the question unambiguous and which is why @Dr.Peterson said that it is more than a hint but rather a crucial requirement.

  2. We need arbitrary numbers since we cannot check the entire subset. E.g., the subset A contains all numbers with odd denominators, i.e. all numbers {q=ab  b is odd }. \left\{\left.q=\dfrac{a}{b}\right| \;b\text{ is odd }\right\}. We cannot check all of them of whether e.g. addition in A stays in A. We need to prove it for any, i.e. arbitrary two quotients ab,cd \dfrac{a}{b},\dfrac{c}{d} with odd b,d. b,d.

  3. Addition is generally defined as
    ab+cd=ad+bcbd. \dfrac{a}{b} +\dfrac{c}{d}=\dfrac{ad+bc}{bd}.
    However, we no longer have any control over whether the new denominator bd b\cdot d is odd or even again. We need an argument for that. Examples do not count since we require arbitrary elements of A.

  4. Multiplication is generally defined as
    abcd=acbd. \dfrac{a}{b}\cdot \dfrac{c}{d}=\dfrac{ac}{bd}. Again, we no longer have any control over whether the new denominator bd b\cdot d is odd or even and need an argument for that. Examples do not count since we require arbitrary elements of A.

  5. When is a number odd or even? The distinction is found by a division by two: odd if two is not a factor of the number, even if it is a factor. But how do we know whether two is a factor of bd b\cdot d ? The best way to write this with rigour is to use the fact that two is a prime number. A prime number is defined to be a number that is not one or minus one, and that if it divides a product of two numbers, then it has to divide one of its factors. Examples: Seven is prime and if it divides one-hundred and eighty-two , which is the product of fourteen and thirteen then seven has to divide thirteen or fourteen (or both). Six is not a prime and it divides thirty-six which is a product of four and nine. However, six neither divides four nor nine.

    In our situation, we need to figure out whether the product bd b\cdot d is odd or even, i.e. whether two divides a product. Since two is prime, we know: If two divides bd b\cdot d then it has to divide either b b or d d (or both). Hene, if both b b and d d are odd, then two cannot divide bd b\cdot d and bd b\cdot d is odd, too. If both are even then b=2b b=2\cdot b' and d=2d d=2\cdot d' so
    222bd=bd 2\,|\,2^2\cdot b' \cdot d'=b\cdot d and bd b\cdot d is even, too. However, we need to prove this for canceled quotients ab,cd \dfrac{a}{b},\dfrac{c}{d} and neither ad+bcbd \dfrac{ad+bc}{bd} nor acbd \dfrac{ac}{bd} are automatically canceled, i.e. written in lowest terms. IN the case of odd denominators, everything is clear: If it is odd, then the canceled version must also be odd because an additional factor two cannot come out of nowhere by the process of cancellation. However, if both are even, i.e. have a factor two, then cancelation of ad+bcbd \dfrac{ad+bc}{bd} could eliminate the factors two:
    32+52=82=41. \dfrac{3}{2}+\dfrac{5}{2}=\dfrac{8}{2}=\dfrac{4}{1}.
    In this case, an example is sufficient, because one counterexample is enough to disprove a general statement. But this is only valid for counterexamples, not to prove a general statement by examples.
thank

this is too much information

give me some time to understand it
 
It only means: two divides t t' and t t' and t t' divides qt. q'\cdot t'. Coprime doesn't matter here. It is like 42884. 4\,|\,28\,|\,84. Four divides twenty-eight divides eighty-four, so four divides eighty-four, too.


I'm sorry for that. It's a bit like I was asking you to explain the word sophisticated without using English words. You asked whether certain subsets of the rational numbers are a subring of the rational numbers or not. To answer it, we must speak about rational numbers, arbitrary numbers, addition and multiplication in Q. \mathbb{Q}.

  1. What is a rational number? Firstly, they contain the integers. However, integers are not quotients. So how will we write them? Will it be 2=21 2=\dfrac{2}{1} or 2=42 2=\dfrac{4}{2} ? One has an even, the other one an odd denominator. This leads us immediately to the second point: When do two rational numbers be equal? This property is defined by
    ab=cdad=bc(). \dfrac{a}{b}=\dfrac{c}{d} \Longleftrightarrow a\cdot d = b\cdot c\quad({}^*).
    Your question didn't say whether we distinguish between 21 \dfrac{2}{1} and 42 \dfrac{4}{2} or not. This only changed when you added "in its lowest representation". This is more than a hint because it invoked the definition () ({}^*) and ruled out the case 2=42 2=\dfrac{4}{2} and left us with the case 2=21. 2=\dfrac{2}{1}. It says, that we do not speak about different quotients being the same number, only that we speak about fully canceled numbers as 2=21 2=\dfrac{2}{1} is. Only this "hint" makes the question unambiguous and which is why @Dr.Peterson said that it is more than a hint but rather a crucial requirement.

  2. We need arbitrary numbers since we cannot check the entire subset. E.g., the subset A contains all numbers with odd denominators, i.e. all numbers {q=ab  b is odd }. \left\{\left.q=\dfrac{a}{b}\right| \;b\text{ is odd }\right\}. We cannot check all of them of whether e.g. addition in A stays in A. We need to prove it for any, i.e. arbitrary two quotients ab,cd \dfrac{a}{b},\dfrac{c}{d} with odd b,d. b,d.

  3. Addition is generally defined as
    ab+cd=ad+bcbd. \dfrac{a}{b} +\dfrac{c}{d}=\dfrac{ad+bc}{bd}.
    However, we no longer have any control over whether the new denominator bd b\cdot d is odd or even again. We need an argument for that. Examples do not count since we require arbitrary elements of A.

  4. Multiplication is generally defined as
    abcd=acbd. \dfrac{a}{b}\cdot \dfrac{c}{d}=\dfrac{ac}{bd}. Again, we no longer have any control over whether the new denominator bd b\cdot d is odd or even and need an argument for that. Examples do not count since we require arbitrary elements of A.

  5. When is a number odd or even? The distinction is found by a division by two: odd if two is not a factor of the number, even if it is a factor. But how do we know whether two is a factor of bd b\cdot d ? The best way to write this with rigour is to use the fact that two is a prime number. A prime number is defined to be a number that is not one or minus one, and that if it divides a product of two numbers, then it has to divide one of its factors. Examples: Seven is prime and if it divides one-hundred and eighty-two , which is the product of fourteen and thirteen then seven has to divide thirteen or fourteen (or both). Six is not a prime and it divides thirty-six which is a product of four and nine. However, six neither divides four nor nine.

    In our situation, we need to figure out whether the product bd b\cdot d is odd or even, i.e. whether two divides a product. Since two is prime, we know: If two divides bd b\cdot d then it has to divide either b b or d d (or both). Hene, if both b b and d d are odd, then two cannot divide bd b\cdot d and bd b\cdot d is odd, too. If both are even then b=2b b=2\cdot b' and d=2d d=2\cdot d' so
    222bd=bd 2\,|\,2^2\cdot b' \cdot d'=b\cdot d and bd b\cdot d is even, too. However, we need to prove this for canceled quotients ab,cd \dfrac{a}{b},\dfrac{c}{d} and neither ad+bcbd \dfrac{ad+bc}{bd} nor acbd \dfrac{ac}{bd} are automatically canceled, i.e. written in lowest terms. IN the case of odd denominators, everything is clear: If it is odd, then the canceled version must also be odd because an additional factor two cannot come out of nowhere by the process of cancellation. However, if both are even, i.e. have a factor two, then cancelation of ad+bcbd \dfrac{ad+bc}{bd} could eliminate the factors two:
    32+52=82=41. \dfrac{3}{2}+\dfrac{5}{2}=\dfrac{8}{2}=\dfrac{4}{1}.
    In this case, an example is sufficient, because one counterexample is enough to disprove a general statement. But this is only valid for counterexamples, not to prove a general statement by examples.
your explanation is very rich. i think i'm understand some of it

A is subring as odd denomators are friendly

B isn't a subring as the counterexample

C i think isn't a subring as it've mixed denomators. it sometimes have odd and sometimes even denomators, so we've A and B in set C

is my thinking correct?
 
your explanation is very rich. i think i'm understand some of it

A is subring as odd denomators are friendly

B isn't a subring as the counterexample

C i think isn't a subring as it've mixed denomators. it sometimes have odd and sometimes even denomators, so we've A and B in set C

is my thinking correct?
Let me quote the question as a reminder of how A, B, and C are defined.
here is the question

Which of the following are subrings of Q\displaystyle \mathbb{Q}?

A. The set of all rational numbers with odd denominators.
B. The set of all rational numbers with even denominators.
C. The set of nonnegative rational numbers.

Now to answer your question: Partly, and I wouldn't use the word friendly.

A is a subring because addition and multiplication of quotients with odd denominators have again odd denominators, even after a possible cancelation.

B isn't a subring because the argument we used for A isn't true any longer. Cancellation after addition of quotients with even denominators can create denominators with odd denominators: 1/2+1/2=1/1. 1/2+1/2=1/1. So addition isn't possible within the set of numbers with even denominators. Addition can lead outside of B. That is the reason.

C has a different problem. Whether denominators are odd or even isn't relevant here any longer. This property cannot be used in any way, so your argument fails. It's simply not important for C. To answer the question for C we have to go back to the very beginning.
A nonempty subset S\displaystyle S of a ring R\displaystyle R is a subring if for all a,bS\displaystyle a,b \in S it is true that abS\displaystyle ab \in S and abS\displaystyle a-b \in S.

We need to consider the definition of a ring in order to answer the question for C. This is because there is a qualitative distinction between addition and multiplication in a ring. Addition requires that we can always solve equations a+x=b. a+x=b. This implies that we have a 0 0 (as a solution to a+x=a a+x=a ) and additively inverse elements (as a solution to a+x=0 a+x=0 ). It automatically creates the requirement of being non-empty as we need the existence of the 0. 0. This property does not necessarily hold for multiplication. E.g. the integers are a ring since we can always solve a+x=b a+x=b although we can not solve ax=b a\cdot x=b within the integers as the example 2x=1 2\cdot x= 1 shows: x=1/2 x=1/2 isn't an integer.

This leads to the answer of C. 0 0 and 1 1 are non-negative rational numbers, so 0,1C 0,1\in C and C is non-empty. But how should we solve 1+x=0 1+x=0 within the set of non-negative rational numbers? We can't, and that's why C isn't a ring and thus no subring either.

In the wording of @pka's answer: 0,1C 0,1\in C but 01∉C. 0-1\not\in C. We say that C isn't closed under addition.
 
Let me quote the question as a reminder of how A, B, and C are defined.


Now to answer your question: Partly, and I wouldn't use the word friendly.

A is a subring because addition and multiplication of quotients with odd denominators have again odd denominators, even after a possible cancelation.

B isn't a subring because the argument we used for A isn't true any longer. Cancellation after addition of quotients with even denominators can create denominators with odd denominators: 1/2+1/2=1/1. 1/2+1/2=1/1. So addition isn't possible within the set of numbers with even denominators. Addition can lead outside of B. That is the reason.

C has a different problem. Whether denominators are odd or even isn't relevant here any longer. This property cannot be used in any way, so your argument fails. It's simply not important for C. To answer the question for C we have to go back to the very beginning.


We need to consider the definition of a ring in order to answer the question for C. This is because there is a qualitative distinction between addition and multiplication in a ring. Addition requires that we can always solve equations a+x=b. a+x=b. This implies that we have a 0 0 (as a solution to a+x=a a+x=a ) and additively inverse elements (as a solution to a+x=0 a+x=0 ). It automatically creates the requirement of being non-empty as we need the existence of the 0. 0. This property does not necessarily hold for multiplication. E.g. the integers are a ring since we can always solve a+x=b a+x=b although we can not solve ax=b a\cdot x=b within the integers as the example 2x=1 2\cdot x= 1 shows: x=1/2 x=1/2 isn't an integer.

This leads to the answer of C. 0 0 and 1 1 are non-negative rational numbers, so 0,1C 0,1\in C and C is non-empty. But how should we solve 1+x=0 1+x=0 within the set of non-negative rational numbers? We can't, and that's why C isn't a ring and thus no subring either.

In the wording of @pka's answer: 0,1C 0,1\in C but 01∉C. 0-1\not\in C. We say that C isn't closed under addition.
i don't understand C well, but let us go to D

set of squares of rational number. do it mean something like 5272\displaystyle \frac{5^2}{7^2}

do this belong to the set? should we care if the squares are prime or not?
 
That's how I would read it.
do this belong to the set? should we care if the squares are prime or not?
No, being prime is irrelevant. In this case, closeness under addition is the crucial property. Can you find a square that if added to itself is no longer a square? You don't even need quotients.
 
Can you find a square that if added to itself is no longer a square? You don't even need quotients.
yes with fraction but remove itself

3222+4222=9+1622=5222\displaystyle \frac{3^2}{2^2} + \frac{4^2}{2^2} = \frac{9+16}{2^2} = \frac{5^2}{2^2}
 
That's why we need variables to represent elements and not examples. You have found a Pythagorean triple, i.e. an example where a2+b2=c2. a^2+b^2=c^2. However, we need to have this property for all elements of D if D was a subring. So given any two arbitrary squared rational numbers, we must show that the sum (or even better the difference) will be a squared rational number again. But this cannot be shown since it is wrong. A single counterexample is sufficient to demonstrate the impossibility, e.g. 4111=31 \dfrac{4}{1}-\dfrac{1}{1}=\dfrac{3}{1} isn't a square although 4/1 4/1 and 1/1 1/1 are elements of D, squared rational numbers.

A subring S S of a ring R R is a set such that
  1. S S\neq \emptyset
  2. SR S\subseteq R
  3.   s,tS:stS \forall\;s,t\in S\, : \,s-t\in S
  4.   s,tS:stS \forall\;s,t\in S\, : \,s\cdot t\in S
We have R=Q R=\mathbb{Q} and the first two properties are more or less automatically given by the phrase
The set of all rational numbers with ...
and the fact that neither of these sets is obviously empty. That's why we are discussing only the last two properties in this thread. Property three is a difference because we want to make sure that 0S 0\in S and sS -s\in S whenever sS. s\in S. This additional (hidden) property is not necessary for multiplication since rings are not required to provide multiplicative inverse elements. So we need only property four without any division.

If we want to prove that a set S S is a subring, we must ensure that all properties are fulfilled, especially the third and fourth. Some of the sets you have listed fail to fulfill property three. Now, what does this mean? We have to show that all elements st s-t are in S S whenever s s and t t are in S. S. This makes the considerations a bit more detailed in case we defined S S by the kind of its denominators. If we want to demonstrate that not all elements st s-t are in S S whenever s s and t t are in S S it is sufficient to find a single counterexample. This is because
¬  (    xS:P(x)  )x0S:¬  P(x0) \lnot \;(\;\forall\;x\in S\, : \,P(x)\;)\Longleftrightarrow \exists\, x_0\in S\, : \,\lnot\;P(x_0) This means in words: The statement that ( all elements x x of S S fulfill property P(x) P(x) ) is wrong, if and only if the statement ( there is (at least) one element x0 x_0 of S S such that the property P(x0) P(x_0) is wrong ) is true. That's why we need a counterexample x0S x_0\in S if we want to disprove a statement, and we need variable element names xS x\in S if we want to prove a statement.

Your example of a Pythagorean triple was one example x x when we needed the statement for all x x for a proof.
My example of x0=41 x_0=4-1 was one example when I needed only the existence of a single counterexample x0 x_0 for a disproof.
 
That's why we need variables to represent elements and not examples. You have found a Pythagorean triple, i.e. an example where a2+b2=c2. a^2+b^2=c^2. However, we need to have this property for all elements of D if D was a subring. So given any two arbitrary squared rational numbers, we must show that the sum (or even better the difference) will be a squared rational number again. But this cannot be shown since it is wrong. A single counterexample is sufficient to demonstrate the impossibility, e.g. 4111=31 \dfrac{4}{1}-\dfrac{1}{1}=\dfrac{3}{1} isn't a square although 4/1 4/1 and 1/1 1/1 are elements of D, squared rational numbers.

A subring S S of a ring R R is a set such that
  1. S S\neq \emptyset
  2. SR S\subseteq R
  3.   s,tS:stS \forall\;s,t\in S\, : \,s-t\in S
  4.   s,tS:stS \forall\;s,t\in S\, : \,s\cdot t\in S
We have R=Q R=\mathbb{Q} and the first two properties are more or less automatically given by the phrase

and the fact that neither of these sets is obviously empty. That's why we are discussing only the last two properties in this thread. Property three is a difference because we want to make sure that 0S 0\in S and sS -s\in S whenever sS. s\in S. This additional (hidden) property is not necessary for multiplication since rings are not required to provide multiplicative inverse elements. So we need only property four without any division.

If we want to prove that a set S S is a subring, we must ensure that all properties are fulfilled, especially the third and fourth. Some of the sets you have listed fail to fulfill property three. Now, what does this mean? We have to show that all elements st s-t are in S S whenever s s and t t are in S. S. This makes the considerations a bit more detailed in case we defined S S by the kind of its denominators. If we want to demonstrate that not all elements st s-t are in S S whenever s s and t t are in S S it is sufficient to find a single counterexample. This is because
¬  (    xS:P(x)  )x0S:¬  P(x0) \lnot \;(\;\forall\;x\in S\, : \,P(x)\;)\Longleftrightarrow \exists\, x_0\in S\, : \,\lnot\;P(x_0) This means in words: The statement that ( all elements x x of S S fulfill property P(x) P(x) ) is wrong, if and only if the statement ( there is (at least) one element x0 x_0 of S S such that the property P(x0) P(x_0) is wrong ) is true. That's why we need a counterexample x0S x_0\in S if we want to disprove a statement, and we need variable element names xS x\in S if we want to prove a statement.

Your example of a Pythagorean triple was one example x x when we needed the statement for all x x for a proof.
My example of x0=41 x_0=4-1 was one example when I needed only the existence of a single counterexample x0 x_0 for a disproof.
if a counter example like 22121212=312\displaystyle \frac{2^2}{1^2} - \frac{1^2}{1^2} = \frac{3}{1^2} tell me squares of rational numbers isn't subring, then i'll always search for counter example instead of using other meothds because it's easier

(e)
is it correct to say this is counter example

17+57=67\displaystyle \frac{1}{7} + \frac{5}{7} = \frac{6}{7} so (e) isn't subring
 
if a counter example like 22121212=312\displaystyle \frac{2^2}{1^2} - \frac{1^2}{1^2} = \frac{3}{1^2} tell me squares of rational numbers isn't subring, then i'll always search for counter example instead of using other meothds because it's easier

(e)
is it correct to say this is counter example

17+57=67\displaystyle \frac{1}{7} + \frac{5}{7} = \frac{6}{7} so (e) isn't subring
That's correct.
 
Top