In a book that I have been reading (Practical Electronics for Inventors 4th ed by Paul Scherz and Simon Monk), I came across the equation on pg 129 for for inductor $$V_L = L \frac{di}{dt}$$
where $$V_L$$ is described as voltage across an inductor = induced EMF.
This is where I get really confused as to the usefulness/practicality of the equation. Let us take a circuit that consists of a series of voltage source, resistor, inductor and a switch. During the period of closing the switch, does this equation describe the applied voltage across an inductor? Or the induced EMF in the inductor as a result of changing magnetic flux? Because it seems to me the two are distinct and they are not equal as shown by https://physics.stackexchange.com/a/308992/289350
So what exactly is this V that I am subbing into the equation? Is it the voltage I read across the inductor using the voltmeter at the instant I switch on the circuit? Or is it the net sum of the applied voltage and negative induced EMF?
I have also referred to this The sign in the formula for the voltage across the inductor to understand that the derivations are not from Faraday's law but from energy equation of an ideal inductor + lumped model analysis. From the derivations, it seems to be implied that this V is the applied voltage. So is the author wrong? I am so confused.