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 full-time college student planning a spring break vacation. To earn enough money for the trip, she has taken a part-time 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.
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 ax+b=0ππ₯+π=0 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.
3x=2x+x3π₯=2π₯+π₯
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 xπ₯ 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 5x+2=3xβ6,5π₯+2=3π₯β6, we have the following:
5x+22xx===3xβ6β8β45π₯+2=3π₯β62π₯=β8π₯=β4
The solution set consists of one number: {β4}.{β4}. 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 5xβ15=5(xβ4),5π₯β15=5(π₯β4), we have the following:
5xβ155xβ15β5xβ15==β 5xβ205xβ20β5xβ20Subtract 5xfrom both sides.False statement5π₯β15=5π₯β205π₯β15β5π₯=5π₯β20β5π₯Subtract 5π₯from both sides.β15β β20False statement
Indeed, β15β β20.β15β β20. 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
ax+b=0ππ₯+π=0
where a and b are real numbers, aβ 0.πβ 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 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:Β a(b+c)=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:Β 2x+7=19.2π₯+7=19.
TRY IT #1
Solve the linear equation in one variable: 2x+1=β9.2π₯+1=β9.
EXAMPLE 2
Solving an Equation Algebraically When the Variable Appears on Both Sides
Solve the following equation:Β 4(xβ3)+12=15β5(x+6).4(π₯β3)+12=15β5(π₯+6).
Analysis
This problem requires the distributive property to be applied twice, and then the properties of algebra are used to reach the final line, x=β53.π₯=β53.
TRY IT #2
Solve the equation in one variable: β2(3xβ1)+x=14βx.β2(3π₯β1)+π₯=14βπ₯.
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 2323 or 72.72. A rational expression is the ratio, or quotient, of two polynomials. Here are three examples.
x+1×2β4,1xβ3,or4x2+xβ2π₯+1π₯2β4,1π₯β3,or4π₯2+π₯β2
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:Β 72xβ53x=223.72π₯β53π₯=223.
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 (x+1).(π₯+1). 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 x,π₯, xβ1,π₯β1, and 3xβ3.3π₯β3. First, factor all denominators. We then have x,π₯, (xβ1),(π₯β1), and 3(xβ1)3(π₯β1) as the denominators. (Note the parentheses placed around the second denominator.) Only the last two denominators have a common factor of (xβ1).(π₯β1). The xπ₯ in the first denominator is separate from the xπ₯ in the (xβ1)(π₯β1) 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 x,π₯, one factor of (xβ1),(π₯β1), and the 3. Thus, the LCD is the following:
x(xβ1)3=3x(xβ1)π₯(π₯β1)3=3π₯(π₯β1)
So, both sides of the equation would be multiplied by 3x(xβ1).3π₯(π₯β1). 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 xπ₯ and x2+2x.π₯2+2π₯. Once the second denominator is factored as x2+2x=x(x+2),π₯2+2π₯=π₯(π₯+2), there is a common factor of x in both denominators and the LCD is x(x+2).π₯(π₯+2).
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.
ab=cdππ=ππ
We can use another method of solving the equation without finding the LCD: cross-multiplication. We multiply terms by crossing over the equal sign.
Multiply a(d)π(π) and b(c),π(π), which results in 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:
2xβ32=72×2π₯β32=72π₯
TRY IT #3
Solve the rational equation: 23x=14β16x.23π₯=14β16π₯.
EXAMPLE 5
Solving a Rational Equation by Factoring the Denominator
Solve the following rational equation:Β 1x=110β34x.1π₯=110β34π₯.
TRY IT #4
Solve the rational equation: β52x+34x=β74.β52π₯+34π₯=β74.
EXAMPLE 6
Solving Rational Equations with a Binomial in the Denominator
Solve the following rational equations and state the excluded values:
- βΒ 3xβ6=5×3π₯β6=5π₯
- βΒ xxβ3=5xβ3β12π₯π₯β3=5π₯β3β12
- βΒ xxβ2=5xβ2β12π₯π₯β2=5π₯β2β12
TRY IT #5
Solve β32x+1=43x+1.β32π₯+1=43π₯+1. 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:Β 2x+1β1xβ1=2xx2β1.2π₯+1β1π₯β1=2π₯π₯2β1.Β State the excluded values.
TRY IT #6
Solve the rational equation: 2xβ2+1x+1=1×2βxβ2.2π₯β2+1π₯+1=1π₯2βπ₯β2.
Finding a Linear Equation
Perhaps the most familiar form of a linear equation is the slope-intercept form, written as y=mx+b,π¦=ππ₯+π, where m=slopeπ=slope and b=y-intercept.π=π¦-intercept. 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.
m=y2βy1x2βx1π=π¦2βπ¦1π₯2βπ₯1
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:Β m=β3,π=β3,Β m=2,π=2,Β andΒ m=13.π=13.
Figure 2
THE SLOPE OF A LINE
The slope of a line, m, represents the change in y over the change in x. Given two points, (x1,y1)(π₯1,π¦1) and (x2,y2),(π₯2,π¦2), the following formula determines the slope of a line containing these points:
m=y2βy1x2βx1π=π¦2βπ¦1π₯2βπ₯1
EXAMPLE 8
Finding the Slope of a Line Given Two Points
Find the slope of a line that passes through the pointsΒ (2,β1)(2,β1)Β andΒ (β5,3).(β5,3)
Analysis
It does not matter which point is called (x1,y1)(π₯1,π¦1) or (x2,y2).(π₯2,π¦2). 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 (β2,6)(β2,6) and (1,4).(1,4).
EXAMPLE 9
Identifying the Slope and y-intercept of a Line Given an Equation
Identify the slope andΒ y-intercept, given the equationΒ y=β34xβ4.π¦=β34π₯β4.
Analysis
The y-intercept is the point at which the line crosses the y-axis. On the y-axis, x=0.π₯=0. We can always identify the y-intercept when the line is in slope-intercept form, as it will always equal b. Or, just substitute x=0π₯=0 and solve for y.
The Point-Slope Formula
Given the slope and one point on a line, we can find the equation of the line using the point-slope formula.
yβy1=m(xβx1)π¦βπ¦1=π(π₯βπ₯1)
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 slope-intercept form.
THE POINT-SLOPE FORMULA
Given one point and the slope, the point-slope formula will lead to the equation of a line:
yβy1=m(xβx1)π¦βπ¦1=π(π₯βπ₯1)
EXAMPLE 10
Finding the Equation of a Line Given the Slope and One Point
Write the equation of the line with slopeΒ m=β3π=β3Β and passing through the pointΒ (4,8).(4,8).Β Write the final equation in slope-intercept form.
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 m=4,π=4, find the equation of the line in slope-intercept form passing through the point (2,5).(2,5).
EXAMPLE 11
Finding the Equation of a Line Passing Through Two Given Points
Find the equation of the line passing through the pointsΒ (3,4)(3,4)Β andΒ (0,β3).(0,β3).Β Write the final equation in slope-intercept form.
Analysis
To prove that either point can be used, let us use the second point (0,β3)(0,β3) and see if we get the same equation.
yβ(β3)y+3y===73(xβ0)73x73xβ3π¦β(β3)=73(π₯β0)π¦+3=73π₯π¦=73π₯β3
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
Ax+By=Cπ΄π₯+π΅π¦=πΆ
where A,π΄, B,π΅, and CπΆ are integers. The x- and y-terms 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Β m=β6π=β6Β and passing through the pointΒ (14,β2).(14,β2).Β Write the equation in standard form.
TRY IT #9
Find the equation of the line in standard form with slope m=β13π=β13 and passing through the point (1,13).(1,13).
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
x=cπ₯=π
where c is a constant. The slope of a vertical line is undefined, and regardless of the y-value of any point on the line, the x-coordinate of the point will be c.
Suppose that we want to find the equation of a line containing the following points: (β3,β5),(β3,1),(β3,3),(β3,β5),(β3,1),(β3,3), and (β3,5).(β3,5). First, we will find the slope.
m=5β3β3β(β3)=20π=5β3β3β(β3)=20
Zero in the denominator means that the slope is undefined and, therefore, we cannot use the point-slope formula. However, we can plot the points. Notice that all of theΒ x-coordinates are the same and we find a vertical line throughΒ x=β3.π₯=β3.Β SeeΒ Figure 3.
The equation of a horizontal line is given as
y=cπ¦=π
where c is a constant. The slope of a horizontal line is zero, and for any x-value of a point on the line, the y-coordinate will be c.
Suppose we want to find the equation of a line that contains the following set of points: (β2,β2),(0,β2),(3,β2),(β2,β2),(0,β2),(3,β2), and (5,β2).(5,β2). We can use the point-slope formula. First, we find the slope using any two points on the line.
m===β2β(β2)0β(β2)020π=β2β(β2)0β(β2)=02=0
Use any point for (x1,y1)(π₯1,π¦1) in the formula, or use the y-intercept.
yβ(β2)y+2y===0(xβ3)0β2π¦β(β2)=0(π₯β3)π¦+2=0π¦=β2
The graph is a horizontal line throughΒ y=β2.π¦=β2.Β Notice that all of theΒ y-coordinates are the same. SeeΒ Figure 3.
Figure 3 The line x = β3 is a vertical line. The line y = β2 is a horizontal line.
EXAMPLE 13
Finding the Equation of a Line Passing Through the Given Points
Find the equation of the line passing through the given points:Β (1,β3)(1,β3)Β andΒ (1,4).(1,4)
TRY IT #10
Find the equation of the line passing through (β5,2)(β5,2) and (2,2).(2,2).
Determining Whether Graphs of Lines are Parallel or Perpendicular
Parallel lines have the same slope and different y-intercepts. Lines that are parallel to each other will never intersect. For example, Figure 4 shows the graphs of various lines with the same slope, m=2.π=2.
Figure 4 Parallel lines
All of the lines shown in the graph are parallel because they have the same slope and different y-intercepts.
Lines that areΒ perpendicularΒ intersect to form aΒ 90Β°90° -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Β β1:m1β m2=β1.β1:π1β π2=β1.Β 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Β β13.β13.
m1β m23β (β13)==β1β1π1β π2=β13β (β13)=β1
Figure 5 Perpendicular lines
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:Β 3y=β4x+33π¦=β4π₯+3Β andΒ 3xβ4y=8.3π₯β4π¦=8
TRY IT #11
Graph the two lines and determine whether they are parallel, perpendicular, or neither:Β 2yβx=102π¦βπ₯=10Β andΒ 2y=x+4.2π¦=π₯+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 point-slope 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 slope-intercept form.
- Use the slope and the given point with the point-slope formula.
- Simplify the line to slope-intercept 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Β 5x+3y=15π₯+3π¦=1Β and passing through the pointΒ (3,5).(3,5).
TRY IT #12
Find the equation of the line parallel to 5x=7+y5π₯=7+π¦ and passing through the point (β1,β2).(β1,β2).
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Β 5xβ3y+4=05π₯β3π¦+4=0Β and passing through the pointΒ (β4,1).(β4,1).
MEDIA
Access these online resources for additional instruction and practice with linear equations.
- Solving rational equations
- Equation of a line given two points
- Finding the equation of a line perpendicular to another line through a given point
- Finding the equation of a line parallel to another line through a given point
2.2 Section Exercises
Verbal
What does it mean when we say that two lines are parallel?
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 y=4x+3,π¦=4π₯+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:
2xβ5=4x+12π₯β5=4π₯+1
explain why we must exclude x=5π₯=5 and x=β1π₯=β1 as possible solutions from the solution set.
Algebraic
For the following exercises, solve the equation for x.π₯.
- 7x+2=3xβ97π₯+2=3π₯β9
- 4xβ3=54π₯β3=5
- 3(x+2)β12=5(x+1)3(π₯+2)β12=5(π₯+1)
- 12β5(x+3)=2xβ512β5(π₯+3)=2π₯β5
- 12β13x=4312β13π₯=43
- x3β34=2x+312π₯3β34=2π₯+312
- 23x+12=31623π₯+12=316
- 3(2xβ1)+x=5x+33(2π₯β1)+π₯=5π₯+3
- 2×3β34=x6+2142π₯3β34=π₯6+214
- x+24βxβ13=2π₯+24βπ₯β13=2
For the following exercises, solve each rational equation for x.π₯. State all x-values that are excluded from the solution set.
- 3xβ13=163π₯β13=16
- 2β3x+4=x+2x+42β3π₯+4=π₯+2π₯+4
- 3xβ2=1xβ1+7(xβ1)(xβ2)3π₯β2=1π₯β1+7(π₯β1)(π₯β2)
- 3xxβ1+2=3xβ13π₯π₯β1+2=3π₯β1
- 5x+1+1xβ3=β6×2β2xβ35π₯+1+1π₯β3=β6π₯2β2π₯β3
- 1x=15+32×1π₯=15+32π₯
For the following exercises, find the equation of the line using the point-slope formula. Write all the final equations using the slope-intercept form.
(0,3)(0,3) with a slope of 2323
(1,2)(1,2) with a slope of β45β45
x-intercept is 1, and (β2,6)(β2,6)
y-intercept is 2, andΒ (4,β1)(4,β1).
(β3,10)(β3,10) and (5,β6)(5,β6)
(1,3) and (5,5)(1,3) and (5,5)
parallel toΒ y=2x+5π¦=2π₯+5Β and passes through the pointΒ (4,3)(4,3).
perpendicular to 3y=xβ43π¦=π₯β4 and passes through the point (β2,1)(β2,1) .
For the following exercises, find the equation of the line using the given information.
(β2,0)(β2,0) and (β2,5)(β2,5)
(1,7)(1,7) and (3,7)(3,7)
The slope is undefined and it passes through the point (2,3).(2,3).
The slope equals zero and it passes through the point (1,β4).(1,β4).
The slope is 3434 and it passes through the point (1,4)(1,4).
(β1,3)(β1,3) and (4,β5)(4,β5)
Graphical
For the following exercises, graph the pair of equations on the same axes, and state whether they are parallel, perpendicular, or neither.
- y=2x+7y=β12xβ4π¦=2π₯+7π¦=β12π₯β4
- 3xβ2y=56yβ9x=63π₯β2π¦=56π¦β9π₯=6
- y=3x+14y=3x+2π¦=3π₯+14π¦=3π₯+2
- x=4y=β3π₯=4π¦=β3
Numeric
For the following exercises, find the slope of the line that passes through the given points.
- (5,4)(5,4) and (7,9)(7,9)
- (β3,2)(β3,2) and (4,β7)(4,β7)
- (β5,4)(β5,4) and (2,4)(2,4)
- (β1,β2)(β1,β2) and (3,4)(3,4)
- (3,β2)(3,β2) and (3,β2)(3,β2)
- 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.
(β1,3) and (5,1)(β2,3) and (0,9)(β1,3) and (5,1)(β2,3) and (0,9)
(2,5) and (5,9)(β1,β1) and (2,3)(2,5) and (5,9)(β1,β1) and (2,3)
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 y-intercept occurs. State your ymin and ymax values.
- 0.537xβ2.19y=1000.537π₯β2.19π¦=100
- 4,500xβ200y=9,5284,500π₯β200π¦=9,528
- 200β30yx=70200β30π¦π₯=70
Extensions
Starting with the point-slope formula yβy1=m(xβx1),π¦βπ¦1=π(π₯βπ₯1), solve this expression for xπ₯ in terms of x1,y,y1,π₯1,π¦,π¦1, and mπ.
Starting with the standard form of an equation Ax+By=Cπ΄π₯+π΅π¦=πΆ solve this expression for yπ¦ in terms of A,B,Cπ΄,π΅,πΆ and xπ₯. Then put the expression in slope-intercept form.
Use the above derived formula to put the following standard equation in slope intercept form: 7xβ5y=25.7π₯β5π¦=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.
(β1,1),(2,0),(3,3)(β1,1),(2,0),(3,3) and (0,4)(0,4)
Find the slopes of the diagonals in the previous exercise. Are they perpendicular?
Real-World Applications
The slope for a wheelchair ramp for a home has to be 112.112. 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 xπ₯ number of item one and yπ¦ number of item two is p=3x+4y,π=3π₯+4π¦, find the yπ¦ value when p=$453and x=75.π=$453and π₯=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 y=45+.25x,π¦=45+.25π₯, where xπ₯ is the number of miles traveled.
- What is your cost if you travel 50 mi?
- If your cost were $63.75,$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?
RELATED POSTS
View all