Up Main page

Examples of single-variable equations

The following are examples of equations in one variable (or unknown) x:

  1. 3x1=2

  2. 2x23x+1=0

  3. sin(x)+ex2=5

For each of these, the question is to find a value that we can assign to x so that the equality is satisfied.

It is not hard to see that assigning 1 to x satisfies the first equation. For the second equation, one can use the quadratic formula to find all the solutions. The third equation is a bit complicated and there is no known method for solving it exactly.

Definition of a linear equation

A linear equation is an equation of the form: i=1naixi=b where x1,,xn are variables (or unknowns) and a1,,an,b are constants. The contant ai is called the coefficient of the variable xi. A solution is an assignment of values to the variables x1,,xn such that the left-hand side is equal to the right-hand side.

A linear equation is normally defined over a field; i.e. the constants are elements of a field and the values we solve for the variables are from the same field.

Note that equation 1 above is not quite in this form yet. But it can be turned into this form by adding 1 to both sides of the equation to obtain the equivalent 3x=3. (Two equations are said to be equivalent if they have the same solutions.)

Equations that are not linear are called nonlinear equation. Hence, equations 2 and 3 above are both nonlinear equations.

Examples

  1. x2y+3z=4 is a linear equation in the variables x,y,z. Here, the coefficient of x is 1. One solution (there are many others) is given by x=3, y=1, z=1.

  2. x1πx2+3x32x4=0 is a linear equation in the variables x1,x2,x3,x4. Here, the coefficient of x2 is π and the coefficient of x4 is 2.

Quick Quiz

Exercise

Which of the following is equivalent to a linear equation?

  1. 2+3x=4

  2. (3x1)(2x+1)=0

  3. 2(1x)x+2x2=3x1