5 years since my last math class

  • Context: Undergrad 
  • Thread starter Thread starter cowgiljl
  • Start date Start date
  • Tags Tags
    Class Years
Click For Summary

Discussion Overview

The discussion revolves around applying the intermediate value theorem to demonstrate the existence of a root for the equation ln x = e^-x within the interval (1, 2). Participants explore methods for finding the root to three decimal places, addressing both theoretical understanding and practical application.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant, Joe, presents his initial calculations for f(1) and f(2) but expresses uncertainty about his approach.
  • Another participant questions Joe's calculation of f(1), suggesting that the equation should not equal zero and clarifies that f(1) is negative while f(2) is positive, indicating a root exists between these points.
  • Joe acknowledges his limited understanding and seeks guidance on how to proceed with finding the root.
  • A later reply confirms that Joe is on the right track and suggests using iterative methods such as the bisection method or regula-falsi to find the root.
  • Another participant elaborates on the intermediate value theorem, reiterating the conditions for its application and providing a step-by-step approach to narrowing down the root using midpoints within the interval.

Areas of Agreement / Disagreement

Participants generally agree on the application of the intermediate value theorem and the existence of a root in the specified interval. However, there are differing interpretations of Joe's initial calculations and the subsequent steps needed to find the root.

Contextual Notes

There are unresolved aspects regarding the specific methods for finding the root and the accuracy of initial calculations. Participants have not reached a consensus on the best approach to take beyond the identification of the intermediate value theorem.

cowgiljl
Messages
63
Reaction score
1
It has been at least 5 years since my last math class and I am kinda struggling.

The question is:
Use the intermediate value theorem to show that there is a root of ln x = e^-x on the interval (1,2). Find the correct root to 3 decimal values

What i have so far
f(1) = ln 1 - e^-1 = 0 which -.368< 0
f(2) = ln 2 - e^-2 = 0 which .558 > 0

am I doing this correct or am I really off base ?

thanks joe
 
Physics news on Phys.org
how can log(1) -e^{-1}=0? it doesn't why is that equals sign there? but apart from that you are in the right ball park.

f(1) is negative,
f(2) is positive, hence since the function is continuos it must pass through zero at some intermediate value of x between 1 and 2.

finding the root is a different matter. many methods exist, what do you know about?
 
I don't know much about it , and reading the scetion is difficult to understand. I have been going to math lab and looking for a tutor to assist me with my struggles. but at least i am on the right track.

You said that this function passes through 0. Do I need to pick a point greater than one but less than two and plug back into the function

joe
 
yes sort of !

Specifically u need some good iteration method now to finish the work,
two methods you can use now is bisection method and regula-falsi or the false position method.

Ofcourse there are other methods ... but these are fairly easy to implement.

-- AI
 
Use the intermediate value theorem to show that there is a root of ln x = e^-x on the interval (1,2). Find the correct root to 3 decimal values

Let f(x)= ln x- e-x so that ln x= e-x is the same as f(x)= 0.
(and f is continuous for x> 0)

f(1)= ln(1)- e-1= -e-1< 0 (your "= 0" was left over from the equation and doesn't apply for x= 1).
f(2)= ln(2)- e-2= 0.558> 0.

The intermediate value theorem (one version) says: if f(x) is continuous on [a,b], f(a)< 0 and f(b)> 0 then there exist c in [a,b] such that f(c)= 0.

Since for we have f(1)<0, f(2)> 0, there exist c in [1, 2] such that f(c)= 0 or
ln(c)= e-c.

As TenaliRaman said, one good way of finding that number is "bisection" and I suspect that is what is intended specifically because it uses the intermediate value theorem.

We know, from the intermediate value theorem that there is a solution in [1, 2]. Where? No idea! So try the midpoint just because it is easiest: midpoint of [1, 2] is x= 1.5. ln(1.5)- exp(-1.5)= 0.182> 0. That's not a solution since it is positive but we now know (again by the intermediat value theorem) that there is a solution between 1 and 1.5. Again, try the midpoint: (1+ 1.5)/2= 1.25. Determine whether ln(1.25)- e-1.25 is positive or negative to decide whether there is a solution between 1 and 1.25 or between 1.25 and 1.5 and take the midpoint of that interval. Continue until you get 3 decimal places right.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K