Equations and Inequalities
Linear Equations in One Variable
Learning Objectives
In this section you will:
 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).
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 formand 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 forwill make the equation true.
A conditional equation is true for only some values of the variable. For example, if we are to solve the equationwe have the following:
The solution set consists of one number: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 solvewe have the following:
Indeed,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,
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 readsif 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:
 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.
Solving an Equation in One Variable
Solve the following equation:
[hiddenanswer a=”fsid780975″]This equation can be written in the formby subtractingfrom both sides. However, we may proceed to solve the equation in its original form by performing algebraic operations.
The solution is 6
[/hiddenanswer]
Try It
Solve the linear equation in one variable:
[hiddenanswer a=”fsid1237626″]
[/hiddenanswer]
Solving an Equation Algebraically When the Variable Appears on Both Sides
Solve the following equation:
[hiddenanswer a=”fsid1943089″]
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,
Try It
Solve the equation in one variable:
[hiddenanswer a=”fsid3094701″]
[/hiddenanswer]
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 asorA 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.
Solving a Rational Equation
Solve the rational equation:
[hiddenanswer a=”fsid2708670″]
We have three denominators;and 3. The LCD must containand 3. An LCD ofcontains 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
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 asAlways consider a binomial as an individual factorâ€”the terms cannot be separated. For example, suppose a problem has three terms and the denominators are[latex]x1,[/latex]andFirst, factor all denominators. We then have[latex]\left(x1\right),[/latex]andas the denominators. (Note the parentheses placed around the second denominator.) Only the last two denominators have a common factor ofThein the first denominator is separate from thein thedenominators. 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 theone factor ofand the 3. Thus, the LCD is the following:
So, both sides of the equation would be multiplied byLeave 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 asandOnce the second denominator is factored asthere is a common factor of x in both denominators and the LCD is
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.
Multiplyandwhich results in
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
Solving a Rational Equation without Factoring
Solve the following rational equation:
[hiddenanswer a=”fsid3141796″]
We have three denominators:[latex]2,[/latex]andNo factoring is required. The product of the first two denominators is equal to the third denominator, so, the LCD isOnly one value is excluded from a solution set, 0. Next, multiply the whole equation (both sides of the equal sign) by
The proposed solution is âˆ’1, which is not an excluded value, so the solution set contains one number,orwritten in set notation.[/hiddenanswer]
Try It
Solve the rational equation:
[hiddenanswer a=”fsid2931856″]
[/hiddenanswer]
Solving a Rational Equation by Factoring the Denominator
Solve the following rational equation:
[hiddenanswer a=”fsid2436750″]
First find the common denominator. The three denominators in factored form areandThe smallest expression that is divisible by each one of the denominators isOnlyis an excluded value. Multiply the whole equation by
The solution is[/hiddenanswer]
Try It
Solve the rational equation:
[hiddenanswer a=”fsid1149728″]
[/hiddenanswer]
Solving Rational Equations with a Binomial in the Denominator
Solve the following rational equations and state the excluded values:
[hiddenanswer a=”fsid1996554″]

The denominatorsandhave nothing in common. Therefore, the LCD is the productHowever, for this problem, we can crossmultiply.
The solution is 15. The excluded values are and

The LCD isMultiply both sides of the equation by
The solution isThe excluded value is

The least common denominator isMultiply both sides of the equation by
The solution is 4. The excluded value is
[/hiddenanswer]
Try It
SolveState the excluded values.
[hiddenanswer a=”fsid1570666″]
Excluded values areand
[/hiddenanswer]
Solving a Rational Equation with Factored Denominators and Stating Excluded Values
Solve the rational equation after factoring the denominators:State the excluded values.
[hiddenanswer a=”fsid2437930″]
We must factor the denominatorWe recognize this as the difference of squares, and factor it asThus, the LCD that contains each denominator isMultiply the whole equation by the LCD, cancel out the denominators, and solve the remaining equation.
The solution is The excluded values are and [/hiddenanswer]
Try It
Solve the rational equation:
[hiddenanswer a=”fsid1567907″]
[/hiddenanswer]
Finding a Linear Equation
Perhaps the most familiar form of a linear equation is the slopeintercept form, written aswhereandLet 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). The lines indicate the following slopes:[latex]m=2,[/latex]and
The Slope of a Line
The slope of a line, m, represents the change in y over the change in x. Given two points,andthe following formula determines the slope of a line containing these points:
Finding the Slope of a Line Given Two Points
Find the slope of a line that passes through the pointsand
[hiddenanswer a=”fsid2715022″]
We substitute the yvalues and the xvalues into the formula.
The slope is[/hiddenanswer]
Analysis
It does not matter which point is calledorAs 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
Find the slope of the line that passes through the pointsand
[hiddenanswer a=”fsid2437070″]
[/hiddenanswer]
Identifying the Slope and yintercept of a Line Given an Equation
Identify the slope and yintercept, given the equation
[hiddenanswer a=”fsid1763671″]
As the line is inform, the given line has a slope ofThe yintercept is
[/hiddenanswer]
Analysis
The yintercept is the point at which the line crosses the yaxis. On the yaxis,We can always identify the yintercept when the line is in slopeintercept form, as it will always equal b. Or, just substituteand 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:
Finding the Equation of a Line Given the Slope and One Point
Write the equation of the line with slopeand passing through the pointWrite the final equation in slopeintercept form.
[hiddenanswer a=”fsid1562535″]
Using the pointslope formula, substitutefor m and the pointfor
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
Givenfind the equation of the line in slopeintercept form passing through the point
[hiddenanswer a=”fsid1577661″]
[/hiddenanswer]
Finding the Equation of a Line Passing Through Two Given Points
Find the equation of the line passing through the pointsandWrite the final equation in slopeintercept form.
[hiddenanswer a=”fsid1920251″]
First, we calculate the slope using the slope formula and two points.
Next, we use the pointslope formula with the slope ofand either point. Letâ€™s pick the pointfor
In slopeintercept form, the equation is written as[/hiddenanswer]
Analysis
To prove that either point can be used, let us use the second pointand 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[latex]B,[/latex]andare integers. The x and yterms are on one side of the equal sign and the constant term is on the other side.
Finding the Equation of a Line and Writing It in Standard Form
Find the equation of the line withand passing through the pointWrite the equation in standard form.
[hiddenanswer a=”fsid2753839″]
We begin using the pointslope formula.
Try It
Find the equation of the line in standard form with slopeand passing through the point
[hiddenanswer a=”fsid1804908″]
[/hiddenanswer]
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:andFirst, 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 throughSee (Figure).
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:andWe can use the pointslope formula. First, we find the slope using any two points on the line.
Use any point forin the formula, or use the yintercept.
The graph is a horizontal line throughNotice that all of the ycoordinates are the same. See (Figure).
Finding the Equation of a Line Passing Through the Given Points
Find the equation of the line passing through the given points:and
[hiddenanswer a=”fsid2764547″]
The xcoordinate of both points is 1. Therefore, we have a vertical line,
[/hiddenanswer]
Try It
Find the equation of the line passing throughand
[hiddenanswer a=”fsid1551241″]
Horizontal line:
[/hiddenanswer]
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) shows the graphs of various lines with the same slope,
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 aangle. 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 isFor example, (Figure) shows the graph of two perpendicular lines. One line has a slope of 3; the other line has a slope of
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:and
[hiddenanswer a=”fsid2931413″]
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)
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.[/hiddenanswer]
Try It
Graph the two lines and determine whether they are parallel, perpendicular, or neither:and
[hiddenanswer a=”fsid2403402″]
Parallel lines: equations are written in slopeintercept form.
[/hiddenanswer]
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.
Writing the Equation of a Line Parallel to a Given Line Passing Through a Given Point
Write the equation of line parallel to aand passing through the point
[hiddenanswer a=”fsid1531339″]
First, we will write the equation in slopeintercept form to find the slope.
The slope isThe yintercept isbut 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 isSee (Figure).
[/hiddenanswer]
Try It
Find the equation of the line parallel toand passing through the point
[hiddenanswer a=”fsid2769990″]
[/hiddenanswer]
Finding the Equation of a Line Perpendicular to a Given Line Passing Through a Given Point
Find the equation of the line perpendicular to
[hiddenanswer a=”fsid1790303″]
The first step is to write the equation in slopeintercept form.
We see that the slope isThis means that the slope of the line perpendicular to the given line is the negative reciprocal, or Next, we use the pointslope formula with this new slope and the given point.
Access these online resources for additional instruction and practice with linear equations.
Key Concepts
 We can solve linear equations in one variable in the formusing standard algebraic properties. See (Figure) and (Figure).
 A rational expression is a quotient of two polynomials. We use the LCD to clear the fractions from an equation. See (Figure) and (Figure).
 All solutions to a rational equation should be verified within the original equation to avoid an undefined term, or zero in the denominator. See (Figure) and (Figure).
 Given two points, we can find the slope of a line using the slope formula. See (Figure).
 We can identify the slope and yintercept of an equation in slopeintercept form. See (Figure).
 We can find the equation of a line given the slope and a point. See (Figure).
 We can also find the equation of a line given two points. Find the slope and use the pointslope formula. See (Figure).
 The standard form of a line has no fractions. See (Figure).
 Horizontal lines have a slope of zero and are defined aswhere c is a constant.
 Vertical lines have an undefined slope (zero in the denominator), and are defined aswhere c is a constant. See (Figure).
 Parallel lines have the same slope and different yintercepts. See (Figure).
 Perpendicular lines have slopes that are negative reciprocals of each other unless one is horizontal and the other is vertical. See (Figure).
Section Exercises
Verbal
What does it mean when we say that two lines are parallel?
[hiddenanswer a=”fsid3107040″]
It means they have the same slope.
[/hiddenanswer]
What is the relationship between the slopes of perpendicular lines (assuming neither is horizontal nor vertical)?
How do we recognize when an equation, for examplewill be a straight line (linear) when graphed?
[hiddenanswer a=”fsid1571269″]
The exponent of thevariable is 1. It is called a firstdegree equation.
[/hiddenanswer]
What does it mean when we say that a linear equation is inconsistent?
When solving the following equation:
explain why we must excludeandas possible solutions from the solution set.
[hiddenanswer a=”fsid1834184″]
If we insert either value into the equation, they make an expression in the equation undefined (zero in the denominator).
[/hiddenanswer]
Algebraic
For the following exercises, solve the equation for
[hiddenanswer a=”fsid2425660″]
[/hiddenanswer]
[hiddenanswer a=”fsid3095086″]
[/hiddenanswer]
[hiddenanswer a=”fsid1512150″]
[/hiddenanswer]
[hiddenanswer a=”fsid1539692″]
[/hiddenanswer]
[hiddenanswer a=”fsid1700470″]
[/hiddenanswer]
For the following exercises, solve each rational equation forState all xvalues that are excluded from the solution set.
[hiddenanswer a=”fsid1744999″]
[latex]x=3[/latex]
[/hiddenanswer]
[hiddenanswer a=”fsid1186924″]
when we solve this we getwhich is excluded, therefore NO solution
[/hiddenanswer]
[hiddenanswer a=”fsid2690395″]
[latex]x=\frac{5}{2}[/latex]
[/hiddenanswer]
For the following exercises, find the equation of the line using the pointslope formula.
Write all the final equations using the slopeintercept form.
with a slope of
with a slope of
[hiddenanswer a=”fsid2710152″]
[/hiddenanswer]
xintercept is 1, and
yintercept is 2, and
[hiddenanswer a=”fsid2788520″]
[/hiddenanswer]
and
[hiddenanswer a=”fsid1495636″]
[/hiddenanswer]
parallel toand passes through the point
perpendicular toand passes through the point.
[hiddenanswer a=”fsid1846617″]
[/hiddenanswer]
For the following exercises, find the equation of the line using the given information.
and
and
[hiddenanswer a=”fsid1742721″]
[/hiddenanswer]
The slope is undefined and it passes through the point
The slope equals zero and it passes through the point
[hiddenanswer a=”fsid1768476″]
[/hiddenanswer]
The slope isand it passes through the point
and
[hiddenanswer a=”fsid2019397″]
[/hiddenanswer]
Graphical
For the following exercises, graph the pair of equations on the same axes, and state whether they are parallel, perpendicular, or neither.
[hiddenanswer a=”fsid1355513″]
Parallel
[/hiddenanswer]
[hiddenanswer a=”fsid1570411″]
Perpendicular
[/hiddenanswer]
Numeric
For the following exercises, find the slope of the line that passes through the given points.
and
and
[hiddenanswer a=”fsid1595641″]
[/hiddenanswer]
and
and
[hiddenanswer a=”fsid1393112″]
[/hiddenanswer]
and
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.
[hiddenanswer a=”fsid1391026″]
[/hiddenanswer]
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.
[hiddenanswer a=”fsid2716604″]
Answers may vary.
[/hiddenanswer]
[hiddenanswer a=”fsid2435252″]
Answers may vary.
[/hiddenanswer]
Extensions
Starting with the pointslope formulasolve this expression forin terms ofand
Starting with the standard form of an equationsolve this expression for y in terms ofandThen put the expression in slopeintercept form.
[hiddenanswer a=”fsid2485835″]
[/hiddenanswer]
Use the above derived formula to put the following standard equation in slope intercept form:
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.
and
[hiddenanswer a=”fsid1398905″]
Yes they are perpendicular.
[/hiddenanswer]
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 beIf 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.
[hiddenanswer a=”fsid2787116″]
30 ft
[/hiddenanswer]
If the profit equation for a small business sellingnumber of item one andnumber of item two isfind thevalue when
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 bewhereis the number of miles traveled.
What is your cost if you travel 50 mi?
[hiddenanswer a=”fsid3148392″]
$57.50
[/hiddenanswer]
If your cost werehow 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?
[hiddenanswer a=”fsid2505304″]
220 mi
[/hiddenanswer]
Glossary
 conditional equation
 an equation that is true for some values of the variable
 identity equation
 an equation that is true for all values of the variable
 inconsistent equation
 an equation producing a false result
 linear equation
 an algebraic equation in which each term is either a constant or the product of a constant and the first power of a variable
 solution set
 the set of all solutions to an equation
 slope
 the change in yvalues over the change in xvalues
 rational equation
 an equation consisting of a fraction of polynomials