(no subject)
May. 20th, 2003 09:06 pmIn the years since high school, I've managed to completely forget how to do algebra.
No, scratch that. It's just been in the years since I took the GRE. I know I could do algebra when I took the GRE.
*sfx: tearing hair*
No, scratch that. It's just been in the years since I took the GRE. I know I could do algebra when I took the GRE.
*sfx: tearing hair*
no subject
Date: 2003-05-20 06:21 pm (UTC)Re:
Date: 2003-05-20 06:32 pm (UTC)x/(1-x)=y (solve for x)
Re:
Date: 2003-05-20 07:00 pm (UTC)Re:
Date: 2003-05-20 07:10 pm (UTC)The specific y value I was working with was 0.246, but it doesn't really matter to the construction of the general equation.
(The values of y I have are odds ratios, which I want to convert to probabilities.)
Re:
Date: 2003-05-20 10:41 pm (UTC)Re:
Date: 2003-05-21 06:18 am (UTC)Re:
Date: 2003-05-21 03:44 am (UTC)This, of course, didn't help solve the beastie at all, so I tried sticking it in a spreadsheet and graphing it, then zooming in to give:
It is a cheat, and there's no doubt far better software for doing it with than Excel, but when the tool I've got's a hammer....
no subject
Date: 2003-05-21 05:00 am (UTC)To solve y = x/(1-x)
First, invert: 1/y = (1-x)/x
Now rewrite the right side of the equation as 1/x - x/x
Which is 1/x - 1
So now we know that 1/y = 1/x - 1
Or, 1/y + 1 = 1/x
From there just invert again, and you end up with:
x = y/(1+y)
no subject
Date: 2003-05-21 06:14 am (UTC)no subject
Date: 2003-05-21 06:19 am (UTC)no subject
Date: 2003-05-21 06:37 am (UTC)y = x/(1-x)
x = y(1-x)
x = y-yx
yx+x = y <--(this is as far as I got)
x(y+1) = y
x = y/(y+1)
Re:
Date: 2003-05-21 09:43 am (UTC)probablysmack me.x / (1 - x) = y
multiply both sides by (1-x)
x = y * (1 - x)
divide both sides by y
x / y = 1 - x
divide both sides by x
1 / y = (1 - x) / x
simplify right hand side (x / x = 1)
1 / y = 1/x - 1
add 1 to both sides
1 / y + 1 = 1 / x
simplify left hand side (1 = y / y)
(1 + y ) / y = 1 / x
multiply both sides by y
1 + y = y / x
multiply both sides by x
x * (1 + y) = y
divide both sides by (1 + y)
x = y / (1 + y)
Thank you for sharing, that was pretty.
Is why I program. Breaking a problem that as a whole I can't even imagine down into wee baby steps, each v. simple. Thank you, Daisy Leland (8th grade math teacher), for bringing out the fun in function.
(This is where my math ends.)
no subject
Date: 2003-05-21 02:22 pm (UTC)You did better than I
Date: 2003-05-20 06:59 pm (UTC)Re: You did better than I
Date: 2003-05-20 07:00 pm (UTC)no subject
Date: 2003-05-20 07:27 pm (UTC)By this law, algebra probably knocked basic addition/subtraction off your shelf long ago, and clearly you picked up some trig or calculus at some point that knocked off your algebra.
What, I'm TOTALLY serious! :)
no subject
Date: 2003-05-20 08:54 pm (UTC)no subject
Date: 2003-05-20 08:46 pm (UTC)no subject
Date: 2003-05-21 07:02 am (UTC)The agony and dx/dt.
no subject
Date: 2003-06-01 06:05 am (UTC)