Solve for :
Move the positive constants outside the bars. Since for ,
The denominators , and the factor are all positive, so no sign bookkeeping is needed for them.
Clear the denominators. Multiplying both sides by (the least common multiple of and ):
The equation is now free of fractions, with only integers outside the two absolute values.
Square both sides safely. Both sides are non-negative, so squaring is a reversible step here and no extraneous roots can be introduced by it:
Expand and collect into a quadratic.
Solve the quadratic. With , , :
The perfect-square discriminant is the sign that the original problem was built to have rational answers.
Verify both roots in the original equation. For : and . For : and . Both check exactly, so the solution set is .
Need to solve a different problem like this? Open the solver →