What is x in terms of p?












0












$begingroup$


In this equation




$$frac x{ln(x)} = p$$




How can I have $x$ as a function of $p$?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    I don't think the function $f(x)=frac{x}{ln x}$ has an elementary inverse. That is, the function is invertible, but there is no way to "nicely" write the inverse of it.
    $endgroup$
    – 5xum
    Jan 14 at 13:53






  • 2




    $begingroup$
    Assuming $p$ is an integer, $x$ is almost the $p$th prime, if that helps.
    $endgroup$
    – Arthur
    Jan 14 at 13:55


















0












$begingroup$


In this equation




$$frac x{ln(x)} = p$$




How can I have $x$ as a function of $p$?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    I don't think the function $f(x)=frac{x}{ln x}$ has an elementary inverse. That is, the function is invertible, but there is no way to "nicely" write the inverse of it.
    $endgroup$
    – 5xum
    Jan 14 at 13:53






  • 2




    $begingroup$
    Assuming $p$ is an integer, $x$ is almost the $p$th prime, if that helps.
    $endgroup$
    – Arthur
    Jan 14 at 13:55
















0












0








0





$begingroup$


In this equation




$$frac x{ln(x)} = p$$




How can I have $x$ as a function of $p$?










share|cite|improve this question











$endgroup$




In this equation




$$frac x{ln(x)} = p$$




How can I have $x$ as a function of $p$?







logarithms inverse-function






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 14 at 13:57









mrtaurho

5,44541237




5,44541237










asked Jan 14 at 13:51









Matin N.Matin N.

51




51








  • 1




    $begingroup$
    I don't think the function $f(x)=frac{x}{ln x}$ has an elementary inverse. That is, the function is invertible, but there is no way to "nicely" write the inverse of it.
    $endgroup$
    – 5xum
    Jan 14 at 13:53






  • 2




    $begingroup$
    Assuming $p$ is an integer, $x$ is almost the $p$th prime, if that helps.
    $endgroup$
    – Arthur
    Jan 14 at 13:55
















  • 1




    $begingroup$
    I don't think the function $f(x)=frac{x}{ln x}$ has an elementary inverse. That is, the function is invertible, but there is no way to "nicely" write the inverse of it.
    $endgroup$
    – 5xum
    Jan 14 at 13:53






  • 2




    $begingroup$
    Assuming $p$ is an integer, $x$ is almost the $p$th prime, if that helps.
    $endgroup$
    – Arthur
    Jan 14 at 13:55










1




1




$begingroup$
I don't think the function $f(x)=frac{x}{ln x}$ has an elementary inverse. That is, the function is invertible, but there is no way to "nicely" write the inverse of it.
$endgroup$
– 5xum
Jan 14 at 13:53




$begingroup$
I don't think the function $f(x)=frac{x}{ln x}$ has an elementary inverse. That is, the function is invertible, but there is no way to "nicely" write the inverse of it.
$endgroup$
– 5xum
Jan 14 at 13:53




2




2




$begingroup$
Assuming $p$ is an integer, $x$ is almost the $p$th prime, if that helps.
$endgroup$
– Arthur
Jan 14 at 13:55






$begingroup$
Assuming $p$ is an integer, $x$ is almost the $p$th prime, if that helps.
$endgroup$
– Arthur
Jan 14 at 13:55












1 Answer
1






active

oldest

votes


















3












$begingroup$

This is a typical example of a transcendental equation with a solution that cannot be expressed with most widely known analytical functions (trigonometric, exponential and logarithmic).



Rule of thumb: if $x$ is found both inside and outside log/exp/sin, the equation cannot be inverted in terms of these functions.



However, the equation is common enough to have a so called "special function" which can be used to invert it: Lambert's function $x=W(y)$, which solves equation $xe^{x}=y$.



Of course, as Lambert's function doesn't usually have a button on a calculator, that does not help much, but does mean people have studied this function and have efficient means of calculating its value.



You just have to transform it into the form to apply the rule for Lambert's function;



$$ln x = frac{x}{p}$$
$$x=e^{x/p}$$
$$xe^{-x/p}=1$$
new variable $u=-x/p$
$$-pu e^{u}=1$$
$$ue^u=-1/p$$
$$u=W(-1/p)$$
$$x=-pu=-p W(-1/p)$$



Of course you have to be careful because for negative arguments, $W$ can have two branches (equation has two solutions), or no real solution at all, if the value is too negative (below $-1/e$).






share|cite|improve this answer











$endgroup$













    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%2f3073254%2fwhat-is-x-in-terms-of-p%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3












    $begingroup$

    This is a typical example of a transcendental equation with a solution that cannot be expressed with most widely known analytical functions (trigonometric, exponential and logarithmic).



    Rule of thumb: if $x$ is found both inside and outside log/exp/sin, the equation cannot be inverted in terms of these functions.



    However, the equation is common enough to have a so called "special function" which can be used to invert it: Lambert's function $x=W(y)$, which solves equation $xe^{x}=y$.



    Of course, as Lambert's function doesn't usually have a button on a calculator, that does not help much, but does mean people have studied this function and have efficient means of calculating its value.



    You just have to transform it into the form to apply the rule for Lambert's function;



    $$ln x = frac{x}{p}$$
    $$x=e^{x/p}$$
    $$xe^{-x/p}=1$$
    new variable $u=-x/p$
    $$-pu e^{u}=1$$
    $$ue^u=-1/p$$
    $$u=W(-1/p)$$
    $$x=-pu=-p W(-1/p)$$



    Of course you have to be careful because for negative arguments, $W$ can have two branches (equation has two solutions), or no real solution at all, if the value is too negative (below $-1/e$).






    share|cite|improve this answer











    $endgroup$


















      3












      $begingroup$

      This is a typical example of a transcendental equation with a solution that cannot be expressed with most widely known analytical functions (trigonometric, exponential and logarithmic).



      Rule of thumb: if $x$ is found both inside and outside log/exp/sin, the equation cannot be inverted in terms of these functions.



      However, the equation is common enough to have a so called "special function" which can be used to invert it: Lambert's function $x=W(y)$, which solves equation $xe^{x}=y$.



      Of course, as Lambert's function doesn't usually have a button on a calculator, that does not help much, but does mean people have studied this function and have efficient means of calculating its value.



      You just have to transform it into the form to apply the rule for Lambert's function;



      $$ln x = frac{x}{p}$$
      $$x=e^{x/p}$$
      $$xe^{-x/p}=1$$
      new variable $u=-x/p$
      $$-pu e^{u}=1$$
      $$ue^u=-1/p$$
      $$u=W(-1/p)$$
      $$x=-pu=-p W(-1/p)$$



      Of course you have to be careful because for negative arguments, $W$ can have two branches (equation has two solutions), or no real solution at all, if the value is too negative (below $-1/e$).






      share|cite|improve this answer











      $endgroup$
















        3












        3








        3





        $begingroup$

        This is a typical example of a transcendental equation with a solution that cannot be expressed with most widely known analytical functions (trigonometric, exponential and logarithmic).



        Rule of thumb: if $x$ is found both inside and outside log/exp/sin, the equation cannot be inverted in terms of these functions.



        However, the equation is common enough to have a so called "special function" which can be used to invert it: Lambert's function $x=W(y)$, which solves equation $xe^{x}=y$.



        Of course, as Lambert's function doesn't usually have a button on a calculator, that does not help much, but does mean people have studied this function and have efficient means of calculating its value.



        You just have to transform it into the form to apply the rule for Lambert's function;



        $$ln x = frac{x}{p}$$
        $$x=e^{x/p}$$
        $$xe^{-x/p}=1$$
        new variable $u=-x/p$
        $$-pu e^{u}=1$$
        $$ue^u=-1/p$$
        $$u=W(-1/p)$$
        $$x=-pu=-p W(-1/p)$$



        Of course you have to be careful because for negative arguments, $W$ can have two branches (equation has two solutions), or no real solution at all, if the value is too negative (below $-1/e$).






        share|cite|improve this answer











        $endgroup$



        This is a typical example of a transcendental equation with a solution that cannot be expressed with most widely known analytical functions (trigonometric, exponential and logarithmic).



        Rule of thumb: if $x$ is found both inside and outside log/exp/sin, the equation cannot be inverted in terms of these functions.



        However, the equation is common enough to have a so called "special function" which can be used to invert it: Lambert's function $x=W(y)$, which solves equation $xe^{x}=y$.



        Of course, as Lambert's function doesn't usually have a button on a calculator, that does not help much, but does mean people have studied this function and have efficient means of calculating its value.



        You just have to transform it into the form to apply the rule for Lambert's function;



        $$ln x = frac{x}{p}$$
        $$x=e^{x/p}$$
        $$xe^{-x/p}=1$$
        new variable $u=-x/p$
        $$-pu e^{u}=1$$
        $$ue^u=-1/p$$
        $$u=W(-1/p)$$
        $$x=-pu=-p W(-1/p)$$



        Of course you have to be careful because for negative arguments, $W$ can have two branches (equation has two solutions), or no real solution at all, if the value is too negative (below $-1/e$).







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 14 at 14:52

























        answered Jan 14 at 13:56









        orionorion

        13.6k11837




        13.6k11837






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3073254%2fwhat-is-x-in-terms-of-p%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

            Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

            Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

            A Topological Invariant for $pi_3(U(n))$