How to show that the ith row $AB$ is the matrix product of the ith row of $A$ with the entire matrix $B$?












0












$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.










share|cite|improve this question











$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
















0












$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.










share|cite|improve this question











$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














0












0








0





$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.










share|cite|improve this question











$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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








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














  • 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










1 Answer
1






active

oldest

votes


















1












$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$.






share|cite|improve this answer











$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











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%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









1












$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$.






share|cite|improve this answer











$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
















1












$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$.






share|cite|improve this answer











$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














1












1








1





$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$.






share|cite|improve this answer











$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$.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








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


















  • $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


















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%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





















































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

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

Npm cannot find a required file even through it is in the searched directory