Exercise 5.2 Solutions – 12th Class Math New Book (Angles Between Lines and Areas by Determinants)

By Ehsan Ahmed · updated
Exercise 5.2 solutions thumbnail for 12th class math chapter 5 (Analytical Geometry) showing the key formulas of the exercise

Exercise 5.2 (Angles Between Lines and Areas by Determinants) of Chapter 5: Analytical Geometry, 12th class Mathematics new book (Punjab, PECTAA 2026-27). All 10 questions are solved step by step with the final answer highlighted, with figures where they help.

Tap a question to open or close it.
Question 1Find the angle measured from the line $\ell_1$ to the line $\ell_2$. Also find the acute angle in each case.
Formula used
$$m=\frac{y_2-y_1}{x_2-x_1}$$
$$\tan\theta=\frac{m_2-m_1}{1+m_1m_2}$$

(i) $\ell_1$: Joining $(2,7)$ and $(-4,5)$; $\ell_2$: Joining $(-7,2)$ and $(1,3)$

Sol:

Let $m_1$ and $m_2$ be the slopes of $\ell_1$ and $\ell_2$.

$$\begin{aligned}m_1&=\frac{5-7}{-4-2}\\[6pt]&=\frac{-2}{-6}\\[6pt]&=\frac13\end{aligned}$$
$$\begin{aligned}m_2&=\frac{3-2}{1-(-7)}\\[6pt]&=\frac18\end{aligned}$$

Let $\theta$ be the angle from $\ell_1$ to $\ell_2$.

$$\begin{aligned}\tan\theta&=\frac{m_2-m_1}{1+m_1m_2}\\[6pt]&=\frac{\frac18-\frac13}{1+\left(\frac13\right)\left(\frac18\right)}\\[6pt]&=\frac{-\frac5{24}}{\frac{25}{24}}\\[6pt]&=-\frac15\end{aligned}$$

$\tan \theta$ is negative, so $\theta$ lies between $90^\circ$ and $180^\circ$.

$$\begin{aligned}\theta&=180^\circ-\tan^{-1}\left(\frac15\right)\end{aligned}$$
$$\theta\approx180^\circ-11.3^\circ$$
$$\theta\approx168.7^\circ$$

The acute angle between the lines is the supplement of $\theta$.

$$180^\circ-168.7^\circ=11.3^\circ$$
Answer $\theta\approx168.7^\circ,\quad\text{acute angle}\approx11.3^\circ$

(ii) $\ell_1$: Joining $(1,2)$ and $(3,5)$; $\ell_2$: Joining $(2,-1)$ and $(4,3)$

Sol:

Let $m_1$ and $m_2$ be the slopes of $\ell_1$ and $\ell_2$.

$$\begin{aligned}m_1&=\frac{5-2}{3-1}\\[6pt]&=\frac32\end{aligned}$$
$$\begin{aligned}m_2&=\frac{3-(-1)}{4-2}\\[6pt]&=\frac42\\[6pt]&=2\end{aligned}$$

Let $\theta$ be the angle from $\ell_1$ to $\ell_2$.

$$\begin{aligned}\tan\theta&=\frac{m_2-m_1}{1+m_1m_2}\\[6pt]&=\frac{2-\frac32}{1+\left(\frac32\right)(2)}\\[6pt]&=\frac{\frac12}4\\[6pt]&=\frac18\end{aligned}$$
$$\theta=\tan^{-1}\left(\frac18\right)$$
$$\theta\approx7.1^\circ$$

This angle is less than $90^\circ$, so it is also the acute angle.

Answer $\theta\approx7.1^\circ,\quad\text{acute angle}\approx7.1^\circ$
Question 2Find the angle from the line with slope $m_1$ to the line with slope $m_2$, where
Formula used
$$\tan\theta=\frac{m_2-m_1}{1+m_1m_2}$$
$$1+m_1m_2=0:\ \text{perpendicular}$$

(i) $m_1=2$, $m_2=-\frac12$

Sol:

Let $\theta$ be the required angle.

$$\begin{aligned}1+m_1m_2&=1+(2)\left(-\frac12\right)\\[6pt]&=1-1\\[6pt]&=0\end{aligned}$$

So the lines are perpendicular, and $\tan\theta$ is undefined.

Answer $\theta=90^\circ$

(ii) $m_1=3$, $m_2=-2$

Sol:

Let $\theta$ be the required angle.

$$\begin{aligned}\tan\theta&=\frac{m_2-m_1}{1+m_1m_2}\\[6pt]&=\frac{-2-3}{1+(3)(-2)}\\[6pt]&=\frac{-5}{-5}\\[6pt]&=1\end{aligned}$$
$$\theta=\tan^{-1}(1)$$
Answer $\theta=45^\circ$
Question 3Find the angle from line $\ell_1$ to the line $\ell_2$, where
Formula used
$$ax+by+c=0:\quad m=-\frac ab$$
$$\tan\theta=\frac{m_2-m_1}{1+m_1m_2}$$

(i) $\ell_1:2x+y-3=0$; $\ell_2:x+y-5=0$

Sol:

Slopes of the lines:

$$\begin{aligned}m_1&=-\frac21\\[6pt]&=-2\end{aligned}$$
$$\begin{aligned}m_2&=-\frac11\\[6pt]&=-1\end{aligned}$$

Let $\theta$ be the angle from $\ell_1$ to $\ell_2$.

$$\begin{aligned}\tan\theta&=\frac{m_2-m_1}{1+m_1m_2}\\[6pt]&=\frac{-1-(-2)}{1+(-2)(-1)}\\[6pt]&=\frac{-1+2}{1+2}\\[6pt]&=\frac13\end{aligned}$$
$$\theta=\tan^{-1}\left(\frac13\right)$$
Answer $\theta\approx18.4^\circ$

(ii) $\ell_1:2x-3y+2=0$; $\ell_2:x+y-4=0$

Sol:

Slopes of the lines:

$$\begin{aligned}m_1&=-\frac2{-3}\\[6pt]&=\frac23\end{aligned}$$
$$\begin{aligned}m_2&=-\frac11\\[6pt]&=-1\end{aligned}$$

Let $\theta$ be the angle from $\ell_1$ to $\ell_2$.

$$\begin{aligned}\tan\theta&=\frac{m_2-m_1}{1+m_1m_2}\\[6pt]&=\frac{-1-\frac23}{1+\left(\frac23\right)(-1)}\\[6pt]&=\frac{-\frac53}{\frac13}\\[6pt]&=-5\end{aligned}$$

$\tan \theta$ is negative, so $\theta$ lies between $90^\circ$ and $180^\circ$.

$$\theta=180^\circ-\tan^{-1}(5)$$
$$\theta\approx180^\circ-78.7^\circ$$
Answer $\theta\approx101.3^\circ$
Question 4The angle from the line $ax-y+2=0$ to the line $x+y-4=0$ is $30^\circ$. Find the value of $a$.
Formula used
$$ax+by+c=0:\quad m=-\frac ab$$
$$\tan\theta=\frac{m_2-m_1}{1+m_1m_2}$$

Sol:

Slopes of the lines:

$$\begin{aligned}m_1&=-\frac a{-1}\\[6pt]&=a\end{aligned}$$
$$\begin{aligned}m_2&=-\frac11\\[6pt]&=-1\end{aligned}$$

The angle from the first line to the second line is $\theta=30^\circ$.

$$\tan30^\circ=\frac{m_2-m_1}{1+m_1m_2}$$
$$\tan30^\circ=\frac{-1-a}{1+(a)(-1)}$$
$$\frac1{\sqrt3}=\frac{-1-a}{1-a}\quad\left(\because\tan30^\circ=\frac1{\sqrt3}\right)$$
$$1-a=\sqrt3(-1-a)$$
$$1-a=-\sqrt3-\sqrt3a$$
$$1+\sqrt3=a-\sqrt3a$$
$$1+\sqrt3=a(1-\sqrt3)$$
$$\begin{aligned}a&=\frac{1+\sqrt3}{1-\sqrt3}\\[6pt]&=\frac{1+\sqrt3}{1-\sqrt3}\times\frac{1+\sqrt3}{1+\sqrt3}\\[6pt]&=\frac{1+2\sqrt3+3}{1-3}\\[6pt]&=\frac{4+2\sqrt3}{-2}\\[6pt]&=-2-\sqrt3\end{aligned}$$
Answer $a=-(2+\sqrt3)$
Question 5Find the interior angles of the triangle whose vertices are:
Formula used
$$m=\frac{y_2-y_1}{x_2-x_1}$$
$$\tan\theta=\frac{m_2-m_1}{1+m_1m_2}$$

(i) $A(2,3)$, $B(6,3)$, $C(4,7)$

Triangle ABC.
Triangle $ABC$.

Sol:

Let the slopes of the sides $AB$, $BC$ and $CA$ be $m_c$, $m_a$ and $m_b$ respectively.

$$\begin{aligned}m_c&=\frac{3-3}{6-2}\\[6pt]&=0\end{aligned}$$
$$\begin{aligned}m_a&=\frac{7-3}{4-6}\\[6pt]&=\frac4{-2}\\[6pt]&=-2\end{aligned}$$
$$\begin{aligned}m_b&=\frac{3-7}{2-4}\\[6pt]&=\frac{-4}{-2}\\[6pt]&=2\end{aligned}$$

The angle $A$ is measured from $\overline{AB}$ to $\overline{AC}$.

$$\begin{aligned}\tan A&=\frac{m_b-m_c}{1+m_bm_c}\\[6pt]&=\frac{2-0}{1+(2)(0)}\\[6pt]&=2\end{aligned}$$
$$A=\tan^{-1}(2)\approx63.43^\circ$$

The angle $B$ is measured from $\overline{BC}$ to $\overline{AB}$.

$$\begin{aligned}\tan B&=\frac{m_c-m_a}{1+m_cm_a}\\[6pt]&=\frac{0-(-2)}{1+(0)(-2)}\\[6pt]&=2\end{aligned}$$
$$B=\tan^{-1}(2)\approx63.43^\circ$$

The angle $C$ is measured from $\overline{AC}$ to $\overline{BC}$.

$$\begin{aligned}\tan C&=\frac{m_a-m_b}{1+m_am_b}\\[6pt]&=\frac{-2-2}{1+(-2)(2)}\\[6pt]&=\frac{-4}{-3}\\[6pt]&=\frac43\end{aligned}$$
$$C=\tan^{-1}\left(\frac43\right)\approx53.13^\circ$$

Check: the three angles add up to $180^\circ$ (the $0.01^\circ$ is lost in rounding).

Answer $A\approx63.43^\circ,\quad B\approx63.43^\circ,\quad C\approx53.13^\circ$

(ii) $L(1,2)$, $M(5,5)$, $N(7,2)$

Triangle LMN.
Triangle $LMN$.

Sol:

Let the slopes of the sides $LM$, $MN$ and $NL$ be $m_1$, $m_2$ and $m_3$ respectively.

$$\begin{aligned}m_1&=\frac{5-2}{5-1}\\[6pt]&=\frac34\end{aligned}$$
$$\begin{aligned}m_2&=\frac{2-5}{7-5}\\[6pt]&=-\frac32\end{aligned}$$
$$\begin{aligned}m_3&=\frac{2-2}{1-7}\\[6pt]&=0\end{aligned}$$

The angle $L$ is measured from $\overline{LN}$ to $\overline{LM}$.

$$\begin{aligned}\tan L&=\frac{m_1-m_3}{1+m_1m_3}\\[6pt]&=\frac{\frac34-0}{1+\left(\frac34\right)(0)}\\[6pt]&=\frac34\end{aligned}$$
$$L=\tan^{-1}\left(\frac34\right)\approx36.87^\circ$$

The angle $M$ is measured from $\overline{LM}$ to $\overline{MN}$.

$$\begin{aligned}\tan M&=\frac{m_2-m_1}{1+m_2m_1}\\[6pt]&=\frac{-\frac32-\frac34}{1+\left(-\frac32\right)\left(\frac34\right)}\\[6pt]&=\frac{-\frac94}{-\frac18}\\[6pt]&=18\end{aligned}$$
$$M=\tan^{-1}(18)\approx86.82^\circ$$

The angle $N$ is measured from $\overline{MN}$ to $\overline{LN}$.

$$\begin{aligned}\tan N&=\frac{m_3-m_2}{1+m_3m_2}\\[6pt]&=\frac{0-\left(-\frac32\right)}{1+(0)\left(-\frac32\right)}\\[6pt]&=\frac32\end{aligned}$$
$$N=\tan^{-1}\left(\frac32\right)\approx56.31^\circ$$

Check: $36.87^\circ+86.82^\circ+56.31^\circ=180^\circ$.

Answer $L\approx36.87^\circ,\quad M\approx86.82^\circ,\quad N\approx56.31^\circ$
Question 6Find the interior angles of the quadrilateral whose vertices are $A(2,1)$, $B(3,1)$, $C(4,5)$ and $D(-1,5)$.
Formula used
$$m=\frac{y_2-y_1}{x_2-x_1}$$
$$\tan\theta=\frac{m_2-m_1}{1+m_1m_2}$$
Quadrilateral ABCD.
Quadrilateral $ABCD$.

Sol:

Let the slopes of the sides $AB$, $BC$, $CD$ and $DA$ be $m_1$, $m_2$, $m_3$ and $m_4$ respectively.

$$\begin{aligned}m_1&=\frac{1-1}{3-2}\\[6pt]&=0\end{aligned}$$
$$\begin{aligned}m_2&=\frac{5-1}{4-3}\\[6pt]&=4\end{aligned}$$
$$\begin{aligned}m_3&=\frac{5-5}{-1-4}\\[6pt]&=0\end{aligned}$$
$$\begin{aligned}m_4&=\frac{1-5}{2-(-1)}\\[6pt]&=-\frac43\end{aligned}$$

The angle $A$ is measured from $\overline{AB}$ to $\overline{AD}$.

$$\begin{aligned}\tan A&=\frac{m_4-m_1}{1+m_4m_1}\\[6pt]&=\frac{-\frac43-0}{1+\left(-\frac43\right)(0)}\\[6pt]&=-\frac43\end{aligned}$$

$\tan A$ is negative, so $A$ lies between $90^\circ$ and $180^\circ$.

$$A=180^\circ-\tan^{-1}\left(\frac43\right)$$
$$A\approx180^\circ-53.13^\circ$$
$$A\approx126.87^\circ$$

The angle $B$ is measured from $\overline{BC}$ to $\overline{AB}$.

$$\begin{aligned}\tan B&=\frac{m_1-m_2}{1+m_1m_2}\\[6pt]&=\frac{0-4}{1+(0)(4)}\\[6pt]&=-4\end{aligned}$$

$\tan B$ is negative, so $B$ lies between $90^\circ$ and $180^\circ$.

$$B=180^\circ-\tan^{-1}(4)$$
$$B\approx180^\circ-75.96^\circ$$
$$B\approx104.04^\circ$$

The angle $C$ is measured from $\overline{CD}$ to $\overline{BC}$.

$$\begin{aligned}\tan C&=\frac{m_2-m_3}{1+m_2m_3}\\[6pt]&=\frac{4-0}{1+(4)(0)}\\[6pt]&=4\end{aligned}$$
$$C=\tan^{-1}(4)$$
$$C\approx75.96^\circ$$

The angle $D$ is measured from $\overline{AD}$ to $\overline{CD}$.

$$\begin{aligned}\tan D&=\frac{m_3-m_4}{1+m_3m_4}\\[6pt]&=\frac{0-\left(-\frac43\right)}{1+(0)\left(-\frac43\right)}\\[6pt]&=\frac43\end{aligned}$$
$$D=\tan^{-1}\left(\frac43\right)$$
$$D\approx53.13^\circ$$

Check: the four angles add up to $360^\circ$.

Answer $\begin{aligned}&A\approx126.87^\circ,\quad B\approx104.04^\circ,\\&C\approx75.96^\circ,\quad D\approx53.13^\circ\end{aligned}$
Note: The answer key gives $75^\circ$ for angle $C$. But $\tan^{-1}(4)\approx75.96^\circ$, so it is $76^\circ$ to the nearest degree.
Question 7Find the interior angles of the kite whose vertices are $A(0,0)$, $B(2,3)$, $C(4,0)$ and $D(2,-3)$.
Formula used
$$m=\frac{y_2-y_1}{x_2-x_1}$$
$$\tan\theta=\frac{m_2-m_1}{1+m_1m_2}$$
Kite ABCD.
Kite $ABCD$.

Sol:

Let the slopes of the sides $AB$, $BC$, $CD$ and $DA$ be $m_1$, $m_2$, $m_3$ and $m_4$ respectively.

$$\begin{aligned}m_1&=\frac{3-0}{2-0}\\[6pt]&=\frac32\end{aligned}$$
$$\begin{aligned}m_2&=\frac{0-3}{4-2}\\[6pt]&=-\frac32\end{aligned}$$
$$\begin{aligned}m_3&=\frac{-3-0}{2-4}\\[6pt]&=\frac32\end{aligned}$$
$$\begin{aligned}m_4&=\frac{0-(-3)}{0-2}\\[6pt]&=-\frac32\end{aligned}$$

The angle $A$ is measured from $\overline{AD}$ to $\overline{AB}$.

$$\begin{aligned}\tan A&=\frac{m_1-m_4}{1+m_1m_4}\\[6pt]&=\frac{\frac32-\left(-\frac32\right)}{1+\left(\frac32\right)\left(-\frac32\right)}\\[6pt]&=\frac3{-\frac54}\\[6pt]&=-\frac{12}5\end{aligned}$$

$\tan A$ is negative, so $A$ lies between $90^\circ$ and $180^\circ$.

$$A=180^\circ-\tan^{-1}\left(\frac{12}5\right)$$
$$A\approx180^\circ-67.4^\circ$$
$$A\approx112.6^\circ$$

The angle $B$ is measured from $\overline{AB}$ to $\overline{BC}$.

$$\begin{aligned}\tan B&=\frac{m_2-m_1}{1+m_2m_1}\\[6pt]&=\frac{-\frac32-\frac32}{1+\left(-\frac32\right)\left(\frac32\right)}\\[6pt]&=\frac{-3}{-\frac54}\\[6pt]&=\frac{12}5\end{aligned}$$
$$B=\tan^{-1}\left(\frac{12}5\right)$$
$$B\approx67.4^\circ$$

The angle $C$ is measured from $\overline{BC}$ to $\overline{CD}$.

$$\begin{aligned}\tan C&=\frac{m_3-m_2}{1+m_3m_2}\\[6pt]&=\frac{\frac32-\left(-\frac32\right)}{1+\left(\frac32\right)\left(-\frac32\right)}\\[6pt]&=\frac3{-\frac54}\\[6pt]&=-\frac{12}5\end{aligned}$$

$\tan C$ is negative, so $C$ lies between $90^\circ$ and $180^\circ$.

$$C\approx180^\circ-67.4^\circ$$
$$C\approx112.6^\circ$$

The angle $D$ is measured from $\overline{CD}$ to $\overline{AD}$.

$$\begin{aligned}\tan D&=\frac{m_4-m_3}{1+m_4m_3}\\[6pt]&=\frac{-\frac32-\frac32}{1+\left(-\frac32\right)\left(\frac32\right)}\\[6pt]&=\frac{-3}{-\frac54}\\[6pt]&=\frac{12}5\end{aligned}$$
$$D\approx67.4^\circ$$

Check: the four angles add up to $360^\circ$.

Answer $\begin{aligned}&A\approx112.6^\circ,\quad B\approx67.4^\circ,\\&C\approx112.6^\circ,\quad D\approx67.4^\circ\end{aligned}$
Question 8Find the area of the triangle formed by the points $A(-3,2)$, $B(4,-1)$ and $C(1,5)$.
Formula used
$$\Delta=\frac12\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}$$
Triangle ABC.
Triangle $ABC$.

Sol:

Area of the triangle $ABC$ is

$$\Delta=\frac12\begin{vmatrix}-3&2&1\\4&-1&1\\1&5&1\end{vmatrix}$$

Expand along the first row.

$$\begin{aligned}\Delta=\frac12\Big[&-3\begin{vmatrix}-1&1\\5&1\end{vmatrix}-2\begin{vmatrix}4&1\\1&1\end{vmatrix}\\[6pt]&\quad+1\begin{vmatrix}4&-1\\1&5\end{vmatrix}\Big]\end{aligned}$$
$$\begin{aligned}\Delta&=\frac12[-3(-1-5)-2(4-1)+1(20+1)]\\[6pt]&=\frac12[18-6+21]\\[6pt]&=\frac{33}2\end{aligned}$$
Answer $\Delta=16.5\text{ square units}$
Question 9By computing the area of triangle $ABC$ check whether the points are collinear where $A(0,4)$, $B(3,2)$ and $C(6,0)$.
Formula used
$$\Delta=\frac12\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}$$
$$\text{Collinear points: }\Delta=0$$

Sol:

Area of the triangle $ABC$ is

$$\Delta=\frac12\begin{vmatrix}0&4&1\\3&2&1\\6&0&1\end{vmatrix}$$

Expand along the first row.

$$\begin{aligned}\Delta=\frac12\Big[&0\begin{vmatrix}2&1\\0&1\end{vmatrix}-4\begin{vmatrix}3&1\\6&1\end{vmatrix}\\[6pt]&\quad+1\begin{vmatrix}3&2\\6&0\end{vmatrix}\Big]\end{aligned}$$
$$\begin{aligned}\Delta&=\frac12[0-4(3-6)+1(0-12)]\\[6pt]&=\frac12[12-12]\\[6pt]&=0\end{aligned}$$
Answer $\Delta=0$, so the points $A$, $B$ and $C$ are collinear.
Question 10The coordinates of the points are $A(0,\lambda)$, $B(-2,1)$ and $C(-3,-2)$. By computing the area bounded by $ABC$, find the value of $\lambda$ if points are collinear.
Formula used
$$\Delta=\frac12\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}$$
$$\text{Collinear points: }\Delta=0$$

Sol:

Area of the triangle $ABC$ is

$$\Delta=\frac12\begin{vmatrix}0&\lambda&1\\-2&1&1\\-3&-2&1\end{vmatrix}$$

Expand along the first row.

$$\begin{aligned}\Delta=\frac12\Big[&0\begin{vmatrix}1&1\\-2&1\end{vmatrix}-\lambda\begin{vmatrix}-2&1\\-3&1\end{vmatrix}\\[6pt]&\quad+1\begin{vmatrix}-2&1\\-3&-2\end{vmatrix}\Big]\end{aligned}$$
$$\begin{aligned}\Delta&=\frac12[0-\lambda(-2+3)+1(4+3)]\\[6pt]&=\frac12[-\lambda+7]\end{aligned}$$

The points are collinear, so the area is zero.

$$\frac12[-\lambda+7]=0$$
$$-\lambda+7=0$$
Answer $\lambda=7$

See Exercise 5.2 worked examples

Quick check: MCQs on Exercise 5.2

  1. Two lines have slopes $2$ and $-\frac12$. What is the angle between them?
    (a) $90^\circ$ · (b) $45^\circ$ · (c) $60^\circ$ · (d) $0^\circ$
    Show answer
    Answer: (a) $90^\circ$. $1+m_1m_2=1+(2)\left(-\frac12\right)=0$, so the lines are perpendicular.
  2. What is the area of the triangle with vertices $(0,0)$, $(4,0)$ and $(0,3)$?
    (a) $12$ · (b) $7$ · (c) $6$ · (d) $5$
    Show answer
    Answer: (c) $6$. $\Delta=\frac12\begin{vmatrix}0&0&1\\4&0&1\\0&3&1\end{vmatrix}=\frac12(12)=6$.
  3. If three points are collinear, what is the area of the triangle with these points as vertices?
    (a) $0$ · (b) $2$ · (c) $1$ · (d) $-1$
    Show answer
    Answer: (a) $0$. Collinear points lie on one line, so they bound no region and $\Delta=0$.

Take the Exercise 5.2 quiz (3 MCQs)

Popular posts from this blog

Chapter 6 Conic Section Notes – 12th Class Math New Book

Exercise 3.3 Solutions – 12th Class Math New Book (Integration by Parts)

Chapter 11 MCQs and Short Questions – 12th Class Math New Book