PrecalculusSystems of Equations and Matrices2 of 6
Systems of Equations and Matrices · 2
Systems of Nonlinear Equations
Solving a system of equations means finding the points (x,y) that sit on both graphs at the same time. In a nonlinear system, at least one equation is nonlinear, and the graphs can cross more than once or miss each other completely.
Where Curves Cross
0 crossings
1 crossing
2 crossings
4 crossings
1
A Parabola and a Line
We want to find the exact points (x,y) where a parabola and a straight line cross:
yy=x2−2=x
Because both equations are already solved for the height y, we are looking for the x-values where both equations give the exact same height.
A Parabola and a Line
Text solution
Set the two heights equal and solve for xAt a crossing point both curves have the same y, so we set their right-hand sides equal and bring every term to one side to factor:
x2−2x2−x−2(x−2)(x+1)x=2=x=0=0orx=−1
Plug each x into the simpler equation to find yA crossing is a point (x,y) on the graph, not just an x-value, so we plug each x back into the easier equation, y=x, to get its matching height:
At x=2:yAt x=−1:y=2=−1
So the line crosses the parabola at the two points (2,2) and (−1,−1).
2
Touching Once or Missing Completely
A line might touch the parabola at a single point or miss it altogether. We can see how the algebra shows both cases by pairing y=x2−2 with two new lines:
yy=x2−2=2x−3andyy=x2−2=x−5
When a quadratic does not factor cleanly, the number under the square root in the quadratic formula tells us whether any crossings exist:
x=2a−b±under the rootb2−4ac
Adding and subtracting 0 leaves only one answer, and a negative number under the square root means no real x can make the two heights match.
Touching Once or Missing Completely
Text solution
Repeated factor (y=x2−2 and y=2x−3)Setting the heights equal gives the same factor twice (where b2−4ac=0), which gives just a single x-value:
x2−2x2−2x+1(x−1)2xy=2x−3=0=0=1=2(1)−3=−1
So the line y=2x−3 touches the parabola at the single point (1,−1).
Negative under the square root (y=x2−2 and y=x−5)Setting the heights equal gives a quadratic. To check for real solutions, we find b2−4ac:
x2−2x2−x+3b2−4ac=x−5=0=(−1)2−4(1)(3)=−11
Because you cannot take the real square root of −11, the line passes completely below the parabola and there is no real solution.
As a line of fixed slope moves down across the parabola y=x2−2, its two crossings slide together into a single point where b2−4ac=0 and a repeated factor appears, and disappear the moment b2−4ac turns negative.
How many times the line meets the parabola matches the sign of the number under the square root and whether the combined quadratic has two different factors, one repeated factor, or none.
3
A Circle and a Line
When one of the curves is a circle, y is squared instead of sitting by itself on one side. We want to find where this circle and line cross:
x2+y2y=25=x−1
Since the line already tells us that y is x−1, we can replace y inside the circle equation with (x−1).
A Circle and a Line
Text solution
Substitute x−1 for y in the circle and expand the squareMultiply (x−1)(x−1) out term by term so you don't lose the middle term −2x, then divide every term by 2 to make factoring easier:
Plug each x back into the line y=x−1The line gives the matching y directly. Using the circle would give both positive and negative values, which we would then need to check in the line:
At x=4:yAt x=−3:y=4−1=3=−3−1=−4
So the line crosses the circle at (4,3) and (−3,−4).
4
Eliminating a Squared Block
Now suppose neither equation has a plain x or y without an exponent. We want to find where this circle and hyperbola cross:
x2+y2x2−y2=13=5
Solving for a single letter like y would force us to work with ±13−x2. Instead, we treat the whole x2 and y2 terms as blocks that we can eliminate all at once.
Eliminating a Squared Block
Text solution
Add the two equations straight down to eliminate the y2 blockBecause +y2 and −y2 have opposite signs, adding the equations cancels y2 in one step; when you take the square root to undo x2, keep both the positive and negative roots:
(x2+y2)+(x2−y2)2x2x2x=3=13+5=18=9orx=−3
Plug x=3 and x=−3 back in to find yBecause x gets squared in x2+y2=13, both 3 and −3 turn into 9 and give the same two heights:
(±3)2+y29+y2y2y=2=13=13=4ory=−2
Each pairing also satisfies the hyperbola, since x2−y2=9−4=5. So the four crossings are (3,2),(3,−2),(−3,2), and (−3,−2).
5
Substituting a Squared Block
What if one equation has x2 and y2, while the other has x2 and a plain y? Let's find where this circle and parabola cross:
x2+y2y=8=x2−2
If we plug x2−2 into y2, squaring x2 produces x4. Instead, because both equations share an x2 block, we can isolate the whole x2 block in the parabola and substitute it into the circle.
Substituting a Squared Block
Text solution
Isolate the x2 block and substitute it into the circleRearranging the parabola into x2=y+2 lets us replace x2 in the circle and get a quadratic in y:
x2(y+2)+y2y2+y−6(y+3)(y−2)y=2=y+2=8=0=0ory=−3
Test each height y in x2=y+2 to find real x-valuesReplacing x2 with y+2 removed the square, so we must check which heights actually give a non-negative value for x2:
At y=2:x2At y=−3:x2=2+2=4⟹x=2 or x=−2=−3+2=−1⟹no real x
The parabola's lowest point is at (0,−2), so it never reaches down to y=−3, leaving (2,2) and (−2,2) as the only two crossings.
At height y=2, the horizontal line hits both curves at (−2,2) and (2,2), whereas any height below the parabola's vertex at (0,−2) makes x2=y+2 negative, even at y=−3, where (−3+2)+(−3)2 still adds up to 8.
A substituted equation can still balance down below the parabola, where a squared number would have to be negative.
6
Building a Nonlinear System
When a word problem gives you a real-world situation with two unknown lengths, call them x and y and turn each separate piece of information into its own equation.
We want to find the width x and length y of a rectangular garden enclosed by 28 feet of fencing, with a 10-foot diagonal path cutting corner-to-corner across it.
Because the corner of a rectangle is a 90∘ right angle, the width x, length y, and diagonal 10 form a right triangle, where the Pythagorean theorem gives x2+y2=102.
Building a Nonlinear System
Text solution
Translate the perimeter and diagonal into two equationsAll four sides add up to 28 feet, and the right triangle formed by the diagonal has hypotenuse 10:
2x+2y=28⟹x+yx2+y2=102=14=100
Isolate y in the linear equation and substitute into x2+y2=100Rewriting the perimeter equation as y=14−x turns the system into a circle-and-line problem:
Plug each width x into y=14−x to find the length y
At x=6:yAt x=8:y=14−6=8=14−8=6
Both (6,8) and (8,6) describe the same 6-foot by 8-foot garden, just with the width and length swapped.
Every rectangle with a 28-foot perimeter sits on the line x+y=14, and its diagonal equals 10 feet at the two points where that line crosses the circle x2+y2=100:(6,8) and (8,6).
Every 28-foot-perimeter rectangle sits on the line, and its diagonal reaches 10 feet at the two crossings with the circle, giving the same garden standing upright or turned on its side.
Key concepts
Before solving any nonlinear system, look at whether the equations have a plain unsquared letter or shared squared blocks.
Three Questions for Any System
{y=x2−2y=x
{x2+y2=13x2−y2=5
{x2+y2=8y=x2−2
Where to start?
A plain x or y (no exponent) → Consider substitution
If one equation has a letter that is convenient to isolate, like y=x−1 with x2+y2=25, plug its expression into the other equation: x2+(x−1)2=25. Multiply the two-term expression by itself completely, (x−1)(x−1)=x2−2x+1, then plug the x-values into the line to find the matching y-values.
Shared x2 or y2 blocks → Consider eliminating or substituting the whole block
In the systems below, this avoids working with ±…:
Both equations contain x2 and y2: look for a way to eliminate a block, such as adding x2+y2=13 and x2−y2=5 to get 2x2=18.
One equation has x2 and a plain y: in the example y=x2−2, we can isolate the shared block as x2=y+2 and replace x2 in x2+y2=8 to get (y+2)+y2=8.
Reading the algebra at the end
Undoing a square (x2=9) requires both signs, x=3 and x=−3.
A repeated factor ((x−1)2=0, where b2−4ac=0) gave one x-value for the line and parabola that touch at (1,−1).
A negative under a root (b2−4ac<0) or a negative square (x2=−1) gives no real solution for that equation or branch. Other branches may still give real intersections.
7
Practice
1
Solve the system y=x2−3 and y=2x.
Watch out: stopping at x=3 and x=−1 leaves out the heights, and flipping the factor signs to (x+3)(x−1)=0 gives the wrong points (−3,−6) and (1,2).
Both equations give the height y. What must be true about x2−3 and 2x at a crossing point?
Set the two heights equal and move all terms to one side to factor:
x2−3x2−2x−3(x−3)(x+1)x=3=2x=0=0orx=−1
(Watch out: stopping at x=3 and x=−1 leaves out the heights, and flipping the factor signs to (x+3)(x−1)=0 gives the wrong points (−3,−6) and (1,2).)
Plug each x into y=2x:
At x=3:yAt x=−1:y=2(3)=6=2(−1)=−2
Answer: (3,6) and (−1,−2)
2
Solve the system y=x2+5 and y=4x+1.
Set the two expressions for y equal and bring every term to the left side. What do you notice about the factors?
Set the heights equal and factor the quadratic:
x2+5x2−4x+4(x−2)2x=4x+1=0=0=2
(Watch out: treating (x−2)2=0 like x2=4 and writing x=±2 adds a false second point (−2,−7).)
Plug x=2 into y=4x+1:
y=4(2)+1=9
Answer: (2,9)
3
Find all real solutions of the system y=x2+2 and y=2x−1.
Set the heights equal, move every term to one side, and check the part under the square root, b2−4ac.
Set the heights equal and bring all terms to the left side:
x2+2x2−2x+3=2x−1=0
(Watch out: subtracting 1 instead of adding 1 when moving −1 across the equals sign gives x2−2x+1=0, which factors into (x−1)2=0 and gives the wrong answer (1,1).)
Check b2−4ac under the square root:
b2−4ac=(−2)2−4(1)(3)=4−12=−8
Answer: No real solution
4
Solve the system x2+y2=10 and x−y=2.
Watch out: squaring the two terms separately as (x−2)2=x2+4 drops the −4x middle term and leads to 2x2=6, giving the wrong x-values ±3.
Isolate a plain letter in the linear equation first, and multiply the whole two-term expression by itself when squaring.
Isolate y=x−2 in the line and substitute it into the circle:
yx2+(x−2)2x2+(x2−4x+4)=x−2=10=10
(Watch out: squaring the two terms separately as (x−2)2=x2+4 drops the −4x middle term and leads to 2x2=6, giving the wrong x-values ±3.)
Combine like terms, divide by 2, and factor:
2x2−4x−6x2−2x−3(x−3)(x+1)x=3=0=0=0orx=−1
Plug each x into the line y=x−2:
At x=3:yAt x=−1:y=3−2=1=−1−2=−3
Answer: (3,1) and (−1,−3)
5
Solve the system x2+y2=25 and x2−y2=7.
Both equations are made of x2 and y2 blocks. What happens when you add the two equations straight down?
Add the two equations to eliminate the y2 block:
(x2+y2)+(x2−y2)2x2x2x=4=25+7=32=16orx=−4
Plug x2=16 into x2+y2=25:
16+y2y2y=3=25=9ory=−3
(Watch out: forgetting the negative roots when undoing x2=16 and y2=9 drops three of the four crossings and leaves only (4,3).)
Answer: (4,3),(4,−3),(−4,3), and (−4,−3)
6
Solve the system x2+y2=13 and y=x2−1.
Both equations contain an x2 block. Isolate x2 in the second equation so you can substitute it into the circle without creating x4.
Isolate the x2 block in the parabola and substitute it into the circle:
x2(y+1)+y2y2+y−12(y+4)(y−3)y=3=y+1=13=0=0ory=−4
Test both heights in x2=y+1:
At y=3:x2At y=−4:x2=3+1=4⟹x=2 or x=−2=−4+1=−3⟹no real x
(Watch out: dropping the minus sign in x2=−3 adds the false points (±3,−4), and forgetting x=−2 at y=3 leaves only (2,3).)
Answer: (2,3) and (−2,3)
7
A rectangular garden is enclosed by 34 feet of fencing, and the diagonal path corner-to-corner across it is 13 feet long. What are the width and length of the garden?
Call the width x and the length y: write one equation for all four sides of the rectangle adding up to 34 feet, and a second equation from the right triangle formed by the diagonal.
Turn the perimeter and diagonal into two equations:
2x+2y=34⟹x+yx2+y2=132=17=169
(Watch out: writing x+y=34 uses all 34 feet of fencing on just two sides instead of four, which leads to 2x2−68x+987=0 and no real solution.)