Hot to determine which is greater

  • Context: Undergrad 
  • Thread starter Thread starter ronaldor9
  • Start date Start date
  • Tags Tags
    Hot
Click For Summary

Discussion Overview

The discussion revolves around determining the intervals in which one function, y(x), is greater than another function, g(x). Participants explore methods for comparing these functions, including subtraction and the use of derivatives, while considering numerical approaches for finding roots.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant suggests subtracting the two functions to create h(x) = y(x) - g(x) and determining where h(x) is greater than zero.
  • Another participant agrees and elaborates on finding the zeros of h(x) using numerical methods like Newton-Raphson.
  • A participant expresses uncertainty about the role of the derivative of the subtraction and its implications for comparing the functions.
  • It is noted that the derivative indicates whether a function is increasing or decreasing, but does not directly tell if one function is greater than another.
  • Some participants discuss the relationship between the derivative of the difference of the two functions and the rates of increase or decrease of the functions.
  • One participant mentions that while the derivative may not have an immediate application to root finding, it could provide insights when combined with other considerations.
  • Another participant emphasizes that Newton's method, which involves the derivative, is indeed relevant for root finding.

Areas of Agreement / Disagreement

Participants generally agree on the validity of the subtraction method for determining intervals where one function is greater than another. However, there is no consensus on the utility of the derivative in this context, with differing opinions on its relevance and application.

Contextual Notes

Participants express uncertainty regarding the specific applications of derivatives in relation to the problem at hand, and there are unresolved questions about the relationship between the derivative and the comparison of the two functions.

ronaldor9
Messages
91
Reaction score
1
lets say we have to functions y(x) and g(x), how would I determine in which interval y(x) would be greater then g(x)? Would i simply subtract them and determine where the function is greater then zero (this seems to make the most sense)

But I also remember that if I subtract them and take the derivative, then determine where the derivative is positive and negative that also tells me something about which function is greater( something different then whether y(x) is greater then g(x).

can anyone help?
 
Physics news on Phys.org
Yes, that sounds like a good idea: you could subtract them,

<br /> h(x) \equiv y(x)-g(x)<br />

and then determine in which intervals the function h(x) is greater than zero and where it is less than zero. For that you need to determine the zeros of h:

<br /> x such that h(x)=0<br />

You could do this numerically, for example, using a fixed point iteration method such as Newton-Raphson:

initial guess:
<br /> x^0
REPEAT
<br /> x^{k+1}=x^{k}-\frac{h(x^{k})}{h&#039;(x^{k})}
<br /> k=k+1<br />

UNTIL |{x^{k+1}-x^{k}}| &lt; Eps ,
where Eps is a tolerance, Eps = 10^{-4} (for example)

In general choosing an adequate initial value sufficiently close to the zero, x0, so that the method converges is not an easy task, and neither is determining how many zeros a nonlinear function has :S
 
Yea, that method works well! thank you.

I am having troubles remembering what the use of taking the derivative of the subtraction of the two function would determine. I do not exactly remember but, can it be used to prove if the function is increasing or greater then the other. The details I cannot remember.
 
The derivative doesn't tell you whether a function is positive or negative, only if it's increasing or decreasing. For example, e^{-x} is always positive yet its derivative is always negative.
 
yes i know that but, the derivative of the subtraction of two function tells you something about the nature of how one function is in relation to another. I think it tells you that one function in increasing over another, wherever it is positive
 
As Tibarn said, I don't believe the derivative is what you are looking for in this case. What's wrong with the subtraction method you recommended and BobbyBear made more concrete?
 
No there is nothing wrong about that. I was just trying to recall the use of the derivative in a related question i had done/read a while back. I know it does not help me answer the question about which function is greater, but I was trying to remember its use in a related question. Thats all.
 
ronaldor9: as far as I know (though I don't know very much at all lol), there is no immediate application of the derivative to root finding. Maybe for some special kind of functions you could reach some conclusions by analysing the derivate together with other considerations about the specific function in question . . . but in general all that the derivative tells you as far as I see, is what you and others have said: if h'(x) = f'(x)-g'(x) is positive, it means that f is growing faster than g (or decreasing less rapidly than g), and viceversa.

If you find any further results or remember what you were reading about let us know :)
 
BobbyBear said:
ronaldor9: as far as I know (though I don't know very much at all lol), there is no immediate application of the derivative to root finding.

Actually there is an immediate application of the derivative to root finding, its called Newtons method! The method is outlined in the second post, check it out, its very useful.

But yes i will try to consult a book to determine what if there is any use in finding the derivative of the difference of the two functions
 
  • #10
ronaldor9 said:
Actually there is an immediate application of the derivative to root finding, its called Newtons method! The method is outlined in the second post, check it out, its very useful.

ROLF okay okay:P:P

ronaldor9 said:
But yes i will try to consult a book to determine what if there is any use in finding the derivative of the difference of the two functions

mhm, you do that :) It's always nice to learn new things:)
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K