'Given that' in a matrixDrawing a large binary matrix as colored grid in TikZMatrix in LatexMultiple line matrix equationsTrouble in alignment of matrix in subquestionsCreating a multiline equationDivider lines of matrixMatrix with lines and labels with arrowsSplit long expression inside bmatrix environmentForcing matrix equation to fit inside the marginsCreating a block matrix

Test to know when to use GLM over Linear Regression?

What did the first ever Hunger Games look like?

Other than good shoes and a stick, what are some ways to preserve your knees on long hikes?

How does doing something together work?

Is there a tool to measure the "maturity" of a code in Git?

Wrong Schengen Visa exit stamp on my passport, who can I complain to?

What is the origin of the "being immortal sucks" trope?

Why does '/' contain '..'?

Hobby function generators

Very lazy puppy

Exam design: give maximum score per question or not?

Did slaves have slaves?

Output Distinct Factor Cuboids

What does this Blight Tower UI mean?

Why is the return value of the fun function 8 instead of 7?

How would you control supersoldiers in a late iron-age society?

What does the Free Recovery sign (UK) actually mean?

Floating Point XOR

What is a "major country" as named in Bernie Sanders' Healthcare debate answers?

Who are the people reviewing far more papers than they're submitting for review?

How do we know that black holes are spinning?

Python web-scraper to download table of transistor counts from Wikipedia

Asked to Not Use Transactions and to Use A Workaround to Simulate One

How to draw a Venn diagram for X - (Y intersect Z)?



'Given that' in a matrix


Drawing a large binary matrix as colored grid in TikZMatrix in LatexMultiple line matrix equationsTrouble in alignment of matrix in subquestionsCreating a multiline equationDivider lines of matrixMatrix with lines and labels with arrowsSplit long expression inside bmatrix environmentForcing matrix equation to fit inside the marginsCreating a block matrix






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








6















I am trying to create the following equation where I have n given that y where y must be split among two lines. This is the code I have so far (which will give me the big braces).



left 
beginmatrix
...
endmatrix
right


Any idea how I can fill the matrix to obtain the following please? Thanks



enter image description here










share|improve this question






























    6















    I am trying to create the following equation where I have n given that y where y must be split among two lines. This is the code I have so far (which will give me the big braces).



    left 
    beginmatrix
    ...
    endmatrix
    right


    Any idea how I can fill the matrix to obtain the following please? Thanks



    enter image description here










    share|improve this question


























      6












      6








      6


      1






      I am trying to create the following equation where I have n given that y where y must be split among two lines. This is the code I have so far (which will give me the big braces).



      left 
      beginmatrix
      ...
      endmatrix
      right


      Any idea how I can fill the matrix to obtain the following please? Thanks



      enter image description here










      share|improve this question














      I am trying to create the following equation where I have n given that y where y must be split among two lines. This is the code I have so far (which will give me the big braces).



      left 
      beginmatrix
      ...
      endmatrix
      right


      Any idea how I can fill the matrix to obtain the following please? Thanks



      enter image description here







      symbols matrices






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 11:50









      CXBCXB

      654 bronze badges




      654 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          7
















          Not sure what you have in mind for the dots. Here, I show it with either a matrix or an aligned block.



          Thanks to egreg for the middle reminder.



          documentclassarticle 
          usepackageamsmath
          begindocument
          [
          left beginmatrix2x & y\3x & 2yendmatrixright
          ]
          [
          left n,middle
          ]
          enddocument


          enter image description here






          share|improve this answer



























          • @egreg I sure did, though I can't say that I am enamored of the spacing.

            – Steven B. Segletes
            Mar 28 at 12:26


















          9
















          Use mathtools:



          documentclassarticle
          usepackagemathtools

          DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1

          newcommandactivatebar="8000

          newcommandactivebarnonscript;delimsizevertnonscript;mathopen

          begindocument

          [
          Setn>0
          Set[big]n>0
          Set*n
          ]

          enddocument


          enter image description here



          Important note: don't use | for other purposes in the argument of Set; it shouldn't be used anyway, preferring lvert and rvert for the absolute value. Or, of course, with macros based on mathtools, such as



          DeclarePairedDelimiterabslvertrvert





          share|improve this answer



























          • Very nice indeed!

            – Steven B. Segletes
            Mar 28 at 12:22













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "85"
          ;
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481884%2fgiven-that-in-a-matrix%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          7
















          Not sure what you have in mind for the dots. Here, I show it with either a matrix or an aligned block.



          Thanks to egreg for the middle reminder.



          documentclassarticle 
          usepackageamsmath
          begindocument
          [
          left beginmatrix2x & y\3x & 2yendmatrixright
          ]
          [
          left n,middle
          ]
          enddocument


          enter image description here






          share|improve this answer



























          • @egreg I sure did, though I can't say that I am enamored of the spacing.

            – Steven B. Segletes
            Mar 28 at 12:26















          7
















          Not sure what you have in mind for the dots. Here, I show it with either a matrix or an aligned block.



          Thanks to egreg for the middle reminder.



          documentclassarticle 
          usepackageamsmath
          begindocument
          [
          left beginmatrix2x & y\3x & 2yendmatrixright
          ]
          [
          left n,middle
          ]
          enddocument


          enter image description here






          share|improve this answer



























          • @egreg I sure did, though I can't say that I am enamored of the spacing.

            – Steven B. Segletes
            Mar 28 at 12:26













          7














          7










          7









          Not sure what you have in mind for the dots. Here, I show it with either a matrix or an aligned block.



          Thanks to egreg for the middle reminder.



          documentclassarticle 
          usepackageamsmath
          begindocument
          [
          left beginmatrix2x & y\3x & 2yendmatrixright
          ]
          [
          left n,middle
          ]
          enddocument


          enter image description here






          share|improve this answer















          Not sure what you have in mind for the dots. Here, I show it with either a matrix or an aligned block.



          Thanks to egreg for the middle reminder.



          documentclassarticle 
          usepackageamsmath
          begindocument
          [
          left beginmatrix2x & y\3x & 2yendmatrixright
          ]
          [
          left n,middle
          ]
          enddocument


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 28 at 12:31

























          answered Mar 28 at 11:53









          Steven B. SegletesSteven B. Segletes

          170k9 gold badges216 silver badges443 bronze badges




          170k9 gold badges216 silver badges443 bronze badges















          • @egreg I sure did, though I can't say that I am enamored of the spacing.

            – Steven B. Segletes
            Mar 28 at 12:26

















          • @egreg I sure did, though I can't say that I am enamored of the spacing.

            – Steven B. Segletes
            Mar 28 at 12:26
















          @egreg I sure did, though I can't say that I am enamored of the spacing.

          – Steven B. Segletes
          Mar 28 at 12:26





          @egreg I sure did, though I can't say that I am enamored of the spacing.

          – Steven B. Segletes
          Mar 28 at 12:26













          9
















          Use mathtools:



          documentclassarticle
          usepackagemathtools

          DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1

          newcommandactivatebar="8000

          newcommandactivebarnonscript;delimsizevertnonscript;mathopen

          begindocument

          [
          Setn>0
          Set[big]n>0
          Set*n
          ]

          enddocument


          enter image description here



          Important note: don't use | for other purposes in the argument of Set; it shouldn't be used anyway, preferring lvert and rvert for the absolute value. Or, of course, with macros based on mathtools, such as



          DeclarePairedDelimiterabslvertrvert





          share|improve this answer



























          • Very nice indeed!

            – Steven B. Segletes
            Mar 28 at 12:22















          9
















          Use mathtools:



          documentclassarticle
          usepackagemathtools

          DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1

          newcommandactivatebar="8000

          newcommandactivebarnonscript;delimsizevertnonscript;mathopen

          begindocument

          [
          Setn>0
          Set[big]n>0
          Set*n
          ]

          enddocument


          enter image description here



          Important note: don't use | for other purposes in the argument of Set; it shouldn't be used anyway, preferring lvert and rvert for the absolute value. Or, of course, with macros based on mathtools, such as



          DeclarePairedDelimiterabslvertrvert





          share|improve this answer



























          • Very nice indeed!

            – Steven B. Segletes
            Mar 28 at 12:22













          9














          9










          9









          Use mathtools:



          documentclassarticle
          usepackagemathtools

          DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1

          newcommandactivatebar="8000

          newcommandactivebarnonscript;delimsizevertnonscript;mathopen

          begindocument

          [
          Setn>0
          Set[big]n>0
          Set*n
          ]

          enddocument


          enter image description here



          Important note: don't use | for other purposes in the argument of Set; it shouldn't be used anyway, preferring lvert and rvert for the absolute value. Or, of course, with macros based on mathtools, such as



          DeclarePairedDelimiterabslvertrvert





          share|improve this answer















          Use mathtools:



          documentclassarticle
          usepackagemathtools

          DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1

          newcommandactivatebar="8000

          newcommandactivebarnonscript;delimsizevertnonscript;mathopen

          begindocument

          [
          Setn>0
          Set[big]n>0
          Set*n
          ]

          enddocument


          enter image description here



          Important note: don't use | for other purposes in the argument of Set; it shouldn't be used anyway, preferring lvert and rvert for the absolute value. Or, of course, with macros based on mathtools, such as



          DeclarePairedDelimiterabslvertrvert






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 28 at 12:28

























          answered Mar 28 at 12:14









          egregegreg

          769k91 gold badges2007 silver badges3363 bronze badges




          769k91 gold badges2007 silver badges3363 bronze badges















          • Very nice indeed!

            – Steven B. Segletes
            Mar 28 at 12:22

















          • Very nice indeed!

            – Steven B. Segletes
            Mar 28 at 12:22
















          Very nice indeed!

          – Steven B. Segletes
          Mar 28 at 12:22





          Very nice indeed!

          – Steven B. Segletes
          Mar 28 at 12:22


















          draft saved

          draft discarded















































          Thanks for contributing an answer to TeX - LaTeX 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.

          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%2ftex.stackexchange.com%2fquestions%2f481884%2fgiven-that-in-a-matrix%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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript