Suppose $X$ is a Bernoulli random variable (0,1).
The marginal cdf of $Y$ can be written.
$F_Y(y)$ = $Pr(X=1)*F_{Y|X=1}(y)$ + $Pr(X=0)*F_{Y|X=0}(y)$ (Eq. 1)
Replace $y$ with $q_Y(\tau;p)$, the quantile function for $y$, indexed by $p=Pr(X=1)$
We now have an implicit function in $p$. Assume it is differentiable and differentiate it.
According to Firpo, Fortin, Lemieux, Unconditional Quantile Functions, Econometrica (2009)
$dq_Y(\tau;p)/dp$ = $[F_{Y|X=1}(y) - F_{Y|X=0}(y)] / f_Y(y)$
What confuses me is that this ignores the fact that $q_Y(\tau;p)$ is on both sides of Equation 1.
However, when I try to differentiate wrt both sides of Equation 1 I don't get a sensible expression.
Any help would be appreciated.