My friend gave me a problem.
Define a sequence $\langle a_n \rangle$ by the recurrence relation :$$ a_{n+2} - 6a_{n+1} + 8a_n = 0 $$ and $a_1 = 4, a_2 = 8 $. Find the general term $a_n$ in closed form.
By inspection, I got the general term as $ a_n = 2^{n+1} $. Then I proved it using induction. However, he says that the proof isn't elegant!
He questions the source of my induction hypothesis: "how did you get that in the first place?".
He says that he is fine with the induction proof, but he isn't satisfied. He asks as to how I know that $a_n = 2^{n+1} $ is the only solution.
We had a heated argument over this matter. Now, what's wrong with what I did?!?
Btw, my proof:
Hypothesis: $P(n)$ = " $a_n = 2^{n+1} $ is the $n$*th* term of the given sequence."
Assumption: Assume that $ P(i),\; \forall\; i \in \{1,2,...k-1\} $ to be true.
To prove $P(k)$:
We know that $a_k = 6a_{k-1} - 8a_{k-2}$. Also, from our assumption, we have $a_{k-1} = 2^k$ and $a_{k-2} = 2^{k-1}$. Plugging that in the relation gives us $a_k = 2^{k+1}$.
Conclusion: $P(k)$ is true if $ P(i),\; \forall\; i \in \{1,2,...k-1\} $. $P(1)$ is true. So $P(2)$ is true, and so on.
Therefore, $P(n)$ is true $\forall\; n \in \mathbb{N}$.
Hence proved.
Except for minor formulation quibbles, your proof is a valid proof that $2^{n+1}$ is the only solution to the recurrence.
The minor quibble is that instead of making your induction hypothesis be "$a_n=2^{n+1}$ is the $n$th term of the given sequence", it would be more rigorous to make it "If $(a_k)_{k\ge 1}$ is any sequence that satisfies the recurrence, then $a_n=2^{n+1}$". Then what you have is a proof by induction on $n$ that every sequence that satisfies your recurrence is equal to the particular sequence $2^{n+1}$.
Strictly speaking you also need to prove that $2^{n+1}$ is a solution at all (because your induction proof assumes that you already have a sequence that solves the recurrence). But that proof is as simple as plugging $2^{n+1}$ into the recurrence relation and simplifying. No induction is needed there.