{"id":8831,"date":"2015-03-03T20:40:28","date_gmt":"2015-03-03T20:40:28","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=8831"},"modified":"2018-11-14T18:10:00","modified_gmt":"2018-11-14T18:10:00","slug":"math-how-to-graph-a-linear-inequality-in-two-variables","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/math-how-to-graph-a-linear-inequality-in-two-variables\/","title":{"rendered":"Math:  how to graph a linear inequality in two variables"},"content":{"rendered":"<h1>Graphing linear inequalities is covered in high school math.<\/h1>\n<p>Let&#8217;s imagine you need to graph the inequality<\/p>\n<p style=\"text-align:center\">2x-3y\u226412<\/p>\n<p>I recommend that to start, you graph the corresponding equation<\/p>\n<p style=\"text-align:center\">2x-3y=12<\/p>\n<p>which will be a line.  (See my post <a href=\"?p=3683\">here<\/a> about how to graph a line.)<\/p>\n<p>To graph 2x-3y=12, we might start with a table of values in which we set first x to 0, then y:<\/p>\n<p><img decoding=\"async\" src=\"\/blog\/blogfiles\/ineqtab0.png\" style=\"display:block;margin-left:auto;margin-right:auto\"\/><\/p>\n<p>To find y when x=0, we substitute 0 in for x and solve:<\/p>\n<p style=\"text-align:center\">2(0)-3y=12<\/p>\n<p style=\"text-align:center\">-3y=12<\/p>\n<p>Dividing both sides by -3 gives<\/p>\n<p style=\"text-align:center\">y=-4<\/p>\n<p>Next, we find x when y=0:<\/p>\n<p style=\"text-align:center\">2x-3(0)=12<\/p>\n<p style=\"text-align:center\">2x=12<\/p>\n<p>Dividing both sides by 2 gives<\/p>\n<p style=\"text-align:center\">x=6<\/p>\n<p>We can complete our table now:<\/p>\n<p><img decoding=\"async\" src=\"\/blog\/blogfiles\/ineqtab1.png\" style=\"display:block;margin-left:auto;margin-right:auto\"\/><\/p>\n<p>Next, we plot the two points from the table, (0,-4) and (6,0), on a graph and draw a line through them:<\/p>\n<p><img decoding=\"async\" src=\"\/blog\/blogfiles\/ineq00.png\" style=\"display:block;margin-left:auto;margin-right:auto\"\/><\/p>\n<p>We have graphed the equation 2x-3y=12.  To graph the <strong>inequality<\/strong> 2x-3y\u226412, we will need to shade on one side of the line.  To determine which side, we use a <strong>test point<\/strong>, which is <strong>a point not on our line<\/strong>.  When we can, we like to use (0,0).  In this case, we can use (0,0), since it&#8217;s not on the line we&#8217;ve drawn.<\/p>\n<p>We plug our test point, which is in this case (0,0), into 2x-3y&le;12:<\/p>\n<p style=\"text-align:center\">2(0)-3(0)&le;12<\/p>\n<p>which gives<\/p>\n<p style=\"text-align:center\">0&le;12<\/p>\n<p>Since the statement 0&le;12 is <span style=\"font-variant:small-caps\">true<\/span>, we shade the side (0,0) is on:<\/p>\n<p><img decoding=\"async\" src=\"\/blog\/blogfiles\/ineq0.png\" style=\"display:block;margin-left:auto;margin-right:auto\"\/><\/p>\n<p><u>Points to note about graphing inequalities in general:<\/u><\/p>\n<p>1)  If the test point makes your inequality <em>false<\/em>, you shade <em>the other side of the line<\/em>, not the side on which the test point is found.<\/p>\n<p>2)  If your line passes through (0,0), you must choose another test point instead.  Perhaps you could use (0,1) or (1,0) in such a case.<\/p>\n<p>3)  If the inequality is a strict inequality (that is, it uses < or > rather than &le; or &ge;), you use a dotted line rather than a solid line.<\/p>\n<p>While there are still more points to raise about this topic, the content here is a good primer.  I&#8217;ll continue with linear inequalities and their graphs in future posts.<\/p>\n<p>HTH:)<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Graphing linear inequalities is covered in high school math. Let&#8217;s imagine you need to graph the inequality 2x-3y\u226412 I recommend that to start, you graph the corresponding equation 2x-3y=12 which will be a line. (See my post here about how &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/math-how-to-graph-a-linear-inequality-in-two-variables\/\"> <span class=\"screen-reader-text\">Math:  how to graph a linear inequality in two variables<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[560,561,562,563],"class_list":["post-8831","post","type-post","status-publish","format-standard","hentry","category-math","tag-how-to-graph-a-linear-inequality","tag-how-to-graph-an-inequality-in-two-variables","tag-test-point","tag-where-to-shade-an-inequality"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/8831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=8831"}],"version-history":[{"count":44,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/8831\/revisions"}],"predecessor-version":[{"id":36187,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/8831\/revisions\/36187"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=8831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=8831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=8831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}