Matrix multiplication Definition and 108 Threads

  1. G

    I Applying change of basis to vector b_1 doesn't give b'_1?

    The formula my textbook provides for finding change of basis matrices is: $$b'_j = a_{1j} b_1 + \cdots + a_{nj} b_n$$ I assume, since that's the convention and also because Wikipedia itself uses this formula like this, that the first index of the c's is the row, and the second is the columns...
  2. M

    Is result of vector inner product retained after matrix multiplication?

    Hi, I was thinking about the following problem, but I couldn't think of any conclusive reasons to support my idea. Question: Let us imagine that we have two vectors ## \vec{a} ## and ## \vec{b} ## and they point in similar directions, such that the inner-product is evaluated to be a +ve...
  3. L

    A Matrix multiplication, Orthogonal matrix, Independent parameters

    Matrix multiplication is defined by \sum_{k}a_{ik}b_{kj} where ##a_{ik}## and ##b_{kj}## are entries of the matrices ##A## and ##B##. In definition of orthogonal matrix I saw \sum_{k=1}^n a_{ki}a_{kj}=\delta_{ij} This is because ##A^TA=I##. How to know how many independent parameters we have in...
  4. M

    MATLAB Matrix multiplication without a for-loop for an uneven size matrix and a vector

    Hi PF! I am trying to multiply each component of B by the matrix A and then solve A\C. See the code below. A = rand(4); B = rand(5,1); C = rand(4,1); for i = 1:5 sol(:,i) = (B(i)*A)\C end But there has to be a way to do this without a for-loop, right? I'd really appreciate any help you have!
  5. J

    Rotation by matrix multiplication -- confirmation please

    The below matrix represents a rotation. 0 0 -1 0 1 0 1 0 0 Im trying to obtain the general point (x y z) when rotated by the above rotation matrix? So visited https://www.andre-gaschler.com/rotationconverter/ entered the above figures and not sure which entry would be x y z but assume it...
  6. Athenian

    I Lorentz Boosts: Finding Speed, Coordinates & Rotation w/ Matrix Multiply

    Recently, I've been studying about Lorentz boosts and found out that two perpendicular Lorentz boosts equal to a rotation after a boost. Below is an example matrix multiplication of this happening: $$ \left( \begin{array}{cccc} \frac{2}{\sqrt{3}} & 0 & -\frac{1}{\sqrt{3}} & 0 \\ 0 & 1 & 0 & 0...
  7. C

    Matrix Multiplication -- Commutivity versus Associativity

    According to me matrix multiplication is not commutative. Therefore A^2.A^3=A^3.A^2 should be false. But at the same time matrix multiplication is associative so we can take whatever no. of A's we want to multiply i.e A^5=A.A^4 OR A^5=A^2.A^3
  8. T

    Matrix Multiplication Homework: Equations and Solutions"

    Homework Statement Homework Equations Matrix multiplication. The Attempt at a Solution Answer given=4 What am I doing wrong??
  9. B

    B Associativity of Matrix multiplication

    ##\begin{align}[A(BC)]_{ij} &= \sum_r A_{ir}(BC)_{rj} \\ &= \sum_r A_{ir} \sum_s B_{rs}C_{sj}\\ &= \sum_r\sum_s A_{ir}B_{rs}C_{sj}\\ &= \sum_{s} (\sum_{r} A_{ir} B_{rs}) C_{sj} \\ &= [(AB) C]_{ij}\end{align}## How did it went from ##2## to ##3##. In general is there a proof that sums can be...
  10. R

    I Why is the dot product equivalent to matrix multiplication?

    Why is the dot product equivalent to the matrix multiplication of its components? I've seen some proofs using Pythagorean and cosine law but they don't give you an intuitive feel as to why matrix multiplication works. The geometric definition (##ab cosθ##) is very easy to understand. To a...
  11. M

    Show GL/O/SO(n,R) form groups under Matrix Multiplication

    Homework Statement Show that the set GL(n, R) of invertible matrices forms a group under matrix multiplication. Show the same for the orthogonal group O(n, R) and the special orthogonal group SO(n, R). Homework EquationsThe Attempt at a Solution So I know the properties that define a group are...
  12. MickeyBlue

    Representing a transformation with a matrix

    Homework Statement Use matrix multiplication to find the 2×2 matrix P which represents projection onto the line y =√3x. Can you suggest another way of finding this matrix? Which vectors x∈R2 satisfy the equation Px = x? For which x is Px = 0? Homework Equations Dot product of vectors The...
  13. O

    I What does adjacent indices mean in the context of matrix multiplication?

    Hello, I was refreshing my Mathematics using S.M. Blinder's book "Guide to Essential Math" and on the section on Matrix Multiplication I got the following, Can someone elaborate on the highlighted section? In particular, what does "adjacent indices" mean? Thank you.
  14. M

    Software for multiplication of matrices

    Software for multiplication of matrices I'm going to do a lot of matrix multiplications, since I'm computing Jarlskog invariants. I would like to know if there is a great program for doing a lot of matrix multiplications? I tried with Maple but at some point it gives up. My matrices are not...
  15. TheSodesa

    Proving two simple matrix product properties

    Homework Statement Let ##A## be an n × p matrix and ##B## be an p × m matrix with the following column vector representation, B = \begin{bmatrix} b_1 , & b_2, & ... & ,b_m \end{bmatrix} Prove that AB = \begin{bmatrix} Ab_1 , & Ab_2, & ... & , Ab_m \end{bmatrix} If ##A## is represented...
  16. P

    MHB Sava's question via email about matrix multiplication

    $\displaystyle \begin{align*} A\,A^T &= \left[\begin{matrix} 3 & 0 & -4 \\ 4 & 0 & \phantom{-}3 \\ 0 & 5 & \phantom{-}0 \end{matrix}\right]\left[ \begin{matrix} \phantom{-}3 & 4 & 0 \\ \phantom{-}0 & 0 & 5 \\ -4 & 3 & 0 \end{matrix}\right] \\ &= \left[ \begin{matrix} 3\cdot 3 + 0 \cdot 0 +...
  17. D

    Linear Algebra Book about block matrix multiplication

    I still can't find a book with properties and theorems involving block matrices multiplication to reference in my undergraduate work. thanks
  18. D

    Master Matrix Multiplication: Solving Size Confusion | Homework Help

    Homework Statement Well, basically my issue isn't exactly with how to multiply matrices. I know how to do that, my issue is the way my lecturer shows how to find the size of the new matrix, this is all that he shows: I mean how is he getting AX to be a 3x1 matrix? Homework EquationsThe...
  19. N

    Matrix multiplication, P1.1.1 Golub/Van Loan-Matrix Computations 3rd

    Hi, I am studying linear algebra from Golub G.H., Van Loan C.F.- Matrix Computations 3rd edition. This book is somewhat old now, but I find it rather comprehensive. I want to study all chapters and answer all problems appear at the end of each section. Here is the first problem from the first...
  20. C

    Matrix multiplication - is this plausible?

    say X = (AB) (B-1 C) B-1 = B inverse (B B-1 = B-1 B = I) then can i write X = AC? just having a brain fart moment. i would appreciate a speedy response, cheers.
  21. C

    MHB Matrix multiplication simplified to Vector multiplication

    Hello, I'm not sure where to put this. I have spent the last week (14+ hour days) editing some code I have for selecting representative spectra for a remote sensing masters thesis I'm working on. The program is very-very slow, and I've been trying to speed it up as much as possible by NOT...
  22. R

    A question about the cross product as related to matrix multiplication

    I understand that the cross product, in lay mans terms doesn't exist unless we're in 3 dimensions. When you multiply two matrices together I have been told you get something similar. I hear that this is because a matrix can be treated as a vector. So if we are talking about measurable...
  23. PsychonautQQ

    Understanding Matrix Multiplication Non-Commutativity

    Homework Statement This isn't homework, but I didn't know where else to ask and I have a test in an hour and a half. The study guide says be able to explain why statements like (A+B)^2 = A^2 + 2AB + B^2 are bogus when dealing with matrix's. Is it because (A+B) = (B+A) but (A+B)^2 /= (B+A)^2 or...
  24. ajayguhan

    Matrix Multiplication: Finding A^50 with a Shortcut Method

    Homework Statement A=[1 0 0] [1 0 1] [0 1 0] Find A^50 Homework Equations The Attempt at a Solution I'm sure that we can't multiply it 50 times...it's a tedious process , there must be a short cut
  25. X

    Explain why matrix multiplication is not commutative.

    The title says it all. Commutative* sorry Mod note: fixed title.
  26. ajayguhan

    Understanding Matrix Multiplication: A Vector-Based Explanation

    Consider two square matrix A,B each specifying a parallelopiped by three different vector. The x, y, z components are written in column 1, column 2, column 3 respectively. Thus the order of A , B is 3x3. Let C=AB. To get the c11 element of C i do a dot product of row1 of A and column 1 of B...
  27. G

    MHB Problem involving matrix multiplication and dot product in one proof

    The problem is: Let A be a real m x n matrix and let x be in R^n and y be in R^m (n and m dimensional real vector spaces, respectively). Show that the dot product of Ax with y equals the dot product of x with A^Ty (A^T is the transpose of A). The way I went about starting this problem is to...
  28. AJBMuir

    Matrix multiplication, specifically elimination matrices.

    I was wondering if anybody can see where I have gone wrong here? I was given the rule, E2(E1A1)=(E2E1)A1, I can't seem to find my mistake.
  29. S

    Matrix Multiplication and Function Composition

    I am doing linear algebra and want to fully understand it, not just pass the class. I was recently taught matrix multiplication and decided to look up how it works. The good part is that I understand the concept. Matrices are a way of representing linear transformations. So matrix multiplication...
  30. Y

    Matrix multiplication to addition

    I am looking for a transformation that relates a matrix product with a matrix addition, e.g. AB = PA + QB Is there any such transformation? Thnx
  31. Nugso

    Comp Sci Multiplying Matrices in Fortran: How to Create a Function for Any Dimension

    Hi. Write an external function that takes two matrices, multiplies them and returns the resulting matrix. Matrices can be of any dimension. Print the resulting matrix The above is what I have to do. http://paste.servut.us/pgmm This is what I've done so far. But it seems like...
  32. E

    Divide and Conquer, Matrix Multiplication MATLAB

    Problem Statement We are asked to use the following divide and conquer algorithm to get the solution for the multiplication of some matrix A and some matrix B. (See below) Consider the matrix sizes. Comment the total computational time used on the following three algorithms, when different...
  33. D

    Matrix multiplication: index / suffix notation issues

    Hey everyone, I'm struggling with the summation notation for matrices and vector operations, multiplication in particular. Please refer to the image below where I've typed it all out in Word, its too cumbersome here and I want my meaning to be clear...
  34. A

    Using Matrix Multiplication to Obtain Another Matrix

    Homework Statement I need to use matrix multiplication of matrices A-D to obtain matrix E. I also need to set a equal to some value that would allow me to perform this multiplication. Homework Equations The matrixes I need to multiply: A = [1, 1; 0, 1] B = [1, 0; 1, 1] C = [a, 0...
  35. Y

    MHB Property of Matrix Multiplication

    Hello, I wanted to ask if this is a correct move, A and B are matrices, a is a scalar, thank you ! A^{2}\cdot B^{t}-aA=A(A\cdot B^{t}-aI)
  36. S

    Help with cblas_dgemm matrix multiplication

    I'm having problems running cblas_dgemm on a matix matrix multiplication. I have the following matricies double * mass = new double[n]; double (* pos)[NDIM] = new double[n][NDIM]; double tempPos[NDIM]; double tempMass[nlocal]; double mass_avg[1]; double pos_avg[NDIM]...
  37. Y

    MHB Matrix Multiplication: Is A Solution Possible?

    Hello I have a question, I need to tell if there exist A such as: A\cdot \begin{pmatrix} 0\\ 1\\ 4 \end{pmatrix} =\begin{pmatrix} 1\\ 2\\ 3\\ 4 \end{pmatrix} how do you approach this kind of questions ? thanks !
  38. A

    Continuity of matrix multiplication and inversion in a normed vector space?

    Homework Statement Hi guys, I'm trying to prove that matrix inversion is continuous. In other words, I'm trying to show that in a normed vector space the map \varphi: GL(n,R) \to GL(n,R) defined by \varphi(A) = A^{-1} is continuous.Homework Equations The norm that we're working in the...
  39. B

    Matrix Multiplication and sigma notation

    Hello, I have read several different sources on this very topic, and the one thing that confused a little was defining it using sigma notation. Could some please explain to be what it means?
  40. A

    Why do we use double pipes to represent the norm of a vector?

    1. Why is the norm of a vector noted by double pipes when it is just the magnitude which is notated by single pipes? 2. Does anyone know where I could find out why matrix multiplication is defined the way it is? I know how to do it, but I do not understand why it is that way. Thank you.
  41. R

    Proof Involving Matrix Polynomials and Matrix Multiplication

    Homework Statement Let A be an nxn matrix, and C be an mxm matrix, and suppose AB = BC. (a) Prove the following by induction: For every n∈ℕ, (A^n)B = B(C^n). What property of matrix multiplication do you need to prove this? Homework Equations The four basic properties of matrix...
  42. haael

    Cross product and matrix multiplication

    Suppose that we have a cross-product of vectors. a × b = c Now suppose that we have an orthogonal matrix M. Is it true that (M a) × (M b) = M c ? My intuition is that here we are moving to another coordinate system and performing a cross product in this new system. I can't find an...
  43. W

    Euler transform matrix multiplication help

    !Euler transform matrix multiplication help! Homework Statement This may be rather simple but i am really struggling to complete a 3 3x3 matrix multiplication. I NEED STEP BY STEP WORKING!. This would really help me I understand the theory. Basically I have three matrices T1= cosψ sin ψ...
  44. J

    Matrix multiplication vs dot product

    What is the difference between matrix multiplication and the dot product of two matrices? Is there a difference? If, A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} and B = \begin{pmatrix} e & f \\ g & h \end{pmatrix} then does {\mathbf{A} \cdot...
  45. H

    Matrix Multiplication or Inverse Problem

    Homework Statement I am more trying to figure out how to solve generally rather than solve this specific problem. Nevertheless this problem could be given as: Solve the matrix for A and B. Homework Equations \begin{pmatrix} 1 & 1 \\ 0 & 0 \\ 0 & 2 \\ 2 & 0 \\ 0 & 0 \\...
  46. P

    Matrix Multiplication to translate object with given vertices

    This was a question for a test of mine. I am unsure how to translate the object from the left image(Fig.1) to the right (Fig.2). I am to use matrix multiplication.. Do i start with the vertices in Fig.1 as a matrix, as in |0 -1 -2 0 -2 -1 | ...............|0 0 0 2 2 3 | (I...
  47. S

    System under matrix addition (+) and matrix multiplication (.) is a field

    Homework Statement true or false .. The system {S,+,.} with S = { matrix (a,b,a-b,a)|a,b ∊ R) is not a field under matrix addition (+) and matrix multiplication (.) i find that the statement is false . since : 1. {S,+} is Abelian group. 2. {S,.} : is Abelian group. is...
  48. homology

    Raising/Lowering indices and matrix multiplication

    Please read the following carefully. The point of the following is to distinguish between T^{\mu}_{\mbox{ } \nu} and T_{\mbox{ }\mu}^{\nu} which clearly involves a metric tensor. But when you want to go from component manipulation to matrix operations you have to be careful. Components are...
  49. M

    Three-Dimensional Matrix Multiplication

    Does this concept exist? Google yields weird results that mostly have to do with programming, and Wikipedia says nothing about it. I always find that I understand tensor math better when I can translate it into matrix notation, but if I'm dealing with tensors of too high a rank, I don't know...
  50. P

    Matrix Multiplication: Calculating (AB)C and A(BC) Using the Formula

    A is an M × N matrix, B is N × K and C is a K × L matrix. Consider matrix multiplication (AB)ij = Pk AikBkj . Using the formula, (AB)ij = Pk AikBkj, how would I calculate ((AB)C) and (A(BC))?
Back
Top