开发者

Power Set and Union

开发者 https://www.devze.com 2023-01-20 22:21 出处:网络
Following set is given: X := {Horse, Dog} Y := {Cat} I d开发者_StackOverflow中文版efine the set: M := Pow(X) u {Y}

Following set is given:

X := {Horse, Dog} 
Y := {Cat}

I d开发者_StackOverflow中文版efine the set:

M := Pow(X) u {Y}

u for union

The resulting set of the power set operation is:

Px := {0, {Horse}, {Dog}, {Horse, Dog}}

0 for empty set

My question is referenced to the unio operation. How do I unite 0 and Y?

M := {{Horse, Cat}, {Dog, Cat}, {Horse, Dog, Cat}}


I'm going to differ slightly with the other responses. If you define Y = {Cat} then {Y} = {{Cat}}, that is, Y is the set containing the element Cat and {Y} is the set containing Y, or the set containing the set containing the element Cat. In that case:

M := {0, {Horse}, {Dog}, {Horse, Dog}, {Cat} }

It's a subtle, but important distinction in set theory.


you have

M := Pow(X) u {Y}

with

Pow(X) := {0, {Horse}, {Dog}, {Horse, Dog}}

so

M := {0, {Horse}, {Dog}, {Horse, Dog}} u {{Cat}}

Does that clear it up for you?

The set you've displayed the union mapped over the cartesian product and missing {Cat}.


M := {0, {Horse}, {Dog}, {Horse, Dog}, Cat}

The definition of the union is the set of elements that are in either set. So {Horse,Cat} is not in the union, because it is not in either set.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号