← Back to all lessons
Class 12Algebra5:15Published 17 May 2026

Matrix Function f(x) f(y) = f(x + y), Exercise 3.2

A Class 12 worked question from Exercise 3.2: given the rotation matrix f(x), multiply f(x) by f(y) and use the angle-addition formulas to show the product equals f(x + y).

This lesson works through a sure-shot matrix question from Exercise 3.2. The matrix f(x) holds cosine and sine entries arranged like a rotation, and the task is to prove that f(x) times f(y) gives f(x + y). The teacher multiplies the two matrices row into column, then simplifies each entry with the addition formulas for cosine and sine to recover the same matrix in the angle x + y.

What you'll learn

  • How to write down the matrix f(y) by replacing the angle in f(x)
  • How to multiply the two matrices using the row into column rule
  • How the cosine and sine addition formulas simplify each entry
  • Why the product f(x) times f(y) comes out equal to f(x + y)

Lesson chapters

0:00The question and the matrix f(x)
0:56Writing f(y) from f(x)
1:14Multiplying f(x) by f(y) row into column
4:28Simplifying with the addition formulas
5:07Conclusion: the product is f(x + y)

Lesson notes

This lesson works the product question from Exercise 3.2. We are given a matrix-valued function f(x)f(x) built from cosx\cos x and sinx\sin x, and we show that f(x)f(y)=f(x+y)f(x)\,f(y) = f(x+y) by multiplying the matrices and applying the angle-addition formulas.

The given matrix

The function is f(x)=[cosxsinx0sinxcosx0001]f(x) = \begin{bmatrix} \cos x & -\sin x & 0 \\ \sin x & \cos x & 0 \\ 0 & 0 & 1 \end{bmatrix} Replacing xx by yy gives f(y)=[cosysiny0sinycosy0001]f(y) = \begin{bmatrix} \cos y & -\sin y & 0 \\ \sin y & \cos y & 0 \\ 0 & 0 & 1 \end{bmatrix} We want to compute the product f(x)f(y)f(x)\,f(y).

Multiplying f(x) by f(y)

Both matrices are 3×33 \times 3, so the product is 3×33 \times 3. Multiply row into column.

First row

Entry (1,1): first row of f(x)f(x) into first column of f(y)f(y): cosxcosy+(sinx)(siny)+0=cosxcosysinxsiny\cos x\cos y + (-\sin x)(\sin y) + 0 = \cos x\cos y - \sin x\sin y

Entry (1,2): first row into second column: cosx(siny)+(sinx)cosy+0=cosxsinysinxcosy\cos x(-\sin y) + (-\sin x)\cos y + 0 = -\cos x\sin y - \sin x\cos y

Entry (1,3): first row into third column: 0+0+0=00 + 0 + 0 = 0.

Second row

Entry (2,1): second row into first column: sinxcosy+cosxsiny+0=sinxcosy+cosxsiny\sin x\cos y + \cos x\sin y + 0 = \sin x\cos y + \cos x\sin y

Entry (2,2): second row into second column: sinx(siny)+cosxcosy+0=cosxcosysinxsiny\sin x(-\sin y) + \cos x\cos y + 0 = \cos x\cos y - \sin x\sin y

Entry (2,3): second row into third column: 00.

Third row

The third row of f(x)f(x) is [001]\begin{bmatrix} 0 & 0 & 1 \end{bmatrix}, so it picks out the third row of f(y)f(y): the entries are 00, 00, and 11.

Simplifying with the addition formulas

Now apply the standard identities: cosxcosysinxsiny=cos(x+y)\cos x\cos y - \sin x\sin y = \cos(x+y) sinxcosy+cosxsiny=sin(x+y)\sin x\cos y + \cos x\sin y = \sin(x+y) So the off-diagonal entry cosxsinysinxcosy=sin(x+y)-\cos x\sin y - \sin x\cos y = -\sin(x+y). Substituting these into the product gives f(x)f(y)=[cos(x+y)sin(x+y)0sin(x+y)cos(x+y)0001]f(x)\,f(y) = \begin{bmatrix} \cos(x+y) & -\sin(x+y) & 0 \\ \sin(x+y) & \cos(x+y) & 0 \\ 0 & 0 & 1 \end{bmatrix}

Conclusion

This is exactly the given matrix with xx replaced by x+yx+y, that is f(x)f(y)=f(x+y)f(x)\,f(y) = f(x+y) which is what we set out to prove.

Key takeaways

  • Write f(y)f(y) by replacing the angle xx with yy in f(x)f(x), then multiply the two matrices row into column.
  • The diagonal entries give cosxcosysinxsiny=cos(x+y)\cos x\cos y - \sin x\sin y = \cos(x+y) and the lower entry gives sinxcosy+cosxsiny=sin(x+y)\sin x\cos y + \cos x\sin y = \sin(x+y).
  • The product matches ff evaluated at x+yx+y, so f(x)f(y)=f(x+y)f(x)\,f(y) = f(x+y).