Solving this polynomial equation












2














So I'm trying to maximize a log function and I'm getting stuck in solving for $x$.



The original function is



$$g(x) = x^{-3} log (1+x^2) + x^{-1} log(1+x^2) - x^{-1}$$



Note that plotting this in R, I can see a clear maximum close to $e^1$ (though slightly to the right).



The derivative is equal to



$$g'(x) = log(1+x^2)(-3 x^{-4}-x^{-2})+frac{2}{1+x^2}(x^{-2}+1)+x^{-2}$$



But setting equal to zero, I'm having trouble separating the logarithm to get a closed form solution of $x_max$.



Edit: My original line below here was incorrect. Corrected now



This leads to



$$1+x^2 = exp left( frac{3x^2}{3+x^2} right) $$










share|cite|improve this question
























  • You can not algebraically solve these kinds of equations. You might try a numerical approach.
    – Cornman
    Nov 26 at 14:16






  • 1




    Are you sure the derivative is correct? WA provides www4c.wolframalpha.com/Calculate/MSP/…
    – Mohammad Zuhair Khan
    Nov 26 at 14:19










  • Really? Because the question I'm working on seems to suggest you can solve for it
    – Xiaomi
    Nov 26 at 14:19










  • @raptor the derivative is correct. They're just written in different forms. Double checked by plotting both graphs
    – Xiaomi
    Nov 26 at 14:28










  • @Xiaomi very well then but IMO perhaps the rearrangement may help? Like I get $1+x^2=exp left( dfrac {3x^2}{x^2+3} right)$ from the new one whereas you got $1+x^2 = exp left( dfrac{2+x^2}{3+x^2} right)$. Can you double check your last steps because otherwise seems like $2+x^2=3x^2 implies 2x^2=2 implies x^2=1 implies x=pm 1.$ which should not be possible.
    – Mohammad Zuhair Khan
    Nov 26 at 14:40
















2














So I'm trying to maximize a log function and I'm getting stuck in solving for $x$.



The original function is



$$g(x) = x^{-3} log (1+x^2) + x^{-1} log(1+x^2) - x^{-1}$$



Note that plotting this in R, I can see a clear maximum close to $e^1$ (though slightly to the right).



The derivative is equal to



$$g'(x) = log(1+x^2)(-3 x^{-4}-x^{-2})+frac{2}{1+x^2}(x^{-2}+1)+x^{-2}$$



But setting equal to zero, I'm having trouble separating the logarithm to get a closed form solution of $x_max$.



Edit: My original line below here was incorrect. Corrected now



This leads to



$$1+x^2 = exp left( frac{3x^2}{3+x^2} right) $$










share|cite|improve this question
























  • You can not algebraically solve these kinds of equations. You might try a numerical approach.
    – Cornman
    Nov 26 at 14:16






  • 1




    Are you sure the derivative is correct? WA provides www4c.wolframalpha.com/Calculate/MSP/…
    – Mohammad Zuhair Khan
    Nov 26 at 14:19










  • Really? Because the question I'm working on seems to suggest you can solve for it
    – Xiaomi
    Nov 26 at 14:19










  • @raptor the derivative is correct. They're just written in different forms. Double checked by plotting both graphs
    – Xiaomi
    Nov 26 at 14:28










  • @Xiaomi very well then but IMO perhaps the rearrangement may help? Like I get $1+x^2=exp left( dfrac {3x^2}{x^2+3} right)$ from the new one whereas you got $1+x^2 = exp left( dfrac{2+x^2}{3+x^2} right)$. Can you double check your last steps because otherwise seems like $2+x^2=3x^2 implies 2x^2=2 implies x^2=1 implies x=pm 1.$ which should not be possible.
    – Mohammad Zuhair Khan
    Nov 26 at 14:40














2












2








2







So I'm trying to maximize a log function and I'm getting stuck in solving for $x$.



The original function is



$$g(x) = x^{-3} log (1+x^2) + x^{-1} log(1+x^2) - x^{-1}$$



Note that plotting this in R, I can see a clear maximum close to $e^1$ (though slightly to the right).



The derivative is equal to



$$g'(x) = log(1+x^2)(-3 x^{-4}-x^{-2})+frac{2}{1+x^2}(x^{-2}+1)+x^{-2}$$



But setting equal to zero, I'm having trouble separating the logarithm to get a closed form solution of $x_max$.



Edit: My original line below here was incorrect. Corrected now



This leads to



$$1+x^2 = exp left( frac{3x^2}{3+x^2} right) $$










share|cite|improve this question















So I'm trying to maximize a log function and I'm getting stuck in solving for $x$.



The original function is



$$g(x) = x^{-3} log (1+x^2) + x^{-1} log(1+x^2) - x^{-1}$$



Note that plotting this in R, I can see a clear maximum close to $e^1$ (though slightly to the right).



The derivative is equal to



$$g'(x) = log(1+x^2)(-3 x^{-4}-x^{-2})+frac{2}{1+x^2}(x^{-2}+1)+x^{-2}$$



But setting equal to zero, I'm having trouble separating the logarithm to get a closed form solution of $x_max$.



Edit: My original line below here was incorrect. Corrected now



This leads to



$$1+x^2 = exp left( frac{3x^2}{3+x^2} right) $$







calculus






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 26 at 14:44

























asked Nov 26 at 14:14









Xiaomi

1,016115




1,016115












  • You can not algebraically solve these kinds of equations. You might try a numerical approach.
    – Cornman
    Nov 26 at 14:16






  • 1




    Are you sure the derivative is correct? WA provides www4c.wolframalpha.com/Calculate/MSP/…
    – Mohammad Zuhair Khan
    Nov 26 at 14:19










  • Really? Because the question I'm working on seems to suggest you can solve for it
    – Xiaomi
    Nov 26 at 14:19










  • @raptor the derivative is correct. They're just written in different forms. Double checked by plotting both graphs
    – Xiaomi
    Nov 26 at 14:28










  • @Xiaomi very well then but IMO perhaps the rearrangement may help? Like I get $1+x^2=exp left( dfrac {3x^2}{x^2+3} right)$ from the new one whereas you got $1+x^2 = exp left( dfrac{2+x^2}{3+x^2} right)$. Can you double check your last steps because otherwise seems like $2+x^2=3x^2 implies 2x^2=2 implies x^2=1 implies x=pm 1.$ which should not be possible.
    – Mohammad Zuhair Khan
    Nov 26 at 14:40


















  • You can not algebraically solve these kinds of equations. You might try a numerical approach.
    – Cornman
    Nov 26 at 14:16






  • 1




    Are you sure the derivative is correct? WA provides www4c.wolframalpha.com/Calculate/MSP/…
    – Mohammad Zuhair Khan
    Nov 26 at 14:19










  • Really? Because the question I'm working on seems to suggest you can solve for it
    – Xiaomi
    Nov 26 at 14:19










  • @raptor the derivative is correct. They're just written in different forms. Double checked by plotting both graphs
    – Xiaomi
    Nov 26 at 14:28










  • @Xiaomi very well then but IMO perhaps the rearrangement may help? Like I get $1+x^2=exp left( dfrac {3x^2}{x^2+3} right)$ from the new one whereas you got $1+x^2 = exp left( dfrac{2+x^2}{3+x^2} right)$. Can you double check your last steps because otherwise seems like $2+x^2=3x^2 implies 2x^2=2 implies x^2=1 implies x=pm 1.$ which should not be possible.
    – Mohammad Zuhair Khan
    Nov 26 at 14:40
















You can not algebraically solve these kinds of equations. You might try a numerical approach.
– Cornman
Nov 26 at 14:16




You can not algebraically solve these kinds of equations. You might try a numerical approach.
– Cornman
Nov 26 at 14:16




1




1




Are you sure the derivative is correct? WA provides www4c.wolframalpha.com/Calculate/MSP/…
– Mohammad Zuhair Khan
Nov 26 at 14:19




Are you sure the derivative is correct? WA provides www4c.wolframalpha.com/Calculate/MSP/…
– Mohammad Zuhair Khan
Nov 26 at 14:19












Really? Because the question I'm working on seems to suggest you can solve for it
– Xiaomi
Nov 26 at 14:19




Really? Because the question I'm working on seems to suggest you can solve for it
– Xiaomi
Nov 26 at 14:19












@raptor the derivative is correct. They're just written in different forms. Double checked by plotting both graphs
– Xiaomi
Nov 26 at 14:28




@raptor the derivative is correct. They're just written in different forms. Double checked by plotting both graphs
– Xiaomi
Nov 26 at 14:28












@Xiaomi very well then but IMO perhaps the rearrangement may help? Like I get $1+x^2=exp left( dfrac {3x^2}{x^2+3} right)$ from the new one whereas you got $1+x^2 = exp left( dfrac{2+x^2}{3+x^2} right)$. Can you double check your last steps because otherwise seems like $2+x^2=3x^2 implies 2x^2=2 implies x^2=1 implies x=pm 1.$ which should not be possible.
– Mohammad Zuhair Khan
Nov 26 at 14:40




@Xiaomi very well then but IMO perhaps the rearrangement may help? Like I get $1+x^2=exp left( dfrac {3x^2}{x^2+3} right)$ from the new one whereas you got $1+x^2 = exp left( dfrac{2+x^2}{3+x^2} right)$. Can you double check your last steps because otherwise seems like $2+x^2=3x^2 implies 2x^2=2 implies x^2=1 implies x=pm 1.$ which should not be possible.
– Mohammad Zuhair Khan
Nov 26 at 14:40















active

oldest

votes











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3014380%2fsolving-this-polynomial-equation%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3014380%2fsolving-this-polynomial-equation%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Bundesstraße 106

Verónica Boquete

Ida-Boy-Ed-Garten