Lesson Solving the system of algebraic equations of degree 2 and degree 1

Algebra ->  Algebra  -> Systems-of-equations -> Lesson Solving the system of algebraic equations of degree 2 and degree 1      Log On

Ad: Algebra Solved!™: algebra software solves algebra homework problems with step-by-step help!
Ad: Algebrator™ solves your algebra problems and provides step-by-step explanations!

   

This Lesson (Solving the system of algebraic equations of degree 2 and degree 1) was created by by ikleyn(4) About Me : View Source, Show
About ikleyn:

The most general form of the polynomial equation of degree 2 with two unknowns x and y is
ax%5E2+%2B+bxy+%2B+cy%5E2+%2B+dx+%2B+ey+%2B+f+=+0, (1)
where coefficients a, b, c, d , e and f are given numbers.

In this lesson we will consider the solution procedure for the system of two equations with two unknowns.
One equation is of the form (1), while the other is the linear equation
gx+%2B+hy+%2B+i=0                       (2)
with given coefficients g, h and i.

To solve the system (1), (2) you have to find values of x and y that satisfy to both equations simultaneously.

The procedure of solution is as follows:
1) express one of the variable x or y from equation (2) via the other variable;
2) substitute this expression to the quadratic form (1) and collect common terms to reduce it to the standard quadratic equation form of one variable;
3) solve the obtained quadratic equation and get the value of the selected variable;
4) substitute the found value of the variable to equation (2) and get the value of the second variable.

Please note that methods of solution of the standard quadratic equations are described in this site in lesson 1, lesson 2 and lesson 3.

Examples below help you understand how this procedure works.

Example 1.
Solve the system of two equations
%28x-3%29%5E2%2B%28y-1%29%5E2=4                (3)
-x%2B2y=1                           (4)
Equation (3) represents the circle of the radius 2 with the center at point (3,1). This circle is shown in Figure 1 below by the red line.
Equation (4) represents straight line shown in Figure 1 in blue color.

drawing%28300%2C+200%2C+-3%2C+6%2C+-2%2C+4%2C%0D%0A+++++++++grid%281%29%2C%0D%0A+++++++++red%28circle%283%2C1%2C2%29%29%2C%0D%0A+++++++++blue%28line%28-3%2C-1%2C+6%2C+3.5%29%29%0D%0A%29
Figure 1

Let's express x from equation (4):
x+=+2y-1                              (5)
Substitute this to equation (3):
%282y-1-3%29%5E2%2B%28y-1%29%5E2=4.
Collecting of common terms leads to
5y%5E2-18y%2B13=0.                   (6)
Apply the quadratic formula
y=18%2B-sqrt%2818%5E2-4%2A5%2A13%29%2F%282%2A5%29+=+%2818%2B-sqrt%2864%29%29%2F10.
So, two roots of equation (6) are y=1 and y=2.6.
Substituting these values to (5) gives two solutions of the system (3), (4).
First solution is x=1, y=1, and the second one is x=4.2, y=2.6.
Note that these solutions represent exactly intersection points of the circle and the straight line.

Example 2.
Solve the system of two equations
%28x-3%29%5E2%2B%28y-1%29%5E2=4                 (7)
-x%2B2y=2sqrt%285%29-1                     (8)
Equation (7) represents the same circle of the radius 2 with the center at point (3,1). This circle is shown in Figure 2 below by the red line.
Equation (8) represents straight line shown in Figure 2 in blue color.
Note that the straight line in this example is tangent to the circle.

drawing%28300%2C+200%2C+-3%2C+6%2C+-2%2C+4%2C%0D%0A+++++++++grid%281%29%2C%0D%0A+++++++++red%28circle%283%2C+1%2C+2%29%29%2C%0D%0A+++++++++blue%28line%28-3%2C+0.236%2C+6%2C+4.736%29%29%0D%0A%29
Figure 2

Let's express x from equation (8)
x+=+2y-2sqrt%285%29%2B1                       (9)
Substitute this to equation (7):
%282y-2sqrt%285%29%2B1-3%29%5E2%2B%28y-1%29%5E2=4.
Collecting of common terms leads to
5y%5E2-%2810%2B8sqrt%285%29%29y%2B21%2B8sqrt%285%29=0. (10)
The discriminant of the quadratic equation (10) is equal to
d=%2810%2B8sqrt%285%29%29%5E2-4%2A5%2A%2821%2B8sqrt%285%29%29+=+0.
So, equation (10) has only one root y=(5+4*sqrt(5)/5.
Substituting this values to (9) gives the solution of the system (7), (8):
x=(15-2sqrt(5))/5, y=(5+4sqrt(5))/4.
Note that this solution represents exactly the tangent point of the circle and the straight line.

Example 3.
Solve the system of two equations
%28x-3%29%5E2%2B%28y-1%29%5E2=4                 (11)
-x%2B2y=4                            (12)
Equation (11) represents the same circle of the radius 2 with the center at point (3,1). This circle is shown in Figure 3 below by the red line.
Equation (12) represents straight line shown in Figure 3 in blue color.

drawing%28300%2C+200%2C+-3%2C+6%2C+-2%2C+4%2C%0D%0A+++++++++grid%281%29%2C%0D%0A+++++++++red%28circle%283%2C+1%2C+2%29%29%2C%0D%0A+++++++++blue%28line%28-3%2C+0.5%2C+6%2C+5%29%29%0D%0A%29
Figure 3

Let's express x from equation (12)
x+=+2y-4                              (13)
Substitute this to equation (11):
%282y-4-3%29%5E2%2B%28y-1%29%5E2=4.
Collecting of common terms leads to
5y%5E2-30y%2B50=0.                   (14)
The discriminant of the quadratic equation (14) is equal to
d=30%5E2-4%2A5%2A50+=+-100.
Because the discriminant is negative, equation (14) has no root in real numbers.
Hence, the system (11), (12) has no solution in real numbers.
Note that in this example the circle and the straight line have no intersection.

Example 4.
Solve the system of two equations
y=%28x-2%29%5E2-2                         (15)
-x%2B2y=-2                          (16)
Equation (15) represents the parabola. This parabola is shown in Figure 4 below by the red line.
Equation (16) represents straight line shown in Figure 4 in green color.

graph%28300%2C+200%2C+%0D%0A++++++++-3%2C+6%2C+%0D%0A++++++++-2%2C+4%2C%0D%0A++++++++%28x-2%29%5E2-2%2C%0D%0A++++++++0.5%2Ax-1%0D%0A%29
Figure 4

Let's express x from equation (16)
x+=+2y%2B2                              (17)
Substitute this to equation (15):
y=%282y%2B2-2%29%5E2-2.
Collecting of common terms leads to
4y%5E2-y-2=0.                        (18)
Apply the quadratic formula
y=%281%2B-sqrt%281%5E2%2B4%2A4%2A2%29%29%2F%282%2A4%29+=+%281%2B-sqrt%2833%29%29%2F8.
So, two roots of equation (18) are y=(1+sqrt(33))/8 and y=(1-sqrt(33))/8.
Substituting these values to (17) gives two solutions of the system (15), (16).
First solution is x=(9+sqrt(33))/4, y=(1+sqrt(33))/8, and the second one is x=(9-sqrt(33))/4, y=(1-sqrt(33))/8.
Note that these solutions represent exactly intersection points of the parabola and the straight line.

Example 5.
Solve the system of two equations
xy=1                                   (19)
-x%2B2y=-2                          (20)
Equation (19) represents the hyperbola y=1/x. This hyperbola is shown in Figure 5 below by the red line.
Equation (20) represents straight line shown in Figure 5 in green color.

graph%28300%2C+250%2C+%0D%0A++++++++-4%2C+4%2C+%0D%0A++++++++-4%2C+4%2C%0D%0A++++++++1%2Fx%2C%0D%0A++++++++0.5%2Ax-1%0D%0A%29
Figure 5

Let's express x from equation (20)
x+=+2y%2B2                              (21)
Substitute this to equation (19):
%282y%2B2%29y=1.
Collecting of common terms leads to
2y%5E2%2B2y-1=0.                      (22)
Apply the quadratic formula
y=%28-2%2B-sqrt%282%5E2-4%2A2%2A%28-1%29%29%29%2F%282%2A2%29+=+%28-2%2B-sqrt%2812%29%29%2F4+=+%28-1%2B-sqrt%283%29%29%2F2.
So, two roots of equation (22) are y=(-1+sqrt(3))/2 and y=(-1-sqrt(3))/2.
Substituting these values to (21) gives two solutions of the system (19), (20).
First solution is x=1+sqrt(3), y=(-1+sqrt(3))/2, and the second one is x=1-sqrt(3), y=(-1-sqrt(3))/2.
Note that these solutions represent exactly intersection points of the hyperbola and the straight line.

This lesson has been accessed 860 times.