Daniel B. answered 12/05/22
A retired computer professional to teach math, physics
By the definition of local minimum:
There exists δ>0 such that for all x∈(c-δ, c+δ), f(x) ≥ f(c).
Substitute f(x) = -g(x)
There exists δ>0 such that for all x∈(c-δ, c+δ), -g(x) ≥ -g(c).
Multiply the expression by -1:
There exists δ>0 such that for all x∈(c-δ, c+δ), g(x) ≤ g(c).
The above is the definition of g(x) having local maximum at c.