Question: Suppose that $g$ is any even differentiable function defined for all real numbers (not necessarily a polynomial).
<p>Prove that $\frac{dg}{dx}$ is an odd function.</p>
I have seen this post but I want help on the specific part I am stuck on
What I have attempted (my two attempts) :
First attempt
Consider the definition of a derivative: $$\lim_{h \rightarrow 0}\frac{f(x+h)-f(x)}{h}$$
If g(x) is a function which is even then $g(-x)=g(x)$ and $g(x-h) = g(-x+h)$
$$g'(x) \lim_{h \rightarrow 0}\frac{g(-x+h)-g(-x)}{h}$$
$$g'(x) \lim_{h \rightarrow 0}\frac{g(x-h)-g(x)}{h}$$
Now I am stuck trying to deduce the deriviative
Second attempt
Consider a function $g(x)$ which is even then $g(x) = g(-x)$ then
$$ g'(x) = \frac{d}{dx}[g(-x)] $$
Then by chain rule
$$ g'(x) = -g'(-x) $$
but if a function is odd $f(-x)=-f(x)$
$$ g'(x) = -(-g'(x)) $$
$$ g'(x) = g'(x) $$
This is not correct but where did I go wrong?