Edit
For the purposes of proving the statement below, a stationary point of inflection of a curve shall be defined as a point on the curve where the curve changes concavity.
Problem
Suppose $f(x)$ is $k$ times differentiable with $k \mod 2 \equiv 1$ and $k \geq 3$. Then, if $f^{(n)}(c) = 0$ for $n = 1, ..., k - 1$ and $f^{(k)}(c) \neq 0$, prove that $c$ is a stationary point of inflection of $f$.
I have successfully proven the cases where $k = 3$ and $k = 5$ (or so I think) and I am currently trying to devise a proof for the general case above. I am trying to use the ideas from my two proofs (they are largely based on the second derivative test) and am thinking along the lines of induction, but I am not sure if that is wise. Any suggestions/hints/help will be greatly appreciated!
As I am not so well-versed in mathematical proof-writing as I would like to be, I am also providing my proofs for the $k = 3$ and $k = 5$, so that the community may critique them for me!
Proof for $k = 3$
Suppose $f^{(3)}(c) > 0$
$\because f^{(3)}(c) = \lim \limits_{x \to c} \frac {f^{(2)}(x) - f^{(2)}(c)} {x - c} = \lim \limits_{x \to c} \frac {f^{(2)}(x)} {x - c}$
$\therefore \lim \limits_{x \to c} \frac {f^{(2)}(x)} {x - c} > 0$
When $x \rightarrow c^+$, $x > c$
For $\lim \limits_{x \to c^+} \frac {f^{(2)}(x)} {x - c} > 0$, $f^{(2)}(x) > 0$
When $x \rightarrow c^-$, $x < c$
For $\lim \limits_{x \to c^-} \frac {f^{(2)}(x)} {x - c} > 0$, $f^{(2)}(x) < 0$
$\because f^{(2)}(x)$ changes sign at $c$
$\therefore f$ changes concavity at $c$
$\implies$ By definition, $c$ is a stationary point of inflection of $f(x)$
Similarly, if $f^{(3)}(x) < 0$, then $\lim \limits_{x \to c} \frac {f^{(2)}(x)} {x - c} < 0$
When $x \rightarrow c^+$
For $\lim \limits_{x \to c^+} \frac {f^{(2)}(x)} {x - c} < 0$, $f^{(2)}(x) < 0$
When $x \rightarrow c^-$
For $\lim \limits_{x \to c^-} \frac {f^{(2)}(x)} {x - c} < 0$, $f^{(2)}(x) > 0$
$\because f^{(2)}(x)$ changes sign at $c$
$\therefore f$ changes concavity at $c$
$\implies$ By definition, $c$ is a stationary point of inflection of $f(x)$
To conclude, suppose $f(x)$ is $3$ times differentiable. If $f^{(n)}(c) = 0$ for $n = 1, 2$ and $f^{(3)}(c) \neq 0$, then $c$ is a stationary point of inflection of $f$.
Proof for $k = 5$
Suppose $f^{(5)}(c) > 0$
Let $g(x) = f^{(3)}(x)$
$\because g^{(1)}(c) = 0$ and $g^{(2)}(c) > 0$
$\therefore g(x)$ has a minimum at $c$
$\because g(c) = 0$
$\therefore$ for all $x$ near $c$, $g(x) > 0$
$\implies f^{(2)}(x)$ is an increasing function near $c$
In particular, when $x \rightarrow c^-$, $f^{(2)}(x) < f^{(2)}(c)$ and when $x \rightarrow c^+$, $f^{(2)}(x) > f^{(2)}(c)$
$\because f^{(2)}(c) = 0$
$\therefore f^{(2)}(x)$ changes sign at $c$
$\implies f(x)$ changes concavity at $c$
$\therefore$ By definition, $c$ is a stationary point of inflection of $f(x)$
Similarly, if $f^{(5)}(c) < 0$, then $g(x)$ has a maximum at $c$
$\because g(c) = 0$
$\therefore$ for all $x$ near $c$, $g(x) < 0$
$\implies f^{(2)}(x)$ is a decreasing function near $c$
In particular, when $x \rightarrow c^-$, $f^{(2)}(x) > f^{(2)}(c)$ and when $x \rightarrow c^+$, $f^{(2)}(x) < f^{(2)}(c)$
$\because f^{(2)}(c) = 0$
$\therefore f^{(2)}(x)$ changes sign at $c$
$\implies f(x)$ changes concavity at $c$
$\therefore$ By definition, $c$ is a stationary point of inflection of $f(x)$
To conclude, suppose $f(x)$ is $5$ times differentiable. If $f^{(n)}(c) = 0$ for $n = 1, ..., 4$ and $f^{(5)}(c) \neq 0$, then $c$ is a stationary point of inflection of $f$.
Having been able to come up with these two proofs largely by myself, with some help from my professor, I am actually quite excited on trying a proof for the general case where I am leaning towards induction (actually, it is the only form I can think of), but as my ideas for $k = 3$ and $k = 5$ are not exactly identical, I am not sure if induction is the way to go.
I am also trying to stick to second derivative tests (or something of similar difficulty) as I am currently only taking an introductory calculus module at university, so I do not have such "high-powered" tools at my disposal, such as Taylor's Series/Theorem and the likes of it.
Also, apologies for the lengthy post!
Edit 2
Proof for the general case (Many thanks to John Hughes for the guidance)
Let $g(x) = f(x + c) - f(c)$
$\implies g(0) = 0$ and $g^{(k)}(0) = f^{(k)}(c)$
Then, it suffices to prove that, if $0$ is a stationary point of inflection of $g$, $c$ will be a stationary point of inflection of $f$.
Suppose $g^{(3)}(0) > 0$
$\because g^{(3)}(c) = \lim \limits_{x \to 0} \frac {g^{(2)}(x) - g^{(2)}(0)} {x - 0} = \lim \limits_{x \to 0} \frac {g^{(2)}(x)} {x}$
$\therefore \lim \limits_{x \to 0} \frac {g^{(2)}(0)} {x} > 0$
When $x \rightarrow 0^+$, $x > 0$
For $\lim \limits_{x \to 0^+} \frac {g^{(2)}(x)} {x} > 0$, $g^{(2)}(x) > 0$
$\because g^{(2)}(x) > 0$ for some $x \in (0, b)$ and $f^{(2)}(x) = g^{(2)}(x - c)$,
$\therefore f^{(2)}(x) > 0$ for some $x \in (c, b + c)$
When $x \rightarrow 0^-$, $x < 0$
For $\lim \limits_{x \to 0^-} \frac {g^{(2)}(x)} {x} > 0$, $g^{(2)}(x) < 0$
$\because g^{(2)}(x) < 0$ for some $x \in (-b, 0)$ and $f^{(2)}(x) = g^{(2)}(x - c)$,
$\therefore f^{(2)}(x) < 0$ for some $x \in (-b + c, c)$
$\implies f^{(2)}$ changes sign near $c$
$\implies f$ changes concavity at $c$
$\therefore c$ is a stationary point of inflection of $f$
Similarly, if $g^{(3)}(0) < 0$, then $\lim \limits_{x \to 0} \frac {g^{(2)}(x)} {x} < 0$
When $x \rightarrow 0^+$
For $\lim \limits_{x \to 0^+} \frac {g^{(2)}(x)} {x} < 0$, $g^{(2)}(x) < 0$
$\because g^{(2)}(x) < 0$ for some $x \in (0, b)$ and $f^{(2)}(x) = g^{(2)}(x - c)$,
$\therefore f^{(2)}(x) < 0$ for some $x \in (c, b + c)$
When $x \rightarrow 0^-$
For $\lim \limits_{x \to 0^-} \frac {g^{(2)}(x)} {x} < 0$, $g^{(2)}(x) > 0$
$\because g^{(2)}(x) > 0$ for some $x \in (-b, 0)$ and $f^{(2)}(x) = g^{(2)}(x - c)$,
$\therefore f^{(2)}(x) > 0$ for some $x \in (-b + c, c)$
$\implies f^{(2)}$ changes sign near $c$
$\implies f$ changes concavity at $c$
$\therefore c$ is a stationary point of inflection of $f$
To conclude, suppose $f(x)$ is $k$ times differentiable with $k \mod 2 \equiv 1$ and $k \geq 3$. If $f^{(n)}(c) = 0$ for $n = 1, ..., k - 1$ and $f^{(k)}(c) \neq 0$, then $c$ is a stationary point of inflection of $f$.