Assume that the random variables $X$ and $Y$ are defined on the probability space $(\Omega,\mathcal F,\mu)$. Let $\Delta:=\{(x,y)\in\Bbb R^2,x\lt y\}$. We have by independence $$ E\left[e^{it\max(X,Y)}\right]=\int_{\Bbb R^2}e^{it\max(x,y)}\mathrm d\mu_X\otimes\mu_Y(x,y). $$ Splitting over $\Delta$ and its complement, and denoting $F$ the common cumulative distribution function of $X$ and $Y$, we thus get $$E\left[e^{it\max(X,Y)}\right]=2E\left[F(X)e^{itX}\right]-\int_{\Bbb R}\mu(X=x)e^{itx}\mathrm d\mu_X(x).$$
Some remarks:
- This gives an explicit formula in terms of the common distribution function.
- If $\mu(X=x)=0$ for all $x$ (for example when $X$ has a density), then the formula is simpler.
- This can be extended to $\max(X_1,\dots,X_d)$.
- We get an analogous formula for $\min$ instead of $\max$.