Sinx in exponentials

Input

TrigToExp[sin(x)]

Exact result

1/2 i e^(-i x) - 1/2 i e^(i x)