What is the distribution of the maximum of a set of random variables? [duplicate]

I am trying to find the distribution of the maximum of a set of four continuous independent random variables that have a general distribution.

I have found resources that discuss how to find such a distribution when the probability density function is known, but I am curious to know the generalized solution.

marked as duplicate by kjetil b halvorsen, Michael Chernick, Peter Flom♦Jun 13 '18 at 20:59

The general solution is exactly the same as a particular solution. $$P(\max_i X_i \leq t) = \prod_i P(X_i \leq t) = \prod_i F_{X_i}(t).$$