Algebra · real student question

Solve 0.2 * 0.2 * x^6 + x^4 + x^2 - 4 = 0 for the real values of x.

Question

Solve for the real values of xx:

0.20.2x6+x4+x24=00.2\cdot 0.2\,x^{6}+x^{4}+x^{2}-4=0

Step-by-step solution

  1. Simplify the coefficient and clear the decimal. Since 0.2×0.2=0.040.2\times 0.2=0.04, the equation is 0.04x6+x4+x24=00.04x^{6}+x^{4}+x^{2}-4=0. Multiplying through by 2525 gives integer coefficients:

    x6+25x4+25x2100=0x^{6}+25x^{4}+25x^{2}-100=0

  2. Substitute to drop the degree. Only even powers of xx appear, so set y=x2y=x^{2} (hence x6=y3x^{6}=y^{3}, x4=y2x^{4}=y^{2}):

    y3+25y2+25y100=0y^{3}+25y^{2}+25y-100=0

    Crucially y=x20y=x^{2}\ge 0, so only non-negative roots yy can produce real xx.

  3. Rule out rational roots. By the rational root theorem the candidates are the divisors of 100100: ±1,±2,±4,±5,±10,±20,±25,±50,±100\pm1,\pm2,\pm4,\pm5,\pm10,\pm20,\pm25,\pm50,\pm100. Substituting each gives a nonzero value, so the cubic does not factor over the rationals and the root must be found numerically.

  4. Bracket the positive root. Let g(y)=y3+25y2+25y100g(y)=y^{3}+25y^{2}+25y-100. Then

    g(1)=1+25+25100=49<0,g(2)=8+100+50100=58>0g(1)=1+25+25-100=-49<0,\qquad g(2)=8+100+50-100=58>0

    so by the intermediate value theorem a root lies in (1,2)(1,2). Since g(y)=3y2+50y+25>0g'(y)=3y^{2}+50y+25>0 for y>0y>0, gg is strictly increasing there and this root is the only non-negative one.

  5. Refine with Newton's method. Iterating yyg(y)g(y)y\leftarrow y-\dfrac{g(y)}{g'(y)} from y0=1.5y_{0}=1.5 converges to

    y1.526734392725y\approx 1.526734392725

    (The other two roots of the cubic, y2.75539y\approx -2.75539 and y23.77135y\approx -23.77135, are negative and give no real xx.)

  6. Undo the substitution and check. From x2=yx^{2}=y,

    x=±1.526734392725±1.235610939060x=\pm\sqrt{1.526734392725}\approx\pm 1.235610939060

    Substituting x=1.235610939060x=1.235610939060 back into 0.04x6+x4+x240.04x^{6}+x^{4}+x^{2}-4 gives 00 to machine precision. The equation is even, so the two roots are symmetric about the origin.

Answer

x±1.235610939060(x2=y1.526734392725)x\approx\pm 1.235610939060\quad\left(x^{2}=y\approx 1.526734392725\right)

Need to solve a different problem like this? Open the solver →