Systems of Non-Linear Equations
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.
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 |
|
|
|
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 |
|
|
|
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`. |
||
|
|
|
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. |
|||||||||||||||||
|
|
`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
|
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 |
|
|
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 |
|
|
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`. |
||
|
|
|
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:
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.
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.