Scalar Matrix: Definition and Examples
On this page· 13 sections
Source & scope. Class 12 Mathematics, Chapter 3 Matrices, Section 3.3 Types of Matrices, item (v) Scalar matrix. Builds on: Diagonal Matrix: Definition and Examples. Next: Identity Matrix: Definition, Notation and Properties, the special case of a scalar matrix with k = 1.
Source & scope. Class 12 Mathematics, Chapter 3 Matrices, Section 3.3 Types of Matrices, item (v) Scalar matrix. Builds on: Diagonal Matrix: Definition and Examples. Next: Identity Matrix: Definition, Notation and Properties, the special case of a scalar matrix with k = 1.
A diagonal matrix is said to be a scalar matrix if all of its diagonal elements are equal. Formally, a square matrix B = is a scalar matrix if bᵢⱼ = 0 whenever i ≠ j, and bᵢⱼ = k (the same constant k) whenever i = j.
At a glance
- A scalar matrix is a diagonal matrix whose diagonal entries are all equal to one constant k.
- Conditions: bᵢⱼ = 0 when i ≠ j, and bᵢⱼ = k (constant) when i = j.
- Every scalar matrix is a diagonal matrix, but not every diagonal matrix is a scalar matrix.
- NCERT's examples: [3] (order 1), a 2×2 matrix with k = −1 on the diagonal, and a 3×3 matrix with k = 3 on the diagonal.
- When k = 1, a scalar matrix becomes an identity matrix (covered in the next article).
Learning objectives
- State NCERT's definition of a scalar matrix in terms of the constant k.
- Identify a scalar matrix by inspection and distinguish it from a general diagonal matrix.
- Reproduce scalar-matrix examples of order 1, 2 and 3.
- Explain why "scalar matrix" is a stricter condition than "diagonal matrix."
Prerequisite knowledge
The reader should already know the definitions of a square matrix and a diagonal matrix (bᵢⱼ = 0 for i ≠ j, with the diagonal entries free to differ) before specialising to the case where every diagonal entry is forced to be the same constant.
Core explanation
Definition. NCERT states: a diagonal matrix is said to be a scalar matrix if its diagonal elements are equal. Precisely, a square matrix B = is a scalar matrix if bᵢⱼ = 0 when i ≠ j, and bᵢⱼ = k when i = j, for some constant k. The word "scalar" refers to the fact that the single number k behaves like a scalar multiplier sitting uniformly along the diagonal.
Order 1 example. A = [3] is a scalar matrix of order 1, with k = 3. Any 1×1 matrix is trivially both diagonal and scalar, since there are no off-diagonal positions to check and only one diagonal entry, which is automatically "equal to itself."
Order 2 example. NCERT's second example is the 2×2 scalar matrix with k = −1:
Here b₁₁ = b₂₂ = −1 (the diagonal entries, both equal to k = −1) and b₁₂ = b₂₁ = 0 (the off-diagonal entries). Both scalar-matrix conditions hold, so B is a scalar matrix of order 2.
Order 3 example. NCERT's third example is the 3×3 scalar matrix with k = 3:
Every off-diagonal entry is 0, and every diagonal entry equals the same constant k = 3, so C is a scalar matrix of order 3.
Scalar matrix vs. diagonal matrix. Every scalar matrix is automatically a diagonal matrix, because the off-diagonal condition (bᵢⱼ = 0 for i ≠ j) is identical in both definitions. The extra, stricter requirement a scalar matrix adds is that all diagonal entries must be equal to one single constant k — a diagonal matrix only requires the off-diagonal entries to vanish, and its diagonal entries are free to be different from each other. So "scalar matrix" is a special case of "diagonal matrix," not a synonym for it: diag(2, 5, −1) is diagonal but not scalar (its diagonal entries differ), while diag(3, 3, 3) is both diagonal and scalar.
Key terms
- Scalar matrix — a diagonal matrix whose diagonal entries are all equal to one constant k.
- Diagonal matrix — a square matrix with bᵢⱼ = 0 for all i ≠ j (diagonal entries may differ).
- Constant k — the single value shared by every diagonal entry of a scalar matrix.
- Off-diagonal entry — any entry bᵢⱼ with i ≠ j; always 0 in both diagonal and scalar matrices.
Diagram / figure guidance
Draw three small square grids side by side, for orders 1, 2 and 3. In each, shade only the main diagonal cells and write the same constant k inside every shaded cell (k = 3, k = −1, k = 3 respectively, matching NCERT's examples), leaving all off-diagonal cells blank/zero, to visually reinforce "one repeated number down the diagonal, zero everywhere else."
Worked example
Is the diagonal matrix D = diag(5, 5, 5, 5) a scalar matrix? Is D′ = diag(5, 2, 5, 5) a scalar matrix? Give the value of k where applicable.
For D = diag(5, 5, 5, 5): write out the entries. All off-diagonal entries are 0 (it is given as a diagonal matrix), and the diagonal entries are d₁₁ = 5, d₂₂ = 5, d₃₃ = 5, d₄₄ = 5 — every diagonal entry equals the same constant, k = 5. Both scalar-matrix conditions (off-diagonal zero, diagonal entries all equal) hold, so D is a scalar matrix with k = 5.
For D′ = diag(5, 2, 5, 5): the off-diagonal entries are again all 0, so D′ is diagonal. But the diagonal entries are 5, 2, 5, 5 — the second entry (2) is not equal to the others (5). Since the diagonal entries are not all equal, there is no single constant k that fits every diagonal position, so D′ is diagonal but not a scalar matrix.
Common misconceptions
- "Every diagonal matrix is a scalar matrix." False — a diagonal matrix only requires zero off-diagonal entries; its diagonal entries can all differ. A scalar matrix additionally requires every diagonal entry to equal one constant k. diag(1, 2, 3) is diagonal but not scalar.
- "A scalar matrix must have k = 1." Not necessarily — k can be any constant, including 0, negative numbers, or fractions; NCERT's own examples use k = 3 and k = −1. (k = 1 gives the special case called the identity matrix, covered separately.)
- "A 1×1 matrix like [7] isn't really a 'scalar' matrix since there's nothing to compare it to." It still satisfies the definition trivially — there are no off-diagonal entries to violate, and its single diagonal entry is "equal to itself," so every 1×1 matrix is a scalar matrix.
- "Scalar matrices must be square matrices of order greater than 1." A scalar matrix is always square (the definition is stated only for n × n matrices), but n can be any positive integer, including 1.
Exam application (JEE)
JEE frequently tests scalar matrices inside "classify the matrix" questions, where a student must correctly place a given diagonal matrix into the stricter scalar-matrix category only if all diagonal entries match, and inside matrix-algebra identities where a scalar matrix kIₙ (k times the identity) commutes with every matrix of the same order — a property used when simplifying expressions like AB − BA for special matrices A, B. A common error is treating "diagonal" and "scalar" as interchangeable terms when answering classification questions.
Frequently asked questions
- What is a scalar matrix? A scalar matrix is a diagonal matrix in which all the diagonal elements are equal to one constant k, with every off-diagonal element equal to 0.
- Is every scalar matrix a diagonal matrix? Yes — the off-diagonal condition for a scalar matrix is identical to that of a diagonal matrix; a scalar matrix is simply a diagonal matrix with the extra restriction that all diagonal entries are equal.
- Is every diagonal matrix a scalar matrix? No — a diagonal matrix like diag(2, 5, −1), whose diagonal entries differ, is diagonal but not scalar.
- What are NCERT's examples of scalar matrices? [3] of order 1, a 2×2 matrix with k = −1 on the diagonal, and a 3×3 matrix with k = 3 on the diagonal.
- What happens to a scalar matrix when k = 1? It becomes an identity matrix — the identity matrix is the special scalar matrix with k = 1.
Practice questions (original practice questions)
- Which of the following is a scalar matrix?
- (a) diag(4, 4, 4)
- (b) diag(4, 0, 4)
- (c) diag(4, 4, 7)
- (d) diag(1, 4, 4)
- Answer: (a) — All three diagonal entries equal the same constant k = 4, with all off-diagonal entries zero.
- For a scalar matrix of order 3 with k = −2, what is the sum of its diagonal entries?
- (a) −2
- (b) −6
- (c) 6
- (d) 2
- Answer: (b) — Each of the 3 diagonal entries equals −2, so the sum is 3 × (−2) = −6.
- Which statement correctly relates diagonal and scalar matrices?
- (a) They are the same thing
- (b) Every scalar matrix is diagonal, but not every diagonal matrix is scalar
- (c) Every diagonal matrix is scalar, but not every scalar matrix is diagonal
- (d) Neither is ever a square matrix
- Answer: (b) — A scalar matrix adds the extra condition that all diagonal entries be equal; a diagonal matrix alone does not require this.
- A matrix E = satisfies eᵢⱼ = 0 for i ≠ j and e₁₁ = e₂₂ = 0. Is E a scalar matrix, and if so with what value of k?
- (a) Not a scalar matrix
- (b) Scalar matrix with k = 0
- (c) Scalar matrix with k = 1
- (d) Cannot be determined
- Answer: (b) — Both diagonal entries equal 0 (a valid constant), and all off-diagonal entries are 0, so E is a scalar matrix with k = 0.
- If F is a scalar matrix of order n with constant k ≠ 0, how many of its entries are nonzero?
- (a) n²
- (b) n
- (c) 1
- (d) n − 1
- Answer: (b) — Only the n diagonal entries equal k ≠ 0; all n² − n off-diagonal entries are 0.
Quick revision
- A scalar matrix is a diagonal matrix with all diagonal entries equal to one constant k.
- Conditions: , .
- NCERT examples: [3] (order 1), k = −1 (order 2), k = 3 (order 3).
- Every scalar matrix is diagonal, but not every diagonal matrix is scalar.
- gives the special case of an identity matrix.
Related articles
- Builds on: Diagonal Matrix: Definition and Examples
- Next: Identity Matrix: Definition, Notation and Properties
- See also: Zero Matrix (Null Matrix): Definition and Examples, Equality of Matrices: Definition and Solving for Unknowns, Square Matrix: Definition, Order and the Diagonal, and the sibling cluster on matrix operations (addition, scalar multiplication).
- Related topics: Addition of Matrices: Definition, Rule and Examples, Applications of Matrices: Why Matrices Matter in Mathematics and Beyond, Column Matrix: Definition and Examples, Definition of a Matrix: Rows, Columns and Entries, Difference of Matrices (A − B): Definition and a Worked Example, Expressing Any Square Matrix as the Sum of a Symmetric and a Skew-Symmetric Matrix