# Solving for x and y

• Jun 3rd 2011, 06:36 PM
odditie
Solving for x and y
Hey,

I'm trying to build a calculating for a metric I'm trying to create, but my memory is a little fuzzy on some of the math and I've hit a wall.

I'm trying to find both x and y in the following equation, but when I do it I get Y=0 which it cannot be. I know I need to use a T chart, but I'm not working with whole numbers so I don't really know where to go.

5263x-19864y=300

Any help is greatly appreciated.
• Jun 3rd 2011, 07:43 PM
Prove It
You can't solve this equation for both x and y, what you have is the equation of a linear function. If you write it as y = (5263/19864)x - (300/19864) then you would be able to graph this function, which should enable you to see that ANY value of x will give you a corresponding value for y.
• Jun 3rd 2011, 07:49 PM
odditie
Ok, thanks. I'll have to re-evaluate my concept and see how else I can do this.
• Jun 12th 2011, 02:08 PM
odditie
Maybe giving a little background will allow someone to help me come up with a solution to my question.

I play in a fantasy baseball league that has a unique scoring system. Each category is scored based on your team total vs. league average. For example, if my team has 8 HR and the league average is 4, my team would have a score of (8/4)*75 = 150.

Because of this format, it seems to me like it would lend itself to being able to find the value for each HR. This is easy for a category like HR. Like in the example, it'd be 16x = 300 or x=18.75 points per HR.

The problem I'm having is I cannot find a way to calculate batting average and on base percentage. BA is the one I'm currently trying to solve. As of today the league has a total of 6407 hits and 23,968 ab. I am trying to find how much each hit is worth and how much each at bat costs to make 6407x - 23968y = 300.

The two best alternative ideas I've come up with is setting x to a reasonable value based on how much x is for the other categories (HR, RBI, R, XBH) and then solving for y and using x+|y| to be x to get a reasonable number, but that doesn't seem to me to be a correct way to find it. The other idea was I could simply use hits and assume that at bats will not greatly affect the overall value, but that seems like it will also result in some flaws.

Does anyone have any ideas or help that they could provide me to finding a solution to this calculation?

• Jun 22nd 2011, 04:00 PM
odditie
Re: Solving for x and y
Ok, I missed the obvious part, but I'm having a hard time solving this.

While the league total must equal 300, each individual team has its own formula relative to x and y.

I've tried to graph these on a few websites, but I haven't found a correct answer yet for what x and y should be to make all 5 of these true.

7077x - 26444y = 300
1704x - 6521y = 73.32
1815x - 6733y = 75.55
1808x - 6658y = 76.10
1750x - 6532y = 75.08