Instead of solving the problem by induction, we can simply calculate the number of edges using our knowledge of how the knight moves. We consider six cases on a n x n chessboard when $n \ge 4$. To make the visualization easier, I have uploaded a picture of an 8 x 8 chessboard.

a) The knight is in the corner. When the knight is located in the corner, it can move to two different squares. There are four corners, so we will have $4 \cdot 2 = 8 $ edges.
b) The knight is located on a square on the edge of the board next to the corner. Here, the knight can move to three squares. As there are $8$ such squares (two next to every corner), we will have $8 \cdot 3 = 24$ edges.
c) The knight is located on the edge of the board but not on the squares in a) or b). Here, the knight has access to 4 squares. As there are $(n-4) \cdot 4$ such squares, we get $(n-4) \cdot 4 \cdot 4 = 16(n-4)$ edges.
d) The knight is on one of the squares that is adjacent to the corner but not on the edge. Here, the knight can move to $4$ squares, and there are $4$ such squares, so we have $4 \cdot 4 = 16$ edges.
e) The knight is on the row or column that is next to the row or column that's on the edge of the board, but not on the squares in d) or b). There are $(n-4) \cdot 4$ such squares and on each such square the knight can move to 6 squares, so we get $(n-4) \cdot 4 \cdot 6 = 24(n-4)$ edges.
f) The knight is on any other square, that is the squares that are not the two first or two last columns or the two top or two bottom rows. There are $(n-4) \cdot (n-4)$ such squares and on each such square, the knight can move to 8 squares, giving us $8 \cdot (n-4)^2$ edges.
Now we just calculate the sum of the edges in a) - f). Since we counted each edge twice, our answer will be half of this sum:
$\frac{16+24+16(n-4)+16+24(n-4)+8(n-4)^2}{2} = 4n^2 - 12n + 8$
Note: Incidentally, the answer is also valid for $n \ge 1$. For $n=1$ and $n=2$, the formula will give us the answer $0$, which is true since a knight on a 1 x 1 and a 2 x 2 chessboard has access to no squares, hence the corresponding knight graphs have no edges. A knight graph for the 3 x 3 chessboard is a disconnected graph with the circle graph $C_8$ and a lone vertex as components. The formula will give us that this graph will have $8$ edges, which is quite true.