How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Ryan Your Own Question

Ryan
Ryan, Engineer
Category: General
Satisfied Customers: 8882
Experience:  B.S. in Civil Engineering
40260889
Type Your Complex Math Question Here...
Ryan is online now

I was look at league results as I wish to write a game. I

Customer Question

I was look at league results as I wish to write a game. I would like very much to know how to ask my computer to unravel the end of season results and return a list of how the league games of the season could have been played. I wish to include the Home and aways separately. I wish to divide the goals of the home and away matches fairly to express win and loses. The draw needs to work out evenly so as when all has been done I have no remaining matches and the matches add up to the correct end of season points. wind give 3 its, and loses no its, and draws give both teams 1 pt. If you can help then great. Otherwise could you offer me a good read that ay help?
Submitted: 2 months ago.
Category: Complex Math
Expert:  Ryan replied 2 months ago.

Hi,

Thank you for using the site.

If I understand your question correctly, you are looking for a way of taking the final league results, which I assume to mean the total record of wins, losses, and ties for each team in the league, and work backwards from that to how each game played could have turned out?

If that is correct, then what you are attempting to do is sort of the mathematical equivalent of unscrambling an egg. It would be difficult, if not impossible, to work backwards from the results to anything that resembled a "true" solution. For example, if I were to tell you that the mean of five numbers is 1520, it would extremely unlikely for you to be able to tell me which specific five values I used to get that mean. There are just too many possible sets of five values that would have a mean of 1520. Certainly, you could easily come up with an answer, but the chance that you would stumble upon the "right" one is extremely small.

Your problem would actually be more difficult than that example though. With the example I gave of the mean of five numbers, you could just arbitrarily select any four numbers, and then calculate the necessary value of the fifth number to get the correct mean. In the case of your league teams, though, it wouldn't be very realistic to assign wins and losses such that one team had all wins and no losses. Thus, there is some added complication in even coming up with a realistic possible solution.

Also, the more teams that are involved in the league, and the more games that are played, the more complicated it will be to find a solution. Particularly a general computer program solution that could be used again in the future.

If you are modeling your game on an actual league, might I suggest searching online for complete season records? That would eliminate the need for deconstructing the consolidated results, and would likely give a more realistic solution than a computer program could come up with. If there is some issue with copy-right protections (I'm not completely up on the laws in the UK, but I appreciate that they may be different than here in the US), could you perhaps start with "real" results, and then alter them slightly to make them different from the "real" results?

If I have misunderstood your original question, please feel free to clarify. I'll be happy to continue to discuss this problem.

Thanks,

Ryan

What Customers are Saying:

 
 
 
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP
< Previous | Next >
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP
  • I Couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex
 
 
 

Meet The Experts:

 
 
 
  • Dr. Y.

    Dr. Y.

    Urologist

    Satisfied Customers:

    15021
    Specializing in general urology and reconstructive urology.
< Last | Next >
  • http://ww2.justanswer.com/uploads/lyeung1/2010-07-25_032152_tn_IMG_0241.JPG Dr. Y.'s Avatar

    Dr. Y.

    Urologist

    Satisfied Customers:

    15021
    Specializing in general urology and reconstructive urology.
  • http://ww2.justanswer.com/uploads/TA/Tax Expert/2013-8-21_231010_sam.64x64.jpg Sam's Avatar

    Sam

    Accountant

    Satisfied Customers:

    7069
    26 HMRC expertise, PAYE, Self Assessment ,Residency, Rental Income, Capital Gains, CIS ask for Sam Tax
  • http://ww2.justanswer.com/uploads/drhearne/2009-11-8_74742_monika_hearne2.jpg Monika Hearne, M.D.'s Avatar

    Monika Hearne, M.D.

    Board Certified OB/GYN

    Satisfied Customers:

    5180
    With experience and compassion, I treat my patients like family.
  • http://ww2.justanswer.com/uploads/BI/birddoctor/2012-6-22_173214_birddoctor.64x64.png Dr. Pat's Avatar

    Dr. Pat

    Bird Veterinarian

    Satisfied Customers:

    2863
    25+ years working primarily or exclusively with birds
  • http://ww2.justanswer.com/uploads/dermdoc19/2010-09-30_160749_Photo_122807_015.JPG dermdoc19's Avatar

    dermdoc19

    Dermatologist

    Satisfied Customers:

    2779
    30 years practice in general and cosmetic dermatology
  • http://ww2.justanswer.com/uploads/BU/Buachaill/2012-5-25_211156_barrister5.64x64.jpg Buachaill's Avatar

    Buachaill

    Barrister

    Satisfied Customers:

    2733
    Barrister 17 years experience
  • http://ww2.justanswer.com/uploads/FA/FamilyPhysician/2013-8-31_191624_JA550x500Photo.64x64.jpg Family Physician's Avatar

    Family Physician

    Doctor

    Satisfied Customers:

    2418
    GP with over 27 years experience including emergency medicine