Are both formulas the same?Do they have different use?Is there something else i am missing here? I do not ask for the proof of the formulas.
i see both of them online on various resources, for example try typing in google images '' geometric series''


Yes they are the same just multiply the top and bottom by $-1$ to move from one formula to another. $a_1$ corresponds to $a$ here.