Well, on the face of it, just form the difference [itex]|x_{1}-x_{2}|[/itex]. Or are you trying to determine the distance between the roots without knowing the roots? Perhaps just from the original quadratic?
I'll try to explain something, excuse my English.
So the original equation is
-1/3x^3+1/2x^2+2x-5
With derivation I get
-x^2+x+2
The roots are 1 and -1
and I need to find length of increasing function
Still not clear. By taking the first derivative of the function and finding out where the derivative is zero, then this indicates where the original function has a local maximum or minimum point.
If it's not easy for you to ask your question in English, try asking it in your native language. There may be someone else on PF who can help.
I don't think so, ANYWAY I figured it out
I'll try to clear things up about what I was trying to say.. so when I find x1 and x2
Say x1 = -2 and x2 = 5
the formula for this was = I need to take biggest root and subtract the other root.
So 5 - ( - 2) = 7.