PDA

View Full Version : What is logrithmic method of interpolation?


talal-crackdown
Aug 17, 2009, 01:57 AM
DEAR ALL,
I am a student and I want to know about logrithmic method of interpolation from begninning with and example.
I would be very grateful to anyone who can guide me.thanks

ArcSine
Aug 17, 2009, 05:51 AM
Suppose you have a variable F which is a exponential function of a variable t, for some initial value P; in other words

F=Pe^{rt} . You do not know the values of r or P.

You have two observations of F: F(5) = 164.8721, and F(15) = 448.1689. You want to determine F(10) (i.e. halfway between t = 5 and t = 15), but you know that a simple linear interpolation between your two observations won't work, as F follows an exponential curve.

So hit it this way: Take the natural logs of your two observations...

ln(164.8721) = 5.10517; and ln(448.1689) = 6.10517.

Now linearly interpolate halfway between these two (5.60517), and exponentiate to get your desired result:

e^{5.60517} = 271.8281.

When I then reveal that I initially used P = 100 and r = 0.10 to generate the numbers, you can verify the two observations, as well as verify that F(10) is indeed 271.8281.

It works because of the following: If you know that F is a function of t of the form F=Pe^{rt} , then taking nat logs of both sides...

ln(F) = ln(P) + rt

... shows the nat log of F as a linear function of t, for some constants ln(P) and r. Thus, the nat log of F(10) must certainly fall on the line between the nat logs of your two observations.

Hope that helped out a bit, and good luck!

talal-crackdown
Aug 24, 2009, 05:33 AM
@ ARCSIN
Thank you very much for your kind guidance...
I am grateful to you

ArcSine
Aug 24, 2009, 05:48 AM
It was a pleasure... glad it helped.