Proposition 18 [ιη΄ · Prop. XXVI]¶
Functional Signature: Given((C - d1):A = k1, (C - d2):E = k2) -> Determined(Ratio(A:E) | GreaterThanInRatio(A, E)) · Dependencies: [Data 2], [Data 8], [Data 15], [V.11]
Let there be three magnitudes $AB, CD, EF$, and let the middle one $CD$ be greater by a given magnitude than in ratio to each of $AB$ and $EF$. I say that $AB$ and $EF$ either have a given ratio to one another, or one is greater by a given magnitude than in ratio to the other.
Since $CD$ is greater by a given magnitude than in ratio to $AB$, subtract the given magnitude $CG$ from $CD$ ([Data Def. 11]), so that $GD : AB$ is given. Again, since $CD$ is greater by a given magnitude than in ratio to $EF$, subtract the given magnitude $CH$ from $CD$, so that $HD : EF$ is given. Now the two given magnitudes $CG$ and $CH$ are either equal or unequal. First let $CG = CH$: then the remainders $GD$ and $HD$ are identical, so $GD$ has a given ratio both to $AB$ and to $EF$; hence $AB : EF$ is given ([Data 8]). Next let $CG < CH$: then $H$ falls between $G$ and $D$, and the difference $GH$ is given ([Data 4]). Since $GD : AB$ is given, make $GH : AK = GD : AB$ ([Data Def. 2]); because $GH$ is given, $AK$ is given ([Data 2]), and the remainder $HD : KB = GD : AB$ is given ([V.19]). Since $HD : EF$ is also given, $KB : EF$ is given ([Data 8]), while $AB = AK + KB$ exceeds $KB$ by the given magnitude $AK$; therefore $AB$ is greater by a given magnitude than in ratio to $EF$ ([Data Def. 11]).