Which quantity gives the resistance of a component? In a current vs potential difference graph, we can obtain the value of the resistance of the component. There are books that say gradient-inverse is the resistance and also books that say the value of $\frac{\text{current, I}}{\text{potential difference:V}}$, which comes from the coordinates of the graph, provides the resistance.
I tend to believe the second method (coordinates) provide the true value of resistance. The reason is because when we discuss gradient, we are talking about change wrt to another quantity. e.g. acceleration is change of velocity wrt time. Resistance is NOT change of potential difference wrt current. Resistance is the ratio of potential difference over current, according to Ohm's law.
This is frustrating because I can find official solutions to international certified examinations also saying that the gradient method is the correct one. So can someone who is very knowledgeable in this area provides the true answer? Students need to be taught the correct methods.
Update:
The two ways to calculate the resistance from an I-V graph is:


*

*Take the inverse of the gradient. In the diagram ,it would be $\frac{10-1}{15-5}=\frac{9}{10} \Omega$.

*Take the ratio of $\frac{V}{I}$ which in this case will be $\frac{10}{5} = 2 \Omega$.


These two methods yield different results, but both give the same dimension. Which one is the correct method?

 A: The rate of change of voltage with respect to current is known as the dynamic resistance.  The ratio of voltage to current at a point is the static resistance.
For an ohmic circuit element, the static resistance and the dynamic resistance are equal.
For non-linear circuit elements, the dynamic resistance is more useful as one can then linearize the element about an operating point and, for small variations about the operating point, the element behaves as a resistor with resistance equal to the dynamic resistance.
A: Because there are lots of variables having some impact on resistivity (like temperature), in non-linear resistive materials the resistivity can be also a function of provided current or voltage, there is need to have true function combining voltage drop and current value on the material, like I = f(U). Because sometimes this function is strongly non-linear (for semi-conductor materials like eg. a diode), it's easier to represent this dependency (some mathematical function in fact) on a IU graph. In this case the resistivity (or resistance) IS a derivative (or gradient if you wish) of voltage drop vs current (or vice-versa).
When you measure both voltage and current and calculate resistance you usually do this having constant input(s). So you don't see then this derivative connection, but -- relating to your example -- if you move with constant speed you don't see that the path changes constantly with the time. I think you misunderstand acceleration (velocity change in time) as analogue of resistance (voltage change in current). I think more proper would be to imagine that resistance is your speed: you increase the input voltage and with this speed current changes.
A: Ohm's Law is indeed V = IR, which means the resistance is R = V/I.
This article defines resistance of an ideal conductor as having the potential difference being proportional to the current through it.
There are a multitude of online articles about this, including this Ohm's Law calculator.
