I have two fraction:
- first one: $\frac{a}{b} $, where $0<\frac{a}{b}<1$
- second one: $\frac{c}{d}$,where $0<\frac{c}{d}<1$
I apply this two percentages on two positive numbers: $q>0,k>0$ :
- $\frac{a}{b} \cdot q = \alpha $
- $\frac{c}{d} \cdot k = \beta$
I have to find an expression A depending only on $a,b,c,d$ such that $A(a,b,c,d) \cdot (q+k) = \alpha+\beta$
You have $\displaystyle A(q+k)=\alpha+\beta=\frac abq+\frac cdk\iff A=\frac q{q+k}\left(\frac ab-\frac cd\right)+\frac cd$
So to have $A$ depend only on $a,b,c,d$ we need either $(\frac q{q+k}=cst)$ or $(\frac ab=\frac cd)$.
Since $q,k$ are considered free variables, the first solution is to be discarded.
If $ad-bc\neq 0$ then there is no solution, else $A=\frac ab=\frac cd$.