MathSolver AI
Algebra

Solve x + y = 5 and x − y = 1

The unique solution is x = 3, y = 2.

Problem

Answer

Step-by-step solution

  1. Step 1: Add

    Adding cancels y: 2x = 6.

  2. Step 2: Solve for x

    x = 3.

  3. Step 3: Back-substitute

    3 + y = 5, so y = 2.

Why this works

Two linear equations in two unknowns describe two lines. A nonzero determinant means they intersect once. Adding is elimination; substitution (solve one equation for y, plug into the other) produces the same pair.

Try this problem in the solver

Solve a problem

No account required. Type, upload, or snap a photo.

Press Ctrl+Enter to solve

Example problems

Related calculators

Related guides

Related formulas

Related solutions

Frequently asked questions

How do I enter two equations in the solver?

Separate them with a semicolon, or put each equation on its own line.