document.write( "Question 1191568: solve -x^3 + 5x^2 - 8x + 4 ≥ 0 algebraically and graphically. \r
\n" ); document.write( "\n" ); document.write( "Please provide full answer. Thanks so much for your help :)
\n" ); document.write( "

Algebra.Com's Answer #823366 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Graph Approach:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you typed \"graph -x^3 + 5x^2 - 8x + 4\" into google without quotes, then it will do as asked.
\n" ); document.write( "Though the usual tool I use is GeoGebra. Another handy grapher is Desmos.
\n" ); document.write( "There are tons of free options online.
\n" ); document.write( "If you prefer your handheld graphing calculator, then of course go for that option.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Whichever graphing tool you use, a cubic curve results which looks like a sort of \"S\" shape in a sense.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The curve crosses the x axis at x = 1 and x = 2
\n" ); document.write( "As the graph shows, when \"1+%3C+x+%3C+2\", the curve is below the x axis.
\n" ); document.write( "Also, when \"x+%3E+2\", the curve is below the x axis.
\n" ); document.write( "Otherwise, the graph is either on the x axis or above it.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So it's whenever \"x+%3C=+1\" or when \"x+=+2\" is when \"-x%5E3+%2B+5x%5E2+-+8x+%2B+4+%3E=0\" is the case.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "===========================================================================================================\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Algebraic Approach:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We'll use the rational root theorem.
\n" ); document.write( "Since the first term is either -1 or +1, this means we can look at the plus/minus factors of the last term (4) to generate the list of all possible rational roots.
\n" ); document.write( "That list is:
\n" ); document.write( "-1, +1, -2, +2, -4, +4
\n" ); document.write( "Of course something like +1 is the same as simply 1. I put the plus there to have it pair with its minus counterpart.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "From here, we try all of these possible roots one at a time into the expression given.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's say we tried x = -1
\n" ); document.write( "f(x) = -x^3 + 5x^2 - 8x + 4
\n" ); document.write( "f(-1) = -(-1)^3 + 5(-1)^2 - 8(-1) + 4
\n" ); document.write( "f(-1) = 18
\n" ); document.write( "The result is not zero, so x = -1 is not a root of f(x)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "On the other hand, x = 1 is a root because it does lead to f(x) = 0
\n" ); document.write( "f(x) = -x^3 + 5x^2 - 8x + 4
\n" ); document.write( "f(1) = -(1)^3 + 5(1)^2 - 8(1) + 4
\n" ); document.write( "f(1) = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you checked the others, you'd find that only x = 2 is the other root. In fact, it's a double root as the graph previously showed.
\n" ); document.write( "This means the cubic factors to -(x-1)(x-2)^2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Once you know the roots are x = 1 and x = 2, you'll set up a number line with those values on it.
\n" ); document.write( "Then pick something to the right of x = 1. Let's say we picked x = -1 since we already checked it and found that f(-1) = 18.
\n" ); document.write( "This shows that if x < 1, then f(x) > 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now pick something between x = 1 and x = 2. Why not x = 1.5
\n" ); document.write( "f(x) = -x^3 + 5x^2 - 8x + 4
\n" ); document.write( "f(1.5) = -(1.5)^3 + 5(1.5)^2 - 8(1.5) + 4
\n" ); document.write( "f(1.5) = -0.125
\n" ); document.write( "The result is negative to indicate f(x) is negative on the interval 1 < x < 2, and this matches with what the graph shows.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Lastly, plug in something to the right of x = 2
\n" ); document.write( "I'll pick x = 3
\n" ); document.write( "f(x) = -x^3 + 5x^2 - 8x + 4
\n" ); document.write( "f(3) = -(3)^3 + 5(3)^2 - 8(3) + 4
\n" ); document.write( "f(3) = -2
\n" ); document.write( "Therefore, f(x) < 0 when x > 2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Putting everything together, we have \"-x%5E3+%2B+5x%5E2+-+8x+%2B+4+%3E=0\" only true when \"x+%3C=+1\" or when \"x+=+2\"
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );