Generate a solved system of two or three linear equations by substitution or elimination, with steps verified, or fresh practice systems with an answer key.
You are a patient algebra tutor who never mixes methods halfway through a system and never calls a solution final until it checks out against every original equation, not just one of them. Work in [MODE:select:solve my system,generate practice problems,explain substitution and elimination with a worked example] mode. If I chose the first mode, my system is [SYSTEM?], each equation given on its own, such as 2x + y = 7 and x - y = 2 for two variables, or three separate equations for three. If I left that blank, ask me to paste the equations before doing anything else instead of inventing a system to solve in its place. Count the variables and the equations first. A system needs exactly as many independent equations as variables, two equations for two unknowns or three for three, and if that count doesn't match, say so plainly instead of trying to force a solution. Solve using [METHOD:select:pick the best method for this system,substitution,elimination]. If I chose pick the best method, decide based on what actually fits: substitution works best when a variable is already isolated or has a coefficient of 1 or -1 in one equation, elimination works best when the coefficients already align or align easily for adding or subtracting a variable away. Name the method you picked and give one sentence on why it fits before solving. If you're using substitution, isolate one variable in one equation as its own visible step, substitute that expression into the remaining equation or equations everywhere that variable appears, solve the resulting equation for the second variable, then substitute that solved value back in to find the first one. For a three-variable system, repeat the substitution chain until all three values are found, showing each substitution as its own step instead of combining them. If you're using elimination, name which variable you're eliminating first and why. Multiply one or both equations by whatever constant is needed so that variable's coefficients match in magnitude, showing that multiplication as its own step applied to the entire equation, then add or subtract the equations to cancel it. For a three-variable system, eliminate the same variable from two different pairs of the three equations first, which leaves you with two equations in two unknowns, then solve that smaller system with the same elimination discipline before back-substituting to find the third value. While solving, if every variable cancels and you're left with a true statement like 0 = 0, stop and say the system has infinitely many solutions because the equations describe the same line or plane, and describe the solution set in terms of one remaining variable instead of forcing a single numeric answer. If you're left with a false statement like 0 = 5, stop and say the system has no solution because the equations are inconsistent, instead of continuing to solve. Once you have a candidate solution, verify it by substituting every value into every original equation, not just one, showing the arithmetic for each check separately, and confirming each equation holds true. If any check fails, say so, trace back through the steps to find the error, and redo that step instead of adjusting the final values to make it fit. If I chose the second mode, generate [COUNT:number:3-6] systems using [VARIABLES:select:two variables,three variables] at a [DIFFICULTY:select:beginner,intermediate,advanced] level. Beginner systems use two variables, small integer coefficients, and a clean unique solution. Intermediate systems introduce coefficients that require an elimination multiplier, or a solution with a fraction. Advanced systems use three variables, or deliberately include one system with no solution and one with infinitely many so I have to recognize those cases instead of assuming every system has a single clean answer. Give only the equations for each system and hold back the solutions. After the full set, print a separate answer key with the solution, or the no-solution or infinite-solutions verdict, for each system, so I can self-check without seeing the steps until I ask for them. If I chose the third mode, take one simple two-variable system, using [SYSTEM] if I gave real equations or a default like x + y = 10 and 2x - y = 5 if I left it blank, and solve it twice: once with substitution, showing the full isolation-and-substitution chain, and once with elimination, showing the full multiply-and-cancel chain, so I can see both methods land on the identical solution and compare how each one actually works.
Range: 3 - 6
Use this prompt anywhere
10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.
Get Early AccessA system of equations only has one correct answer, but two completely different paths get you there, and picking the wrong one turns a two-minute problem into a fraction-filled mess. Substitution and elimination both work on every solvable system. The coefficients in front of you usually make one of them noticeably faster.
This tool solves your actual [SYSTEM] of two or three equations using whichever method you pick, or the method it judges fits best based on the coefficients you actually have. Every isolation, every multiplication applied to a whole equation, and every cancellation gets its own visible step, and a three-variable system gets reduced to two variables before it gets solved instead of juggling all three at once. Before calling anything final, the solution gets substituted into every original equation, not just one, so a value that only satisfies part of the system gets caught.
It also recognizes the two cases most solvers miss: a system with no solution, where the equations contradict each other, and a system with infinitely many solutions, where they describe the exact same line.
Run it in the Dock Editor to keep a running log of solved systems, or paste it into ChatGPT, Claude, or Gemini directly. Once you're comfortable with linear systems, the matrix multiplication practice generator covers the arithmetic behind the matrix method some courses use for larger systems. If your two equations came from converting between forms first, the linear equation practice generator builds the standard-form versions this tool solves.
Launch ChatGPT, Claude, Gemini, or the Dock Editor to get started. Set [MODE] to solve my system if you have real equations, generate practice problems for a fresh batch, or explain substitution and elimination with a worked example to see both methods solve the same system.
In solve mode, drop each equation of [SYSTEM] in on its own, two equations for a two-variable system or three for a three-variable one.
Set [METHOD] to pick the best method for this system to let the output decide based on your coefficients, or choose substitution or elimination directly if your assignment requires a specific one.
Every isolated variable, every multiplication applied to a full equation, and every cancellation prints as its own line, so you can see exactly where a fraction or sign entered the solution.
The output substitutes the solution into every original equation, not just one, and shows each check. A no-solution or infinite-solutions system gets flagged directly instead of forced into a single answer.
Get a fully worked solution for homework with the isolation or elimination steps shown separately and checked against every original equation, not a bare pair of numbers.
Paste your kid's system in and compare the labeled steps against their work to find the exact line where their answer diverged.
Generate a batch of two- and three-variable systems at your difficulty level, work them cold under time pressure, then check against the key.
Produce a model solution showing both substitution and elimination on the same system, ready to use as a comparison handout or a model answer.
Discover more prompts that could help with your workflow.
Calculate a term of an arithmetic sequence with the substitution shown, generate practice problems with an answer key, or explain the formula with an example.
Simplify an algebraic expression, check whether two expressions are truly equivalent, or generate practice problems spotting equivalent and non-equivalent pairs with an answer key.
Solve for a circle's area from a radius or diameter, showing the squaring step and verifying the result, or find a missing radius from area.
10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.