Proposition 20 [κ΄ · Prop. XXIII]

If there be two given magnitudes, and from them be subtracted magnitudes having a given ratio to one another, either the remainders will have a given ratio to one another, or one is greater than the other by a given magnitude than in ratio.

Functional Signature: Given(Mag(A), Mag(C), Ratio(x : y) = r) -> Determined(Ratio(A-x : C-y) | GreaterThanInRatio) · Dependencies: [Data Def. 11], [Data 1], [Data 2], [Data 4], [Data 8], [V.19]

Let there be two given magnitudes $AB$ and $CD$, and from them let magnitudes $AE$ and $CF$, having a given ratio $AE : CF$ to one another, be subtracted. I say that the remainders $EB$ and $FD$ either have a given ratio to one another, or one is greater by a given magnitude than in ratio to the other.

Since $AB$ is given and the ratio $AE : CF$ is given, make $AB : CG = AE : CF$ ([Data Def. 2]). Because $AB$ is given and $AB : CG$ is given, $CG$ is given ([Data 2]). Now $CD$ is also given, so $CG$ is either equal to $CD$ or unequal to it. If $CG = CD$, then since whole $AB$ is to whole $CD$ as subtracted $AE$ is to subtracted $CF$, the remainder $EB$ is to the remainder $FD$ as $AB$ is to $CD$ ([V.19]), which is a given ratio ([Data 1]). If $CG \neq CD$, suppose $CG > CD$ (or $CD > CG$): when $CD > CG$, the difference $GD = CD - CG$ is given ([Data 4]), while $EB : FG = AB : CG$ is given ([V.19]), so $FD = FG + GD$ is greater by the given magnitude $GD$ than in ratio to $EB$ ([Data Def. 11]); symmetrically, if $CG > CD$, making $AH : CD = AE : CF$ gives $HB$ given and $EB = EH + HB$ greater by $HB$ than in ratio to $FD$.