In mathematics, the inverse of a function y = f(x) is a function that, in some fashion, "undoes" the effect of f (see inverse function for a formal and detailed definition). Writing explicitly the dependence of y on x and the point at which the differentiation takes place and using Lagrange's notation, the formula for the derivative of the inverse becomes Geometrically, a function and inverse function have graphs that are reflections, in the line y=x. This reflection operation turns the gradient of any line into its reciprocal. Assuming that f has an inverse in a neighbourhood of x and that its derivative at that point is non-zero, its inverse is guaranteed to be differentiable at x and have a derivative given by the above formula.