# What is a Linear Equation?

**Key Terms**

o Linear equation

o Constant

o Non-linear equation

**Objectives**

o Learn how to manipulate equations and still maintain the relationship between the independent and dependent variables

o Solve linear equations for the independent variable given some specific value of the dependent variable

o Derive a general expression for the independent variable of a linear equation

When graphing algebraic relations, you may notice that some relations plot as lines on a graph. Such relations (when the relation involves an equality) are called **linear equations.** A generic linear equation is shown below, where *x* is the independent variable, *y* is the dependent variable, and *m* and *b* are unspecified numbers. Note here that *m* and *b* are *not* variables--for a given linear equation, they can have only one value, even if it is not specified. Thus, *m* and *b* are **constants** rather than variables. Constants can be represented using symbols, but unlike variables, they correspond to one value only.

_{}

Any equation that does not follow the pattern above is not a linear equation and is often called a **non-linear equation.** We will not review non-linear equations here, but the skills we learn do apply to non-linear equations in much the same way as they apply to linear equations.

Given a certain value for the independent variable, we know how to calculate the dependent variable for a linear equation. If we are given a value of the dependent variable, however, calculating the corresponding value of the independent variable is slightly more complicated. We will consider how to find this value (which is called *solving the equation*).

*Primer on Manipulating Equations*

Before studying how to solve linear equations, we must establish some general rules for working with equations. Consider some equation, such as that shown below.

_{}

Regardless of the complexity of the equation, the left-hand side is always equal to the right-hand side--this is the nature of an equation. If we make a change to either the right- or left-hand side, however, we disrupt the equality, and the two sides are no longer necessarily equal. If we make the *same* change to *both* sides, however, the equation is still valid. Let's consider why this is so. First, consider the following trivial case:

3 = 3

Obviously, this statement is true. Furthermore, if we perform the same operation or series of operations on both sides of the equation, the equation remains valid (that is, the value on one side is still equal to the value on the other side).

_{} (4 = 4)

_{} (15 = 15)

_{} (9 = 9)

The same principle applies to equations that involve variables and constants. The presence of variables simply implies that the equation is valid for more than just one particular number; nevertheless, because the two sides are equal, we can perform any series of operations on both sides and still end up with an equation. The independent and dependent variables still maintain their relationship in this case. For instance, consider the simple linear equation below.

_{}

The relationship between *x* (the independent variable) and *y* (the dependent variable) is maintained if we add a number to both sides of the equation.

_{}

For *x* = 3,

_{}

Obviously, *y* must be 3 in this case. But since *x* = 3 and *y* = 3, we have maintained the relationship *x* = *y.* We can also see this result for multiplication:

_{}

If *x* = 2, then

_{}

Again, *y* must be 2, so *x* = *y* is still valid. Thus, as long as we perform the same operation on both sides of an equation, we can make any change we like and still maintain the correct relationship between the variables.

*Solving Linear Equations*

We can now apply the principle we learned above to the solution of linear equations. As mentioned above, a linear equation has the following form, where *x* is the independent variable, *y* is the dependent variable, and *m* and *b* are constants.

_{}

If we are given a particular value of *x,* we can easily calculate the corresponding value of *y* by simply substituting the *x* value and then evaluating the expression on the right-hand side of the equation. If we are given a value for *y* and want to calculate a corresponding value of *x,* however, we must take a slightly different approach. In this case, we must manipulate the equation to solve for *x.* Let's take a look at an example. Assume we want to calculate the value of *x* for the equation _{} when *y* = 7. First, substitute the value of *y.*

_{}

_{}

Now, we can begin manipulating the equation. Our goal is to isolate *x,* so that we have an expression of the form *x* = *c,* where *c* is some number. Remember, we can perform any operation we prefer as long as we perform the same operation on both sides of the equation. Since we want to isolate *x,* we can start by attempting to eliminate the term –3 on the right-hand side. To do this, simply add 3 to both sides of the equation and then simplify the result.

_{}

_{}

Note that on the right-hand side, we are left with only the product of –4 and *x.* We now want to eliminate the factor –4; to do so, we can multiply by the reciprocal of –4, since the product of a number and its reciprocal is 1. Again, we must perform this operation on both sides of the equation.

_{}

_{}

_{}

_{}

At this point, we can check our answer to see if it is correct. By plugging this value of *x* into the equation, we should end up with the correct value of *y* (7, in this case).

_{}

_{}

_{}

Thus, our answer for the value of *x* is correct. The following practice problems require you to solve various linear equations for the independent variable. The process of doing so is virtually identical to the process we used above: manipulate the equation to isolate the independent variable. Remember to check your answer-this is an easy and excellent way to make sure you are doing the math correctly!

__ Practice Problem:__ For each linear equation and corresponding value of the dependent variable, calculate the value of the independent variable.

a. *y* = 7 - 3*x, **y* = 16 b. *y* = *x* + 5, *y* = -2 c. *y* = _{}*x* + 2, *y* = 4

__ Solution:__ In each case, follow the procedure illustrated in the example above. Check your answer by substituting the result back into the original equation and solving for the dependent variable. For each critical step in the solutions, a rationale is provided in parentheses to the right of the equation.

a. _{}

_{} (addition is commutative)

_{} (subtract 7 from both sides)

_{}

_{} (multiply both sides by the reciprocal of –3)

_{}

_{}

_{}

_{} (check answer)

_{} (answer checks out)

_{}

_{} (subtract 5 from both sides)

_{}

_{}

_{} (check answer)

_{} (answer checks out)

c. _{}

_{} (subtract 2 from both sides)

_{}

_{} (multiply both sides by the reciprocal of _{}

_{}

_{}

_{}

_{} (check answer)

_{}

_{} (answer checks out)

*A General Solution to Linear Equations*

We do not necessarily need a specific value for the dependent variable to calculate an expression for the independent variable in a linear equation. For instance, we can solve the generic equation _{} for *x* without needing to know the values of any of the variables or constants. We need simply follow the procedure we used above; the task just involves using symbols (letters) instead of numbers. Let's try solving the generic linear equation for *x.* To isolate *x,* first eliminate the *b* term on the right-hand side by subtracting *b* from both sides.

_{}

_{}

_{}

Now, divide both sides by *m* (we can also view this as multiplying both sides by the reciprocal of *m*) to isolate *x.*

_{}

_{}

_{}

_{}

We can apply this formula anytime we know *y, b,* and *m* to calculate *x.* For instance, in our example above, where _{} and *y* = 7, *m* is equal to –4, and *b* is equal to –3. Thus,

_{}

__ Practice Problem:__ Solve the equation

_{}for

*c.*

__ Solution:__ Although this equation isn't currently in the standard form

*y*=

*mx*+

*b,*it is still a linear equation, as we can demonstrate.

_{}

_{}

We can then use the same approach as above to solve for *c.* Alternatively, we can use the result derived above, noting that *y* = *z,* *x* = *c,* *m* = _{}, and *b* = _{}.

_{}

_{}

_{}

_{}

_{}

_{}

_{} or _{}

##### Related Articles

- How to Solve Geometry Problems involving Rectangles and Triangles
- What is Statistics?
- What Are Exponents?
- How to Add, Subtract, Multiply, and Divide Fractions
- How to Perform Arithmetic Operations on Radicals
- Algebra Terminology: Operations, Variables, Functions, and Graphs
- Basic Mathematical Terminology
- What is Probability in Statistics?
- Math Skills: How to Do Subtraction
- Applied Statistics: Descriptive Statistics I
- How to do Fractions the Easy Way
- Introduction to Trigonometric Functions
- How to Use a Calculator
- How to Calculate Area
- Math Skills: How to Calculate, Convert, and Use Percents