I'm currently solving some university E&M homework problems and to solve input impedance, we were given this formula (from Fundamentals of Applied Electromagnetics 6th Ed):
But when I browse online on the subject matter, the presented formulas are overwhelmingly as follows:
I'm totally stumped on the difference between these two, I read through both derivations and don't understand how they arrive to this conclusion. Any help will be greatly appreciated!