## Systems of Nonlinear Equations and Inequalities: Two Variables

### Learning Objectives

In this section, you will:

• Solve a system of nonlinear equations using substitution.
• Solve a system of nonlinear equations using elimination.
• Graph a nonlinear inequality.
• Graph a system of nonlinear inequalities.

Halley’s Comet ((Figure)) 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.

Figure 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) 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.

Figure 2.

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.

### Solving a System of Nonlinear Equations Representing a Parabola and a Line

Solve the system of equations.

$\begin{array}{l}x-y=-1\hfill \\ \,\,\,\,\,\,\,\,\,\,y={x}^{2}+1\hfill \end{array}$

Could we have substituted values for$\,y\,$into the second equation to solve for$\,x\,$in (Figure)?

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

For$\,y=1$

$\begin{array}{l}\,\,\,\,y={x}^{2}+1\hfill \\ \,\,\,\,1={x}^{2}+1\hfill \\ \,{x}^{2}=0\hfill \\ \,\,\,\,x=±\sqrt{0}=0\hfill \end{array}$

This gives us the same value as in the solution.

For$\,y=2$

$\begin{array}{l}\,\,\,y={x}^{2}+1\hfill \\ \,\,\,2={x}^{2}+1\hfill \\ {x}^{2}=1\hfill \\ \,\,\,x=±\sqrt{1}=±1\hfill \end{array}$

Notice that$\,-1\,$is an extraneous solution.

### Try It

Solve the given system of equations by substitution.

$\begin{array}{l}\,\,\,3x-y=-2\hfill \\ 2{x}^{2}-y=0\hfill \end{array}$

#### 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) 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.

Figure 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.

### 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{array}{l}{x}^{2}+{y}^{2}=5\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,y=3x-5\hfill \end{array}$

### Try It

Solve the system of nonlinear equations.

$\begin{array}{l}{x}^{2}+{y}^{2}=10\hfill \\ \,\,\,x-3y=-10\hfill \end{array}$

### 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) 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.

Figure 6.

### Solving a System of Nonlinear Equations Representing a Circle and an Ellipse

Solve the system of nonlinear equations.

$\begin{array}{rr}\hfill {x}^{2}+{y}^{2}=26\,\,\,& \hfill \left(1\right)\\ \hfill 3{x}^{2}+25{y}^{2}=100& \hfill \left(2\right)\end{array}$

### Try It

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

$\begin{array}{c}4{x}^{2}+{y}^{2}=13\\ \,\,\,{x}^{2}+{y}^{2}=10\end{array}$

### Graphing a Nonlinear Inequality

All of the equations in the systems that we have encountered so far have involved equalities, but we may also encounter systems that involve inequalities. We have already learned to graph linear inequalities by graphing the corresponding equation, and then shading the region represented by the inequality symbol. Now, we will follow similar steps to graph a nonlinear inequality so that we can learn to solve systems of nonlinear inequalities. A nonlinear inequality is an inequality containing a nonlinear expression. Graphing a nonlinear inequality is much like graphing a linear inequality.

Recall that when the inequality is greater than,$\,y>a,$or less than,$\,y<a,\text{}$the graph is drawn with a dashed line. When the inequality is greater than or equal to,$\,y\ge a,\text{}$or less than or equal to,$\,y\le a,\text{}$the graph is drawn with a solid line. The graphs will create regions in the plane, and we will test each region for a solution. If one point in the region works, the whole region works. That is the region we shade. See (Figure).

Figure 8. (a) an example of$\,y>a;\,$(b) an example of$\,y\ge a;\,$(c) an example of$\,y<a;\,$(d) an example of$\,y\le a\,$

### How To

Given an inequality bounded by a parabola, sketch a graph.

1. Graph the parabola as if it were an equation. This is the boundary for the region that is the solution set.
2. If the boundary is included in the region (the operator is$\,\le \,$or$\,\ge$), the parabola is graphed as a solid line.
3. If the boundary is not included in the region (the operator is < or >), the parabola is graphed as a dashed line.
4. Test a point in one of the regions to determine whether it satisfies the inequality statement. If the statement is true, the solution set is the region including the point. If the statement is false, the solution set is the region on the other side of the boundary line.
5. Shade the region representing the solution set.

### Graphing an Inequality for a Parabola

Graph the inequality$\,y>{x}^{2}+1.$

### Graphing a System of Nonlinear Inequalities

Now that we have learned to graph nonlinear inequalities, we can learn how to graph systems of nonlinear inequalities. A system of nonlinear inequalities is a system of two or more inequalities in two or more variables containing at least one inequality that is not linear. Graphing a system of nonlinear inequalities is similar to graphing a system of linear inequalities. The difference is that our graph may result in more shaded regions that represent a solution than we find in a system of linear inequalities. The solution to a nonlinear system of inequalities is the region of the graph where the shaded regions of the graph of each inequality overlap, or where the regions intersect, called the feasible region.

### How To

Given a system of nonlinear inequalities, sketch a graph.

1. Find the intersection points by solving the corresponding system of nonlinear equations.
2. Graph the nonlinear equations.
3. Find the shaded regions of each inequality.
4. Identify the feasible region as the intersection of the shaded regions of each inequality or the set of points common to each inequality.

### Graphing a System of Inequalities

Graph the given system of inequalities.

$\begin{array}{r}\hfill {x}^{2}-y\le 0\,\,\,\\ \hfill 2{x}^{2}+y\le 12\end{array}$

### Try It

Graph the given system of inequalities.

$\begin{array}{l}\text{ }y\ge {x}^{2}-1\hfill \\ x-y\ge -1\hfill \end{array}$

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 (Figure).
• 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 (Figure).
• 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 (Figure).
• An inequality is graphed in much the same way as an equation, except for > or <, we draw a dashed line and shade the region containing the solution set. See (Figure).
• Inequalities are solved the same way as equalities, but solutions to systems of inequalities must satisfy both inequalities. See (Figure).

### Section Exercises

#### Verbal

Explain whether a system of two nonlinear equations can have exactly two solutions. What about exactly three? If not, explain why not. If so, give an example of such a system, in graph form, and explain why your choice gives two or three answers.

When graphing an inequality, explain why we only need to test one point to determine whether an entire region is the solution?

When you graph a system of inequalities, will there always be a feasible region? If so, explain why. If not, give an example of a graph of inequalities that does not have a feasible region. Why does it not have a feasible region?

If you graph a revenue and cost function, explain how to determine in what regions there is profit.

If you perform your break-even analysis and there is more than one solution, explain how you would determine which x-values are profit and which are not.

#### Algebraic

For the following exercises, solve the system of nonlinear equations using substitution.

$\begin{array}{l}\text{ }x+y=4\hfill \\ {x}^{2}+{y}^{2}=9\hfill \end{array}$

$\begin{array}{l}\text{ }y=x-3\hfill \\ {x}^{2}+{y}^{2}=9\hfill \end{array}$

$\begin{array}{l}\text{ }y=x\hfill \\ {x}^{2}+{y}^{2}=9\hfill \end{array}$

$\begin{array}{l}\text{ }y=-x\hfill \\ {x}^{2}+{y}^{2}=9\hfill \end{array}$

$\begin{array}{l}\text{ }x=2\hfill \\ {x}^{2}-{y}^{2}=9\hfill \end{array}$

For the following exercises, solve the system of nonlinear equations using elimination.

$\begin{array}{l}\hfill \\ 4{x}^{2}-9{y}^{2}=36\hfill \\ 4{x}^{2}+9{y}^{2}=36\hfill \end{array}$

$\begin{array}{l}{x}^{2}+{y}^{2}=25\\ {x}^{2}-{y}^{2}=1\end{array}$

$\begin{array}{l}\hfill \\ 2{x}^{2}+4{y}^{2}=4\hfill \\ 2{x}^{2}-4{y}^{2}=25x-10\hfill \end{array}$

$\begin{array}{l}{y}^{2}-{x}^{2}=9\\ 3{x}^{2}+2{y}^{2}=8\end{array}$

$\begin{array}{l}{x}^{2}+{y}^{2}+\frac{1}{16}=2500\\ y=2{x}^{2}\end{array}$

For the following exercises, use any method to solve the system of nonlinear equations.

$\begin{array}{l}\begin{array}{l}\\ -2{x}^{2}+y=-5\end{array}\hfill \\ \text{ }6x-y=9\hfill \end{array}$

$\begin{array}{l}\begin{array}{l}\\ -{x}^{2}+y=2\end{array}\hfill \\ \text{ }-x+y=2\hfill \end{array}$

$\begin{array}{l}{x}^{2}+{y}^{2}=1\hfill \\ \text{ }y=20{x}^{2}-1\hfill \end{array}$

$\begin{array}{l}{x}^{2}+{y}^{2}=1\hfill \\ \text{ }y=-{x}^{2}\hfill \end{array}$

$\begin{array}{l}2{x}^{3}-{x}^{2}=y\hfill \\ \text{ }y=\frac{1}{2}-x\hfill \end{array}$

$\begin{array}{l}\,\,\,\,\,9{x}^{2}+25{y}^{2}=225\hfill \\ {\left(x-6\right)}^{2}+{y}^{2}=1\hfill \end{array}$

$\begin{array}{l}{x}^{4}-{x}^{2}=y\hfill \\ \text{ }{x}^{2}+y=0\hfill \end{array}$

$\begin{array}{l}2{x}^{3}-{x}^{2}=y\hfill \\ \text{ }{x}^{2}+y=0\hfill \end{array}$

For the following exercises, use any method to solve the nonlinear system.

$\begin{array}{l}{x}^{2}+{y}^{2}=9\hfill \\ \text{ }y=3-{x}^{2}\hfill \end{array}$

$\begin{array}{l}{x}^{2}-{y}^{2}=9\hfill \\ \text{ }x=3\hfill \end{array}$

$\begin{array}{l}{x}^{2}-{y}^{2}=9\hfill \\ \text{ }y=3\hfill \end{array}$

$\begin{array}{l}{x}^{2}-{y}^{2}=9\hfill \\ \text{ }x-y=0\hfill \end{array}$

$\begin{array}{l}\hfill \\ -{x}^{2}+y=2\hfill \\ -4x+y=-1\hfill \end{array}$

$\begin{array}{l}-{x}^{2}+y=2\hfill \\ \text{ }2y=-x\hfill \end{array}$

$\begin{array}{l}{x}^{2}+{y}^{2}=25\\ {x}^{2}-{y}^{2}=36\end{array}$

$\begin{array}{l}{x}^{2}+{y}^{2}=1\hfill \\ \text{ }{y}^{2}={x}^{2}\hfill \end{array}$

$\begin{array}{l}16{x}^{2}-9{y}^{2}+144=0\hfill \\ \text{ }{y}^{2}+{x}^{2}=16\hfill \end{array}$

$\begin{array}{l}\text{ }3{x}^{2}-{y}^{2}=12\hfill \\ {\left(x-1\right)}^{2}+{y}^{2}=1\hfill \end{array}$

$\begin{array}{l}\text{ }3{x}^{2}-{y}^{2}=12\hfill \\ {\left(x-1\right)}^{2}+{y}^{2}=4\hfill \end{array}$

$\begin{array}{l}3{x}^{2}-{y}^{2}=12\hfill \\ \text{ }{x}^{2}+{y}^{2}=16\hfill \end{array}$

$\begin{array}{l}\,{x}^{2}-{y}^{2}-6x-4y-11=0\hfill \\ \text{ }\,\,\,-{x}^{2}+{y}^{2}=5\hfill \end{array}$

$\begin{array}{l}{x}^{2}+{y}^{2}-6y=7\hfill \\ \text{ }{x}^{2}+y=1\hfill \end{array}$

$\begin{array}{l}{x}^{2}+{y}^{2}=6\hfill \\ \text{ }xy=1\hfill \end{array}$

#### Graphical

For the following exercises, graph the inequality.

${x}^{2}+y<9$

${x}^{2}+{y}^{2}<4$

For the following exercises, graph the system of inequalities. Label all points of intersection.

$\begin{array}{l}{x}^{2}+y<1\\ y>2x\end{array}$

$\begin{array}{l}{x}^{2}+y<-5\\ y>5x+10\end{array}$

$\begin{array}{l}{x}^{2}+{y}^{2}<25\\ 3{x}^{2}-{y}^{2}>12\end{array}$

$\begin{array}{l}{x}^{2}-{y}^{2}>-4\\ {x}^{2}+{y}^{2}<12\end{array}$

$\begin{array}{l}{x}^{2}+3{y}^{2}>16\\ 3{x}^{2}-{y}^{2}<1\end{array}$

#### Extensions

For the following exercises, graph the inequality.

$\begin{array}{l}\hfill \\ y\ge {e}^{x}\hfill \\ y\le \mathrm{ln}\left(x\right)+5\hfill \end{array}$

$\begin{array}{l}y\le -\mathrm{log}\left(x\right)\\ y\le {e}^{x}\end{array}$

For the following exercises, find the solutions to the nonlinear equations with two variables.

$\begin{array}{l}\frac{4}{{x}^{2}}+\frac{1}{{y}^{2}}=24\\ \frac{5}{{x}^{2}}-\frac{2}{{y}^{2}}+4=0\end{array}$

$\begin{array}{c}\frac{6}{{x}^{2}}-\frac{1}{{y}^{2}}=8\\ \frac{1}{{x}^{2}}-\frac{6}{{y}^{2}}=\frac{1}{8}\end{array}$

$\begin{array}{l}{x}^{2}-xy+{y}^{2}-2=0\hfill \\ \text{ }x+3y=4\hfill \end{array}$

$\begin{array}{l}{x}^{2}-xy-2{y}^{2}-6=0\hfill \\ \text{ }{x}^{2}+{y}^{2}=1\hfill \end{array}$

$\begin{array}{l}{x}^{2}+4xy-2{y}^{2}-6=0\hfill \\ \text{ }x=y+2\hfill \end{array}$

#### Technology

For the following exercises, solve the system of inequalities. Use a calculator to graph the system to confirm the answer.

$\begin{array}{l}xy<1\\ y>\sqrt{x}\end{array}$

$\begin{array}{l}{x}^{2}+y<3\\ y>2x\end{array}$

#### Real-World Applications

For the following exercises, construct a system of nonlinear equations to describe the given behavior, then solve for the requested solutions.

Two numbers add up to 300. One number is twice the square of the other number. What are the numbers?

The squares of two numbers add to 360. The second number is half the value of the first number squared. What are the numbers?

A laptop company has discovered their cost and revenue functions for each day:$\,C\left(x\right)=3{x}^{2}-10x+200\,$and$\,R\left(x\right)=-2{x}^{2}+100x+50.\,$If they want to make a profit, what is the range of laptops per day that they should produce? Round to the nearest number which would generate profit.

A cell phone company has the following cost and revenue functions:$\,C\left(x\right)=8{x}^{2}-600x+21,500\,$and$\,R\left(x\right)=-3{x}^{2}+480x.\,$What is the range of cell phones they should produce each day so there is profit? Round to the nearest number that generates profit.

### Glossary

feasible region
the solution to a system of nonlinear inequalities that is the region of the graph where the shaded regions of each inequality intersect
nonlinear inequality
an inequality containing a nonlinear expression
system of nonlinear equations
a system of equations containing at least one equation that is of degree larger than one
system of nonlinear inequalities
a system of two or more inequalities in two or more variables containing at least one inequality that is not linear