There is a missing "+" in equation (8) inside the curly brackets between the "A" and the "(". The equation should read:

GIF with the corrected equation

I would like to thank Steve LeRoy for pointing this out to me.