$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

# 1.1: Sets of Real Numbers and the Cartesian Coordinate Plane

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

## Sets of Numbers

While the authors would like nothing more than to delve quickly and deeply into the sheer excitement that is Precalculus, experience has taught us that a brief refresher on some basic notions is welcome, if not completely necessary, at this stage. To that end, we present a brief summary of 'set theory' and some of the associated vocabulary and notations we use in the text. Like all good Math books, we begin with a definition.

Definition 1.1: Set

A set is a well-defined collection of objects which are called the 'elements' of the set. Here, 'well-defined' means that it is possible to determine if something belongs to the collection or not, without prejudice.

For example, the collection of letters that make up the word "smolko'' is well-defined and is a set, but the collection of the worst math teachers in the world is not well-defined, and so is not a set (for a more thought-provoking example, consider the collection of all things that do not contain themselves - this leads to the famous Russell's Paradox). In general, there are three ways to describe sets. They are

Ways to Describe Sets

1. The Verbal Method: Use a sentence to define a set.
2. The Roster Method: Begin with a left brace '$$\{$$', list each element of the set only once and then end with a right brace '$$\}$$'.
3. The Set-Builder Method: A combination of the verbal and roster methods using a "dummy variable'' such as $$x$$.

For example, let $$S$$ be the set described verbally as the set of letters that make up the word "smolko''. A roster description of $$S$$ would be $$\left\{ s, m, o, l, k \right\}$$. Note that we listed 'o' only once, even though it appears twice in "smolko.'' Also, the order of the elements doesn't matter, so $$\left\{ k, l, m, o, s \right\}$$ is also a roster description of $$S$$. A set-builder description of $$S$$ is:

$\{ x \, | \, x\, \text{is a letter in the word "smolko''.}\}$

The way to read this is: 'The set of elements $$x$$ such that $$x$$ is a letter in the word "smolko.''' In each of the above cases, we may use the familiar equals sign '$$=$$' and write

$S = \left\{ s, m, o, l, k, o \right\}$

or

$S = \{ x \, | \, x \text{ is a letter in the word "smolko''}\}.$

Clearly $$m$$ is in $$S$$ and $$q$$ is not in $$S$$. We express these sentiments mathematically by writing $$m \in S$$ and $$q \notin S$$. Throughout your mathematical upbringing, you have encountered several famous sets of numbers. They are listed below.

Sets of Numbers

1. The Empty Set: $$\emptyset=\{ \}=\{x\,|\,x\neq x \}$$. This is the set with no elements. Like the number '$$0$$,' it plays a vital role in mathematics ( ... which, sadly, we will not explore in this Precalculus text).
2. The Natural Numbers: $$\mathbb N= \{ 1, 2, 3, \ldots\}$$ The periods of ellipsis here indicate that the natural numbers contain $$1$$, $$2$$, $$3$$, 'and so forth'.
3. The Whole Numbers: $$\mathbb W = \{ 0, 1, 2, \ldots \}$$
4. The Integers: $$\mathbb Z=\{ \ldots, -1, -2, -1, 0, 1, 2, 3, \ldots \}$$
5. The Rational Numbers: $$\mathbb Q=\left\{\frac{a}{b} \, | \, a \in \mathbb Z \, \mbox{and} \, b \in \mathbb Z \right\}$$. Rational numbers are the $$\underline{ratio}$$s of integers (provided the denominator is not zero!) It turns out that another way to describe the rational numbers (Section 9.2). is: $\mathbb Q=\{x\,|\,x\, \text{possesses a repeating or terminating decimal representation.}\}$
6. The Real Numbers: $$\mathbb R = \{ x\,|\,x \, \text{ possesses a decimal representation.}\}$$
7. The Irrational Numbers: $$\mathbb P = \{x\,|\,x\, \text{is a non-rational real number.}\}$$ Said another way, an irrational number is a decimal which neither repeats nor terminates (the classic example is the number $$\pi$$; see Section 10.1), but numbers like $$\sqrt{2}$$ and $$0.101001000100001\ldots$$ are other fine representatives.}
8. The Complex Numbers: $$\mathbb C=\{a+bi\,|\,a$$, $$b \in \mathbb R$$ and $$i=\sqrt{-1}$$}\}\) Despite their importance, the complex numbers play only a minor role in the text (They first appear in Section 3.4 and return in Section 11.7).

It is important to note that every natural number is a whole number, which, in turn, is an integer. Each integer is a rational number (take $$b =1$$ in the above definition for $$Q$$) and the rational numbers are all real numbers, since they possess decimal representations (i.e., Long division) If we take $$b=0$$ in the above definition of $$\mathbb C$$, we see that every real number is a complex number. In this sense, the sets $$\mathbb N$$, $$\mathbb W$$, $$\mathbb Z$$, $$\mathbb Q$$, $$\mathbb R$$, and $$\mathbb C$$ are 'nested' like Matryoshka dolls. Figure $$\PageIndex{1}$$: Nesting of opened matryoshkas. Image used with permission (CC BY-SA 3.0; BrokenSphere).

For the most part, this textbook focuses on sets whose elements come from the real numbers $$\mathbb R$$. Recall that we may visualize $$\mathbb R$$ as a line. Segments of this line are called intervals of numbers. Below is a summary of the so-called interval notation associated with given sets of numbers. For intervals with finite endpoints, we list the left endpoint, then the right endpoint. We use square brackets, '$$[$$' or '$$]$$', if the endpoint is included in the interval and use a filled-in or 'closed' dot to indicate membership in the interval. Otherwise, we use parentheses, '$$($$' or '$$)$$' and an 'open' circle to indicate that the endpoint is not part of the set. If the interval does not have finite endpoints, we use the symbols $$-\infty$$ to indicate that the interval extends indefinitely to the left and $$\infty$$ to indicate that the interval extends indefinitely to the right. Since infinity is a concept, and not a number, we always use parentheses when using these symbols in interval notation, and use an appropriate arrow to indicate that the interval extends indefinitely in one (or both) directions.

Interval Notation

Let $$a$$ and $$b$$ be real numbers with $$a<b$$.

Set of Real Numbers Interval Notation Region on the Real Number Line
$$\{x\,|\,a<x<b \}$$ $$(a,b)$$
$$\{x\,|\,a\leq x<b \}$$ $$[a,b)$$
$$\{x\,|\,a\leq x<b \}$$ $$(a,b]$$
$$\{x\,|\,a\leq x<b \}$$ $$[a,b]$$
$$\{x\,|\,a<x\leq b\}$$ $$(-\infty,b)$$
$$\{ x\,|\,x \leq b \}$$ $$(-\infty,b]$$
$$\{x\,|\,a\leq x \leq b \}$$ $$(a,\infty)$$
$$\{x\,|\,x \geq a \}$$ $$[a,\infty)$$
$$\mathbb R$$ $$(-\infty,\infty)$$

We will often have occasion to combine sets. There are two basic ways to combine sets: $$\textbf{intersection}$$ and $$\textbf{union}$$. We define both of these concepts below.

Definition 1.2: Intersection and Union

Suppose $$A$$ and $$B$$ are two sets.

• The intersection of $$A$$ and $$B$$: $$A \cap B = \{ x \, | \, x \in A \, \text{and} \,\, x \in B \}$$
• The union of $$A$$ and $$B$$: $$A \cup B = \{ x \, | \, x \in A \, \text{or} \,\, x \in B \, \, \text{(or both)} \}$$

Said differently, the intersection of two sets is the overlap of the two sets -- the elements which the sets have in common. The union of two sets consists of the totality of the elements in each of the sets, collected together (the reader is encouraged to research Venn Diagrams for a nice geometric interpretation of these concepts). For example, if $$A = \{ 1,2,3 \}$$ and $$B = \{2,4,6 \}$$, then $$A \cap B = \{2\}$$ and $$A \cup B = \{1,2,3,4,6\}$$. If $$A = [-5,3)$$ and $$B = (1, \infty)$$, then we can find $$A \cap B$$ and $$A\cup B$$ graphically. To find $$A\cap B$$, we shade the overlap of the two and obtain $$A \cap B = (1,3)$$. To find $$A \cup B$$, we shade each of $$A$$ and $$B$$ and describe the resulting shaded region to find $$A \cup B = [-5,\infty)$$. While both intersection and union are important, we have more occasion to use union in this text than intersection, simply because most of the sets of real numbers we will be working with are either intervals or are unions of intervals, as the following example illustrates.

Example $$\PageIndex{1}$$:

Express the following sets of numbers using interval notation.

1. $$\{ x \, | \, x \leq -2 \, \, \text{or} \, \, x \geq 2 \}$$
2. $$\{ x \, | \, x \neq 3 \}$$
3. $$\{ x \, | \, x \neq \pm 3 \}$$
4. $$\{ x \, | \, -1 < x \leq 3 \,\, \text{or} \,\, x = 5\}$$

Solution

1. The best way to proceed here is to graph the set of numbers on the number line and glean the answer from it. The inequality $$x \leq -2$$ corresponds to the interval $$(-\infty, -2]$$ and the inequality $$x \geq 2$$ corresponds to the interval $$[2, \infty)$$. Since we are looking to describe the real numbers $$x$$ in one of these $$\textit{or}$$ the other, we have $$\{ x \, | \, x \leq -2 \, \, \text{or} \, \, x \geq 2 \} = (-\infty, -2] \cup [2, \infty)$$. 1. For the set $$\{ x \, | \, x \neq 3 \}$$, we shade the entire real number line except $$x=3$$, where we leave an open circle. This divides the real number line into two intervals, $$(-\infty, 3)$$ and $$(3,\infty)$$. Since the values of $$x$$ could be in either one of these intervals $$\textit{or}$$ the other, we have that $$\{ x \, | \, x \neq 3 \} = (-\infty, 3) \cup (3,\infty)$$ 1. For the set $$\{ x \, | \, x \neq \pm 3 \}$$, we proceed as before and exclude both $$x=3$$ and $$x=-3$$ from our set. This breaks the number line into $$\textit{three}$$ intervals, $$(-\infty, -3)$$, $$(-3,3)$$ and $$(3, \infty)$$. Since the set describes real numbers which come from the first, second $$\textit{or}$$ third interval, we have $$\{ x \, | \, x \neq \pm 3 \} = (-\infty, -3) \cup (-3,3) \cup (3, \infty)$$. 1. Graphing the set $$\{ x \, | \, -1 < x \leq 3 \,\, \text{or} \,\, x = 5\}$$, we get one interval, $$(-1,3]$$ along with a single number, or point, $$\{ 5\}$$. While we $$\textit{could}$$ express the latter as $$[5,5]$$ (Can you see why?), we choose to write our answer as $$\{ x \, | \, -1 < x \leq 3 \,\, \text{or} \,\, x = 5\} = (-1,3] \cup \{ 5\}$$. ### The Cartesian Coordinate Plane

In order to visualize the pure excitement that is Precalculus, we need to unite Algebra and Geometry. Simply put, we must find a way to draw algebraic things. Let's start with possibly the greatest mathematical achievement of all time: the Cartesian Coordinate Plane. Imagine two real number lines crossing at a right angle at $$0$$ as drawn below. The horizontal number line is usually called the $$x$$-axis} while the vertical number line is usually called the $$y$$-axis}; These labels can vary depending on the context of application. As with the usual number line, we imagine these axes extending off indefinitely in both directions.\footnote{Usually extending off towards infinity is indicated by arrows, but here, the arrows are used to indicate the direction of increasing values of $$x$$ and $$y$$.}

Having two number lines allows us to locate the positions of points off of the number lines as well as points on the lines themselves.

For example, consider the point $$P$$ on the next page. To use the numbers on the axes to label this point, we imagine dropping a vertical line from the $$x$$-axis to $$P$$ and extending a horizontal line from the $$y$$-axis to $$P$$. This process is sometimes called 'projecting' the point $$P$$ to the $$x$$- (respectively $$y$$-) axis. We then describe the point $$P$$ using the ordered pair $$(2,-4)$$. The first number in the ordered pair is called the abscissa or $$x$$-coordinate and the second is called the ordinate or $$y$$-coordinate; again, the names of the coordinates can vary depending on the context of the application. If, for example, the horizontal axis represented time we might choose to call it the $$t$$-axis. The first number in the ordered pair would then be the $$t$$-coordinate.} Taken together, the ordered pair $$(2,-4)$$ comprise the Cartesian coordinates of the point $$P$$ (also called the 'rectangular coordinates' of $$P$$ - see Section 11.4 for more details) . In practice, the distinction between a point and its coordinates is blurred; for example, we often speak of 'the point $$(2,-4)$$.' We can think of $$(2,-4)$$ as instructions on how to reach $$P$$ from the origin $$(0, 0)$$ by moving $$2$$ units to the right and $$4$$ units downwards. Notice that the order in the \underline{ordered} pair is important $$-$$ if we wish to plot the point $$(-4,2)$$, we would move to the left $$4$$ units from the origin and then move upwards $$2$$ units, as below on the right. When we speak of the Cartesian Coordinate Plane, we mean the set of all possible ordered pairs $$(x,y)$$ as $$x$$ and $$y$$ take values from the real numbers. Below is a summary of important facts about Cartesian coordinates.

Important Facts about the Cartesian Coordinate Plane

• $$(a,b)$$ and $$(c,d)$$ represent the same point in the plane if and only if $$a = c$$ and $$b = d$$.
• $$(x,y)$$ lies on the $$x$$-axis if and only if $$y = 0$$.
• $$(x,y)$$ lies on the $$y$$-axis if and only if $$x=0$$.
• The origin is the point $$(0,0)$$. It is the only point common to both axes.

Example $$\PageIndex{2}$$:

Plot the following points: $$A(5,8)$$, $$B\left(-\frac{5}{2}, 3\right)$$, $$C(-5.8, -3)$$, $$D(4.5, -1)$$, $$E(5,0)$$, $$F(0,5)$$, $$G(-7,0)$$, $$H(0, -9)$$, $$O(0,0)$$.

By the way, the letter $$O$$ is almost always reserved for the origin.

Solution

To plot these points, we start at the origin and move to the right if the $$x$$-coordinate is positive; to the left if it is negative. Next, we move up if the $$y$$-coordinate is positive or down if it is negative. If the $$x$$-coordinate is $$0$$, we start at the origin and move along the $$y$$-axis only. If the $$y$$-coordinate is $$0$$ we move along the $$x$$-axis only. The axes divide the plane into four regions called quadrants. They are labeled with Roman numerals and proceed counterclockwise around the plane: For example, $$(1,2)$$ lies in Quadrant I, $$(-1,2)$$ in Quadrant II, $$(-1,-2)$$ in Quadrant III and $$(1,-2)$$ in Quadrant IV. If a point other than the origin happens to lie on the axes, we typically refer to that point as lying on the positive or negative $$x$$-axis (if $$y = 0$$ ) or on the positive or negative $$y$$-axis (if $$x = 0$$ ). For example, $$(0,4)$$ lies on the positive $$y$$-axis whereas $$(-117,0)$$ lies on the negative $$x$$-axis. Such points do not belong to any of the four quadrants.

One of the most important concepts in all of Mathematics is symmetry. There are many types of symmetry in Mathematics, but three of them can be discussed easily using Cartesian Coordinates.

Definition 1.3: Symmetries

Two points $$(a,b)$$ and $$(c,d)$$ in the plane are said to be

• symmetric about the $$x$$-axis} if $$a = c$$ and $$b = -d$$
• symmetric about the $$y$$-axis} if $$a = -c$$ and $$b = d$$
• symmetric about the origin if $$a = -c$$ and $$b = -d$$

Schematically, In the above figure, $$P$$ and $$S$$ are symmetric about the $$x$$-axis, as are $$Q$$ and $$R$$; $$P$$ and $$Q$$ are symmetric about the $$y$$-axis, as are $$R$$ and $$S$$; and $$P$$ and $$R$$ are symmetric about the origin, as are $$Q$$ and $$S$$.

Example $$\PageIndex{3}$$:

Let $$P$$ be the point $$(-2,3)$$. Find the points which are symmetric to $$P$$ about the:

• $$x$$-axis
• $$y$$-axis
• origin

Solution

The figure after Definition $$\PageIndex{3}$$ gives us a good way to think about finding symmetric points in terms of taking the opposites of the $$x$$- and/or $$y$$-coordinates of $$P(-2,3)$$.

1. To find the point symmetric about the $$x$$-axis, we replace the $$y$$-coordinate with its opposite to get $$(-2,-3)$$.
2. To find the point symmetric about the $$y$$-axis, we replace the $$x$$-coordinate with its opposite to get $$(2,3)$$.
3. To find the point symmetric about the origin, we replace the $$x$$- and $$y$$-coordinates with their opposites to get $$(2,-3)$$. One way to visualize the processes in the previous example is with the concept of a reflection. If we start with our point $$(-2,3)$$ and pretend that the $$x$$-axis is a mirror, then the reflection of $$(-2,3)$$ across the $$x$$-axis would lie at $$(-2,-3)$$. If we pretend that the $$y$$-axis is a mirror, the reflection of $$(-2,3)$$ across that axis would be $$(2,3)$$. If we reflect across the $$x$$-axis and then the $$y$$-axis, we would go from $$(-2,3)$$ to $$(-2,-3)$$ then to $$(2,-3)$$, and so we would end up at the point symmetric to $$(-2,3)$$ about the origin. We summarize and generalize this process below.

Reflections

To reflect a point $$(x,y)$$ about the:

1. $$x$$-axis, replace $$y$$ with $$-y$$.
2. $$y$$-axis, replace $$x$$ with $$-x$$.
3. origin, replace $$x$$ with $$-x$$ and $$y$$ with $$-y$$.

### Distance in the Plane

Another important concept in Geometry is the notion of length. If we are going to unite Algebra and Geometry using the Cartesian Plane, then we need to develop an algebraic understanding of what distance in the plane means. Suppose we have two points, $$P\left(x_0, y_0\right)$$ and $$Q\left(x_1, y_1\right),$$ in the plane. By the $$\textbf{distance}$$ $$d$$ between $$P$$ and $$Q$$, we mean the length of the line segment joining $$P$$ with $$Q$$. (Remember, given any two distinct points in the plane, there is a unique line containing both points.) Our goal now is to create an algebraic formula to compute the distance between these two points. Consider the generic situation below on the left. With a little more imagination, we can envision a right triangle whose hypotenuse has length $$d$$ as drawn above on the right. From the latter figure, we see that the lengths of the legs of the triangle are $$\left|x_1 - x_0\right|$$ and $$\left|y_1 - y_0\right|$$ so the Pythagorean Theorem gives us

$\left|x_1 - x_0\right|^2 + \left|y_1 - y_0\right|^2 = d^2$

$\left(x_1 - x_0\right)^2 + \left(y_1 - y_0\right)^2 = d^2$

(Do you remember why we can replace the absolute value notation with parentheses?) By extracting the square root of both sides of the second equation and using the fact that distance is never negative, we get

equation 1.1: The Distance Formula

The distance $$d$$ between the points $$P\left(x_0, y_0\right)$$ and $$Q\left(x_1, y_1\right)$$ is:

$d = \sqrt{ \left(x_1 - x_0\right)^2 + \left(y_1 - y_0\right)^2} \label{distanceformula}$

It is not always the case that the points $$P$$ and $$Q$$ lend themselves to constructing such a triangle. If the points $$P$$ and $$Q$$ are arranged vertically or horizontally, or describe the exact same point, we cannot use the above geometric argument to derive the distance formula. It is left to the reader in Exercise $$\ref{distanceothercases}$$ to verify Equation $$\ref{distanceformula}$$ for these cases.

Example $$\PageIndex{4}$$:

Find and simplify the distance between $$P(-2,3)$$ and $$Q(1,-3)$$.

Solution

\setlength{\extrarowheight}{3pt}

$\begin{array}{rcl} d & = & \sqrt{\left(x_1 - x_0 \right)^2 + \left(y_1 - y_0 \right)^2} \\ & = & \sqrt{ (1-(-2))^2 + (-3-3)^2} \\ & = & \sqrt{9 + 36} \\ & = & 3 \sqrt{5} \end{array}$

So the distance is $$3 \sqrt{5}$$.

Example $$\PageIndex{5}$$:

Find all of the points with $$x$$-coordinate $$1$$ which are $$4$$ units from the point $$(3,2)$$.

Solution

We shall soon see that the points we wish to find are on the line $$x=1$$, but for now we'll just view them as points of the form $$(1,y)$$. Visually,

We require that the distance from $$(3,2)$$ to $$(1,y)$$ be $$4$$. The Distance Formula, Equation \ref{distanceformula}, yields

$\begin{array}{rclr} d & = & \sqrt{\left(x_1-x_0\right)^2+\left(y_1-y_0\right)^2} & \\ 4 & = & \sqrt{(1-3)^2+(y-2)^2} & \\ 4 & = & \sqrt{4+(y-2)^2} & \\ 4^2 & = & \left(\sqrt{4+(y-2)^2}\right)^2 & \mbox{squaring both sides} \\ 16 & = & 4+(y-2)^2 & \\ 12 & = & (y-2)^2 & \\ (y-2)^2 & = & 12 & \\ y - 2 & = & \pm \sqrt{12} & \mbox{extracting the square root} \\ y-2 & = & \pm 2 \sqrt{3} & \\ y & = & 2 \pm 2 \sqrt{3} & \end{array}$

We obtain two answers: $$(1, 2 + 2 \sqrt{3})$$ and $$(1, 2-2 \sqrt{3}).$$ The reader is encouraged to think about why there are two answers.

Related to finding the distance between two points is the problem of finding the midpoint of the line segment connecting two points. Given two points, $$P\left(x_0, y_0\right)$$ and $$Q\left(x_1, y_1\right)$$, the $$\textbf{midpoint}$$ $$M$$ of $$P$$ and $$Q$$ is defined to be the point on the line segment connecting $$P$$ and $$Q$$ whose distance from $$P$$ is equal to its distance from $$Q$$.

If we think of reaching $$M$$ by going 'halfway over' and 'halfway up' we get the following formula.

Equation 1.2: The Midpoint Formula

The midpoint $$M$$ of the line segment connecting $$P\left(x_0, y_0\right)$$ and $$Q\left(x_1, y_1\right)$$ is:

$M = \left( \dfrac{x_0 + x_1}{2} , \dfrac{y_0 + y_1}{2} \right) \label{midpointformula}$

If we let $$d$$ denote the distance between $$P$$ and $$Q$$, we leave it as Exercise $$\ref{verifymidpointformula}$$ to show that the distance between $$P$$ and $$M$$ is $$d/2$$ which is the same as the distance between $$M$$ and $$Q$$. This suffices to show that Equation $$\ref{midpointformula}$$gives the coordinates of the midpoint.

Example $$\PageIndex{6}$$:

Find the midpoint of the line segment connecting $$P(-2,3)$$ and $$Q(1,-3)$$.

Solution

$\begin{array}{rcl} M & = & \left( \dfrac{x_0+x_1}{2}, \dfrac{y_0+y_1}{2} \right) \\ & = & \left( \dfrac{(-2)+1}{2}, \dfrac{3+(-3)}{2} \right) = \left(- \dfrac{1}{2}, \dfrac{0}{2} \right) \\ & = & \left(- \dfrac{1}{2}, 0 \right) \end{array}$

The midpoint is $$\left(- \frac{1}{2}, 0 \right)$$.

We close with a more abstract application of the Midpoint Formula. We will revisit the following example in Exercise $$\ref{inversemidpointex2}$$ in Section 2.1.

Example $$\PageIndex{7}$$:

If $$a \neq b$$, prove that the line $$y = x$$ equally divides the line segment with endpoints $$(a,b)$$ and $$(b,a)$$.

Solution

To prove the claim, we use Equation \ref{midpointformula} to find the midpoint

$\begin{array}{rcl} M & = & \left( \dfrac{a+b}{2}, \dfrac{b+a}{2} \right) \\ & = & \left( \dfrac{a+b}{2}, \dfrac{a+b}{2} \right) \\ \end{array}$

Since the $$x$$ and $$y$$ coordinates of this point are the same, we find that the midpoint lies on the line $$y=x$$, as required.

### Contributors

• Carl Stitz, Ph.D. (Lakeland Community College) and Jeff Zeager, Ph.D. (Lorain County Community College)