What are the conditions of two curves touching each other?
A necessary condition for this is that the derivative for both the curves should be the same at the point of intersection.
But that doesn't seem to be sufficient, as in the case of $y = x^3$ and $y=x^5$, both of which have the same derivative at x = 0, but they are intersecting or crossing each other.
Does it have something to do with point of inflection? I'm unable to arrive at the conditions precisely.