How come some equations can't be solved for an exact answer?

  • Context: Undergrad 
  • Thread starter Thread starter ehj
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the nature of equations that cannot be solved for an exact answer, focusing on the equation 1 = sin(x) + 2x. Participants explore the implications of the existence of solutions, the challenges of expressing these solutions, and the distinction between exact and approximate answers.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants wonder why certain simple equations require numerical methods for solutions, questioning if exact answers exist.
  • Others propose that while an exact answer may exist, it might not be expressible in a known algebraic form.
  • One participant explains that the solutions to the equation correspond to the intersection points of two functions, suggesting a unique solution exists but cannot be expressed simply.
  • There is a discussion about transcendental numbers and the limitations of expressing solutions in terms of elementary functions.
  • Some participants mention that while exact solutions may not be known, numerical approximations can be sufficient for practical purposes.
  • There is a debate about the definition of an "exact answer," with some arguing that it may vary based on context and the mathematical tools available.
  • Participants discuss the possibility of expressing solutions as infinite series, questioning if this approach could apply universally to all equations.
  • One participant highlights that while many equations can be approximated, the fundamental challenge of finding roots remains unchanged.

Areas of Agreement / Disagreement

Participants express a range of views on the existence and expressibility of exact solutions, with no consensus reached on whether all equations can be solved in a specific form or if approximations are inherently necessary.

Contextual Notes

Limitations include the dependence on definitions of "exact" solutions and the unresolved nature of whether all equations can be expressed as infinite series.

  • #31
mathwonk said:
i am puzzled. you seem to think that writing down an infinite series, represents an "exact" answer, when to me it is only a (convergent) sequence of approximations. any convergent sequence of approximations is as exact as that, no? such as a convergent Newtons process.
A finite convergent series would be an approximation, but an infinite convergent series has an exact value. You may see it as being an "infitely good approximation", which then no longer is an approximation

mathwonk said:
if what you say were true, it should be possible to say whether the sum of a series were say rational or not. so if you believe the values of the zeta function are exact expressions, are they rational?
Well, yea that may be possible to prove, but I don't know for sure and certainly not how.
Sure, in the sense that you can express any real number as its decimal expansion.
I think you still don't understand what I mean. If you do can you please show me how to find the infinite sum representation of the solution to the equation 1=sinx+2x?
If the equation uses only elementary functions, then you could even encode (presumably) the bisection formula.
explain please :p
 
Mathematics news on Phys.org
  • #32
Kurret said:
CRGreathouse said:
Sure, in the sense that you can express any real number as its decimal expansion.
I think you still don't understand what I mean. If you do can you please show me how to find the infinite sum representation of the solution to the equation 1=sinx+2x?

R=\sum_{k=1}^\infty10^{-k}r_k with r_1=3,r_2=3,r_3=5,r_4=4,r_5=1,r_6=8,r_7=0,r_8=3,\ldots.
 
  • #33
ehj said:
I'm wondering why it is that some simple equations can't be solved for an exact answer

Why would you expect that any equation would have an exact solution?
 
  • #34
CRGreathouse said:
R=\sum_{k=1}^\infty10^{-k}r_k with r_1=3,r_2=3,r_3=5,r_4=4,r_5=1,r_6=8,r_7=0,r_8=3,\ldots.


How do you generate the r_n's?
 
  • #35
CRGreathouse said:
R=\sum_{k=1}^\infty10^{-k}r_k with r_1=3,r_2=3,r_3=5,r_4=4,r_5=1,r_6=8,r_7=0,r_8=3,\ldots.
Which shows that you misunderstood my post, since it looks like you have just solved the equation with a calculator and defined a sequence {rk} being the decimal expansion, right?

My question was, if you can find a solution on the form

\sum_{k=1}^{\infty} f(k,x) where f is a function composed of elementary functions (or better, only polynomials), or maybe including more airthmetic/geometric sums of elementary functions.
 
Last edited:
  • #36
CRGreathouse said:
R=\sum_{k=1}^\infty10^{-k}r_k with r_1=3,r_2=3,r_3=5,r_4=4,r_5=1,r_6=8,r_7=0,r_8=3,\ldots.

:smile:

Apples and oranges.
 
  • #37
Kurret said:
Which shows that you misunderstood my post, since it looks like you have just solved the equation with a calculator and defined a sequence {rk} being the decimal expansion, right?

My question was, if you can find a solution on the form

\sum_{k=1}^{\infty} f(k,x) where f is a function composed of elementary functions (or better, only polynomials), or maybe including more airthmetic/geometric sums of elementary functions.

Sum posted is already a polynomial :smile:
 
  • #38
Arrgh, I can't edit anything, even quoting doesn't work now for me :( Neither in Opera nor in IE.

Kurret: you must concentrate on defining EXACTLY what you mean. I believe most people here understand what you are aiming at, but so far they had no problems with showing that intuition fails here. As long as you will not precisely define what is allowed in the expression you are looking for, you are on the lost position.
 
  • #39
Borek said:
Arrgh, I can't edit anything, even quoting doesn't work now for me :( Neither in Opera nor in IE.

Kurret: you must concentrate on defining EXACTLY what you mean. I believe most people here understand what you are aiming at, but so far they had no problems with showing that intuition fails here. As long as you will not precisely define what is allowed in the expression you are looking for, you are on the lost position.
Im sorry but i don't know how I can define it better. The sum posted is not a polynomial, its a sum of an already defined sequence of numbers, the terms in the sequence isn't a function.

I realize now that the x in the function should not be there, the sum should be
\sum_{k=1}^\infty f(k)
ie, every term in the sum should be equal except that k varies.
 
  • #40
qspeechc said:
How do you generate the r_n's?

I actually used the secant method, but for your purpose let's say I used bisection. It's easy to see that four steps of the bisection method are enough to guarantee a decimal digit, so the procedure always generates correct answers.

Actually, since the method brackets the root, you can tell when you have enough to determine a decimal digit.
 
  • #41
Kurret said:
My question was, if you can find a solution on the form

\sum_{k=1}^{\infty} f(k,x) where f is a function composed of elementary functions (or better, only polynomials), or maybe including more airthmetic/geometric sums of elementary functions.

But they are. f(1, x) is a very simple combination of elementary functions 3\cdot2^k.
 
  • #42
Kurret if f is a polynomial with nonzero coefficients then your series will be divergent, because the sequence of terms does not converge to zero.

For example if f(k)=k^2 then \lim_{k->\infty}f(k) \neq 0.

This means that the answer to your question is no because solutions to equations if they exist are not represented by divergent series. That is in response to you asking if you can represent solutions to equations by series of polynomials. Non-polynomial represents such as those shown by CRGReathouse are a different story.
 
  • #43
CRGreathouse said:
But they are. f(1, x) is a very simple combination of elementary functions 3\cdot2^k.
I don't get this :confused:
All terms should be the same function, right? Or do I completely misunderstand what you mean?
 
  • #44
dbl post, sry
 
Last edited:
  • #45
I can give an example. let's say we try to find the solution to xe^x=7. The inverse of xe^x is the so called lambert w-function, so if xe^x=7, then w(7)=x. According to http://mathworld.wolfram.com/LambertW-Function.html
we have the series expansion of w(y) being:
w(y)=\sum_{n=1}^\infty {\frac{(-1)^{n-1}n^{n-2}}{(n-1)!}y^n}
thus the solution to xe^x=7 is:
w(7)=\sum_{n=1}^\infty {\frac{(-1)^{n-1}n^{n-2}}{(n-1)!}7^n}
so, is it possible to solve any function using this method, ie finding the infinite sum representation of the inverse?
 
Last edited:
  • #46
Kurret that is not an example of what you said though-- the terms are not a polynomial in n. If you want the coefficients in your series to be represented by any map from N to Q then certainly the decimal expansion is just as acceptable.

I think it's time for you to rephrase what you mean. I'm having a hard time understanding what you're asking since you seem to be inconsistent about it, and I doubt I'm alone in that regard.
 
Last edited:
  • #47
Kurret said:
I don't get this :confused:
All terms should be the same function, right? Or do I completely misunderstand what you mean?

Perhaps you don't understand what is meant by function. f(1) = 0.3, f(2) = 0.03, etc. is a perfectly good function on k.But regardless, consider this. Let h(x)=\sin x+2x-1, g(0)=0,
g(k)=10^{-k}\cdot\sum_{i=0}^{10^k}\frac{h(i/10^k)-|h(i/10^k)|}{2|h(i/10^k)|}
for k > 0, and
f=\sum_{k=1}^\infty g(k)-g(k-1).

f is the root of your equation. A variant on this formula would find the root to most any continuous function. But bisection would give an exponential speedup over a direct implementation of this formula, and the secant method a polynomial speedup on top of that.
 
Last edited:
  • #48
DavidWhitbeck said:
Kurret that is not an example of what you said though-- the terms are not a polynomial in n. If you want the coefficients in your series to be represented by any map from N to R then certainly the decimal expansion is just as acceptable.

I think it's time for you to rephrase what you mean. I'm having a hard time understanding what you're asking since you seem to be inconsistent about it, and I doubt I'm alone in that regard.
Yes I agree on that. You showed a good example of why it isn't possible with polynomials, so that question is now answered. So now, let's consider all elementary functions, which that clearly is (the factorial is a geometric sum of the elementary function f(x)=x).
 
  • #49
CRgreatHouse, I think that is something like the answer I was looking for :). Nice!
Can you explain a bit furthermore why it does work, ie a non math/geometric explanation? :p can't really understand that atm.
 
  • #50
(CRGreathouse = C. R. Greathouse)

Kurret said:
CRgreatHouse, I think that is something like the answer I was looking for :). Nice!
Can you explain a bit furthermore why it does work, ie a non math/geometric explanation? :p can't really understand that atm.

I can explain, sure, but remember that the form is entirely worthless.

Consider the following algorithm. Choose a neighborhood and a function so that the function has only one zero in the neighborhood, is negative to the left of the zero, and positive to the right of the zero. (For an equation a(x) = b(x), this could be a(x) - b(x) or b(x) - a(x).) You can then split the neighborhood into a finite number of evenly-spaced intervals and see if the value of the function is negative or positive. If there are n negative values and t - n positive values, the function has its zero (and so the equation has its root) between n / t * (b - a) + a and (n + 1) / t * (b - a) + a, where a is the left and b the right of the neighborhood.

This is just a really bad version of bisection. My formula is just the equation form of this process. h(x) is the function, and the neighborhood is [0, 1]. The root is
\lim_{k\to\infty}g(k)
but since you weren't allowing limits I defined f in a way that gives the limit as an infinite sum.

You can see that this method is similar to computing integrals by counting progressively-finer grid squares.
 
Last edited:
  • #51
let me pose a simple question. do you think pi has an exact value? if so, what is it?let me make it easier for you, what is the exact value of sqrt(2)?

if you think about it you may realize I am trying to discern what is your definition of the phrase "exact answer".

by the way matt, i understand that you are busy, but i still convey to you the fact that many people including me miss you here a great deal, and there is a whole, thread called "where is matt grime?!"
 
Last edited:
  • #52
As to this exact question, I don't know if there is any "simple formula" that would be close to what you mean, but sometimes there are.

For instance, for pi, there is
<br /> \pi=3 + \cfrac{1}{6 + \cfrac{9}{6 + \cfrac{25}{6 + \cfrac{49}{6 + \cfrac{81}{6 + \cfrac{121}{\ddots\,}}}}}}<br />(taken from Wikipedia's article on continued fractions)

The functions in the formula you're asking about having an exact solution do have nice formulas of the sort you want, so it might be that your question might have a formula of that sort.

However, in general, no one knows if there is a "nice formula" for your problem. And really, the only reason for that is because either no one has yet figured one out or no one has been trying to find one. I don't know if it's the case that every real number will be able to written in some nice formula though.
 
  • #53
CRGreathouse said:
To 500 places:
0.3354180323849400594578624117492548397118513151006308650233458056997707969
93488867326823297805099655941760946007417735305449140296885174971232582467743747
67817725202600726615999809586989494215709825435975337739655562116739626518112856
23055310151600910291959720327473494910708608367675240373868492976882512228069498
07934021595150112613380719098738548853419012578533010207808040687825471704745279
60925128393175327764000215850832461166054705141754704841341722301915669142357206
871814814939461336135943871

:approve:

Haha win, don't we all love Mathematics Computing Packages ?
(Or Biological geniuses by a slim chance if you calculated that in your head?)

Maple 11 output:

>Digits:=500;

Digits := 500

> fsolve(2*x+sin(x)=1);

0.33541803238494005945786241174925483971185131510063086502334580\
5699770796993488867326823297805099655941760946007417735305\
4491402968851749712325824677437476781772520260072661599980\
9586989494215709825435975337739655562116739626518112856230\
5531015160091029195972032747349491070860836767524037386849\
2976882512228069498079340215951501126133807190987385488534\
1901257853301020780804068782547170474527960925128393175327\
7640002158508324611660547051417547048413417223019156691423\
57206871814814939461336135943871

I should have asked my friend to go solve an equation like this in a computing package like this instead of asking me in the middle of a lecture.
 
  • #54
LukeD said:
However, in general, no one knows if there is a "nice formula" for your problem. And really, the only reason for that is because either no one has yet figured one out or no one has been trying to find one. I don't know if it's the case that every real number will be able to written in some nice formula though.

It's awfully hard to determine if there's a nice formula without a working definition for "nice formula". :)

But a simple counting argument will show that almost all real numbers have no formula, where for a given finite set of symbols (0, 1, +, -, *, /, etc.) a "formula" is some subset of the finite strings of those symbols.
 
  • #55
CGUE said:
Haha win, don't we all love Mathematics Computing Packages?

Yep. This one was a custom implementation of the secant method in Pari (v. 2.4.2; won't work in 2.3.x unless you remove ff from the variable list and predefine it):

Code:
secant_root(ff, first, second)={
	local(ff1, ff2, oldfirst, ep);
	ff2 = ff(second);
	ep = 2 * eps();
	while (abs(first - second) > ep,
		ff1 = ff(first);
		oldfirst = first;
		first = first - (first - second) / (ff1 - ff2) * ff1;
		second = oldfirst;
		ff2 = ff1;
	);
	first
}

\\ 2 ^ -(decimal_precision * log(10)/log (2) / 32) * 32 - 1)
eps()={
	precision(2. >> (32 * ceil(precision(1.) * 0.103810252965230073370947482171543443)), 9)
}

I also have bisection, Newton's method, and Halley's method, but these are slower for this problem (and probably slower is most cases). Higher-order convergence isn't all it's cracked up to be when it means you need to calculate more functions!
 
Last edited:
  • #56
NOW THAT YOU have defined an exact answer as a limit of a nice sequence, we ought to take a vote on how many think the usually convergent sequence arising from Newton's method is nice enough to qualify.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
1K
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K