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 .

The result can be shown in multiple forms.

Exact Form:

Decimal Form:

Solve for x 5^x=21