Create equivalent expressions in the equation that all have equal bases.

Since the bases are the same, then two expressions are only equal if the exponents are also equal.

Subtract from both sides of the equation.

Move to the left side of the equation by adding it to both sides.

Factor the left side of the equation.

Let . Substitute for all occurrences of .

Factor by grouping.

Reorder terms.

For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .

Multiply by .

Rewrite as plus

Apply the distributive property.

Factor out the greatest common factor from each group.

Group the first two terms and the last two terms.

Factor out the greatest common factor (GCF) from each group.

Factor the polynomial by factoring out the greatest common factor, .

Replace all occurrences of with .

Replace the left side with the factored expression.

If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .

Set the first factor equal to and solve.

Set the first factor equal to .

Add to both sides of the equation.

Multiply each term in by

Multiply each term in by .

Multiply .

Multiply by .

Multiply by .

Multiply by .

Set the next factor equal to and solve.

Set the next factor equal to .

Add to both sides of the equation.

The final solution is all the values that make true.

Solve for x e^x=e^(x^2-2)