Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

6.2: Solving Nonlinear Equations

( \newcommand{\kernel}{\mathrm{null}\,}\)

We begin by introducing a property that will be used extensively in this and future sections.

The Zero Product Property

If the product of two or more numbers equals zero, then at least one of the numbers must equal zero. That is, if

ab=0

then

a=0 or b=0

Let’s use the zero product property to solve a few equations.

Example 6.2.1

Solve for x: (x+3)(x5)=0

Solution

The product of two factors equals zero.

(x+3)(x5)=0

Hence, at least one of the factors must equal zero. Using the zero product property, set each factor equal to zero, then solve the resulting equations for x.

x+3=0x=3

or

x5=0x=5

Hence, the solutions are x=3 and x=5

Check:

Check that each solution satisfies the original equation.

Substitute 3 for x:

(x+3)(x5)=0(3+3)(35)=0(0)(8)=00=0

Substitute 5 for x:

(x+3)(x5)=0(5+3)(55)=0(8)(0)=00=0

Because each check produces a true statement, both x=3 and x=5 are solutions of (x+3)(x5)=0.

Exercise 6.2.1

Solve for x: (x7)(x2)=0

Answer

7, 2

The zero product property also works equally well if more than two factors are present. For example, if abc=0, then either a=0 or b=0 or c=0. Let’s use this idea in the next example.

Example 6.2.2

Solve for x: x(2x+9)(3x5)=0

Solution

The product of three factors equals zero.

x(2x+9)(3x5)=0

Using the zero product property, set each factor equal to zero, then solve the resulting equations for x.

x=0

or

2x+9=02x=9x=92

or

3x5=03x=5x=53

Hence, the solutions are x=0, x=9/2, and x=5/3. We encourage the reader to check the solution.

Exercise 6.2.2

Solve for x: 6x(x+4)(5x+1)=0

Answer

0, 4, 1/5

Linear versus Nonlinear

All of the equations solved in previous chapters were examples of what are called linear equations. If the highest power of the variable we are solving for is one, then the graphs involved are lines. Hence the term, linear equation. However, if the power on the variable we are solving for exceeds one, then the graphs involved are curves. Hence the term, nonlinear equation. In this chapter we will learn how to solve nonlinear equations involving polynomials. However, let’s first make sure we can recognize the difference between a linear and a nonlinear equation.

Definition: Linear versus Nonlinear Equations

Use the following conditions to determine if an equation is linear or nonlinear.

  1. If the highest power of the variable we are solving for is one, then the equation is linear.
  2. If the highest power of the variable we are solving for is larger than one, then the equation is nonlinear.

Example 6.2.3

If the instruction is “solve for x,” classify each of the following equations as linear or nonlinear.

  1. 3x5=47x
  2. x2=8x

Solution

Because the instruction is “solve for x,” to determine whether the equation is linear or nonlinear, we identify the largest power of x present in the equation.

  1. The highest power of x present in the equation 3x5=47x is one. Hence, this equation is linear.
  2. The equation x2=8x contains a power of x higher than one (it contains an x2). Hence, this equation is nonlinear.

Exercise 6.2.3

Classify the following equation as linear or nonlinear: 2x=x34

Answer

nonlinear

Now that we can classify equations as either linear or nonlinear, let’s introduce strategies for solving each type, the first of which should already be familiar.

Strategy for solving a linear equation

If an equation is linear, start the solution process by moving all terms containing the variable you are solving for to one side of the equation, then move all terms that do not contain the variable you are solving for to the other side of the equation.

Example 6.2.4

Solve for x: 3x5=47x

Solution

Because the instruction is “solve for x” and we note that the largest power of x present is one, the equation 3x5=47x is linear. Hence, the strategy is to move all terms containing x to one side of the equation, then move all the remaining terms to the other side of the equation.

3x5=47x Original equation. 3x5+7x=4 Add 7x to both sides. 3x+7x=4+5 Add 5 to both sides. 

Note how we have succeeded in moving all terms containing x to one side of the equation and all terms that do not contain x to the other side of the equation.

10x=9 Simplify both sides. x=910 Divide both sides by 10.

Hence, the solution of 3x5=47x is x=9/10. Readers are encouraged to check this solution.

Exercise 6.2.4

Add exercises text here.

Answer

1/4

The situation is much different when the equation is nonlinear.

Strategy for solving a nonlinear equation

If an equation is nonlinear, first move everything to one side of the equation, making one side of the equation equal to zero. Continue the solution process by factoring and applying the zero product property.

Example 6.2.5

Solve for x: x2=8x

Solution

Because the instruction is “solve for x,” and the highest power of x is larger than one, the equation x2=8x is nonlinear. Hence, the strategy requires that we move all terms to one side of the equation, making one side zero.

x2=8x Original equation. x28x=0 Subtract 8x from both sides. 

Note how we have succeeded in moving all terms to one side of the equation, making one side equal to zero. To finish the solution, we factor out the GCF on the left-hand side.

x(x8)=0Factor out the GCF.

Note that we now have a product of two factors that equals zero. By the zero product property, either the first factor is zero or the second factor is zero.

x=0 or x8=0x=8

Hence, the solutions are x=0 and x=8.

Check:

Check that each solution satisfies the original equation.

 Substitute 0 for x:x2=8x(0)2=8(0)0=0

 Subtitute 8 for x:x2=8x(8)2=8(8)64=64

Note that both results are true statements, guaranteeing that both x=0 and x=8 are solutions of x2=8x

Exercise 6.2.5

Solve for x: x2=5x

Answer

0, 5

Warning!

The following is incorrect!

Consider what would happen if we divided both sides of the equation x2=8x in Example 6.2.5 by x:

x2=8xx2x=8xxx=8

Note that we have lost the second answer found in Example 6.2.5, x=0. This example demonstrates that you should never divide by the variable you are solving for! If you do, and cancellation occurs, you will lose answers.

Let’s try solving a nonlinear equation that requires factoring by grouping.

Example 6.2.6

Solve for x: 6x2+9x8x12=0

Solution

Because we are solving for x and there is a power of x larger than one, this equation is nonlinear. Hence, the first step is to move everything to one side of the equation, making one side equal to zero. Well that’s already done, so let’s factor the left-hand side by grouping. Note that we can factor 3x out of the first two terms and 4 out of the second two terms.

fig 6.2.a.png

Factor out the common factor 2x+3.

(3x4)(2x+3)=0

We now have a product of two factors that equals zero. Use the zero product property to write:

3x4=03x=4x=43

or

2x+3=02x=3x=32

Hence, the solutions are x=4/3 and x=3/2.

Check:

Let’s use the graphing calculator to check the solution x=4/3. First, store the solution 4/3 in the variable X using the following keystrokes (see the first image in Figure 6.2.1.

fig 6.2.b.png
Figure 6.2.1 indicates that the expression 6x2+9x8x12 equals zero when x=4/3.
fig 6.2.1.png
Figure 6.2.1: Checking the solution x=4/3.

Therefore, the solution x=4/3 checks. Readers are encouraged to use their graphing calculators to check the second solution, x=3/2.

Exercise 6.2.6

Solve for x: 5x220x4x+16=0

Answer

4/5, 4

Using the Graphing Calculator

In this section we will employ two different calculator routines to find the solution of a nonlinear equation. Before picking up the calculator, let’s first use an algebraic method to solve the equation x2=5x. The equation is nonlinear, so the first step is to move everything to one side of the equation, making one side equal to zero.

x2=5x Nonlinear. Make one side zero. x2+5x=0 Add 5x to both sides. x(x+5)=0 Factor out the GCF. 

Use the zero product property, setting each factor equal to zero, then solving the resulting equations for x.

x=0

or

x+5=0x=5

Hence, the solutions are x=0 and x=5.

We’ll now use the calculator to find the solutions of x2=5x. The first technique employs the 5:intersect routine on the calculator’s CALC menu.

Example 6.2.7

Use the 5:intersect utility on the graphing calculator to solve the equation x2=5x for x.

Solution

Load the left-hand side of x2=5x in Y1 and the right-hand side in Y2 (see Figure 6.2.2). Selecting 6:ZStandard from the ZOOM menu produces the graphs shown in the image on the right in Figure 6.2.2.

fig 6.2.2.png
Figure 6.2.2: Sketch the graphs of each side of the equation x2=5x.

Note that the graph of y=x2 is a parabola that opens upward, with vertex (turning point) at the origin. This graph reveals why the equation x2=5x is called a nonlinear equation (not all the graphs involved are lines). Next, the graph of y=5x is a line with slope 5 and y-intercept at the origin.

The two graphs obviously intersect at the origin, but it also appears that there may be another point of intersection that is off the screen. Let’s increase Ymax in an attempt to reveal the second point of intersection. After some experimentation, the settings shown in the first image in Figure 6.2.3 reveal both points of intersection. Pushing the GRAPH button produces the image on the right in Figure 6.2.3.

fig 6.2.3.png
Figure 6.2.3: Adjust the WINDOW parameters to reveal both points of intersection.

To find the solutions of the equation x2=5x, we must find the coordinates of the points where the graphs of y=x2 and y=5x intersect. The x-coordinate of each point of intersection will be a solution of the equation x2=5x.

  • Start by selecting 5:intersect from the CALC menu. When prompted for the “First curve?”, press ENTER. When prompted for the “Second curve?”, press ENTER. When prompted for a “Guess,” press ENTER. The result is the point (0,0) shown in the image on the left in Figure 6.2.4.
  • Repeat the process a second time. Select 5:intersect from the CALC menu. When prompted for the “First curve?”, press ENTER. When prompted for the “Second curve?”, press ENTER. When prompted for a “Guess,” use the left-arrow key to move the cursor closer to the leftmost point of intersection, then press ENTER. The result is the point (5,25) shown in the image on the right in Figure 6.2.4.
fig 6.2.4.png
Figure 6.2.4: Use the 5:intersect utility to find the points of intersection.

Reporting the solution on your homework:

Duplicate the image in your calculator’s viewing window on your homework page. Use a ruler to draw all lines, but freehand any curves.

fig 6.2.5.png
Figure 6.2.5: Reporting your graphical solution on your homework.
  • Label the horizontal and vertical axes with x and y, respectively (see Figure 6.2.5).
  • Place your WINDOW parameters at the end of each axis (see Figure 6.2.5).
  • Label each graph with its equation (see Figure 6.2.5).
  • Drop dashed vertical lines through each point of intersection. Shade and label the x-values of the points where the dashed vertical line crosses the x-axis. These are the solutions of the equation x2=5x (see Figure 6.2.5).

Hence, the solutions of x2=5x are x=5 and x=0. Note now these match the solutions found using the algebraic technique.

Exercise 6.2.7

Use the 5:intersect utility on the graphing calculator to solve the equation x2=4x for x.

Answer

Exercise 6.2.4.png

Before demonstrating a second graphing calculator technique for solving nonlinear equations, let’s take a moment to recall the definition of a zero of a function, which was first presented in Chapter 5, Section 3.

Zeros and x-intercepts

The points where the graph of f crosses the x-axis are called the x-intercepts of the graph of f. The x-value of each x-intercept is called a zero of the function f.

We’ll now employ the 2:zero utility from the CALC menu to find the solutions of the equation x2=5x.

Example 6.2.8

Use the 2:zero utility on the graphing calculator to solve the equation x2=5x for x.

Solution

First, make one side of the equation equal to zero.

x2=5x Make one side zero. x2+5x=0 Add 5x to both sides. 

To determine the values of x that make x2+5x=0, we must locate the points where the graph of f(x)=x2+5x crosses the x-axis. These points are the x-intercepts of the graph of f and the x-values of these points are the zeros of the function f.

Load the function f(x)=x2+5x in Y1, then select 6:ZStandard to produce the image in Figure 6.2.6. Note that the graph of f has two x-intercepts, and the x-values of each of these points are the zeros of the function f.

fig 6.2.6.png
Figure 6.2.6: Sketch the graph of p(x)=x2+5x.

Note

It’s often easier to find the solutions of a nonlinear equation by making one side zero and identifying where the graph of the resulting function crosses the x-axis.

Select 2:zero from the CALC menu (see Figure \(\PageIndex{7}\)).

fig 6.2.7.png
Figure 6.2.7: Setting the left and right bounds when using the 2:zero utility to find the x-intercepts of the graph of f(x)=x2+5x.
  • The calculator responds by asking for a “Left Bound?” Use the left-arrow key to move the cursor so that it lies to the left of the x-intercept near (5,0) (see the second image in Figure 6.2.7), then press the ENTER key.
  • The calculator responds by asking for a “Right Bound?” Move the cursor so that is slightly to the right of the x-intercept near (5,0) (see the third image Figure 6.2.7), then press the ENTER key.
  • The calculator responds by asking for a “Guess?” Note the two triangular marks near the top of the viewing window in the first image in Figure 6.2.8 that mark the left- and right-bounds. As long as you place the cursor so that the x-value of the cursor location lies between these two marks, you’ve made a valid guess. Because the cursor already lies between these two marks, we usually leave it where it is and press the ENTER key.
fig 6.2.8.png
Figure 6.2.8: Setting the right bound and making a guess.

After making your guess and pressing the ENTER key, the calculator proceeds to find an approximation of the x-intercept that lies between the left- and right-bounds previously marked (see the second image in Figure 6.2.8. Hence, this x-intercept is (5,0), making 5 a zero of f(x)=x2+5x and a solution of the equation x2+5x=0.

We’ll leave it to our readers to repeat the 2:zero process to find the second zero at the origin.

Reporting the solution on your homework:

Duplicate the image in your calculator’s viewing window on your homework page. Use a ruler to draw all lines, but freehand any curves.

  • Label the horizontal and vertical axes with x and y, respectively (see Figure 6.2.9).
  • Place your WINDOW parameters at the end of each axis (see Figure 6.2.9).
  • Label each graph with its equation (see Figure 6.2.9).
  • Drop dashed vertical lines through each x-intercept. Shade and label the x-values of each x-intercept. These are the solutions of the equation x2=5x (see Figure 6.2.9).
fig 6.2.9.png
Figure 6.2.9: Reporting your graphical solution on your homework.

Hence, the solutions of x2=5x are x=5 and x=0. Note how nicely this agrees with the solutions found using the algebraic technique and the solutions found using the 5:intersect utility in Example 6.2.7.

Exercise 6.2.8

Use the 2:zero utility on the graphing calculator to solve the equation x2=4x for x.

Answer

Exercise 6.2.8.png


This page titled 6.2: Solving Nonlinear Equations is shared under a CC BY-NC-ND 3.0 license and was authored, remixed, and/or curated by David Arnold via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?