A fun connection between quadratic equations and continued fractions

My younger son is beginning to study quadratic equations in Art of Problem Solving’s Introduction to Algebra book. So far he’s essentially only seen quadratic equations that factor over the integers. For today’s project I wanted to show him that there are simple equations with fairly complicated (compared to integers!) roots.

We started with a problem similar to ones that he’s already seen:

Next I showed him a type of equations that he’s not see before and we spent 5 min talking about his ideas of how you could solve it:

Finally, for the specific equation we were looking at, I showed him how we could use continued fractions to solve it. As a bonus he remembered the connection between the Fibonacci numbers and the golden ratio and that got us to the exact solution!