# 0708-1300/Barnie the polar bear

But, we are going to change a little bit Barnie's fairy world. We are going to give Barnie two linearly independent vector fields ($X$ and $Y$) on the earth and Barnie should follow the local flows generated by these vector fields during his journey.
Poor Barney! It can happen that at the end of his walk he won't end at home and he will have to walk a little more to go home. But not too much. In fact, all the ends of his walks form a curve which is almost constant at home!! (Its derivative is zero). The only problem is the second derivative which is twice $[X,Y]$ at home. Even more if $[X,Y]$ is zero then Barnie will be happy again, ending every day at home at the end of his walk.