'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;
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
symbols matrices
add a comment
|
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
symbols matrices
add a comment
|
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
symbols matrices
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
symbols matrices
symbols matrices
asked Mar 28 at 11:50
CXBCXB
654 bronze badges
654 bronze badges
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
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
@egreg I sure did, though I can't say that I am enamored of the spacing.
– Steven B. Segletes
Mar 28 at 12:26
add a comment
|
Use mathtools
:
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1
newcommandactivatebar="8000
newcommandactivebarnonscript;delimsizevertnonscript;mathopen
begindocument
[
Setn>0
Set[big]n>0
Set*n
]
enddocument
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
Very nice indeed!
– Steven B. Segletes
Mar 28 at 12:22
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
@egreg I sure did, though I can't say that I am enamored of the spacing.
– Steven B. Segletes
Mar 28 at 12:26
add a comment
|
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
@egreg I sure did, though I can't say that I am enamored of the spacing.
– Steven B. Segletes
Mar 28 at 12:26
add a comment
|
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
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
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
add a comment
|
@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
add a comment
|
Use mathtools
:
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1
newcommandactivatebar="8000
newcommandactivebarnonscript;delimsizevertnonscript;mathopen
begindocument
[
Setn>0
Set[big]n>0
Set*n
]
enddocument
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
Very nice indeed!
– Steven B. Segletes
Mar 28 at 12:22
add a comment
|
Use mathtools
:
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1
newcommandactivatebar="8000
newcommandactivebarnonscript;delimsizevertnonscript;mathopen
begindocument
[
Setn>0
Set[big]n>0
Set*n
]
enddocument
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
Very nice indeed!
– Steven B. Segletes
Mar 28 at 12:22
add a comment
|
Use mathtools
:
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1
newcommandactivatebar="8000
newcommandactivebarnonscript;delimsizevertnonscript;mathopen
begindocument
[
Setn>0
Set[big]n>0
Set*n
]
enddocument
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
Use mathtools
:
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterXSet[1]lbracerbraceactivatebar #1
newcommandactivatebar="8000
newcommandactivebarnonscript;delimsizevertnonscript;mathopen
begindocument
[
Setn>0
Set[big]n>0
Set*n
]
enddocument
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
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
add a comment
|
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
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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