Straight lines with rational gradient











up vote
0
down vote

favorite












Wondering if it makes sense to ask:



In $(x,y)$ plane what probability has an arbitrary straight line $y=mx+c$ to have a rational slope $m$? I.e., referencing to an infinitely large sheet of standard grid lines (with given origin, coordinate axes horizontal and vertical) made up of unit squares, what percentage of lines pass through rational points?



If a random straight line is drawn through a fixed point of rational coordinates then many near misses from other grid points can be observed.










share|cite|improve this question
























  • It's actually not sufficient for $m$ to be rational to have the line pass through rational points. Regardless of whether $m$ is rational, you'll need either $c$ to also be rational or you will require $frac{c}{m}$ to be rational. Interestingly, if $m$ is irrational you can still pass through rational points provided that $c$ is a rational multiple of $m$.
    – Michael Stachowsky
    Nov 14 at 21:50

















up vote
0
down vote

favorite












Wondering if it makes sense to ask:



In $(x,y)$ plane what probability has an arbitrary straight line $y=mx+c$ to have a rational slope $m$? I.e., referencing to an infinitely large sheet of standard grid lines (with given origin, coordinate axes horizontal and vertical) made up of unit squares, what percentage of lines pass through rational points?



If a random straight line is drawn through a fixed point of rational coordinates then many near misses from other grid points can be observed.










share|cite|improve this question
























  • It's actually not sufficient for $m$ to be rational to have the line pass through rational points. Regardless of whether $m$ is rational, you'll need either $c$ to also be rational or you will require $frac{c}{m}$ to be rational. Interestingly, if $m$ is irrational you can still pass through rational points provided that $c$ is a rational multiple of $m$.
    – Michael Stachowsky
    Nov 14 at 21:50















up vote
0
down vote

favorite









up vote
0
down vote

favorite











Wondering if it makes sense to ask:



In $(x,y)$ plane what probability has an arbitrary straight line $y=mx+c$ to have a rational slope $m$? I.e., referencing to an infinitely large sheet of standard grid lines (with given origin, coordinate axes horizontal and vertical) made up of unit squares, what percentage of lines pass through rational points?



If a random straight line is drawn through a fixed point of rational coordinates then many near misses from other grid points can be observed.










share|cite|improve this question















Wondering if it makes sense to ask:



In $(x,y)$ plane what probability has an arbitrary straight line $y=mx+c$ to have a rational slope $m$? I.e., referencing to an infinitely large sheet of standard grid lines (with given origin, coordinate axes horizontal and vertical) made up of unit squares, what percentage of lines pass through rational points?



If a random straight line is drawn through a fixed point of rational coordinates then many near misses from other grid points can be observed.







probability






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 14 at 21:44

























asked Nov 14 at 20:33









Narasimham

20.4k52158




20.4k52158












  • It's actually not sufficient for $m$ to be rational to have the line pass through rational points. Regardless of whether $m$ is rational, you'll need either $c$ to also be rational or you will require $frac{c}{m}$ to be rational. Interestingly, if $m$ is irrational you can still pass through rational points provided that $c$ is a rational multiple of $m$.
    – Michael Stachowsky
    Nov 14 at 21:50




















  • It's actually not sufficient for $m$ to be rational to have the line pass through rational points. Regardless of whether $m$ is rational, you'll need either $c$ to also be rational or you will require $frac{c}{m}$ to be rational. Interestingly, if $m$ is irrational you can still pass through rational points provided that $c$ is a rational multiple of $m$.
    – Michael Stachowsky
    Nov 14 at 21:50


















It's actually not sufficient for $m$ to be rational to have the line pass through rational points. Regardless of whether $m$ is rational, you'll need either $c$ to also be rational or you will require $frac{c}{m}$ to be rational. Interestingly, if $m$ is irrational you can still pass through rational points provided that $c$ is a rational multiple of $m$.
– Michael Stachowsky
Nov 14 at 21:50






It's actually not sufficient for $m$ to be rational to have the line pass through rational points. Regardless of whether $m$ is rational, you'll need either $c$ to also be rational or you will require $frac{c}{m}$ to be rational. Interestingly, if $m$ is irrational you can still pass through rational points provided that $c$ is a rational multiple of $m$.
– Michael Stachowsky
Nov 14 at 21:50












1 Answer
1






active

oldest

votes

















up vote
0
down vote













The answer to the question is unsatisfying: 0. The percentage of rational numbers in any given interval is zero, as seen in Percentage of rational numbers on an interval






share|cite|improve this answer





















    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',
    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%2f2998785%2fstraight-lines-with-rational-gradient%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








    up vote
    0
    down vote













    The answer to the question is unsatisfying: 0. The percentage of rational numbers in any given interval is zero, as seen in Percentage of rational numbers on an interval






    share|cite|improve this answer

























      up vote
      0
      down vote













      The answer to the question is unsatisfying: 0. The percentage of rational numbers in any given interval is zero, as seen in Percentage of rational numbers on an interval






      share|cite|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        The answer to the question is unsatisfying: 0. The percentage of rational numbers in any given interval is zero, as seen in Percentage of rational numbers on an interval






        share|cite|improve this answer












        The answer to the question is unsatisfying: 0. The percentage of rational numbers in any given interval is zero, as seen in Percentage of rational numbers on an interval







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 14 at 20:52









        Michael Stachowsky

        1,208417




        1,208417






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2998785%2fstraight-lines-with-rational-gradient%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

            Plaza Victoria

            Puebla de Zaragoza

            Musa