Algebra | Level 1 Math "Set"

Posts 1630 of 30 · Page 2 of 2
Quote Originally Posted by arunforce View Post


not sure what you're trying to ask

Here, I don't know what to do..


Can you give me at least 1 example? Our professor didn't teach to us..
E U F = Integers excluding 0

Here's the logic:

E contains all even integers( ..., -4, -2, 2, 4 , ...)
F contains all odd integers(..., -3, -1, 1, 3, ...)

E U F = (..., -2, -1, 1, 2, ...)

I exclude 0 because I think it is neither odd or even.

For the x|x, it means x such as x...

so x|x is an even integer = x such as x is an even integer
@Jhem

also I think number 2 would be all even positive integers.
Quote Originally Posted by Gab View Post
E U F = Integers excluding 0

Here's the logic:

E contains all even integers( ..., -4, -2, 2, 4 , ...)
F contains all odd integers(..., -3, -1, 1, 3, ...)

E U F = (..., -2, -1, 1, 2, ...)

I exclude 0 because I think it is neither odd or even.

For the x|x, it means x such as x...

so x|x is an even integer = x such as x is an even integer
@Jhem

also I think number 2 would be all even positive integers.
THank you brother, Now I understand what do I need.
Quote Originally Posted by Gab View Post
E U F = Integers excluding 0

Here's the logic:

E contains all even integers( ..., -4, -2, 2, 4 , ...)
F contains all odd integers(..., -3, -1, 1, 3, ...)

E U F = (..., -2, -1, 1, 2, ...)

I exclude 0 because I think it is neither odd or even.

For the x|x, it means x such as x...

so x|x is an even integer = x such as x is an even integer
@Jhem

also I think number 2 would be all even positive integers.
I consider 0 even. I just googled what | means and you're right.

So basically

E U F, where E = { 2 }, F = { 3 } => E U F = {2, 3}
E (Upside Down U) F, where E = { 2 }, F = { 3 } => E (Upside Down U) F = {}
Quote Originally Posted by arunforce View Post


I consider 0 even. I just googled what | means and you're right.

So basically

E U F, where E = { 2 }, F = { 3 } => E U F = {2, 3}
E (Upside Down U) F, where E = { 2 }, F = { 3 } => E (Upside Down U) F = {}
You can just consider U and Upside down U as bitwise AND and bitwise OR, but you compare wheter it contains something or not.

Lets say E = {1,3,7,8} and F = {2, 3, 5}, you can transform them in bit train or w/e you call that in english, and you get
E = {0,1,0,1,0,0,0,1,1}
F = {0,0,1,1,0,1,0,0,0}

where the first bit is 0 because it doesn't contain the number 0, the second one is 1 because it contains 1, the third one is 0 because E doesn't contain 2, etc...

after that you do {0,1,0,1,0,0,0,1,1} AND {0,0,1,1,0,1,0,0,0},

which gives you

{0,0,0,1,0,0,0,0,0}

Therefore E AND F = {3}

NOw you can't do that for huuuuge arrays, but thats the logic behind these operators.
Quote Originally Posted by Gab View Post
E U F = Integers excluding 0

Here's the logic:

E contains all even integers( ..., -4, -2, 2, 4 , ...)
F contains all odd integers(..., -3, -1, 1, 3, ...)

E U F = (..., -2, -1, 1, 2, ...)

I exclude 0 because I think it is neither odd or even.

For the x|x, it means x such as x...

so x|x is an even integer = x such as x is an even integer
@Jhem

also I think number 2 would be all even positive integers.
Actually, 0 is an even integer.
Quote Originally Posted by Cheenku View Post
Actually, 0 is an even integer.
Ya I wasn't sure so I just excluded it
Quote Originally Posted by arunforce View Post
x|x is referring to two different integers, I believe... so:

E = {2, 4}
F = {1, 5}

E U F = {1,2,4,5}
Quote Originally Posted by Gab View Post


You can just consider U and Upside down U as bitwise AND and bitwise OR, but you compare wheter it contains something or not.

Lets say E = {1,3,7,8} and F = {2, 3, 5}, you can transform them in bit train or w/e you call that in english, and you get
E = {0,1,0,1,0,0,0,1,1}
F = {0,0,1,1,0,1,0,0,0}

where the first bit is 0 because it doesn't contain the number 0, the second one is 1 because it contains 1, the third one is 0 because E doesn't contain 2, etc...

after that you do {0,1,0,1,0,0,0,1,1} AND {0,0,1,1,0,1,0,0,0},

which gives you

{0,0,0,1,0,0,0,0,0}

Therefore E AND F = {3}

NOw you can't do that for huuuuge arrays, but thats the logic behind these operators.
thanks gab never took a programming course b4

Quote Originally Posted by Solvi View Post
I won't RKO u if u thank this post http://www.mpgh.net/forum/showthread...1#post10663234


- - - Updated - - -

also the 0 even thing was for u, the rest was for him
Quote Originally Posted by arunforce View Post


thanks gab never took a programming course b4



I won't RKO u if u thank this post http://www.mpgh.net/forum/showthread...1#post10663234


- - - Updated - - -

also the 0 even thing was for u, the rest was for him
I just wanted to tell you about the bit trains lol, not how to do 0 AND 1
What the fuck.
This is Algebra 1?
I don't remember learning any of this back in Algebra 1. Lol
Quote Originally Posted by Austin View Post
mfw this thread

Wh.. why??

Thank you again. @pablo DICKBAR OPEN TOASTHOLE 4 U and @arunforce
It's helps to think of the ∪ (union) and ∩ (intersection) of sets of numbers in terms of a venn diagram.

A ∩ B = C (common elements)



A ∪ B = C (combined elements)



PatrickJMT does a good explanation about this (should check out his other videos on his website too):

Math makes me cry :,(
Posts 1630 of 30 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?