Mister Exam

(x-5)(x-1)<0 inequation

A inequation with variable

The solution

You have entered [src]
(x - 5)*(x - 1) < 0
(x5)(x1)<0\left(x - 5\right) \left(x - 1\right) < 0
(x - 5)*(x - 1) < 0
Detail solution
Given the inequality:
(x5)(x1)<0\left(x - 5\right) \left(x - 1\right) < 0
To solve this inequality, we must first solve the corresponding equation:
(x5)(x1)=0\left(x - 5\right) \left(x - 1\right) = 0
Solve:
Expand the expression in the equation
(x5)(x1)=0\left(x - 5\right) \left(x - 1\right) = 0
We get the quadratic equation
x26x+5=0x^{2} - 6 x + 5 = 0
This equation is of the form
a*x^2 + b*x + c = 0

A quadratic equation can be solved
using the discriminant.
The roots of the quadratic equation:
x1=Db2ax_{1} = \frac{\sqrt{D} - b}{2 a}
x2=Db2ax_{2} = \frac{- \sqrt{D} - b}{2 a}
where D = b^2 - 4*a*c - it is the discriminant.
Because
a=1a = 1
b=6b = -6
c=5c = 5
, then
D = b^2 - 4 * a * c = 

(-6)^2 - 4 * (1) * (5) = 16

Because D > 0, then the equation has two roots.
x1 = (-b + sqrt(D)) / (2*a)

x2 = (-b - sqrt(D)) / (2*a)

or
x1=5x_{1} = 5
x2=1x_{2} = 1
x1=5x_{1} = 5
x2=1x_{2} = 1
x1=5x_{1} = 5
x2=1x_{2} = 1
This roots
x2=1x_{2} = 1
x1=5x_{1} = 5
is the points with change the sign of the inequality expression.
First define with the sign to the leftmost point:
x0<x2x_{0} < x_{2}
For example, let's take the point
x0=x2110x_{0} = x_{2} - \frac{1}{10}
=
110+1- \frac{1}{10} + 1
=
910\frac{9}{10}
substitute to the expression
(x5)(x1)<0\left(x - 5\right) \left(x - 1\right) < 0
(5+910)(1+910)<0\left(-5 + \frac{9}{10}\right) \left(-1 + \frac{9}{10}\right) < 0
 41    
--- < 0
100    

but
 41    
--- > 0
100    

Then
x<1x < 1
no execute
one of the solutions of our inequality is:
x>1x<5x > 1 \wedge x < 5
         _____  
        /     \  
-------ο-------ο-------
       x2      x1
Solving inequality on a graph
01234567-5-4-3-2-1-2525
Rapid solution [src]
And(1 < x, x < 5)
1<xx<51 < x \wedge x < 5
(1 < x)∧(x < 5)
Rapid solution 2 [src]
(1, 5)
x in (1,5)x\ in\ \left(1, 5\right)
x in Interval.open(1, 5)