MathCastle
Linear AlgebraHardMatrices & Systems

Matrices & Systems · Hard problem

A logistics company's total shipping cost model is pT(RS)q\mathbf p^{T}(RS)\mathbf q, where p=(31)\mathbf p = \begin{pmatrix}3\\1\end{pmatrix} is a demand profile, q=(25)\mathbf q = \begin{pmatrix}2\\5\end{pmatrix} is a region-weight vector, and R=(1203)R = \begin{pmatrix}1 & 2\\0 & 3\end{pmatrix}, S=(2114)S = \begin{pmatrix}2 & 1\\1 & 4\end{pmatrix} are two processing-stage matrices. Find the total cost.