You are not logged in.
Pages: 1
Hi, can anybody help me solve this for a:
I'm really stuck
Offline
Hi Onyx;
Who would not be stuck with that? If you are looking for a hand method then you have a major problem. Can be done by numerical methods with great care and great skill and lots of computing.
You should recognize the above answer. It comes with a caveat. An important one.
Took a while to bound the error somewhat. That answer is correct to at least 1000 digits.
If you look at it you will see why that answer is very close. It is even possible to come up with another possible root.
If you want we could look for more and I will show you how to find them using the new "experimental math."
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
. . .
. . . . . . . . . .
. . . . . . . . . . . . .
. . I'll wait in the car . . .
.
Offline
haha thanks both!
I beleive you are both right, since I have |a|<1, so there are two approximate solutions....thats good enough for me.
(Application is design of a discrete time LTI filter for an audio DSP)
Offline
Hi Onyx;
I do not agree, there is one root extremely close to
The exact root differs from this starting at the 1671 decimal place!In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
hi, what do u mean by methods of numerical analysis? do u mean with a computer program, or is there an actual method to do it by hand that doesnt include trial and error?
Hi tobleronebeater;
do u mean with a computer program,
Not exactly, more accurate to say an algorithm to find the roots.
or is there an actual method to do it by hand that doesnt include trial and error
Hand methods are extremely limited. They are okay for polynomials of the first and second degree after that they become difficult or impossible. For the general case of a polynomial of higher than the 4th degree it is not possible. For non polynomials it is even more difficult. Unless you are dealing with a book problem designed to illustrate some hand technique in the real world you are stuck with numerical solutions.
Iteration is not trial and error. Newton's iteration is a common iterative technique.
Welcome to the forum and Happy New Year!
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi bobbym, actually as I said there are two approximate roots of the equation, given the constraint |a|<1. They are:
But only,
satisfies the constraint |a|<1, since,
Also, I know that these are only approximations, and for my engineering design application, they are extremely accurate approximations, and will suffice for the limited precision required.
I'm also familiar with iterative methods such as Newton or Newton-Raphson in numerical analysis, and am a proficient programmer, and would be able to implement such algorithms myself....Excel could also be used. I was just interested to see if the problem had a solution using algebraic manipulation, since my maths is a bit rusty in some areas, and this one really stumped me. I appreciate the offer though, but the solution is good enough for my problem.
Thank you
Offline
Hi Onyx;
That is the Golden Ratio and it is not a root of that polynomial, nor is it an approximate root. That is easy to prove.
My point is this, I found two roots one near the golden ratio - 1 and the other close to 1.000333... That is an 8001th degree polynomial! There could be many roots close by to those two.
The problem is hardly solved. It needs to have some analytical work done on it. If you use Descartes rule of signs it can have at most 2 positve roots ( they are accounted for. See my earlier post ) and at most 3 negative roots. What about these 3 possible negative roots? They could be in the interval |a|<1.
I'm also familiar with iterative methods such as Newton or Newton-Raphson in numerical analysis, and am a proficient programmer,
If you attempt to utilize newtons iteration on this problem in say C++ you might underflow or overflow. Just look at those exponents. You might bounce around and never converge. Round off error might kill those 17 digit precision long doubles. Newtons requires one to be close to the roots. Currently we have no idea where they are at.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Why is it not possible to do this?
Then:
Then by the quadratic formula:
but,
Offline
Hi Onyx;
It is not impossible, I used that to get the estimate for the first root. It is just not exhaustive! Also it does not rule out
nor does it find 1.000333... Notice that it is larger than one but still converges.Besides any of that there are either 1 or 3 negative roots that could have an absolute value < 1.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
The only solution such that |a| < 1 is:
a ~~ 0.6180339887498948482045868343656381177203...
(obtained using Mathematica command FindRoot[100a^8001 - 100a^7999 - a^2 - a + 1 == 0, {a,-1, 1,WorkingPrecision -> 39] )
Twitter: http://twitter.com/AlecBeta
Blog: http://AlecBeta.us.to
Offline
Hi aleclarsen12;
Using the FindRoot command like that is misleading. What happened is that it converged to .618.... That does not mean that is the only root in the interval [-1,1]. FindRoot finds one root, it does not find them all.
Ex:
FindRoot[(x-1)(x-2)(x-3)==0,{x,0,4},WorkingPrecision->50]
{x->2.0000000000000000000000000000000000000000000000000}
That polynomial obviously has roots of 1,2,3 in the interval of [0,4]. FindRoot finds only one. This is typical of iterative solvers.
When trying to get them all you have to use Solve,NSolve,Reduce, etc.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Pages: 1