Help with basic inductor

currentinductanceinductor

I need some help with this basic inductor.

enter image description here

If I have the current in that direction and those values of voltage and inductance, what is the value of $$\frac{di}{dt}$$ ?

I know that:
$$V_L=L.\frac{di}{dt}$$

So:
$$ (2-0) = 2.\frac{di}{dt}$$
So:
$$\frac{di}{dt} = 1$$

but that's wrong because the answer is

$$\frac{di}{dt} = -1$$

What is wrong??

Thanks

Best Answer

The current direction in the diagram is from lower potential to higher potential but in applying the formula you have assumed the current to be from higher potential to lower. The formula becomes:

$$(0-2) = 2\times\frac{di}{dt}$$

Apply KVL in the direction of current you are assuming

In this particular question if you rig the circuit up, current will always from from higher potential to lower (2V-0V), hence it is opposite to the assumed direction and therefore negative.