What exactly is the purpose of this question? Are you interested in the theory, or are you actually trying to apply this to something in practice, and if the latter, can you please explain what exactly? I'm not really understanding what you're getting at.