- #1

- 611

- 116

- TL;DR Summary
- How can I get the expression ## log(exp(z)) ## to return ## z ## in Mathematica?

Hi,

This is a pretty simple question, but I am new to Mathematica so I am not sure if I am missing something obvious.

I have used all of the following combinations and all of them return ## e^{log(z)}##. Are there any tips people have? I have seen some people online use some elaborate functions, but I am just looking for a simple(r) solution.

Thanks in advance.

This is a pretty simple question, but I am new to Mathematica so I am not sure if I am missing something obvious.

**Question: How do I make the expression ## e^{log(z)} ## return z?**

Attempt:Attempt:

I have used all of the following combinations and all of them return ## e^{log(z)}##. Are there any tips people have? I have seen some people online use some elaborate functions, but I am just looking for a simple(r) solution.

Mathematica:

```
e^log[z]
E^log[z]
PowerExpand[E^log[z]]
Simplify[PowerExpand[E^log[z]]]
```

Thanks in advance.