Main Page | Report this Page
 
   
Science Forum Index  »  Statistics - Math Forum  »  Algebra......
Page 1 of 1    
Author Message
bukzor...
Posted: Wed Jul 09, 2008 9:08 am
Guest
I've come up with this equation at work, and can't solve the durn
thing. I've tried using logarithms, but I can't figure out how to
separate the variables. I'm sure this is simple for one of you guys.

Feel free to just post a link to some how-to if you want.

(x^(n+1) - 1)/(x - 1)=n^2
Jack Tomsky...
Posted: Wed Jul 09, 2008 9:58 am
Guest
Quote:
I've come up with this equation at work, and can't
solve the durn
thing. I've tried using logarithms, but I can't
figure out how to
separate the variables. I'm sure this is simple for
one of you guys.

Feel free to just post a link to some how-to if you
want.

(x^(n+1) - 1)/(x - 1)=n^2



You can start with

(x^(n+1) - 1)/(x - 1) = 1 + x + x^2 + ... + x^n.

Try solutions in x for n = 1, 2, 3, 4 and see if there's a pattern. (There are closed-form solutions for cubics and quartics.)

You could also try to solve it numerically for different n.

Jack
bukzor...
Posted: Wed Jul 09, 2008 10:12 am
Guest
On Jul 9, 12:58 pm, Jack Tomsky <jtom... at (no spam) ix.netcom.com> wrote:
Quote:
I've come up with this equation at work, and can't
solve the durn
thing. I've tried using logarithms, but I can't
figure out how to
separate the variables. I'm sure this is simple for
one of you guys.

Feel free to just post a link to some how-to if you
want.

(x^(n+1) - 1)/(x - 1)=n^2

You can start with

(x^(n+1) - 1)/(x - 1) = 1 + x + x^2 + ... + x^n.

Try solutions in x for n = 1, 2, 3, 4 and see if there's a pattern. (There are closed-form solutions for cubics and quartics.)

You could also try to solve it numerically for different n.

Jack


Thanks for that. There's no algebraic solution?
--Buck
Jack Tomsky...
Posted: Wed Jul 09, 2008 10:58 am
Guest
Quote:
On Jul 9, 12:58 pm, Jack Tomsky
jtom... at (no spam) ix.netcom.com> wrote:
I've come up with this equation at work, and
can't
solve the durn
thing. I've tried using logarithms, but I can't
figure out how to
separate the variables. I'm sure this is simple
for
one of you guys.

Feel free to just post a link to some how-to if
you
want.

(x^(n+1) - 1)/(x - 1)=n^2

You can start with

(x^(n+1) - 1)/(x - 1) = 1 + x + x^2 + ... + x^n.

Try solutions in x for n = 1, 2, 3, 4 and see if
there's a pattern. (There are closed-form solutions
for cubics and quartics.)

You could also try to solve it numerically for
different n.

Jack


Thanks for that. There's no algebraic solution?
--Buck



Numerically, I get for the first 10 n's the following x's.

0.000, 1.303, 1.578, 1.607, 1.578, 1.538, 1.499, 1.462, 1.430, 1.402.

These are not the only solutions. Some additional ones may be negative or complex numbers. I don't know if someone can find some clever way to get a closed-form solution.

Jack
bukzor...
Posted: Wed Jul 09, 2008 3:33 pm
Guest
On Jul 9, 1:58 pm, Jack Tomsky <jtom... at (no spam) ix.netcom.com> wrote:
Quote:
On Jul 9, 12:58 pm, Jack Tomsky
jtom... at (no spam) ix.netcom.com> wrote:
I've come up with this equation at work, and
can't
solve the durn
thing. I've tried using logarithms, but I can't
figure out how to
separate the variables. I'm sure this is simple
for
one of you guys.

Feel free to just post a link to some how-to if
you
want.

(x^(n+1) - 1)/(x - 1)=n^2

You can start with

(x^(n+1) - 1)/(x - 1) = 1 + x + x^2 + ... + x^n.

Try solutions in x for n = 1, 2, 3, 4 and see if
there's a pattern. (There are closed-form solutions
for cubics and quartics.)

You could also try to solve it numerically for
different n.

Jack

Thanks for that. There's no algebraic solution?
--Buck

Numerically, I get for the first 10 n's the following x's.

0.000, 1.303, 1.578, 1.607, 1.578, 1.538, 1.499, 1.462, 1.430, 1.402.

These are not the only solutions. Some additional ones may be negative or complex numbers. I don't know if someone can find some clever way to get a closed-form solution.

Jack


Thanks, but my n can be between 0 and 3000. Maybe if I get enough
numbers, I can do a regression of some sort...
Jack Tomsky...
Posted: Wed Jul 09, 2008 6:31 pm
Guest
Quote:
On Jul 9, 1:58 pm, Jack Tomsky
jtom... at (no spam) ix.netcom.com> wrote:
On Jul 9, 12:58 pm, Jack Tomsky
jtom... at (no spam) ix.netcom.com> wrote:
I've come up with this equation at work, and
can't
solve the durn
thing. I've tried using logarithms, but I
can't
figure out how to
separate the variables. I'm sure this is
simple
for
one of you guys.

Feel free to just post a link to some how-to
if
you
want.

(x^(n+1) - 1)/(x - 1)=n^2

You can start with

(x^(n+1) - 1)/(x - 1) = 1 + x + x^2 + ... +
x^n.

Try solutions in x for n = 1, 2, 3, 4 and see
if
there's a pattern. (There are closed-form
solutions
for cubics and quartics.)

You could also try to solve it numerically for
different n.

Jack

Thanks for that. There's no algebraic solution?
--Buck

Numerically, I get for the first 10 n's the
following x's.

0.000, 1.303, 1.578, 1.607, 1.578, 1.538, 1.499,
1.462, 1.430, 1.402.

These are not the only solutions. Some additional
ones may be negative or complex numbers. I don't
know if someone can find some clever way to get a
closed-form solution.

Jack


Thanks, but my n can be between 0 and 3000. Maybe if
I get enough
numbers, I can do a regression of some sort...



I don't see how it can be done in closed form. I looked in Jolley for any result that might be of help, but I couldn't find anything.

Here are a few more solutions for x found numerically.

n = 100, x = 1.066
n = 1000, x = 1.009
n = 3000, x = 1.003

It looks like x decreases after reaching a peak at n = 4. Depending on the accuracy you need, maybe some nonlinear regression curve fit might work out.

Jack
bukzor...
Posted: Fri Jul 11, 2008 11:43 am
Guest
On Jul 10, 3:21 am, "Graham Jones" <x... at (no spam) x.x> wrote:
Quote:
"bukzor" <workithar... at (no spam) gmail.com> wrote in message

news:e2e2a470-21a1-40eb-b5b3-61c2b9f29dea at (no spam) 34g2000hsh.googlegroups.com...

Thanks, but my n can be between 0 and 3000. Maybe if I get enough
numbers, I can do a regression of some sort...

Assume n >= 2.

Let f(x) = 1 + x + x^2 + ... x^n - n^2

f(x) is strictly increasing for x>0 so there is only one real positive
solution.

f(1) = n+1 - n^2 < 0 for all n >= 2.

f(n^(2/n)) > 0.

So the root always lies between 1 and n^(2/n). A binary search will find it
quickly.

Graham


It looks like ((n - 1) * 1.5) ^ (1.27 / n) is a good estimate,
numerically.
 
Page 1 of 1       All times are GMT - 5 Hours
The time now is Tue Oct 14, 2008 2:28 am