What's the chemical equation for the lithium iron phosphate battery
Close, the cathode reaction is:

$$ \ce{LiFePO4 -&gt; FePO4 + Li^+ + e^-}$$

The anode is:

$$\ce{Li^+ + C6 + e^- -&gt; LiC6}$$

The best description I can give is that the lithium ion intercalates into the graphite and "steals" some electron density from the six-membered conjugated ring.