# Definition of Equation. Roots of the Equation.

**Equation** is two expressions, separated by equal sign (=). At least one expression should contain variable.

Examples of equations:

- `4x+3=1` (variable in left expression)
- `15=x^2+2x` (variable in right expression)
- `x^3+4-2x^2=1/x+2^x` (variable in both expressions)

**Roots of the equation** are such values of the variable, that turn equation into correct equality.

**Example 1**. Determine, whether 2 and 3 are roots of the equation `15=x^2+2x`.

To check it, we just plug values instead of the variable.

Check for 2:

`15=2^2+2*2`

`15!=8`

We haven't obtained correct equality, so 2 is not root of the equation.

Check for 3:

` 15=3^2+2*3 `

`15=15`

Since equality is correct, then 3 is root of the equation.

**Example 2**. Determine, whether `-1` and `2` are roots of the equation `y^3-3=3y-y^2`.

To check it, we just plug values instead of the variable.

Check for `-1`:

`(-1)^3-3=3*(-1)-(-1)^2`

`-4=-4`

Since equality is correct, then `-1` is root of the equation.

Check for `2`:

`2^3-3=3*2-2^2`

`5!=2`

Since equality is incorrect, then `2` is not root of the equation.

Note, that equation can have no roots.

To **solve the equation** means to find all its roots.

In general, it is quite hard to solve equation. Often, roots can be found only approximately (with the help of computer). But we will consider types of equations, that can be easily solved.

**Exercise 1**. Determine, whether `2` and `-2` are roots of the equation `2x+4=0`.

**Answer**: `-2` is root, `2` is not.

**Exercise 2**. Determine, whether `1/2` and `-sqrt(5)` are roots of the equation `10a-5=2a^3-a^2`.

**Answer**: they are both roots.

**Exercise 3**. Determine, whether `1` and `sqrt(3)` are roots of the equation `y^4-2y^2+4=0`.

**Answer**: neither of them are roots (in fact, this equation doesn't have real roots).