Solving some non-linear equations

There are other types of equations, non-linear ones, which we can solve as well. There are many more non-linear equations, some of which we will learn to solve much later.

Equations with a square term

These are equations of the form

ax2+b=0\boxed{a x^2+b=0}

For example,

3x212=03x^2-12=0

Note that this equation is similar to the linear equation, but the variable xx is squared. To solve this kind of equation:

  1. bring all the x2x^2-terms on one side, and the number on the other side
  2. isolate the x2x^2
  3. take the root on both sides of the equation sign
3x212=0+123x2=12:3(isolate)x2=4xx2=4simplifyx=±4=±2\begin{array}{llll} 3x^2 -12&= &0 &\quad| +12\\ 3x^2 &= &12 &\quad| :3\, (\text{isolate})\\ x^2 &= &4 &\quad|\sqrt{\phantom{x}}\\ \sqrt{x^2} &= &\sqrt{4} &\quad| \text{simplify} \\ x &= &\pm \sqrt{4} = \pm 2 \end{array}

Note that 2-2 is also a solution, because we also have (2)2=4(-2)^2=4. So we have two solutions, x=2x=2 and x=2x=-2.

Sometimes with have to work a bit harder to isolate the x2x^2. For example, consider following example:

Example 1

Solve the equation

3x24=x2+53x^2-4= x^2+5

Again, we solve it by first bringing all x2x^2 terms on one side, and all the numbers on the other side.

3x24=x2+5x2,+43x2x2=5+4simplify2x2=9:2(isolate)x2=4.5xx2=4.5simplifyx=±4.5=±2.121\begin{array}{llll} 3x^2-4&= &x^2+5 &\quad| -x^2, +4\\ 3x^2-x^2 &= &5+4 &\quad| \text{simplify}\\ 2x^2 &= &9 &\quad| :2\, (\text{isolate})\\ x^2 &= & 4.5 &\quad| \sqrt{\phantom{x}}\\ \sqrt{x^2} &= & \sqrt{4.5} &\quad|\text{simplify}\\ x &= &\pm \sqrt{4.5} = \pm2.121 \end{array}

Note that we write x=±4.5x=\pm \sqrt{4.5} in order to get both solutions.

Sometimes, an equation does not have a solution. Have a look at the following example:

Example 2

Solve the equation

x2+4=0x^2+4=0

We try to solve it as usual:

x2+4=04x2=4xx2=4\begin{array}{llll} x^2+4&= &0 &\quad| -4\\ x^2 &= & -4 &\quad| \sqrt{\phantom{x}}\\ \sqrt{x^2} &= &\sqrt{-4} &\\ \end{array}

and because 4\sqrt{-4} does not exist, we must conclude that there is no value for which this equation holds.

Equations with a square root term

These are equations of the form

ax+b=0\boxed{a\sqrt{x}+b=0}

For example,

3x10=83\sqrt{x}-10=8

We use a similar approach as above:

  1. bring all the x\sqrt{x}-terms on one side, and the number on the other side
  2. isolate the x\sqrt{x}
  3. square both sides

Thus, we have

3x10=8+103x=18:3(isolate)x=6square both sides(x)2=62simplifyx=36\begin{array}{llll} 3\sqrt{x}-10&= &8 &\quad| +10\\ 3\sqrt{x} &= &18 &\quad| :3\, (\text{isolate})\\ \sqrt{x} &= & 6 &\quad| \text{square both sides}\\ \left(\sqrt{x}\right)^2 &= & 6^2 & \quad|\text{simplify}\\ x &= & 36 &\\ \end{array}

However, sometimes you find a value for xx, but it is not a solution of the equation. Have a look at the following example:

Example 3

Solve the equation

3x+10=13\sqrt{x}+10 = 1

Solving as usual, we get

3x+10=1103x=9:3(isolate)x=3square both sides(x)2=(3)2simplifyx=9\begin{array}{llll} 3\sqrt{x}+10&= &1 &\quad| -10\\ 3\sqrt{x} &= &-9 &\quad| :3\, (\text{isolate})\\ \sqrt{x} &= &-3 &\quad| \text{square both sides}\\ \left(\sqrt{x}\right)^2 &= & (-3)^2 & \quad|\text{simplify}\\ x &= & 9 &\\ \end{array}

In fact, this equation has no solution - so why do we get one? Well, look at the third line, where it says x=3\sqrt{x}=-3. No such xx-value exists, because the root is always positive.

Equations with x in the denominator

These are equations of the following type:

a1x+b=0\boxed{a\frac{1}{x}+b=0}

or, written a bit more compact:

ax+b=0\boxed{\frac{a}{x}+b=0}

An example is the following equation:

4x2=0\frac{4}{x}-2=0

To solve it, follow the steps:

  1. bring all 1x\frac{1}{x}-terms on one side, and all numbers on the other side of the equal sign
  2. Multiply both sides by xx
  3. Solve the resulting equation

So let's do this:

4x2=0+24x=2x4=2x:22=x\begin{array}{llll} \frac{4}{x}-2&= &0 &\quad| +2\\ \frac{4}{x} &= &2 &\quad| \cdot x\\ 4 &= & 2x &\quad| :2\\ 2 &= & x &\\ \end{array}

Sometimes you have to work for bringing the equation in this form, and sometimes the denominator is not just xx. But we apply the same strategy. Here is an example.

Example 4

Solve the equation

3x1=23x+13\frac{3}{x}-1 = \frac{2}{3x}+\frac{1}{3}

Again, let's bring all fractions with xx in the denominator on one side, and write them as one fraction. Same for the numbers. Then multiply by xx and solve the equation.

3x1=23x+13+1,23x3x23x=13+1write as a fraction73x=43x73=43x342112=x\begin{array}{llll} \frac{3}{x}-1&=& \frac{2}{3x}+\frac{1}{3} &\quad| +1, -\frac{2}{3x}\\ \frac{3}{x}-\frac{2}{3x} &= &\frac{1}{3}+1 &\quad| \text{write as a fraction}\\ \frac{7}{3x} &= & \frac{4}{3} &\quad| \cdot x\\ \frac{7}{3} &= & \frac{4}{3}x &\quad| \cdot \frac{3}{4}\\ \frac{21}{12} &= & x &\\ \end{array}

The result is x=2112=74x=\frac{21}{12}=\frac{7}{4}. Of course we could have multiplied both sides by 3x3x, rather than just by xx.

If the denominator contains a square term x2x^2 or a square root term x\sqrt{x} we can also apply the same strategy. Here is an example:

Example 5

Solve the equation

23x25=0\frac{2}{3x^2}-5=0

We solve as usual, but multiply each side by x2x^2:

23x25=0+523x2=5x223=5x2:5215=x2a±215=x\begin{array}{llll} \frac{2}{3x^2}-5 &=& 0 &\quad| +5\\ \frac{2}{3x^2} &=& 5 &\quad| \cdot x^2\\ \frac{2}{3} &=& 5x^2 &\quad| :5\\ \frac{2}{15} &=& x^2 &\quad| \sqrt{\phantom{a}}\\ \pm \sqrt{\frac{2}{15}} &=& x \end{array}

Thus, the two solutions are x1=215=0.365x_1=-\sqrt{\frac{2}{15}}=-0.365 and x2=215=0.365x_2=\sqrt{\frac{2}{15}}=0.365

Equations with a product that results in zero

Recall that factors are the terms involved in a multiplication. For example, the multiplication

353\cdot 5

has the factors 33 and 55, and the multiplication

(x1)x(x2+2)(x-1)x(x^2+2)

has the factors x1x-1, xx, and x2+2x^2+2. We discuss now how to solve equations which consists of factors whose product equals zero, the simplest case being

(xa)(xb)=0\boxed{(x-a)(x-b)=0}

An example is

(x1)(x+2)=0(x-1)(x+2)=0

To solve this equation, we start with a simple observation: For any two numbers, say aba\cdot b, we know that the product cannot be zero, unless aa or bb are zero (or both). Indeed, a product like 35=1503\cdot 5=15\neq 0, but 05=00\cdot 5=0 and 30=03\cdot 0=0.

Let's apply this observation to our equation, say,

(x1)(x+2)=0(x-1)(x+2)=0

As it is a product of two factors, x1x-1 and x+2x+2, it can only be zero if the factor x1x-1 is zero, or the factor x+2x+2 is zero. And it is simple to find these values:

x1=0x=1x+2=0x=2\begin{array}{ll} x-1=0 & \rightarrow x=1\\ x+2=0 & \rightarrow x=-2\\ \end{array}

So 11 and 2-2 must be the solutions of this equation. Let's check. For x=1x=1 we have

(11)(1+2)=03=0(1-1)(1+2)=0\cdot 3 = 0

so x=1x=1 is a solution. For x=2x=-2 we get

(21)(2+2)=30=0(-2-1)(-2+2)=-3\cdot 0=0

so x=2x=-2 is a solution as well.

It is straightforward to extend this method to equations consisting of more factors, which can also be more complex. Consider the following example:

Example 6

Solve the equation

(x1)x(x22)=0(x-1)x(x^2-2)=0

According to our method, we have to find all xx-values such that the factor x1x-1 is zero (thus x=1x=1 is a solution), or the factor xx is zero (thus xx=0 is a solution), or the factor x22x^2-2 is zero. For this last factor, we have to find an xx with

x22=0+2x2=2ax=±2\begin{array}{llll} x^2 -2 & = & 0 & \quad| +2\\ x^2 & = & 2 & \quad| \sqrt{\phantom{a}}\\ x &=& \pm \sqrt{2} \end{array}

So the solutions are x1=1,x2=0,x3=2x_1=1,x_2=0,x_3=\sqrt{2} and x4=2x_4=-\sqrt{2}.

Sometimes we first have to bring an equation into the right form, that is, write it as factors. Mostly, this is done by factoring out. Here is an example:

Example 7

Solve the equation

2x23x=02x^2-3x=0

Let's factor out the xx, which appears in both terms:

2x23x=0factor outx(2x3)=0\begin{array}{lll} 2x^2-3x & = & 0 & |\quad \text{factor out}\\ x(2x-3) & = & 0 \end{array}

The first factor is xx, so one solution is x=0x=0. The other factor is 2x32x-3. To find out the xx-value for which is factor is zero, we have to solve a linear equation:

2x3=0+32x=3:2x=1.5\begin{array}{llll} 2x-3 & = & 0 & |\quad +3\\ 2x & = & 3 & |\quad :2 \\ x &=& 1.5 \end{array}

So the solutions are x1=0x_1=0 and x2=1.5x_2=1.5.

Exercise 1

Solve the following equations:

  1. x23=5x^2-3=5

  2. 2x24=6x2102x^2-4=6x^2-10

  3. 3x=43\sqrt{x}=4

  4. 2x2=4\sqrt{2x}-2=4

  5. 4x24=x2+84x^2-4 = x^2+8

  6. 3x2=0.5x3\sqrt{x}-2=0.5 \sqrt{x}

  7. 2x=4\frac{2}{x}=4

  8. 2x1=4\frac{2}{x}-1=4

  9. 2x=5\frac{2}{\sqrt{x}}= 5

  10. x(x+1)=0x(x+1)=0

  11. x(x+1)(x+2)=0x(x+1)(x+2)=0

  12. 45x2=210x2+1\frac{4}{5x^2} = \frac{2}{10x^2}+1

  13. x(2x+1)(x21)=0x(2x+1)(x^2-1)=0

  14. x2x=0x^2-x=0

  15. 3x32x2=03x^3-2x^2=0

  16. 4x3x=04x^3-x=0

  17. (x1)x(x2+2)=0(x-1)x(x^2+2)=0

  18. 5(x1)2=05(x-1)^2=0

  19. x2(x1)=0x^2(x-1)=0

  20. 3(x1)(x2)(x3)(x4)=03(x-1)(x-2)(x-3)(x-4)=0

Solution
  1. x1,2=±8=±2.828x_{1,2}=\pm \sqrt{8}=\pm 2.828
  2. x1,2=±1.5=±1.225x_{1,2}=\pm \sqrt{1.5}=\pm 1.225
  3. x=169=1.778x = \frac{16}{9}=1.778
  4. x=18x=18
  5. x1,2=±2x_{1,2}=\pm 2
  6. x=1625=0.64x=\frac{16}{25}=0.64
  7. x=12=0.5x=\frac{1}{2}=0.5
  8. x=25=0.4x=\frac{2}{5}=0.4
  9. x=425=0.16x=\frac{4}{25}=0.16
  10. x1=0,x2=1x_1=0, x_2=-1
  11. x1=0,x2=1,x3=2x_1=0, x_2=-1, x_3=-2
  12. x1,2=±35=±0.775x_{1,2}=\pm\sqrt{\frac{3}{5}}=\pm 0.775
  13. x1=0,x2=0.5,x3,4=±1x_1=0, x_2=-0.5, x_{3,4}=\pm 1
  14. x1=0,x2=1x_1=0, x_2=1
  15. x1=0,x2=23=0.6x_1=0, x_2=\frac{2}{3}=0.\overline{6}
  16. x1=0,x2,3=±12x_1=0, x_{2,3}=\pm\frac{1}{2}
  17. x1=1,x2=0x_1=1, x_2=0
  18. x=1x=1
  19. x1=0,x2=1x_1=0, x_2=1
  20. x1=1,x2=2,x3=3,x4=4x_1=1, x_2=2, x_3=3, x_4=4