Class 12 Maths, Worked in Full Past papersGet updates
Chapter 4 · Determinants

Exercise 4.1 · Q2: Evaluate two determinants

Exercise 4.1Determinant of a matrix of order two · Section 4.2.2
The question

Evaluate the determinants.

(i) ∣cos⁡θ−sin⁡θsin⁡θcos⁡θ∣\text{(i)}\ \begin{vmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{vmatrix} (ii) ∣x2−x+1x−1x+1x+1∣\text{(ii)}\ \begin{vmatrix} x^2 - x + 1 & x - 1 \\ x + 1 & x + 1 \end{vmatrix}
Exam answer

(i)

Δ1=∣cos⁡θ−sin⁡θsin⁡θcos⁡θ∣=cos⁡θcos⁡θ−sin⁡θ(−sin⁡θ)=cos⁡2θ+sin⁡2θ\begin{aligned} \Delta_1 &= \begin{vmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{vmatrix} \\ &= \cos\theta\cos\theta - \sin\theta(-\sin\theta) \\ &= \cos^2\theta + \sin^2\theta \end{aligned}

∴ Δ1=1\therefore\ \Delta_1 = 1⁠.

(ii)

Δ2=∣x2−x+1x−1x+1x+1∣=(x2−x+1)(x+1)−(x+1)(x−1)=(x3+1)−(x2−1)\begin{aligned} \Delta_2 &= \begin{vmatrix} x^2 - x + 1 & x - 1 \\ x + 1 & x + 1 \end{vmatrix} \\ &= (x^2 - x + 1)(x + 1) \\ &\quad - (x + 1)(x - 1) \\ &= (x^3 + 1) - (x^2 - 1) \end{aligned}

∴ Δ2=x3−x2+2\therefore\ \Delta_2 = x^3 - x^2 + 2⁠.

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

The one idea this problem is built on

Entries can be expressions instead of numbers, and the rule does not change: main diagonal product minus other diagonal product, ∣abcd∣=ad−bc.\begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc. After that it is ordinary algebra. In (i) the identity cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1 finishes the job for every angle θ\theta⁠; in (ii) two polynomial products are expanded and subtracted.

Given, to find, and the plan
Given
Two determinants of order 2: (i) with trigonometric entries in θ\theta⁠, (ii) with polynomial entries in xx⁠.
To find
Each value, as simply as possible.
Plan
For each part: (1) read off a11,a12,a21,a22a_{11}, a_{12}, a_{21}, a_{22}⁠; (2) write a11a22−a21a12a_{11}a_{22} - a_{21}a_{12} with brackets round every entry; (3) simplify, using an identity in (i) and expansion in (ii); (4) check with a sample value.

Basics you need

1The 2×22\times2 determinant

∣A∣=a11a22−a21a12|A| = a_{11}a_{22} - a_{21}a_{12} (Section 4.2.2). It applies whatever the entries are: numbers, angles, or polynomials. Lesson: determinant of a square matrix

2The Pythagorean identity

For every real θ\theta⁠, cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1⁠. The point (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta) lies on the circle of radius 1, and this is Pythagoras' theorem for that point. (Class XI, Trigonometric Functions.)

3Multiplying out brackets

Multiply every term of one bracket by every term of the other, then collect like powers. Two products worth knowing: (x−1)(x+1)=x2−1(x-1)(x+1) = x^2 - 1 and (x+1)(x2−x+1)=x3+1(x+1)(x^2 - x + 1) = x^3 + 1⁠. Basics: algebra the chapter leans on

Part (i): the cosine and sine determinant

  1. Read off the entries

    a11=cos⁡θ,a12=−sin⁡θ,a21=sin⁡θ,a22=cos⁡θ.\begin{aligned} a_{11} &= \cos\theta, & a_{12} &= -\sin\theta,\\ a_{21} &= \sin\theta, & a_{22} &= \cos\theta. \end{aligned}
    The minus sign in the top right entry belongs to that entry: a12a_{12} is the number −sin⁡θ-\sin\theta⁠. Keeping it attached is what makes the next step come out right.
  2. Apply the definition

    Δ=a11a22−a21a12=(cos⁡θ)(cos⁡θ)−(sin⁡θ)(−sin⁡θ)=cos⁡2θ+sin⁡2θ.\begin{aligned} \Delta &= a_{11}a_{22} - a_{21}a_{12}\\ &= (\cos\theta)(\cos\theta) - (\sin\theta)(-\sin\theta)\\ &= \cos^2\theta + \sin^2\theta. \end{aligned}
    The main diagonal gives cos⁡θ⋅cos⁡θ=cos⁡2θ\cos\theta\cdot\cos\theta = \cos^2\theta⁠. The other diagonal gives sin⁡θ⋅(−sin⁡θ)=−sin⁡2θ\sin\theta\cdot(-\sin\theta) = -\sin^2\theta⁠, and subtracting a negative quantity adds it: −(−sin⁡2θ)=+sin⁡2θ-(-\sin^2\theta) = +\sin^2\theta⁠.
    ∣A∣=a11a22−a21a12|A| = a_{11}a_{22} - a_{21}a_{12}⁠, Section 4.2.2. Lesson: determinant of a square matrix
  3. Use cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1

    Δ=cos⁡2θ+sin⁡2θ=1.\Delta = \cos^2\theta + \sin^2\theta = 1.

    So the determinant equals 1 for every real θ\theta.

    The identity holds for every real angle, so the value does not depend on θ\theta at all. That is why the answer is a plain number rather than an expression in θ\theta⁠.
    Pythagorean identity (Basic 2), from Class XI trigonometry.
θ u = (cos θ, sin θ) v = (−sin θ, cos θ) area 1 O
The columns of the determinant in (i) are the vectors uu and vv⁠: both have length 1 and they are at right angles, so they span a square of side 1, and vv is uu turned a quarter turn anticlockwise. A supplementary fact from beyond this chapter (not proved in this reprint): a 2×22\times2 determinant equals the area spanned by its columns, with a plus sign when the second column is anticlockwise from the first. So the picture agrees with the value 1 found above. (Drawn for θ=35∘\theta = 35^\circ⁠.)

Part (ii): the determinant in xx

  1. Read off the entries

    a11=x2−x+1,a12=x−1,a21=x+1,a22=x+1.\begin{aligned} a_{11} &= x^2 - x + 1, & a_{12} &= x - 1,\\ a_{21} &= x + 1, & a_{22} &= x + 1. \end{aligned}
    Each entry is a whole expression and must stay together as one quantity, so every entry goes inside its own bracket when we multiply.
  2. Apply the definition

    Δ=a11a22−a21a12=(x2−x+1)(x+1)−(x+1)(x−1).\begin{aligned} \Delta &= a_{11}a_{22} - a_{21}a_{12}\\ &= (x^2 - x + 1)(x + 1)\\ &\quad - (x + 1)(x - 1). \end{aligned}
    Main diagonal: x2−x+1x^2 - x + 1 and x+1x + 1⁠. Other diagonal: x+1x + 1 (bottom left) and x−1x - 1 (top right). The minus sign in front of the second product applies to the whole product, which is why that product is kept in brackets.
    ∣A∣=a11a22−a21a12|A| = a_{11}a_{22} - a_{21}a_{12}⁠, Section 4.2.2, exactly as in Example 2.
  3. Expand the first product

    (x2−x+1)(x+1)=x3+x2−x2−x+x+1=x3+1.\begin{aligned} (x^2 - x + 1)(x + 1) &= x^3 + x^2 - x^2\\ &\quad - x + x + 1\\ &= x^3 + 1. \end{aligned}
    Each term of x2−x+1x^2 - x + 1 is multiplied by xx and by 11⁠: x2⋅x=x3x^2\cdot x = x^3⁠, x2⋅1=x2x^2\cdot1 = x^2⁠, (−x)⋅x=−x2(-x)\cdot x = -x^2⁠, (−x)⋅1=−x(-x)\cdot 1 = -x⁠, 1⋅x=x1\cdot x = x⁠, 1⋅1=11\cdot1 = 1⁠. The x2x^2 terms cancel and the xx terms cancel, leaving x3+1x^3 + 1⁠. (This is the sum-of-cubes product (a+b)(a2−ab+b2)=a3+b3(a+b)(a^2 - ab + b^2) = a^3 + b^3 with a=xa = x⁠, b=1b = 1⁠.)
  4. Expand the second product and subtract

    (x+1)(x−1)=x2−1(x + 1)(x - 1) = x^2 - 1 Δ=(x3+1)−(x2−1)=x3+1−x2+1=x3−x2+2.\begin{aligned} \Delta &= (x^3 + 1) - (x^2 - 1)\\ &= x^3 + 1 - x^2 + 1\\ &= x^3 - x^2 + 2. \end{aligned}

    So the determinant equals x3−x2+2x^3 - x^2 + 2.

    (x+1)(x−1)(x+1)(x-1) is a difference of squares, x2−12x^2 - 1^2⁠. When it is subtracted, the bracket's minus sign changes the sign of both terms: −(x2−1)=−x2+1-(x^2 - 1) = -x^2 + 1⁠. Forgetting the second sign change gives x3−x2x^3 - x^2⁠, the most common wrong answer.
    (a+b)(a−b)=a2−b2(a+b)(a-b) = a^2 - b^2⁠. Basics: algebra the chapter leans on
  5. The same answer by factorising first

    Both products contain the factor x+1x + 1⁠, so take it out before expanding:

    Δ=(x+1)[(x2−x+1)−(x−1)]=(x+1)(x2−2x+2)=x3−2x2+2x+x2−2x+2=x3−x2+2.\begin{aligned} \Delta &= (x + 1)\big[(x^2 - x + 1) - (x - 1)\big]\\ &= (x + 1)(x^2 - 2x + 2)\\ &= x^3 - 2x^2 + 2x + x^2 - 2x + 2\\ &= x^3 - x^2 + 2. \end{aligned}
    Getting the same polynomial by a second route is a strong check. The factorised form also tells us something extra: x2−2x+2=(x−1)2+1x^2 - 2x + 2 = (x-1)^2 + 1 is never 0 for real xx⁠, so for real xx the determinant is 0 only at x=−1x = -1⁠, where the whole second row becomes 0.
Result

(i) The determinant equals 1 for every real θ\theta⁠; (ii) it equals x3−x2+2x^3 - x^2 + 2⁠. (i) cos⁡2θ+sin⁡2θ=1\text{(i)}\ \cos^2\theta + \sin^2\theta = 1 (ii)  x3−x2+2=(x+1)(x2−2x+2)\begin{aligned} \text{(ii)}\ \ &x^3 - x^2 + 2\\ &= (x + 1)(x^2 - 2x + 2) \end{aligned} (Textbook answer: (i) 1, (ii) x3−x2+2x^3 - x^2 + 2⁠.)

Check it with numbers

(i) At θ=0.7\theta = 0.7 radians: cos⁡0.7≈0.764842\cos 0.7 \approx 0.764842⁠, sin⁡0.7≈0.644218\sin 0.7 \approx 0.644218⁠. Then cos⁡20.7≈0.584984\cos^2 0.7 \approx 0.584984 and sin⁡20.7≈0.415016\sin^2 0.7 \approx 0.415016⁠, and 0.584984+0.415016=1.0000000.584984 + 0.415016 = 1.000000 ✓.

(ii) At x=3x = 3 the entries are 9−3+1=79 - 3 + 1 = 7⁠, 22⁠, 44⁠, 44⁠, so the determinant is 7⋅4−4⋅2=28−8=207\cdot4 - 4\cdot2 = 28 - 8 = 20⁠. The formula gives 27−9+2=2027 - 9 + 2 = 20 ✓. At x=−1x = -1 the second row is 0,00, 0⁠, so the determinant is 0, and the formula gives −1−1+2=0-1 - 1 + 2 = 0 ✓.

Common mistakes
  1. (i): getting cos⁡2θ−sin⁡2θ\cos^2\theta - \sin^2\theta (which is cos⁡2θ\cos 2\theta⁠) by dropping the minus of −sin⁡θ-\sin\theta⁠. The other diagonal product is −sin⁡2θ-\sin^2\theta⁠, and subtracting it adds sin⁡2θ\sin^2\theta⁠.
  2. (ii): −(x2−1)=−x2−1-(x^2 - 1) = -x^2 - 1⁠. The minus must change both signs inside the bracket; the correct result is −x2+1-x^2 + 1⁠.
  3. (ii): multiplying along rows instead of diagonals. The products are a11a22a_{11}a_{22} and a21a12a_{21}a_{12}⁠.
What to take away
  1. The rule ad−bcad - bc works for entries of any kind; bracket each entry, then simplify with ordinary algebra or identities.
  2. When both diagonal products share a factor, take it out first: less expansion and a useful factorised answer.
  3. The cosine and sine determinant in (i) is 1 for every angle; its columns are perpendicular unit vectors.

Every fact used, and where it comes from

FactUsed inSource
∣A∣=a11a22−a21a12|A| = a_{11}a_{22} - a_{21}a_{12} for order 2Part (i), Step 2; Part (ii), Step 2Section 4.2.2 (Lesson: determinant of a square matrix)
cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1 for all real θ\thetaPart (i), Step 3Class XI, Trigonometric Functions
(x+1)(x2−x+1)=x3+1(x+1)(x^2 - x + 1) = x^3 + 1⁠, (x+1)(x−1)=x2−1(x+1)(x-1) = x^2 - 1Part (ii), Steps 3, 4Algebraic identities (Basics: algebra)
A determinant with polynomial entriesPart (ii)Example 2
A 2×22\times2 determinant is the signed area spanned by its columnsFigureSupplementary fact from beyond this reprint, used only to read the picture (Basics: determinant as area)
Values in the check box and the factorised formPart (ii), Step 5; CheckRecomputed in the site's verification script
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 →