HexMathv1.0.4
System of equations calculator with steps
This system of equations calculator solves two or three linear equations together. Type the equations or scan them. HexMath solves by substitution or elimination, returns the value of every unknown and shows each step, and it tells you when a system has no solution or infinitely many instead of forcing a single answer.
Loading math input...
What this page covers
- Two linear equations in two unknowns, solved by substitution or by elimination.
- Three equations in three unknowns, reduced to two equations and then to one.
- Systems with no solution or with infinitely many, which the steps identify rather than force a single answer.
- Not covered here: one equation in one unknown (see the equation solver) and the matrix method (see the matrix calculator).
How to enter the problem
- Type each equation on its own line, or separate the equations with a comma.
- Scan it. Fit the one problem in the frame.
- Choose a photo. Several problems in one photo are solved as a list.
- Then tap Solve.
Worked examples
Example 1: Solve the system 2x + y = 7, x - y = 2.
Problem
Solve the system , .
Answer
VerifiedThe answer is
Explanation
- Choose a methodThe coefficients are and , so adding the equations eliminates at once.
- Add the equations, so and .
- Substitute backIn : , so .
- Check in the other equation
Example 2: Solve by elimination: 4x + 3y = 10 and 2x - 5y = 18.
Problem
Solve by elimination: and .
Answer
VerifiedThe answer is
Explanation
- Match the coefficientsMultiply both sides of the second equation by 2
- Subtract to remove, so .
- Solve for
- Back-substitute, so and .
Example 3: Solve x + y + z = 6, 2x - y + z = 3 and x + 2y - z = 2.
Problem
Solve , and .
Answer
VerifiedThe answer is
Explanation
- Remove using the first two equationsSecond minus first
- Remove using the first and thirdFirst plus third
- Solve the two-unknown systemFrom : , so , and .
- Find
Common mistakes
- Scaling only one side of an equation for elimination. Twice is , right-hand side included.
- Losing a sign when subtracting equations: , not .
- Stopping after one unknown. The system is solved only when every unknown has a value.
- Treating as an arithmetic slip. It means the system has no solution, while means infinitely many.
Checks, assumptions and limits
- Substitute into every original equation, not just one: gives and .
- A linear system in two unknowns has exactly one solution, none, or infinitely many.
- Values stay exact: a solution such as is kept as a fraction unless you ask for a decimal.
- HexMath can make mistakes. Double check important steps.
Frequently asked questions
Yes. Write "by substitution" or "by elimination" before the system. To see the other method afterwards, ask a follow-up in the same thread; a typed follow-up needs sign-in.
Yes. The steps remove one unknown at a time until a single equation in one unknown is left, then work back to find the others.
The steps reach a false statement such as 0 = 5 and say there is no solution. A true statement such as 0 = 0 means there are infinitely many.
This page uses substitution and elimination. For row reduction, the matrix calculator covers reduced row echelon form.
Related tasks
Ready to solve your next math problem?
Create a free account for 3 math questions a day in your browser. No card.
Last updated: · HexMath