Loading web-font TeX/Math/Italic
Jump to content

Recommended Posts

Posted

If I have some function like y = kx/(1+x)

 

How do I take the derivative of dln(y)/dln(x)

 

ln is natural log...

 

Can someone do like a step by step kind of a thing...

Posted

well it could work if you'd either of the rules depending on how you think about it algebraically. I just don't know what to do with those logs in the derivative portion.

 

I know how to apply dy/dx and find the derivative but what do you do when it calls for dlny/dlnx.

 

what does that mean?

Posted

So this is not a homework problem and I am not an undergrad... math is not my thing but I use it here and there... I just want to understand the significance of taking dlny/dlnx of a function... and how that works...

Posted (edited)

First up, partial fractions to make this vaguely approachable.

y=\frac{k x}{1+x}=k-\frac{k}{1-x}=k\left( 1-\frac{1}{1-x}\right)

Then some substitution: take [imath]u:=\ln(y)[/imath] and [imath]v:=\ln(x)[/imath].

e^{u} = k\left( 1-\frac{1}{1-e^v}\right)

Take logs.

u = \ln(k) + \ln(1 - \tfrac{1}{1-e^v} )

Finally, differentiate.

\frac{du}{dv} = \frac{ \tfrac{d}{dv} \left( 1-\tfrac{1}{1-e^v} \right)}{1-\tfrac{1}{1-e^v}}=- \frac{ \tfrac{e^v}{(1-e^v)^2} }{1-\tfrac{1}{1-e^v}}

Throw [imath]x[/imath] back in and simplify as much as you feel like...

\frac{du}{dv} = \frac{-x}{(1-x)^2 (1-\tfrac{1}{1-x})}= \frac{-x}{x^2 - x}= \frac{-1}{x-1}

And voilà!

\frac{d\ln(y)}{d\ln(x)}= \frac{-1}{x-1}

And no, I have no idea why you would want to do that, or why it would be relevant to anything.

Edited by the tree
sign error
Posted
  timo said:
You made a sign error in the denominator when taking the derivative d/dv (1/(1-exp(v)), btw.
So I did. Fixed and now the answer makes a lot more sense, thanks.
  • 11 months later...
Posted
  On 1/6/2011 at 7:04 PM, apricimo said:
Where did the k go?

It disappears around the point that you take it out as a common factor.

  On 1/17/2010 at 12:19 PM, the tree said:
[imath]e^{u} = k\left( 1-\frac{1}{1-e^v}\right)[/imath]...Take logs....[imath]u = \ln(k) + \ln(1 - \tfrac{1}{1-e^v} )[/imath]

Then [imath]\frac{\mbox{d}u}{\mbox{d}v}= \frac{\mbox{d}}{\mbox{d}v} \ln(k) + \frac{\mbox{d}}{\mbox{d}v} \ln(1 - \tfrac{1}{1-e^v} )[/imath]

And obviously: [imath] \tfrac{\mbox{d}}{\mbox{d}v} \ln(k)=0[/imath]

Posted (edited)
  On 1/17/2010 at 12:19 PM, the tree said:

First up, partial fractions to make this vaguely approachable.

y=\frac{k x}{1+x}=k-\frac{k}{1-x}=k \left( 1-\frac{1}{1-x} \right)

 

Shouldn't this be y=\frac{k x}{1+x}=k-\frac{k}{1+x}=k \left( 1-\frac{1}{1+x} \right)? Which means that the correct answer would be \frac {x}{x+1}.

Edited by Shadow
Posted

Also, I believe the process would be a lot less messy if you rewrote

 

\frac{\mbox{d} \ln(\frac{kx}{x+1})}{\mbox{d} \ln(x)}

 

as

 

\frac{\mbox{d} \ln(\frac{kx}{x+1})}{\mbox{d }x} \cdot \frac{1}{\frac{\mbox{d} \ln(x)}{\mbox{d} x}}

Posted (edited)

The correct answer to taking the derivative [math]

 

\frac{{d\ln y}}{{d\ln x}}

 

[/math] of [math]

 

y = \frac{{kx}}{{1 + x}}

 

[/math]

 

is

 

[math]

\frac{{d\ln y}}{{d\ln x}} = \frac{x}{y}\frac{{dy}}{{dx}} = \frac{x}{y}\left( {\frac{k}{{1 + x}} - \frac{{kx}}{{(1 + x)^2 }}} \right) = \frac{{(1 + x)x}}{{kx}}\left( {\frac{k}{{1 + x}} - \frac{{kx}}{{(1 + x)^2 }}} \right) = \frac{{1 + x}}{k}\left( {\frac{k}{{1 + x}} - \frac{{kx}}{{(1 + x)^2 }}} \right) = 1 - \frac{x}{{1 + x}}

 

[/math]

Edited by apricimo
  • 7 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.