rivka: (her majesty)
[personal profile] rivka
In 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*

Date: 2003-05-20 06:21 pm (UTC)
redbird: closeup of me drinking tea, in a friend's kitchen (Default)
From: [personal profile] redbird
My immediate impulse is to offer assistance, but even if I weren't bleary-eyed, that's mostly a desire to prove to myself that I still remember how to do algebra.

Re:

Date: 2003-05-20 06:32 pm (UTC)
From: [identity profile] rivka.livejournal.com
I understand! [livejournal.com profile] wcg sent me a solution, so I'm no longer in need - but I'll put the equation up for general self-assessment purposes:

x/(1-x)=y (solve for x)

Re:

Date: 2003-05-20 07:00 pm (UTC)
redbird: closeup of me drinking tea, in a friend's kitchen (Default)
From: [personal profile] redbird
That's one equation in two unknowns; lacking a known value for y, it's a curve.

Re:

Date: 2003-05-20 07:10 pm (UTC)
From: [identity profile] rivka.livejournal.com
Right. I was looking for a general equation in which to plug different values of y, to get x.

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)
From: [identity profile] lerryn.livejournal.com
My solution to that is to plug in the *insert obscenity here* y value of choice, then worry about solving for x. I seem to recall the real solution invoving taking the log of both sides, but that's just a pain.

Re:

Date: 2003-05-21 06:18 am (UTC)
From: [identity profile] rivka.livejournal.com
I had the y-value-of-choice, and I still couldn't solve the goddamned equation. And I did very well on the Math GRE! It's inexplicable.

Re:

Date: 2003-05-21 03:44 am (UTC)
ext_16733: (Default)
From: [identity profile] akicif.livejournal.com
I cheated - rearranging the equation to give things like x = y + xy didn't really help, so I tried slotting in values of 0, ±1 and ±100 for x to get the general shape of the curve. When the absolute value of x is large y tends towards -1, when x is 0 y is 0 and there's a discontinuity at x = 1, where y effectively goes from plus to minus infinity.

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....

Date: 2003-05-21 05:00 am (UTC)
From: [identity profile] wcg.livejournal.com
Hey, it doesn't have to be that complicated, really!

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)

Date: 2003-05-21 06:14 am (UTC)
ext_16733: (Default)
From: [identity profile] akicif.livejournal.com
<FX="slaps head" /> Of course! Forgot I could invert .... it's not just algebra I'm losing, it's basic maths.

Date: 2003-05-21 06:19 am (UTC)
From: [identity profile] rivka.livejournal.com
I forgot that I could invert, too. Unless I never knew it in the first place. Yay for [livejournal.com profile] wcg.

Date: 2003-05-21 06:37 am (UTC)
From: [identity profile] rivka.livejournal.com
Misha solved it in about ten seconds without inverting anything, so now I feel even more abashed. I mean, even if I did forget that you can invert, I should have been able to find this solution:

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)
From: [identity profile] porcinea.livejournal.com
I'd ask "where's the algebra?", but someone would probably smack 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.)

Date: 2003-05-21 02:22 pm (UTC)
From: [identity profile] marykaykare.livejournal.com
I had the exact same impulse before I remembered that I only passed algebra because the instructor so did not want me back. My brain just refuses to cope with it. So then I thought of Jordin, but I see she's already got a solution.

You did better than I

Date: 2003-05-20 06:59 pm (UTC)
From: [identity profile] ororo.livejournal.com
Several years ago, I was studying for the GRE, never took it, and had to call someone to ask how to do square roots.

Re: You did better than I

Date: 2003-05-20 07:00 pm (UTC)
From: [identity profile] rivka.livejournal.com
You use the square root button on your calculator. :-)

Date: 2003-05-20 07:27 pm (UTC)
From: [identity profile] anotheranon.livejournal.com
It's all following the Shelf Law of Mathematical Retention, to wit: All the math you ever learned is stored on a mental "shelf" in your brain. This shelf has limited space, so when you learn something new, the oldest items on the shelf fall off.

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! :)

Date: 2003-05-20 08:54 pm (UTC)
From: [identity profile] rivka.livejournal.com
Actually, your theory makes a lot of sense. When the algebra problem hit me I was working my way through very complicated information about a type of statistical test that's new to me, and actually understanding it. Knocked the algebra right off the shelf, but now I can talk to you all about the natural logs of odds ratios.

Date: 2003-05-20 08:46 pm (UTC)
From: [identity profile] wcg.livejournal.com
This is why I keep my much beloved and ragged copy of Abraham Spitzbart's College Algebra in my bookcase at work, for those odd occassions when I need to complete a square, or do synthetic division, or some similar algebraic arcana. I also have the CRC Handbook of Mathematical Formulae in case I need an integral table.

Date: 2003-05-21 07:02 am (UTC)
From: [identity profile] filkerdave.livejournal.com
It could well be worse, it could be calc.

The agony and dx/dt.

Date: 2003-06-01 06:05 am (UTC)
From: [identity profile] janetmiles.livejournal.com
*splutter!*

Profile

rivka: (Default)
rivka

April 2017

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 19th, 2026 10:30 am
Powered by Dreamwidth Studios