Substitution in Systems of Nonlinear Equations

Interactive · 1 question

Nonlinear Systems

We solve nonlinear systems of equations in almost the same way we solve linear systems of equations. The steps you use are very similar, so this part should feel familiar.

The big difference is the number of solutions. A nonlinear system can have more than one answer.

Think about two lines in a system of equations. Most of the time, the lines cross at one point. That point is the solution. The only exception is when the two lines are actually the same line, which means they share every point.

Nonlinear systems work a little differently, so let’s take a closer look and see what happens.

The two lines cross at only one point.

Made with Desmos

A system that includes a line and a quadratic often has two solutions. This happens when the line crosses the quadratic in two different places.

Sometimes, the line only touches the quadratic at one point. This point is called the vertex of the quadratic. When this happens, the system has only one solution.

To see how this works, let’s look at the following system.

{y=x2y=−2xy=0\begin{cases} y=x^2\\y=-2x\\y=0\end{cases}
There are two solutions between x^2 and y=-2x, and one solution between x^2 and y=0

Made with Desmos

Here we can see two solutions where the equations y=x2y=x^2 and y=−2xy=-2x meet. There's also one solution where y=x2y=x^2 and y=0y=0 meet. The most solutions you can have with a quadratic system is 22 as it is the highest power in the system.

When we have systems that are all nonlinear, we can sometimes think that the highest power means there will be the most answers. But that’s not always true. For example, this system of a cubic and a quadratic has 33 solutions.

The functions cross 3 times, meaning there are 3 solutions.

Made with Desmos

A system with a quadratic and a circle can have up to four solutions.

There are 4 crossing points with these two functions, and therefore 4 solutions

Made with Desmos

Substitution With y=y=

The easiest time to use substitution is when one of the equations already tells us the value of a variable. In other words, one equation is already solved for a variable like xx or yy.

This makes substitution simpler because there is less algebra to do before you begin.

Now let’s take a closer look at a system that includes a circle and a parabola. We’ll use substitution to see how these two graphs work together.

{y=x2−4x2+y2=9\begin{cases}y=x^2-4\\x^2+y^2=9\end{cases}

We see that the parabola has already been described as a definition of yy. This means that we immediately substitute the first equation anywhere we see yy in the second equation. x2+y2=16x2+(x2−4)2=16x2+x4−8x2+16=16x4−7x2=0x2(x2−7)=0x2−7=0x2=7x=±7x2=0x=0\begin{align}x^2+y^2&=16\\ x^2+(x^2-4)^2&=16\\ x^2+x^4-8x^2+16&=16\\ x^4-7x^2&=0\\ x^2(x^2-7)&=0\\ \\ x^2-7&=0\\ x^2&=7\\ x&=\pm \sqrt{7}\\ \\ x^2&=0\\ x&=0 \end{align}

Now we can plug our xx values back into one of our equations to find their corresponding yy-values. y=x2−4y=(0)2−4y=−4y=(7)2−4y=7−4y=3y=(−7)2−4y=7−4y=3\begin{align}y&=x^2-4\\ \\ y&=(0)^2-4\\ y&=-4\\ \\ y&=(\sqrt{7})^2-4\\ y&=7-4\\ y&=3\\ \\ y&=(-\sqrt{7})^2-4\\ y&=7-4\\ y&=3\end{align}

The crossing points on our graph should be (0,−4)(0,-4), (7,3)(\sqrt{7},3), and (−7,3)(-\sqrt{7},3). Let's take a look at the graph.

The functions cross exactly where our math says they should!

Made with Desmos

The graph matches up with our math! We see that the bottom point, (0,−4)(0,-4) just touches the circle. The other two points, (7,3)(\sqrt{7},3) and (−7,3)(-\sqrt{7},3), are crossing points.

Substitution Without y=y=

Some systems are not as easy to work with. In many problems, we like equations that are written as a definition of yy. This makes substitution quick and straightforward.

However, not all equations are set up this way. Sometimes, neither equation is already solved for a variable, which means we have to do a little more work first.

Let’s try solving the following system and see how to handle a harder case.

{3x2−3y=−12x−9yx+1=1\begin{cases}3x^2-3y=-12x-9\\ \frac{y}{x+1}=1\end{cases}

This one doesn't have too many steps before we have a defined variable. Let's look at the second equation. yx+1=1y=(x+1)(1)y=x+1\begin{align}\frac{y}{x+1}&=1\\ y&=(x+1)(1)\\ y&=x+1 \end{align}

We can plug this into our first equation then solve for xx. 3x2−3y=−12x−93x2−3(x+1)=−12x−93x2−3x−3=−12x−9x2−x−1=−4x−3x2+3x+2=0(x+2)(x+1)=0x=−2,−1\begin{align}3x^2-3y&=-12x-9\\ 3x^2-3(x+1)&=-12x-9\\ 3x^2-3x-3&=-12x-9\\ x^2-x-1&=-4x-3\\ x^2+3x+2&=0\\ (x+2)(x+1)&=0\\ x&=-2, -1 \end{align}

Let's make sure we have valid xx-values before we plug these back into the other equation. Look at yx+1=1\frac{y}{x+1}=1. Remember that we can't use any xx-value that will make the denominator equal 00. This means that x=−1x=-1 is an invalid answer. Now, we can plug x=−2x=-2 back into our definition of yy to find our solution.

y=x+1y=(−2)+1y=−1\begin{align}y&=x+1\\ y&=(-2)+1\\ y&=-1 \end{align}

The solution to this system is (−2,−1)(-2,-1). Let's take a look at the graph.

There are crossing points at (-2,-1) and (-1,0), but x=-1 leads to an invalid equation, so there is a hole in the graph.

Made with Demsos

The two functions cross twice, but we have a discontinuity at x=−1x=-1.

Practice Problem

Find the solution for the following system: {2xy=7x2+14y=−4\begin{cases}2xy=7\\x^2+\frac{14}{y}=-4\end{cases}

Choose one answer

Math as a puzzle

Many contest problems feel more like puzzles than homework. They are a good way to find out how much fun math can be. These are real problems from the AMC 8, AMC 10, AMC 12 and AIME, the national math competitions for middle and high school students, each with a worked solution on LIVE by Po-Shen Loh.

Video

(Video) Substitution Method - Nonlinear Equations

by MATHStorya

This video by MATHStorya walks you through an example of how to use the substitution method to solve a system of nonlinear equations.

Summary

x2+y2=10y−x=2\begin{align} x^2 + y^2 &= 10 \\ y - x &= 2 \\ \end{align}

Our goal with substitution is to isolate one variable. It can be either xx or yy. In this case, we will manipulate the second equation.

y−x=2→y=x+2y-x=2 \rightarrow y=x+2

We will now substitute this second equation into the first equation.

x2+(x+2)2=10x2+x2+4x+4=102x2+4x+4−10=02x2+4x−6=0x2+2x−3=0\begin{align} x^2+(x+2)^2 &= 10 \\ x^2 + x^2 +4x+4 &= 10 \\ 2x^2 + 4x +4 -10 &= 0 \\ 2x^2 +4x -6 &= 0 \\ x^2 +2x -3 &= 0\\ \end{align}

Now that we've substituted and simplified, we can find the factors of this quadratic! The factors are (x+3)(x−1)=0(x+3)(x-1)=0. That means that the zeroes are: x=−3,x=1x=-3, x=1.

Our next step is to solve for yy.

For x=−3x=-3,

y=x+2y=−3+2y=−1\begin{align} y &= x +2 \\ y &= -3 +2 \\ y &= -1 \\ \end{align}

For x=1x=1,

y=x+2y=1+2y=3\begin{align} y &= x +2 \\ y &= 1 +2 \\ y &= 3 \\ \end{align}

The solutions to our system are: (−3,−1),(1,3)(-3, -1), (1, 3).

Illustrated · 1 min

Systems of Nonlinear Equations: Substitution

The substitution method is a powerful tool for solving nonlinear systems. It helps simplify the problem by reducing the system to just one equation.

In this case, we end up with two pairs of solutions. This shows that substitution can handle more complex equations, even when the system has more than one answer.

Systems of Nonlinear Equations: Substitution
y=x^2
x+y=4
Substitute y=x^2 into x+y=4
You'll get: x+x^2 =4
x^2+x-4=0
Solve!

Image source: by Anusha Rahman

In this example, we explore the substitution method for solving a system of nonlinear equations. We start with two equations: y=x2y=x^2 and x+y−4x+y-4. By substituting the expression for yy from the first equation into the second, we transform the system into a single quadratic equation, x2+x−4=0x^2+x-4=0.

We didn't go forward to find the actual solutions, but you can use the quadratic formula to find the values of xx.

In the Real World

There are many times we would use substitution in systems of nonlinear equations in the real world:

  • Ecology: We can analyze predator-prey interactions to determine population stability points.
  • Economics: We can model supply and demand curves, especially when dealing with nonlinear demand functions.
  • Chemistry: We can study reaction rates and equilibrium in chemical reactions, where concentrations of reactants and products are interdependent.
  • Physics: We can explore the dynamics of systems with nonlinear motion, like pendulums or chaotic systems.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems