# 0.6 Discrete structures recursion  (Page 2/8)

 Page 2 / 8

Note that if we don't have the Extremal Clause,  0.5, 1.5, 2.5, ... can be included in N, which is not what we want as the set of natural numbers.

Example 2. Definition of the Set of Nonnegative Even Numbers NE

The set NE is the set that satisfies the following three clauses:

Basis Clause: 0 ∈ NE

Inductive Clause: For any element x in NE, x + 2 is in NE.

Extremal Clause: Nothing is in NE unless it is obtained from the Basis and Inductive Clauses.

Example 3. Definition of the Set of Even Integers EI

The set EI is the set that satisfies the following three clauses:

Basis Clause: 0 ∈ EI

Inductive Clause: For any element x in EI, x + 2, and x - 2 are in EI.

Extremal Clause: Nothing is in EI unless it is obtained from the Basis and Inductive Clauses.

Example 4. Definition of the Set of Strings S over the alphabet {a,b} excepting empty string. This is the set of strings consisting of a's and b's such as abbab, bbabaa, etc.

The set S is the set that satisfies the following three clauses:

Basis Clause: a ∈ S, and b ∈ S.

Inductive Clause: For any element x in S, ax ∈ S, and bx ∈ S.

Here ax means the concatenation of a with x.

Extremal Clause: Nothing is in S unless it is obtained from the Basis and Inductive Clauses.

Tips for recursively defining a set:

For the "Basis Clause", try simplest elements in the set such as smallest numbers (0, or 1), simplest expressions, or shortest strings. Then see how other elements can be obtained from them, and generalize that generation process for the "Inductive Clause".

The set of propositions (propositional forms) can also be defined recursively.

## Generalized set operations

As we saw earlier, union, intersection and Cartesian product of sets are associative. For example (A ∪ B) ∪ C = A ∪ (B ∪ C)

To denote either of these we often use A ∪ B ∪ C.

This can be generalized for the union of any finite number of sets as A1 ∪ A2 ∪.... ∪ An.

which we write as

${}_{i=1}^{n}{A}_{i}$

This generalized union of sets can be rigorously defined as follows:

Definition ( ${}_{i=1}^{n}{A}_{i}$ ):

Basis Clause: For n = 1, ${}_{i=1}^{n}{A}_{i}={A}_{1}$ .

Inductive Clause:   ${}_{i=1}^{n+1}{A}_{i}$ = ${}_{i=1}^{n}{A}_{i}$ ∪ An+1

Similarly the generalized intersection ${}_{i=1}^{n}{A}_{i}$ and generalized Cartesian product ${}_{i=1}^{n}{A}_{i}$ can be defined.

Based on these definitions, De Morgan's law on set union and intersection can also be generalized as follows:

Theorem (Generalized De Morgan)

$\overline{{}_{i=1}^{n}{A}_{i}}={}_{i=1}^{n}\overline{{A}_{i}}$ ,     and

$\overline{{}_{i=1}^{n}{A}_{i}}={}_{i=1}^{n}\overline{{A}_{i}}$

Proof: These can be proven by induction on n and are left as an exercise.

## Recursive definition of function

Some functions can also be defined recursively.

Condition: The domain of the function you wish to define recursively must be a set defined recursively.

How to define function recursively: First the values of the function for the basis elements of the domain are specified. Then the value of the function at an element, say x, of the domain is defined using its value at the parent(s) of the element x.

A few examples are given below.

They are all on functions from integer to integer except the last one.

Example 5: The function f(n) = n! for natural numbers n can be defined recursively as follows:

Is there any normative that regulates the use of silver nanoparticles?
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
why we need to study biomolecules, molecular biology in nanotechnology?
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
why?
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
what does nano mean?
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
it is a goid question and i want to know the answer as well
Maciej
Abigail
for teaching engĺish at school how nano technology help us
Anassong
Do somebody tell me a best nano engineering book for beginners?
there is no specific books for beginners but there is book called principle of nanotechnology
NANO
what is fullerene does it is used to make bukky balls
are you nano engineer ?
s.
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
Tarell
what is the actual application of fullerenes nowadays?
Damian
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
Tarell
what is the Synthesis, properties,and applications of carbon nano chemistry
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
carbon nanotubes has various application in fuel cells membrane, current research on cancer drug,and in electronics MEMS and NEMS etc
NANO
so some one know about replacing silicon atom with phosphorous in semiconductors device?
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
for screen printed electrodes ?
SUYASH
What is lattice structure?
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
Got questions? Join the online conversation and get instant answers!