The domain of a function is the set of possible x-values that the function can take, and the range is the set of possible y-values that the function will have.
As can be seen in the graph, as the function increase to the left the x-values will approach to -infinite and as it increases to the right, the x-values will approach to +infinite, then the domain is:
![(-\infty,\infty)](https://img.qammunity.org/2023/formulas/mathematics/high-school/gt1s3h5yhehl0wy6ityf0e52fgigjd4in4.png)
The vertex of the function is located at (3,2) then, the y-values start at 2, and increase infinitely, then the range is:
![\lbrack2,\infty)](https://img.qammunity.org/2023/formulas/mathematics/college/1sc95yhc9cdfhofzx5ayt2kb3peavy8zln.png)