Find the derivative of this function

Helly123
Messages
581
Reaction score
20

Homework Statement


$$y = x.\log_e {\sqrt{x}}$$

Homework Equations


f(x) = g(x) h(x)
f ' (x) = g ' (x) . h (x) - h ' (x) . g(x)

The Attempt at a Solution


$$y = x .\log_e {\sqrt {x}}$$
$$y '(x) = 1.ln \sqrt{x} + \frac{1}{2} $$

the right answer is
$$ y ' = \log_{10} {\sqrt{x}} + \frac{1}{2} $$

$$ Is \ \log_e {\sqrt{x}} = \log_{10} {\sqrt{x}} \ ? $$

Second Try:
$$ y = x \log_e {\sqrt{x}} $$
$$ y = \log_e {x^{x/2}} $$
$$y ' = \frac{1}{x^{x/2}} . \frac{x}{2} . x^{(x-2)/2}$$
$$ y ' = \frac{1}{2}$$

why different result?
 
Physics news on Phys.org
What is the derivative of ##\ln \sqrt{x}##?

Hint: Chain rule!
 
loge is the natural log. I don't know where they got log10.
In your second attempt, you cannot take derivative of xx or xx/2 like that.

If you use Wolframalpha and some other solvers, the natural log is often denoted by just log() with no subscript. Perhaps that's why you think it should be base 10? But your first attempt is not quite right.

Try your product rule again, taking care to not drop any factors of 1/2 along the way.
 
  • Like
Likes Helly123
Also note that ##\log \sqrt{x} = \log x^{1/2} = \frac{1}{2}\log x##, regardless of the base of the logarithm.
 
hilbert2 said:
Also note that ##\log \sqrt{x} = \log x^{1/2} = \frac{1}{2}\log x##, regardless of the base of the logarithm.
That's definitely the simplest approach but perhaps the OP needs some practice with the chain rule.
 
PeroK said:
That's definitely the simplest approach but perhaps the OP needs some practice with the chain rule.

Good point.
 
PeroK said:
What is the derivative of ##\ln \sqrt{x}##?

Hint: Chain rule!
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{1}{2\sqrt{2}} ##
 
Helly123 said:
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{1}{2\sqrt{2}} ##
Show how you derived that. Where did the ##\sqrt{2}## come from? Did you mean that to be ##\sqrt{x}##?
 
  • Like
Likes scottdave
Dick said:
Show how you derived that. Where did the ##\sqrt{2}## come from? Did you mean that to be ##\sqrt{x}##?
derivative of ## ln \ u = \frac{1}{u} . \frac{d(u)}{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{ d ( \sqrt{x} ) \ }{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{1}{2\sqrt{2}} ##
 
  • #10
Helly123 said:
derivative of ## ln \ u = \frac{1}{u} . \frac{d(u)}{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{ d ( \sqrt{x} ) \ }{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{1}{2\sqrt{2}} ##

Hmm. Try ##\frac{ d ( \sqrt{x} ) \ }{dx}## again. Write it as ##\frac{ d ( x^{\frac{1}{2}}) \ }{dx}##.
 
  • Like
Likes PeroK
  • #11
Dick said:
Hmm. Try ##\frac{ d ( \sqrt{x} ) \ }{dx}## again. Write it as ##\frac{ d ( x^{\frac{1}{2}}) \ }{dx}##.
##\frac{ d ( x^{\frac{1}{2}}) \ }{dx}##
##= \frac{1}{2}. x^{(\frac{1}{2} - 1)}##.
##\frac{1}{2}.\frac{1}{\sqrt{2}} ##
 
  • #12
Helly123 said:
##\frac{ d ( x^{\frac{1}{2}}) \ }{dx}##
##= \frac{1}{2}. x^{(\frac{1}{2} - 1)}##.
##\frac{1}{2}.\frac{1}{\sqrt{2}} ##

##x^{-\frac{1}{2}}## is not equal to ##\frac{1}{\sqrt{2}}##! Look at it carefully... You have to mean ##\frac{1}{\sqrt{x}}##. They aren't the same thing.
 
  • Like
Likes Helly123 and PeroK
  • #13
Dick said:
##x^{-\frac{1}{2}}## is not equal to ##\frac{1}{\sqrt{2}}##! Look at it carefully... You have to mean ##\frac{1}{\sqrt{x}}##. They aren't the same thing.
i'm sorry. yes I meant ##\frac{1}{\sqrt{x}}##.
 
  • Like
Likes scottdave
  • #14
derivative of ## ln \ u = \frac{1}{u} . \frac{d(u)}{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{ d ( \sqrt{x} ) \ }{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{1}{2\sqrt{x}} ##
 
  • #15
Helly123 said:
derivative of ## ln \ u = \frac{1}{u} . \frac{d(u)}{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{ d ( \sqrt{x} ) \ }{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{1}{2\sqrt{x}} ##

That's it. And that agrees with what you would get by differentiating ##\frac{1}{2} \ln{x}##, yes?
 
  • #16
Helly123 said:
derivative of ## ln \ u = \frac{1}{u} . \frac{d(u)}{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{ d ( \sqrt{x} ) \ }{d(x)} ##
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{1}{2\sqrt{x}} ##
Do you see that the last expression can be simplified, and should be?
 
  • #17
Dick said:
That's it. And that agrees with what you would get by differentiating ##\frac{1}{2} \ln{x}##, yes?
yes, thanks
 
  • #18
Mark44 said:
Do you see that the last expression can be simplified, and should be?
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{1}{2\sqrt{x}} ##
derivative of ## \ln \sqrt{x} = \frac{1}{2{x}} ##
 
  • #19
Helly123 said:
derivative of ## \ln \sqrt{x} = \frac{1}{\sqrt{x}} . \frac{1}{2\sqrt{x}} ##
derivative of ## \ln \sqrt{x} = \frac{1}{2{x}} ##
Yes, that's what I meant.
 
Back
Top