For $f(x) = tan(pi cdot x)$, find the Interpolation $Q(x) = b_0 + b_1 x + b_2 frac{1}{x-frac{1}{2}}$












0












$begingroup$


Progress so far:



In a previous task, I determined a polynomial interpolation using a system of linear equations.



The data points to be used were $(0, f(0)), (frac{1}{6}, f(frac{1}{6})), (frac{1}{4}, f(frac{1}{4}))$



The linear equation used was of the form:



begin{pmatrix}0^2&0^1&0^0\ :frac{1}{6}^2&frac{1}{6}^1&frac{1}{6}^0\ :frac{1}{4}^2&frac{1}{4}^1&frac{1}{4}^0end{pmatrix}begin{pmatrix}a_2\ :a_1\ :a_0end{pmatrix}=begin{pmatrix}0\ frac{1}{sqrt{3}}\ 1end{pmatrix}



and the polynomial of the form



$$ p_2(x) = a_0 + a_1 x + a_2 x^2$$ was determined to have the coefficients



$a_0 = 0, a_1 = -8 + frac{18}{sqrt{3}}, a_2 = 48 - frac{72}{sqrt{3}}$



I am not aware of how I would use a system of linear equations to determine $Q(x)$. Is it perhaps possible to derive the coefficients from $p_2$? Or is there some other method of interpolation I should pursue?










share|cite|improve this question









$endgroup$












  • $begingroup$
    In my answer, I assumed that you would also use $x=frac 12$. If this is not the case, for $Q(x)$ you still have three linear equations.
    $endgroup$
    – Claude Leibovici
    Dec 3 '18 at 11:26
















0












$begingroup$


Progress so far:



In a previous task, I determined a polynomial interpolation using a system of linear equations.



The data points to be used were $(0, f(0)), (frac{1}{6}, f(frac{1}{6})), (frac{1}{4}, f(frac{1}{4}))$



The linear equation used was of the form:



begin{pmatrix}0^2&0^1&0^0\ :frac{1}{6}^2&frac{1}{6}^1&frac{1}{6}^0\ :frac{1}{4}^2&frac{1}{4}^1&frac{1}{4}^0end{pmatrix}begin{pmatrix}a_2\ :a_1\ :a_0end{pmatrix}=begin{pmatrix}0\ frac{1}{sqrt{3}}\ 1end{pmatrix}



and the polynomial of the form



$$ p_2(x) = a_0 + a_1 x + a_2 x^2$$ was determined to have the coefficients



$a_0 = 0, a_1 = -8 + frac{18}{sqrt{3}}, a_2 = 48 - frac{72}{sqrt{3}}$



I am not aware of how I would use a system of linear equations to determine $Q(x)$. Is it perhaps possible to derive the coefficients from $p_2$? Or is there some other method of interpolation I should pursue?










share|cite|improve this question









$endgroup$












  • $begingroup$
    In my answer, I assumed that you would also use $x=frac 12$. If this is not the case, for $Q(x)$ you still have three linear equations.
    $endgroup$
    – Claude Leibovici
    Dec 3 '18 at 11:26














0












0








0





$begingroup$


Progress so far:



In a previous task, I determined a polynomial interpolation using a system of linear equations.



The data points to be used were $(0, f(0)), (frac{1}{6}, f(frac{1}{6})), (frac{1}{4}, f(frac{1}{4}))$



The linear equation used was of the form:



begin{pmatrix}0^2&0^1&0^0\ :frac{1}{6}^2&frac{1}{6}^1&frac{1}{6}^0\ :frac{1}{4}^2&frac{1}{4}^1&frac{1}{4}^0end{pmatrix}begin{pmatrix}a_2\ :a_1\ :a_0end{pmatrix}=begin{pmatrix}0\ frac{1}{sqrt{3}}\ 1end{pmatrix}



and the polynomial of the form



$$ p_2(x) = a_0 + a_1 x + a_2 x^2$$ was determined to have the coefficients



$a_0 = 0, a_1 = -8 + frac{18}{sqrt{3}}, a_2 = 48 - frac{72}{sqrt{3}}$



I am not aware of how I would use a system of linear equations to determine $Q(x)$. Is it perhaps possible to derive the coefficients from $p_2$? Or is there some other method of interpolation I should pursue?










share|cite|improve this question









$endgroup$




Progress so far:



In a previous task, I determined a polynomial interpolation using a system of linear equations.



The data points to be used were $(0, f(0)), (frac{1}{6}, f(frac{1}{6})), (frac{1}{4}, f(frac{1}{4}))$



The linear equation used was of the form:



begin{pmatrix}0^2&0^1&0^0\ :frac{1}{6}^2&frac{1}{6}^1&frac{1}{6}^0\ :frac{1}{4}^2&frac{1}{4}^1&frac{1}{4}^0end{pmatrix}begin{pmatrix}a_2\ :a_1\ :a_0end{pmatrix}=begin{pmatrix}0\ frac{1}{sqrt{3}}\ 1end{pmatrix}



and the polynomial of the form



$$ p_2(x) = a_0 + a_1 x + a_2 x^2$$ was determined to have the coefficients



$a_0 = 0, a_1 = -8 + frac{18}{sqrt{3}}, a_2 = 48 - frac{72}{sqrt{3}}$



I am not aware of how I would use a system of linear equations to determine $Q(x)$. Is it perhaps possible to derive the coefficients from $p_2$? Or is there some other method of interpolation I should pursue?







interpolation interpolation-theory






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 3 '18 at 10:38









OscarOscar

349110




349110












  • $begingroup$
    In my answer, I assumed that you would also use $x=frac 12$. If this is not the case, for $Q(x)$ you still have three linear equations.
    $endgroup$
    – Claude Leibovici
    Dec 3 '18 at 11:26


















  • $begingroup$
    In my answer, I assumed that you would also use $x=frac 12$. If this is not the case, for $Q(x)$ you still have three linear equations.
    $endgroup$
    – Claude Leibovici
    Dec 3 '18 at 11:26
















$begingroup$
In my answer, I assumed that you would also use $x=frac 12$. If this is not the case, for $Q(x)$ you still have three linear equations.
$endgroup$
– Claude Leibovici
Dec 3 '18 at 11:26




$begingroup$
In my answer, I assumed that you would also use $x=frac 12$. If this is not the case, for $Q(x)$ you still have three linear equations.
$endgroup$
– Claude Leibovici
Dec 3 '18 at 11:26










1 Answer
1






active

oldest

votes


















0












$begingroup$

Instead of working with $Q(x)$
$$Q(x) = b_0 + b_1 x + frac{b_2}{x-frac{1}{2}}$$
work with $Phi(x)$ an $Psi(x)$
$$Phi(x)=left(x-frac 12right) Q(x)=left(b_2-frac{b_0}{2}right)+x left(b_0-frac{b_1}{2}right)+b_1 x^2=alpha+beta x+gamma x^2$$



$$Psi(x)=left(x-frac 12right) F(x)=left(x-frac 12right) tan(pi x)$$ $Psi(x)$ is a very nice function for the range of interest.



Compute $alpha,beta ,gamma$ and go back to $b_0,b_1,b_2$.






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%2f3023895%2ffor-fx-tan-pi-cdot-x-find-the-interpolation-qx-b-0-b-1-x-b-2%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









    0












    $begingroup$

    Instead of working with $Q(x)$
    $$Q(x) = b_0 + b_1 x + frac{b_2}{x-frac{1}{2}}$$
    work with $Phi(x)$ an $Psi(x)$
    $$Phi(x)=left(x-frac 12right) Q(x)=left(b_2-frac{b_0}{2}right)+x left(b_0-frac{b_1}{2}right)+b_1 x^2=alpha+beta x+gamma x^2$$



    $$Psi(x)=left(x-frac 12right) F(x)=left(x-frac 12right) tan(pi x)$$ $Psi(x)$ is a very nice function for the range of interest.



    Compute $alpha,beta ,gamma$ and go back to $b_0,b_1,b_2$.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      Instead of working with $Q(x)$
      $$Q(x) = b_0 + b_1 x + frac{b_2}{x-frac{1}{2}}$$
      work with $Phi(x)$ an $Psi(x)$
      $$Phi(x)=left(x-frac 12right) Q(x)=left(b_2-frac{b_0}{2}right)+x left(b_0-frac{b_1}{2}right)+b_1 x^2=alpha+beta x+gamma x^2$$



      $$Psi(x)=left(x-frac 12right) F(x)=left(x-frac 12right) tan(pi x)$$ $Psi(x)$ is a very nice function for the range of interest.



      Compute $alpha,beta ,gamma$ and go back to $b_0,b_1,b_2$.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        Instead of working with $Q(x)$
        $$Q(x) = b_0 + b_1 x + frac{b_2}{x-frac{1}{2}}$$
        work with $Phi(x)$ an $Psi(x)$
        $$Phi(x)=left(x-frac 12right) Q(x)=left(b_2-frac{b_0}{2}right)+x left(b_0-frac{b_1}{2}right)+b_1 x^2=alpha+beta x+gamma x^2$$



        $$Psi(x)=left(x-frac 12right) F(x)=left(x-frac 12right) tan(pi x)$$ $Psi(x)$ is a very nice function for the range of interest.



        Compute $alpha,beta ,gamma$ and go back to $b_0,b_1,b_2$.






        share|cite|improve this answer









        $endgroup$



        Instead of working with $Q(x)$
        $$Q(x) = b_0 + b_1 x + frac{b_2}{x-frac{1}{2}}$$
        work with $Phi(x)$ an $Psi(x)$
        $$Phi(x)=left(x-frac 12right) Q(x)=left(b_2-frac{b_0}{2}right)+x left(b_0-frac{b_1}{2}right)+b_1 x^2=alpha+beta x+gamma x^2$$



        $$Psi(x)=left(x-frac 12right) F(x)=left(x-frac 12right) tan(pi x)$$ $Psi(x)$ is a very nice function for the range of interest.



        Compute $alpha,beta ,gamma$ and go back to $b_0,b_1,b_2$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 3 '18 at 11:12









        Claude LeiboviciClaude Leibovici

        120k1157132




        120k1157132






























            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%2f3023895%2ffor-fx-tan-pi-cdot-x-find-the-interpolation-qx-b-0-b-1-x-b-2%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

            Ellipse (mathématiques)

            Quarter-circle Tiles

            Mont Emei