I'm reading the chapter in my textbook about the price elasticity of demand, and it was pointed out that most demand curves do not represent a constant elasticity of demand - even linear curves like $f(x)=x$ is not constant elasticity although it has constant slope. It then points out three curves that have constant elasticity all throughout the curve.
I'm just curious, from a mathematical standpoint, what function represents the rounded curve? It's definitely something akin to an exponential function, but I'm not quite sure how to calculate it. I played around on google and found that $f(x)=e^{-x}$ looks something like it, but it's not quite the right shape. The straight lines are simple and straightforward - they have a slope of 0 and a slope of infinity, respectively. But what about the round curve?
FWIW, the equation I have to calculate elasticity is:
$$\eta=\frac{\text{Percentage change in quantity demanded}}{\text{Percentage change in price}}$$
Would I have to use integration to find this out?