Chapter 5 Analytical Geometry Notes – 12th Class Math New Book

By Ehsan Ahmed · updated
Chapter 5 Analytical Geometry notes thumbnail listing the exercises of the chapter, 12th class math new book

Complete notes of Chapter 5: Analytical Geometry from the 12th class Mathematics new book (Punjab, PECTAA 2026-27). Every section of the chapter is explained with definitions, formulas and solved examples, followed by links to the step-by-step solutions of each exercise.

Tap a section to open or close it.
5.1 Equation of straight lines

A straight line can be written in different forms. The form depends on the information given.

General form: $a$, $b$ and $c$ are real numbers, and $a$ and $b$ are not both zero.

Slope-intercept form: $m$ is the slope and $c$ is the $y$-intercept.

Point-slope form: the line passes through $(x_1,y_1)$ and has slope $m$.

Two-point form: the inclined line passes through $(x_1,y_1)$ and $(x_2,y_2)$.

Intercept form: $a$ is the $x$-intercept and $b$ is the $y$-intercept ($a\ne0$, $b\ne0$).

Normal form: $p$ is the perpendicular distance of the line from the origin. The angle $\theta$ is the angle between this perpendicular and the positive $x$-axis, measured counterclockwise.

The slope of the line through $(x_1,y_1)$ and $(x_2,y_2)$ is the change in $y$ divided by the change in $x$. A horizontal line has slope $0$. The slope of a vertical line is undefined.

$$\text{General:}\quad ax+by+c=0$$
$$m=\frac{y_2-y_1}{x_2-x_1}$$
$$\text{Slope-intercept:}\quad y=mx+c$$
$$\text{Point-slope:}\quad y-y_1=m(x-x_1)$$
$$\text{Two-point:}\quad\frac{y-y_1}{y_2-y_1}=\frac{x-x_1}{x_2-x_1}$$
$$\text{Intercept:}\quad\frac xa+\frac yb=1$$
$$\text{Normal:}\quad x\cos\theta+y\sin\theta=p$$
Blue: the line x-sqrt 3y+6=0 (Example 5). Red: the perpendicular from the origin, of length p=3. Green: its inclination theta =120^circ .
Blue: the line $x-\sqrt3y+6=0$ (Example 5). Red: the perpendicular from the origin, of length $p=3$. Green: its inclination $\theta=120^\circ$.
5.2 A linear equation in two variables represents a straight line

Theorem 1: the equation $ax+by+c=0$, where $a$ and $b$ are not both zero, always represents a straight line.

If $a=0$, it becomes $y=-\frac cb$, a line parallel to the $x$-axis. If $b=0$, it becomes $x=-\frac ca$, a line parallel to the $y$-axis.

If $a\ne0$ and $b\ne0$, it becomes $y=-\frac abx-\frac cb$. This is the slope-intercept form with slope $-\frac ab$ and $y$-intercept $-\frac cb$.

$$m=-\frac ab,\qquad y\text{-intercept}=-\frac cb$$
$$x\text{-intercept}=-\frac ca$$
5.2.1 Transform the general linear equation to standard forms

Theorem 2 changes $ax+by+c=0$ to the standard forms (for the forms below, $a\ne0$ and $b\ne0$). First find the slope $-\frac ab$ and the points $\left(-\frac ca,0\right)$ and $\left(0,-\frac cb\right)$ on the line.

Symmetric form: $\theta$ is the inclination of the line, so $\tan\theta=-\frac ab$. Choose the sign of the radical so that the signs of $\sin\theta$ and $\cos\theta$ suit $\theta$.

Normal form: write $ax+by=-c$ and divide by $\pm\sqrt{a^2+b^2}$. Choose the sign so that the right hand side is positive.

$$\text{Slope-intercept:}\quad y=-\frac abx-\frac cb$$
$$\text{Point-slope:}\quad y-0=-\frac ab\left(x+\frac ca\right)$$
$$\text{Symmetric:}\quad\frac{x-x_1}{\cos\theta}=\frac{y-y_1}{\sin\theta}=r$$
$$\sin\theta=\frac{-a}{\pm\sqrt{a^2+b^2}}$$
$$\cos\theta=\frac b{\pm\sqrt{a^2+b^2}}$$
$$\text{Two-point:}\quad\frac{y-0}{-\frac cb-0}=\frac{x+\frac ca}{0+\frac ca}$$
$$\text{Two-intercept:}\quad\frac x{-\frac ca}+\frac y{-\frac cb}=1$$
$$\text{Normal:}\quad\frac{ax+by}{\pm\sqrt{a^2+b^2}}=\frac{-c}{\pm\sqrt{a^2+b^2}}$$
5.3 Equations of medians, altitudes and right bisectors

A median joins a vertex of a triangle to the mid-point of the opposite side. Find the mid-point, then use the two-point form.

An altitude is the line drawn from a vertex perpendicular to the opposite side. Find the slope of that side, then the slope of the altitude, then use the point-slope form with the vertex.

A perpendicular (right) bisector of a side is perpendicular to the side and passes through its mid-point. Find the mid-point and the slope, then use the point-slope form.

If a side is horizontal, the line perpendicular to it is vertical and has the form $x=$ constant.

$$M=\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right)$$
$$\text{Perpendicular lines:}\quad m_1m_2=-1$$
Blue: triangle ABC. Red: median AD. Green: median BE. Purple: median CF.
Blue: triangle $ABC$. Red: median $AD$. Green: median $BE$. Purple: median $CF$.
5.4 Condition of concurrency of three straight lines

Three or more lines are concurrent if they all pass through one point. This point is the point of concurrency.

Theorem 3: three non-parallel lines $a_1x+b_1y+c_1=0$, $a_2x+b_2y+c_2=0$ and $a_3x+b_3y+c_3=0$ are concurrent if and only if the determinant of their coefficients is zero.

The idea of the proof: find the point where the first two lines meet, and put it in the third equation. The result is the expansion of the determinant.

If the lines are concurrent, solve any two of the equations to find the point of concurrency.

$$\begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}=0$$
$$x=\frac{b_1c_2-b_2c_1}{a_1b_2-a_2b_1},\quad y=\frac{a_2c_1-a_1c_2}{a_1b_2-a_2b_1}$$
5.5 Equation of lines through the point of intersection of two lines

Let $\ell_1:a_1x+b_1y+c_1=0$ and $\ell_2:a_2x+b_2y+c_2=0$ be two non-parallel lines. For any real $k$, the first equation below is a line through their point of intersection. Different values of $k$ give different lines, so it is a family of lines.

One more condition (for example, parallel or perpendicular to a given line) fixes $k$ and gives a particular member of the family.

Theorem 4: the altitudes of a triangle are concurrent. Theorem 5: the right bisectors of a triangle are concurrent. Theorem 6: the medians of a triangle are concurrent.

All three are proved in the same way. Take the vertices $A(x_1,y_1)$, $B(x_2,y_2)$ and $C(x_3,y_3)$ and write the three equations. In the determinant of the coefficients, add the 2nd and 3rd rows to the 1st row. The 1st row becomes zero, so the determinant is zero and the lines are concurrent.

The next three equations below are the altitude from $A$, the right bisector of $BC$ and the median from $A$. The others of each kind follow by symmetry.

$$a_1x+b_1y+c_1+k(a_2x+b_2y+c_2)=0$$
$$\begin{aligned}&x(x_2-x_3)+y(y_2-y_3)\\&\quad-x_1(x_2-x_3)-y_1(y_2-y_3)=0\end{aligned}$$
$$\begin{aligned}&x(x_2-x_3)+y(y_2-y_3)\\&\quad-\tfrac12(y_2^2-y_3^2)-\tfrac12(x_2^2-x_3^2)=0\end{aligned}$$
$$\begin{aligned}&x(y_2+y_3-2y_1)+y(2x_1-x_2-x_3)\\&\quad-x_1(y_2+y_3-2y_1)\\&\quad+y_1(x_2+x_3-2x_1)=0\end{aligned}$$
5.6 Angle between two lines

Two intersecting lines form two supplementary angles. Unless the lines are perpendicular, one of these angles is acute.

The angle from $\ell_1$ to $\ell_2$ is the angle $\theta$ through which $\ell_1$ is rotated counterclockwise about their common point so that it coincides with $\ell_2$.

Theorem 7: if $m_1$ and $m_2$ are the slopes of two non-vertical lines which are not perpendicular, then $\tan\theta$ is given by the formula below. If $\alpha_1$ and $\alpha_2$ are the inclinations, then $\theta=\alpha_2-\alpha_1$, and the formula for $\tan(\alpha_2-\alpha_1)$ gives the result.

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

Corollary 1: the lines are parallel if and only if $m_1=m_2$. Corollary 2: the lines are perpendicular if and only if $1+m_1m_2=0$.

For an angle of a triangle, measure counterclockwise from one side to the other, so that the rotation sweeps the inside of the triangle.

$$\tan\theta=\frac{m_2-m_1}{1+m_1m_2}$$
$$\ell_1\parallel\ell_2\iff m_1=m_2$$
$$\ell_1\perp\ell_2\iff1+m_1m_2=0$$
Blue: ell _1 with slope 1. Red: ell _2 with slope -2. Green: the angle theta from ell _1 to ell _2, measured counterclockwise.
Blue: $\ell_1$ with slope $1$. Red: $\ell_2$ with slope $-2$. Green: the angle $\theta$ from $\ell_1$ to $\ell_2$, measured counterclockwise.
5.7 Area of a triangular region whose vertices are given

Let the vertices be $P(x_1,y_1)$, $Q(x_2,y_2)$ and $R(x_3,y_3)$. Drawing perpendiculars from the vertices to the $x$-axis makes trapeziums. Adding and subtracting their areas gives the formula below.

The formula holds for vertices anywhere in the $xy$-plane. An area is never negative, so take the absolute value of the result.

If the points $P$, $Q$ and $R$ are collinear, then $\Delta=0$.

$$\begin{aligned}\Delta=\tfrac12[&x_1(y_2-y_3)+x_2(y_3-y_1)\\&+x_3(y_1-y_2)]\end{aligned}$$
$$\Delta=\frac12\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}$$
5.8 Homogeneous equation of the second degree in two variables

Multiplying the equations of two lines gives one equation of the second degree. It is called the joint equation of the pair of lines.

The joint equation of the lines $y=m_1x$ and $y=m_2x$ through the origin is $y^2-(m_1+m_2)xy+m_1m_2x^2=0$.

In the other direction, if a second degree equation can be resolved into two linear factors, it represents a pair of lines. Put each factor equal to zero to get the two lines.

$$(a_1x+b_1y+c_1)(a_2x+b_2y+c_2)=0$$
$$(y-m_1x)(y-m_2x)=0$$
5.8.1 Homogeneous equation

An equation $f(x,y)=0$ is homogeneous of degree $n$ if $f(kx,ky)=k^nf(x,y)$ for some real number $k$. The general homogeneous equation of the second degree is $ax^2+2hxy+by^2=0$, where $a$, $h$ and $b$ are not all zero.

Theorem 8: if $b\ne0$, the equation $ax^2+2hxy+by^2=0$ represents a pair of lines through the origin. The lines are real and distinct if $h^2>ab$, real and coincident if $h^2=ab$, and imaginary if $h^2<ab$.

To prove it, multiply the equation by $b$ and complete the square: $(by+hx)^2-x^2(h^2-ab)=0$. The two factors are the two lines below.

$$ax^2+2hxy+by^2=0$$
$$by+x\left(h+\sqrt{h^2-ab}\right)=0$$
$$by+x\left(h-\sqrt{h^2-ab}\right)=0$$
5.9 Acute angle between the lines

Let $m_1$ and $m_2$ be the slopes of the two lines of $ax^2+2hxy+by^2=0$ with $b\ne0$. Their sum and product are given below. Put them in the formula for the angle between two lines to get the acute angle $\theta$, provided $h^2-ab\ge0$.

If $h^2-ab=0$, then $\theta=0$ and the lines are coincident.

If $a+b=0$, then $\tan\theta$ is undefined and the lines are perpendicular. So the lines are perpendicular when the sum of the coefficients of $x^2$ and $y^2$ is $0$.

$$m_1+m_2=-\frac{2h}b,\qquad m_1m_2=\frac ab$$
$$\tan\theta=\frac{2\sqrt{h^2-ab}}{|a+b|}$$
$$\text{Coincident:}\ h^2-ab=0$$
$$\text{Perpendicular:}\ a+b=0$$
5.10 Application of analytical geometry to real life

Analytical geometry gives positions, distances, slopes and angles in aviation, astronomy, engineering and many other fields.

Use the distance formula for the straight line distance between two positions and the slope formula for the direction. The tilt angle $\theta$ of a line of slope $m$ satisfies $\tan\theta=m$.

An astronomical unit ($AU$) is a unit of length. It is exactly $149597870700$ m, or about $149.6$ million km.

$$d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$
$$m=\tan\theta=\frac{y_2-y_1}{x_2-x_1}$$

Exercise solutions of Chapter 5

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