
Andy C. answered 10/27/18
Math/Physics Tutor
f(a) = a^2 + 6a+ 1
f(0) = 1 which is a perfect square and that solves the problem.
So when a=0, the function is a perfect square, namely 1.
Let's you want another , like 9
f(x) = 9
a^2 + 6a + 1 = 9
a^2 + 6a = 8
a^2 + 6a + 9 = 8+9 = 17 <--- completes the square
(a+3)^2 = 17 <--- solves for a
(a+3) = +-sqrt(17)
a = -3 +- sqrt(17)
Now, how about 100?
f(x)=100
a^2 + 6a + 1 = 100
a^2 + 6 a = 99
a^2 + 6a + 9 = 108
(a+3) ^2 = 108
a+3 = +-sqrt(108)
a+3 = +- sqrt(2 * 2 * 3 * 3 * 3)
= +- 2*3 * sqrt(3)
=+- 6*sqrt(3)
a = -3 +- 6*sqrt(3)