Can you raise a number to an irrational exponent? The way that I was taught it in 8th grade algebra, a number raised to a fractional exponent, i.e. $a^\frac x y$ is equivalent to the denominatorth root of the number raised to the numerator, i.e. $\sqrt[y]{a^x}$. So what happens when you raise a number to an irrational number? Obviously it is not so simple to break it down like above. Does an irrational exponent still have a well formed meaning?
The only example that comes to mind is Euler's identity, but that seems likes a pretty exceptional case. What about in general?
 A: Yes you can, when the number you're raising to a power is positive. There are (at least) two ways to define $a^x$, where $a > 0$ and $x$ is a real number that may not be rational:


*

*You can pick a sequence of rational numbers $x_n$ converging to $x$ (i.e., $\lim\limits_{n\to\infty} x_n = x$) and define $$a^x = \lim_{n\to\infty} a^{x_n}.$$

*You can use the exponential function $e^x$ (defined in many ways, say as $e^x = \lim_{n\to\infty} (1+\frac{x}n)^n$ or with a power series), and its inverse the logarithmic function that satifies $e^{\ln t} = t$ for all positive $t$, and since $a = e^{\ln a}$, define $$a^x = e^{x \ln a}.$$
Both definitions give the same answer. See also the Wikipedia article on exponentiation, section on real exponents. When $a$ is negative, it's hard to do this while staying in the reals, but see the section on powers of complex numbers.
A: The above answers are fine provided that you are only concerned with real numbers.  However, just as $x^{a/b}$ has $b$ solutions in the complex plane, $x$ to the power of an irrational will have an infinite number of solutions. 
A: What do we mean when we write $a^b$, say for $a>0$?  The question is a very good one. The answer, unfortunately, is fairly complicated, and the full details
are quite lengthy. 
We have a clear understanding of what we mean by $a^2$, or $a^5$.  And from fairly early on, we learn to define $a^n$, where $n$ is negative, as $\frac{1}{a^{-n}}$.
After a while, we develop an understanding of what we mean by something like $a^{3/4}$.  For (we are led to believe) there is a unique positive number $s$ such that $s^4=a$, and then we can define $a^{3/4}$ to be $s^3$.  This idea can be used to define $a^{p/q}$, where $p$ and $q$ are integers.
After a while, we can show, more or less rigorously,  that the laws of exponents that worked for integer powers also work for expressions of the form $x^{p/q}$, where $p$ and $q$ are integers.  
However, what do we mean, for example, by $3^{\sqrt{2}}$?  Certainly it is not $3$ multiplied by itself $\sqrt{2}$ times!
There are several ways to resolve the question.  One way is to note that $\sqrt{2}=1.41421356\dots$ and consider the sequence $3^{1.4}$, $3^{1.41}$, $3^{1.414}$, $3^{1.4142}$, and so on.  All these powers make sense, because the exponents $1.4$, $1.41$, $1.414$, and so on, can be expressed as fractions.  But, intuitively, these numbers are getting closer and closer to something, and we define $3^{\sqrt{2}}$ to be that something.  We can do a partial informal verification of the "getting closer and closer" part in this case, by using a calculator.
More formally, let $b$ be a real number, and let $b_1, b_2, b_3, \dots$ be an infinite sequence of rational numbers such that the sequence $(b_n)$ has limit $b$.  It can be shown that the sequence $(a^{b_n})$ has a limit, which is independent of the particular sequence $(b_n)$ that we have chosen, as long as the sequence has $b$ as a limit.  
Then we can define $a^b$ as the limit of the sequence $(a^{b_n})$.  With quite a lot of effort, we can then show that the familiar laws of exponentiation hold.
The above approach, though intuitively very natural, is unwieldy.  So in practice, we usually take another approach.
The standard way is to first define the function $\ln x$. Then we define the exponential function $\exp(x)$, also known as $e^x$, as the inverse function of $\ln x$. Or else, depending on taste, we first define the function $\exp(x)$, and then its inverse $\ln x$.  There is a fair variety of (provably equivalent) definitions.
For example, we could define $\ln x$ by
$$\ln x=\int_1^x \frac{1}{t}dt.$$
It is not terribly difficult to show that $\ln$ as defined above satisfies the usual basic "laws of logarithms," and that it is an increasing function, so has an inverse, that we call $\exp$.  
Finally, after this background work, we define $a^b$ (for $a>0$) by
$$a^b=\exp(b\ln a).$$
We can then easily verify that in the cases where we already "know" what $a^b$ should be, namely rational $b$, the above definition agrees with our intuition, and that the usual "laws of exponents" hold for this more general notion of power.  
Warning: In the entire post, it is assumed that $a$ is a positive real number, and that all exponents are real numbers.  Complex exponentials are a lot more--complex. 
A: For a positive real number $a$ and any real number $b$, you can make the definition:
$$a^b \equiv \exp(b \log a)$$
having first defined the exponential function as an infinite power series (and showing that it converges for every real argument) and the logarithm as the inverse of the exponential function (after showing that the exponential function is monotonic and that its image is the positive real line).
More formally, you can define the function $f:\mathbb{R}^+ \times \mathbb{R} \to \mathbb{R}^+$ which satisfies $f(a,b)=a^b$ for rational $a,b$ and fills in the gaps continuously for irrational $a,b$.
