Systems of Non-Linear Equations

Learning Objective

Introduction

A system of equationsA set of two or more equations that share two or more unknowns. is a set of two or more equations that share two or more unknowns. The solutions to a system of equations are all the values that make all of the equations true, or the points where the graphs of the equations intersect.

We can solve a system of linear equations through graphing, substitution, and linear combination. Systems of nonlinear functionsA function with a variable rate of change that graphs as a curved line., such as quadratic or exponential equations, can be handled with the same techniques.

To illustrate how to solve these systems, we'll focus on linear and quadratic systems with just two equations. But be aware that systems can be larger and more complex than these examples.

Systems of Linear and Quadratic Equations

Let’s begin by talking about two linear equations. The solution to this kind of system is the point of intersection between the two lines, or the place where the two equations have the same `x` and `y` values. There may be one solution, no solution, or an infinite number of solutions to a system of two linear equations:

One Solution

No Solutions

Infinite Solutions

A coordinate plane labeled “one solution” shows two lines. A line with a positive slope crosses the x-axis at (negative 1.5, 0) and the y-axis at (0, 1). A line with a negative slope crosses the y-axis at (0, 3) and the x-axis at (3, 0). The lines intersect near (1, 2).

A coordinate plane labeled no solutions shows two lines with the same positive slope. The first line crosses the x-axis at (negative 1.5, 0) and the y-axis at (0, 1). The second line crosses the y-axis at (0, negative 2) and the x-axis at (3, 0).

On a coordinate plane labeled infinite solutions, a line has a positive slope. It crosses the x-axis at (negative 1.5, 0) and the y-axis at (0, 1).

If the graphs of the equations intersect, then there is one solution that is true for both equations.

 

If the graphs of the equations do not intersect (for example, if they are parallel), then there are no solutions that are true for both equations.

If the graphs of the equations are the same, then there are an infinite number of solutions that are true for both equations.

To solve a system of a linear equation and a quadratic equation, we will do the same thing, find the point—or points—of intersection between the two graphs:

One Solution

No Solutions

Two Solutions

A coordinate plane labeled “one solution” shows a horizontal line and an upward-facing parabola. The vertex of the parabola touches the line at a single point.

A coordinate plane labeled “no solutions” shows an upward-facing parabola and a line with a negative slope. The parabola and the line do not intersect.

A coordinate plane labeled “two solutions” shows an upward-facing parabola and a line with a positive slope. The line intersects the parabola at two points.

If the parabola and the line touch at a single point, then there is one solution that is true for both equations.

If the graphs of the equations do not intersect, then there are no solutions that are true for both equations.

If the line intersects the parabola in two places, then there are two solutions that are true for both equations.

It does not make sense to consider the case where the two equations represent the same set of points, since a straight line can never be a parabola, and vice versa.

Notice that this means the possible number of solutions for a system of two linear equations is `0` (never intersect), `1` (intersect in one place), or infinity (the lines are identical). The number of solutions for a system with one linear equation and one quadratic equation is either `0` (never intersect), `1` (intersect in one place), or `2` (intersect in two places).

Let's solve a system of a linear and a quadratic equation by graphing:

Example

Problem

Solve the system by graphing the equations `y=x^2-5`  and `y=3x+7`

 

The coordinate plane shows a line labeled “y equals 3 x plus 7.” An upward facing parabola is labeled, “y equals x squared minus 5.” The line intersects the parabola at two points, at approximately (negative 2, 0) and (5, 22).

 

Graph each equation and locate the points of intersection.

Answer

This system has two solutions. We cannot determine the exact location of the intersection points from the graph, but they are approximately `(-2,0)` and `(5,22)`.

Notice that while we can tell approximately where the two graphs intersect, it is difficult to find an exact location.

Now let’s solve the same system using substitution. When solving using substitution, use the following steps:

`1`. Select one equation and isolate a variable. (Choose an equation and variable that are easy to isolate!)

`2`. Substitute the resulting expression for a variable into the other equation, every time that variable appears.

`3`. Solve the second equation for the second variable.

`4`. Substitute the solution to step `3` into the expression in step `1`, to find the other variable.

Example

Problem

Solve the system using the substitution method `y=x^2-5` and `y=3x+7`.

`x^2-5=3x+7`

 

 

In this case, both equations have `y` isolated, so we can set them equal.

`x^2-3x-12=0`

 

 

 

 

 

 

Subtract `3x` from both sides and subtract `7` from both sides. Now there is a quadratic equation set equal to `0` and we can use the quadratic formulaThe formula `x=(-b+-sqrt(b^2-4ac))/(2a)`; it is used to solve a quadratic equation of the form `ax^2+bx+c=0`.`x=(-b+-sqrt(b^2-4ac))/(2a)`, to find the solution.

`x^2` `-3x` `-12` `=` `0`
Downward facing arrow connecting X squared above to A equals 1 below. Downward facing arrow connecting negative 3 X above to B equals negative 3 below. Downward facing arrow connecting negative 12 above to C equals negative 12 below.    
`a=1` `b=-3` `c=-12`    

 

 

`a=1`, `b=-3`, and `c = -12`

`x=(-(-3)+-sqrt((-3)^2-4(1)(-12)))/(2(1))`

 

Substitute the values of `a``b`, and `c` into the formula.

`x=(3+-sqrt(9+48))/2=(3+-sqrt57)/2`

 

Simplify.

`x~~5.27` or `x~~-2.27`

 

Simplify some more, remembering to evaluate both `(3+sqrt57)/2` and `(3-sqrt57)/2`

 

`y=3x+7`

 

`y=3(5.27)+7`

`y=3x+7`

 

`y=3(-2.27)+7`

 

Evaluate either function for each `x` to find the corresponding `y` value.

Answer

`(5.27, 22.82)` and `(-2.27, 0.18)`

 

         

By using substitution, we have arrived at a more precise answer than we did when graphing this system. However, approximations were made when we took the square root of `57`. This still is not an exact solution!

As the algebra of substitution can become quite involved, it is always a good idea to check the result in the original equations.

Here is a check of the point `(5.27, 22.82)`:

`y=x^2-5`

`22.82=(5.27)^2-5`

`22.82=27.7729-5`

`22.82~~22.77`

`y=3x+7`

`22.82=3(5.27)+7`

`22.82=15.81+7`

`22.82~~22.81`

Notice that the check doesn’t result in perfect equality, but it's close.

Use graphing to find the number of solutions to the system of equations.

 

`y = -4x - 4` and `y = -0.25x^2 - 4`

 

A) one solution

 

B) two solutions

 

C) no solutions

 

D) infinite solutions

 

Systems of Two Quadratic Equations

Now let’s look at two quadratic equations. Picture for a moment how the graphs of two quadratic equations can intersect (or not).

One Solution

No Solutions

A coordinate plane labeled one solution shows two parabolas. One opens up and one opens down. The parabolas share one point at the vertex.

A coordinate plane labeled no solutions shows two parabolas. One opens up and one opens down. The parabolas have no shared points.

Two quadratic equations that have a single point in common, such as a shared vertex, have one solution.

Two quadratic functions that have no overlap in range (no shared `y`-values) have no solutions.

Two Solutions

Infinite Solutions

A coordinate plane labeled two solutions shows two parabolas that intersect. One opens up and one opens down. The parabolas share two points.

A coordinate plane labeled infinite solutions shows two identical parabolas that open up and intersect at every point.

Two quadratic equations that overlap but have different equations have two solutions.

If the graphs of the equations are the same, then there are an infinite number of solutions that are true for both equations.

We can solve a system of quadratic equations by graphing:

Example

Problem

Solve the system by graphing the equations `y=x^2` and `y=18-x^2`.

 

A coordinate plane shows two parabolas. One opens up, with a vertex at the origin, and is labeled with the formula “y equals x squared.” The other opens down, with a vertex at (0, 18), and is labeled with the formula y equals negative x squared plus 18. The two parabolas intersect at the following coordinates: (negative 3, 9) and (3, 9).

 

 

Graph both equations and find the points of intersection.

 

Approximate the coordinates of the points of intersection.

Answer

`(-3, 9)` and `(3, 9)`

 

 

Again, we can't be certain by graphing that our solutions are exact. An algebraic method can ensure an exact solution every time. For example, we can solve a system of quadratic equations by substitution:

Example

Problem

Solve the system using the substitution method: `y=x^2+4` and `y=-2x^2-6`.  

 

`x^2+4=-2x^2-6`

 

 

 

 

In this case, both equations have `y` isolated, so we can set them equal.

 

`3x^2+10=0`

 

 

 

 

Add `2x^2` and `6` to both sides to bring all the variables to one side of the equation.

 

`x=(-0+-sqrt(0^2-4(3)(10)))/(2(3))`

 

 

Apply the quadratic formula. `a=3``b = 0`, and `c=10`.

 

`x=(+-sqrt(-4(3)(10)))/6=(+-sqrt(-120))/6`

 

 

 

Simplify, noticing that the quantity underneath the square root symbol is a negative value -- this is the discriminantThe expression `b^2-4ac` under the radical in the quadratic formula; the expression can be used to determine the number of real roots the quadratic equation has.  -- no solution, and the graphs will not intersect.

Answer

no solution

 

 

Since there is no solution, we cannot check our answer algebraically, but we can look at the graphs to verify that there is no solution:

A coordinate plane shows two parabolas. One opens up and is labeled with the formula “y equals x squared plus 4.” The other opens down and is labeled with the formula “y equals negative 2 x squared minus 6.” The two parabolas do not intersect.

We can also use linear combination to solve systems of equations, following these steps:

`1`. Rearrange equations so the terms line up.

`2`. Multiply none, or one, or both equations by a constant so that the coefficients of one of the variables are opposites.

`3`. Add the equations to eliminate one of the variables.

`4`. Solve the resulting equation.

`5`. Substitute the solution in step `4` back into an original equation to find the other variable.

Ready to give that a try?

Example

Problem

Solve the system by using linear combination `y=x^2+2` and `y=-x^2+8`.

 

`y=x^2+2`

`y=-x^2+8`

 

Line up the equations.

 

`2y=10`

 

 

 

Since there are already two variables that are opposites (`x^2` and `-x^2`), we can add the two equations.

 

`y = 5`

 

Isolate `y` by dividing both sides of the equation by `2`.

 

`5=x^2+2`

`3=x^2`

`+-sqrt3=sqrt(x^2)`

`+-sqrt3=x`

 

Substitute for `y` into one of the equations to find the values of `x`.

Answer

`(sqrt3,5)` and `(-sqrt3,5)`

 

Solve the system: Find the points of intersection, if any, of the two equations below:

`y=x^2-5`

and

`y=3x-7`

 

A) no solution, no points of intersection

 

B) `sqrt5, -sqrt5` 

 

C) `(1,-4)` and `(2, -1)`

 

D) `(-2, 13)` and `(-1, 4)`

 

 

The same strategies of graphing, substitution, or linear combination may be applied to systems involving combinations of other non-linear functions, such as circles, ellipses, and other coordinate functions.

Summary

Solving systems of non-linear equations can be done using the techniques of graphing, substitution, and linear combination. Just like with systems of linear equations, when we find solutions to systems of non-linear equations, we are finding the intersection of their graphs or the places where the equations have the same variable values.