Skip to main content

Linear Equations

A linear equation is an equation of a straight line that is written in one variable which means the degree of this equation is always 11.

Single Variable Equations

To solve a linear equation, we need to find the solution set which consists of all the values that can be substituted into the variable which make the equation true. We can classify equations using the type of solution sets we may encounter...

  1. An identity equation is an equation which is true for any value substituted into the variable (ex.5x=9x4x(ex.\:5x = 9x - 4x which is equal to 5x=5x)5x = 5x).
  2. A conditional equation is an equation which is true for only some values of the variable. (ex.2x+3=7(ex.\:2x + 3 = 7 which is equal to x=4)x = 4).
  3. An inconsistent equation is an equation which is true for no possible value of the variable. It has no solution. (ex.2x+3=2x+5(ex.\:2x + 3 = 2x + 5 which is equal to 3=53 = 5 and this is not a true statement)).
note

A linear equation in one variable can be always written in the form ax+b=0ax + b = 0 where aa and bb are real numbers, a0a \neq 0. This means only conditional equations can be linear equations.

We can solve a linear equation by manipulating the equation in order to isolate the unknown operation. We are able to apply any operation to the equation as long as its applied to both sides in order to isolate the unknown variable.

Example\underline{Example}

2(3x1)+x=14x-2(3x - 1) + x = 14 - x

6x+2+x=14xDistributiveProperty-6x + 2 + x = 14 - x \:\:\: Distributive\:Property

5x+2=14xSimplifyingBothSides-5x + 2 = 14 - x \:\:\: Simplifying\:Both\:Sides

5x+22=14x2IsolatingVariableonOneSide-5x + 2 - 2 = 14 - x - 2 \:\:\: Isolating\:Variable\:on\:One\:Side

5x=12x-5x = 12 - x

5x+x=12x+xIsolatingVariablefromConstants-5x + x = 12 - x + x \:\:\: Isolating\:Variable\:from\:Constants

4x=12-4x = 12

4x4=124IsolatingVariable\frac{-4x}{-4} = \frac{12}{-4} \:\:\: Isolating\:Variable

x=3x = -3

Rational Equations

Rational equations are equations that contain at least one rational expression and these equations after some manipulation can result in a linear equation.

One method to solving rational equations is to find the least common denominator (LCD) which is the smallest term which is divisible by all the denominators. By multiplying both sides by the LCD, we can cancel out all the denominators and then solve the resulting equation.

Example\underline{Example}

72x53x=223\frac{7}{2x} - \frac{5}{3x} = \frac{22}{3}

The LCD of 2x2x, 3x3x, and 33 is 6x6x because 6x6x can be factored into 3(2x)3(2x), 2(3x)2(3x), and 2x(3)2x(3).

(6x)(72x53x)=(6x)(223)(6x)(\frac{7}{2x} - \frac{5}{3x}) = (6x)(\frac{22}{3})

(6x)(72x)(6x)(53x)=(6x)(223)(6x)(\frac{7}{2x}) - (6x)(\frac{5}{3x}) = (6x)(\frac{22}{3})

(3)(7)(2)(5)=(2x)(22)(3)(7) - (2)(5) = (2x)(22)

2110=44x21 - 10 = 44x

11=44x11 = 44x

1144=x\frac{11}{44} = x

x=14x = \frac{1}{4}

The second method can be done without finding the LCD. If the rational equation is in the form of a proportion where ab=cd\frac{a}{b} = \frac{c}{d} then we can cross multiply to get a(d)=b(c)a(d) = b(c). Regardless of how we achieve it, the primary goal in all the methods is to eliminate the denominators from the equation.

Example\underline{Example}

23x=13\frac{2}{3x} = \frac{1}{3}

2(3)=1(3x)2(3) = 1(3x)

6=3x6 = 3x

x=2x = 2

note

A solution for a rational equation is not valid if if makes any denominator in the original expression equal zero.

Finding Linear Equations

The most used form of a linear equation is the slope-intercept form. This form is written as y=mx+by = mx + b, where mm is the slope and bb is the y-intercept.

The slope of a line is the ratio of the vertical change in yy over the horizontal change in xx between any two points on a line. This change is often described by rise over run and indicates both the steepness of the line and its direction. If the slope is negative then yy decreases as xx increases. If the slope is positive then yy increases as xx increases.

Slope: Rise vs Run
Fig. 1 - Slope: Rise vs Run

Given any two points on the line, (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), we can find the slope using m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}.

note

If we have any point and the slope of a line, we can find the y-intercept by substituting for xx, yy, and mm in the slope-intercept form in order to solve for bb.

Point-Slope Form

If we have the slope and one point on a line, we can find the equation of a line using point-slope form. The form is yy1=m(xx1)y - y_1 = m(x - x_1) where the point is (x1,y1)(x_1, y_1) and the slope is mm.

Standard Form

The equation of a line can also be written in standard form. This form is written as Ax+By=CAx + By = C where AA, BB, and CC are integers meaning no fractions are allowed.

Example\underline{Example}

Find the equation of a line in standard form with slope m=13m = -\frac{1}{3} and passing through the point (1,13)(1, \frac{1}{3}).

(y13)=13(x1)PointSlopeForm(y - \frac{1}{3}) = -\frac{1}{3}(x - 1) \:\:\: Point\:Slope\:Form

y13=13x+13y - \frac{1}{3} = -\frac{1}{3}x + \frac{1}{3}

3(y13)=3(13x+13)RemovingRationals3(y - \frac{1}{3}) = 3(-\frac{1}{3}x + \frac{1}{3}) \:\:\: Removing\:Rationals

3y1=x+13y - 1 = -x + 1

3y=x+23y = -x + 2

x+3y=2x + 3y = 2

Horizontal & Vertical Lines

The equation of a vertical line is x=cx = c where cc is a constant. For these lines, the slope is undefined and regardless of the yy-value of any point, xx will always equal cc.

The equation of a horizontal line is y=cy = c where cc is a constant. For these lines, the slope is 00 and regardless of the xx-value of any point, yy will always equal cc.

Parallel and Perpendicular

Parallel lines are lines that have the same slope but different yy-intercepts. This means that these lines will never intersect.

Perpendicular lines are lines that intersect to form a 9090^{\circ} angle. The slope of one line is the negative reciprocalof the other. In order words, if m1=am_1 = a then m2=1am_2 = -\frac{1}{a}. We can show two lines are perpendicular if the product of the two slopes equal -1 as m1×m2=1m_1 \times m_2 = -1.

Parallel vs Perpendicular
Fig. 2 - Parallel vs Perpendicular

We can find a parallel or perpendicular line passing through a given point by first finding the new slope and then using the slope and point to find the new equation.