Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have a set $S(k)$ well defined only if $k>0$, and another set $X$ well defined only if a condition $cond$ is satisfied.

I want to define $S(k)$ as the union of $S(k-1)$ and $X$ provided that both are well defined. How can I express this ?

If I write $S(k) = S(k-1) \cup X$, this is not correct if $k=1$ or $cond$ is false.

Thank you.

share|improve this question
add comment

1 Answer 1

I think

$S(k) = S(k-1) \cup X$ provided $S(k-1)$ and $X$ are well defined

is perfectly clear, but if you really want notation then how about

$$ S(k) = \begin{cases} S(k-1) \cup X & \text{if } k>0 \text{ and } cond = \text{true} \\ S(0) & \text{if } k = 0 \\ \emptyset & \text{otherwise,} \end{cases} $$

or whatever other "otherwise" result you want.

share|improve this answer
    
Thank you. But is it possible to have a formula without the (if else) ? –  user3749 May 2 '12 at 16:44
    
@user3749 I doubt you're going to get much better than that, considering (if else) is a crucial part of your definition of $S(k)$. The "cases" notation above is very common. –  Antonio Vargas May 2 '12 at 16:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.