HexMathv1.0.3

Solve an equation for x

Type or scan an equation. HexMath solves it for x and shows every step and the check.

Loading math input...

What this page covers

  • Linear equations, including fractions and brackets on both sides.
  • Quadratic equations by factoring, completing the square or the formula.
  • Equations with a square root or an absolute value, with the check for extraneous solutions.
  • Not covered here: systems of two or more equations, inequalities, and equations with the variable in a denominator, which need their own treatment. You can still type one and see what the solver says.

How to enter the problem

  • Type it with the = sign. Fractions and powers render as you type, or use the math keyboard.
  • Scan it. Fit the one equation in the frame.
  • Choose a photo. Several problems in one photo are solved as a list.
  • Then tap Solve.

Worked example

Problem

Solve for x\displaystyle x: 2x+3=x\displaystyle \sqrt{2x + 3} = x.

Answer

Verified

The answer is

x=3x = 3

Explanation

  1. State the domain
    The radicand needs 2x+3≥02x + 3 \geq 0, and a square root is never negative, so the right side needs x≥0x \geq 0.
  2. Square both sides
    2x+3=x22x + 3 = x^2
  3. Rearrange into standard form
    x2−2x−3=0x^2 - 2x - 3 = 0
  4. Factor
    (x−3)(x+1)=0(x - 3)(x + 1) = 0, so x=3x = 3 or x=−1x = -1.
  5. Check each candidate in the original
    x=3x = 3: 9=3\sqrt{9} = 3, true. x=−1x = -1: 1=1\sqrt{1} = 1 but the right side is −1-1, false, so −1-1 is extraneous.

Common mistakes

  • Reporting both roots of the squared equation. Squaring can add solutions that do not satisfy the original, so the check in the last step is part of the solution.
  • Multiplying only the fractions and not every term when clearing denominators. In 2(x−3)5=x+12−1\frac{2(x - 3)}{5} = \frac{x + 1}{2} - 1, the −1-1 must be multiplied by 10 as well.
  • Moving a term across the equals sign without changing its sign.
  • Dividing both sides by an expression that could be zero, which can lose a solution.

Checks, assumptions and limits

  • Check by substitution. Put the answer back into the original equation, not the rearranged one. For the runnable example, x=−7x = -7 gives −4-4 on both sides.
  • Solutions are over the real numbers on this page. A quadratic with a negative discriminant has no real solution; the solver states that rather than inventing one.
  • Squaring, and multiplying by an expression containing xx, are the two steps that can change the solution set. Whenever one is used, the final check is required.
  • HexMath can make mistakes. Double check important steps.

Frequently asked questions

Yes. Type the equation with the = sign and you get the method used, the steps and both solutions, or the statement that there is no real solution.

Yes. Use the camera on one equation, or choose a photo. Several problems in one photo are solved as a list.

Each step has a short title and the working. Ask a follow-up question in the same thread if a step is unclear.

1 math question to try today without signing in, 3 a day signed in, unlimited with Pro.

Ready to solve your next math problem?

Try one problem free in your browser. Create a free account for 3 math questions a day.

Last updated: · HexMath