Finding the second derivative of $x^x$ The 2019 Stack Overflow Developer Survey Results Are InOn the meaning of the second derivativeHelp finding the second derivative of this function.Derivative of function composed with itselfSecond Derivative Of A Parametric FunctionSecond derivative of the cost function of logistic functionProduct Rule and Differentiation with logarithmsDerivative of matrix determinant wrt to matrix elementHow to take second derivative implicitlyFind $alpha in mathbbR$ s.t. the second derivative ($x=0$) of a function exists.Derivative of the von Neumann entropy
JSON.serialize: is it possible to suppress null values of a map?
Falsification in Math vs Science
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
On the insanity of kings as an argument against monarchy
Are there any other methods to apply to solving simultaneous equations?
How to deal with fear of taking dependencies
What does "sndry explns" mean in one of the Hitchhiker's guide books?
How are circuits which use complex ICs normally simulated?
"To split hairs" vs "To be pedantic"
Inline version of a function returns different value than non-inline version
Understanding the implication of what "well-defined" means for the operation in quotient group
How to manage monthly salary
Why do I get badly formatted numerical results when I use StringForm?
Extreme, unacceptable situation and I can't attend work tomorrow morning
Monty Hall variation
Geography at the pixel level
Dual Citizen. Exited the US on Italian passport recently
Why do UK politicians seemingly ignore opinion polls on Brexit?
Is there a name of the flying bionic bird?
How can I fix this gap between bookcases I made?
How come people say “Would of”?
Does duplicating a spell with Wish count as casting that spell?
Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints
Is three citations per paragraph excessive for undergraduate research paper?
Finding the second derivative of $x^x$
The 2019 Stack Overflow Developer Survey Results Are InOn the meaning of the second derivativeHelp finding the second derivative of this function.Derivative of function composed with itselfSecond Derivative Of A Parametric FunctionSecond derivative of the cost function of logistic functionProduct Rule and Differentiation with logarithmsDerivative of matrix determinant wrt to matrix elementHow to take second derivative implicitlyFind $alpha in mathbbR$ s.t. the second derivative ($x=0$) of a function exists.Derivative of the von Neumann entropy
$begingroup$
Find the second derivative $d^2y/dx^2$ when $y=x^x:(x>0)$.
$$y=x^x,::(xgt0)$$
beginalign
log y&=xlog x \
rmDifferentiating&:rmwith:respect:to:x
endalign
beginalign
frac1yfracdydx&=1cdot(log x+1)+xcdotfrac1x \[0.8ex]
fracdydx&=x^x(log x+1)
endalign
I found the first derivative, and now I want to know how to find the second derivative of this function.
derivatives
$endgroup$
add a comment |
$begingroup$
Find the second derivative $d^2y/dx^2$ when $y=x^x:(x>0)$.
$$y=x^x,::(xgt0)$$
beginalign
log y&=xlog x \
rmDifferentiating&:rmwith:respect:to:x
endalign
beginalign
frac1yfracdydx&=1cdot(log x+1)+xcdotfrac1x \[0.8ex]
fracdydx&=x^x(log x+1)
endalign
I found the first derivative, and now I want to know how to find the second derivative of this function.
derivatives
$endgroup$
$begingroup$
Well, you know what the derivative of $x^x$ is, and you know what the derivative of ($logx + 1$) is, so just use the product rule.
$endgroup$
– Aurey
Jun 10 '16 at 5:15
$begingroup$
Hint: Product rule.
$endgroup$
– user223391
Jun 10 '16 at 5:15
add a comment |
$begingroup$
Find the second derivative $d^2y/dx^2$ when $y=x^x:(x>0)$.
$$y=x^x,::(xgt0)$$
beginalign
log y&=xlog x \
rmDifferentiating&:rmwith:respect:to:x
endalign
beginalign
frac1yfracdydx&=1cdot(log x+1)+xcdotfrac1x \[0.8ex]
fracdydx&=x^x(log x+1)
endalign
I found the first derivative, and now I want to know how to find the second derivative of this function.
derivatives
$endgroup$
Find the second derivative $d^2y/dx^2$ when $y=x^x:(x>0)$.
$$y=x^x,::(xgt0)$$
beginalign
log y&=xlog x \
rmDifferentiating&:rmwith:respect:to:x
endalign
beginalign
frac1yfracdydx&=1cdot(log x+1)+xcdotfrac1x \[0.8ex]
fracdydx&=x^x(log x+1)
endalign
I found the first derivative, and now I want to know how to find the second derivative of this function.
derivatives
derivatives
edited Mar 23 at 4:51
Robert Howard
2,3033935
2,3033935
asked Jun 10 '16 at 5:12
Aakash KumarAakash Kumar
2,5341520
2,5341520
$begingroup$
Well, you know what the derivative of $x^x$ is, and you know what the derivative of ($logx + 1$) is, so just use the product rule.
$endgroup$
– Aurey
Jun 10 '16 at 5:15
$begingroup$
Hint: Product rule.
$endgroup$
– user223391
Jun 10 '16 at 5:15
add a comment |
$begingroup$
Well, you know what the derivative of $x^x$ is, and you know what the derivative of ($logx + 1$) is, so just use the product rule.
$endgroup$
– Aurey
Jun 10 '16 at 5:15
$begingroup$
Hint: Product rule.
$endgroup$
– user223391
Jun 10 '16 at 5:15
$begingroup$
Well, you know what the derivative of $x^x$ is, and you know what the derivative of ($logx + 1$) is, so just use the product rule.
$endgroup$
– Aurey
Jun 10 '16 at 5:15
$begingroup$
Well, you know what the derivative of $x^x$ is, and you know what the derivative of ($logx + 1$) is, so just use the product rule.
$endgroup$
– Aurey
Jun 10 '16 at 5:15
$begingroup$
Hint: Product rule.
$endgroup$
– user223391
Jun 10 '16 at 5:15
$begingroup$
Hint: Product rule.
$endgroup$
– user223391
Jun 10 '16 at 5:15
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
Just do the same thing: $$log left( fracdydx right) = x log x + log (log x + 1),$$ so $$frac1fracdydx fracd^2 ydx^2 = (log x + 1) + frac1log x + 1 cdot frac1x,$$ hence $$fracd^2 ydx^2 = fracdydx left( log x + 1 + frac1x(log x + 1) right),$$ and substitute the expression you obtained for the first derivative.
Alternatively, $$fracdydx = x^x (log x + 1)$$ implies $$fracd^2 ydx^2 = fracddxleft[x^x right] (log x + 1) + x^x cdot frac1x$$ by the product rule, and as before, substitute the derivative of $x^x$ that you found earlier.
$endgroup$
add a comment |
$begingroup$
$y = x^x$
As shown, $fracdydx = x^x(log x + 1)$
Differentiating, again w.r.t. $x$, we get,
$frac d^2ydx^2 = fracddxx^x (log x + 1)$
Using given information and differentiating by parts, we get,
$$frac d^2ydx^2 = (log x + 1)fracddxx^x + x^x fracddx(log x + 1)$$
$$frac d^2ydx^2 = (log x + 1).x^x(log x + 1) + x^x(frac 1x + 0)$$
$$frac d^2ydx^2 = x^x(log x + 1)^2 + x^x-1$$
Required answer.
$endgroup$
add a comment |
$begingroup$
This is not an answer but it is too long for a comment.
You have been already given good answers.
What could be interesting is to think how $y$, $y'$, $y''$ would have be coded in the most inexpensive way. $$colorredy=x^ximplies log(y)=x log(x)$$ so $$fracy'y=1+log (x)implies colorredy'=yleft(1+log (x) right)implieslog(y')=log(y)+log (1+log (x))$$ $$fracy''y'=fracy'y+frac1x (1+log (x))implies colorredy''=y'left(fracy'y+frac1x (1+log (x))right)$$ As you can see, very few basic operations (we could compute $log(x)$ only once and reuse it)
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1820590%2ffinding-the-second-derivative-of-xx%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Just do the same thing: $$log left( fracdydx right) = x log x + log (log x + 1),$$ so $$frac1fracdydx fracd^2 ydx^2 = (log x + 1) + frac1log x + 1 cdot frac1x,$$ hence $$fracd^2 ydx^2 = fracdydx left( log x + 1 + frac1x(log x + 1) right),$$ and substitute the expression you obtained for the first derivative.
Alternatively, $$fracdydx = x^x (log x + 1)$$ implies $$fracd^2 ydx^2 = fracddxleft[x^x right] (log x + 1) + x^x cdot frac1x$$ by the product rule, and as before, substitute the derivative of $x^x$ that you found earlier.
$endgroup$
add a comment |
$begingroup$
Just do the same thing: $$log left( fracdydx right) = x log x + log (log x + 1),$$ so $$frac1fracdydx fracd^2 ydx^2 = (log x + 1) + frac1log x + 1 cdot frac1x,$$ hence $$fracd^2 ydx^2 = fracdydx left( log x + 1 + frac1x(log x + 1) right),$$ and substitute the expression you obtained for the first derivative.
Alternatively, $$fracdydx = x^x (log x + 1)$$ implies $$fracd^2 ydx^2 = fracddxleft[x^x right] (log x + 1) + x^x cdot frac1x$$ by the product rule, and as before, substitute the derivative of $x^x$ that you found earlier.
$endgroup$
add a comment |
$begingroup$
Just do the same thing: $$log left( fracdydx right) = x log x + log (log x + 1),$$ so $$frac1fracdydx fracd^2 ydx^2 = (log x + 1) + frac1log x + 1 cdot frac1x,$$ hence $$fracd^2 ydx^2 = fracdydx left( log x + 1 + frac1x(log x + 1) right),$$ and substitute the expression you obtained for the first derivative.
Alternatively, $$fracdydx = x^x (log x + 1)$$ implies $$fracd^2 ydx^2 = fracddxleft[x^x right] (log x + 1) + x^x cdot frac1x$$ by the product rule, and as before, substitute the derivative of $x^x$ that you found earlier.
$endgroup$
Just do the same thing: $$log left( fracdydx right) = x log x + log (log x + 1),$$ so $$frac1fracdydx fracd^2 ydx^2 = (log x + 1) + frac1log x + 1 cdot frac1x,$$ hence $$fracd^2 ydx^2 = fracdydx left( log x + 1 + frac1x(log x + 1) right),$$ and substitute the expression you obtained for the first derivative.
Alternatively, $$fracdydx = x^x (log x + 1)$$ implies $$fracd^2 ydx^2 = fracddxleft[x^x right] (log x + 1) + x^x cdot frac1x$$ by the product rule, and as before, substitute the derivative of $x^x$ that you found earlier.
answered Jun 10 '16 at 5:20
heropupheropup
65.4k865104
65.4k865104
add a comment |
add a comment |
$begingroup$
$y = x^x$
As shown, $fracdydx = x^x(log x + 1)$
Differentiating, again w.r.t. $x$, we get,
$frac d^2ydx^2 = fracddxx^x (log x + 1)$
Using given information and differentiating by parts, we get,
$$frac d^2ydx^2 = (log x + 1)fracddxx^x + x^x fracddx(log x + 1)$$
$$frac d^2ydx^2 = (log x + 1).x^x(log x + 1) + x^x(frac 1x + 0)$$
$$frac d^2ydx^2 = x^x(log x + 1)^2 + x^x-1$$
Required answer.
$endgroup$
add a comment |
$begingroup$
$y = x^x$
As shown, $fracdydx = x^x(log x + 1)$
Differentiating, again w.r.t. $x$, we get,
$frac d^2ydx^2 = fracddxx^x (log x + 1)$
Using given information and differentiating by parts, we get,
$$frac d^2ydx^2 = (log x + 1)fracddxx^x + x^x fracddx(log x + 1)$$
$$frac d^2ydx^2 = (log x + 1).x^x(log x + 1) + x^x(frac 1x + 0)$$
$$frac d^2ydx^2 = x^x(log x + 1)^2 + x^x-1$$
Required answer.
$endgroup$
add a comment |
$begingroup$
$y = x^x$
As shown, $fracdydx = x^x(log x + 1)$
Differentiating, again w.r.t. $x$, we get,
$frac d^2ydx^2 = fracddxx^x (log x + 1)$
Using given information and differentiating by parts, we get,
$$frac d^2ydx^2 = (log x + 1)fracddxx^x + x^x fracddx(log x + 1)$$
$$frac d^2ydx^2 = (log x + 1).x^x(log x + 1) + x^x(frac 1x + 0)$$
$$frac d^2ydx^2 = x^x(log x + 1)^2 + x^x-1$$
Required answer.
$endgroup$
$y = x^x$
As shown, $fracdydx = x^x(log x + 1)$
Differentiating, again w.r.t. $x$, we get,
$frac d^2ydx^2 = fracddxx^x (log x + 1)$
Using given information and differentiating by parts, we get,
$$frac d^2ydx^2 = (log x + 1)fracddxx^x + x^x fracddx(log x + 1)$$
$$frac d^2ydx^2 = (log x + 1).x^x(log x + 1) + x^x(frac 1x + 0)$$
$$frac d^2ydx^2 = x^x(log x + 1)^2 + x^x-1$$
Required answer.
answered Jun 10 '16 at 5:28
Shikhar S. MaheshwariShikhar S. Maheshwari
308112
308112
add a comment |
add a comment |
$begingroup$
This is not an answer but it is too long for a comment.
You have been already given good answers.
What could be interesting is to think how $y$, $y'$, $y''$ would have be coded in the most inexpensive way. $$colorredy=x^ximplies log(y)=x log(x)$$ so $$fracy'y=1+log (x)implies colorredy'=yleft(1+log (x) right)implieslog(y')=log(y)+log (1+log (x))$$ $$fracy''y'=fracy'y+frac1x (1+log (x))implies colorredy''=y'left(fracy'y+frac1x (1+log (x))right)$$ As you can see, very few basic operations (we could compute $log(x)$ only once and reuse it)
$endgroup$
add a comment |
$begingroup$
This is not an answer but it is too long for a comment.
You have been already given good answers.
What could be interesting is to think how $y$, $y'$, $y''$ would have be coded in the most inexpensive way. $$colorredy=x^ximplies log(y)=x log(x)$$ so $$fracy'y=1+log (x)implies colorredy'=yleft(1+log (x) right)implieslog(y')=log(y)+log (1+log (x))$$ $$fracy''y'=fracy'y+frac1x (1+log (x))implies colorredy''=y'left(fracy'y+frac1x (1+log (x))right)$$ As you can see, very few basic operations (we could compute $log(x)$ only once and reuse it)
$endgroup$
add a comment |
$begingroup$
This is not an answer but it is too long for a comment.
You have been already given good answers.
What could be interesting is to think how $y$, $y'$, $y''$ would have be coded in the most inexpensive way. $$colorredy=x^ximplies log(y)=x log(x)$$ so $$fracy'y=1+log (x)implies colorredy'=yleft(1+log (x) right)implieslog(y')=log(y)+log (1+log (x))$$ $$fracy''y'=fracy'y+frac1x (1+log (x))implies colorredy''=y'left(fracy'y+frac1x (1+log (x))right)$$ As you can see, very few basic operations (we could compute $log(x)$ only once and reuse it)
$endgroup$
This is not an answer but it is too long for a comment.
You have been already given good answers.
What could be interesting is to think how $y$, $y'$, $y''$ would have be coded in the most inexpensive way. $$colorredy=x^ximplies log(y)=x log(x)$$ so $$fracy'y=1+log (x)implies colorredy'=yleft(1+log (x) right)implieslog(y')=log(y)+log (1+log (x))$$ $$fracy''y'=fracy'y+frac1x (1+log (x))implies colorredy''=y'left(fracy'y+frac1x (1+log (x))right)$$ As you can see, very few basic operations (we could compute $log(x)$ only once and reuse it)
answered Jun 10 '16 at 6:32
Claude LeiboviciClaude Leibovici
125k1158135
125k1158135
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1820590%2ffinding-the-second-derivative-of-xx%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Well, you know what the derivative of $x^x$ is, and you know what the derivative of ($logx + 1$) is, so just use the product rule.
$endgroup$
– Aurey
Jun 10 '16 at 5:15
$begingroup$
Hint: Product rule.
$endgroup$
– user223391
Jun 10 '16 at 5:15