Android app on Google Play

Linear equation

An equation of the form mx + b = 0 is a linear equation or an equation of a straight line. Any other equations, which can be rewritten to that form, are also linear equations, that is, they have one variable x, which is raised to the first power.

Usually the multiplication sign between the constant and the variable of an equation is omitted, like for instance 2x. In the following example, however, we will write 2*x instead of 2x to make it more clear, that 2 must be multiplied by x.

Examples of linear equations

2*x-4=0

x+5=8-2*x

5*(x+2)=4*x

Solving a linear equation

In order to solve a linear equation, you must rewrite it, until the variable x is isolated on one side of the equation.
Every time you rewrite an equation you put a “if and only if”-symbol ⇔, indicating that the equation in its initial form is true if and only if the equation in its rewritten form is also true.

2*x-4=0\Leftrightarrow

2*x=4\Leftrightarrow

x=2

As you can see all three expressions above are equivalent, which is shown with ⇔ after each expression. It is the same equation in different forms.

How to rewrite an equation

You can add or subtract the same number on both side of the equation.

2*x-4=0\Leftrightarrow

2*x-4+4=0+4\Leftrightarrow

2*x=4

You can multiply or divide by the same number (except 0) on both side of the equation.

2*frac{1}{2}x+2*2=2*4\Leftrightarrow

1*x+4=8\Leftrightarrow

x+4=8

Guide to solve an equation

Fractions

When you want to solve an equation, the first thing you do is to get rid of all fractions appearing in it. You can get rid of a fraction by multiplying it by its own denominator, because then you get its numerator. But if you do so, you must multiply by the same number on the other side of the equation as well, according to the rules above.

frac{2*x+3}{3}=5\Leftrightarrow

3*frac{2*x+3}{3}=3*5\Leftrightarrow

2*x+3=15

Parentheses

If an equation contains parentheses, they must be removed as well. (see more about the properties of parentheses on our site concerning parentheses)

Isolation of x

Finally you can isolate x on one side of the equation in accordance with the rules above concerning addition, subtraction and multiplication.

The linear equation and the Zero Product Property

Sometimes you will come across equations like:

(x+3)(2*x+3)=0

In this case you can solve the equation on the basis of the Zero Product Property, which states that when two quantities multiply to get zero, either one or both of the quantities must be zero.

So instead you have to solve these two linear equations.


x+3=0

and

2*x+3=0

There will be two solutions to the initial equation, because there is one solution for each of the two equations.

Examples of solving a linear equation

Simple linear equation

4*x-4=0\Leftrightarrow

We add 4 on both sides:

4*x-4+4=0+4\Leftrightarrow

4*x=4\Leftrightarrow

We divide by 4 on both sides:

4*x:4=4:4\Leftrightarrow

x=1

Linear equation with parentheses

4*(x+3)=-2*(3*x+5)\Leftrightarrow

The first thing we do is to get rid of the parentheses. According to the distributive property the term outside the parentheses distributes across all terms inside the parentheses. Be aware of the signs + and – in front of each term, which also distribute equally across the parentheses.

4*x+4*3=-2*3*x-2*5\Leftrightarrow

4*x+12=-6*x-10\Leftrightarrow

We subtract 12 from both sides.

4*x+12-12=-6*x-10-12\Leftrightarrow

4*x=-6*x-22\Leftrightarrow

We add 6x on both sides.

4*x+6*x=-6*x-22+6*x\Leftrightarrow

10*x=-22\Leftrightarrow

We divide by 10 on both sides.

10*x:10=-22:10\Leftrightarrow

x=-2,2

Solving a linear equation

Example of equationIs entered like this in
the calculator
13-(2x+2)=2(x+2)+3x13-(2x+2)=2(x+2)+3x
2*4x=9-x2*4x=9-x
6x-(3x+8)=166x-(3x+8)=16
frac{9}{x+1}=29/(x+1)=2
frac{x+5}{9}+5=17(x+5)/9+5=17


Please enter your linear equation here: