Learning Objectives
 Solve equations in one variable algebraically.
 Solve a rational equation.
 Find a linear equation.
 Given the equations of two lines, determine whether their graphs are parallel or perpendicular.
 Write the equation of a line parallel or perpendicular to a given line.
Caroline is a fulltime college student planning a spring break vacation. To earn enough money for the trip, she has taken a parttime job at the local bank that pays $15.00/hr, and she opened a savings account with an initial deposit of $400 on January 15. She arranged for direct deposit of her payroll checks. If spring break begins March 20 and the trip will cost approximately $2,500, how many hours will she have to work to earn enough to pay for her vacation? If she can only work 4 hours per day, how many days per week will she have to work? How many weeks will it take? In this section, we will investigate problems like this and others, which generate graphs like the line in Figure 1.
Solving Linear Equations in One Variable
A linear equation is an equation of a straight line, written in one variable. The only power of the variable is 1. Linear equations in one variable may take the form$\text{\hspace{0.17em}}ax+b=0\text{\hspace{0.17em}}$and are solved using basic algebraic operations.
We begin by classifying linear equations in one variable as one of three types: identity, conditional, or inconsistent. An identity equation is true for all values of the variable. Here is an example of an identity equation.
The solution set consists of all values that make the equation true. For this equation, the solution set is all real numbers because any real number substituted for$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$will make the equation true.
A conditional equation is true for only some values of the variable. For example, if we are to solve the equation$\text{\hspace{0.17em}}5x+2=3x6,$we have the following:
The solution set consists of one number:$\text{\hspace{0.17em}}\left\{4\right\}.\text{\hspace{0.17em}}$It is the only solution and, therefore, we have solved a conditional equation.
An inconsistent equation results in a false statement. For example, if we are to solve$\text{\hspace{0.17em}}5x15=5\left(x4\right),$we have the following:
Indeed,$\text{\hspace{0.17em}}\mathrm{15}\ne \text{\hspace{0.17em}}\mathrm{20.}\text{\hspace{0.17em}}$There is no solution because this is an inconsistent equation.
Solving linear equations in one variable involves the fundamental properties of equality and basic algebraic operations. A brief review of those operations follows.
Linear Equation in One Variable
A linear equation in one variable can be written in the form
where a and b are real numbers,$\text{\hspace{0.17em}}a\ne 0.$
How To
Given a linear equation in one variable, use algebra to solve it.
The following steps are used to manipulate an equation and isolate the unknown variable, so that the last line reads$\text{\hspace{0.17em}}x=\_\_\_\_\_\_\_\_\_,$if x is the unknown. There is no set order, as the steps used depend on what is given:
 We may add, subtract, multiply, or divide an equation by a number or an expression as long as we do the same thing to both sides of the equal sign. Note that we cannot divide by zero.
 Apply the distributive property as needed:$\text{\hspace{0.17em}}a\left(b+c\right)=ab+ac.$
 Isolate the variable on one side of the equation.
 When the variable is multiplied by a coefficient in the final stage, multiply both sides of the equation by the reciprocal of the coefficient.
Example 1
Solving an Equation in One Variable
Solve the following equation:$\text{\hspace{0.17em}}2x+7=19.$
Solution
This equation can be written in the form$\text{\hspace{0.17em}}ax+b=0\text{\hspace{0.17em}}$by subtracting$\text{\hspace{0.17em}}19\text{\hspace{0.17em}}$from both sides. However, we may proceed to solve the equation in its original form by performing algebraic operations.
The solution is 6.
Solve the linear equation in one variable:$\text{\hspace{0.17em}}2x+1=\mathrm{9.}$
Example 2
Solving an Equation Algebraically When the Variable Appears on Both Sides
Solve the following equation:$\text{\hspace{0.17em}}4\left(x\mathrm{3}\right)+12=15\mathrm{5}\left(x+6\right).$
Solution
Apply standard algebraic properties.
Analysis
This problem requires the distributive property to be applied twice, and then the properties of algebra are used to reach the final line,$\text{\hspace{0.17em}}x=\frac{5}{3}.$
Solve the equation in one variable:$\text{\hspace{0.17em}}\mathrm{2}\left(3x1\right)+x=14x.$
Solving a Rational Equation
In this section, we look at rational equations that, after some manipulation, result in a linear equation. If an equation contains at least one rational expression, it is a considered a rational equation.
Recall that a rational number is the ratio of two numbers, such as$\text{\hspace{0.17em}}\frac{2}{3}\text{\hspace{0.17em}}$or$\text{\hspace{0.17em}}\frac{7}{2}.\text{\hspace{0.17em}}$A rational expression is the ratio, or quotient, of two polynomials. Here are three examples.
Rational equations have a variable in the denominator in at least one of the terms. Our goal is to perform algebraic operations so that the variables appear in the numerator. In fact, we will eliminate all denominators by multiplying both sides of the equation by the least common denominator (LCD).
Finding the LCD is identifying an expression that contains the highest power of all of the factors in all of the denominators. We do this because when the equation is multiplied by the LCD, the common factors in the LCD and in each denominator will equal one and will cancel out.
Example 3
Solving a Rational Equation
Solve the rational equation:$\text{\hspace{0.17em}}\frac{7}{2x}\frac{5}{3x}=\frac{22}{3}.$
Solution
We have three denominators;$\text{\hspace{0.17em}}2x,3x,$and 3. The LCD must contain$\text{\hspace{0.17em}}2x,3x,$and 3. An LCD of$\text{\hspace{0.17em}}6x\text{\hspace{0.17em}}$contains all three denominators. In other words, each denominator can be divided evenly into the LCD. Next, multiply both sides of the equation by the LCD$\text{\hspace{0.17em}}6x.$
A common mistake made when solving rational equations involves finding the LCD when one of the denominators is a binomial—two terms added or subtracted—such as$\text{\hspace{0.17em}}\left(x+1\right).\text{\hspace{0.17em}}$Always consider a binomial as an individual factor—the terms cannot be separated. For example, suppose a problem has three terms and the denominators are$\text{\hspace{0.17em}}x,$$x1,$and$\text{\hspace{0.17em}}3x3.\text{\hspace{0.17em}}$First, factor all denominators. We then have$\text{\hspace{0.17em}}x,$$(x1),$and$\text{\hspace{0.17em}}3(x1)\text{\hspace{0.17em}}$as the denominators. (Note the parentheses placed around the second denominator.) Only the last two denominators have a common factor of$\text{\hspace{0.17em}}(x1).\text{\hspace{0.17em}}$The$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$in the first denominator is separate from the$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$in the$\text{\hspace{0.17em}}(x1)\text{\hspace{0.17em}}$denominators. An effective way to remember this is to write factored and binomial denominators in parentheses, and consider each parentheses as a separate unit or a separate factor. The LCD in this instance is found by multiplying together the$\text{\hspace{0.17em}}x,$one factor of$\text{\hspace{0.17em}}\left(x1\right),$and the 3. Thus, the LCD is the following:
So, both sides of the equation would be multiplied by$\text{\hspace{0.17em}}3x\left(x1\right).\text{\hspace{0.17em}}$Leave the LCD in factored form, as this makes it easier to see how each denominator in the problem cancels out.
Another example is a problem with two denominators, such as$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}{x}^{2}+2x.\text{\hspace{0.17em}}$Once the second denominator is factored as$\text{\hspace{0.17em}}{x}^{2}+2x=x\left(x+2\right),$there is a common factor of x in both denominators and the LCD is$\text{\hspace{0.17em}}x\left(x+2\right).$
Sometimes we have a rational equation in the form of a proportion; that is, when one fraction equals another fraction and there are no other terms in the equation.
We can use another method of solving the equation without finding the LCD: crossmultiplication. We multiply terms by crossing over the equal sign.
Multiply$\text{\hspace{0.17em}}a\left(d\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}b\left(c\right),$which results in$\text{\hspace{0.17em}}ad=bc.$
Any solution that makes a denominator in the original expression equal zero must be excluded from the possibilities.
Rational Equations
A rational equation contains at least one rational expression where the variable appears in at least one of the denominators.
How To
Given a rational equation, solve it.
 Factor all denominators in the equation.
 Find and exclude values that set each denominator equal to zero.
 Find the LCD.
 Multiply the whole equation by the LCD. If the LCD is correct, there will be no denominators left.
 Solve the remaining equation.
 Make sure to check solutions back in the original equations to avoid a solution producing zero in a denominator.
Example 4
Solving a Rational Equation without Factoring
Solve the following rational equation:
Solution
We have three denominators:$\text{\hspace{0.17em}}x,$$2,$and$\text{\hspace{0.17em}}2x.\text{\hspace{0.17em}}$No factoring is required. The product of the first two denominators is equal to the third denominator, so, the LCD is$\text{\hspace{0.17em}}2x.\text{\hspace{0.17em}}$Only one value is excluded from a solution set, 0.$$ Next, multiply the whole equation (both sides of the equal sign) by$\text{\hspace{0.17em}}2x.$
The proposed solution is −1,$$ which is not an excluded value, so the solution set contains one number,$\text{\hspace{0.17em}}\mathrm{1},$or$\text{\hspace{0.17em}}\left\{\mathrm{1}\right\}\text{\hspace{0.17em}}$written in set notation.
Solve the rational equation:$\text{\hspace{0.17em}}\frac{2}{3x}=\frac{1}{4}\frac{1}{6x}.$
Example 5
Solving a Rational Equation by Factoring the Denominator
Solve the following rational equation:$\text{\hspace{0.17em}}\frac{1}{x}=\frac{1}{10}\frac{3}{4x}.$
Solution
First find the common denominator. The three denominators in factored form are$\text{\hspace{0.17em}}x,10=2\cdot 5,$and$\text{\hspace{0.17em}}4x=2\cdot 2\cdot x.\text{\hspace{0.17em}}$The smallest expression that is divisible by each one of the denominators is$\text{\hspace{0.17em}}20x.\text{\hspace{0.17em}}$Only$\text{\hspace{0.17em}}x=0\text{\hspace{0.17em}}$is an excluded value. Multiply the whole equation by$\text{\hspace{0.17em}}20x.$
The solution is$\text{\hspace{0.17em}}\frac{35}{2}.$
Solve the rational equation:$\text{\hspace{0.17em}}\frac{5}{2x}+\frac{3}{4x}=\frac{7}{4}.$
Example 6
Solving Rational Equations with a Binomial in the Denominator
Solve the following rational equations and state the excluded values:
 $\frac{3}{x6}=\frac{5}{x}$
 $\frac{x}{x3}=\frac{5}{x3}\frac{1}{2}$
 $\frac{x}{x2}=\frac{5}{x2}\frac{1}{2}$
Solution
The denominators$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}x6\text{\hspace{0.17em}}$have nothing in common. Therefore, the LCD is the product$\text{\hspace{0.17em}}x\left(x6\right).\text{\hspace{0.17em}}$However, for this problem, we can crossmultiply.
$$\begin{array}{cccc}\hfill \frac{3}{x6}& =& \frac{5}{x}\hfill & \\ \hfill 3x& =& 5(x6)\hfill & \phantom{\rule{2em}{0ex}}\text{Distribute}\text{.}\hfill \\ \hfill 3x& =& 5x30\hfill & \\ \hfill \mathrm{2}x& =& \mathrm{30}\hfill & \\ \hfill x& =& 15\hfill & \end{array}$$The solution is 15.$$ The excluded values are $6$ and $0.$

The LCD is$\text{\hspace{0.17em}}2\left(x3\right).\text{\hspace{0.17em}}$Multiply both sides of the equation by$\text{\hspace{0.17em}}2\left(x3\right).$
$$\begin{array}{ccc}\hfill 2(x3)\left(\frac{x}{x3}\right)& =& \left(\frac{5}{x3}\frac{1}{2}\right)2(x3)\hfill \\ \hfill \frac{2\overline{)(x3)}x}{\overline{)x3}}& =& \frac{2\overline{)(x3)}5}{\overline{)x3}}\frac{\overline{)2}(x3)}{\overline{)2}}\hfill \\ \hfill 2x& =& 10(x3)\hfill \\ \hfill 2x& =& 10x+3\hfill \\ \hfill 2x& =& 13x\hfill \\ \hfill 3x& =& 13\hfill \\ \hfill x& =& \frac{13}{3}\hfill \end{array}$$The solution is$\text{\hspace{0.17em}}\frac{13}{3}.\text{\hspace{0.17em}}$The excluded value is $3.$
The least common denominator is$\text{\hspace{0.17em}}2\left(x2\right).\text{\hspace{0.17em}}$Multiply both sides of the equation by$\text{\hspace{0.17em}}x\left(x2\right).$
$$\begin{array}{ccc}\hfill 2(x2)\left(\frac{x}{x2}\right)& =& \left(\frac{5}{x2}\frac{1}{2}\right)2(x2)\hfill \\ \hfill 2x& =& 10(x2)\hfill \\ \hfill 2x& =& 12x\hfill \\ \hfill 3x& =& 12\hfill \\ \hfill x& =& 4\hfill \end{array}$$The solution is 4. The excluded value is $2.$
Solve$\text{\hspace{0.17em}}\frac{3}{2x+1}=\frac{4}{3x+1}.\text{\hspace{0.17em}}$State the excluded values.
Example 7
Solving a Rational Equation with Factored Denominators and Stating Excluded Values
Solve the rational equation after factoring the denominators:$\text{\hspace{0.17em}}\frac{2}{x+1}\frac{1}{x1}=\frac{2x}{{x}^{2}1}.\text{\hspace{0.17em}}$State the excluded values.
Solution
We must factor the denominator$\text{\hspace{0.17em}}{x}^{2}\mathrm{1.}\text{\hspace{0.17em}}$We recognize this as the difference of squares, and factor it as$\text{\hspace{0.17em}}\left(x1\right)\left(x+1\right).\text{\hspace{0.17em}}$Thus, the LCD that contains each denominator is$\text{\hspace{0.17em}}\left(x1\right)\left(x+1\right).\text{\hspace{0.17em}}$Multiply the whole equation by the LCD, cancel out the denominators, and solve the remaining equation.
The solution is $\text{\hspace{0.17em}}\mathrm{3.}\text{\hspace{0.17em}}$The excluded values are $\text{\hspace{0.17em}}1\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}\mathrm{1.}$
Solve the rational equation:$\text{\hspace{0.17em}}\frac{2}{x2}+\frac{1}{x+1}=\frac{1}{{x}^{2}x2}.$
Finding a Linear Equation
Perhaps the most familiar form of a linear equation is the slopeintercept form, written as$\text{\hspace{0.17em}}y=mx+b,$where$\text{\hspace{0.17em}}m=\text{slope}\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}b=y\text{intercept}\text{.}\text{\hspace{0.17em}}$Let us begin with the slope.
The Slope of a Line
The slope of a line refers to the ratio of the vertical change in y over the horizontal change in x between any two points on a line. It indicates the direction in which a line slants as well as its steepness. Slope is sometimes described as rise over run.
If the slope is positive, the line slants to the right. If the slope is negative, the line slants to the left. As the slope increases, the line becomes steeper. Some examples are shown in Figure 2. The lines indicate the following slopes:$\text{\hspace{0.17em}}m=\mathrm{3},$$m=2,$and$\text{\hspace{0.17em}}m=\frac{1}{3}.$
The Slope of a Line
The slope of a line, m, represents the change in y over the change in x. Given two points,$\text{\hspace{0.17em}}\left({x}_{1},{y}_{1}\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left({x}_{2},{y}_{2}\right),$the following formula determines the slope of a line containing these points:
Example 8
Finding the Slope of a Line Given Two Points
Find the slope of a line that passes through the points$\text{\hspace{0.17em}}\left(2,\mathrm{1}\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(\mathrm{5},3\right).$
Solution
We substitute the yvalues and the xvalues into the formula.
The slope is$\text{\hspace{0.17em}}\frac{4}{7}.$
Analysis
It does not matter which point is called$\text{\hspace{0.17em}}\left({x}_{1},{y}_{1}\right)\text{\hspace{0.17em}}$or$\text{\hspace{0.17em}}\left({x}_{2},{y}_{2}\right).\text{\hspace{0.17em}}$As long as we are consistent with the order of the y terms and the order of the x terms in the numerator and denominator, the calculation will yield the same result.
Try It #7
Find the slope of the line that passes through the points$\text{\hspace{0.17em}}\left(\mathrm{2},6\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(1,4\right).$
Example 9
Identifying the Slope and yintercept of a Line Given an Equation
Identify the slope and yintercept, given the equation$\text{\hspace{0.17em}}y=\frac{3}{4}x4.$
Solution
As the line is in$\text{\hspace{0.17em}}y=mx+b\text{\hspace{0.17em}}$form, the given line has a slope of$\text{\hspace{0.17em}}m=\frac{3}{4}.\text{\hspace{0.17em}}$The yintercept is$\text{\hspace{0.17em}}b=\mathrm{4.}$
Analysis
The yintercept is the point at which the line crosses the yaxis. On the yaxis,$\text{\hspace{0.17em}}x=0.\text{\hspace{0.17em}}$We can always identify the yintercept when the line is in slopeintercept form, as it will always equal b. Or, just substitute$\text{\hspace{0.17em}}x=0\text{\hspace{0.17em}}$and solve for y.
The PointSlope Formula
Given the slope and one point on a line, we can find the equation of the line using the pointslope formula.
This is an important formula, as it will be used in other areas of college algebra and often in calculus to find the equation of a tangent line. We need only one point and the slope of the line to use the formula. After substituting the slope and the coordinates of one point into the formula, we simplify it and write it in slopeintercept form.
The PointSlope Formula
Given one point and the slope, the pointslope formula will lead to the equation of a line:
Example 10
Finding the Equation of a Line Given the Slope and One Point
Write the equation of the line with slope$\text{\hspace{0.17em}}m=\mathrm{3}\text{\hspace{0.17em}}$and passing through the point$\text{\hspace{0.17em}}\left(4,8\right).\text{\hspace{0.17em}}$Write the final equation in slopeintercept form.
Solution
Using the pointslope formula, substitute$\text{\hspace{0.17em}}\mathrm{3}\text{\hspace{0.17em}}$for m and the point$\text{\hspace{0.17em}}\left(4,8\right)\text{\hspace{0.17em}}$for$\text{\hspace{0.17em}}\left({x}_{1},{y}_{1}\right).$
Analysis
Note that any point on the line can be used to find the equation. If done correctly, the same final equation will be obtained.
Try It #8
Given$\text{\hspace{0.17em}}m=4,$find the equation of the line in slopeintercept form passing through the point$\text{\hspace{0.17em}}\left(2,5\right).$
Example 11
Finding the Equation of a Line Passing Through Two Given Points
Find the equation of the line passing through the points$\text{\hspace{0.17em}}\left(3,4\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(0,\mathrm{3}\right).\text{\hspace{0.17em}}$Write the final equation in slopeintercept form.
Solution
First, we calculate the slope using the slope formula and two points.
Next, we use the pointslope formula with the slope of$\text{\hspace{0.17em}}\frac{7}{3},$and either point. Let’s pick the point$\text{\hspace{0.17em}}\left(3,4\right)\text{\hspace{0.17em}}$for$\text{\hspace{0.17em}}\left({x}_{1},{y}_{1}\right).$
In slopeintercept form, the equation is written as$\text{\hspace{0.17em}}y=\frac{7}{3}x3.$
Analysis
To prove that either point can be used, let us use the second point$\text{\hspace{0.17em}}\left(0,\mathrm{3}\right)\text{\hspace{0.17em}}$and see if we get the same equation.
We see that the same line will be obtained using either point. This makes sense because we used both points to calculate the slope.
Standard Form of a Line
Another way that we can represent the equation of a line is in standard form. Standard form is given as
where$\text{\hspace{0.17em}}A,$$B,$and$\text{\hspace{0.17em}}C$are integers. The x and yterms are on one side of the equal sign and the constant term is on the other side.
Example 12
Finding the Equation of a Line and Writing It in Standard Form
Find the equation of the line with$\text{\hspace{0.17em}}m=\mathrm{6}\text{\hspace{0.17em}}$and passing through the point$\text{\hspace{0.17em}}\left(\frac{1}{4},\mathrm{2}\right).\text{\hspace{0.17em}}$Write the equation in standard form.
Solution
We begin using the pointslope formula.
From here, we multiply through by 2, as no fractions are permitted in standard form, and then move both variables to the left aside of the equal sign and move the constants to the right.
This equation is now written in standard form.
Try It #9
Find the equation of the line in standard form with slope$\text{\hspace{0.17em}}m=\frac{1}{3}\text{\hspace{0.17em}}$and passing through the point$\text{\hspace{0.17em}}\left(1,\frac{1}{3}\right).$
Vertical and Horizontal Lines
The equations of vertical and horizontal lines do not require any of the preceding formulas, although we can use the formulas to prove that the equations are correct. The equation of a vertical line is given as
where c is a constant. The slope of a vertical line is undefined, and regardless of the yvalue of any point on the line, the xcoordinate of the point will be c.
Suppose that we want to find the equation of a line containing the following points:$\text{\hspace{0.17em}}\left(\mathrm{3},\mathrm{5}\right),\left(\mathrm{3},1\right),\left(\mathrm{3},3\right),$and$\text{\hspace{0.17em}}\left(\mathrm{3},5\right).\text{\hspace{0.17em}}$First, we will find the slope.
Zero in the denominator means that the slope is undefined and, therefore, we cannot use the pointslope formula. However, we can plot the points. Notice that all of the xcoordinates are the same and we find a vertical line through$\text{\hspace{0.17em}}x=\mathrm{3.}\text{\hspace{0.17em}}$See Figure 3.
The equation of a horizontal line is given as
where c is a constant. The slope of a horizontal line is zero, and for any xvalue of a point on the line, the ycoordinate will be c.
Suppose we want to find the equation of a line that contains the following set of points:$\text{\hspace{0.17em}}\left(\mathrm{2},\mathrm{2}\right),\left(0,\mathrm{2}\right),\left(3,\mathrm{2}\right),$and$\text{\hspace{0.17em}}\left(5,\mathrm{2}\right).$We can use the pointslope formula. First, we find the slope using any two points on the line.
Use any point for$\text{\hspace{0.17em}}\left({x}_{1},{y}_{1}\right)\text{\hspace{0.17em}}$in the formula, or use the yintercept.
The graph is a horizontal line through$\text{\hspace{0.17em}}y=\mathrm{2.}\text{\hspace{0.17em}}$Notice that all of the ycoordinates are the same. See Figure 3.
Example 13
Finding the Equation of a Line Passing Through the Given Points
Find the equation of the line passing through the given points:$\text{\hspace{0.17em}}\left(1,\mathrm{3}\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(1,4\right).$
Solution
The xcoordinate of both points is 1. Therefore, we have a vertical line,$\text{\hspace{0.17em}}x=1.$
Try It #10
Find the equation of the line passing through$\text{\hspace{0.17em}}\left(\mathrm{5},2\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(2,2\right).$
Determining Whether Graphs of Lines are Parallel or Perpendicular
Parallel lines have the same slope and different yintercepts. Lines that are parallel to each other will never intersect. For example, Figure 4 shows the graphs of various lines with the same slope,$\text{\hspace{0.17em}}m=2.$
All of the lines shown in the graph are parallel because they have the same slope and different yintercepts.
Lines that are perpendicular intersect to form a$\text{\hspace{0.17em}}\mathrm{90\xb0}$angle. The slope of one line is the negative reciprocal of the other. We can show that two lines are perpendicular if the product of the two slopes is$\text{\hspace{0.17em}}\mathrm{1}:{m}_{1}\cdot {m}_{2}=\mathrm{1.}\text{\hspace{0.17em}}$For example, Figure 5 shows the graph of two perpendicular lines. One line has a slope of 3; the other line has a slope of$\text{\hspace{0.17em}}\frac{1}{3}.$
Example 14
Graphing Two Equations, and Determining Whether the Lines are Parallel, Perpendicular, or Neither
Graph the equations of the given lines, and state whether they are parallel, perpendicular, or neither:$\text{\hspace{0.17em}}3y=4x+3\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}3x4y=8.$
Solution
The first thing we want to do is rewrite the equations so that both equations are in slopeintercept form.
First equation:
Second equation:
See the graph of both lines in Figure 6
From the graph, we can see that the lines appear perpendicular, but we must compare the slopes.
The slopes are negative reciprocals of each other, confirming that the lines are perpendicular.
Graph the two lines and determine whether they are parallel, perpendicular, or neither:$\text{\hspace{0.17em}}2yx=10\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}2y=x+4.$
Writing the Equations of Lines Parallel or Perpendicular to a Given Line
As we have learned, determining whether two lines are parallel or perpendicular is a matter of finding the slopes. To write the equation of a line parallel or perpendicular to another line, we follow the same principles as we do for finding the equation of any line. After finding the slope, use the pointslope formula to write the equation of the new line.
How To
Given an equation for a line, write the equation of a line parallel or perpendicular to it.
 Find the slope of the given line. The easiest way to do this is to write the equation in slopeintercept form.
 Use the slope and the given point with the pointslope formula.
 Simplify the line to slopeintercept form and compare the equation to the given line.
Example 15
Writing the Equation of a Line Parallel to a Given Line Passing Through a Given Point
Write the equation of line parallel to a$\text{\hspace{0.17em}}5x+3y=1\text{\hspace{0.17em}}$and passing through the point$\text{\hspace{0.17em}}\left(3,5\right).$
Solution
First, we will write the equation in slopeintercept form to find the slope.
The slope is$\text{\hspace{0.17em}}m=\frac{5}{3}.\text{\hspace{0.17em}}$The yintercept is$\text{\hspace{0.17em}}\frac{1}{3},$but that really does not enter into our problem, as the only thing we need for two lines to be parallel is the same slope. The one exception is that if the yintercepts are the same, then the two lines are the same line. The next step is to use this slope and the given point with the pointslope formula.
The equation of the line is$\text{\hspace{0.17em}}y=\frac{5}{3}x+10.\text{\hspace{0.17em}}$See Figure 7.
Find the equation of the line parallel to$\text{\hspace{0.17em}}5x=7+y\text{\hspace{0.17em}}$and passing through the point$\text{\hspace{0.17em}}\left(\mathrm{1},\mathrm{2}\right).$
Example 16
Finding the Equation of a Line Perpendicular to a Given Line Passing Through a Given Point
Find the equation of the line perpendicular to$\text{\hspace{0.17em}}5x3y+4=0$ and passing through the point $(4,1).$
Solution
The first step is to write the equation in slopeintercept form.
We see that the slope is$\text{\hspace{0.17em}}m=\frac{5}{3}.\text{\hspace{0.17em}}$This means that the slope of the line perpendicular to the given line is the negative reciprocal, or $\frac{3}{5}.\text{\hspace{0.17em}}$Next, we use the pointslope formula with this new slope and the given point.
Media
Access these online resources for additional instruction and practice with linear equations.
2.2 Section Exercises
Verbal
What is the relationship between the slopes of perpendicular lines (assuming neither is horizontal nor vertical)?
How do we recognize when an equation, for example$\text{\hspace{0.17em}}y=4x+3,$will be a straight line (linear) when graphed?
What does it mean when we say that a linear equation is inconsistent?
When solving the following equation:
$\frac{2}{x5}=\frac{4}{x+1}$
explain why we must exclude$\text{\hspace{0.17em}}x=5\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}x=\mathrm{1}\text{\hspace{0.17em}}$as possible solutions from the solution set.
Algebraic
For the following exercises, solve the equation for$\text{\hspace{0.17em}}x.$
$7x+2=3x9$
$3(x+2)12=5(x+1)$
$\frac{1}{2}\frac{1}{3}x=\frac{4}{3}$
$\frac{2}{3}x+\frac{1}{2}=\frac{31}{6}$
$\frac{2x}{3}\frac{3}{4}=\frac{x}{6}+\frac{21}{4}$
For the following exercises, solve each rational equation for$\text{\hspace{0.17em}}x.\text{\hspace{0.17em}}$State all xvalues that are excluded from the solution set.
$\frac{3}{x}\frac{1}{3}=\frac{1}{6}$
$\frac{3}{x2}=\frac{1}{x1}+\frac{7}{(x1)(x2)}$
$\frac{5}{x+1}+\frac{1}{x3}=\frac{6}{{x}^{2}2x3}$
For the following exercises, find the equation of the line using the pointslope formula. Write all the final equations using the slopeintercept form.
$\left(0,3\right)\text{\hspace{0.17em}}$with a slope of$\text{\hspace{0.17em}}\frac{2}{3}$
xintercept is 1, and$\text{\hspace{0.17em}}\left(\mathrm{2},6\right)$
$(\mathrm{3},10)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}(5,\mathrm{6})$
parallel to$\text{\hspace{0.17em}}y=2x+5\text{\hspace{0.17em}}$and passes through the point$\text{\hspace{0.17em}}\left(4,3\right)$
perpendicular to$\text{\hspace{0.17em}}\text{3}y=x4\text{\hspace{0.17em}}$and passes through the point$\text{\hspace{0.17em}}\left(\mathrm{2},1\right)$.
For the following exercises, find the equation of the line using the given information.
$\left(2,0\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(\mathrm{2},5\right)$
The slope is undefined and it passes through the point$\text{\hspace{0.17em}}\left(2,3\right).$
The slope equals zero and it passes through the point$\text{\hspace{0.17em}}\left(1,\mathrm{4}\right).$
The slope is$\text{\hspace{0.17em}}\frac{3}{4}\text{\hspace{0.17em}}$and it passes through the point$\text{\hspace{0.17em}}\text{(1,4)}\text{.}$
$\left(\mathrm{1},3\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(4,\mathrm{5}\right)$
Graphical
For the following exercises, graph the pair of equations on the same axes, and state whether they are parallel, perpendicular, or neither.
$\begin{array}{l}\\ \begin{array}{l}y=2x+7\hfill \\ y=\frac{1}{2}x4\hfill \end{array}\end{array}$
$\begin{array}{l}y=\frac{3x+1}{4}\hfill \\ y=3x+2\hfill \end{array}$
Numeric
For the following exercises, find the slope of the line that passes through the given points.
$\left(5,4\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(7,9\right)$
$\left(\mathrm{3},2\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(4,\mathrm{7}\right)$
$\left(\mathrm{5},4\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(2,4\right)$
$\left(\mathrm{1},\mathrm{2}\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(3,4\right)$
$\text{\hspace{0.17em}}\left(3,\mathrm{2}\right)$and$\text{\hspace{0.17em}}\left(3,\mathrm{2}\right)$
For the following exercises, find the slope of the lines that pass through each pair of points and determine whether the lines are parallel or perpendicular.
$\begin{array}{l}\left(\mathrm{1},3\right)\text{and}\left(5,1\right)\\ \left(\mathrm{2},3\right)\text{and}\left(0,9\right)\end{array}$
$\begin{array}{l}\left(2,5\right)\text{and}\left(5,9\right)\\ \left(\mathrm{1},\mathrm{1}\right)\text{and}\left(2,3\right)\end{array}$
Technology
For the following exercises, express the equations in slope intercept form (rounding each number to the thousandths place). Enter this into a graphing calculator as Y1, then adjust the ymin and ymax values for your window to include where the yintercept occurs. State your ymin and ymax values.
$\mathrm{4,500}x200y=\mathrm{9,528}$
Extensions
Starting with the pointslope formula$\text{\hspace{0.17em}}y{y}_{1}=m(x{x}_{1}),$solve this expression for$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$in terms of$\text{\hspace{0.17em}}{x}_{1},y,{y}_{1},$and$\text{\hspace{0.17em}}m.$
Starting with the standard form of an equation$\text{\hspace{0.17em}}\text{A}x\text{+B}y\text{=C,}$solve this expression for y in terms of$\text{\hspace{0.17em}}A,B,C,\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}x.\text{\hspace{0.17em}}$Then put the expression in slopeintercept form.
Use the above derived formula to put the following standard equation in slope intercept form:$\text{\hspace{0.17em}}7x5y=25.$
Given that the following coordinates are the vertices of a rectangle, prove that this truly is a rectangle by showing the slopes of the sides that meet are perpendicular.
$(\mathrm{1},1),(2,0),(3,3)\text{,}$and$\text{\hspace{0.17em}}(0,4)$
Find the slopes of the diagonals in the previous exercise. Are they perpendicular?
RealWorld Applications
The slope for a wheelchair ramp for a home has to be$\text{\hspace{0.17em}}\frac{1}{12}.\text{\hspace{0.17em}}$If the vertical distance from the ground to the door bottom is 2.5 ft, find the distance the ramp has to extend from the home in order to comply with the needed slope.
If the profit equation for a small business selling$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$number of item one and$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$number of item two is$\text{\hspace{0.17em}}p=3x+4y,$find the$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$value when$\text{\hspace{0.17em}}p=\text{\$}453\text{and}x=75.$
For the following exercises, use this scenario: The cost of renting a car is $45/wk plus $0.25/mi traveled during that week. An equation to represent the cost would be$\text{\hspace{0.17em}}y=45+.25x,$where$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$is the number of miles traveled.
If your cost were$\text{\hspace{0.17em}}\text{\$}63.75,$how many miles were you charged for traveling?
Suppose you have a maximum of $100 to spend for the car rental. What would be the maximum number of miles you could travel?