Rewrite the equation as .

Take the natural logarithm of both sides of the equation to remove the variable from the exponent.

Expand by moving outside the logarithm.

Divide each term in by .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Solve for x y=a^x