## Section 8.2: Systems of Nonlinear Equations and Inequalities: Two Variables

### Learning Outcomes

By the end of this section, you will be able to:

• Solve a system of nonlinear equations.
• Graph a nonlinear inequality.
• Graph a system of nonlinear inequalities.

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

### A General Note: Possible Types of Solutions for Points of Intersection of a Parabola and a Line

Figure 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. Figure 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 1: Solving a System of Nonlinear Equations Representing a Parabola and a Line

Solve the system of equations.

$\begin{gathered}x-y=-1 \\ y={x}^{2}+1 \end{gathered}$

### Could we have substituted values for $y$ into the second equation to solve for $x$ in Example 1?

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 \\ y={x}^{2}+1\hfill \\ {x}^{2}=0\hfill \\ x=\pm \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=\pm \sqrt{1}=\pm 1\hfill \end{array}$

Notice that $-1$ is an extraneous solution.

### Try It

Solve the given system of equations by substitution.

$\begin{gathered}3x-y=-2 \\ 2{x}^{2}-y=0 \end{gathered}$

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

### A General Note: Possible Types of Solutions for the Points of Intersection of a Circle and a Line

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

### Example 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{gathered}{x}^{2}+{y}^{2}=5 \\ y=3x - 5 \end{gathered}$

### Try It

Solve the system of nonlinear equations.

$\begin{gathered}{x}^{2}+{y}^{2}=10 \\ x - 3y=-10 \end{gathered}$

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

### A General Note: Possible Types of Solutions for the Points of Intersection of a Circle and an Ellipse

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

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

Solve the system of nonlinear equations.

$\begin{array}{cr}\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{gathered}4{x}^{2}+{y}^{2}=13\\ {x}^{2}+{y}^{2}=10\end{gathered}$

## Graphing Nonlinear Inequalities and Systems of Nonlinear Inequalities

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

### Example 4: 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.

### Example 5: Graphing a System of Inequalities

Graph the given system of inequalities.

$\begin{gathered} {x}^{2}-y\le 0\\ 2{x}^{2}+y\le 12\end{gathered}$

### Try It

Graph the given system of inequalities.

$\begin{gathered}y\ge {x}^{2}-1 \\ x-y\ge -1 \end{gathered}$

## 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.
• 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.
• 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.
• 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.
• Inequalities are solved the same way as equalities, but solutions to systems of inequalities must satisfy both inequalities.

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

## Section 8.2 Homework Exercises

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

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

3. 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?

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

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

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

6. $\begin{gathered}x+y=4 \\ {x}^{2}+{y}^{2}=9 \end{gathered}$

7. $\begin{gathered}y=x - 3 \\ {x}^{2}+{y}^{2}=9 \end{gathered}$

8. $\begin{gathered}y=x \\ {x}^{2}+{y}^{2}=9 \end{gathered}$

9. $\begin{gathered}y=-x \\ {x}^{2}+{y}^{2}=9 \end{gathered}$

10. $\begin{gathered}x=2 \\ {x}^{2}-{y}^{2}=9 \end{gathered}$

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

11. $\begin{gathered} 4{x}^{2}-9{y}^{2}=36 \\ 4{x}^{2}+9{y}^{2}=36 \end{gathered}$

12. $\begin{gathered}{x}^{2}+{y}^{2}=25\\ {x}^{2}-{y}^{2}=1\end{gathered}$

13. $\begin{gathered} 2{x}^{2}+4{y}^{2}=4 \\ 2{x}^{2}-4{y}^{2}=25x - 10 \end{gathered}$

14. $\begin{gathered}{y}^{2}-{x}^{2}=9\\ 3{x}^{2}+2{y}^{2}=8\end{gathered}$

15. $\begin{gathered}{x}^{2}+{y}^{2}+\frac{1}{16}=2500\\ y=2{x}^{2}\end{gathered}$

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

16. $\begin{gathered} -2{x}^{2}+y=-5 \\ 6x-y=9 \end{gathered}$

17. $\begin{gathered} -{x}^{2}+y=2 \\ -x+y=2 \end{gathered}$

18. $\begin{gathered}{x}^{2}+{y}^{2}=1 \\ y=20{x}^{2}-1 \end{gathered}$

19. $\begin{gathered}{x}^{2}+{y}^{2}=1 \\ y=-{x}^{2} \end{gathered}$

20. $\begin{gathered}2{x}^{3}-{x}^{2}=y \\ y=\frac{1}{2}-x \end{gathered}$

21. $\begin{gathered}9{x}^{2}+25{y}^{2}=225 \\ {\left(x - 6\right)}^{2}+{y}^{2}=1 \end{gathered}$

22. $\begin{gathered}{x}^{4}-{x}^{2}=y \\ {x}^{2}+y=0 \end{gathered}$

23. $\begin{gathered}2{x}^{3}-{x}^{2}=y \\ {x}^{2}+y=0 \end{gathered}$

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

24. $\begin{gathered}{x}^{2}+{y}^{2}=9 \\ y=3-{x}^{2} \end{gathered}$

25. $\begin{gathered}{x}^{2}-{y}^{2}=9 \\ x=3 \end{gathered}$

26. $\begin{gathered}{x}^{2}-{y}^{2}=9 \\ y=3 \end{gathered}$

27. $\begin{gathered}{x}^{2}-{y}^{2}=9 \\ x-y=0 \end{gathered}$

28. $\begin{gathered} -{x}^{2}+y=2 \\ -4x+y=-1 \end{gathered}$

29. $\begin{gathered}-{x}^{2}+y=2 \\ 2y=-x \end{gathered}$

30. $\begin{gathered}{x}^{2}+{y}^{2}=25\\ {x}^{2}-{y}^{2}=36\end{gathered}$

31. $\begin{gathered}{x}^{2}+{y}^{2}=1 \\ {y}^{2}={x}^{2} \end{gathered}$

32. $\begin{gathered}16{x}^{2}-9{y}^{2}+144=0 \\ {y}^{2}+{x}^{2}=16 \end{gathered}$

33. $\begin{gathered}3{x}^{2}-{y}^{2}=12 \\ {\left(x - 1\right)}^{2}+{y}^{2}=1 \end{gathered}$

34. $\begin{gathered}3{x}^{2}-{y}^{2}=12 \\ {\left(x - 1\right)}^{2}+{y}^{2}=4 \end{gathered}$

35. $\begin{gathered}3{x}^{2}-{y}^{2}=12 \\ {x}^{2}+{y}^{2}=16 \end{gathered}$

36. $\begin{gathered}{x}^{2}-{y}^{2}-6x - 4y - 11=0 \\ -{x}^{2}+{y}^{2}=5 \end{gathered}$

37. $\begin{gathered}{x}^{2}+{y}^{2}-6y=7 \\ {x}^{2}+y=1 \end{gathered}$

38. $\begin{gathered}{x}^{2}+{y}^{2}=6 \\ xy=1 \end{gathered}$

For the following exercises, graph the inequality.

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

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

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

41. $\begin{gathered}{x}^{2}+y<1\\ y>2x\end{gathered}$

42. $\begin{gathered}{x}^{2}+y<-5\\ y>5x+10\end{gathered}$

43. $\begin{gathered}{x}^{2}+{y}^{2}<25\\ 3{x}^{2}-{y}^{2}>12\end{gathered}$

44. $\begin{gathered}{x}^{2}-{y}^{2}>-4\\ {x}^{2}+{y}^{2}<12\end{gathered}$

45. $\begin{gathered}{x}^{2}+3{y}^{2}>16\\ 3{x}^{2}-{y}^{2}<1\end{gathered}$

For the following exercises, graph the inequality.

46. $\begin{gathered} y\ge {e}^{x} \\ y\le \mathrm{ln}\left(x\right)+5 \end{gathered}$

47. $\begin{gathered}y\le -\mathrm{log}\left(x\right)\\ y\le {e}^{x}\end{gathered}$

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

48. $\begin{gathered}\frac{4}{{x}^{2}}+\frac{1}{{y}^{2}}=24\\ \frac{5}{{x}^{2}}-\frac{2}{{y}^{2}}+4=0\end{gathered}$

49. $\begin{gathered}\frac{6}{{x}^{2}}-\frac{1}{{y}^{2}}=8\\ \frac{1}{{x}^{2}}-\frac{6}{{y}^{2}}=\frac{1}{8}\end{gathered}$

50. $\begin{gathered}{x}^{2}-xy+{y}^{2}-2=0 \\ x+3y=4 \end{gathered}$

51. $\begin{gathered}{x}^{2}-xy - 2{y}^{2}-6=0 \\ {x}^{2}+{y}^{2}=1 \end{gathered}$

52. $\begin{gathered}{x}^{2}+4xy - 2{y}^{2}-6=0 \\ x=y+2 \end{gathered}$

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

53. $\begin{gathered}xy<1\\ y>\sqrt{x}\end{gathered}$

54. $\begin{gathered}{x}^{2}+y<3\\ y>2x\end{gathered}$

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

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

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

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

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