In the following example:
At the very last step, how does the author get that $\tan(\theta) = dy/dx$? To which $dy$ and $dx$ is this referring to? It can't be the same $dx$ that is labelled in the diagram, can it? Where do these $dy$ and $dx$ come from?