document.write( "Question 24076: Hi my name is Lindsey and i was wondering if u could explain to me how to graph linear inequalities in two variables? thank you so much!! \n" ); document.write( "
Algebra.Com's Answer #12785 by kev82(151)\"\" \"About 
You can put this solution on YOUR website!

Hi Lindsey,

\r
\n" ); document.write( "\n" ); document.write( "

This is my first go at answering a problem, but I'll do my best and hopefully we'll both get something out of it.

\r
\n" ); document.write( "\n" ); document.write( "

I think from you're question that we're talking about inequalities that look something like:

\r
\n" ); document.write( "\n" ); document.write( "\"ax%2Bb+%3C+cx%2Bd\"\r
\n" ); document.write( "\n" ); document.write( "

Where a, b, c, d are constants, and x, y are the two variables in your graph. Of course it doesn't have to be less than, it could be any inequality, but the idea is the same.

\r
\n" ); document.write( "\n" ); document.write( "

For each possible coordinate the inequality is going to be either true or false, so the x-y plane is somehow going to be divided into two halves. The half where the inequality is true, and the half where it is false. Lets call these two halves (or regions) \"R%5Bt%5D\" where the inequality is true and \"R%5Bf%5D\" where the inequality is false.

\r
\n" ); document.write( "\n" ); document.write( "

Lets imagine that we can find the border between the two regions. Once we know where the border is then solving the problem is trivial. Take the example

\r
\n" ); document.write( "\n" ); document.write( "\"x%2B2y%3E16\"\r
\n" ); document.write( "\n" ); document.write( "

Now I'll tell you that the border between the two regions is the straight line

\r
\n" ); document.write( "\n" ); document.write( "\"y=8-0.5x\"\r
\n" ); document.write( "\n" ); document.write( "

the graph of this looks like:

\r
\n" ); document.write( "\n" ); document.write( "\"graph%28300%2C+200%2C+-4%2C+20%2C+-4%2C+12%2C+8-0.5%2Ax%29\"\r
\n" ); document.write( "\n" ); document.write( "

All we have to do is decide which side of the line is \"R%5Bt%5D\" and which side is \"R%5Bf%5D\". To do this we pick a point in one of the regions and see if it satisfies the inequality. Let's try the origin, because zero is my favourite number :)

\r
\n" ); document.write( "\n" ); document.write( "

At \"x=0\" and \"y=0\" then \"0%2B2%2A0=0%3E16\" is false. So the part of the graph containing the origin must be \"R%5Bf%5D\" hence the other side of the line is \"R%5Bt%5D\".

\r
\n" ); document.write( "\n" ); document.write( "

I don't know how to shade in a graph here, but you can go and shade in \"R%5Bt%5D\" on your graph. Also you need to work out if the line is in \"R%5Bt%5D\", but that's easy. Just pick a point on the line and try it.

\r
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "\n" ); document.write( "

I'm sure you don't need to know why this works, but think about it like this. Take the inequality \"a%3C=b\" and lets imagine that we are in \"R%5Bt%5D\" One way to get into \"R%5Bf%5D\" is by increasing \"a\". \"b\" is the largest value \"a\" can have and still be in \"R%5Bt%5D\" so \"a=b\" must be on the border.

\r
\n" ); document.write( "\n" ); document.write( "

Ok, so now hopefully you can do it. Let's try an example before I go.

\r
\n" ); document.write( "\n" ); document.write( "\"3x%2B2%3E5y%2B8\"\r
\n" ); document.write( "\n" ); document.write( "

First thing to do is find the border, it is given by

\r
\n" ); document.write( "\n" ); document.write( "\"3x%2B2=5y%2B8\"\r
\n" ); document.write( "\n" ); document.write( "

Rearrranging this gives

\r
\n" ); document.write( "\n" ); document.write( "\"y=%283x-6%29%2F5\"\r
\n" ); document.write( "\n" ); document.write( "

The graph of this line looks like

\r
\n" ); document.write( "\n" ); document.write( "\"graph%28300%2C+300%2C+-3%2C+3%2C+-3%2C+3%2C+0.6%2Ax-1.2%29\"\r
\n" ); document.write( "\n" ); document.write( "

Now we just pick a point in one of the regions, the origin looks easy \"3%2A0%2B2%3E5%2A0%2B8\" is false, so the origin is in \"R%5Bf%5D\" and you shade the other side of the line \"R%5Bt%5D\"

\r
\n" ); document.write( "\n" ); document.write( "

If the origin is on the line, then you can't use it. If you don't believe me try the inequality \"x%3E=3y\" but you can choose any point you like in either region.

\r
\n" ); document.write( "\n" ); document.write( "

I hope this was helpful, if you don't understand anything please get back to me

\r
\n" ); document.write( "\n" ); document.write( "

Kev

\n" ); document.write( "
\n" );