Nonlinear System of Equations Notes
These Nonlinear System of Equations Notes explain how to find every point where two curves meet, such as a parabola and a line or two circles, with the working shown 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. Examples 3 and 4 give you two more problems of the same kind to try. Find every solution pair and check each one in both equations.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them 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
See Example 3 Hide Example 3
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 2 has \(y\) only to the first power. Moving every other term to the right gives \(y = 5 - x\).
Step 4
Step 4 - Substitute into the other equation.
In this problem: Replacing \(y\) in equation 1 with \(5 - x\) gives \(x \left(5 - x\right) = 4\). Expanding and collecting terms on one side gives \(x^{2} - 5 x + 4 = 0\). This only contains \(x\).
Step 5
Step 5 - Solve the equation in one variable.
In this problem: Solving \(x^{2} - 5 x + 4 = 0\), covered in the Quadratic Equation Calculator, gives \(x = 1\) or \(x = 4\).
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} - 5x + 4 = 0\), and the unknown is \(x\).
Step 2
Step 2 - Identify the coefficients a, b and c.
In this problem: Matching \(x^{2} - 5x + 4 = 0\) with \(ax^{2} + bx + c = 0\) gives \(a = 1\), \(b = -5\) and \(c = 4\).
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 = -5\) and \(c = 4\) into the formula gives \(x = \frac{-(-5) \pm \sqrt{(-5)^{2} - 4(1)(4)}}{2(1)}\).
Step 5
Step 5 - Work out the numbers in the formula.
In this problem: On top, \(-(-5) = 5\). Under the square root, \((-5)^{2} = 25\) and \(4(1)(4) = 16\), so \(25 - 16 = 9\). Underneath, \(2(1) = 2\). Then \(\sqrt{9} = 3\).
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{5 + 3}{2} = \frac{8}{2} = 4\).
Step 6b
Step 6b - Take the \(-\) sign.
In this problem: Using \(-\) gives \(x = \frac{5 - 3}{2} = \frac{2}{2} = 1\).
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 = 1\).
In this problem: Putting \(x = 1\) into \(y = 5 - x\) gives \(y = 5 - 1 = 4\), so \(\left(1,\; 4\right)\) is a solution.
Step 6b
Step 6b - Put back \(x = 4\).
In this problem: Putting \(x = 4\) into \(y = 5 - x\) gives \(y = 5 - 4 = 1\), so \(\left(4,\; 1\right)\) is a solution.
Final Answer
See Example 4 Hide Example 4
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 2 has \(y\) only to the first power. Moving every other term to the right and dividing by \(-1\) gives \(y = x - 2\).
Step 4
Step 4 - Substitute into the other equation.
In this problem: Replacing \(y\) in equation 1 with \(x - 2\) gives \(x^{2} + \left(x - 2\right)^{2} = 10\). Expanding and collecting terms on one side gives \(2 x^{2} - 4 x - 6 = 0\). This only contains \(x\).
Step 5
Step 5 - Solve the equation in one variable.
In this problem: Solving \(2 x^{2} - 4 x - 6 = 0\), covered in the Quadratic Equation Calculator, gives \(x = -1\) or \(x = 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 \(2x^{2} - 4x - 6 = 0\), and the unknown is \(x\).
Step 2
Step 2 - Identify the coefficients a, b and c.
In this problem: Matching \(2x^{2} - 4x - 6 = 0\) with \(ax^{2} + bx + c = 0\) gives \(a = 2\), \(b = -4\) 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 = 2\), \(b = -4\) and \(c = -6\) into the formula gives \(x = \frac{-(-4) \pm \sqrt{(-4)^{2} - 4(2)(-6)}}{2(2)}\).
Step 5
Step 5 - Work out the numbers in the formula.
In this problem: On top, \(-(-4) = 4\). Under the square root, \((-4)^{2} = 16\) and \(4(2)(-6) = -48\), so \(16 + 48 = 64\). Underneath, \(2(2) = 4\). 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{4 + 8}{4} = \frac{12}{4} = 3\).
Step 6b
Step 6b - Take the \(-\) sign.
In this problem: Using \(-\) gives \(x = \frac{4 - 8}{4} = \frac{-4}{4} = -1\).
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 = -1\).
In this problem: Putting \(x = -1\) into \(y = x - 2\) gives \(y = \left(-1\right) - 2 = -3\), so \(\left(-1,\; -3\right)\) is a solution.
Step 6b
Step 6b - Put back \(x = 3\).
In this problem: Putting \(x = 3\) into \(y = x - 2\) gives \(y = 3 - 2 = 1\), so \(\left(3,\; 1\right)\) is a solution.
Final Answer
Calculator and Practice Mode
Want to check your own working? The Nonlinear System of Equations Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. 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.