atqamar said:
do all functions have imaginary solutions for values that are not in their range?
Don't go mixing things up here.
You have a function
f(
x) which has a range. For any number
y in the range you can find (at least) one
x such that
f(
x) =
y.
It is often possible to extend a function to the complex plane. This means, we define a new function
g(
z) for
z a complex number, such that
g(
z) =
f(
z) if
z happens to lie on the real line. By convention, we also denote this function
g(
z) as
f(
z) and call it the analytic continuation of
f. It is not necessary that an analytic continuation exists (in fact, it is quite special for a function to be analytic) and there are certain theorems that state when it is possible to find such a function. But if it exists, then you have a new function
f(
z) defined on a bigger set, with a new range. Of course the old range is a subset of the new range, but the new range can be larger or not. For example, whereas exp(
x) only has a range of exp(x) > 0, the function exp(
z) has as range the entire complex plane, except for the origin. So the range has increased considerably. On the other hand, the absolute value function has range |z| > 0, whether z is real or complex, so the range doesn't increase for the analytic continuation. Therefore, going complex will not help you in finding a solution for |z| = -1, but it will for solving exp(z) = -e.