Andrew, the decision to invade France was made out of a perceived military necessity. German military commanders had feared a two-front war ever since German unification in 1871. The thinking was that a quick invasion of France while Russia was still mobilizing could prevent the need to fight on two fronts. By the time Russia was prepared for war the Germans hoped to have defeated France already.
Does this help?