Help with a proof in my discrete math summer class

Click For Summary

Homework Help Overview

The discussion revolves around proving the equality of two sets in discrete mathematics. Set A consists of all integers that can be expressed as the square of an integer, while set B includes all integers whose square root is also an integer. The original poster seeks guidance on how to construct a formal proof demonstrating that A equals B.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the definitions of sets A and B, with some clarifying the notation and intent behind the original poster's statements. There is an emphasis on the need to prove two inclusions: A is a subset of B and B is a subset of A. Some participants suggest starting with specific assumptions about membership in each set to build the proof.

Discussion Status

There is active engagement with the original poster's attempts, with participants providing hints and corrections regarding the algebraic expressions used in the proof. The discussion is ongoing, with no consensus reached yet, but participants are guiding the original poster towards refining their arguments.

Contextual Notes

Some participants note potential misunderstandings in the original definitions of the sets, indicating a need for careful consideration of the mathematical properties involved. The original poster expresses frustration with the lack of support from their instructor, which may impact their confidence in tackling the proof.

CapnCornbread
Messages
3
Reaction score
0

Homework Statement



Let A be the set of all integers x such that x is = k2 for some integer k
Let B be the set of all integers x such that the square root of x, SQRT(x), is an integer
Give a formal proof that A = B. Remember you must prove two things: (1) if x is in A, then x is in B, AND (2) if x is in B, then x is in A


Homework Equations





3. Why I am so useless
I am taking an online discrete math class as a prerequisite for my major. The prof is a nice enough person, but the extent of help that he provides on questions that I have asked is "read the book". Which I have...and it didn't help me in this case. If someone could point me in the right direction of how to get this proof underway, I would appreciate it.
 
Physics news on Phys.org
CapnCornbread said:

Homework Statement



Let A be the set of all integers x such that x is = k2 for some integer k
Let B be the set of all integers x such that the square root of x, SQRT(x), is an integer
Give a formal proof that A = B. Remember you must prove two things: (1) if x is in A, then x is in B, AND (2) if x is in B, then x is in A

Since this is your first post, here's a couple of useful hints.

You don't mean what you wrote for A. What you have written would mean A was the even integers. You should write it as k^2 or, better, use the X2 key above your edit window. So A = {x: x is an k2 for some integer k} which we might more informally call the perfect squares. And B is, informally, the integers that are square roots of other integers.

First you might argue that both sets only contain positive integers. Now suppose x is in A. Can you make an argument that it is in B? Then you have to do the other way.
 
Welcome to PF!

Hi CapnCornbread! Welcome to PF! :wink:

Show us your attempt at (1) first. :smile:
 
OK, I was thinking I could do something like this:
To prove this example of set equality, we need to undertake two steps: first, show that if x is in A then X is in B, and second, show that if x is in B then X is in A.
First, Assume x ∈A. Then by definition of A, x = k2 for some integer k. Thus by algebra, x = k2 = SQRT(k) * SQRT(k). Therefore x ∈B.
Next, Assume x ∈B. Then by definition of B, SQRT(x) for some integer k. Thus by algebra, x = SQRT(k) = k2. Therefore x ∈A.
We have shown that both A⊆B and B⊆A, therefore A = B.
 
CapnCornbread said:
OK, I was thinking I could do something like this:
To prove this example of set equality, we need to undertake two steps: first, show that if x is in A then X is in B, and second, show that if x is in B then X is in A.
First, Assume x ∈A. Then by definition of A, x = k2 for some integer k. Thus by algebra, x = k2 = SQRT(k) * SQRT(k). Therefore x ∈B.

You really need to use the X2 icon. You are close, but your equality
k2=SQRT(k) * SQRT(k) isn't true because the left and right sides aren't equal. Think about it a little more.

Next, Assume x ∈B. Then by definition of B, SQRT(x) for some integer k. Thus by algebra, x = SQRT(k) = k2. Therefore x ∈A.
We have shown that both A⊆B and B⊆A, therefore A = B.

Again, sqrt(k) ≠ k2. Do you need that?
 
With revisions:
Assume x ∈A. Then by definition of A, x = k2 for some integer k. Thus by algebra,
x = k2 = k * k. Therefore x ∈B.
Assume x ∈B. Then by definition of B, SQRT(x) for some integer k. Thus by algebra, x = SQRT(k) * SQRT(k) = k. Therefore x ∈A.
We have shown that both A⊆B and B⊆A, therefore A = B.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
1K
Replies
9
Views
3K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K