Prove that $P(X \le a) + P\{Y \le \frac{1}{a}\} = 1$ Prove that if $X$ has the F-distribution with $(m, n)$ d.f. and $Y$ has the
F-distribution with $(n, m)$ d.f., then for every $a > 0$,
$$
P(X \le a) + P\left\{Y \le \frac{1}{a}\right\} = 1
$$
I tried solving  $P(X \le a)$ by integration but it was too difficult for me.
How do I approach questions like these in general?
 A: I will share three general techniques for working with density functions that are remarkably simple and useful: normalization, scaling, and identifying symmetries.  (A fourth general technique, recentering, often is useful but isn't applicable in this situation.)
By following these principles, along with a healthy application of the "principle of mathematical laziness," you can just look at a formula for the F-Ratio density and deduce the symmetry relationship expressed in the question.
Normalization
The Normalization Principle
Any function $f$ that is never negative, can be integrated, and has a finite integral $I[f]$ corresponds to a density: all we need do is divide all the values of $f$ by its integral and the result satisfies all the properties of a density.
When you are examining any mathematical expression for $f,$ then, it often is convenient just to ignore any constant multiplicative factors that may appear.  ("Constant" means they don't depend on the argument of $f$ -- but often they may depend on other quantities, usually known as "parameters.")  Those factors will be determined by the integral of all the other factors.  Let's call this the "Normalization Principle."
In this case, one expression for the F-Ratio density (from the Wikipedia article) is
$$f(x;d_1,d_2) = \color{blue}{\frac{1}{B\left(\frac{d_1}{2},\frac{d_2}{2}\right)} \left(\frac{d_1}{d_2}\right)^{\frac{d_1}{2}}}\, x^{\frac{d_1}{2}-1}\left(1 + \frac{d_1}{d_2}x\right)^{-\frac{d_1+d_2}{2}}.\tag{1}$$
I have colored some terms that do not depend on the argument $x:$ we are free to ignore these, because they are determined by the Normalization Principle.
You have choices
There is always more than one way to partition a density's expression into a constant factor and the other factors.  Indeed, you may even introduce new factors in the expression if that helps you simplify or understand it -- so long as they don't depend on the function's argument.  I will illustrate this in the next section, where I expand the blue factors to include more terms that appear.
Scaling
Distributions are best analyzed by examining the entire expression that you would integrate.  This expression is sometimes called the probability element: it is the product of the density $f_X(x)$ (representing the height on its graph) and the differential element $\mathrm{d}x$ (representing small distances along the base of the graph of $f_X$).  The product has units of probability -- and it's the probability, not the density, that behaves most simply under analysis.
Consider, then, a probability element $f_X(x)\,\mathrm{d}x$ and suppose you were to change the units of measurement in which $x$ is expressed.  For instance, if $x$ represents a length in centimeters and you prefer to work in inches, you would divide $x$ by $2.54$ centimeters per inch.  This obviously doesn't change anything about any probabilities: it merely reflects how you choose to write down numbers.
Mathematically, when we divide $x$ by a positive number $\lambda$ to produce $y=x/\lambda,$ the new probability element $f_Y$ is therefore written
$$f_Y(y)\,\mathrm{d}y = f_X(x/\lambda)\,\mathrm{d}( x / \lambda ) = f_X( x)\,\mathrm{d}(\lambda x/ \lambda ) = f_X(x/ \lambda )\,\left(\mathrm{d}x\right)/ \lambda  = \frac{1}{\lambda} \left(f_X(x/ \lambda )\,\mathrm{d}x\right).$$
If now, as is conventional, we omit writing the differential elements $\mathrm{d}y$ and $\mathrm{d}x,$ the preceding equation reads
$$f_Y(y) = \frac{1}{\lambda} f_X(x/ \lambda ).\tag{2}$$
The appearance of the factor of $\lambda$ is a mystery until you appreciate it is the last visible trace of the now-vanished differential element.  Let's call this the "density scaling law."  (Understanding how $f_X$ changes when $x$ is transformed also permits us to drop the subscripts from $f$ from now on.)
Exploit the density scaling law by working backwards. Whenever you look at the mathematical expression of a density, look for constant terms that multiply the argument: these are candidates for the scale factor $1/\lambda.$
Let's re-examine the F-Ratio density $(1)$ from this perspective.  It contains two terms with "$x$" in it.  Focus on the simplest one:
$$f(x;d_1,d_2) = \frac{1}{B\left(\frac{d_1}{2},\frac{d_2}{2}\right)} \left(\frac{d_1}{d_2}\right)^{\frac{d_1}{2}}\, x^{\frac{d_1}{2}-1}\left(1 + \color{red}{\frac{d_1}{d_2}x}\right)^{-\frac{d_1+d_2}{2}}.$$
There it is in red, all by itself, multiplied by a constant $d_1/d_2 = 1/\lambda.$  What you want to do is replace $x/\lambda$ by $y$ or, equivalently, just plug $\lambda y = d_2/d_1 y$ into the formula everywhere in place of $x.$  In so doing you will be neglecting that ghostly $\lambda$ factor that appeared in $(2),$ but the Normalization Principle tells us this doesn't matter.
This is a perfectly routine substitution, requiring only basic algebra to simplify:
$$\begin{aligned}
f(y;d_1,d_2) &\propto \frac{1}{B\left(\frac{d_1}{2},\frac{d_2}{2}\right)} \left(\frac{d_1}{d_2}\right)^{\frac{d_1}{2}}\, (d_2/d_1\, y)^{\frac{d_1}{2}-1}\left(1 + \color{red}{\frac{d_1}{d_2}(d_2/d_1\, y)}\right)^{-\frac{d_1+d_2}{2}}\\
&= \color{blue}{\frac{1}{B\left(\frac{d_1}{2},\frac{d_2}{2}\right)} \left(\frac{d_1}{d_2}\right)^{\frac{d_1}{2}}\, \left(\frac{d_2}{d_1}\right)^{\frac{d_1}{2}-1}}\,  y^{\frac{d_1}{2}-1}\left(1 + \color{red}{y}\right)^{-\frac{d_1+d_2}{2}}
\end{aligned}
.$$
Although there is an obvious nice cancellation of the fractions involving $d_1/d_2$ and $d_2/d_1,$ I didn't bother to go further with the simplification because the Normalization Principle tells us we don't have to do any more work: these new factors merely contribute to the multiplicative "fluff" that we may freely ignore.  That's why I am showing all of it in blue.
Notice the appearance at the outset of the "$\propto$" ("is proportional to") relation: it acknowledges that I neglected to divide the right hand side by $\lambda = d_2/d_1.$
These last two steps are examples of what I call the Principle of Mathematical Laziness: don't do calculations until you have to, because often you will discover you don't have to do them at all.
Invoking the Normalization Principle once more, let's look at what's left of $f:$
$$f(y;d_1,d_2)\ \propto\ y^{\frac{d_1}{2}-1}\left(1 + y\right)^{-\frac{d_1+d_2}{2}}.\tag{3}$$
Let's call this the "nucleus" of $f:$ any factors multiplying its argument $y$ have been stripped away and any constant factors multiplying its value have been ignored.  Typically, you can just look at the formula of a density and see its nucleus.  It usually takes no work at all.
Symmetry
The appearance of $-1$ in the power of $y$ in the nucleus $(3),$ along with the fact that $f$ is supported on the positive numbers $(0,\infty),$ hints at a multiplicative symmetry.  (For more on the $-1$ terms in the powers, see https://stats.stackexchange.com/a/263842/919.)
Symmetry is a powerful, general concept that I can only hint at here by showing how it applies to the F-Ratio distribution.
The beautiful thing about the differential element $\mathrm{d}y/y$ is how it transforms when we take powers of $y:$
$$\frac{\mathrm{d}(y^p)}{y^p} =\frac{py^{p-1}\mathrm{d}y}{y^p} = p\frac{\mathrm{d}y}{y}\ \propto\ \pm\frac{\mathrm{d}y}{y}.$$
This is, after invoking the Normalization Principle, $\mathrm{d}y/y$ does not change when we take a positive power of $y$ and otherwise, for negative powers, it is merely negated.  The negation reflects the fact that transforming $y$ to a negative power of $y$ reverses order: when $x \gt y \gt 0$ and $p\lt 0,$ $0 \lt x^p \lt y^p.$  We need to keep track of any such reversals because they subtly change the interpretation of $f:$ more about this at the end.
Take the appearance of "$-1$" in the power of $y$ in the nucleus $(3)$ as an invitation to rewrite the density as a differential element in terms of $\mathrm{d}y/y.$  This is the final simplification:

$$f(y;d_1,d_2)\,\mathrm{d}y\ \propto\ y^{\frac{d_1}{2}}\left(1 + y\right)^{-\frac{d_1+d_2}{2}}\,\frac{\mathrm{d}y}{y}.\tag{4}$$

Upon applying the transformation $y = u^{-1}$ in the question, without any work at all we immediately see
$$f(u;d_1,d_2)\,\mathrm{d}u\ \propto\ -(u^{-1})^{\frac{d_1}{2}}\left(1 + u^{-1}\right)^{-\frac{d_1+d_2}{2}}\,\frac{\mathrm{d}u}{u} = \frac{(u^{-1})^{\frac{d_1}{2}}}{\left(1 + u^{-1}\right)^{\frac{d_1+d_2}{2}}}\,\left(-\frac{\mathrm{d}u}{u}\right).$$
Simplifying the fraction (in the usual manner) by multiplying numerator and denominator by a suitable power of $u$ (namely, the $(d_1+d_2)/2$ power) yields
$$f(u;d_1,d_2)\,\mathrm{d}u\ \propto\ \frac{u^{\frac{d_2}{2}}}{\left(1 + u\right)^{\frac{d_1+d_2}{2}}}\,\left(-\frac{\mathrm{d}u}{u}\right) =u^{\frac{d_2}{2}}\left(1 + u\right)^{-\frac{d_1+d_2}{2}}\,\left(-\frac{\mathrm{d}u}{u}\right).\tag{5}$$
Comparing $(5)$ to $(4)$ shows that upon transforming $y$ to $1/y,$ the kernel with parameters $(d_1,d_2)$ becomes the kernel with parameters $(d_2,d_1)$ with a negative sign.
Conclusion
The appearance of the negative sign means that at some point we transformed the variables in an order-reversing way.  Originally, to compute the probability of an interval $(-\infty, a]$ we would have integrated the probability element over the interval $(0, a].$  Because of the transformations we made, we must transform its endpoint $a$ appropriately to some new value $a^\prime$ and, due to the order reversal, we must now integrate over the interval $[a^\prime, \infty).$
Because the integral will be the same whether or not we include $a^\prime$ in that interval, the conclusion in the question follows immediately: when $X$ has an F-Ratio distribution with parameters $d_1,d_2$ we may compute $\Pr(X\le a)$ either by integrating $f_X$ from $0$ to $a$ or by integrating $f_U = f_{1/X},$ which has an F-Ratio distribution with parameters $d_2,d_1,$ from $a^\prime = 1/a$ to $\infty,$ which of course is just $1 - \Pr(U \le 1/a).$

If you would like to practice these techniques further, virtually every distribution (over 40 of them) in the Wikipedia list of continuous distributions supported on semi-infinite intervals) can be analyzed in the same way.
