# No local minima in parabola through inspection

How can I tell that a parabola, say $y=x^{2}$ has no local minima through inspection (apart from $(0,0)$)? Could I say that, by inspection, there are no other points in the the graph where the graph falls up to the point and then rises again?

Suppose I take the interval $x \in [1,2]$. Why can't I say that 1 is a local minimum in this interval, though clearly $x=1$ has the lowest value of y in this interval? What's the mathematical reason?

Recall that if $f: I \subset \mathbb{R} \to \mathbb{R}$ is differentiable and $c \in I$ then if $c$ is a local min/max $f'(c) = 0$.
Firstly we know that function $y=x^2$ is continuous and differentiable in R. If it is differentiable we can calculate a derivative $y'=2x$. We also know that if a point 'z' is the local min/max, then $f'(z)= 0$. That is why we may check how our derivative is behaving for different x. In this case:
• for every $x > 0$ our $f'(x) > 0$
• for every $x < 0$ our $f'(x) < 0$
• if $x = 0$ our $f'(x) = 0$
So by the rule I wrote above the only point where we should look for a local min/max is $x=0$, although it is not sufficient yet to tell that it is for sure a local min/max. The sufficient condition for that is that in point 'z' the derivative must change its sign. Let's assume we have a very small $r>0$ and we try to assess whether point 'z' is a local minimum. Then in interval (r, z] $f'(x) < 0$ (that means the function in this interval is decreasing) and in [z, r) $f'(x) > 0$ (that means the function in this interval is increasing). If such happens we can say that 'z' is local minimum. That is why we can't say that for $y=x^2$ defined on interval [1,2] x=1 is local minimum. Because we know that on some interval [1, r) function is increasing, but we don't know what happens in (r, 1]. In other words we can't evaluate local min/max when there is only one-sided derivative in a point.