- Verberg vooruitgang Hide progress Toon vooruitgang Show progress
- Verwijder je antwoorden (op deze pagina) Remove your answers (on this page)
With few exceptions, we have spent our time in this course graphing equations relating two variables. In this section, we explore graphing inequalities relating two variables which usually a two-dimensional region in the plane instead of a one dimensional line or curve. In our first example, we restrict our attention to looking at regions in the \(xy\)-plane bounded by equations which describe \(y\) as a function of \(x\).
Sketch the following sets of points in the \(xy\)-plane.
Find a set builder description for each of the following regions described below:
The set \(R\) consists of all points \((x,y)\) whose \(y\)-coordinate is greater than \(|x|\). If we graph \(y=|x|\), we get the familiar ‘\(\vee \)’ shape with vertex at \((0,0)\). Hence, in order for an ordered pair \((x,y)\) to satisfy \(y > |x|\), the point \((x,y)\) must be above the graph of \(y = |x|\).
Since the inequality here, \(y > |x|\) is strict, we use a dashed line with which to indicate the graph of \(y=|x|\) and shade the region above, or ‘inside,’ the ‘\(\vee \)’ as shown below.
Note that one way to check our answer is to choose points both inside and outside the shaded region to verify the inequality either holds or it doesn’t, respectively.
Using the same reasoning as above we note a point \((x,y)\) is in \(S\) if its \(y\)-coordinate is less than or equal to the \(y\)-coordinate on the parabola \(y=6-x^2\). Hence, we graph the points below the parabola (\(y < 6-x^2\)) along with the points on the parabola (\(y=6-x^2\)) below.
For a point \((x,y)\) to be in \(T\), the \(y\)-coordinate must satisfy \(|x| < y \leq 6-x^2\) which means it must belong to both \(R\) and \(S\). Thus we shade the region between \(y=|x|\) and \(y=6-x^2\), keeping those points on the parabola, but not the points on \(y=|x|\).
To get an accurate graph, we need to find where these two graphs intersect, so we set \(|x| = 6-x^2\). Using the techniques discussed in Sections AbsoluteValueFunctions and QuadraticFunctions, we find \(x=-2,2\). To find the associated \(y\)-coordinates of the intersection points, we substitute \(x= \pm 2\) into either \(y = |x|\) or \(y = 6-x^2\) (or both, to check!) In both cases, we find the associated \(y\)-coordinate to be \(2\), so the intersection points are \((-2,2)\) and \((2,2)\). On our graph, however, these are the location of ‘holes’ owing to the strictness of the inequality \(y > |x|\).
Verbally, we may describe \(R\) as the region between the graphs of \(y = x^2\) and \(y = x+2\). More specifically, \(R\) is the set of points above (or on) the parabola \(y=x^2\) but below (or on) the line \(y = x+2\). That is, for the points \((x,y)\) in \(R\), we have \(x^2 \leq y \leq x+2\).
To find the restrictions on \(x\), we find the intersection of the graphs. Solving \(x^2 = x+2\) gives \(x = -1\) and \(x = 2\). Hence, to be in \(R\), points \((x,y)\) need to satisfy \(-1 \leq x \leq 2\). Hence, one way to describe \(R\) is \(R = \{ (x,y) \, | \, -1 \leq x \leq 2, \, x^2 \leq y \leq x+2 \}\).
While this answer is correct, the fact that the line and the parabola intersect only twice producing only one region where the inequality \(x^2 \leq y \leq x+2\) is true, we may shorten our description of \(R\) to just \(R = \{ (x,y) \, | \, x^2 \leq y \leq x+2 \}\).
Since we are given a verbal description of \(S\), we first sketch the graph to get a sense of the geometric situation. To graph \(f(x) = x^3-3x\), we use what we learned in Section GraphsofPolynomials: end behavior, behavior near the \(x\)-intercepts, and symmetry. The graph of \(g(x) = x\) is a line with slope \(1\) through the origin.
Graphing both of these functions on the same pair of axes, we see three intersection points. Solving \(f(x) = g(x)\), that is \(x^3-3x = x\) gives \(x = 0\) and \(x = \pm 2\). These solutions correspond to the intersection points \((-2,-2)\), \((0,0)\), and \((2,2)\). \(S\) is described as the region ‘between’ these graphs, so we shade between the graphs accordingly.
From the graph, we see that for \(-2 < x < 0\), the graph of \(f\) is above the graph of \(g\). Algebraically, this means that for all \(x\) with \(-2 \leq x \leq 0\), \(f(x) \geq g(x)\) or \(x^3-3x \geq x\). At \(x=0\), the situation changes and we have \(f(x) \leq g(x)\) or \(x^3-3x \leq x\) for \(0 \leq x \leq 2\). One to describe \(S\) is to describe each of these pieces and take their set theoretic union.
We first consider the piece for \(-2 \leq x \leq 0\). Unlike the previous problem, we cannot completely describe this region in terms of the \(y\)-values since there are two regions where \(x \leq y \leq x^3-3x\) is true: one where \(-2 \leq x \leq 0\) (the one we want) and one here \(x \geq 2\) (which we don’t want.) Hence, we describe this first piece as \( \{ (x,y) \, | \, -2 \leq x \leq 0, \, x \leq y \leq x^3-3x \}\). Following this methodology for the second piece, we obtain the complete description for \(S\) below:
A few remarks about Example ineqgraphex01 are in order. First note that each of the regions presented here can be views as graphs of relations as described in Section Relations. Moreover, there are many ways to describe a region so our answers to number describeregionex above are by no means unique.
In particular, our solution \(R = \{ (x,y) \, | \, -1 \leq x \leq 2, \, x^2 \leq y \leq x+2 \}\) to number parabolalineregionex can be visualized as ‘filling up’ the region \(R\) from the bottom curve, \(y = x^2\) to the top curve, \(y = x+2\) as \(x\) runs from the leftmost extent of the region at \(x = -1\) to the rightmost extent at \(x = 2\). The GeoGebra inteactive below captures this motion.
The notion that each \(x\) determines where to start and stop filling the region is a consequence of us viewing the bounding curves as functions of \(x\). That is, for each \(x\), we can determine the lower boundary of the region, \(y = x^2\) and the upper boundary of the region, \(y = x+2\).
There are times in Calculus where it may be convenient to describe the region \(R\) as filling up left-to-right as \(y\) varies from the bottom most extent, \(y = 0\) to the top most extent, \(y = 4\). In this case, we need to describe the bounding curves as functions of \(y\). To that end, we solve \(y = x+2\) and \(y = x^2\) for \(x\) and get three functions of \(y\): \(x = y-2\), \(x = \sqrt {y}\) and \(x = -\sqrt {y}\). The GeoGebra interactive below shows this ‘left to right’ filling action along with the bounding curves, reframed as functions of \(y\).
Based on the diagram, we see we need to describe \(R\) as two pieces. The first piece being bounded on the left by \(x = -\sqrt {y}\) and on the right \(x = \sqrt {y}\) from \(y = 0\) to \(y=1\), and the second piece bounded on the left by \(x = y-2\) and on the right by \(x= \sqrt {y}\) from \(y = 1\) to \(y = 4\). That is,
Not all regions in the plane are best described using functions of \(x\) or \(y\). Suppose, for instance, we wish to sketch the region \(\{ (x,y) \, | \, x^2 < 4 - y^2. \}\) Algebraically, we wish to plot all points \((x,y)\) for which the inequality \(x^2<4 - y^2\) is true. One way to proceed is to mimic the ‘sign diagram’ routine we use for solving nonlinear inequalities in one variable: rewrite the inequality so as to obtain \(0\) on one side of the inequality, find the zeros of the non-zero side, choose test values determined by the zeros, and record our solution.
First, we gather all of the terms on one side and leave a \(0\) on the other: \(x^2 + y^2 -4 < 0\). Next, we find the zeros of the left hand side, that is, where is \(x^2 + y^2 - 4 = 0\). Rewriting, we get \(x^2+y^2 = 4\) which describes the circle of radius \(2\) centered at the origin. In other words, instead of obtaining a few numbers which divide the real number line into intervals, we get an equation of a curve, in this case, a circle, which divides the plane into two regions - the ‘inside’ and ‘outside’ of the circle.
Just like we used test values to determine whether or not an interval belongs to the solution of the inequality, we use test points in the each of the regions to see which of these belong to our solution set. We choose \((0,0)\) to represent the region inside the circle and \((0,3)\) to represent the points outside of the circle. When we substitute \((0,0)\) into \(x^2 + y^2 -4 < 0\), we get \(-4 < 4\) which is true. This means \((0,0)\) and all the other points inside the circle are part of the solution. On the other hand, when we substitute \((0,3)\) into the same inequality, we get \(5 < 0\) which is false. This means \((0,3)\) along with all other points outside the circle are not part of the solution. What about points on the circle itself? Choosing a point on the circle, say \((0,2)\), we get \(0 < 0\), which means the circle itself does not satisfy the inequality. As a result, we leave the circle dashed in the final diagram.
We put this technique to good use in the following example.
Sketch the following regions in the \(xy\)-plane:
The inequality \(y^2 - 4 \leq x < y+2\) is a compound inequality which translates as \(y^2 - 4 \leq x\) and \(x < y+2\). Hence, our approach is to solve each inequality separately and take the set theoretic intersection to determine the region which satisfies both inequalities.
Starting with \(y^2 - 4 \leq x\), we rewrite this as \(y^2 - x - 4 \leq 0\) and set about graphing \(y^2 - x - 4 = 0\). Since only one variable is squared, we know this equation describes a parabola. Rewriting in standard form, we get \(y^2 = x+4\), so the vertex is \((-4,0)\) and the parabola opens to the right.
Using the test points \((-5,0)\) and \((0,0)\), we find that the solution to the inequality includes the region to the right of, or ‘inside’, the parabola. The points on the parabola itself are also part of the solution, owing to the ‘equality’ in the ‘inequality.’ (We could also check a point on the parabola such as \((-4,0)\) satisfies the inequality.)
Turning our attention to \(x < y+2\), we first rewrite this as \(x - y - 2 < 0\) and focus our attention on \(x-y-2 = 0\). Rewriting, we have the line \(y = x-2\) and using the test points \((0,0)\) and \((0,-4)\), we find points in the region above the line satisfy the inequality. (Owing to the strictness of the inequality, the points on the line itself do not.)
We see that these two regions do overlap but to make the graph more precise, we seek the intersection of these two curves. That is, we need to solve the system of nonlinear equations
Solving \(E1\) for \(x\), we get \(x = y^2 - 4\). Substituting this into \(E2\) gives \(y = y^2 - 4 - 2\), or \(y^2-y-6 = 0\). We find \(y = -2\) and \(y=3\) and since \(x = y^2-4\), we get that the graphs intersect at \((0,-2)\) and \((5,3)\).
Using the GeoGebra interactive below, we can select (and deselect) the graphs of each of the inequalities \(y^2 - 4 \leq x\), \(x<y+2\), and \(y^2 - 4 \leq x < y+2\) to see how the graph of the compound inequality builds from the previous two inequalities.
Like any system, our solution to this problem requires us to graph the points \((x,y)\) which satisfy both inequalities. To do this, we solve each inequality separately and take the set theoretic intersection of the solution sets.
We begin with the inequality \(x^2 + y^2 \geq 4\) which we rewrite as \(x^2+y^2 - 4 \geq 0\). The points which satisfy \(x^2 + y^2 - 4 = 0\) form the circle \(x^2+y^2 = 4\). Using test points \((0,0)\), \((0,2)\), and \((0,3)\) we find that our solution comprises the region outside the circle along with the circle itself.
Moving to \(x^2 - 2x + y^2 - 2y \leq 0\), we start with \(x^2 - 2x + y^2 - 2y = 0\). Completing the squares, we obtain \((x-1)^2 + (y-1)^2 = 2\), which is a circle centered at \((1,1)\) with a radius of \(\sqrt {2}\).
Choosing \((1,1)\) to represent the inside of the circle, \((0,0)\) as a point on the circle, and \((1,3)\) as a point outside of the circle, we find that the solution to the inequality is the inside of the circle, including the circle itself.
Our final answer, then, consists of the points on or outside of the circle \(x^2 + y^2 = 4\) which lie on or inside the circle \((x-1)^2+(y-1)^2 = 2\). To produce the most accurate graph, we need to find where these circles intersect. To that end, we solve the system
We can eliminate both the \(x^2\) and \(y^2\) by replacing \(E2\) with \(-E1 + E2\). Doing so produces \(-2x - 2y = -4\). Solving for \(y\) gives \(y = 2-x\). Substituting this into \(E1\) gives \(x^2 + (2-x)^2 = 4\) which simplifies to \(x^2 + 4-4x+x^2 = 4\) or \(2x^2 - 4x = 0\). Factoring yields \(2x(x-2)\) which gives \(x=0\) or \(x=2\). Substituting these values into \(y=2-x\) gives the points \((0,2)\) and \((2,0)\).
Once again, we can use the GeoGebra interactive below to select and deselect each the graph of each inequality to see how the final solution to the system of inequalities builds from the solution of each of the individual inequalities.
We first recall the Unit Circle is the circle centered at the origin with radius \(1\) and hence is described algebraically by the equation \(x^2+y^2 = 1\). The equation \(x^2+y^2 = 16\) describes a circle centered at the origin with radius \(4\). Hence, the ‘region between’ these two circles indicates we want is outside the Unit Circle but inside the circle \(x^2+y^2 = 16\).
Based on our experience from the earlier problems, we know points outside the Unit Circle satisfy \(x^2+y^2 > 1\) whereas the points inside the circle \(x^2+y^2 = 16\) satisfy \(x^2+y^2<16\). Hence, the points we seek satisfy both inequalities, so our solution is \(\{ (x,y) \, | \, 1 < x^2+y^2 < 16 \}\).
We close this section with a follow-up to Example circuitex in Section MatMethods. Recall in the circuit diagrammed below, we have two batteries with source voltages \(V\!B_1\) and \(V\!B_2\), measured in volts \(V\), along with six resistors with resistances \(R_1\) through \(R_6\), measured in kiloohms, \(k\Omega \).Recall if we think of electrons flowing through the circuit, we can think of the voltage sources as providing the ‘push’ which makes the electrons move, the resistors as obstacles for the electrons to overcome, and the mesh current as a net rate of flow of electrons around the indicated loops.
Using Ohm’s Law and Kirchhoff’s Voltage Law, we can relate the voltage supplied to the circuit by the two batteries to the voltage drops across the six resistors in order to find the four ‘mesh’ currents: \(i_1\), \(i_2\), \(i_3\) and \(i_4\), measured in milliamps, \(mA\). This gives rise to the following system of linear equations:
In Example circuitex, we found that under the assumptions \(V\!B_1 = 10 V\), \(V\!B_2 = 5 V\), and all the resistances are all \(1 k\Omega \), the mesh currents worked out to be \(i_1 = 10.625 \, \, mA\), \(i_2 = 6.25 \, \, mA\), \(i_3 = 3.125 \, \, mA\), and \(i_4 = 5 \, \, mA\).
In our final example, we assume \(V\!B_1 = 10 V\) and \(V\!B_2 = 5 V\) and work to find what combination of resistances would combine to produce these mesh currents.
We begin by substituting the known values of the currents into the system of equations. We get:
The coefficient matrix for this system is \(4 \times 6\) (4 equations with 6 unknowns) and is therefore not invertible. We do know, however, this system is consistent, since setting all the resistance values equal to \(1\) corresponds to our situation Example circuitex. This means we have an underdetermined consistent system which is necessarily dependent. To solve this system, we encode it into an augmented matrix
A graphing utility gives the reduced-row echelon form of the matrix as:
from which we obtain the system:
We can solve for \(R_1\), \(R_2\), \(R_4\) and \(R_5\) leaving \(R_3\) and \(R_6\) as free variables. Labeling \(R_3 = s\) and \(R_6 = t\), we have \(R_1 = - 0.\overline {7}s + 1.\overline {7}\), \(R_2 = 3.5s + 1.5t - 4\), \(R_4 = -0.6t + 1.6\) and \(R_5 = 1\).
Since resistance values are always positive, we need to restrict our values of \(s\) and \(t\). We know \(R_3 = s > 0\) and when we combine that with \(R_1 = - 0.\overline {7}s + 1.\overline {7} >0\), we get \(0 < s < 2.\overline {285714}\). Similarly, \(R_6 = t > 0\) and with \(R_4 = -0.6t + 1.6 > 0\), we find \(0 < t <2.\overline {6}\).
In order visualize the inequality \(R_2 = 3.5s + 1.5t - 4 > 0\), we graph the line \(3.5s + 1.5t - 4 =0\) on the \(ts\)-plane below on the left and shade accordingly. Imposing the additional conditions \(0 < s < 2.\overline {285714}\) and \(0 < t <2.\overline {6}\), we find our values of \(s\) and \(t\) restricted to the region \(R\) graphed below on the right.
Hence, our final answer is:
where \(s\) and \(t\) are pulled from the region \(R = \left \{ (s,t) \, | \, 0 < s < 2.\overline {285714}, \, \, 0 < t < 2.\overline {6}, \, \, 3.5s+1.5t-4 > 0\right \}\).
The reader is encouraged to check that the solution presented in Example circuitex, namely all resistance values equal to \(1\), corresponds to a pair \((s,t)\) in this region.