Determinant of 3x3 matrix by cofactor expansionLyX: Configure a command for 3x3 determinantHow to create...
Why is it that Bernie Sanders always called a "socialist"?
Coworker asking me to not bring cakes due to self control issue. What should I do?
Crack the bank account's password!
Does しかたない imply disappointment?
How to deal with an underperforming colleague?
Is it possible to detect 100% of SQLi with a simple regex?
Boss asked me to sign a resignation paper without a date on it along with my new contract
70s or 80s B-movie about aliens in a family's television, fry the house cat and trap the son inside the TV
What is an explicit bijection in combinatorics?
Disk space full during insert, what happens?
What happens if both players misunderstand the game state until it's too late?
What does "don't have a baby" imply or mean in this sentence?
Why don't you get burned by the wood benches in a sauna?
Can I do anything else with aspersions other than cast them?
Why write a book when there's a movie in my head?
Taking an academic pseudonym?
Isn't a semicolon (';') needed after a function declaration in C++?
Sets which are both Sum-free and Product-free.
How to Build a List from Separate Lists
Are there any rules for handling distractions whilst performing skill checks?
Checking if an integer permutation is cyclic in Java
Are all power cords made equal?
Resorting data from a multidimensional list
Why do single electrical receptacles exist?
Determinant of 3x3 matrix by cofactor expansion
LyX: Configure a command for 3x3 determinantHow to create asymetric matrixUnderbracing matrixHelp me with this matrixDeterminant solution for matrixHow to draw complex matrix?Big matrix in two partsHow to create the following diagonal matrix in Latex?How to draw a circle in a matrix like this?TikZ matrix is skewed
please help me to create this in LaTeX:

matrices tikz-matrix
New contributor
Said is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
please help me to create this in LaTeX:

matrices tikz-matrix
New contributor
Said is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
please help me to create this in LaTeX:

matrices tikz-matrix
New contributor
Said is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
please help me to create this in LaTeX:

matrices tikz-matrix
matrices tikz-matrix
New contributor
Said is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Said is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 4 hours ago
Phelype Oleinik
23.5k54586
23.5k54586
New contributor
Said is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 5 hours ago
SaidSaid
161
161
New contributor
Said is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Said is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Said is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
documentclass{article}
usepackage{tikz}
usetikzlibrary{fit}
newcommand{tikzmark}[2]{tikz[overlay,remember picture,baseline=(#1.base)] node (#1) {#2};}
begin{document}
[
left[begin{array}{*3{c}}
tikzmark{left_end}{0} & 2 & tikzmark{right_end}{1}\
3 & -1 & 2 \
tikzmark{down_left}{4} & 0 & tikzmark{down}{1}
end{array}right]
]
tikz[overlay,remember picture] {
draw[red,thick,dashed] (left_end) circle (0.2cm);
draw[-,red,thick] (left_end) -- ++ (1.7,0) (right_end);
draw[-,red,thick] (left_end) -- ++ (0,-1.) (down_left);
}
end{document}

Thanks alot Sina Ahmadi.
– Said
3 hours ago
@Said Please mark it as an answer to close your question.
– Sina Ahmadi
3 hours ago
I posted some extended comments below. If you address them in your answer, I will be happy to remove them.
– marmot
1 hour ago
Thanks @marmot. Interesting comments and smoother solution.
– Sina Ahmadi
1 hour ago
You can really take them over, I do not want to post an answer here. I just want to avoid thattikzmarkgets redefined.
– marmot
1 hour ago
add a comment |
This is more an extended comment on the answer by Sina Ahmadi. I will be happy to remove this if in that answer a few things get changed.
tikzmarkis a phantastic command that is part of thetikzmarklibrary. I would like to argue that creating a new command with this name is not a good practice.- The nodes
right_endanddown_leftare not used. The lines are drawn as determined by the two hard-coded distances- ++ (1.7,0)and- ++ (0,-1.).
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
[begin{bmatrix}
tikzmarknode[circle,draw=red,inner sep=0.5pt,densely dashed]{A11}{0} & 2 & tikzmarknode{A13}{1}\
3 & -1 & 2 \
tikzmarknode{A31}{4} & 0 & 1
end{bmatrix}
]
begin{tikzpicture}[overlay,remember picture]
draw[red] (A11.east) -- (A11.east-|A13.east)
(A11.south) -- (A11.south|-A31.south);
end{tikzpicture}
end{document}

add a comment |
A simple code with pstricks and mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
begin{document}
begin{postscript}
psset{{linecolor=DeepPink}, framesep=2pt, nodesepB=-8pt}
[ begin{bmatrix}
mathclap{circlenode[linestyle=dashed, dash=3.5pt 2.5pt]{A}{0}} & 2 & rnode{C}{1} \
3 & -1 & 2 \
rnode{B}{ 4} & 0 & 1
end{bmatrix} ]
ncline{A}{B}
ncline{A}{C}
end{postscript}
end{document}

Thanks alot Bernard.
– Said
3 hours ago
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/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
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Said is a new contributor. Be nice, and check out our Code of Conduct.
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%2f476156%2fdeterminant-of-3x3-matrix-by-cofactor-expansion%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
documentclass{article}
usepackage{tikz}
usetikzlibrary{fit}
newcommand{tikzmark}[2]{tikz[overlay,remember picture,baseline=(#1.base)] node (#1) {#2};}
begin{document}
[
left[begin{array}{*3{c}}
tikzmark{left_end}{0} & 2 & tikzmark{right_end}{1}\
3 & -1 & 2 \
tikzmark{down_left}{4} & 0 & tikzmark{down}{1}
end{array}right]
]
tikz[overlay,remember picture] {
draw[red,thick,dashed] (left_end) circle (0.2cm);
draw[-,red,thick] (left_end) -- ++ (1.7,0) (right_end);
draw[-,red,thick] (left_end) -- ++ (0,-1.) (down_left);
}
end{document}

Thanks alot Sina Ahmadi.
– Said
3 hours ago
@Said Please mark it as an answer to close your question.
– Sina Ahmadi
3 hours ago
I posted some extended comments below. If you address them in your answer, I will be happy to remove them.
– marmot
1 hour ago
Thanks @marmot. Interesting comments and smoother solution.
– Sina Ahmadi
1 hour ago
You can really take them over, I do not want to post an answer here. I just want to avoid thattikzmarkgets redefined.
– marmot
1 hour ago
add a comment |
documentclass{article}
usepackage{tikz}
usetikzlibrary{fit}
newcommand{tikzmark}[2]{tikz[overlay,remember picture,baseline=(#1.base)] node (#1) {#2};}
begin{document}
[
left[begin{array}{*3{c}}
tikzmark{left_end}{0} & 2 & tikzmark{right_end}{1}\
3 & -1 & 2 \
tikzmark{down_left}{4} & 0 & tikzmark{down}{1}
end{array}right]
]
tikz[overlay,remember picture] {
draw[red,thick,dashed] (left_end) circle (0.2cm);
draw[-,red,thick] (left_end) -- ++ (1.7,0) (right_end);
draw[-,red,thick] (left_end) -- ++ (0,-1.) (down_left);
}
end{document}

Thanks alot Sina Ahmadi.
– Said
3 hours ago
@Said Please mark it as an answer to close your question.
– Sina Ahmadi
3 hours ago
I posted some extended comments below. If you address them in your answer, I will be happy to remove them.
– marmot
1 hour ago
Thanks @marmot. Interesting comments and smoother solution.
– Sina Ahmadi
1 hour ago
You can really take them over, I do not want to post an answer here. I just want to avoid thattikzmarkgets redefined.
– marmot
1 hour ago
add a comment |
documentclass{article}
usepackage{tikz}
usetikzlibrary{fit}
newcommand{tikzmark}[2]{tikz[overlay,remember picture,baseline=(#1.base)] node (#1) {#2};}
begin{document}
[
left[begin{array}{*3{c}}
tikzmark{left_end}{0} & 2 & tikzmark{right_end}{1}\
3 & -1 & 2 \
tikzmark{down_left}{4} & 0 & tikzmark{down}{1}
end{array}right]
]
tikz[overlay,remember picture] {
draw[red,thick,dashed] (left_end) circle (0.2cm);
draw[-,red,thick] (left_end) -- ++ (1.7,0) (right_end);
draw[-,red,thick] (left_end) -- ++ (0,-1.) (down_left);
}
end{document}

documentclass{article}
usepackage{tikz}
usetikzlibrary{fit}
newcommand{tikzmark}[2]{tikz[overlay,remember picture,baseline=(#1.base)] node (#1) {#2};}
begin{document}
[
left[begin{array}{*3{c}}
tikzmark{left_end}{0} & 2 & tikzmark{right_end}{1}\
3 & -1 & 2 \
tikzmark{down_left}{4} & 0 & tikzmark{down}{1}
end{array}right]
]
tikz[overlay,remember picture] {
draw[red,thick,dashed] (left_end) circle (0.2cm);
draw[-,red,thick] (left_end) -- ++ (1.7,0) (right_end);
draw[-,red,thick] (left_end) -- ++ (0,-1.) (down_left);
}
end{document}

answered 4 hours ago
Sina AhmadiSina Ahmadi
68538
68538
Thanks alot Sina Ahmadi.
– Said
3 hours ago
@Said Please mark it as an answer to close your question.
– Sina Ahmadi
3 hours ago
I posted some extended comments below. If you address them in your answer, I will be happy to remove them.
– marmot
1 hour ago
Thanks @marmot. Interesting comments and smoother solution.
– Sina Ahmadi
1 hour ago
You can really take them over, I do not want to post an answer here. I just want to avoid thattikzmarkgets redefined.
– marmot
1 hour ago
add a comment |
Thanks alot Sina Ahmadi.
– Said
3 hours ago
@Said Please mark it as an answer to close your question.
– Sina Ahmadi
3 hours ago
I posted some extended comments below. If you address them in your answer, I will be happy to remove them.
– marmot
1 hour ago
Thanks @marmot. Interesting comments and smoother solution.
– Sina Ahmadi
1 hour ago
You can really take them over, I do not want to post an answer here. I just want to avoid thattikzmarkgets redefined.
– marmot
1 hour ago
Thanks alot Sina Ahmadi.
– Said
3 hours ago
Thanks alot Sina Ahmadi.
– Said
3 hours ago
@Said Please mark it as an answer to close your question.
– Sina Ahmadi
3 hours ago
@Said Please mark it as an answer to close your question.
– Sina Ahmadi
3 hours ago
I posted some extended comments below. If you address them in your answer, I will be happy to remove them.
– marmot
1 hour ago
I posted some extended comments below. If you address them in your answer, I will be happy to remove them.
– marmot
1 hour ago
Thanks @marmot. Interesting comments and smoother solution.
– Sina Ahmadi
1 hour ago
Thanks @marmot. Interesting comments and smoother solution.
– Sina Ahmadi
1 hour ago
You can really take them over, I do not want to post an answer here. I just want to avoid that
tikzmark gets redefined.– marmot
1 hour ago
You can really take them over, I do not want to post an answer here. I just want to avoid that
tikzmark gets redefined.– marmot
1 hour ago
add a comment |
This is more an extended comment on the answer by Sina Ahmadi. I will be happy to remove this if in that answer a few things get changed.
tikzmarkis a phantastic command that is part of thetikzmarklibrary. I would like to argue that creating a new command with this name is not a good practice.- The nodes
right_endanddown_leftare not used. The lines are drawn as determined by the two hard-coded distances- ++ (1.7,0)and- ++ (0,-1.).
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
[begin{bmatrix}
tikzmarknode[circle,draw=red,inner sep=0.5pt,densely dashed]{A11}{0} & 2 & tikzmarknode{A13}{1}\
3 & -1 & 2 \
tikzmarknode{A31}{4} & 0 & 1
end{bmatrix}
]
begin{tikzpicture}[overlay,remember picture]
draw[red] (A11.east) -- (A11.east-|A13.east)
(A11.south) -- (A11.south|-A31.south);
end{tikzpicture}
end{document}

add a comment |
This is more an extended comment on the answer by Sina Ahmadi. I will be happy to remove this if in that answer a few things get changed.
tikzmarkis a phantastic command that is part of thetikzmarklibrary. I would like to argue that creating a new command with this name is not a good practice.- The nodes
right_endanddown_leftare not used. The lines are drawn as determined by the two hard-coded distances- ++ (1.7,0)and- ++ (0,-1.).
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
[begin{bmatrix}
tikzmarknode[circle,draw=red,inner sep=0.5pt,densely dashed]{A11}{0} & 2 & tikzmarknode{A13}{1}\
3 & -1 & 2 \
tikzmarknode{A31}{4} & 0 & 1
end{bmatrix}
]
begin{tikzpicture}[overlay,remember picture]
draw[red] (A11.east) -- (A11.east-|A13.east)
(A11.south) -- (A11.south|-A31.south);
end{tikzpicture}
end{document}

add a comment |
This is more an extended comment on the answer by Sina Ahmadi. I will be happy to remove this if in that answer a few things get changed.
tikzmarkis a phantastic command that is part of thetikzmarklibrary. I would like to argue that creating a new command with this name is not a good practice.- The nodes
right_endanddown_leftare not used. The lines are drawn as determined by the two hard-coded distances- ++ (1.7,0)and- ++ (0,-1.).
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
[begin{bmatrix}
tikzmarknode[circle,draw=red,inner sep=0.5pt,densely dashed]{A11}{0} & 2 & tikzmarknode{A13}{1}\
3 & -1 & 2 \
tikzmarknode{A31}{4} & 0 & 1
end{bmatrix}
]
begin{tikzpicture}[overlay,remember picture]
draw[red] (A11.east) -- (A11.east-|A13.east)
(A11.south) -- (A11.south|-A31.south);
end{tikzpicture}
end{document}

This is more an extended comment on the answer by Sina Ahmadi. I will be happy to remove this if in that answer a few things get changed.
tikzmarkis a phantastic command that is part of thetikzmarklibrary. I would like to argue that creating a new command with this name is not a good practice.- The nodes
right_endanddown_leftare not used. The lines are drawn as determined by the two hard-coded distances- ++ (1.7,0)and- ++ (0,-1.).
documentclass{article}
usepackage{amsmath}
usepackage{tikz}
usetikzlibrary{tikzmark}
begin{document}
[begin{bmatrix}
tikzmarknode[circle,draw=red,inner sep=0.5pt,densely dashed]{A11}{0} & 2 & tikzmarknode{A13}{1}\
3 & -1 & 2 \
tikzmarknode{A31}{4} & 0 & 1
end{bmatrix}
]
begin{tikzpicture}[overlay,remember picture]
draw[red] (A11.east) -- (A11.east-|A13.east)
(A11.south) -- (A11.south|-A31.south);
end{tikzpicture}
end{document}

answered 1 hour ago
marmotmarmot
102k4121231
102k4121231
add a comment |
add a comment |
A simple code with pstricks and mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
begin{document}
begin{postscript}
psset{{linecolor=DeepPink}, framesep=2pt, nodesepB=-8pt}
[ begin{bmatrix}
mathclap{circlenode[linestyle=dashed, dash=3.5pt 2.5pt]{A}{0}} & 2 & rnode{C}{1} \
3 & -1 & 2 \
rnode{B}{ 4} & 0 & 1
end{bmatrix} ]
ncline{A}{B}
ncline{A}{C}
end{postscript}
end{document}

Thanks alot Bernard.
– Said
3 hours ago
add a comment |
A simple code with pstricks and mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
begin{document}
begin{postscript}
psset{{linecolor=DeepPink}, framesep=2pt, nodesepB=-8pt}
[ begin{bmatrix}
mathclap{circlenode[linestyle=dashed, dash=3.5pt 2.5pt]{A}{0}} & 2 & rnode{C}{1} \
3 & -1 & 2 \
rnode{B}{ 4} & 0 & 1
end{bmatrix} ]
ncline{A}{B}
ncline{A}{C}
end{postscript}
end{document}

Thanks alot Bernard.
– Said
3 hours ago
add a comment |
A simple code with pstricks and mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
begin{document}
begin{postscript}
psset{{linecolor=DeepPink}, framesep=2pt, nodesepB=-8pt}
[ begin{bmatrix}
mathclap{circlenode[linestyle=dashed, dash=3.5pt 2.5pt]{A}{0}} & 2 & rnode{C}{1} \
3 & -1 & 2 \
rnode{B}{ 4} & 0 & 1
end{bmatrix} ]
ncline{A}{B}
ncline{A}{C}
end{postscript}
end{document}

A simple code with pstricks and mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
begin{document}
begin{postscript}
psset{{linecolor=DeepPink}, framesep=2pt, nodesepB=-8pt}
[ begin{bmatrix}
mathclap{circlenode[linestyle=dashed, dash=3.5pt 2.5pt]{A}{0}} & 2 & rnode{C}{1} \
3 & -1 & 2 \
rnode{B}{ 4} & 0 & 1
end{bmatrix} ]
ncline{A}{B}
ncline{A}{C}
end{postscript}
end{document}

answered 4 hours ago
BernardBernard
171k775202
171k775202
Thanks alot Bernard.
– Said
3 hours ago
add a comment |
Thanks alot Bernard.
– Said
3 hours ago
Thanks alot Bernard.
– Said
3 hours ago
Thanks alot Bernard.
– Said
3 hours ago
add a comment |
Said is a new contributor. Be nice, and check out our Code of Conduct.
Said is a new contributor. Be nice, and check out our Code of Conduct.
Said is a new contributor. Be nice, and check out our Code of Conduct.
Said is a new contributor. Be nice, and check out our Code of Conduct.
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%2f476156%2fdeterminant-of-3x3-matrix-by-cofactor-expansion%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