Hi everyone

. I need a little help. The exercise goes as follows: If f: A[tex]\rightarrow[/tex] [tex](-\infty,0][/tex], and the function: [tex]f(x)=-(x-3)^2[/tex]. Determine A such that the given function is injective. When I've tried to get the right answer I got two valid solutions : [tex](-\infty,3] or[/tex][tex][3,+\infty)[/tex]. I might be wrong but anyone's answer or suggestion will be more than helpful

.