Nonlinear System of Equations Calculator
This Nonlinear System of Equations Calculator finds every point where two curves meet, such as a parabola and a line or two circles, and shows the working line by line. One equation is rearranged for one variable and put into the other, or the two equations are added or subtracted to remove a variable. Either way you are left with one equation in one variable, which is solved and then used to find the other variable. Because a curve can cross another curve more than once, there can be several solutions, or none.
Step-by-step method
- Set up the problem.
- Write the method.
- Rearrange one equation.
- Substitute into the other equation.
- Solve the equation in one variable.
- Find the matching values of the other variable.
Formula: Substitution
When one equation gives y in terms of x, replacing y in the other equation leaves an equation in x only.
Useful Tips to Remember
Look for an equation where one variable appears only to the first power, such as \(x + y = 6\), and rearrange that one, since it is the easiest to substitute. If both equations have \(x^{2}\) and \(y^{2}\) but no single powers, adding or subtracting them is usually faster. Always find the matching value of the other variable for every value you solve for, and write each solution as a pair \((x, y)\). A line can meet a circle or parabola at most twice, so expect zero, one or two solutions there.
Required knowledge
- How to solve a linear system, covered in the System of Equations Calculator.
- How to solve a quadratic equation, covered in the Quadratic Equation Calculator.
- How to factor a higher degree polynomial, covered in the Factoring Higher Degree Polynomials Calculator.
- How to solve a linear equation, covered in the Linear Equation Calculator.
Where Are Nonlinear Systems Used?
Whenever two curved relationships have to hold at once, you get a nonlinear system. In physics they give the moment two moving objects meet, or where an orbit crosses a path. In economics a curved supply line meets a curved demand line at the market price. In calculus, finding critical points and using Lagrange multipliers both end in a nonlinear system, and GPS finds your position by intersecting circles and spheres.
- Finding where a projectile meets a slope
- Market equilibrium with curved supply and demand
- Critical points and Lagrange multipliers in calculus
- Locating a position from distances, as GPS does
- Intersection points in computer graphics
Nonlinear System of Equations Practice Problems
Example 1 solves \(y = x^{2}\) with \(x + y = 6\) by substitution, and Example 2 solves \(x^{2} + y^{2} = 25\) with \(x^{2} - y^{2} = 7\) by elimination. Find every solution pair and check each one in both equations. For two more free worked examples, check out the Nonlinear System of Equations Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the method.
- Rearrange one equation.
- Substitute into the other equation.
- Solve the equation in one variable.
- Find the matching values of the other variable.
Formula
Formula: Substitution
When one equation gives y in terms of x, replacing y in the other equation leaves an equation in x only.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding every pair \((x, y)\) that makes both equations true at the same time. Because at least one equation is not linear, there can be more than one solution, or none.
Step 2
Step 2 - Write the method.
In this problem: Substitution turns two equations in two variables into one equation in one variable. One equation gives one variable in terms of the other, and that expression replaces it in the other equation. When neither equation can be rearranged, one variable is removed by adding or subtracting the equations instead.
Step 3
Step 3 - Rearrange one equation.
In this problem: Equation 1 already gives \(y\) on its own, so it can be put straight into the other equation.
Step 4
Step 4 - Substitute into the other equation.
In this problem: Replacing \(y\) in equation 2 with \(x^{2}\) gives \(x + x^{2} = 6\). Expanding and collecting terms on one side gives \(x^{2} + x - 6 = 0\). This only contains \(x\).
Step 5
Step 5 - Solve the equation in one variable.
In this problem: Solving \(x^{2} + x - 6 = 0\), covered in the Quadratic Equation Calculator, gives \(x = -3\) or \(x = 2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Rewrite the equation in standard form, with every term on the left and 0 on the right.
- Identify the coefficients a, b and c.
- Write the quadratic formula.
- Substitute the coefficients into the formula.
- Work out the numbers in the formula.
- Split the \(\pm\) into the two solutions.
Depending on the equation, some of these steps are not needed, so they are skipped.
Formula
Formula: Quadratic Formula
This formula is used to solve any equation in the form ax² + bx + c = 0. Put in a, b and c, then work out the + and − versions to get the two solutions.
Step 1
Step 1 - Set up the problem.
In this problem: The equation to solve is \(x^{2} + x - 6 = 0\), and the unknown is \(x\).
Step 2
Step 2 - Identify the coefficients a, b and c.
In this problem: Matching \(x^{2} + x - 6 = 0\) with \(ax^{2} + bx + c = 0\) gives \(a = 1\), \(b = 1\) and \(c = -6\).
Step 3
Step 3 - Write the quadratic formula.
In this problem: The quadratic formula solves any equation in the form \(ax^{2} + bx + c = 0\).
Step 4
Step 4 - Substitute the coefficients into the formula.
In this problem: Putting \(a = 1\), \(b = 1\) and \(c = -6\) into the formula gives \(x = \frac{-1 \pm \sqrt{1^{2} - 4(1)(-6)}}{2(1)}\).
Step 5
Step 5 - Work out the numbers in the formula.
In this problem: Under the square root, \(1^{2} = 1\) and \(4(1)(-6) = -24\), so \(1 + 24 = 25\). Underneath, \(2(1) = 2\). Then \(\sqrt{25} = 5\).
Step 6
Step 6 - Split the \(\pm\) into the two solutions.
In this problem: The \(\pm\) means there are two solutions, one with \(+\) and one with \(-\).
Step 6a
Step 6a - Take the \(+\) sign.
In this problem: Using \(+\) gives \(x = \frac{-1 + 5}{2} = \frac{4}{2} = 2\).
Step 6b
Step 6b - Take the \(-\) sign.
In this problem: Using \(-\) gives \(x = \frac{-1 - 5}{2} = \frac{-6}{2} = -3\).
Final Answer
Step 6
Step 6 - Find the matching values of the other variable.
In this problem: Each value is put back in turn to find the matching value of the other variable.
Step 6a
Step 6a - Put back \(x = -3\).
In this problem: Putting \(x = -3\) into \(y = x^{2}\) gives \(y = \left(-3\right)^{2} = 9\), so \(\left(-3,\; 9\right)\) is a solution.
Step 6b
Step 6b - Put back \(x = 2\).
In this problem: Putting \(x = 2\) into \(y = x^{2}\) gives \(y = 2^{2} = 4\), so \(\left(2,\; 4\right)\) is a solution.
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the method.
- Rearrange one equation.
- Substitute into the other equation.
- Solve the equation in one variable.
- Find the matching values of the other variable.
Formula
Formula: Substitution
When one equation gives y in terms of x, replacing y in the other equation leaves an equation in x only.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding every pair \((x, y)\) that makes both equations true at the same time. Because at least one equation is not linear, there can be more than one solution, or none.
Step 2
Step 2 - Write the method.
In this problem: Substitution turns two equations in two variables into one equation in one variable. One equation gives one variable in terms of the other, and that expression replaces it in the other equation. When neither equation can be rearranged, one variable is removed by adding or subtracting the equations instead.
Step 3
Step 3 - Eliminate one variable.
In this problem: Both equations contain \(x^{2}\) with the same coefficient, so subtracting equation 2 from equation 1 removes it. Collecting terms on one side gives \(2 y^{2} - 18 = 0\).
Step 4
Step 4 - Write the equation in one variable.
In this problem: The new equation only contains \(y\), so it can be solved on its own, and the other variable is found from it afterwards.
Step 5
Step 5 - Solve the equation in one variable.
In this problem: Solving \(2 y^{2} - 18 = 0\), covered in the Quadratic Equation Calculator, gives \(y = -3\) or \(y = 3\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Rewrite the equation in standard form, with every term on the left and 0 on the right.
- Identify the coefficients a, b and c.
- Write the quadratic formula.
- Substitute the coefficients into the formula.
- Work out the numbers in the formula.
- Split the \(\pm\) into the two solutions.
Depending on the equation, some of these steps are not needed, so they are skipped.
Formula
Formula: Quadratic Formula
This formula is used to solve any equation in the form ax² + bx + c = 0. Put in a, b and c, then work out the + and − versions to get the two solutions.
Step 1
Step 1 - Set up the problem.
In this problem: The equation to solve is \(2y^{2} - 18 = 0\), and the unknown is \(y\).
Step 2
Step 2 - Identify the coefficients a, b and c.
In this problem: Matching \(2y^{2} - 18 = 0\) with \(ax^{2} + bx + c = 0\) gives \(a = 2\), \(b = 0\) and \(c = -18\).
Step 3
Step 3 - Write the quadratic formula.
In this problem: The quadratic formula solves any equation in the form \(ax^{2} + bx + c = 0\).
Step 4
Step 4 - Substitute the coefficients into the formula.
In this problem: Putting \(a = 2\), \(b = 0\) and \(c = -18\) into the formula gives \(y = \frac{-0 \pm \sqrt{0^{2} - 4(2)(-18)}}{2(2)}\).
Step 5
Step 5 - Work out the numbers in the formula.
In this problem: Under the square root, \(0^{2} = 0\) and \(4(2)(-18) = -144\), so \(0 + 144 = 144\). Underneath, \(2(2) = 4\). Then \(\sqrt{144} = 12\).
Step 6
Step 6 - Split the \(\pm\) into the two solutions.
In this problem: The \(\pm\) means there are two solutions, one with \(+\) and one with \(-\).
Step 6a
Step 6a - Take the \(+\) sign.
In this problem: Using \(+\) gives \(y = \frac{0 + 12}{4} = \frac{12}{4} = 3\).
Step 6b
Step 6b - Take the \(-\) sign.
In this problem: Using \(-\) gives \(y = \frac{0 - 12}{4} = \frac{-12}{4} = -3\).
Final Answer
Step 6
Step 6 - Find the matching values of the other variable.
In this problem: Each value is put back in turn to find the matching value of the other variable.
Step 6a
Step 6a - Put back \(y = -3\).
In this problem: Putting \(y = -3\) into equation 1 gives \(x^{2} + \left(-3\right)^{2} = 25\). Solving \(x^{2} - 16 = 0\), covered in the Quadratic Equation Calculator, gives \(x = -4\) or \(x = 4\). Checking each pair in equation 2, \(\left(-4,\; -3\right)\) gives \(\left(-4\right)^{2} - {\left(-3\right)}^{2} = 7\), which matches, so it is a solution. \(\left(4,\; -3\right)\) gives \(4^{2} - {\left(-3\right)}^{2} = 7\), which matches, so it is a solution.
Problem
Approach
Step-by-step method
- Set up the problem.
- Rewrite the equation in standard form, with every term on the left and 0 on the right.
- Identify the coefficients a, b and c.
- Write the quadratic formula.
- Substitute the coefficients into the formula.
- Work out the numbers in the formula.
- Split the \(\pm\) into the two solutions.
Depending on the equation, some of these steps are not needed, so they are skipped.
Formula
Formula: Quadratic Formula
This formula is used to solve any equation in the form ax² + bx + c = 0. Put in a, b and c, then work out the + and − versions to get the two solutions.
Step 1
Step 1 - Set up the problem.
In this problem: The equation to solve is \(x^{2} - 16 = 0\), and the unknown is \(x\).
Step 2
Step 2 - Identify the coefficients a, b and c.
In this problem: Matching \(x^{2} - 16 = 0\) with \(ax^{2} + bx + c = 0\) gives \(a = 1\), \(b = 0\) and \(c = -16\).
Step 3
Step 3 - Write the quadratic formula.
In this problem: The quadratic formula solves any equation in the form \(ax^{2} + bx + c = 0\).
Step 4
Step 4 - Substitute the coefficients into the formula.
In this problem: Putting \(a = 1\), \(b = 0\) and \(c = -16\) into the formula gives \(x = \frac{-0 \pm \sqrt{0^{2} - 4(1)(-16)}}{2(1)}\).
Step 5
Step 5 - Work out the numbers in the formula.
In this problem: Under the square root, \(0^{2} = 0\) and \(4(1)(-16) = -64\), so \(0 + 64 = 64\). Underneath, \(2(1) = 2\). Then \(\sqrt{64} = 8\).
Step 6
Step 6 - Split the \(\pm\) into the two solutions.
In this problem: The \(\pm\) means there are two solutions, one with \(+\) and one with \(-\).
Step 6a
Step 6a - Take the \(+\) sign.
In this problem: Using \(+\) gives \(x = \frac{0 + 8}{2} = \frac{8}{2} = 4\).
Step 6b
Step 6b - Take the \(-\) sign.
In this problem: Using \(-\) gives \(x = \frac{0 - 8}{2} = \frac{-8}{2} = -4\).
Final Answer
Step 6b
Step 6b - Put back \(y = 3\).
In this problem: Putting \(y = 3\) into equation 1 gives \(x^{2} + 3^{2} = 25\). Solving \(x^{2} - 16 = 0\), covered in the Quadratic Equation Calculator, gives \(x = -4\) or \(x = 4\). Checking each pair in equation 2, \(\left(-4,\; 3\right)\) gives \(\left(-4\right)^{2} - 3^{2} = 7\), which matches, so it is a solution. \(\left(4,\; 3\right)\) gives \(4^{2} - 3^{2} = 7\), which matches, so it is a solution.
Problem
Approach
Step-by-step method
- Set up the problem.
- Rewrite the equation in standard form, with every term on the left and 0 on the right.
- Identify the coefficients a, b and c.
- Write the quadratic formula.
- Substitute the coefficients into the formula.
- Work out the numbers in the formula.
- Split the \(\pm\) into the two solutions.
Depending on the equation, some of these steps are not needed, so they are skipped.
Formula
Formula: Quadratic Formula
This formula is used to solve any equation in the form ax² + bx + c = 0. Put in a, b and c, then work out the + and − versions to get the two solutions.
Step 1
Step 1 - Set up the problem.
In this problem: The equation to solve is \(x^{2} - 16 = 0\), and the unknown is \(x\).
Step 2
Step 2 - Identify the coefficients a, b and c.
In this problem: Matching \(x^{2} - 16 = 0\) with \(ax^{2} + bx + c = 0\) gives \(a = 1\), \(b = 0\) and \(c = -16\).
Step 3
Step 3 - Write the quadratic formula.
In this problem: The quadratic formula solves any equation in the form \(ax^{2} + bx + c = 0\).
Step 4
Step 4 - Substitute the coefficients into the formula.
In this problem: Putting \(a = 1\), \(b = 0\) and \(c = -16\) into the formula gives \(x = \frac{-0 \pm \sqrt{0^{2} - 4(1)(-16)}}{2(1)}\).
Step 5
Step 5 - Work out the numbers in the formula.
In this problem: Under the square root, \(0^{2} = 0\) and \(4(1)(-16) = -64\), so \(0 + 64 = 64\). Underneath, \(2(1) = 2\). Then \(\sqrt{64} = 8\).
Step 6
Step 6 - Split the \(\pm\) into the two solutions.
In this problem: The \(\pm\) means there are two solutions, one with \(+\) and one with \(-\).
Step 6a
Step 6a - Take the \(+\) sign.
In this problem: Using \(+\) gives \(x = \frac{0 + 8}{2} = \frac{8}{2} = 4\).
Step 6b
Step 6b - Take the \(-\) sign.
In this problem: Using \(-\) gives \(x = \frac{0 - 8}{2} = \frac{-8}{2} = -4\).
Final Answer
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Nonlinear System of Equations Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Nonlinear System of Equations Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.