2-D coordinate system- Analytic geometry Formulas

2-D coordinate system

A two-dimensional Cartesian coordinate system is formed by two mutually perpendicular axes. The axes intersect at the point O, which is called the origin. In the right-handed system, one of the axes (x-axis) is directed to the right, the other y-axis is directed vertically upwards.

The coordinates of any point on the xy-plane are determined by two real numbers x and y, which are orthogonal projections of the points on the respective axes. The x-coordinate of the point is called the abscissa of the point, and the y-coordinate is called its ordinate. Distance between two points:

Consider two points A(x1,y1) and B(x2,y2) in an XY plane.

Then distance formula is given by,

$AB=\sqrt{\left({x}_{2}–{x}_{1}{\right)}^{2}+\left({y}_{2}–{y}_{1}{\right)}^{2}}$

Example:

Find the distance between the points A(2,-3) and B(5,1).

$AB=\sqrt{\left(5–2{\right)}^{2}+\left(1–\left(–3\right){\right)}^{2}}$
$AB=\sqrt{{3}^{2}+{4}^{2}}=\sqrt{25}$

Section Formula:

Let A(x1 , y1) and B(x2, y2) be the two pints on the XY plane. And P( x, y) be any point on segment AB such that AP: PB = m:n.

Condition 1: If the point P divides segment AB internally in the ratio m:n.

Then the (x,y) coordinates of P are given by:

$\left[\frac{m{x}_{2}+n{x}_{1}}{m+n},\frac{m{y}_{2}+n{y}_{1}}{m+n}\right]$

Condition 2: If the point P divided the line segment AB externally in the ratio m:n.

Then the ( x, y) coordinates of P are given by

$\left[\frac{m{x}_{2}–n{x}_{1}}{m–n},\frac{m{y}_{2}–n{y}_{1}}{m–n}\right]$

Condition 3: If the point P divided the line segment AB in the equal ratio i.e m = n or m:n = 1:1 then the ( x, y) coordinates of P are given by

$P\left(x,y\right)=\left(\frac{{x}_{1}+{x}_{2}}{2},\frac{{y}_{1}+{y}_{2}}{2}\right)$

Example:

P (4, 5) and Q(7, – 1) are two given points and the point R divides the line-segment PQ externally in the ratio 4:3. Find the coordinates of Y.

Given that, P(4,5)=(x1,y1), Q(7,-1)=(x2,y2)

Point R divides the segment PQ in the ratio 4:3,

hence m=4, n=3

Since given that the point R divides the segment externally we use the section formula for external division,

$$R= \left\lbrace \left[ {mx_2-nx_1 \over m-n} \right] , \left[ {my_2-ny_1 \over m-n} \right] \right\rbrace$$
$$R= \left\lbrace \left[ {(4 x 7) – (3 x 4) \over (4 – 3) } \right] , \left[ {(4 x -1) – (3 x 5) \over(4 – 3)} \right] \right\rbrace$$
$$R= \left\lbrace \left[ {(28 – 12) \over 1} \right] , \left[ {(-4 – 15) \over 1} \right] \right\rbrace$$
$R=\mathrm{\left}\left\{16,–19\mathrm{\right}\right\}$

The coordinates for the point R which divides the segment PQ externally are (16,-19)

Area of a Triangle:

The area of a triangle whose coordinates of vertices are (x1, y1) , (x2, y2) and (x3, y3)

The area of a triangle ABC whose vertices are A(x1, y1) , B(x2, y2) and C(x3, y3) is given by

Note:

• To find the area of a polygon we divide it in triangles and take the numerical value of the area of each of the triangles.
• Three points A(x1, y1) , B(x2, y2) and C(x3, y3) are collinear if and only if Area of triangle = 0
$\frac{1}{2}\left[{x}_{1}\left({y}_{2}–{y}_{3}\right)+{x}_{2}\left({y}_{3}–{y}_{1}\right)+{x}_{3}\left({y}_{1}–{y}_{2}\right)\right]=0$

Example:

Find the area of the LMN whose vertices are L(3, 2), M(4, 2) and N(3, 5)

$A=\frac{1}{2}\left[3\left(2–5\right)+4\left(5–2\right)+3\left(2–2\right)\right]$
$A=\frac{1}{2}\left[3×\left(–3\right)+4×3\right]$
$A=\frac{1}{2}\left[–9+12\right]$
$A=\frac{1}{2}×3$

Slope of a Straight Line (m):

The slope of a line denotes the steepness of a line. Slope is the tangent of the angle made by straight line with the positive direction of X-axis.

$m=\sqrt{\frac{\left({y}_{2}–{y}_{1}\right)}{\left({x}_{2}–{x}_{1}\right)}}=tan\theta$

Example:

Find the slope of the line passing through the coordinates A(1, 9) and B(3, -5)?

$m=\frac{–5–9}{3–1}=–\frac{14}{2}=–7$

Thus, slope of the given line will be -7.

Equation of a Straight Line:

The equation of line parallel to X-axis is given as y = d

The equation of line parallel to Y-axis is given as x = c

There are many forms a straight line can be represented:

• Slope form:

The equation of straight-line having slope m is given as y = mx + c, where c is the intercept of a straight line on Y-axis.

• Intercept form:

The intercept form of a straight line having a and b as the intercepts on X-axis and Y-axis respectively is given as

$\frac{x}{a}+\frac{y}{b}=1$
• Point slope form:

The equation of line passing through point (x1, y1) and having slope m is given as

$y–y1=m\left(x–{x}_{1}\right)$
• Two-point form:

The equation of line passing through points (x1, y1) and (x2, y2) is given as

$y–y1=\frac{\left({y}_{2}–{y}_{1}\right)}{\left({x}_{2}–{x}_{1}\right)}\left(x–{x}_{1}\right)$
• General form:

ax + by + c = 0 where a, b, c are constants and a, b are not both zero.

• Normal Form:

Normal form of any straight line is defined by the length of the perpendicular (p) from the origin to the line and angle (θ) which perpendicular makes with the positive direction of X-axis. Any straight line can be represented in normal form as

$xcos\theta +ysin\theta =p$

Angles between two lines

Let “θ” be the angle between these two lines, we can then represent the angle between them as

$tan\theta =\left[\frac{\left({m}_{1}–{m}_{2}\right)}{1+{m}_{1}{m}_{2}}\right]$

Midpoint Theorem:

Consider the same points A and B, having coordinates to be (x1,y1) and (x2,y2) respectively. Let M(x,y) be the midpoint of lying on the line connecting these two points A and B. The coordinates of this point are