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 am working the a subject guide on involving $L$-Systems and have the alphabet $A = \{a, b, c\}$. The initiator is the string $a$ and the rules of substitution $a \to ba$, $b \to ccb$, $c \to a$.

The study guide gives the first five generations as:

$$[a] \to [ba] \to [ccba] \to [acba] \to [aaba] \to [aaccba]$$

I can't for the life of me figure out how this works. No rules regarding the order of substitution are provided, and my lecturer say's that it is possible to get to this.

Does anybody have any ideas?

share|improve this question
    
Generally, all of the substitutions are assumed to occur simultaneously. The thing is, the chain of generations you've given doesn't seem to follow the rule (for example, [ba] should go to [ccbba]). Are you sure you copied down the information from the study guide correctly? –  William D. Feb 23 '12 at 16:42
    
I am afraid so. Checked and double-checked. –  Ray Feb 23 '12 at 17:45

1 Answer 1

up vote 1 down vote accepted

It looks like only one symbol is substituted in one step. The symbol $c$ gets highest priority, followed by $b$ and then $a$. When there are multiple instances of the same symbol, the leftmost is changed. But of course this is guessing, and the example is too short to allow much confidence.

share|improve this answer
    
I agree with this nukka. –  Hautdesert Feb 26 '12 at 3:31

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.