Mister Exam

Other calculators

Factor -q^2-2*q+3 squared

An expression to simplify:

The solution

You have entered [src]
   2          
- q  - 2*q + 3
$$\left(- q^{2} - 2 q\right) + 3$$
-q^2 - 2*q + 3
General simplification [src]
     2      
3 - q  - 2*q
$$- q^{2} - 2 q + 3$$
3 - q^2 - 2*q
The perfect square
Let's highlight the perfect square of the square three-member
$$\left(- q^{2} - 2 q\right) + 3$$
To do this, let's use the formula
$$a q^{2} + b q + c = a \left(m + q\right)^{2} + n$$
where
$$m = \frac{b}{2 a}$$
$$n = \frac{4 a c - b^{2}}{4 a}$$
In this case
$$a = -1$$
$$b = -2$$
$$c = 3$$
Then
$$m = 1$$
$$n = 4$$
So,
$$4 - \left(q + 1\right)^{2}$$
Factorization [src]
(q + 3)*(q - 1)
$$\left(q - 1\right) \left(q + 3\right)$$
(q + 3)*(q - 1)
Combining rational expressions [src]
3 + q*(-2 - q)
$$q \left(- q - 2\right) + 3$$
3 + q*(-2 - q)
Combinatorics [src]
-(-1 + q)*(3 + q)
$$- \left(q - 1\right) \left(q + 3\right)$$
-(-1 + q)*(3 + q)
Trigonometric part [src]
     2      
3 - q  - 2*q
$$- q^{2} - 2 q + 3$$
3 - q^2 - 2*q
Powers [src]
     2      
3 - q  - 2*q
$$- q^{2} - 2 q + 3$$
3 - q^2 - 2*q
Numerical answer [src]
3.0 - q^2 - 2.0*q
3.0 - q^2 - 2.0*q
Common denominator [src]
     2      
3 - q  - 2*q
$$- q^{2} - 2 q + 3$$
3 - q^2 - 2*q
Assemble expression [src]
     2      
3 - q  - 2*q
$$- q^{2} - 2 q + 3$$
3 - q^2 - 2*q
Rational denominator [src]
     2      
3 - q  - 2*q
$$- q^{2} - 2 q + 3$$
3 - q^2 - 2*q