How to show that the ith row $AB$ is the matrix product of the ith row of $A$ with the entire matrix $B$?
$begingroup$
Consider two matrices $A$ and $B$ of dimensions such that the product $AB$
exists. Show that the ith row of $AB$ is the matrix product of the ith row of
$A$ with the entire matrix $B$.
I am trying to use this definition $AB = sum_{l=1}^{n} A_{il} B_{lk} = .$
Unfortunately I am stuck and need some help to proceed further.
linear-algebra matrices
$endgroup$
add a comment |
$begingroup$
Consider two matrices $A$ and $B$ of dimensions such that the product $AB$
exists. Show that the ith row of $AB$ is the matrix product of the ith row of
$A$ with the entire matrix $B$.
I am trying to use this definition $AB = sum_{l=1}^{n} A_{il} B_{lk} = .$
Unfortunately I am stuck and need some help to proceed further.
linear-algebra matrices
$endgroup$
1
$begingroup$
$i$th row and $k$th column of $AB$ is $sum_{l=1}^nA_{il}B_{lk}$ as you rightly said. Varying over $k$ just gives the whole row of $AB$ and we see that every entry of $B$ is used, while only the $i$th row of $A$ is used.
$endgroup$
– Alec B-G
Jan 24 at 12:48
1
$begingroup$
Maybe it helps to define a new row vector $a$ where $a_l = A_{i,l}$. That is, $a$ is the $i$-th row of $A$. Now write the product $aB$ and compare it to the $i$-th row of $AB$.
$endgroup$
– tch
Jan 24 at 15:22
add a comment |
$begingroup$
Consider two matrices $A$ and $B$ of dimensions such that the product $AB$
exists. Show that the ith row of $AB$ is the matrix product of the ith row of
$A$ with the entire matrix $B$.
I am trying to use this definition $AB = sum_{l=1}^{n} A_{il} B_{lk} = .$
Unfortunately I am stuck and need some help to proceed further.
linear-algebra matrices
$endgroup$
Consider two matrices $A$ and $B$ of dimensions such that the product $AB$
exists. Show that the ith row of $AB$ is the matrix product of the ith row of
$A$ with the entire matrix $B$.
I am trying to use this definition $AB = sum_{l=1}^{n} A_{il} B_{lk} = .$
Unfortunately I am stuck and need some help to proceed further.
linear-algebra matrices
linear-algebra matrices
edited Jan 24 at 18:44
OGC
asked Jan 24 at 7:50
OGCOGC
1,43821229
1,43821229
1
$begingroup$
$i$th row and $k$th column of $AB$ is $sum_{l=1}^nA_{il}B_{lk}$ as you rightly said. Varying over $k$ just gives the whole row of $AB$ and we see that every entry of $B$ is used, while only the $i$th row of $A$ is used.
$endgroup$
– Alec B-G
Jan 24 at 12:48
1
$begingroup$
Maybe it helps to define a new row vector $a$ where $a_l = A_{i,l}$. That is, $a$ is the $i$-th row of $A$. Now write the product $aB$ and compare it to the $i$-th row of $AB$.
$endgroup$
– tch
Jan 24 at 15:22
add a comment |
1
$begingroup$
$i$th row and $k$th column of $AB$ is $sum_{l=1}^nA_{il}B_{lk}$ as you rightly said. Varying over $k$ just gives the whole row of $AB$ and we see that every entry of $B$ is used, while only the $i$th row of $A$ is used.
$endgroup$
– Alec B-G
Jan 24 at 12:48
1
$begingroup$
Maybe it helps to define a new row vector $a$ where $a_l = A_{i,l}$. That is, $a$ is the $i$-th row of $A$. Now write the product $aB$ and compare it to the $i$-th row of $AB$.
$endgroup$
– tch
Jan 24 at 15:22
1
1
$begingroup$
$i$th row and $k$th column of $AB$ is $sum_{l=1}^nA_{il}B_{lk}$ as you rightly said. Varying over $k$ just gives the whole row of $AB$ and we see that every entry of $B$ is used, while only the $i$th row of $A$ is used.
$endgroup$
– Alec B-G
Jan 24 at 12:48
$begingroup$
$i$th row and $k$th column of $AB$ is $sum_{l=1}^nA_{il}B_{lk}$ as you rightly said. Varying over $k$ just gives the whole row of $AB$ and we see that every entry of $B$ is used, while only the $i$th row of $A$ is used.
$endgroup$
– Alec B-G
Jan 24 at 12:48
1
1
$begingroup$
Maybe it helps to define a new row vector $a$ where $a_l = A_{i,l}$. That is, $a$ is the $i$-th row of $A$. Now write the product $aB$ and compare it to the $i$-th row of $AB$.
$endgroup$
– tch
Jan 24 at 15:22
$begingroup$
Maybe it helps to define a new row vector $a$ where $a_l = A_{i,l}$. That is, $a$ is the $i$-th row of $A$. Now write the product $aB$ and compare it to the $i$-th row of $AB$.
$endgroup$
– tch
Jan 24 at 15:22
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
For a matrix $M$, define $M_{ij}$ to be its $(i,j)^{th}$ entry, and $M_i$ to be its $i^{th}$ row.
What you want to show is
$$(AB)_i = A_iB$$
And by definition of the regular matrix multiplication,
$$(AB)_{ij} = sum A_{iell}B_{ell j} tag 1$$
$$(A_iB)_{1j} = sum (A_i)_{1ell}B_{ell j} tag 2$$
Since $A_iB$ has only one row, you'll just have to show that $(1)$ and $(2)$ are equal for each $j$.
$endgroup$
$begingroup$
@I don't understand one thing. In (2), why does $A_{i}B$ has only one row?
$endgroup$
– OGC
Jan 25 at 21:23
$begingroup$
So for a matrix $M$ with $m$ rows and $p$ columns and a matrix $N$ with $p$ rows and $n$ columns, their product $MN$ is defined and has $m$ rows and $n$ columns. Or, more briefly, if $M in mathbb{R}^{m times p}$ and $N in mathbb{R}^{p times n}$, we have $MN in mathbb{R}^{m times n}$.
$endgroup$
– Metric
Jan 26 at 0:43
1
$begingroup$
Since $A_i in mathbb{R}^{1 times p}$ and $B in mathbb{R}^{p times n}$ for some $p$ and $n$, we have $A_iB in mathbb{R}^{1 times n}$, so $A_iB$ has one row.
$endgroup$
– Metric
Jan 26 at 0:45
add a comment |
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
});
}
});
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%2fmath.stackexchange.com%2fquestions%2f3085582%2fhow-to-show-that-the-ith-row-ab-is-the-matrix-product-of-the-ith-row-of-a-wi%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
$begingroup$
For a matrix $M$, define $M_{ij}$ to be its $(i,j)^{th}$ entry, and $M_i$ to be its $i^{th}$ row.
What you want to show is
$$(AB)_i = A_iB$$
And by definition of the regular matrix multiplication,
$$(AB)_{ij} = sum A_{iell}B_{ell j} tag 1$$
$$(A_iB)_{1j} = sum (A_i)_{1ell}B_{ell j} tag 2$$
Since $A_iB$ has only one row, you'll just have to show that $(1)$ and $(2)$ are equal for each $j$.
$endgroup$
$begingroup$
@I don't understand one thing. In (2), why does $A_{i}B$ has only one row?
$endgroup$
– OGC
Jan 25 at 21:23
$begingroup$
So for a matrix $M$ with $m$ rows and $p$ columns and a matrix $N$ with $p$ rows and $n$ columns, their product $MN$ is defined and has $m$ rows and $n$ columns. Or, more briefly, if $M in mathbb{R}^{m times p}$ and $N in mathbb{R}^{p times n}$, we have $MN in mathbb{R}^{m times n}$.
$endgroup$
– Metric
Jan 26 at 0:43
1
$begingroup$
Since $A_i in mathbb{R}^{1 times p}$ and $B in mathbb{R}^{p times n}$ for some $p$ and $n$, we have $A_iB in mathbb{R}^{1 times n}$, so $A_iB$ has one row.
$endgroup$
– Metric
Jan 26 at 0:45
add a comment |
$begingroup$
For a matrix $M$, define $M_{ij}$ to be its $(i,j)^{th}$ entry, and $M_i$ to be its $i^{th}$ row.
What you want to show is
$$(AB)_i = A_iB$$
And by definition of the regular matrix multiplication,
$$(AB)_{ij} = sum A_{iell}B_{ell j} tag 1$$
$$(A_iB)_{1j} = sum (A_i)_{1ell}B_{ell j} tag 2$$
Since $A_iB$ has only one row, you'll just have to show that $(1)$ and $(2)$ are equal for each $j$.
$endgroup$
$begingroup$
@I don't understand one thing. In (2), why does $A_{i}B$ has only one row?
$endgroup$
– OGC
Jan 25 at 21:23
$begingroup$
So for a matrix $M$ with $m$ rows and $p$ columns and a matrix $N$ with $p$ rows and $n$ columns, their product $MN$ is defined and has $m$ rows and $n$ columns. Or, more briefly, if $M in mathbb{R}^{m times p}$ and $N in mathbb{R}^{p times n}$, we have $MN in mathbb{R}^{m times n}$.
$endgroup$
– Metric
Jan 26 at 0:43
1
$begingroup$
Since $A_i in mathbb{R}^{1 times p}$ and $B in mathbb{R}^{p times n}$ for some $p$ and $n$, we have $A_iB in mathbb{R}^{1 times n}$, so $A_iB$ has one row.
$endgroup$
– Metric
Jan 26 at 0:45
add a comment |
$begingroup$
For a matrix $M$, define $M_{ij}$ to be its $(i,j)^{th}$ entry, and $M_i$ to be its $i^{th}$ row.
What you want to show is
$$(AB)_i = A_iB$$
And by definition of the regular matrix multiplication,
$$(AB)_{ij} = sum A_{iell}B_{ell j} tag 1$$
$$(A_iB)_{1j} = sum (A_i)_{1ell}B_{ell j} tag 2$$
Since $A_iB$ has only one row, you'll just have to show that $(1)$ and $(2)$ are equal for each $j$.
$endgroup$
For a matrix $M$, define $M_{ij}$ to be its $(i,j)^{th}$ entry, and $M_i$ to be its $i^{th}$ row.
What you want to show is
$$(AB)_i = A_iB$$
And by definition of the regular matrix multiplication,
$$(AB)_{ij} = sum A_{iell}B_{ell j} tag 1$$
$$(A_iB)_{1j} = sum (A_i)_{1ell}B_{ell j} tag 2$$
Since $A_iB$ has only one row, you'll just have to show that $(1)$ and $(2)$ are equal for each $j$.
edited Jan 25 at 3:38
answered Jan 25 at 3:33
MetricMetric
1,25159
1,25159
$begingroup$
@I don't understand one thing. In (2), why does $A_{i}B$ has only one row?
$endgroup$
– OGC
Jan 25 at 21:23
$begingroup$
So for a matrix $M$ with $m$ rows and $p$ columns and a matrix $N$ with $p$ rows and $n$ columns, their product $MN$ is defined and has $m$ rows and $n$ columns. Or, more briefly, if $M in mathbb{R}^{m times p}$ and $N in mathbb{R}^{p times n}$, we have $MN in mathbb{R}^{m times n}$.
$endgroup$
– Metric
Jan 26 at 0:43
1
$begingroup$
Since $A_i in mathbb{R}^{1 times p}$ and $B in mathbb{R}^{p times n}$ for some $p$ and $n$, we have $A_iB in mathbb{R}^{1 times n}$, so $A_iB$ has one row.
$endgroup$
– Metric
Jan 26 at 0:45
add a comment |
$begingroup$
@I don't understand one thing. In (2), why does $A_{i}B$ has only one row?
$endgroup$
– OGC
Jan 25 at 21:23
$begingroup$
So for a matrix $M$ with $m$ rows and $p$ columns and a matrix $N$ with $p$ rows and $n$ columns, their product $MN$ is defined and has $m$ rows and $n$ columns. Or, more briefly, if $M in mathbb{R}^{m times p}$ and $N in mathbb{R}^{p times n}$, we have $MN in mathbb{R}^{m times n}$.
$endgroup$
– Metric
Jan 26 at 0:43
1
$begingroup$
Since $A_i in mathbb{R}^{1 times p}$ and $B in mathbb{R}^{p times n}$ for some $p$ and $n$, we have $A_iB in mathbb{R}^{1 times n}$, so $A_iB$ has one row.
$endgroup$
– Metric
Jan 26 at 0:45
$begingroup$
@I don't understand one thing. In (2), why does $A_{i}B$ has only one row?
$endgroup$
– OGC
Jan 25 at 21:23
$begingroup$
@I don't understand one thing. In (2), why does $A_{i}B$ has only one row?
$endgroup$
– OGC
Jan 25 at 21:23
$begingroup$
So for a matrix $M$ with $m$ rows and $p$ columns and a matrix $N$ with $p$ rows and $n$ columns, their product $MN$ is defined and has $m$ rows and $n$ columns. Or, more briefly, if $M in mathbb{R}^{m times p}$ and $N in mathbb{R}^{p times n}$, we have $MN in mathbb{R}^{m times n}$.
$endgroup$
– Metric
Jan 26 at 0:43
$begingroup$
So for a matrix $M$ with $m$ rows and $p$ columns and a matrix $N$ with $p$ rows and $n$ columns, their product $MN$ is defined and has $m$ rows and $n$ columns. Or, more briefly, if $M in mathbb{R}^{m times p}$ and $N in mathbb{R}^{p times n}$, we have $MN in mathbb{R}^{m times n}$.
$endgroup$
– Metric
Jan 26 at 0:43
1
1
$begingroup$
Since $A_i in mathbb{R}^{1 times p}$ and $B in mathbb{R}^{p times n}$ for some $p$ and $n$, we have $A_iB in mathbb{R}^{1 times n}$, so $A_iB$ has one row.
$endgroup$
– Metric
Jan 26 at 0:45
$begingroup$
Since $A_i in mathbb{R}^{1 times p}$ and $B in mathbb{R}^{p times n}$ for some $p$ and $n$, we have $A_iB in mathbb{R}^{1 times n}$, so $A_iB$ has one row.
$endgroup$
– Metric
Jan 26 at 0:45
add a comment |
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.
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%2fmath.stackexchange.com%2fquestions%2f3085582%2fhow-to-show-that-the-ith-row-ab-is-the-matrix-product-of-the-ith-row-of-a-wi%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
1
$begingroup$
$i$th row and $k$th column of $AB$ is $sum_{l=1}^nA_{il}B_{lk}$ as you rightly said. Varying over $k$ just gives the whole row of $AB$ and we see that every entry of $B$ is used, while only the $i$th row of $A$ is used.
$endgroup$
– Alec B-G
Jan 24 at 12:48
1
$begingroup$
Maybe it helps to define a new row vector $a$ where $a_l = A_{i,l}$. That is, $a$ is the $i$-th row of $A$. Now write the product $aB$ and compare it to the $i$-th row of $AB$.
$endgroup$
– tch
Jan 24 at 15:22