Equations of Lines

Equations of lines from given information
Different forms of a line's equation highlight different information. Choosing the right form depends on what you're given and what you need to find.
Slope-intercept form: , where is the slope and is the y-intercept. This is the most common form and the easiest to graph from, since you can plot the y-intercept and then use the slope to find additional points.
Point-slope form: , where is the slope and is any known point on the line. Use this when you're given a slope and a point (or can calculate the slope) but don't know the y-intercept yet. It's also the go-to form for writing equations of parallel and perpendicular lines through a specific point.
Two-point form: , where and are two known points. This is really just point-slope form with the slope formula plugged in. You calculate the slope from the two points and then use either point to write the equation.
Parallel and perpendicular slopes come up constantly in coordinate geometry proofs and problems:
- Parallel lines have equal slopes:
- Perpendicular lines have slopes that are negative reciprocals:
- For example, if one line has slope , a line perpendicular to it has slope , because .
- Watch out for horizontal and vertical lines. A horizontal line (slope ) is perpendicular to a vertical line (undefined slope), but the negative reciprocal rule doesn't apply in that case since you can't take the reciprocal of .
Standard form: , where , , and are integers and . You'll sometimes be asked to give your final answer in this form. To convert from slope-intercept or point-slope, clear any fractions by multiplying through, then rearrange so both variable terms are on the left and the constant is on the right.

Equations of Circles

Center and radius of circles
A circle is the set of all points equidistant from a fixed center point. That distance is the radius, and the equation captures both pieces of information.
Standard form: , where is the center and is the radius.
Pay close attention to the signs. The formula uses subtraction, so a center of produces , which simplifies to . The plus sign in front of the means the actual y-coordinate of the center is . A common mistake is reading and thinking . Always flip the sign you see inside the parentheses.
- Example: has center and radius (since ).
- Example: has center and radius . The radius doesn't have to be a whole number.
Circle equations: standard vs general form
General form:
This form isn't as immediately useful because you can't read off the center or radius. To extract that information, you need to convert to standard form by completing the square.
Converting general form to standard form:
- Group the terms together and the terms together. Move the constant to the right side.
- Complete the square for the group: take half the coefficient of , square it, and add it to both sides.
- Complete the square for the group the same way.
- Factor each group into a squared binomial. The right side equals .
Example: Convert to standard form.
-
Group and move the constant:
-
Complete the square for : half of is , and . Add to both sides.
-
Complete the square for : half of is , and . Add to both sides.
-
Factor:
So the circle has center and radius .
Quick check: After completing the square, must be positive. If you get , the "circle" is just a single point. If you get , the equation has no graph at all, meaning something went wrong or the equation doesn't represent a real circle.
Converting standard form to general form is simpler: expand the squared binomials, combine like terms, and set the equation equal to zero.
Tangent lines to circles
A tangent line touches a circle at exactly one point, called the point of tangency. The key geometric fact is that the radius drawn to the point of tangency is always perpendicular to the tangent line. This perpendicularity is what lets you find the tangent line's equation.
Steps to find the equation of a tangent line:
- Find the slope of the radius by using the slope formula with the center and the point of tangency.
- Take the negative reciprocal of that slope. That's the slope of the tangent line.
- Use point-slope form with the point of tangency and the tangent slope to write the equation.
Example: Find the tangent line to a circle with center at the point of tangency .
-
Slope of the radius:
-
Slope of the tangent line: (negative reciprocal of )
-
Using point-slope form: , which simplifies to
Special cases to watch for: If the radius is horizontal (slope ), the tangent line is vertical, so its equation is . If the radius is vertical (undefined slope), the tangent line is horizontal, so its equation is . These cases come up when the point of tangency is directly above, below, or to the side of the center.