Skip to main content
Mathematics LibreTexts

7.3: Systems of Nonlinear Equations and Inequalities - Two Variables

  • Page ID
    106537
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    Learning Objectives
    • Solve a system of nonlinear equations using substitution.
    • Solve a system of nonlinear equations using elimination.

    Halley’s Comet (Figure \(\PageIndex{1}\)) orbits the sun about once every \(75\) years. Its path can be considered to be a very elongated ellipse. Other comets follow similar paths in space. These orbital paths can be studied using systems of equations. These systems, however, are different from the ones we considered in the previous section because the equations are not linear.

    CNX_Precalc_Figure_09_03_001.jpg

    Figure \(\PageIndex{1}\): Halley’s Comet (credit: "NASA Blueshift"/Flickr)

    In this section, we will consider the intersection of a parabola and a line, a circle and a line, and a circle and an ellipse. The methods for solving systems of nonlinear equations are similar to those for linear equations.

    Solving a System of Nonlinear Equations Using Substitution

    A system of nonlinear equations is a system of two or more equations in two or more variables containing at least one equation that is not linear. Recall that a linear equation can take the form \(Ax+By+C=0\). Any equation that cannot be written in this form in nonlinear. The substitution method we used for linear systems is the same method we will use for nonlinear systems. We solve one equation for one variable and then substitute the result into the second equation to solve for another variable, and so on. There is, however, a variation in the possible outcomes.

    Intersection of a Parabola and a Line

    There are three possible types of solutions for a system of nonlinear equations involving a parabola and a line.

    Possible Types of Solutions For Points of Intersection of a Parabola and a Line

    Figure \(\PageIndex{2}\) illustrates possible solution sets for a system of equations involving a parabola and a line.

    • No solution - The line will never intersect the parabola.
    • One solution - The line is tangent to the parabola and intersects the parabola at exactly one point.
    • Two solutions - The line crosses on the inside of the parabola and intersects the parabola at two points.

    151131601187915.png

    Figure \(\PageIndex{2}\)

    How to: Given a system of equations containing a line and a parabola, find the solution
    1. Solve the linear equation for one of the variables.
    2. Substitute the expression obtained in step one into the parabola equation.
    3. Solve for the remaining variable.
    4. Check your solutions in both equations.
    Example \(\PageIndex{1}\): Solving a System of Nonlinear Equations Representing a Parabola and a Line

    Solve the system of equations.

    \[\begin{align*} x−y &= −1\nonumber \\ y &= x^2+1 \nonumber \end{align*}\]

    Solution

    Solve the first equation for \(x\) and then substitute the resulting expression into the second equation.

    \[\begin{align*} x−y &=−1\nonumber \\ x &= y−1 \;\; & \text{Solve for }x.\nonumber \\\nonumber \\ y &=x^2+1\nonumber \\ y & ={(y−1)}^2+1 \;\; & \text{Substitute expression for }x. \nonumber \end{align*}\]

    Expand the equation and set it equal to zero.

    \[ \begin{align*} y & ={(y−1)}^2+1\nonumber \\ &=(y^2−2y+1)+1\nonumber \\ &=y^2−2y+2\nonumber \\ 0 &= y^2−3y+2\nonumber \\ &= (y−2)(y−1) \nonumber \end{align*}\]

    Solving for \(y\) gives \(y=2\) and \(y=1\). Next, substitute each value for \(y\) into the first equation to solve for \(x\). Always substitute the value into the linear equation to check for extraneous solutions.

    \[\begin{align*} x−y &=−1\nonumber \\ x−(2) &= −1\nonumber \\ x &= 1\nonumber \\ x−(1) &=−1\nonumber \\ x &= 0 \nonumber \end{align*}\]

    The solutions are \((1,2)\) and \((0,1)\),which can be verified by substituting these \((x,y)\) values into both of the original equations (Figure \(\PageIndex{3}\)).

    imageedit_2_8582923434.png

    Figure \(\PageIndex{3}\)

    Q&A: Could we have substituted values for \(y\) into the second equation to solve for \(x\) in last example?

    Yes, but because \(x\) is squared in the second equation this could give us extraneous solutions for \(x\).

    For \(y=1\)

    \[\begin{align*} y &= x^2+1\nonumber \\ y &= x^2+1\nonumber \\ x^2 &= 0\nonumber \\ x &= \pm \sqrt{0}=0 \nonumber \end{align*}\]

    This gives us the same value as in the solution.

    For \(y=2\)

    \[\begin{align*} y &= x^2+1\nonumber \\ 2 &= x^2+1\nonumber \\ x^2 &= 1\nonumber \\ x &= \pm \sqrt{1}=\pm 1 \nonumber \end{align*}\]

    Notice that \(−1\) is an extraneous solution.

    Exercise \(\PageIndex{1}\)

    Solve the given system of equations by substitution.

    \[\begin{align*} 3x−y &= −2\nonumber \\ 2x^2−y &= 0 \nonumber \end{align*}\]

    Answer

    \(\left(−\dfrac{1}{2},\dfrac{1}{2}\right)\) and \((2,8)\)

    Intersection of a Circle and a Line

    Just as with a parabola and a line, there are three possible outcomes when solving a system of equations representing a circle and a line.

    POSSIBLE TYPES OF SolutionS FOR THE POINTS OF INTERSECTION OF A CIRCLE AND A LINE

    Figure \(\PageIndex{4}\) illustrates possible solution sets for a system of equations involving a circle and a line.

    • No solution - The line does not intersect the circle.
    • One solution - The line is tangent to the circle and intersects the circle at exactly one point.
    • Two solutions - The line crosses the circle and intersects it at two points.

    11.4.1.png

    Figure \(\PageIndex{4}\)

    How to: Given a system of equations containing a line and a circle, find the solution
    1. Solve the linear equation for one of the variables.
    2. Substitute the expression obtained in step one into the equation for the circle.
    3. Solve for the remaining variable.
    4. Check your solutions in both equations.
    Example \(\PageIndex{2}\): Finding the Intersection of a Circle and a Line by Substitution

    Find the intersection of the given circle and the given line by substitution.

    \[\begin{align*} x^2+y^2 &= 5\nonumber \\ y &= 3x−5 \nonumber \end{align*}\]

    Solution

    One of the equations has already been solved for \(y\). We will substitute \(y=3x−5\) into the equation for the circle.

    \[\begin{align*} x^2+{(3x−5)}^2 &= 5\nonumber \\ x^2+9x^2−30x+25 &= 5\nonumber \\ 10x^2−30x+20 &= 0 \end{align*} \]

    Now, we factor and solve for \(x\).

    \[\begin{align*} 10(x2−3x+2) &= 0\nonumber \\ 10(x−2)(x−1) &= 0\nonumber \\ x &= 2\nonumber \\ x &= 1 \nonumber \end{align*}\]

    Substitute the two \(x\)-values into the original linear equation to solve for \(y\).

    \[\begin{align*} y &= 3(2)−5\nonumber \\ &= 1\nonumber \\ y &= 3(1)−5\nonumber \\ &= −2 \nonumber \end{align*}\]

    The line intersects the circle at \((2,1)\) and \((1,−2)\),which can be verified by substituting these \((x,y)\) values into both of the original equations (Figure \(\PageIndex{5}\)).

    11.4.5.png

    Figure \(\PageIndex{5}\)

    Exercise \(\PageIndex{2}\)

    Solve the system of nonlinear equations.

    \[\begin{align*} x^2+y^2 &= 10\nonumber \\ x−3y &= −10 \nonumber \end{align*}\]

    Answer

    \((−1,3)\)

    Solving a System of Nonlinear Equations Using Elimination

    We have seen that substitution is often the preferred method when a system of equations includes a linear equation and a nonlinear equation. However, when both equations in the system have like variables of the second degree, solving them using elimination by addition is often easier than substitution. Generally, elimination is a far simpler method when the system involves only two equations in two variables (a two-by-two system), rather than a three-by-three system, as there are fewer steps. As an example, we will investigate the possible types of solutions when solving a system of equations representing a circle and an ellipse.

    POSSIBLE TYPES OF SolutionS FOR THE POINTS OF INTERSECTION OF A CIRCLE AND AN ELLIPSE

    Figure \(\PageIndex{6}\) illustrates possible solution sets for a system of equations involving a circle and an ellipse.

    • No solution - The circle and ellipse do not intersect. One shape is inside the other or the circle and the ellipse are a distance away from the other.
    • One solution - The circle and ellipse are tangent to each other, and intersect at exactly one point.
    • Two solutions - The circle and the ellipse intersect at two points.
    • Three solutions - The circle and the ellipse intersect at three points.
    • Four solutions - The circle and the ellipse intersect at four points.

    11.4.6.png

    Figure \(\PageIndex{6}\)

    Example \(\PageIndex{3}\): Solving a System of Nonlinear Equations Representing a Circle and an Ellipse

    Solve the system of nonlinear equations.

    \[\begin{align*} x^2+y^2 &= 26 &(1)\nonumber \\ 3x^2+25y^2 &= 100 & (2) \nonumber \end{align*}\]

    Solution

    Let’s begin by multiplying equation (1) by \(−3\),and adding it to equation (2).

    \[\begin{align*} (−3)(x^2+y^2) = (−3)(26)&\nonumber \\ −3x^2−3y^2 = −78 &\nonumber \\ \underline{3x^2+25y^2=100}&\nonumber \\ 22y^2=22& \nonumber \end{align*}\]

    After we add the two equations together, we solve for \(y\).

    \[\begin{align*} y^2 &= 1\nonumber \\ y &= \pm \sqrt{1}=\pm 1 \nonumber \end{align*}\]

    Substitute \(y=\pm 1\) into one of the equations and solve for \(x\).

    \[\begin{align*} x^2+{(1)}^2 &= 26\nonumber \\ x^2+1 &= 26\nonumber \\ x^2 &= 25\nonumber \\ x &= \pm \sqrt{25}=\pm 5\nonumber \\ x^2+{(−1)}^2 &= 26\nonumber \\ x^2+1 &= 26\nonumber \\ x^2 &= \pm \sqrt{25}=\pm 5 \nonumber \end{align*}\]

    There are four solutions: \((5,1)\), \((−5,1)\), \((5,−1)\),and \((−5,−1)\). See Figure \(\PageIndex{7}\).

    22.4.7.png

    Figure \(\PageIndex{7}\)

    Exercise \(\PageIndex{3}\)

    Find the solution set for the given system of nonlinear equations.

    \[\begin{align*} 4x^2+y^2 &= 13\nonumber \\ x^2+y^2 &= 10 \nonumber \end{align*}\]

    Answer

    \({(1,3),(1,−3),(−1,3),(−1,−3)}\)

    Media

    Access these online resources for additional instruction and practice with nonlinear equations.

    Key Concepts

    • There are three possible types of solutions to a system of equations representing a line and a parabola: (1) no solution, the line does not intersect the parabola; (2) one solution, the line is tangent to the parabola; and (3) two solutions, the line intersects the parabola in two points. See Example \(\PageIndex{1}\).
    • There are three possible types of solutions to a system of equations representing a circle and a line: (1) no solution, the line does not intersect the circle; (2) one solution, the line is tangent to the parabola; (3) two solutions, the line intersects the circle in two points. See Example \(\PageIndex{2}\).
    • There are five possible types of solutions to the system of nonlinear equations representing an ellipse and a circle:
      (1) no solution, the circle and the ellipse do not intersect; (2) one solution, the circle and the ellipse are tangent to each other; (3) two solutions, the circle and the ellipse intersect in two points; (4) three solutions, the circle and ellipse intersect in three places; (5) four solutions, the circle and the ellipse intersect in four points. See Example \(\PageIndex{3}\).

    Contributors and Attributions


    This page titled 7.3: Systems of Nonlinear Equations and Inequalities - Two Variables is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.