Solve the following equation:
−x2+x−2=−2x2−2x−4
To solve the equation −x2+x−2=−2x2−2x−4, we will proceed with the following steps:
- Step 1: Simplify the equation by moving all terms to one side of the equation.
- Step 2: Combine like terms to form a quadratic equation.
- Step 3: Use the quadratic formula to solve for x.
Now, let's go through these steps:
Step 1: Start with the given equation:
−x2+x−2=−2x2−2x−4
Add 2x2, 2x, and 4 to both sides to move all terms to the left side:
−x2+x−2+2x2+2x+4=0
Step 2: Combine like terms:
(2x2−x2)+(x+2x)+(−2+4)=0
This simplifies to:
x2+3x+2=0
Step 3: Use the quadratic formula (x=2a−b±b2−4ac) with a=1, b=3, and c=2.
Calculate the discriminant: b2−4ac=32−4⋅1⋅2=9−8=1.
Since the discriminant is positive, there are two distinct real roots. Substitute into the quadratic formula:
x=2⋅1−3±1=2−3±1
Calculate the roots:
x1=2−3+1=2−2=−1
x2=2−3−1=2−4=−2
Therefore, the solutions to the equation are x1=−2 and x2=−1.
x1=−2,x2=−1