AgentDock

1.7k
Prompt LibraryWritingAcademicSystem of Equations Solver

System of Equations Solver

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.

Used 60 times
Expert Verified
OS
Created byOguz Serdar
CM
Reviewed byCuneyt Mertayak

Prompt Template

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.

Variables
6

select
text
select
number

Range: 3 - 6

select
select

Use this prompt anywhere

10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.

Get Early Access

You Might Also Like

Discover more prompts that could help with your workflow.

Skip the copy-paste

10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.

Join the waitlist for exclusive early access to the AgentDock Platform