Before going any further, a word about IK chains. There are three types of chains:
The single chains are the most basic of chains. A single chain is a straight line with no secondary chain attached. It goes up to the first intersection.
A direct chain is a single chain which goes directly to the core (root).
All chains are attached and move together when one part is moved.