Class 12 Maths, Worked in Full Past papersGet updates
Chapter 3 · Matrices

Exercise 3.2 · Q13: Show F(x)F(y)=F(x+y)F(x)F(y)=F(x+y)

Exercise 3.2Matrix multiplication · Section 3.4.5
The question

If

F(x)=[cos⁡x−sin⁡x0sin⁡xcos⁡x0001],F(x) = \begin{bmatrix} \cos x & -\sin x & 0 \\ \sin x & \cos x & 0 \\ 0 & 0 & 1 \end{bmatrix},

show that F(x) F(y)=F(x+y)F(x)\,F(y) = F(x + y)⁠.

Exam answer F(x)F(y)=[cos⁡x−sin⁡x0sin⁡xcos⁡x0001]×[cos⁡y−sin⁡y0sin⁡ycos⁡y0001]\begin{aligned} &F(x)F(y) \\ &= \begin{bmatrix} \cos x & -\sin x & 0 \\ \sin x & \cos x & 0 \\ 0 & 0 & 1 \end{bmatrix} \\ &\quad\times \begin{bmatrix} \cos y & -\sin y & 0 \\ \sin y & \cos y & 0 \\ 0 & 0 & 1 \end{bmatrix} \end{aligned}

Multiplying row by column, with cijc_{ij} the entries of F(x)F(y)F(x)F(y)⁠, and using the formulas for cos⁡(x+y)\cos(x + y) and sin⁡(x+y)\sin(x + y)⁠,

c11=cos⁡xcos⁡y−sin⁡xsin⁡y+0=cos⁡(x+y)c12=−cos⁡xsin⁡y−sin⁡xcos⁡y+0=−sin⁡(x+y)c13=0+0+0=0c21=sin⁡xcos⁡y+cos⁡xsin⁡y+0=sin⁡(x+y)c22=−sin⁡xsin⁡y+cos⁡xcos⁡y+0=cos⁡(x+y)c23=0+0+0=0c31=0+0+0=0c32=0+0+0=0c33=0+0+1=1\begin{aligned} c_{11} &= \cos x\cos y \\ &\quad - \sin x\sin y + 0 \\ &= \cos(x + y) \\ c_{12} &= -\cos x\sin y \\ &\quad - \sin x\cos y + 0 \\ &= -\sin(x + y) \\ c_{13} &= 0 + 0 + 0 = 0 \\ c_{21} &= \sin x\cos y \\ &\quad + \cos x\sin y + 0 \\ &= \sin(x + y) \\ c_{22} &= -\sin x\sin y \\ &\quad + \cos x\cos y + 0 \\ &= \cos(x + y) \\ c_{23} &= 0 + 0 + 0 = 0 \\ c_{31} &= 0 + 0 + 0 = 0 \\ c_{32} &= 0 + 0 + 0 = 0 \\ c_{33} &= 0 + 0 + 1 = 1 \end{aligned} F(x)F(y)=[cos⁡(x+y)−sin⁡(x+y)0sin⁡(x+y)cos⁡(x+y)0001]\begin{aligned} &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} \end{aligned}

∴ F(x)F(y)=F(x+y)\therefore\ F(x)F(y) = F(x + y)⁠. Hence proved.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Multiply the two matrices entry by entry. Each entry of the product is a sum such as cos⁡xcos⁡y−sin⁡xsin⁡y\cos x\cos y - \sin x\sin y⁠, and these sums are exactly the right-hand sides of the compound angle formulas. So the product is the matrix with x+yx + y in place of xx⁠, which is F(x+y)F(x+y)⁠. (Geometrically, F(x)F(x) turns the plane through the angle xx⁠; turning by yy and then by xx is turning by x+yx + y⁠.)

Given, to find, and the plan
Given
The 3×33\times3 matrix F(x)F(x) above, defined for every real number xx⁠.
To show
F(x)F(y)=F(x+y)F(x)F(y) = F(x+y) for all real xx and yy⁠.
Plan
(1) Write down F(y)F(y) and F(x+y)F(x+y) and check that the product is defined. (2) Compute the nine entries of F(x)F(y)F(x)F(y)⁠, row by row. (3) Simplify with the compound angle formulas. (4) Compare with F(x+y)F(x+y) entry by entry.

Basics you need

1Matrix multiplication

If AA is m×nm\times n and BB is n×pn\times p⁠, then ABAB is m×pm\times p⁠, and its (i,k)(i,k) entry is row ii of AA times column kk of BB⁠: multiply the matching entries and add. Basics: pair up, multiply, add

2Compound angle formulas

For all real x,yx, y⁠: cos⁡(x+y)=cos⁡xcos⁡y−sin⁡xsin⁡y\cos(x+y) = \cos x\cos y - \sin x\sin y and sin⁡(x+y)=sin⁡xcos⁡y+cos⁡xsin⁡y\sin(x+y) = \sin x\cos y + \cos x\sin y⁠. Basics: compound angles and induction

3A function whose values are matrices

FF takes a number and returns a matrix. F(y)F(y) means: replace xx by yy in every entry. F(x+y)F(x+y) means: replace xx by x+yx + y⁠.

4Equal matrices

Same order and equal corresponding entries. Lesson: equality of matrices

Solution

  1. Write down F(y)F(y) and F(x+y)F(x+y)⁠; check the product is defined

    Replacing xx by yy⁠, and then by x+yx + y⁠:

    F(y)=[cos⁡y−sin⁡y0sin⁡ycos⁡y0001]F(y) = \begin{bmatrix} \cos y & -\sin y & 0 \\ \sin y & \cos y & 0 \\ 0 & 0 & 1 \end{bmatrix} F(x+y)=[cos⁡(x+y)−sin⁡(x+y)0sin⁡(x+y)cos⁡(x+y)0001]\begin{aligned} &F(x+y)\\ &= \begin{bmatrix} \cos(x+y) & -\sin(x+y) & 0 \\ \sin(x+y) & \cos(x+y) & 0 \\ 0 & 0 & 1 \end{bmatrix} \end{aligned}

    F(x)F(x) is 3×33\times3 and F(y)F(y) is 3×33\times3⁠. The number of columns of F(x)F(x) (3) equals the number of rows of F(y)F(y) (3), so F(x)F(y)F(x)F(y) is defined, and it is 3×33\times3⁠, the same order as F(x+y)F(x+y)⁠.

    Writing F(x+y)F(x+y) out first shows the target: we must get cos⁡(x+y)\cos(x+y)⁠, −sin⁡(x+y)-\sin(x+y)⁠, sin⁡(x+y)\sin(x+y)⁠, cos⁡(x+y)\cos(x+y) in the top-left 2×22\times2 block and the same 0s and 1 elsewhere.
    A product ABAB needs (columns of AA⁠) = (rows of BB⁠). Lesson: matrix multiplication
  2. Row 1 of the product

    Row 1 of F(x)F(x) is (cos⁡x, −sin⁡x, 0)(\cos x,\ -\sin x,\ 0)⁠. The columns of F(y)F(y) are (cos⁡y,sin⁡y,0)(\cos y, \sin y, 0)⁠, (−sin⁡y,cos⁡y,0)(-\sin y, \cos y, 0) and (0,0,1)(0, 0, 1)⁠, read top to bottom. Call the product C=[cik]C = [c_{ik}]⁠.

    c11=cos⁡xcos⁡y+(−sin⁡x)sin⁡y+0⋅0=cos⁡xcos⁡y−sin⁡xsin⁡y\begin{aligned} c_{11} &= \cos x\cos y + (-\sin x)\sin y + 0\cdot 0\\ &= \cos x\cos y - \sin x\sin y \end{aligned} c12=cos⁡x (−sin⁡y)+(−sin⁡x)cos⁡y+0⋅0=−(sin⁡xcos⁡y+cos⁡xsin⁡y)\begin{aligned} c_{12} &= \cos x\,(-\sin y) + (-\sin x)\cos y\\ &\quad + 0\cdot 0\\ &= -(\sin x\cos y + \cos x\sin y) \end{aligned} c13=cos⁡x⋅0+(−sin⁡x)⋅0+0⋅1=0c_{13} = \cos x\cdot 0 + (-\sin x)\cdot 0 + 0\cdot 1 = 0
    Each entry pairs the three numbers of row 1 with the three numbers of one column, multiplies each pair, and adds. In c12c_{12} both products are negative, so we take out a common factor −1-1⁠; the bracket left over is in the order of the sine formula.
    cik=ai1b1k+ai2b2k+ai3b3kc_{ik} = a_{i1}b_{1k} + a_{i2}b_{2k} + a_{i3}b_{3k}⁠. Basics: pair up, multiply, add
  3. Row 2 of the product

    Row 2 of F(x)F(x) is (sin⁡x, cos⁡x, 0)(\sin x,\ \cos x,\ 0)⁠. With the same three columns:

    c21=sin⁡xcos⁡y+cos⁡xsin⁡y+0⋅0=sin⁡xcos⁡y+cos⁡xsin⁡y\begin{aligned} c_{21} &= \sin x\cos y + \cos x\sin y + 0\cdot 0\\ &= \sin x\cos y + \cos x\sin y \end{aligned} c22=sin⁡x (−sin⁡y)+cos⁡xcos⁡y+0⋅0=cos⁡xcos⁡y−sin⁡xsin⁡y\begin{aligned} c_{22} &= \sin x\,(-\sin y) + \cos x\cos y + 0\cdot 0\\ &= \cos x\cos y - \sin x\sin y \end{aligned} c23=sin⁡x⋅0+cos⁡x⋅0+0⋅1=0c_{23} = \sin x\cdot 0 + \cos x\cdot 0 + 0\cdot 1 = 0
    In c22c_{22} we reorder the two terms (addition of numbers is commutative) so that it matches the cosine formula exactly.
  4. Row 3 of the product

    Row 3 of F(x)F(x) is (0, 0, 1)(0,\ 0,\ 1)⁠:

    c31=0⋅cos⁡y+0⋅sin⁡y+1⋅0=0c32=0⋅(−sin⁡y)+0⋅cos⁡y+1⋅0=0c33=0⋅0+0⋅0+1⋅1=1\begin{aligned} c_{31} &= 0\cdot\cos y + 0\cdot\sin y + 1\cdot 0 = 0\\ c_{32} &= 0\cdot(-\sin y) + 0\cdot\cos y + 1\cdot 0 = 0\\ c_{33} &= 0\cdot 0 + 0\cdot 0 + 1\cdot 1 = 1 \end{aligned}
    The two zeros in row 3 kill the first two products every time, so only the third entry of each column survives: 0, 0, 1.
  5. Apply the compound angle formulas

    For all real xx and yy⁠,

    cos⁡xcos⁡y−sin⁡xsin⁡y=cos⁡(x+y),sin⁡xcos⁡y+cos⁡xsin⁡y=sin⁡(x+y).\begin{aligned} \cos x\cos y - \sin x\sin y &= \cos(x+y),\\ \sin x\cos y + \cos x\sin y &= \sin(x+y). \end{aligned}

    So, from Steps 2 and 3,

    c11=cos⁡(x+y),c12=−sin⁡(x+y),c21=sin⁡(x+y),c22=cos⁡(x+y).\begin{aligned} c_{11} &= \cos(x+y), \\ c_{12} &= -\sin(x+y),\\ c_{21} &= \sin(x+y), \\ c_{22} &= \cos(x+y). \end{aligned}
    These identities hold for every pair of real numbers, with no restriction on xx or yy⁠, so the argument works for all xx and yy⁠, not just for particular angles.
    Compound angle formulas (Class XI, Chapter 3). Basics: compound angles
  6. Assemble and compare

    Putting the nine entries in place,

    F(x)F(y)=[cos⁡(x+y)−sin⁡(x+y)0sin⁡(x+y)cos⁡(x+y)0001].\begin{aligned} &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}. \end{aligned}

    This has the same order as F(x+y)F(x+y) from Step 1, and every entry agrees with the entry in the same position. Hence F(x)F(y)=F(x+y)F(x)F(y) = F(x+y).

    Two matrices are equal when they have the same order and equal corresponding entries (Definition 2). We have checked all nine positions.
y x P = (cos y, sin y) Q = (cos(x+y), sin(x+y)) O
In the plane of the first two coordinates, F(x)F(x) turns every point about OO through the angle xx (the third coordinate is untouched). F(y)F(y) takes the point (1,0)(1, 0) to PP⁠; F(x)F(x) then turns PP through a further xx to QQ (along the dashed arc), at angle x+yx + y⁠. That is what F(x)F(y)=F(x+y)F(x)F(y) = F(x+y) says.
Result

For all real xx and yy⁠, F(x)F(y)=F(x+y)F(x)F(y) = F(x+y)⁠: the product has cos⁡(x+y)\cos(x+y) and ±sin⁡(x+y)\pm\sin(x+y) in its top-left block and 0,0,10, 0, 1 elsewhere, exactly as F(x+y)F(x+y)⁠. (This is a "show that" question, so the key gives no separate answer.)

Check it with numbers

Take x=0.7x = 0.7 and y=1.1y = 1.1 (radians), so x+y=1.8x + y = 1.8⁠. To seven decimal places, cos⁡0.7=0.7648422\cos 0.7 = 0.7648422⁠, sin⁡0.7=0.6442177\sin 0.7 = 0.6442177⁠, cos⁡1.1=0.4535961\cos 1.1 = 0.4535961⁠, sin⁡1.1=0.8912074\sin 1.1 = 0.8912074⁠. Multiplying the full calculator values and rounding each product to seven places:

c11=cos⁡0.7cos⁡1.1−sin⁡0.7sin⁡1.1=0.3469294−0.5741315=−0.2272021,\begin{aligned} c_{11} &= \cos 0.7\cos 1.1\\ &\quad - \sin 0.7\sin 1.1\\ &= 0.3469294 - 0.5741315\\ &= -0.2272021, \end{aligned}

and cos⁡1.8=−0.2272021\cos 1.8 = -0.2272021 ✓. Also

c21=sin⁡0.7cos⁡1.1+cos⁡0.7sin⁡1.1=0.2922146+0.6816330=0.9738476,\begin{aligned} c_{21} &= \sin 0.7\cos 1.1\\ &\quad + \cos 0.7\sin 1.1\\ &= 0.2922146 + 0.6816330\\ &= 0.9738476, \end{aligned}

and sin⁡1.8=0.9738476\sin 1.8 = 0.9738476 ✓.

Common mistakes
  1. Multiplying entry by entry. The product is not [aikbik][a_{ik}b_{ik}]⁠; each entry is a row-times-column sum.
  2. Losing the minus sign in c12c_{12}⁠. Both terms are negative, giving −sin⁡(x+y)-\sin(x+y)⁠, which is exactly the (1,2)(1,2) entry of F(x+y)F(x+y)⁠.
  3. Skipping the third row and column. They must be computed too; equality needs all nine entries.
What to take away
  1. For a matrix product, compute every entry as row ii times column kk⁠, then assemble.
  2. Rotation matrices turn the compound angle formulas into a matrix rule: rotations add their angles when multiplied.
  3. Since F(x)F(y)=F(x+y)=F(y)F(x)F(x)F(y) = F(x+y) = F(y)F(x)⁠, these particular matrices commute, even though matrix multiplication in general does not.

Every fact used, and where it comes from

FactUsed inSource
ABAB defined when columns of AA = rows of BB⁠; order m×pm\times pStep 1Section 3.4.5 (Lesson: multiplication)
Entry of ABAB⁠: row ii of AA times column kk of BBSteps 2 to 4Section 3.4.5
cos⁡(x+y)=cos⁡xcos⁡y−sin⁡xsin⁡y\cos(x+y) = \cos x\cos y - \sin x\sin yStep 5Class XI, Chapter 3 (Trigonometric Functions)
sin⁡(x+y)=sin⁡xcos⁡y+cos⁡xsin⁡y\sin(x+y) = \sin x\cos y + \cos x\sin yStep 5Class XI, Chapter 3 (Trigonometric Functions)
Equal matrices: same order, equal corresponding entriesStep 6Definition 2, Section 3.3.1
Matrix multiplication is not commutative in generalTake-away 3Section 3.4.5, Examples 13 and 14
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →