Paul's Online Notes
Paul's Online Notes
Home / Algebra / Systems of Equations / Nonlinear Systems
Show Mobile Notice Show All Notes Hide All Notes
Mobile Notice
You appear to be on a device with a "narrow" screen width (i.e. you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best viewed in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (you should be able to scroll/swipe to see them) and some of the menu items will be cut off due to the narrow screen width.

Section 7.5 : Nonlinear Systems

In this section we are going to be looking at non-linear systems of equations. A non-linear system of equations is a system in which at least one of the variables has an exponent other than 1 and/or there is a product of variables in one of the equations.

To solve these systems we will use either the substitution method or elimination method that we first looked at when we solved systems of linear equations. The main difference is that we may end up getting complex solutions in addition to real solutions. Just as we saw in solving systems of two equations the real solutions will represent the coordinates of the points where the graphs of the two functions intersect.

Let’s work some examples.

Example 1 Solve the following system of equations. \[\begin{align*}{x^2} + {y^2} & = 10\\ 2x + y & = 1\end{align*}\]
Show Solution

In linear systems we had the choice of using either method on any given system. With non-linear systems that will not always be the case. In the first equation both of the variables are squared and in the second equation both of the variables are to the first power. In other words, there is no way that we can use elimination here and so we are must use substitution. Luckily that isn’t too bad to do for this system since we can easily solve the second equation for \(y\) and substitute this into the first equation.

\[y = 1 - 2x\] \[{x^2} + {\left( {1 - 2x} \right)^2} = 10\]

This is a quadratic equation that we can solve.

\[\begin{align*}{x^2} + 1 - 4x + 4{x^2} & = 10\\ 5{x^2} - 4x - 9 & = 0\\ \left( {x + 1} \right)\left( {5x - 9} \right) & = 0\hspace{0.25in} \Rightarrow \hspace{0.25in}x = - 1,\,\,x = \frac{9}{5}\end{align*}\]

So, we have two values of \(x\). Now, we need to determine the values of \(y\) and we are going to have to be careful to not make a common mistake here. We determine the values of \(y\) by plugging \(x\) into our substitution.

\[x = - 1 \hspace{0.25in} \Rightarrow \hspace{0.25in}y = 1 - 2\left( { - 1} \right) = 3\] \[x = \frac{9}{5}\hspace{0.25in} \Rightarrow \hspace{0.25in}y = 1 - 2\left( {\frac{9}{5}} \right) = - \frac{{13}}{5}\]

Now, we only have two solutions here. Do not just start mixing and matching all possible values of \(x\) and \(y\) into solutions. We get \(y = 3\) as a solution ONLY if \(x = - 1\) and so the first solution is,

\[x = - 1,\,\,y = 3\]

Likewise, we only get \(y = - \frac{{13}}{5}\) ONLY if \(x = \frac{9}{5}\) and so the second solution is,

\[x = \frac{9}{5},\,\,y = - \frac{{13}}{5}\]

So, we have two solutions. Now, as noted at the start of this section these two solutions will represent the points of intersection of these two curves. Since the first equation is a circle and the second equation is a line have two intersection points is definitely possible. Here is a sketch of the two equations as a verification of this.

The domain of this graph is from -4 to 4 while the range is from -4 to 4.  There are two functions graphed here.  The graph of $x^{2}+y^{2}=10$ is a circle centered at the origin with radius $\sqrt{10}\approx 3.162$ .  The graph of 2x+y=1 is a line that passes through the points (0,1) and (1/2,0).  The line and the circle interest at the point (-1,3) and (9/5, -13/5).

Note that when the two equations are a line and a circle as in the previous example we know that we will have at most two real solutions since it is only possible for a line to intersect a circle zero, one, or two times.

Example 2 Solve the following system of equations. \[\begin{align*}{x^2} - 2{y^2} & = 2\\ xy & = 2\end{align*}\]
Show Solution

Okay, in this case we have a hyperbola (the first equation, although it isn’t in standard form) and a rational function (the second equation if we solved for \(y\)). As with the first example we can’t use elimination on this system so we will have to use substitution.

The best way is to solve the second equation for either \(x\) or \(y\). Either one will give us pretty much the same work so we’ll solve for \(y\) since that is probably the one that will make the equation look more like those that we’ve looked at in the past. In other words, the new equation will be in terms of \(x\) and that is the variable that we are used to seeing in equations.

\[y = \frac{2}{x}\] \[\begin{align*}{x^2} - 2{\left( {\frac{2}{x}} \right)^2} & = 2\\ {x^2} - 2\frac{4}{{{x^2}}} & = 2\\ {x^2} - \frac{8}{{{x^2}}} & = 2\end{align*}\]

The first step towards solving this equation will be to multiply the whole thing by x2 to clear out the denominators.

\[\begin{align*}{x^4} - 8 & = 2{x^2}\\ {x^4} - 2{x^2} - 8 & = 0\end{align*}\]

Now, this is quadratic in form and we know how to solve those kinds of equations. If we define,

\[u = {x^2}\hspace{0.25in} \Rightarrow \hspace{0.25in}{u^2} = {\left( {{x^2}} \right)^2} = {x^4}\]

and the equation can be written as,

\[\begin{align*}{u^2} - 2u - 8 & = 0\\ \left( {u - 4} \right)\left( {u + 2} \right) & = 0\hspace{0.25in} \Rightarrow \hspace{0.25in}u = - 2,\,\,\,u = 4\end{align*}\]

In terms of \(x\) this means that we have the following,

\[\begin{align*}{x^2} & = 4\hspace{0.25in} \Rightarrow \hspace{0.25in}x = \pm \,2\\ {x^2} & = - 2\hspace{0.25in} \Rightarrow \hspace{0.25in}x = \pm \,\sqrt 2 \,\,i\end{align*}\]

So, we have four possible values of \(x\) and two of them are complex. To determine the values of \(y\) we can plug these into our substitution.

\[\begin{align*}x & = 2\hspace{0.25in} \Rightarrow \hspace{0.25in}y = \frac{2}{2} = 1\\ x & = - 2\hspace{0.25in} \Rightarrow \hspace{0.25in}y = \frac{2}{{ - 2}} = - 1\end{align*}\] \[\begin{align*}x & = \sqrt 2 \,i\hspace{0.25in} \Rightarrow \hspace{0.25in}\hspace{0.25in}y = \frac{2}{{\sqrt 2 \,i}} = \frac{2}{{\sqrt 2 \,i}}\frac{i}{i} = \frac{{2i}}{{\sqrt 2 \,{i^2}}} = - \frac{{2i}}{{\sqrt 2 }}\\ x & = - \sqrt 2 \,i\hspace{0.25in} \Rightarrow \hspace{0.25in}\hspace{0.25in}y = - \frac{2}{{\sqrt 2 \,i}} = - \frac{2}{{\sqrt 2 \,i}}\frac{i}{i} = - \frac{{2i}}{{\sqrt 2 \,{i^2}}} = \frac{{2i}}{{\sqrt 2 }}\end{align*}\]

For the complex solutions, notice that we made sure the \(i\) was in the numerator. The four solutions are then,

\[\begin{align*}& x = 2,\,\,\,y = 1\hspace{0.25in}{\mbox{and}}\hspace{0.25in}x = - 2,y = - 1\hspace{0.25in}{\mbox{and}}\\ & x = \sqrt 2 \,i,\,\,\,y = - \frac{{2i}}{{\sqrt 2 }}\hspace{0.25in}{\mbox{and}}\hspace{0.25in}x = - \sqrt 2 \,i,\,\,\,y = \frac{{2i}}{{\sqrt 2 }}\end{align*}\]

Two of the solutions are real and so represent intersection points of the graphs of these two equations. The other two are complex solutions and while solutions will not represent intersection points of the curves.

For reference purposes, here is a sketch of the two curves.

The domain of this graph is from -4 to 4 while the range is from -4 to 4.  There are two functions graphed here. The graph of $x^{2}-2y^{2}=1$ is a hyperbola.  The vertices are at approximately (1.5,0) and (-1.5,0).  The portion with vertex at (1.5,0) opens to the right and is symmetric about the x-axis while the portion with vertex at (-1.5,0) opens to the left and is also symmetric about the x-axis.  The graph of xy=2 looks kind of like a hyperbola (it isn’t!).  It has a piece in the 1st quadrant and a piece in the 3rd quadrant.  In the 1st quadrant it contains the point (1,2) and as we move to the right of this point the graph decreases getting closer and closer to the x-axis but doesn’t cross it.  To the left of (1,2) the graph rapidly increases as it gets closer and close to the y-axis but doesn’t cross it.  In the 3rd quadrant it contains the point (-1,-2) and as we move to the right of this point the graph rapidly decreases as it gets closer and close to the y-axis but doesn’t cross it.  To the left of (1,2) the graph increases getting closer and closer to the x-axis but doesn’t cross it.  Each function has a portion of its graph in the 1st quadrant and those pieces intersect at (2,1).  Each function has a portion of its graph in the 3rd quadrant and those pieces intersect at (-2,-1).

Note that there are only two intersection points of these two graphs as suggested by the two real solutions. Complex solutions never represent intersections of two curves.

Example 3 Solve the following system of equations. \[\begin{align*}2{x^2} + {y^2} & = 24\\ {x^2} - {y^2} & = - 12\end{align*}\]
Show Solution

This time we have an ellipse and a hyperbola. Neither one are in standard form however.

In the first two examples we’ve used the substitution method to solve the system and we can use that here as well. Let’s notice however, that if we just add the two equations we will eliminate the \(y\)’s from the system so we’ll do it that way.

\[\begin{array}{c} 2{x^2} + {y^2} = 24\\ \underline{ {x^2} - {y^2} = - 12 } \end{array} \\ 3{x^2}\,\,\,\,\,\,\,\,\,\,\,\,\, = 12 \]

This is easy enough to solve for \(x\).

\[\begin{align*}3{x^2} & = 12\\ {x^2} & = 4\hspace{0.25in} \Rightarrow \hspace{0.25in}x = \pm \,2\end{align*}\]

To determine the value(s) of the \(y\)’s we can substitute these into either of the equations. We will use the first since there won’t be any minus signs to worry about.

\(x = 2:\)

\[\begin{align*}2{\left( 2 \right)^2} + {y^2} & = 24\\ 8 + {y^2} & = 24\\ {y^2} & = 16\hspace{0.25in} \Rightarrow \hspace{0.25in}y = \pm 4\end{align*}\]

\(x = - 2:\)

\[\begin{align*}2{\left( { - 2} \right)^2} + {y^2} & = 24\\ 8 + {y^2} & = 24\\ {y^2} & = 16\hspace{0.25in} \Rightarrow \hspace{0.25in}y = \pm 4\end{align*}\]

Note that for this system, unlike the previous examples, each value of \(x\) actually gave two possible values of \(y\). That means that there are in fact four solutions. They are,

\[\left( {2,4} \right)\hspace{0.25in}\left( {2, - 4} \right)\hspace{0.25in}\left( { - 2,4} \right)\,\,\,\,\,\left( { - 2, - 4} \right)\]

This also means that there should be four intersection points to the two curves. Here is a sketch for verification.

The domain of this graph is from -6 to 6 while the range is from -6 to 6.  There are two functions graphed here.  
The graph of $x^{2}-y^{2}=-12$ is a hyperbola.  The vertices are at approximately (0,5.5) and (0,-5.5).  The portion with vertex at (0,5.5) opens to the up and is symmetric about the y-axis while the portion with vertex at (0,-5.5) opens to the down and is also symmetric about the y-axis.  The graph of $2x^{2}+y^{2}=24$ is an ellipse centered at the origin with right/left points at approximately (3.46,0)/(-3.46,0) and with top/bottom points at approximately (0,4.9)/(0,-4.9).  The graphs have intersections in each quadrant.  The points of intersection are (2,4), (2,-4), (-2,-4) and (-2,4).