Made an error solving a linear system












1












$begingroup$


Can anybody explain to me what I did wrong here?
I am working on practice problems for my linear algebra course. The problem in question is as follows:



Suppose the system below is consistent for all possible values of f and g. What can you say about the coefficients c and d? Justify your answer.



$x_1+3x_2=f$



$cx_1+dx_2=g$



My first idea was to simply solve for d and c in terms of f and g:



$x_1+3x_2=f implies frac{x_1}{f}+frac{3x_2}{f}=1$



$cx_1+dx_2=g implies frac{cx_1}{g}+frac{dx_2}{g}=1$



Then these can be set equal to each other:



$frac{x_1}{f}+frac{3x_2}{f}=frac{cx_1}{g}+frac{dx_2}{g}$



$implies frac{1}{f}=frac{c}{g}, frac{3}{f}=frac{d}{g}$



$implies frac{g}{f}=c, frac{3g}{f}=d$



$therefore d=3c$



I believed this answer would hold true, at least for nonzero values of f and g. However, row reduction on the system shows the exact opposite:



$ begin{array}{lcr}
mbox{1} & 3 & f \
mbox{c} & d & g \
end{array} $



$implies$



$ begin{array}{lcr}
mbox{1} & 3 & f \
mbox{0} & d-3c & g-fc \
end{array} $



This matrix suggests that $gneq3c$ except when f and g are zero. Can anyone tell me what is wrong with my first approach? Looking at it, I can tell that my answer is wrong (unless $g=cf$), but I don't see what is wrong with the algebra.










share|cite|improve this question









$endgroup$












  • $begingroup$
    You’ve reached the opposite of the correct conclusion with your first method: when $d=3c$, the system cannot be consistent for all $f$ and $g$. You’ve also got some potential divisions by zero that you haven’t dealt with.
    $endgroup$
    – amd
    Jan 10 at 9:11
















1












$begingroup$


Can anybody explain to me what I did wrong here?
I am working on practice problems for my linear algebra course. The problem in question is as follows:



Suppose the system below is consistent for all possible values of f and g. What can you say about the coefficients c and d? Justify your answer.



$x_1+3x_2=f$



$cx_1+dx_2=g$



My first idea was to simply solve for d and c in terms of f and g:



$x_1+3x_2=f implies frac{x_1}{f}+frac{3x_2}{f}=1$



$cx_1+dx_2=g implies frac{cx_1}{g}+frac{dx_2}{g}=1$



Then these can be set equal to each other:



$frac{x_1}{f}+frac{3x_2}{f}=frac{cx_1}{g}+frac{dx_2}{g}$



$implies frac{1}{f}=frac{c}{g}, frac{3}{f}=frac{d}{g}$



$implies frac{g}{f}=c, frac{3g}{f}=d$



$therefore d=3c$



I believed this answer would hold true, at least for nonzero values of f and g. However, row reduction on the system shows the exact opposite:



$ begin{array}{lcr}
mbox{1} & 3 & f \
mbox{c} & d & g \
end{array} $



$implies$



$ begin{array}{lcr}
mbox{1} & 3 & f \
mbox{0} & d-3c & g-fc \
end{array} $



This matrix suggests that $gneq3c$ except when f and g are zero. Can anyone tell me what is wrong with my first approach? Looking at it, I can tell that my answer is wrong (unless $g=cf$), but I don't see what is wrong with the algebra.










share|cite|improve this question









$endgroup$












  • $begingroup$
    You’ve reached the opposite of the correct conclusion with your first method: when $d=3c$, the system cannot be consistent for all $f$ and $g$. You’ve also got some potential divisions by zero that you haven’t dealt with.
    $endgroup$
    – amd
    Jan 10 at 9:11














1












1








1


1



$begingroup$


Can anybody explain to me what I did wrong here?
I am working on practice problems for my linear algebra course. The problem in question is as follows:



Suppose the system below is consistent for all possible values of f and g. What can you say about the coefficients c and d? Justify your answer.



$x_1+3x_2=f$



$cx_1+dx_2=g$



My first idea was to simply solve for d and c in terms of f and g:



$x_1+3x_2=f implies frac{x_1}{f}+frac{3x_2}{f}=1$



$cx_1+dx_2=g implies frac{cx_1}{g}+frac{dx_2}{g}=1$



Then these can be set equal to each other:



$frac{x_1}{f}+frac{3x_2}{f}=frac{cx_1}{g}+frac{dx_2}{g}$



$implies frac{1}{f}=frac{c}{g}, frac{3}{f}=frac{d}{g}$



$implies frac{g}{f}=c, frac{3g}{f}=d$



$therefore d=3c$



I believed this answer would hold true, at least for nonzero values of f and g. However, row reduction on the system shows the exact opposite:



$ begin{array}{lcr}
mbox{1} & 3 & f \
mbox{c} & d & g \
end{array} $



$implies$



$ begin{array}{lcr}
mbox{1} & 3 & f \
mbox{0} & d-3c & g-fc \
end{array} $



This matrix suggests that $gneq3c$ except when f and g are zero. Can anyone tell me what is wrong with my first approach? Looking at it, I can tell that my answer is wrong (unless $g=cf$), but I don't see what is wrong with the algebra.










share|cite|improve this question









$endgroup$




Can anybody explain to me what I did wrong here?
I am working on practice problems for my linear algebra course. The problem in question is as follows:



Suppose the system below is consistent for all possible values of f and g. What can you say about the coefficients c and d? Justify your answer.



$x_1+3x_2=f$



$cx_1+dx_2=g$



My first idea was to simply solve for d and c in terms of f and g:



$x_1+3x_2=f implies frac{x_1}{f}+frac{3x_2}{f}=1$



$cx_1+dx_2=g implies frac{cx_1}{g}+frac{dx_2}{g}=1$



Then these can be set equal to each other:



$frac{x_1}{f}+frac{3x_2}{f}=frac{cx_1}{g}+frac{dx_2}{g}$



$implies frac{1}{f}=frac{c}{g}, frac{3}{f}=frac{d}{g}$



$implies frac{g}{f}=c, frac{3g}{f}=d$



$therefore d=3c$



I believed this answer would hold true, at least for nonzero values of f and g. However, row reduction on the system shows the exact opposite:



$ begin{array}{lcr}
mbox{1} & 3 & f \
mbox{c} & d & g \
end{array} $



$implies$



$ begin{array}{lcr}
mbox{1} & 3 & f \
mbox{0} & d-3c & g-fc \
end{array} $



This matrix suggests that $gneq3c$ except when f and g are zero. Can anyone tell me what is wrong with my first approach? Looking at it, I can tell that my answer is wrong (unless $g=cf$), but I don't see what is wrong with the algebra.







linear-algebra matrices systems-of-equations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 10 at 5:58









Jamman00Jamman00

2215




2215












  • $begingroup$
    You’ve reached the opposite of the correct conclusion with your first method: when $d=3c$, the system cannot be consistent for all $f$ and $g$. You’ve also got some potential divisions by zero that you haven’t dealt with.
    $endgroup$
    – amd
    Jan 10 at 9:11


















  • $begingroup$
    You’ve reached the opposite of the correct conclusion with your first method: when $d=3c$, the system cannot be consistent for all $f$ and $g$. You’ve also got some potential divisions by zero that you haven’t dealt with.
    $endgroup$
    – amd
    Jan 10 at 9:11
















$begingroup$
You’ve reached the opposite of the correct conclusion with your first method: when $d=3c$, the system cannot be consistent for all $f$ and $g$. You’ve also got some potential divisions by zero that you haven’t dealt with.
$endgroup$
– amd
Jan 10 at 9:11




$begingroup$
You’ve reached the opposite of the correct conclusion with your first method: when $d=3c$, the system cannot be consistent for all $f$ and $g$. You’ve also got some potential divisions by zero that you haven’t dealt with.
$endgroup$
– amd
Jan 10 at 9:11










1 Answer
1






active

oldest

votes


















1












$begingroup$

You can't jump from$$frac{x_1}f+frac{3x_2}f=frac{cx_1}g+frac{dx_2}gtag1$$to$$frac1f=frac cgtext{ and }frac3f=frac dg.$$You could if the equality $(1)$ was true for every $x_1$ and every $x_2$, but you are assuming it only for some $x_1$ and some $x_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%2f3068294%2fmade-an-error-solving-a-linear-system%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









    1












    $begingroup$

    You can't jump from$$frac{x_1}f+frac{3x_2}f=frac{cx_1}g+frac{dx_2}gtag1$$to$$frac1f=frac cgtext{ and }frac3f=frac dg.$$You could if the equality $(1)$ was true for every $x_1$ and every $x_2$, but you are assuming it only for some $x_1$ and some $x_2$.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      You can't jump from$$frac{x_1}f+frac{3x_2}f=frac{cx_1}g+frac{dx_2}gtag1$$to$$frac1f=frac cgtext{ and }frac3f=frac dg.$$You could if the equality $(1)$ was true for every $x_1$ and every $x_2$, but you are assuming it only for some $x_1$ and some $x_2$.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        You can't jump from$$frac{x_1}f+frac{3x_2}f=frac{cx_1}g+frac{dx_2}gtag1$$to$$frac1f=frac cgtext{ and }frac3f=frac dg.$$You could if the equality $(1)$ was true for every $x_1$ and every $x_2$, but you are assuming it only for some $x_1$ and some $x_2$.






        share|cite|improve this answer









        $endgroup$



        You can't jump from$$frac{x_1}f+frac{3x_2}f=frac{cx_1}g+frac{dx_2}gtag1$$to$$frac1f=frac cgtext{ and }frac3f=frac dg.$$You could if the equality $(1)$ was true for every $x_1$ and every $x_2$, but you are assuming it only for some $x_1$ and some $x_2$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 10 at 6:20









        José Carlos SantosJosé Carlos Santos

        155k22124227




        155k22124227






























            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%2f3068294%2fmade-an-error-solving-a-linear-system%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

            Mario Kart Wii

            The Binding of Isaac: Rebirth/Afterbirth

            What does “Dominus providebit” mean?