Solve e^x+2x-5=0: Step-by-Step Guide

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

Discussion Overview

The discussion revolves around solving the equation e^x + 2x - 5 = 0, exploring both numerical methods and analytical approaches. Participants examine the applicability of the Newton-Raphson method and the Lambert-W function, while also engaging in a broader conversation about pedagogical approaches to teaching complex analysis and its relevance in mathematics education.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning
  • Meta-discussion

Main Points Raised

  • One participant notes that the equation is transcendental and suggests the Newton-Raphson method for approximating solutions.
  • Another explains the Newton-Raphson method in detail, including the iteration scheme and initial approximation.
  • A different participant introduces the Lambert-W function as a potential analytical solution, transforming the equation into a suitable form for this function.
  • Some participants discuss the merits of using the Lambert-W function, arguing it provides a more complete solution compared to numerical methods.
  • Others counter that introducing complex analysis and functions like the Lambert-W function may not be pedagogically beneficial for all students.
  • There is a debate about the timing and manner of introducing complex analysis in education, with differing opinions on whether it should be integrated earlier in the curriculum.
  • Some participants express a belief that understanding complex analysis can enhance clarity in mathematical concepts, while others argue for a more gradual introduction to mathematical ideas.
  • One participant emphasizes the importance of logical progression in mathematics education, advocating for a foundation in real analysis before introducing more complex topics.

Areas of Agreement / Disagreement

Participants express differing views on the effectiveness of numerical versus analytical methods for solving the equation, as well as on the pedagogical implications of introducing complex analysis in education. No consensus is reached regarding the best approach to teaching these concepts.

Contextual Notes

The discussion highlights various assumptions about the audience's familiarity with advanced mathematical concepts and the potential challenges in teaching these topics effectively. Limitations include differing opinions on the pedagogical value of complex analysis and the appropriateness of various solution methods.

Luhter
Messages
8
Reaction score
0
How do you solve this?
[itex]e^x+2x-5=0[/itex]

And i mean the algorithm
 
Mathematics news on Phys.org
This is a transcendental equation, and there is no finite number of steps that will give you the exact answer.

Newton-Raphson iteration should work nicely to get an approximate answer, though.
 
If you are unfamiliar with Newton-Raphson, the trick involved is to follow the tangent from one point on the graph to where it crosses the x-axis, in order tofind your new approximate solution.

AT the true solution (i.e, f(x)=0), the tangent at that point will, of course, ALSO cross the x-axis there.

Pick your first approximate value, [itex]x_{0}=1[/itex]

Then, [tex]f(x_{0})=e+2-5=e-3[/tex]
where [tex]f(x)=e^{x}+2x-5, f'(x)=e^{x}+2[/tex]

In order to generate better approximation values for "x", use the iteration scheme:
[tex]x_{n+1}=x_{n}-\frac{f(x_{n}}{f'(x_{n}},n\geq{0}[/tex]

Thus, from the above, we get:
[tex]x_{1}=1+\frac{3-e}{e+2}=\frac{5}{e+2}[/tex]
and so on..
 
Last edited:
cool .
Thanks a lot
 
Although you were interested in the algorithm, you could also solve it in terms of the special function [itex]W(z)[/itex], defined by [itex]z = W(z)\exp(W(z))[/itex]. This is called the Lambert-W function (or sometimes the polylog function). If you can get your equation to look like this form, you can solve for x in terms of the Lambert-W function

Let u = 2x - 5. Then,

[tex]u = -\exp\left(\frac{1}{2}(u+5)\right) \Rightarrow u = -e^{u/2)}e^{5/2}[/tex]

Dividing by -2 on both sides and moving the e^{u/2)} to the LHS gives

[tex](-u/2)e^{-u/2} = e^{5/2}/2,[/tex]

which is of the form we^w = z, and so -u/2 = W(e^(5/2)/2), which gives

[tex]x = \frac{5}{2} - W(e^{5/2}/2)[/tex].

Notes: W(z) is a multivaled function. For real arguments there are two braches, corresponding to two solutions.
 
Apart from the minor advantage of already-tabulated approximate values of the Lambert function, I don't see any pedagogical advantage in that approach.
 
arildno said:
Apart from the minor advantage of already-tabulated approximate values of the Lambert function, I don't see any pedagogical advantage in that approach.

Why not Arildno? It's a beautiful function and solves the equation more completely than a numerical approach since the solution in terms of the W-function gives all (infinite and complex) solutions to the problem and provides the student with a glimpse of the more global structure of equations from the perspective of Complex Analysis. In my opinion, by restricting math to real analysis, we inhibit the student from seeing the whole picture of the complex-analytic functions that real analysis is embedded in, and this complex picture greatly assists in understanding mathematics.
 
There are many beautiful things&equations in the world, it is unpedagogical to show them before the student is mature enough.

Complex numbers?
Integral equations?

The best way to get there is to start by understanding how things work in the reals, and to understand how numerical approaches like the Newton-Raphson method is based on a highly intuitive and visual idea, that STILL fulfills all requirements of logical rigour.
 
With all due respect Arildno (cus' I think you're a better mathematician than I'll ever be), I feel we are doing math education a disservice by waiting to teach Complex Analysis after the student has struggled to understand real analysis, then shock him/her with complex-analytic functions. It is my belief that we should re-vamp math education and integrate complex numbers, complex variables, complex analysis early in their education, high-school even. We should change Calculus textbooks to more incorporate this complex-analytic approach but do so in a manner that is still comprehensible to the student. By presenting this more global picture in math education, I believe much more progress in mathematics would be possible.
 
Last edited:
  • #10
I disagree.

Your position seems to say that there is an inevitable "shock" to learn about complex numbers at university level.

To me, it was a pleasant.,. surprise.

The point is that all of us start out with a number of hazy ideas, that are not really placed in logical hierarchies.

That should be the basis for pedagogics!

Namely, how to gradually make maths students become aware of the crucial importance of orderly logical thought.

And that is best done by starting out with mathematically fruitful concepts that are STILL easily visualized, like the number line.

As students delve deeper into this, and other related concepts, they will meet non-trivial problems they will see DEMAND careful, logical thinking in order to solve, and they will become convinced of the necessity to develop an axiomatic approach to mathematics.

And once THAT foundation has been laid, it is actually fairly trivial to introduce OTHER, equally logical axiomatic systems that can be more fruitful than that they started out with.
 
  • #11
Ok Arildno. You know more than me about it. I just like complex analysis even though I'm not very good at it. It has made concepts in math more clear for me and I think it would clear up things for other students as well.
 
  • #12
jackmell said:
I just like complex analysis even though I'm not very good at it. It has made concepts in math more clear for me and I think it would clear up things for other students as well.
I love complex analysis as well, not the least its beauty, and how it <i>clarifies</i> and organizes seemingly disparate issues.

But, you ought to reflect on the following:
Why do some topics lend themselves so easily to be (mis-)understood as "separate issues"?

My answer to that is that, on an intuitive level, yet with logical rigour, those issues ARE separate, because you cannot see the hidden connections between them.

Those connections will, however, make themselves apparent, once you have understood each topic deeply enough on their own, i.e, that you have matured to move beyond a "thesis-antithesis" stage unto a "synthesis" stage. (I'm a Hegelian in disguise, but don't tell on me..)

In a way, good pedagogics is a re-enactment of the whole history of mathematics, without mentioning all the pit falls&blind alleys that people actually erred into.

A truly good teacher, though, should know about those blind alleys, so that he knows how to steer his pupils out of them as quickly as possible..
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K