Ripetizioni di Analisi
EN

Theory

Analytic geometry and conics

Points and lines in the Cartesian plane, then parabola, circle, ellipse and hyperbola, with the method for recognizing a conic from its equation and drawing it.

On this page
  1. The Cartesian plane
  2. The line

The Cartesian plane

Distance between two points and midpoint

In the Cartesian plane two perpendicular lines, the horizontal -axis and the vertical -axis, meet at the origin . Every point is determined by a pair of numbers : the abscissa is read on the horizontal axis and the ordinate on the vertical axis. The axes divide the plane into four quadrants, numbered counterclockwise starting from the one in which and .

Given and , the distance between the two points and the midpoint of the segment are

The distance formula follows from the Pythagorean theorem applied to the right triangle with legs and ; the midpoint has as coordinates the averages of the coordinates. These two formulas are used throughout the chapter: the circle, the ellipse and the hyperbola are defined precisely in terms of distances.

Example

and : the distance is and the midpoint is .

x y -11234567-11234567 O ABM345
Distance between and : the legs measure and , the hypotenuse measures ; is the midpoint

Warning

The distance is not the sum of the differences of the coordinates. For and we have , while . The number is the sum of the two legs of the right triangle with hypotenuse , and the hypotenuse is shorter than the sum of the legs.

Endpoint of a segment given the midpoint

The segment has endpoint and midpoint . From the midpoint formulas and , so and . The other endpoint is , that is, the reflection of through , with coordinates and .

The line

1. Equation of a line

A non-vertical line has the slope-intercept equation

where is the slope, which measures the steepness of the line, and is the ordinate of the point of intersection with the -axis. A vertical line has equation . Every line, vertical or not, can be written in general form

for the two forms translate into each other through and . In the slope-intercept form each corresponds to a single value of , so the line is drawn by computing two of its points; for example passes through and . The general form also includes vertical lines and appears in the point-line distance formula.

2. Slope, lines through a point, parallelism and perpendicularity

The slope of the line through two points and with is

the ratio between the change in and the change in . The line with slope passing through the point is

Two non-vertical lines with slopes and are parallel if and only if ; they are perpendicular if and only if , that is . With these three formulas one writes the required line in almost every exercise: one finds from the data and requires the line to pass through the point.

Example

The line through perpendicular to has slope , therefore it is , that is .

x y -2-1123456-4-3-2-11234 O P
y=2x−5y = 2 x - 5y=−12x+72y = -\dfrac{1}{2} x + \dfrac{7}{2}
The dashed line passes through and is perpendicular to

3. Perpendicularity condition

Two non-vertical lines with slopes and are perpendicular if and only if .

Proof

The idea is to apply the Pythagorean theorem to a triangle with a vertex at the point of intersection. If the lines are parallel, and indeed , so the condition is not satisfied. If the lines intersect at a point. A translation that brings that point to the origin changes neither the angles nor the slopes, so we may assume that the two lines pass through the origin , with equations and . The lines contain the points and . The angle at of the triangle is a right angle if and only if , by the Pythagorean theorem and its converse. With the distance formula the equality becomes

Each step can be followed in both directions, therefore the lines are perpendicular if and only if .

The condition makes it possible to compute the slope of a perpendicular line. For example, the perpendicular to has slope , because .

Warning

The formulas with hold only for non-vertical lines. For and the ratio has zero denominator, so the line has no slope; indeed it is the vertical line . The perpendicular to through is the horizontal line , with slope , and the condition cannot be applied because one of the two slopes does not exist.

Intersection of two lines

The point common to the lines and has coordinates that satisfy both equations, so we solve the system

Substituting the first equation into the second gives , that is, and ; hence and the point of intersection is . The system has a single solution because the slopes and are different; two distinct parallel lines give an inconsistent system.

x y -2-1123456-2-1123456 O P
y=2x−1y = 2x - 1x+y=5x + y = 5
The lines and intersect at

4. Distance from a point to a line

The distance from the point to the line of equation is

The line must be written in general form before applying the formula. The point-line distance is also used with conic sections, for example to impose that a line be tangent to a circle: tangency is equivalent to the equality between the distance from the center to the line and the radius.

Example

Distance from to the line :

x y -11234-1123 O PH
y=3x+14y = \dfrac{3 x + 1}{4}
The distance of from the line is the length of the segment , perpendicular to the line

End of the free preview

The theory of this topic continues with 6 more sections

  1. The parabola
  2. The circle
  3. The ellipse
  4. The hyperbola
  5. Recognizing a conic
  6. Keep studying

Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.

Unlock Precalculus · €29

Read the first 3 worked examples in this chapter for free.

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents