Doctors Revision

Matrices and Linear Transformations for Pharmacy Students

A comprehensive foundational guide to matrix algebra, Gaussian elimination, determinants, Cramer’s rule, vector transformations, and multi-component pharmaceutical modeling.

Course Unit: Higher Mathematics & Calculus Applications (Year 2) | Target Audience: BPharm Undergraduate Students | Document Version: 4.0 (Peer Reviewed)
On this page

1 Learning Objectives and Core Notation

In pharmaceutical research, industrial manufacturing, and clinical pharmacokinetic analysis, variables rarely exist in isolation. Formulators regularly balance multi-component excipient matrices, spectrophotometric multi-wavelength assays, and continuous dissolution metrics. Linear algebra provides the unified mathematical language needed to model, manipulate, and solve these interdependent systems systematically.

Explanation

Specific Learning Outcomes

By the end of this study module, a second-year pharmacy student should be able to:

  • Represent rectangular arrays of pharmaceutical data using standard index notation ($a_{ij}$).
  • Evaluate compatibility for addition, subtraction, scalar scaling, and non-commutative matrix multiplication.
  • Compute determinants for second- and third-order square matrices using Laplace cofactor expansion.
  • Apply elementary row operations to reduce augmented systems to row echelon and reduced row echelon forms.
  • Invert non-singular matrices and explain why singular systems fail to provide unique solutions.
  • Solve systems of linear equations via matrix inversion, Gaussian elimination, and Cramer’s rule.
  • Model two-dimensional geometric mappings (scaling, rotation, reflection, shear) and compute image/kernel dimensions.
  • Formulate and solve multi-component compounding mixture problems without relying on trial-and-error blending.

Standard Mathematical Notation

A matrix is defined as a rectangular array of real numbers arranged in horizontal rows and vertical columns. Matrices are symbolized by uppercase bold or capital letters (e.g., $\mathbf{A}$, $B$). The individual scalar entries within a matrix are denoted by lowercase letters indexed by row number $i$ and column number $j$:

$A = [a_{ij}] = \begin{pmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} \end{pmatrix} \in \mathbb{R}^{m \times n}$

Here, $m$ denotes the total number of rows (horizontal lines), while $n$ denotes the total number of columns (vertical lines). The entry $a_{23}$ identifies the scalar situated on Row 2, Column 3. Vectors are represented as either column matrices ($\mathbf{x} \in \mathbb{R}^{n \times 1}$) or row matrices ($\mathbf{x}^T \in \mathbb{R}^{1 \times n}$).

2 Matrix Dimensions, Special Types, and Equality

Understanding matrix geometry begins with dimension classification. The order or dimension of a matrix is strictly written as $m \times n$ (read "m by n"). Two matrices $\mathbf{A}$ and $\mathbf{B}$ are strictly equal ($\mathbf{A} = \mathbf{B}$) if and only if:

  1. They have the exact same dimensions: $\text{dim}(\mathbf{A}) = \text{dim}(\mathbf{B}) = m \times n$.
  2. Every corresponding entry is identical: $a_{ij} = b_{ij}$ for all $1 \le i \le m$ and $1 \le j \le n$.

Structural Classifications

  • Square Matrix: A matrix where the row count matches the column count ($m = n$). The entries $a_{11}, a_{22}, \dots, a_{nn}$ form the main (principal) diagonal.
  • Zero (Null) Matrix ($\mathbf{0}$): A matrix of any dimension where every entry is zero ($a_{ij} = 0$). It serves as the additive identity.
  • Diagonal Matrix: A square matrix where all entries outside the main diagonal are zero ($a_{ij} = 0$ for all $i \neq j$).
  • Scalar Matrix: A diagonal matrix whose main diagonal elements are all the same constant ($a_{ii} = k$); when $k=0$, it is the zero matrix.
  • Identity Matrix ($\mathbf{I}_n$): A square scalar matrix where every main diagonal element equals $1$, and all off-diagonal entries equal $0$: $$\mathbf{I}_2 = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}, \quad \mathbf{I}_3 = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}$$
  • Upper Triangular Matrix: A square matrix where all entries strictly below the main diagonal are zero ($a_{ij} = 0$ for $i > j$).
  • Lower Triangular Matrix: A square matrix where all entries strictly above the main diagonal are zero ($a_{ij} = 0$ for $i < j$).
  • Symmetric Matrix: A square matrix that is equal to its transpose ($\mathbf{A}^T = \mathbf{A}$, meaning $a_{ij} = a_{ji}$).
  • Skew-Symmetric Matrix: A square matrix where $\mathbf{A}^T = -\mathbf{A}$, which requires $a_{ii} = 0$ and $a_{ij} = -a_{ji}$.

3 Algebraic Matrix Operations

Matrix Addition and Subtraction

Matrix addition and subtraction are element-wise operations. They are strictly defined if and only if the participating matrices possess the exact same dimensions. If $\mathbf{A}, \mathbf{B} \in \mathbb{R}^{m \times n}$, then $\mathbf{C} = \mathbf{A} \pm \mathbf{B}$ is also an $m \times n$ matrix where:

$c_{ij} = a_{ij} \pm b_{ij}$

Scalar Multiplication

Multiplying a matrix $\mathbf{A}$ by a real scalar $k \in \mathbb{R}$ involves distributing $k$ to every individual entry: $k\mathbf{A} = [k \cdot a_{ij}]$. Scalar multiplication satisfies distributivity: $k(\mathbf{A} + \mathbf{B}) = k\mathbf{A} + k\mathbf{B}$ and $(c + k)\mathbf{A} = c\mathbf{A} + k\mathbf{A}$.

Matrix Transpose

The transpose of an $m \times n$ matrix $\mathbf{A}$, denoted $\mathbf{A}^T$ (or $\mathbf{A}'$), is an $n \times m$ matrix formed by interchanging the rows and columns. Formally, $(\mathbf{A}^T)_{ij} = a_{ji}$. Key properties include:

  • $(\mathbf{A}^T)^T = \mathbf{A}$
  • $(\mathbf{A} + \mathbf{B})^T = \mathbf{A}^T + \mathbf{B}^T$
  • $(k\mathbf{A})^T = k\mathbf{A}^T$
  • $(\mathbf{A}\mathbf{B})^T = \mathbf{B}^T\mathbf{A}^T$ (note the reversal of product order)

Matrix Multiplication: Compatibility and Non-Commutativity

The matrix product $\mathbf{A}\mathbf{B}$ is mathematically valid if and only if the inner dimensions match: the number of columns in $\mathbf{A}$ must equal the number of rows in $\mathbf{B}$.

$\mathbf{A}_{(m \times p)} \times \mathbf{B}_{(p \times n)} = \mathbf{C}_{(m \times n)}$

The entry $c_{ij}$ in the resulting product is the scalar dot product of Row $i$ of $\mathbf{A}$ and Column $j$ of $\mathbf{B}$:

$c_{ij} = \sum_{k=1}^{p} a_{ik}b_{kj} = a_{i1}b_{1j} + a_{i2}b_{2j} + \cdots + a_{ip}b_{pj}$

Explanation

Critical Warning: Non-Commutativity

In ordinary scalar arithmetic, $ab = ba$. In matrix algebra, matrix multiplication is generally NOT commutative: $\mathbf{A}\mathbf{B} \neq \mathbf{B}\mathbf{A}$. Even when $\mathbf{A}$ and $\mathbf{B}$ are both square matrices of order $n$, $\mathbf{A}\mathbf{B}$ rarely equals $\mathbf{B}\mathbf{A}$. Furthermore, $\mathbf{A}\mathbf{B} = \mathbf{0}$ does not imply that $\mathbf{A} = \mathbf{0}$ or $\mathbf{B} = \mathbf{0}$ (existence of zero divisors).

Step-by-Step Multiplication Example

Let $\mathbf{A} = \begin{pmatrix} 2 & 1 \\ -1 & 3 \end{pmatrix}$ and $\mathbf{B} = \begin{pmatrix} 4 & 0 \\ 1 & 5 \end{pmatrix}$. Calculate $\mathbf{A}\mathbf{B}$ and $\mathbf{B}\mathbf{A}$.

Calculating $\mathbf{A}\mathbf{B}$:

$c_{11} = (2)(4) + (1)(1) = 8 + 1 = 9$
$c_{12} = (2)(0) + (1)(5) = 0 + 5 = 5$
$c_{21} = (-1)(4) + (3)(1) = -4 + 3 = -1$
$c_{22} = (-1)(0) + (3)(5) = 0 + 15 = 15$
$$\mathbf{A}\mathbf{B} = \begin{pmatrix} 9 & 5 \\ -1 & 15 \end{pmatrix}$$

Calculating $\mathbf{B}\mathbf{A}$:

$d_{11} = (4)(2) + (0)(-1) = 8 + 0 = 8$
$d_{12} = (4)(1) + (0)(3) = 4 + 0 = 4$
$d_{21} = (1)(2) + (5)(-1) = 2 - 5 = -3$
$d_{22} = (1)(1) + (5)(3) = 1 + 15 = 16$
$$\mathbf{B}\mathbf{A} = \begin{pmatrix} 8 & 4 \\ -3 & 16 \end{pmatrix}$$

Notice that $\mathbf{A}\mathbf{B} \neq \mathbf{B}\mathbf{A}$, confirming that matrix multiplication is non-commutative.

4 Determinants of 2×2 and 3×3 Matrices

The determinant is a scalar value uniquely associated with a square matrix. Denoted as $\det(\mathbf{A})$ or $|\mathbf{A}|$, it provides critical information regarding matrix invertibility, linear independence of column vectors, and geometric volume scaling.

Determinant of a 2×2 Matrix

For a general second-order square matrix $\mathbf{A} = \begin{pmatrix} a & b \\ c & d \end{pmatrix}$, the determinant is calculated as the difference of the diagonal cross-products:

$\det(\mathbf{A}) = \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc$

Determinant of a 3×3 Matrix (Laplace Expansion)

For a third-order square matrix, the determinant can be evaluated by expanding across any row or column using signed minors (cofactors). Expanding along the first row:

$\mathbf{A} = \begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{pmatrix}$

$\det(\mathbf{A}) = a_{11}\begin{vmatrix} a_{22} & a_{23} \\ a_{32} & a_{33} \end{vmatrix} - a_{12}\begin{vmatrix} a_{21} & a_{23} \\ a_{31} & a_{33} \end{vmatrix} + a_{13}\begin{vmatrix} a_{21} & a_{22} \\ a_{31} & a_{32} \end{vmatrix}$

$\det(\mathbf{A}) = a_{11}(a_{22}a_{33} - a_{23}a_{32}) - a_{12}(a_{21}a_{33} - a_{23}a_{31}) + a_{13}(a_{21}a_{32} - a_{22}a_{31})$

Step-by-Step 3×3 Determinant Calculation

Calculate the determinant of matrix $\mathbf{M}$:

$\mathbf{M} = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{pmatrix}$

Expand along Row 1:

$\det(\mathbf{M}) = 1 \cdot \begin{vmatrix} 1 & 4 \\ 6 & 0 \end{vmatrix} - 2 \cdot \begin{vmatrix} 0 & 4 \\ 5 & 0 \end{vmatrix} + 3 \cdot \begin{vmatrix} 0 & 1 \\ 5 & 6 \end{vmatrix}$

Sub-determinant 1: $(1)(0) - (4)(6) = 0 - 24 = -24$
Sub-determinant 2: $(0)(0) - (4)(5) = 0 - 20 = -20$
Sub-determinant 3: $(0)(6) - (1)(5) = 0 - 5 = -5$

Substitute values: $\det(\mathbf{M}) = 1(-24) - 2(-20) + 3(-5) = -24 + 40 - 15 = 1$

Because $\det(\mathbf{M}) = 1 \neq 0$, the matrix $\mathbf{M}$ is non-singular.

Fundamental Properties of Determinants

  • Transpose Invariance: $\det(\mathbf{A}^T) = \det(\mathbf{A})$.
  • Multiplicative Property: $\det(\mathbf{A}\mathbf{B}) = \det(\mathbf{A})\det(\mathbf{B})$.
  • Row Interchange: Swapping any two rows (or columns) reverses the algebraic sign: $\det(\mathbf{A}_{\text{swapped}}) = -\det(\mathbf{A})$.
  • Scalar Factoring: Multiplying a single row by scalar $k$ multiplies the determinant by $k$. For an $n \times n$ matrix, $\det(k\mathbf{A}) = k^n \det(\mathbf{A})$.
  • Linear Dependence: If any row (or column) consists entirely of zeros, or if two rows (or columns) are identical or proportional, then $\det(\mathbf{A}) = 0$.
  • Elementary Row Addition: Adding a scalar multiple of one row to another row leaves the determinant completely unchanged.
  • Triangular Matrices: The determinant of an upper or lower triangular matrix is simply the product of its main diagonal entries: $\det(\mathbf{A}) = \prod_{i=1}^n a_{ii}$.

5 Elementary Row Operations and Gaussian Elimination

A system of linear equations can be represented as an augmented matrix $[\mathbf{A} \mid \mathbf{b}]$. Solving such systems systematically relies on Elementary Row Operations (EROs), which transform the augmented matrix into an equivalent simpler structure without altering the solution set.

The Three Elementary Row Operations

  1. Row Swap ($R_i \leftrightarrow R_j$): Interchange row $i$ and row $j$.
  2. Row Scaling ($R_i \leftarrow k R_i$): Multiply all elements in row $i$ by a non-zero constant scalar $k \in \mathbb{R}, k \neq 0$.
  3. Row Addition / Elimination ($R_i \leftarrow R_i + k R_j$): Add a scalar multiple of row $j$ to row $i$.

Row Echelon Form (REF) vs. Reduced Row Echelon Form (RREF)

A matrix is in Row Echelon Form (REF) when:

  • All rows consisting entirely of zeros are at the bottom of the matrix.
  • In every non-zero row, the leading entry (the first non-zero number from the left, called the pivot) is strictly to the right of the pivot of the row above it.
  • All entries in a column below a pivot are zero.

A matrix is in Reduced Row Echelon Form (RREF) (Gauss-Jordan Elimination) when it meets all REF conditions plus:

  • Every leading pivot entry is equal to $1$.
  • Each column containing a leading $1$ has zeros in every other position (both below and above the pivot).

Gaussian Elimination with Back-Substitution

Solve the following 3-variable system arising from a three-component pharmaceutical solution assay:

$\begin{aligned} x + y + z &= 10 \\ 2x + y + 3z &= 22 \\ 3x + 2y + z &= 17 \end{aligned}$

Step 1: Construct the augmented matrix $[\mathbf{A} \mid \mathbf{b}]$:

$\left[\begin{array}{ccc|c} 1 & 1 & 1 & 10 \\ 2 & 1 & 3 & 22 \\ 3 & 2 & 1 & 17 \end{array}\right]$

Step 2: Eliminate entries below pivot $a_{11} = 1$:

Apply $R_2 \leftarrow R_2 - 2R_1$:
Row 2 becomes: $[2 - 2(1),\ 1 - 2(1),\ 3 - 2(1) \mid 22 - 2(10)] = [0, -1, 1 \mid 2]$

Apply $R_3 \leftarrow R_3 - 3R_1$:
Row 3 becomes: $[3 - 3(1),\ 2 - 3(1),\ 1 - 3(1) \mid 17 - 3(10)] = [0, -1, -2 \mid -13]$

Current Matrix: $\left[\begin{array}{ccc|c} 1 & 1 & 1 & 10 \\ 0 & -1 & 1 & 2 \\ 0 & -1 & -2 & -13 \end{array}\right]$

Step 3: Eliminate entries below pivot in Column 2:

Apply $R_3 \leftarrow R_3 - R_2$:
Row 3 becomes: $[0 - 0,\ -1 - (-1),\ -2 - 1 \mid -13 - 2] = [0, 0, -3 \mid -15]$

Triangular Augmented Matrix (REF): $\left[\begin{array}{ccc|c} 1 & 1 & 1 & 10 \\ 0 & -1 & 1 & 2 \\ 0 & 0 & -3 & -15 \end{array}\right]$

Step 4: Back-substitution:

From Row 3: $-3z = -15 \implies z = \frac{-15}{-3} = 5$
From Row 2: $-y + z = 2 \implies -y + 5 = 2 \implies -y = -3 \implies y = 3$
From Row 1: $x + y + z = 10 \implies x + 3 + 5 = 10 \implies x + 8 = 10 \implies x = 2$

Unique Solution Vector: $\mathbf{x} = \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} 2 \\ 3 \\ 5 \end{pmatrix}$.

6 Matrix Inversion and Singularity

For a square matrix $\mathbf{A} \in \mathbb{R}^{n \times n}$, its multiplicative inverse $\mathbf{A}^{-1}$ is the unique matrix satisfying:

$\mathbf{A}\mathbf{A}^{-1} = \mathbf{A}^{-1}\mathbf{A} = \mathbf{I}_n$

Singularity Conditions

A matrix is classified as invertible (non-singular) if its inverse exists, which occurs if and only if $\det(\mathbf{A}) \neq 0$. Conversely, if $\det(\mathbf{A}) = 0$, the matrix is singular. Singular matrices compress space into a lower dimension, lose information, and cannot be inverted.

Closed-Form Inversion of a 2×2 Matrix

For any second-order matrix $\mathbf{A} = \begin{pmatrix} a & b \\ c & d \end{pmatrix}$, provided that $\det(\mathbf{A}) = ad - bc \neq 0$:

$\mathbf{A}^{-1} = \frac{1}{\det(\mathbf{A})} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix} = \frac{1}{ad - bc}\begin{pmatrix} d & -b \\ -c & a \end{pmatrix}$

Rule of thumb: swap the main diagonal entries ($a$ and $d$), negate the off-diagonal entries ($b$ and $c$), and divide every entry by the determinant scalar.

Gauss-Jordan Matrix Inversion ($[\mathbf{A} \mid \mathbf{I}] \to [\mathbf{I} \mid \mathbf{A}^{-1}]$)

For $n \ge 3$, finding the inverse using the adjugate matrix formula ($\mathbf{A}^{-1} = \frac{1}{\det(\mathbf{A})} \text{adj}(\mathbf{A})$) becomes computationally labor-intensive. The standard numerical technique is Gauss-Jordan Elimination on an augmented matrix partitioned with the identity matrix:

$[\mathbf{A} \mid \mathbf{I}_n] \xrightarrow{\text{Elementary Row Operations}} [\mathbf{I}_n \mid \mathbf{A}^{-1}]$

If row reduction leads to a row of zeros on the left-hand partition before reaching $\mathbf{I}_n$, then $\det(\mathbf{A}) = 0$, proving that $\mathbf{A}$ is singular and non-invertible.

7 Solving Systems of Linear Equations

A system of $n$ linear equations with $n$ unknowns can be cast into the canonical matrix-vector form:

$\mathbf{A}\mathbf{x} = \mathbf{b}$

where $\mathbf{A} \in \mathbb{R}^{n \times n}$ is the coefficient matrix, $\mathbf{x} \in \mathbb{R}^{n \times 1}$ is the column vector of unknowns, and $\mathbf{b} \in \mathbb{R}^{n \times 1}$ is the column vector of constants. Three primary analytical techniques exist to solve this formulation.

Method A: The Matrix Inverse Method

If $\mathbf{A}$ is non-singular ($\det(\mathbf{A}) \neq 0$), both sides of $\mathbf{A}\mathbf{x} = \mathbf{b}$ can be pre-multiplied by $\mathbf{A}^{-1}$:

$\mathbf{A}^{-1}(\mathbf{A}\mathbf{x}) = \mathbf{A}^{-1}\mathbf{b} \implies (\mathbf{A}^{-1}\mathbf{A})\mathbf{x} = \mathbf{A}^{-1}\mathbf{b} \implies \mathbf{I}\mathbf{x} = \mathbf{A}^{-1}\mathbf{b} \implies \mathbf{x} = \mathbf{A}^{-1}\mathbf{b}$

Requirement: Applicable strictly to square systems ($n \times n$) where $\det(\mathbf{A}) \neq 0$.

Method B: Gaussian Elimination

Applicable to square, over-determined ($m > n$), or under-determined ($m < n$) systems. Converts $[\mathbf{A} \mid \mathbf{b}]$ into Row Echelon Form. Handles unique solutions, infinitely many solutions (parametric families), and inconsistent systems ($0 = k$ where $k \neq 0$) with uniform reliability.

Method C: Cramer’s Rule

Cramer’s rule provides an explicit solution formula in terms of determinants. Exact conditions for applicability:

  1. The coefficient matrix $\mathbf{A}$ must be square ($n \times n$, exactly as many equations as variables).
  2. The determinant of the coefficient matrix must be non-zero: $\det(\mathbf{A}) \neq 0$.

If both conditions hold, the unique value of variable $x_i$ is computed as:

$x_i = \frac{\det(\mathbf{A}_i)}{\det(\mathbf{A})}$

where $\mathbf{A}_i$ is the matrix formed by replacing the $i$-th column of $\mathbf{A}$ with the constant column vector $\mathbf{b}$. If $\det(\mathbf{A}) = 0$, Cramer's rule is not applicable; use row reduction to determine whether the system has no solution or infinitely many solutions.

8 Vectors and Linear Transformations in 2D Space

A function $T: \mathbb{R}^n \to \mathbb{R}^m$ is classified as a linear transformation if and only if it preserves vector addition and scalar multiplication for all vectors $\mathbf{u}, \mathbf{v} \in \mathbb{R}^n$ and scalars $c \in \mathbb{R}$:

  1. $T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})$
  2. $T(c\mathbf{u}) = cT(\mathbf{u})$

Every linear transformation $T: \mathbb{R}^2 \to \mathbb{R}^2$ can be explicitly represented as multiplication by a unique $2 \times 2$ standard matrix $\mathbf{T}$ such that $T(\mathbf{x}) = \mathbf{T}\mathbf{x}$.

Standard 2D Transformation Matrices

Scroll the table sideways on a smaller screen.

Transformation Type Matrix Representation $\mathbf{T}$ Coordinate Mapping $(x, y) \mapsto$ $\det(\mathbf{T})$
Scaling (Factors $k_x, k_y$) $\begin{pmatrix} k_x & 0 \\ 0 & k_y \end{pmatrix}$ $(k_x x,\; k_y y)$ $k_x k_y$
Counter-Clockwise Rotation ($\theta$) $\begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix}$ $(x\cos\theta - y\sin\theta,\; x\sin\theta + y\cos\theta)$ $\cos^2\theta + \sin^2\theta = 1$
Reflection across X-axis $\begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}$ $(x,\; -y)$ $-1$
Reflection across Y-axis $\begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix}$ $(-x,\; y)$ $-1$
Reflection across $y = x$ $\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}$ $(y,\; x)$ $-1$
Horizontal Shear (Factor $k$) $\begin{pmatrix} 1 & k \\ 0 & 1 \end{pmatrix}$ $(x + ky,\; y)$ $1$
Vertical Shear (Factor $k$) $\begin{pmatrix} 1 & 0 \\ k & 1 \end{pmatrix}$ $(x,\; kx + y)$ $1$

Composite Transformations and Operational Order

When applying a sequence of transformations, order is crucial due to matrix non-commutativity. If a vector $\mathbf{x}$ is first transformed by $T_1$ (matrix $\mathbf{A}$) and subsequently by $T_2$ (matrix $\mathbf{B}$), the composite mapping is:

$T_2(T_1(\mathbf{x})) = \mathbf{B}(\mathbf{A}\mathbf{x}) = (\mathbf{B}\mathbf{A})\mathbf{x}$

The matrix of the first operation appears on the right, directly multiplying the input vector $\mathbf{x}$.

Geometric Meaning of Determinant, Rank, Kernel, and Image

  • Geometric Determinant: The absolute value $|\det(\mathbf{T})|$ represents the scaling factor of area in $\mathbb{R}^2$ (or volume in $\mathbb{R}^3$) under transformation $\mathbf{T}$. If $\det(\mathbf{T}) < 0$, the transformation reverses orientation; it need not be a pure reflection. If $\det(\mathbf{T}) = 0$, 2D geometric regions are flattened into a 1D line or a 0D point.
  • Kernel (Null Space, $\ker(T)$): The set of all vectors $\mathbf{x}$ mapped to the zero vector: $\ker(T) = \{\mathbf{x} \in \mathbb{R}^n \mid \mathbf{T}\mathbf{x} = \mathbf{0}\}$. The dimension of the kernel is called the nullity. A non-trivial kernel ($\text{nullity} > 0$) implies information loss.
  • Image (Column Space, $\text{im}(T)$): The set of all output vectors generated by the transformation: $\text{im}(T) = \{\mathbf{T}\mathbf{x} \mid \mathbf{x} \in \mathbb{R}^n\}$.
  • Rank: The dimension of the image space, representing the maximum number of linearly independent column (or row) vectors in $\mathbf{T}$.
  • Rank-Nullity Theorem: For any linear mapping $T: \mathbb{R}^n \to \mathbb{R}^m$, the sum of rank and nullity equals the dimension of the domain: $$\text{Rank}(\mathbf{T}) + \text{Nullity}(\mathbf{T}) = n$$

9 Applied Pharmaceutical Formulations and Multi-Component Modeling

Explanation

Educational and Academic Context Notice

The scenarios, component concentrations, and compounding formulations presented below are strictly pedagogical, hypothetical models designed to teach linear systems in a pharmacy school context. They must never be interpreted as clinical dosing protocols, manufacturing instructions, or therapeutic guidelines.

Pharmaceutical Case 1: Compounding Disinfectant Blends (Two-Component System)

A hospital manufacturing pharmacy needs to blend two stock ethanol solutions to prepare $500\text{ mL}$ of an intermediate compounding disinfectant containing $40\%\ (\text{w/v})$ ethanol. The pharmacy inventory contains:

  • Stock Solution A: $20\%\ (\text{w/v})$ ethanol ($0.20\text{ g/mL}$)
  • Stock Solution B: $70\%\ (\text{w/v})$ ethanol ($0.70\text{ g/mL}$)

Let $x_1$ represent the volume of Stock A (in mL) and $x_2$ represent the volume of Stock B (in mL).

System Formulation:

1. Total Volume Conservation: $x_1 + x_2 = 500$

2. Total Solute Mass Conservation: $0.20x_1 + 0.70x_2 = 0.40 \times 500 = 200\text{ g}$

In matrix notation $\mathbf{A}\mathbf{x} = \mathbf{b}$:

$\begin{pmatrix} 1 & 1 \\ 0.20 & 0.70 \end{pmatrix} \begin{pmatrix} x_1 \\ x_2 \end{pmatrix} = \begin{pmatrix} 500 \\ 200 \end{pmatrix}$

Solution via Cramer’s Rule:

Determinant of coefficient matrix $\mathbf{A}$:

$\det(\mathbf{A}) = (1)(0.70) - (1)(0.20) = 0.70 - 0.20 = 0.50$

Determinants of substituted matrices $\mathbf{A}_1$ and $\mathbf{A}_2$:

$\det(\mathbf{A}_1) = \begin{vmatrix} 500 & 1 \\ 200 & 0.70 \end{vmatrix} = (500)(0.70) - (1)(200) = 350 - 200 = 150$

$\det(\mathbf{A}_2) = \begin{vmatrix} 1 & 500 \\ 0.20 & 200 \end{vmatrix} = (1)(200) - (500)(0.20) = 200 - 100 = 100$

Computing the required stock volumes:

$x_1 = \frac{\det(\mathbf{A}_1)}{\det(\mathbf{A})} = \frac{150}{0.50} = 300\text{ mL of Stock A}$

$x_2 = \frac{\det(\mathbf{A}_2)}{\det(\mathbf{A})} = \frac{100}{0.50} = 200\text{ mL of Stock B}$

Formulation Verification: Total volume = $300 + 200 = 500\text{ mL}$. Total ethanol mass = $0.20(300) + 0.70(200) = 60 + 140 = 200\text{ g}$. Concentration = $\frac{200}{500} = 40\%\ (\text{w/v})$. The mathematical model is verified.

Explanation

Modeling assumption: This classroom calculation treats stock volumes as additive. Actual compounding requires a validated procedure and adjustment to the specified final volume; these figures are not preparation instructions.

Pharmaceutical Case 2: Multi-Component Spectrophotometric Calibration

In analytical pharmaceutical chemistry, the absorbance of light by a mixture of non-interacting chromophores at a given wavelength $\lambda$ is additive according to the Beer-Lambert Law:

$A_{\lambda} = \epsilon_{\lambda, 1} c_1 + \epsilon_{\lambda, 2} c_2 + \cdots + \epsilon_{\lambda, n} c_n$ (assuming a standard $1\text{ cm}$ path length)

When analyzing a formulation containing two active ingredients (Drug 1 and Drug 2) measured at two characteristic wavelengths ($\lambda_1 = 254\text{ nm}$ and $\lambda_2 = 280\text{ nm}$), the experimental data yields the matrix relation:

$\begin{pmatrix} A_{254} \\ A_{280} \end{pmatrix} = \begin{pmatrix} \epsilon_{254, 1} & \epsilon_{254, 2} \\ \epsilon_{280, 1} & \epsilon_{280, 2} \end{pmatrix} \begin{pmatrix} c_1 \\ c_2 \end{pmatrix}$

Suppose the specific absorptivities are known from baseline calibration: $\epsilon_{254, 1} = 0.040$, $\epsilon_{254, 2} = 0.010$, $\epsilon_{280, 1} = 0.020$, and $\epsilon_{280, 2} = 0.030\ \text{L}\cdot\text{mg}^{-1}\cdot\text{cm}^{-1}$. A quality control sample produces absorbance readings $A_{254} = 0.60$ and $A_{280} = 0.80$.

Matrix Inversion Approach:

$\mathbf{E} = \begin{pmatrix} 0.040 & 0.010 \\ 0.020 & 0.030 \end{pmatrix}$

$\det(\mathbf{E}) = (0.040)(0.030) - (0.010)(0.020) = 0.0012 - 0.0002 = 0.0010$

$\mathbf{E}^{-1} = \frac{1}{0.0010} \begin{pmatrix} 0.030 & -0.010 \\ -0.020 & 0.040 \end{pmatrix} = \begin{pmatrix} 30 & -10 \\ -20 & 40 \end{pmatrix}$

Multiplying the inverse calibration matrix by the sample absorbance vector:

$\begin{pmatrix} c_1 \\ c_2 \end{pmatrix} = \begin{pmatrix} 30 & -10 \\ -20 & 40 \end{pmatrix} \begin{pmatrix} 0.60 \\ 0.80 \end{pmatrix} = \begin{pmatrix} 30(0.60) - 10(0.80) \\ -20(0.60) + 40(0.80) \end{pmatrix} = \begin{pmatrix} 18 - 8 \\ -12 + 32 \end{pmatrix} = \begin{pmatrix} 10 \\ 20 \end{pmatrix}$

The sample contains $c_1 = 10\text{ mg/L}$ of Drug 1 and $c_2 = 20\text{ mg/L}$ of Drug 2.

Linear System Solution Methods: A Comparative Framework

Scroll the table sideways on a smaller screen.

Method Structural Prerequisites Primary Strengths Limitations & Inefficiencies
Gaussian Elimination Any $m \times n$ matrix (square, rectangular, or singular) Universally reliable; systematically identifies non-unique or inconsistent conditions; computationally efficient ($O(n^3)$). Requires systematic manual back-substitution steps.
Matrix Inverse ($\mathbf{A}^{-1}\mathbf{b}$) Square matrix ($n \times n$) with $\det(\mathbf{A}) \neq 0$ Ideal for repeated quality-control runs where the coefficient matrix $\mathbf{A}$ remains fixed while test vectors $\mathbf{b}$ vary. High computational cost to calculate $\mathbf{A}^{-1}$ for $n \ge 4$; invalid if matrix is singular.
Cramer’s Rule Square matrix ($n \times n$) with $\det(\mathbf{A}) \neq 0$ Provides direct algebraic closed forms for individual variables without needing the full system solution. Requires computing $n+1$ determinants; computationally impractical for higher-order systems ($O((n+1)!)$).

Common Computational Pitfalls in Pharmacy Mathematics

Dimension Mismatch in Products

Attempting to multiply an $m \times p$ matrix by an $r \times n$ matrix where $p \neq r$. Always confirm that the inner dimensions match before performing calculations.

Assuming Commutative Multiplication

Writing $\mathbf{A}\mathbf{B} = \mathbf{B}\mathbf{A}$. If transforming an assay vector by two successive transformations $\mathbf{M}_1$ followed by $\mathbf{M}_2$, the resulting composite transformation is $\mathbf{M}_2\mathbf{M}_1$, never $\mathbf{M}_1\mathbf{M}_2$.

Sign Errors in Cofactor Expansion

Forgetting the checkerboard signs: $\begin{pmatrix} + & - & + \\ - & + & - \\ + & - & + \end{pmatrix}$. A frequent error is omitting the negative sign on the middle term of Row 1 expansion: $-a_{12}\det(M_{12})$.

Applying Cramer's Rule to Singular Matrices

Attempting to divide by $\det(\mathbf{A})$ when $\det(\mathbf{A}) = 0$. Cramer's rule is undefined for singular systems; students must use Gaussian elimination to determine whether the system is inconsistent or dependent.

Self-Assessment Multiple Choice Questions (10 MCQs)

1. If matrix $\mathbf{A}$ is of dimension $2 \times 3$ and matrix $\mathbf{B}$ is of dimension $3 \times 4$, what is the dimension of the product $\mathbf{A}\mathbf{B}$?

a) $3 \times 3$
b) $2 \times 4$
c) $4 \times 2$
d) The product cannot be formed

View Explanation

Correct Answer: b) $2 \times 4$.
The inner dimensions match ($3 = 3$), which means the multiplication is valid. The resulting matrix takes its row count from $\mathbf{A}$ and its column count from $\mathbf{B}$, producing an order of $2 \times 4$.

2. What is the determinant of the 2×2 matrix $\mathbf{K} = \begin{pmatrix} 6 & 3 \\ 4 & 2 \end{pmatrix}$?

a) 0
b) 24
c) -12
d) 6

View Explanation

Correct Answer: a) 0.
$\det(\mathbf{K}) = ad - bc = (6)(2) - (3)(4) = 12 - 12 = 0$. Because its determinant is zero, $\mathbf{K}$ is singular and has no multiplicative inverse.

3. If $\mathbf{A}$ and $\mathbf{B}$ are invertible square matrices of equal dimension, which identity correctly represents the transpose of their product?

a) $(\mathbf{A}\mathbf{B})^T = \mathbf{A}^T\mathbf{B}^T$
b) $(\mathbf{A}\mathbf{B})^T = \mathbf{B}^T\mathbf{A}^T$
c) $(\mathbf{A}\mathbf{B})^T = (\mathbf{B}\mathbf{A})^{-1}$
d) $(\mathbf{A}\mathbf{B})^T = \det(\mathbf{A})\mathbf{B}^T$

View Explanation

Correct Answer: b) $(\mathbf{A}\mathbf{B})^T = \mathbf{B}^T\mathbf{A}^T$.
Both transposes and inverses reverse multiplication order: $(\mathbf{A}\mathbf{B})^T = \mathbf{B}^T\mathbf{A}^T$ and $(\mathbf{A}\mathbf{B})^{-1} = \mathbf{B}^{-1}\mathbf{A}^{-1}$.

4. Under what circumstance is Cramer's rule invalid for solving a system of $n$ linear equations with $n$ variables?

a) When the constant column vector $\mathbf{b}$ contains negative numbers
b) When the determinant of the coefficient matrix equals zero ($\det(\mathbf{A}) = 0$)
c) When the system has a unique, non-zero solution
d) When all diagonal entries in $\mathbf{A}$ are equal to 1

View Explanation

Correct Answer: b) When $\det(\mathbf{A}) = 0$.
Cramer’s rule evaluates $x_i = \frac{\det(\mathbf{A}_i)}{\det(\mathbf{A})}$. If $\det(\mathbf{A}) = 0$, this leads to division by zero, making the rule inapplicable.

5. Which of the following operations alters the absolute value of the determinant of a matrix?

a) Adding 4 times row 1 to row 2
b) Swapping row 1 and row 3
c) Multiplying row 2 by a scalar constant $k = 3$
d) Transposing the entire matrix

View Explanation

Correct Answer: c) Multiplying row 2 by a scalar constant $k = 3$.
Multiplying any single row by a factor $k$ scales the determinant by $k$. Swapping rows only changes the sign (preserving absolute value), adding multiples of rows leaves the determinant unchanged, and transposition has no effect on the determinant.

6. What is the standard 2D matrix transformation for a counter-clockwise rotation through an angle $\theta = 90^\circ$ ($\frac{\pi}{2}$ radians)?

a) $\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}$
b) $\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}$
c) $\begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix}$
d) $\begin{pmatrix} -1 & 0 \\ 0 & -1 \end{pmatrix}$

View Explanation

Correct Answer: a) $\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}$.
The general rotation matrix is $\begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix}$. For $\theta = 90^\circ$, $\cos(90^\circ) = 0$ and $\sin(90^\circ) = 1$, yielding $\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}$.

7. According to the Rank-Nullity Theorem, if a linear transformation maps $T: \mathbb{R}^4 \to \mathbb{R}^3$ and has an image of dimension 3, what is the dimension of its kernel (nullity)?

a) 0
b) 1
c) 3
d) 4

View Explanation

Correct Answer: b) 1.
By the Rank-Nullity Theorem, $\text{Rank}(T) + \text{Nullity}(T) = n$, where $n$ is the dimension of the domain ($\mathbb{R}^4$, so $n=4$). Therefore: $3 + \text{Nullity}(T) = 4 \implies \text{Nullity}(T) = 1$.

8. A $2 \times 2$ transformation matrix $\mathbf{T}$ has determinant $\det(\mathbf{T}) = -2$. What effect does this transformation have on a geometric region of area $5\text{ cm}^2$?

a) Scales the area to $10\text{ cm}^2$ and preserves coordinate orientation
b) Scales the area to $10\text{ cm}^2$ and reverses coordinate orientation
c) Compresses the area to $2.5\text{ cm}^2$
d) Reduces the area to 0

View Explanation

Correct Answer: b) Scales the area to $10\text{ cm}^2$ and reverses coordinate orientation.
The factor of area scaling is $|\det(\mathbf{T})| = |-2| = 2$. Thus, the new area is $5 \times 2 = 10\text{ cm}^2$. The negative sign indicates an orientation reversal (reflection).

9. What is the inverse of the matrix $\mathbf{A} = \begin{pmatrix} 3 & 2 \\ 1 & 1 \end{pmatrix}$?

a) $\begin{pmatrix} 1 & -2 \\ -1 & 3 \end{pmatrix}$
b) $\begin{pmatrix} -1 & 2 \\ 1 & -3 \end{pmatrix}$
c) $\begin{pmatrix} 3 & -2 \\ -1 & 1 \end{pmatrix}$
d) $\begin{pmatrix} 1 & 2 \\ 1 & 3 \end{pmatrix}$

View Explanation

Correct Answer: a) $\begin{pmatrix} 1 & -2 \\ -1 & 3 \end{pmatrix}$.
$\det(\mathbf{A}) = (3)(1) - (2)(1) = 3 - 2 = 1$. The 2×2 inverse formula gives: $\mathbf{A}^{-1} = \frac{1}{1}\begin{pmatrix} 1 & -2 \\ -1 & 3 \end{pmatrix} = \begin{pmatrix} 1 & -2 \\ -1 & 3 \end{pmatrix}$.

10. In a Gaussian elimination procedure, if reducing an augmented matrix produces the row $[0\ 0\ 0 \mid 7]$, what does this indicate about the underlying system?

a) The system has a unique solution with $z = 7$
b) The system has infinitely many free variables
c) The system is inconsistent and has no solution
d) The coefficient matrix is invertible

View Explanation

Correct Answer: c) The system is inconsistent and has no solution.
The row corresponds to the algebraic statement $0x_1 + 0x_2 + 0x_3 = 7$, which simplifies to the contradiction $0 = 7$. A system containing such a row has no solution.

Extended Pharmaceutical Practice Problems (Step-by-Step Solutions)

Problem 1: Three-Stock Compounding Buffer Optimization

A manufacturing pharmacy laboratory needs to formulate $1000\text{ mL}$ of a specialized buffer solution containing $12\%\ (\text{w/v})$ of an excipient base. The technician has three bulk stock solutions available:

  • Stock 1 ($x$): $5\%\ (\text{w/v})$ excipient
  • Stock 2 ($y$): $10\%\ (\text{w/v})$ excipient
  • Stock 3 ($z$): $25\%\ (\text{w/v})$ excipient

Operational constraints require that the volume of Stock 2 used must be exactly twice the volume of Stock 1 ($y = 2x$). Set up a system of three linear equations and solve for the exact volume of each stock solution needed using Gaussian elimination.

Full Worked Solution:

1. Formulate the system of equations:

  1. Volume conservation: $x + y + z = 1000$
  2. Mass conservation: $0.05x + 0.10y + 0.25z = 0.12(1000) = 120$
  3. Operational constraint: $-2x + y + 0z = 0$ (from $y = 2x$)

Multiply the second equation by $100$ to clear decimals: $5x + 10y + 25z = 12000 \implies x + 2y + 5z = 2400$ (dividing by 5).

2. Set up the augmented matrix:

$\left[\begin{array}{ccc|c} 1 & 1 & 1 & 1000 \\ 1 & 2 & 5 & 2400 \\ -2 & 1 & 0 & 0 \end{array}\right]$

3. Row reduction to echelon form:

$R_2 \leftarrow R_2 - R_1$:
Row 2 becomes: $[1-1,\ 2-1,\ 5-1 \mid 2400-1000] = [0,\ 1,\ 4 \mid 1400]$

$R_3 \leftarrow R_3 + 2R_1$:
Row 3 becomes: $[-2+2(1),\ 1+2(1),\ 0+2(1) \mid 0+2(1000)] = [0,\ 3,\ 2 \mid 2000]$

Current state: $\left[\begin{array}{ccc|c} 1 & 1 & 1 & 1000 \\ 0 & 1 & 4 & 1400 \\ 0 & 3 & 2 & 2000 \end{array}\right]$

$R_3 \leftarrow R_3 - 3R_2$:
Row 3 becomes: $[0-0,\ 3-3(1),\ 2-3(4) \mid 2000-3(1400)] = [0,\ 0,\ -10 \mid -2200]$

4. Back-substitution:

From Row 3: $-10z = -2200 \implies z = \frac{-2200}{-10} = 220\text{ mL}$
From Row 2: $y + 4(220) = 1400 \implies y + 880 = 1400 \implies y = 520\text{ mL}$
From Row 1: $x + 520 + 220 = 1000 \implies x + 740 = 1000 \implies x = 260\text{ mL}$

5. Verification:

Check constraint: $y = 2x \implies 520 = 2(260)$ (verified).
Check mass: $0.05(260) + 0.10(520) + 0.25(220) = 13 + 52 + 55 = 120\text{ g}$ (verified).
Check volume: $260 + 520 + 220 = 1000\text{ mL}$ (verified).

Conclusion: The formulation requires $260\text{ mL}$ of Stock 1, $520\text{ mL}$ of Stock 2, and $220\text{ mL}$ of Stock 3.

Explanation

Modeling assumption: This idealized exercise treats stock volumes as additive. In practice, follow a validated compounding procedure and bring the preparation to the specified final volume; these figures are not a formulation protocol.

Problem 2: Matrix Inversion for High-Throughput Spectrophotometry

A multi-wavelength spectrophotometric assay for a two-component analytical mixture produces the following system of linear equations relating absorbance readings $A_1, A_2$ to unknown concentrations $c_1, c_2$ ($\mu\text{g/mL}$):

$\begin{aligned} 2c_1 + 5c_2 &= A_1 \\ 1c_1 + 3c_2 &= A_2 \end{aligned}$

Find the inverse matrix $\mathbf{A}^{-1}$ and calculate the concentrations for two distinct experimental runs:

  • Run Alpha: $A_1 = 29$, $A_2 = 17$
  • Run Beta: $A_1 = 44$, $A_2 = 26$

Full Worked Solution:

1. Write the system in matrix form:

$\mathbf{A} = \begin{pmatrix} 2 & 5 \\ 1 & 3 \end{pmatrix}, \quad \mathbf{c} = \begin{pmatrix} c_1 \\ c_2 \end{pmatrix}, \quad \mathbf{A}\mathbf{c} = \mathbf{A}_{\text{obs}}$

2. Compute the determinant and inverse of $\mathbf{A}$:

$\det(\mathbf{A}) = (2)(3) - (5)(1) = 6 - 5 = 1$

Using the 2×2 inversion formula: $$\mathbf{A}^{-1} = \frac{1}{\det(\mathbf{A})} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix} = \frac{1}{1} \begin{pmatrix} 3 & -5 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} 3 & -5 \\ -1 & 2 \end{pmatrix}$$

3. Solve Run Alpha ($A_1 = 29, A_2 = 17$):

$\mathbf{c}_{\alpha} = \mathbf{A}^{-1}\mathbf{b}_{\alpha} = \begin{pmatrix} 3 & -5 \\ -1 & 2 \end{pmatrix} \begin{pmatrix} 29 \\ 17 \end{pmatrix}$

$c_1 = 3(29) + (-5)(17) = 87 - 85 = 2\ \mu\text{g/mL}$
$c_2 = -1(29) + 2(17) = -29 + 34 = 5\ \mu\text{g/mL}$

4. Solve Run Beta ($A_1 = 44, A_2 = 26$):

$\mathbf{c}_{\beta} = \mathbf{A}^{-1}\mathbf{b}_{\beta} = \begin{pmatrix} 3 & -5 \\ -1 & 2 \end{pmatrix} \begin{pmatrix} 44 \\ 26 \end{pmatrix}$

$c_1 = 3(44) + (-5)(26) = 132 - 130 = 2\ \mu\text{g/mL}$
$c_2 = -1(44) + 2(26) = -44 + 52 = 8\ \mu\text{g/mL}$

Notice how finding $\mathbf{A}^{-1}$ once allows rapid processing of multiple analytical runs without re-solving the system from scratch.

Problem 3: Composite Coordinate Transformations in Formulations

A computer-aided particle modeling system tracks the cross-sectional geometry of a drug crystal. The model coordinates undergo two successive transformations:

  1. An expansion (horizontal scaling by a factor of 3 and vertical scaling by a factor of 2), represented by matrix $\mathbf{S}$.
  2. A horizontal shear by a factor of $k = 1.5$, represented by matrix $\mathbf{H}$.

Find the standard matrix of the composite transformation $\mathbf{C}$ that maps the original coordinates directly to the final state. Then, determine the image of the initial coordinate point $\mathbf{v} = \begin{pmatrix} 4 \\ 2 \end{pmatrix}$ and calculate the area scaling factor of the composite mapping.

Full Worked Solution:

1. Write the individual transformation matrices:

Scaling matrix: $\mathbf{S} = \begin{pmatrix} 3 & 0 \\ 0 & 2 \end{pmatrix}$

Horizontal shear matrix: $\mathbf{H} = \begin{pmatrix} 1 & 1.5 \\ 0 & 1 \end{pmatrix}$

2. Compute the composite matrix $\mathbf{C}$ (apply $\mathbf{S}$ first, then $\mathbf{H}$):

$\mathbf{C} = \mathbf{H}\mathbf{S} = \begin{pmatrix} 1 & 1.5 \\ 0 & 1 \end{pmatrix} \begin{pmatrix} 3 & 0 \\ 0 & 2 \end{pmatrix}$

$c_{11} = (1)(3) + (1.5)(0) = 3$
$c_{12} = (1)(0) + (1.5)(2) = 3$
$c_{21} = (0)(3) + (1)(0) = 0$
$c_{22} = (0)(0) + (1)(2) = 2$

$$\mathbf{C} = \begin{pmatrix} 3 & 3 \\ 0 & 2 \end{pmatrix}$$

3. Transform the coordinate vector $\mathbf{v}$:

$\mathbf{v}' = \mathbf{C}\mathbf{v} = \begin{pmatrix} 3 & 3 \\ 0 & 2 \end{pmatrix} \begin{pmatrix} 4 \\ 2 \end{pmatrix} = \begin{pmatrix} 3(4) + 3(2) \\ 0(4) + 2(2) \end{pmatrix} = \begin{pmatrix} 12 + 6 \\ 0 + 4 \end{pmatrix} = \begin{pmatrix} 18 \\ 4 \end{pmatrix}$

4. Determine the area scaling factor:

$\det(\mathbf{C}) = (3)(2) - (3)(0) = 6 - 0 = 6$

Conclusion: The composite matrix is $\begin{pmatrix} 3 & 3 \\ 0 & 2 \end{pmatrix}$, the point maps to $(18, 4)$, and all 2D cross-sectional areas expand by a factor of exactly 6.

Glossary of Key Terms

Augmented Matrix
A coefficient matrix combined with the constant column vector, written $[\mathbf{A} \mid \mathbf{b}]$, to facilitate systematic row reduction.
Cofactor Expansion (Laplace Expansion)
A method for computing the determinant of an $n \times n$ matrix by breaking it down into a linear combination of smaller $(n-1) \times (n-1)$ sub-determinants weighted by signed position factors $(-1)^{i+j}$.
Consistent System
A system of linear equations that has at least one valid mathematical solution (either a single unique solution or infinitely many solutions).
Identity Matrix ($\mathbf{I}$)
A square matrix whose main diagonal elements are all 1 and all other elements are 0. It serves as the multiplicative identity: $\mathbf{A}\mathbf{I} = \mathbf{I}\mathbf{A} = \mathbf{A}$.
Kernel (Null Space)
The set of all domain vectors mapped to the zero vector by a linear transformation. Its dimension is the nullity of the transformation.
Rank
The maximum number of linearly independent row or column vectors in a matrix, representing the dimension of its image space.
Singular Matrix
A square matrix with a determinant of zero ($\det(\mathbf{A}) = 0$). Singular matrices have no multiplicative inverse.

Curriculum References

The concepts covered in this module align with standard undergraduate higher mathematics curricula for pharmacy students, based on open-access, peer-reviewed foundations:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top