Anuja, Whatever you are saying that is for Cartesian coordinate i.e. equating the double derivative to 0. But for polar, in the class, we have introduced the variable u=1/r and also, I told that, to check convexity or concavity in polar coordinate, we have to check the sign of the term
and point of inflexion lie on the curve by equating this term to 0.