Connected Graph with $n$ vertices and $n-1$ edges contains unique $u-v$ path

graph theorytrees

Let $G$ be a graph with $n\geq 1$ vertices and $m$ edges.
Prove:
$G$ is connected and $m=n-1 \implies$ $G$ contains a unique $u-v$ path for every $u,v\in G$.
How can i prove this? It is clear that there exists at least 1 path, but how can I show that there exists only one path? I think induction is a good idea.

Best Answer

Following up on David's suggestion in the comments: you should show that the given conditions imply that your graph must be a tree (there are many ways to do this, but a visually appealing approach would be to induct on the number of vertices). Once you have done this, you can argue by contradiction: if you have two distinct paths between vertices $u$ and $v$, then putting them together there will have to be a cycle somewhere in the graph.