Jump to content

Sets?


Freeman

Recommended Posts

How would I write this in mathematica code???

The equation: [math] A\:\backslash\; B = \{x\: l \:x \in A, x\notin B \} [/math]

Where A is the set of all whole postive integers, and B is the set of [math] ^c\{D \times E\}_{D,E=2}[/math]

Link to comment
Share on other sites

Okay, firstly something you should know in regards to set theory notation:

 

Firstly, most sets are defined using uppercase letters. Secondly, the operation A x B where A and B are sets is defined as the cartesian product of a set, notably:

 

[math]A \times B = \{ (a,b) \: | \: a \in A, b \in B \}[/math]

 

The proper mathematical way of defining your set is as follows:

 

[math]S = \{ (l, m) \: | \: l, m \in \mathbb{R}, l, m \geq 2\}[/math]

 

Unless, of course, I've made a mistake.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.