...
Sign in
Computer Science

Matrix notation

Matrix notation

Share:

Matrix notation

Introduction / Definition

A matrix is a rectangular arrangement of numbers in rows and columns. Each entry is identified by its row and column index. Matrices are used to represent data, systems of equations, and linear transformations. Their dimensions determine which operations are possible.

Syntax / Mathematical Form

A=[aᵢⱼ]ₘₓₙ

Detailed Explanation

For an m×n matrix, i=1,…,m and j=1,…,n. A square matrix has m=n. The notation aᵢⱼ identifies one element.

Example

A = [ 2 5 1 ]
    [ 4 0 3 ]  
Here a₂₃=3.

Output

A is 2×3 and a₂₃=3.

Important Points / Notes

  • Rows come first, columns second.
  • Dimensions must be checked before operations.
  • Square matrices have equal row and column counts.

Mini Practice Question

For A = [ 1 2 ] [ 3 4 ], find a₁₂.


CheckpointTest Yourself

In standard matrix notation, what do the indices $i$ and $j$ represent in the entry $a_{ij}$ of an $m \times n$ matrix $A$?

Lesson Milestone

Finished Reading This Lesson?

Mark this lesson complete. A chapter counts as done once all its lessons are, and that adds to your course progress.

TH

Written by

ThinkWisely Team

Have a Question or Suggestion?

We'd love to hear from you. Drop your thoughts below to help us improve ThinkWisely!