Nope. If your age minimum for a partner y is determined by your age x with the function:
y = 1/2 x + 7
then the point where y = x is at y - 7 = 1/2 x. Setting y to x leads us to x - 7 = x / 2, which happens at x = 14.
At x = 18, y = 18/2 + 7 = 9 + 7 = 16.
Relatedly, if we invert the function, y - 7 = 1/2 x, thus 2y - 14 = x, which gives us the theoretical maximum for a possible partner. If a possible partner is older than that, you'd be understood to call them a cougar, or whatever the male equivalent is.
The opposite of age/2+7 is (age-7)*2, not age*2-7. I.E. the min age for a 29-year-old would be 21, not 18, and the age whose min is 18, I.E. the max for an 18-year-old, would be 22.
That max age formula is pointless and contradicts the minimum age formula. For 29 the min age based on the min age equation is 21.5 which I'd say can be rounded up to 22, which sounds more reasonable than a 29 year old dating an 18 year old, which isn't illegal sure, but I'm sure plenty of people would be raising an eyebrow at it.
That max age equation would mean that a max age for 14 would be 21. In contrast the min age for a 21 year old is 17.5, which can be rounded up to 18. Yymv on that one in particular, but I'm sure we can all agree that a 21 year old dating an 18 year old is a lot less sus than them dating a 14 year old. The minimum age formula seems fine enough on its own, not necessarily a universal rule but enough of a guideline to go by generally. If you want to calculate based on the younger age, just re-arrange the formula. With the older age being AgeO and the younger age being ageY, you go from ageY = (AgeO/2) + 7 to AgeO = (ageY - 7)*2.
The max age formula is pointless and contradicts the minimum age formula. For 29 the min age based on the min age equation is 21.5 which I'd say can be rounded up to 22, which sounds more reasonable than a 29 year old dating an 18 year old, which isn't illegal sure, but I'm sure plenty of people would be raising an eyebrow at it.
That max age equation would mean that a max age for 14 would be 21. In contrast the min age for a 21 year old is 17.5, which can be rounded up to 18. Yymv on that one in particular, but I'm sure we can all agree that a 21 year old dating an 18 year old is a lot less sus than them dating a 14 year old. The minimum age formula seems fine enough on its own, not necessarily a universal rule but enough of a guideline to go by.