Find domain and codomain of this function... So, the function is: $$ z(x)=\sqrt{-4^x+6\cdot2^x-8}$$ We have to find domain and codomain. There are many more function in the exercise, I just want to know how it's done, so I can do the next examples on my own.
 A: $$-4^x+6\cdot2^x-8=-\{(2^x)^2-2\cdot2^x\cdot3+3^2\}+1=1-(2^x-3)^2$$
We know for real $a,a^2\ge0$
$\implies (2^x-3)^2\ge0\iff -(2^x-3)^2\le0\iff 1-(2^x-3)^2\le1$
$\implies z(x)\le1$
For real $z(x),$
$-4^x+6\cdot2^x-8\ge0\iff 1-(2^x-3)^2\ge0\iff (2^x-3)^2\le1$
$\iff-1\le 2^x-3\le1 \iff2\le 2^x\le4\iff1\le x\le2$ 
A: To find the domain solve the follwoing exponential equation $-4^x + 6 \cdot 2^x - 8 \ge 0$ and the codomain is $x \in \mathbb{R}^{+} \cup \{0\}$, because square roots give only positive numbers.
A: Domain I assume you are talking about this function for real numbers. Then the function is only defined if the content inside the square root is non-negative:
$$ -4^x + 6\cdot2^x - 8 \ge 0$$
I guess you can solve for the set of $x$ that fits in this inequality. This gives the largest domain.
Codomain If you want the smallest codomain, you should find the range of $\sqrt{-4^x + 6\cdot2^x - 8}$, by finding the range of $-4^x + 6\cdot2^x - 8$, by finding the range of $-4^x + 6\cdot2^x$, by finding the range of $-\left(2^{x}\right)^2+6\cdot2^x$, for the domain found above.
