Square in denominator of derivative

  • Context: Undergrad 
  • Thread starter Thread starter autobot.d
  • Start date Start date
  • Tags Tags
    Derivative Square
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
autobot.d
Messages
67
Reaction score
0
[itex]\frac{d}{d \sigma ^2} [log(\sigma ^ 2) - \frac{1}{\sigma ^ 2}][/itex]

I think the first part is

[itex]\frac{1}{\sigma ^ 2}[/itex]

but pretty clueless after that. I also want to take the second derivative.
Any help or a reference would be great.
Thanks!
 
Physics news on Phys.org
substitute x = sigma^2 and differentiate as you normally would.
 
I think this is right.

[itex]\frac{d}{d \sigma ^2} [log(\sigma ^2) - \frac{1}{\sigma ^2}] = \frac{1}{\sigma ^2} + \frac{1}{\sigma ^4}[/itex]

then for the second derivative

[itex]\frac{d}{d \sigma ^2} [\frac{1}{\sigma ^2} + \frac{1}{\sigma ^4}] = - \frac{1}{\sigma ^4} - \frac{2}{\sigma ^6}[/itex]

Yay, nay? How does that look? I used this url as a reference
https://files.nyu.edu/mrg217/public/mle_introduction1.pdf

equations 51 and 60

Thanks
 
Last edited by a moderator:
You are mistaken. There are two ways to do the first function:
1) Use the "chain rule". Let [itex]u= x^2[/itex] so that [itex]ln(x^2)= ln(u)[/itex]. Then d ln(u)/du= 1/u and du/dx= 2x. d(ln(x^2)/dx= (d(ln(u))/du)(du/dx).

2) But it is much simpler to use the "laws of logarithms"- [itex]ln(x^2)= 2ln(x)[/itex] so [itex]d(ln(x^2))/dx= 2 d(ln(x))/dx[/itex].

For the second, write [tex]1/\sigma^2= \sigma^{-2}[/tex] and use "[tex]d(x^n)/dx= nx^{n-1}[/tex]".

I just noticed that this was "with respect to [itex]\sigma^2[/itex], NOT with respect to [itex]\sigma[/itex]. That changes everything!

Let [itex]x= \sigma^2[/itex]. Then your problem becomes
[tex]\frac{d}{dx}(ln(x)- x^{-2}[/tex].
Differentiate that and replace x with [itex]\sigma^2[/itex]. You don't need to use the chain rule!
 
Last edited by a moderator:
Awesome, I end up with the same answer as before. Thanks for the help.