image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > Calculus & Analysis


Reply

image hot to determine which is greater Share It Thread Tools Search this Thread image
Old Jun13-09, 12:56 PM                  #1
ronaldor9

ronaldor9 is Offline:
Posts: 71
hot to determine which is greater

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?
  Reply With Quote
Old Jun13-09, 02:11 PM                  #2
BobbyBear

BobbyBear is Offline:
Posts: 137
Re: hot to determine which is greater

Yes, that sounds like a good idea: you could subtract them,

LaTeX Code: <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:

LaTeX Code: <BR>x  such that LaTeX Code:  h(x)=0<BR>

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

initial guess:
LaTeX Code: <BR>x^0
REPEAT
LaTeX Code: <BR>    x^{k+1}=x^{k}-\\frac{h(x^{k})}{hsingle-quote(x^{k})}
LaTeX Code: <BR>k=k+1<BR>

UNTIL LaTeX Code:  |{x^{k+1}-x^{k}}| < 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
  Reply With Quote
Old Jun13-09, 02:55 PM                  #3
ronaldor9

ronaldor9 is Offline:
Posts: 71
Re: hot to determine which is greater

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.
  Reply With Quote
Old Jun13-09, 05:17 PM                  #4
Tibarn

Tibarn is Offline:
Posts: 38
Re: hot to determine which is greater

The derivative doesn't tell you whether a function is positive or negative, only if it's increasing or decreasing. For example, LaTeX Code: e^{-x} is always positive yet its derivative is always negative.
  Reply With Quote
Old Jun13-09, 07:25 PM                  #5
ronaldor9

ronaldor9 is Offline:
Posts: 71
Re: hot to determine which is greater

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
  Reply With Quote
Old Jun13-09, 08:12 PM                  #6
daviddoria

daviddoria is Offline:
Posts: 74
Re: hot to determine which is greater

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?
  Reply With Quote
Old Jun13-09, 09:04 PM                  #7
ronaldor9

ronaldor9 is Offline:
Posts: 71
Re: hot to determine which is greater

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.
  Reply With Quote
Old Jun14-09, 04:22 AM                  #8
BobbyBear

BobbyBear is Offline:
Posts: 137
Re: hot to determine which is greater

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 :)
  Reply With Quote
Old Jun14-09, 06:47 PM                  #9
ronaldor9

ronaldor9 is Offline:
Posts: 71
Re: hot to determine which is greater

Originally Posted by BobbyBear View Post
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
  Reply With Quote
Old Jun14-09, 06:55 PM                  #10
BobbyBear

BobbyBear is Offline:
Posts: 137
Re: hot to determine which is greater

Originally Posted by ronaldor9 View Post
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

Originally Posted by ronaldor9 View Post
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:)
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: hot to determine which is greater
Thread Thread Starter Forum Replies Last Post
Much greater than foxjwill Introductory Physics 10 Nov17-09 01:32 PM
Greater Force= Greater Work; box up ramp katysmith Introductory Physics 3 Oct9-06 02:18 PM
Much greater than Sculptured Precalculus Mathematics 12 Sep10-06 09:57 PM
which is greater? atomant Introductory Physics 5 Mar1-06 07:22 AM
greater than c spacetime General Physics 24 Mar20-05 03:09 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image