41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjab- 3+k =-2 or 9 + 3k = -8 + 4k i.e., k = 17 - 4 + 2k 3 Substituting k = 17 into (3), equation of the member of the family is20x + 30 y -180 =0 i.e., 2x + 3y -18 =0 (ii) Slope of 3x - 4 y +1 =0 (4)is 3 . Since (3) is to be perpendicular to (4), we have - 3+k × 3 =- 1 4 - 4 + 2k 4 or 9 + 3k =-16 + 8k or k = 5 Inserting this value of k into (3), we get 4x + 3y - 30 =0 which is required equation ofthe line.Theorem: Altitudes of a triangle are concurrent.Proof. Let the coordinates of the vertices of ∆ ABC be asshown in the igure. y2 - y3 x2 - x3 Then slope of BC = Therefore slope of the altitude AD = - x2 - x3 y2 - y3 Equation of the altitude AD is y - y1 =- x2 - x3 (x - x1) (Point-slope form) y2 - y3 or x (x2 - x3) + y (y2 - y3) - x1 (x2 - x3) - y1 (y2 - y3) = 0 (1)Equations of the altitudes BE and CF are respectively (by symmetry) x (x3 - x1) + y ( y3 - y1) - x2 (x3 - x1) - y2 ( y3 - y1) =0 (2)and x (x1 - x2 ) + y ( y1 - y2 ) - x3 (x1 - x2 ) - y3 ( y3 - y1) =0 (3)The three lines (1), (2) and (3) are concurrent if and only if x2 - x3 y2 - y3 - x1 (x2 - x3) - y1 ( y2 - y3) D= x3 - x1 y3 - y1 - x2 (x3 - x1) - y2 ( y3 - y1) is zero x1 - x2 y1 - y2 - x3 (x1 - x2 ) - y3 ( y1 - y2 ) version: 1.1 37
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.Punjab Adding 2nd and 3rd rows to the 1st row of the determihant, we have 00 0 x3 - x1 y3 - y1 - x2 (x3 - x1) - y2 ( y3 - y1) =0 x1 - x2 y1 - y2 - x3 (x1 - x2 ) - y3 ( y1 - y2 )Thus the altitudes of a triangle are concurrent.Theorem: Right bisectors of a triangle are concurrent.Proof. Let A (x1, y1) , B (x2, y2 ) and C (x3, y3) be the verticesof ∆ABC The midpoint D of BC has coordinates x2 + x3 , y2 + y3 2 2Since the slope of BC is y2 - y3 , the slope of the right bisector DO of BC is - x2 - x3 x2 - x3 y2 - y3Equation of the right bisector DO of BC is y- y2 +- y3 =yx22 --- x3 x x2 + x3 (Point-slope form) 2 y3 2 or x (x2 - x3) +y ( y2 - y3) -1 ( y22 - y32 ) -1 (x22 - x32 ) =0 (1) 2 2By symmetry, equations of the other two right bisectors EO and FO are respectively: x (x3 - x1) +y ( y3 - y1) -1 ( y32 - y12 ) -1 (x32 - x12 ) =0 (2) 2 2 (3)and x (x1 - x2 ) +y ( y1 - y2 ) -1 ( y12 - y22 ) -1 (x12 - x22 ) =0 2 2The lines (1), (2) and (3) will be concurrent if and only if version: 1.1 38
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjabx2 - x3 y2 - y3 -1 ( y22 - y32 ) -1 (x22 - x32 )x3 - x1 y3 - y1 2 2x1 - x2 y1 - y2 -1 ( y32 - y12 ) -1 (x32 - x12 ) =0 2 2 -1 ( y12 - y22 ) -1 (x12 - x22 ) 2 2Adding 2nd and 3rd rows to 1st row of the determinant, we have00 0x3 - x1 y3 - y1 -1 ( y32 - y12 ) -1 (x32 - x12 ) =0x1 - x2 y1 - y2 2 2 -1 ( y12 - y22 ) -1 (x12 - x22 ) 2 2Thus the right bisectors of a triangle are concurrent.Note: If equations of sides of the triangle are given, then intersection of any two lines gives a vertex of the triangle.4.4.4 Distance of a point from a lineTheorem: The distance d from the point P(x1, y1) to the line ll : ax + by + c =0 (1) is given by d = ax1 + by1 + c and a2 + b2Proof: Let l be non-verticalnon-horizontal line.From P, drawPQR ⊥ Ox and PM ⊥ l . Let the ordinate of Q be y2 so thatcoordinates of Q are (x1, y2 ) . Since Q lies onl , we have ax1 + by2 + c =0 version: 1.1 39
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.Punjab or y2 = -ax1 - c bFrom the igure it is clear that ∠MPQ = a = theinclination of l . No==w tana slope of l -a bTherefore, cosa = b y1 - y2 cosa a2 + b2 PM = d= PQ cosa=Thus = y1 - -ax1 - c . b b a2 + b2== by1 + ax1 + c . b ax1 + by1 + c -c b a2 + b2 a2 + b2 b If l is horizontal, its equation is of the form y= and the distance from P( x1 , y1) to lis simply the diference of the y-values. ∴ d= y1 - - c = by1 + c b bSimilarly, if the line is vertical and has eq=u=ation: x -c then d ax1 + c a aNote: If the point P(x1 , y1) lies on l , then the distance d is zero, sinceP(x1 , y1) satisies the equation i.e., ax1 + by1 + c =04.4.5 Distance Between two Parallel Lines The distance between two parallel lines is the distance from any point on one of thelines to the other line.Example: Find the distance between the parallel lines l :2x - 5y +13 =0 and l2:2x - 5y + 6 =0 version: 1.1 40
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.PunjabSolution: First ind any point on one of the lines, say l1 . If x = 1 Challenge! by Check the answerlies on l1 , theny = 3 and the point (1,3) lies on it. The distance d from (1, 3) takingto l2 is (i) any other point on l1 (ii) any point of l2 and==d 2(1) -=5(3) + 6 2 -15 + 6 7 inding its distance from l1 (-2)2 + 52 4 + 25 29The distance between the parallel lines is 7 . 294.4.6 Area of a Triangular Region Whose Vertices are Given To ind the area of a triangular region whose vertices are:P(x1, y1) , Q(x2, y2 ) and R(x3, y3) .Draw perpendiculars PL , QN and RM on x -axis.Area of the triangular region PQR = Area of the trapezoidal region PLMR + Area of the trapezoidal region RMNQ - Area of the trapezoidal region PLNQ . = (1 PL + RM )( LM ) + 1 ( RM + QN )( MN )- 1 ( PL + QN )( LN ) 2 2 2 =1 [( y1 + y3 )( x3 - x1)+ ( y3+ y2 )(x2- x3 )- ( y1+ y2 )(x2- x1)] 2= 1 (x3 y1 + x3 y3 - x1 y1 + x1 y3 + x2 y3 + x2 y2 - x3 y3 - x2 y1 - x2 y2 + x1 y1 + x1 y2 ) 2( )= 1 2 x3 y1 - x1 y3 + x2 y3 - x3 y2 - x2 y1 + x1 y2 Have you observed that:Thus required area A is given by: ∆ =1 x1 y1 1 2 x2 y2 1 1=∆ 2 [x1( y2 - y3 ) + x2 ( y3 - y1) + x3 ( y1 - y2 )] x3 y3 1Corollary: If the points P,Q and R are collinear, then ∆ =0 version: 1.1 41
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.PunjabNote: In numerical problems, if sign of the area is negative, then it is to be omitted.Example 1: Find the area of the region bounded by the triangle with vertices (a,b + c ) ,(a , b - c) and (-a , c).Solution: Required area ∆ is a b+c 1 Trapezium:=∆ 1 a b - c 1 A quadrilateral having two parallel and two non-parallel sides. 2 -a c 1 Area of trapezoidal region: a b+c 1 1 (sum of sides) (distance between sides)- =1 0 2c 2 2 -a c -0 , by R2 R1 1 =1 [-2c(a + a)] , expanding by the second row 2 = -2caThus ∆ = 2caExample 2: By considering the area of the region bounded by the triangle with vertices A (1, 4), B (2, - 3) and C (3, - 10)check whether the three points are collinear or not.Solution: Area ∆ of the region bounded by the triangle ABC is 1 41 1 41 12 11=∆ 2 - 3 1= 2 -7 0 by R2 - R1 and R3 - R1 -10 1 -14 0 3 3 = 1 [1(-14 +14)], expanding by third column 2 =0Thus the points are collinear. version: 1.1 42
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjab EXERCISE 4.31. Find the slope and inclination o f the line joining the points: (i) (-2, 4) ; (5, 11) (ii) (3, -2) ; (2, 7) (iii) (4, 6) ; (4, 8) Sketch each line in the plane.2. In the triangle A (8, 6) B (-4, 2), C (-2 , -6) , ind the slope of (i) each side of the triangle (ii) each median of the triangle (iii) each altitude of the triangle.3. By means of slopes, show that the following points lie on the same line:(a) (-1, -3) ; (1, 5) ; (2, 9) (b) (4 ,-5) ; (7, 5) ; (10, 15)(c) (-4, 6) ; (3, 8) ; (10, 10) (d) (a, 2b): (c, a + b); (2c - a, 2a)4. Find k so that the line joining A (7, 3); B (k, -6) and the line joining C (-4, 5) ; D (-6, 4) are (i) parallel (ii) perpendicular.5. Using slopes, show that the triangle with its vertices A (6, 1), B (2, 7) and C (-6, -7) is a right triangle.6. The three points A (7, -1), B (-2, 2) and C (1, 4) are consecutive vertices of a parallelogram. Find the fourth vertex.7. The points A (-1, 2), B (3, -1) and C (6, 3) are consecutive vertices of a rhombus. Find the fourth vertex and show that the diagonals of the rhombus are perpendicular to each other.8. Two pairs of points are given. Find whether the two lines determined by these points are :(i) parallel (ii) perpendicular (iii) none. (a) (1, -2), (2, 4) and (4, 1), (-8, 2) (b) (-3, 4 ), (6, 2) and (4, 5), (-2, -7)9. Find an equation of(a) the horizontal line through (7, -9)(b) the vertical line through (-5, 3) version: 1.1 43
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.Punjab (c) the line bisecting the irst and third quadrants. (d) the line bisecting the second and fourth quadrants.10. Find an equation of the line (a) through A (-6, 5) having slope 7 (b) through (8, -3) having slope 0 (c) through (-8 , 5) having slope undeined (d) through (-5, -3) and (9, -1) (e) y-intercept: -7 and slope: -5 (f) x-intercept: -3 and y-intercept: 4 (g) x-intercept: -9 and slope: -411. Find an equation of the perpendicular bisector of the segment joining the points A (3 ,5) and B (9, 8).12. Find equations of the sides, altitudes and medians of the triangle whose vertices are A (-3, 2), B (5, 4) and C (3, -8).13. Find an equation of the line through (-4, -6) and perpendicular to a line having slope -3 214. Find an equation of the line through (11, -5) and parallel to a line with slope -24.15. The points A (-1, 2), B (6, 3) and C (2, -4) are vertices of a triangle. Show that the line joining the midpoint D of AB and the midpoint E of AC is parallel to BC and DE = 1 BC . 216. A milkman can sell 560 litres of milk at Rs. 12.50 per litre and 700 litres of milk at Rs. 12.00 per litre. Assuming the graph of the sale price and the milk sold to be a straight line, ind the number of litres of milk that the milkman can sell at Rs. 12.25 per litre.17. The population of Pakistan to the nearest million was 60 million in 1961 and 95 million in 1981. Using t as the number of years after 1961, ind an equation of the line that gives the population in terms of t. Use this equation to ind the population in (a) 1947 (b) 1997. version: 1.1 44
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjab18. A house was purchased for Rs.1 million in 1980. It is worth Rs. 4 million in 1996. Assuming that the value increased by the same amount each year, ind an equation that gives the value of the house after t years of the date of purchase. What was its value in 1990?19. Plot the Celsius (C) and Fahrenheit (F) temperature scales on the horizontal axis and the vertical axis respectively. Draw the line joining the freezing point and the boiling point of water. Find an equation giving F temperature in terms of C.20. The average entry test score of engineering candidates was 592 in the year 1998 while the score was 564 in 2002. Assuming that the relationship between time and score is linear, ind the average score for 2006.21. Convert each of the following equation into(i) Slope intercept form (ii) two intercept form (iii) normal form(a) 2x - 4 y +11 =0 (b) 4x + 7 y - 2 =0 (c) 15y - 8x +13 =0Also ind the length of the perpendicular from (0, 0) to each line.22. In each of the following check whether the two lines are(i) parallel(ii) perpendicular(iii) neither parallel nor perpendicular(a) =2x + y - 3 0 ; 4=x + 2 y + 5 0(b) 3y = 2x + 5 ; 3x+ 2 y- 8= 0(c) 4 y=+ 2x -1 0 ; x=- 2 y - 7 0(d) =4x - y + 2=0- ;+ 12x 3y 1 0(e) 12x + 35=y - 7 0 ; 105x - 36=y +11 023. Find the distance between the given parallel lines. Sketch the lines. Also ind an equation of the parallel line lying midway between them. (a) 3x =- 4 y + 3 0 ; 3x -=4 y + 7 0 (b) 12x=+ 5y - 6 0 ; 12x +=5y +13 0 (c) =x + 2 y =- 5 0 + ; 2x 4 y 1 version: 1.1 45
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.Punjab24. Find an equation of the line through (-4, 7) and parallel to the line 2x - 7 y + 4 =0 .25. Find an equation of the line through (5, -8) and perpendicular to the join of A (-15, -8), B (10, 7).26. Find equations of two parallel lines perpendicular to 2x - y + 3 =0 such that the product of the x-and y-intercepts of each is 3.27. One vertex of a parallelogram is (1, 4); the diagonals intersect at (2, 1) and the sides have slopes 1 and -1 . Find the other three vertices. 728. Find whether the given point lies above or below the given line (a) (5, 8) ; 2x - 3y + 6 =0 (b) (-7, 6) ; 4x + 3y - 9 =029. Check whether the given points are on the same or opposite sides of the given line. (a) (0, 0) and (-4, 7) ; 6x - 7 y + 70 =0 (b) (2, 3) and (-2, 3) ; 3x - 5y + 8 =030. Find the distance from the point P(6, -1) to the line 6x - 4y + 9 = 0.31. Find the area of the triangular region whose vertices are A (5, 3), B (-2, 2), C (4, 2).32. The coordinates of three points are A(2, 3), B(-1, 1) and C(4, -5). By computing the area bounded by ABC check whether the points are collinear.4.5. ANGLE BETWEEN TWO LINES Let l1 and l2 be two intersecting lines, which meet at a point P. At the point P twosupplementary angles are formed by the lines l1 and l2 . Unless l1 ⊥ l2 one of the two angles is acute. The angle from l1 to l2 is the angle qthrough which l1 is rotated anti-clockwise about the point P so that it coincides with l2 In the igure below q is angle of intersection of the two lines and it is measured froml1 to l2 in counterclockwise direction, ψ is also angle of intersection but it is measured froml2 to l1 . With this convention for angle of intersection, it is clear that the inclination of a line isthe angle measured in the counterclockwise direction from the positive x-axis to the line,and it tallies with the earlier deinition of the inclination of a line. version: 1.1 46
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.PunjabTheorem: Let l1 and l2 be two non-vertical lines such that they are not perpendicularto each other. If m1 and m2 are the slopes of l1 and l2 respectively: the angle q from l1 to l2 isgiven by;tanq = m2 - m1 1 + m1m2Proof: From the igure, we have a=2 a1 + qor q= a2 - a1∴ tanq= tan(a2 - a1) = tana2 - tana1 = m2 - m1 1 + tana1 tana2 1 + m1m2Corollary 1. l1 l2 if and only if m1 = m2⇔ ta=nq =0 1m+2 m-1mm12⇔ m2 =m1Corollary 2. l1 ⊥ l2 iff 1 + m1m2 =0 ⇔ tanq =1m+2 m-1mm12∞=tan⇔p2 =+ =1 m1m2 0These two results have already been stated in 4.3.1.Example 1: Find the angle from the line with slope -7 to the line with slope 5 . 32Solution: Here=m2 52=, m1 -7 . If q is measure of the required angle, then 3 version: 1.1 47
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.Punjabtanq = 5 - -7 = 29 = -1 2 3 -29 1 + 5 -7 2 3Thus q = 135Example 2: Find the angles of the trianglewhose vertices are A (-5, 4), B (-2, -1), C (7, -5)Solution: Let the slopes of the sides AB, BC and CAbe denoted by mc , ma , mb respectively. Then=mc -=45++12 -35=, ma -7=5++21 -9=4 , mb -7=5+-54 -3 4Now angle A is measured from AB to AC. or m A 1=m=+b m-bmm=cc 1 + -4-433+ 5=tan A 3 -5 11 22.2 3 27The angle B is measured from BC to BA mc - ma -5 + 4 = -33∴ tan B = 1+ mcma = 39 47 or m B =144.9 1 -5 -4 + 3 9The angle C is measured from CA to CB. - mb -4 + 3 mamb∴ tan A= ma = 9 4 = 11 or m C =12.9 1+ 1 -4 -3 48 + 9 4 version: 1.1 48
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjab4.5.1 Equation of a Straight Line in Matrix form It is easy to solve two or three simultaneous linear equations by elementary methods.If the number of equations and variables become large, the solution of the equations byordinary method becomes very diicult. In such a case, given equations are written in matrixform and solved.One Linear Equation: (1)A linear equation l:ax + by + c =0in two variables x and y has its matrix form as: [ax + by] =[-c]or [a b] x = [-c] yor AX= Cwhere A= [a b], X= x and C= [-c] y A System of Two Linear Equations:A system of two linear equations l1 : a1x + b1 y + c ==00 (2) l : a2x + b2 y + cin two variables x and y can be written in matrix form as: aa12xx + b1 y = -c1 + b2 y -c2or a1 b1 x = --cc12 (3) a2 b2 yor AX=C version: 1.1 49
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.Punjabw=h=ere A aa12 b1 , X x and C = --cc12 b2 yEquations (2) have a solution if det A ≠ 0 .A System of Three Linear Equations:A system of three linear equations l1 : aaa132xxx+++bbb132yyy+++ccc132===000 (5) l2 : l3 :in two variables y and y takes the matrix form as a1x + b1 y + c1 =000 a2 x + b2 y + c2 a3 x + b3 y + c3or aaa132 b1 c1 x = 00 b2 c2 y 0 b3 c3 1If the matrix aaa132 b1 c1 is singular, then the lines (5) are concurrent b2 c2 and so the system (5) has a unique solution. b3 c3Example 1: Express the system 3x + 4 y - 7 ==00 2x - 5 y + 8 x + y - 3 =0 in matrix form and check whether the three lines are concurrentSolution. The matrix form of the system is version: 1.1 50
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjab32 4 -7 xy =00 -5 81 1 - 3 1 0Coeicient matrix of the system isA =132 415 --873 and d-et A 0 12 =by R1 - 3R3 - 0 and R2 - 2R3 1 7 14 1 -3and det A = 1(14+14) = 28 ≠ 0As A is non-singular, so the lines are not concurrent.Example 2: Find a system of linear equations corresponding to the matrix form 134 2 156 1xy = 000 (1) 5 7Are the lines represented by the system concurrent?Solution: Multiplying the matrices on the L.H.S. of (1), we have x + 2y + 5 0 34xx ++16 =00 + 5y (2) + 7yBy using the deinition of equality of two matrices, we have from (2), x + 2 y + 5 =0 3x + 5y +1 =0 4x + 7 y + 6 =0as the required system of equations. The coeicient matrix A of the system is such that 1 25 1 2 5 det A = 3 5 1 = 0 -1 -14 = 0 4 7 6 0 -1 -14Thus the lines of the system are concurrent. version: 1.1 51
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.Punjab EXERCISE 4.41. Find the point of intersection of the lines (i) =x - 2 y=+1 0- +and 2x y 2 0 (ii) =3x + y +12=0+ a-nd x 2 y 1 0 (iii) =x + 4 y -12 =0 - a+nd x 3y 3 02. Find an equation of the line through(i) the point (2, -9) and the intersection of the lines=2x + 5y - 8=0 - an-d 3x 4 y 6 0(ii) the intersection of the lines=x - y -=4 0 + + and 7x y 20 0 and(a) parallel (b) perpendicularto the line 6x + y -14 =0(iii) through the intersection of the lines x + 2 y + 3 =0 , 3x + 4 y + 7 =0 and makingequal intercepts on the axes.3. Find an equation of the line through the intersection of16x - 10y - 33 = 0 ; 12x - 14y - 29 = 0 and the intersection ofx - y + 4 = 0 ; x - 7y + 2 = 04. Find the condition that the lines y =m1x + c1; y =m2x + c2 and =y m3x + c3 are concurrent.5. Determine the value of p such that the lines 2x - 3y - 1 = 0, 3x - y - 5 = 0 and 3x + 4y + 8 = 0 meet at a point.6. Show that the lines 4x - 3y - 8 = 0 , 3x - 4y - 6 = 0 and x - y - 2 = 0 are concurrent and the third-line bisects the angle formed by the irst two lines.7. The vertices of a triangle are A (-2, 3), B (-4, 1) and C (3, 5). Find coordinates of the(i) centroid (ii) orthocentre(iii) circumcentre of the triangleAre these three points collinear?8. Check whether the lines4x - 3y - 8 =0 ; 3x - 4 y - 6 =0; x - y - 2 =0are concurrent. If so, ind the point where they meet version: 1.1 52
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjab9. Find the coordinates of the vertices of the triangle formed by the linesx - 2 y - 6 =0; 3x - y + 3 =0; 2x + y - 4 =0Also ind measures of the angles of the triangle.10. Find the angle measured from the line l1 to the line l2 where(a) l1 : Joining(2, 7) and (7,10) l2 : Joining(1,1) and (-5, 3)(b) l1: Joining (3,-1) and (5,7) l2 : Joining (2,4) and (-8,2)Also ind the acute angle in each case.(c) l1: Joining (1,- 7) and (6, - 4) l2: Joining (-1,2) and (-6,-1)(d) l1: Joining (-9,-1) and (3,-5) l2 :Joining (2,7) and (-6,- 7)11. Find the interior angles of the triangle whose vertices are (a) A (-2, 11), B (-6, -3), (4, -9) (b) A (6, 1), B (2, 7), C(-6, -7) (c) A (2, -5), B (-4, -3), (-1, 5) (d) A (2, 8), B (-5, 4), C(4, -9)12. Find the interior angles of the quadrilateral whose vertices are A (5, 2), B (-2, 3), C (-3, -4) and D (4, -5)13. Show that the points A (0, 0), B (2, 1), C (3, 3), D (1, 2) are the vertices of a rhombus. Find its interior angles.14. Find the area of the region bounded by the triangle whose sides are 7x - y -10 =0; 10x + y -14 =0; 3x + 2 y + 3 =015. The vertices of a triangle are A(-2, 3), B(-4, 1) and C(3, 5). Find the centre of the circumcircle of the triangle. version: 1.1 53
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.Punjab16. Express the given system of equations in matrix form. Find in each case whether the lines are concurrent. (a) x + 3y - 2 =0; 2x - y + 4 =0; x -11y +14 =0 (b) 2x + 3y + 4 =0; x - 2 y - 3 =0; 3x + y - 8 =0 (c) 3x - 4 y - 2 =0; x + 2 y - 4 =0; 3x - 2 y + 5 =0.17. Find a system of linear equations corresponding to the given matrix form. Check whether the lines represented by the system are concurrent. (a) 102 0 -161 1xy = 000 (b) 132 1 --253 1xy =000 4 0 6 -14.6 HOMOGENEOUS EQUATION OF THE SECOND DEGREE IN TWO VARIABLES We have already seen that if a graph is a straight line, then its equation is a linearequation in the variables x and y. Conversely, the graph of any linear equation in x and y is astraight line. Suppose we have two straight lines represented byand a1x + b1y + c1 =0 (1) a2x + b2 y + c2 =0 (2) Multiplying equations (1) and (2), we have (3) (a1x + b1y + c1 )(a2x + b2 y + c2 ) =0 It is a second degree equation in x and y. Equation (3) is called joint equation of the pair of lines (1) and (2). On the other hand,given an equation of the second degree in x and y, say ax2 + 2hxy + by2 + 2gx + 2 fy + c =0 (4) where a ≠ 0 , represents equations of a pair of lines if (4) can be resolved into two linearfactors. In this section, we shall study special joint equations of pairs of lines which passthrough the origin. version: 1.1 54
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjab Let y = m1x and y = m2x be two lines passing through the origin. Their joint equation is:( y - m1x)( y - m2x) =0or y2 - (m1 + m2 ) xy + m1m2x 2 =0 (5)Equation (5) is a special type of a second degree homogeneous equation.4.6.1 Homogeneous EquationLet f ( x, y) = 0 (1)be any equation in the variables x and y. Equation (1) is called a homogeneous equationof degree n (a positive integer) iff (kx,ky) = k n f ( x, y)for some real number k. For example, in equation (5) above if we replace x and y by kx and ky respectively, wehave k 2 y2 - k 2 (m1 + m2 ) xy + k 2m1m2x2 =0 or k 2 y2 - (m1 + m=2 ) xy=+ m1m2x 2 0 i.e., k 2 f ( x, y) 0 Thus (5) is a homogeneous equation of degree 2. ax2 + 2hxy + by2 =0A general second degree homogeneous equation can be written as: ax2 + 2hxy + by2 =0provided a, h and b are not simultaneously zero.Theorem: Every homogenous second degree equationax2 + 2hxy + by2 =0 (1)represents a pair of lines through the origin. The lines are ab(i) real and distinct, if h2 > ab (ii) real and coincident, if h(iii) imaginary, if h2 < ab version: 1.1 55
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.PunjabProof: Multiplying (1) by b and re-arranging the terms, we haveb2 y2 + 2bhxy + abx2 =0or b2 y2 + 2bhxy + h2x2 - h2x2 + abx2 =0( )or (by + hx)2 - x2 h2 - ab =0( )( )or by + hx + x h2 - ab by + hx - x h2 - ab =0Thus (1) represents a pair of lines whose equations are: ( )by + x h + h2 - ab =0 (2)( )and by + x h - h2 - ab =0 (3)Clearly, the lines (2) and (3) are(i) real and distinct if h2 > ab . (ii) real and coincident, if h2 = ab .(iii) imaginary, if h2 < ab .It is interesting to note that even in case the lines are imaginary, they intersect in a realpoint viz (0, 0) since this point lies on their joint equation (1).Example: Find an equation of each of the lines represented by 20x2 + 17xy - 24 y2 =0Solution. The equation may be written as24 y 2 - 17 y - 20 =0 x x⇒ =y 17 ± 289 +1=920 17=± 47 4 ,-5x 48 48 3 8⇒ y =4 x and y = -5 x 3 and 8⇒ 4x - 3y =0 5x + 8y =0 version: 1.1 56
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjab4.6.2 To ind measure of the angle between the lines represented by ax2 + 2hxy + by2 =0 (1) We have already seen that the lines represented by (1) are ( )by + x h + h2 - ab =0 (2) ( )and by + x h - h2 - ab =0 (3) Now slopes of (2) and (3) are respectively given by: ( )- h + h2 - ab ( )- h - h2 - ab m1 b , and m2 b =The=refore, m1+ m2 -b2h and m1m2 a b If q is measure of the angle between the lines (2) and (3), then =tanq 1m=+1 m-1m=m22 =(m1 +1m+2m)12m-24m1m2 4h2 - 4a 2 h2 - ab b2 b a+b 1+ a b The two lines are parallel, if q = 0 , so that tanq = 0 which implies h2 - ab =0, which is the condition for the lines to be coincident. If the lines are orthogonal, then q = 90 , so that tanq is not deined. This implies a + b = 0. Hence the condition for (1) to represent a pair of orthogonal (perpendicular) lines is that sum of the coeicients of x2 and y2 is 0.Example 1: Find measure of the angle between the lines represented by x2 - xy - 6 y2 =0Solution. Here a- =1-, h==1 , b 6 version: 1.1 2 57
14.. IQnturaoddruacttiiconEtqouAantiaolnystic Geometry eLearn.Punjab eLearn.PunjabIf q is measure of the angle between the given lines, then tanq =2 h2 - ab 2 1 +6 a+b = 4 =-1 ⇒ q =135 -5Acute angle between the lines =180° - q = 180° - 135° = 45°Example2: Find a joint equation of the straight lines through the origin perpendicularto the lines represented by x2 + xy - 6 y2 =0 (1)Solution: (1) may be written as ( x - 2 y)( x + 3y) =0Thus the lines represented by (1) are x - 2 y =0 (2)and x + 3y =0 (3)The line through (0, 0) and perpendicular to (2) is y-=2x or +y 2=x 0 (4)Similarly, the line through (0, 0) and perpendicular to (3) is==y 3x - or y 3x 0 (5)Joint equation of the lines (4) and (5) is ( y + 2x=)( y - 3x) 0 or y2 -=xy - 6x2 0 EXERCISE 4.5Find the lines represented by each of the following and also ind measure of the,angle between them (Problems 1-6):1. 10x2 - 23xy - 5y2 =02. 3x2 + 7xy + 2 y2 =03. 9x2 + 24xy + 16 y2 =04. 2x2 + 3xy - 5y2 =0 version: 1.1 58
41.. IQnturaoddruacttiiconEtqouAantiaolnytsic Geometry eLearn.Punjab eLearn.Punjab5. 6x2 -19xy + 15y2 =06. x2 + 2xy seca + y2 =07. Find a joint equation of the lines through the origin and perpendicular to the lines: x2 - 2xy tana - y2 =08. Find a joint equation of the lines through the origin and perpendicular to the lines: ax2 + 2hxy + by2 =09. Find the area of the region bounded by: 10x2 - x=y - 21y2 0 and =x + y + 1 0 version: 1.1 59
version: 1.1CHAPTER5 Linear Inequalities and Linear Programming Animation 5.1: Feasible Solution Set Source and credit: eLearn.Punjab
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.Punjab5.1 INTRODUCTION Many real life problems involve linear inequalities. Here we shall consider thoseproblems (relating to trade, industry and agriculture etc.) which involve systems of linearinequalities in two variables. Linear inequalities in such problems are used to prescribelimitations or restrictions on allocation of available resources (material, capital, machinecapacities, labour hours, land etc.). In this chapter, our main goal will be to optimize(maximize or minimize) a quantity under consideration subject to certain restrictions. The method under our discussion is called the linear programming method and itinvolves solutions of certain linear inequalities.5.2 LINEAR INEQUALITIES Inequalities are expressed by the following four symbols; > (greater than); < (less than); 8 (greater than or equal to); 7 (less than or equal to) For example (i) ax < b (ii) ax + b 8 c (iii) ax + by > c (iv) ax + by 7 c areinequalities. Inequalities (i) and (ii) are in one variable while inequalities (iii) and (iv) are intwo variables. The following operations will not afect the order (or sense) of inequality while changingit to simpler equivalent form: (i) Adding or subtracting a constant to each side of it. (ii) Multiplying or dividing each side of it by a positive constant. Note that the order (or sense) of an inequality is changed by multiplying or dividing itseach side by a negative constant.Now for revision we consider inequality, x < 3 (A) 2All real numbers < 3 are in the solution set of (A). 2Thus the interval - ∞, 3 or - ∞ < x < 3 is the solution set of the 2 2inequality (A) which is shown in the igure 5.21 version: 1.1 2
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab eLearn.Punjab Fig. 5.21 We conclude that the solution set of an inequality consists of all solutions of theinequality.5.2.1 Graphing of A Linear Inequality in Two Variables Generally a linear inequality in two variables x and y can be one of the following forms: ax + by < c ; ax + by > c ; ax + by 7 c ; ax + by 8 c where a, b, c are constants and a, b are not both zero. We know that the graph of linear equation of the formax + by = c is a line which divides the plane into two disjoint regions as stated below: (1) The set of ordered pairs (x, y) such that ax + by < c (2) The set of ordered pairs (x, y) such that ax + by > c The regions (1) and (2) are called half planes and the lineax + by = c is called the boundary of each half plane. Note that a vertical line divides the plane into left and right half planes while a non-vertical line divides the plane into upper and lower half planes. A solution of a linear inequality in x and y is an ordered pair of numbers which satisiesthe inequality. For example, the ordered pair (1, 1) is a solution of the inequality x + 2y < 6 because1 + 2(1) = 3 < 6 which is true. There are ininitely many ordered pairs that satisfy the inequality x + 2y < 6, so its graphwill be a half plane. Note that the linear equation ax + by = c is called “associated or correspondingequation” of each of the above mentioned inequalities.Procedure for Graphing a linear Inequality in two Variables(i) The corresponding equation of the inequality is irst graphed by using ‘dashes’ if the inequality involves the symbols > or < and a solid line is drawn if the inequality involves the symbols 8 or 7.(ii) A test point (not on the graph of the corresponding equation) is chosen which determines that the half plane is on which side of the boundary line. version: 1.1 3
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.PunjabExample 1. Graph the inequality x + 2y < 6. eLearn.Punjab version: 1.1Solution. The associated equation of the inequalityx + 2y < 6 (i)is x + 2y = 6 (ii) The line (ii) intersects the x-axis and y-axis at (6, 0) and(0. 3) respectively. As no point of the line (ii) is a solutionof the inequality (i), so the graph of the line (ii) is shown byusing dashes. We take O(0, 0) as a test point because it isnot on the line (ii). Substituting x = 0, y = 0 in the expression x + 2y gives0 - 2(0) = 0 < 6, so the point (0, 0) satisies the inequality (i).Any other point below the line (ii) satisies theinequality (i), that is all points in the half plane containingthe point (0, 0) satisfy the inequality (i).Thus the graph of the solution set of inequality (i) is the aregion on the origin-side of the line (ii), that is, the regionbelow the line (ii). A portion of the open halfplane belowthe line (ii) is shown as shaded region in igure 5.22(a)All points above the dashed line satisfy theinequality x + 2y > 6 (iii)A portion of the open half plane above the line (ii) isshown by shading in igure 5.22(b)Note: 1. The graph of the inequality x + 2y 7 6 ..(iv)includes the graph of the line (ii),’ so the open half-planebelow the line (ii) including the graph of the line (ii) is thegraph of the inequality (iv). A portion of the graph of theinequality (iv) is shown by shading in igure 5.22(c) 4
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.PunjabNote: 2 All points on the line (ii) and above the line (ii) eLearn.Punjabsatisfy the inequality x + 2y 8 6 .... (v). This means that version: 1.1the solution set of the inequality (v) consists of all pointsabove the line (ii) and all points on the lines (ii). The graphof the inequality (v) is partially shown as shaded regionin igure 5.22(d)Note: 3 that the graphs ofx + 2y 7 6 and x + 2y 8 6 are closed half planes.Example 2. Graph the following linear inequalities inxy-plane; 2x 8 - 3 (ii) y 7 2 (i)Solution. The inequality (i) in xy-plane is considered as2x + 0y 8 - 3 and its solution set consists of all point (x, y)such that x, y d R and x ≥ - 3 2The corresponding equation of the inequality (i) is2x = -3 (1)which a vertical line (parallel to the y-axis) and itsgraph is drawn in igure 5.23(a).The graph of the inequality 2x > -3 is the open halfplane to the right of the line (1).Thus the graph of 2x 8 -3 is the closed half-plane tothe right of the line (1).(ii) The associated equation of the inequality (ii) isy=2 (2)which is a horizontal line (parallel to the x-axis) and itsgraph is shown in igure 5.23(b) Here the solutionset of the inequality y < 2 is the open half plane belowthe boundary line y = 2. Thus the graph of y 7 2 consistsof the boundary line and the open half plane below it. 5
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.PunjabNote that the intersection of graphs of 2x 8 -3 andy 72 is partially shown in the adjoining igure 5.23(c).5.3 REGION BOUNDED BY 2 OR 3 SIMULTANEOUS INEQUALITIES The graph of a system of inequalities consists of the set of all ordered pairs (x, y) in thexy-plane which simultaneously satisfy all the inequalities in the system. Find the graph ofsuch a system, we draw the graph of each inequality in the system on the same coordinateaxes and then take intersection of all the graphs. The common region so obtained is calledthe solution region for the system of inequalities.Example 1: Graph the system of inequalities x - 2y 7 6 2x + y 8 2Solution. The graph of the line x - 2y = 6 is drawn by joiningthe point (6, 0) and (0, -3). The point (0,0) satisfy theinequality x - 2y < 6 because 0 - 2(0) = 0 < 6. Thus thegraph of x - 2y 7 6 is the upper half-plane includingthe graph of the line x - 2y = 6. The closed half-plane ispartially shown by shading in igure 5.31(a). version: 1.1 6
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab We draw the graph of the line 2x + y = 2 joining eLearn.Punjab the points (1, 0) and (0, 2). The point (0, 0) does not version: 1.1 satisfy the inequality 2x + y > 2 because 2(0) + 0 = 0 > 2. Thus the graph of the inequality 2x + y 8 2 is the closed half-plane not on the origin-side of the line 2x + y = 2. Thus the closed half-plane is shown partially as a shaded region in igure 5.31(b). The solution region of the given system of inequalities is the intersection of the graphs indicated in igures 5.31(a) and 5.31(b) and is shown as shaded region in igure 5.31(c). The intersection point (2, - 2) can be found by solving the equations x - 2y = 6 and 2x + y = 2. Note that the line x - 2y = 6 and 2x + y = 2 divide the xy-plane into four region bounded by these lines. These four (bounded) regions are displayed in the adjoining igure. 7
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.PunjabExample 2. Graph the solution region for the following system of inequalities:x - 2y 7 6, 2x + y > 2, x + 2y 8 1 0Solution: The graph of the inequalities x - 2y 7 6 and2x + y 8 2 have already drawn in igure 5.31(a) and5.31(b) and their intersection is partially shown as ashaded region in igure 5.31(c) of the example 1 Art(5.3). Following the procedure of the example 1 of Art(5.3) the graph of the inequality x + 2y 7 10 is shownpartially in the igure 5.32(a). The intersection of three graphs is the requiredsolution region which is the shaded triangular regionPQR (including its sides) shown partially in the igure5.32(b). Now we deine a corner point of a solution region.DEFINITION: A point of a solution region where two of its boundary lines intersect, is called acorner point or vertex of the solution region.Such points play a useful role while solving linear programming problems. In example2, the following three corner points are obtained by corresponding equations (of linearinequalities given in the example 2) in pairs.Corresponding lines of inequalities: Corner Points P(2, -2)x - 2y = 6, 2x + y = 2 Q(8, 1)x - 2y = 6, x + 2y = 10 R(-2, 6)2x + y = 2, x + 2y = 10 version: 1.1 8
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab eLearn.PunjabExample 3. Graph the following systems of inequalities.(i) 2x + y 8 2 (ii) 2x + y 8 2 (iii) 2x + y 8 2 x + 2y 7 10 x + 2y 7 10 x + 2y 7 10 y80 x80 x 8 0, y 8 0Solution:(i) The corresponding equations of the inequalities 2x + y 8 2 and x + 2y 7 10 are 2x + y = 2 (I) and x + 2y = 10 (II)For the partial graph of 2x + y 8 2 see igure 5.31(b) of the example 1 and the graph ofthe inequality x + 2y 7 10 is partially shown in igure 5.32(a) of the example 2. The solution region of the inequalities2x + y 8 2 and x + 2y 7 10 is the intersection of theirindividual graphs. The common region of the graphsof inequalities is partially shown as a shaded region inigure 5.33(a). The graph of y 8 0 is the upper half plane version: 1.1including the graph of the corresponding line y = 0(the x-axis) of the linear inequality y 8 0. The graph ofy 8 0 is partially displayed in igure 5.33(b). 9
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.Punjab The solution region of the system ofinequalities in (i) is the intersection of the graphsshown in igure 5.33(a) and 5.33(b). This solutionregion is displayed in igure 5.33(c).(ii) See igure 5.33(a) for the graphs of the inequalities 2x + y 8 2 and x + 2y 7 10. The graph of x 8 0 consists of the openhalf-plane to the right of the corresponding linex = 0 (y-axis) of the inequality x 8 0 and its graph.See igure 5.34(a). Thus the solution region of the inequalities in version: 1.1(ii) is partially shown in igure 5.34(b). This regionis the intersection of graphs in igure 5.33(a) and5.34(a). 10
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab eLearn.Punjab(iii) The graphs of the system of inequalities in (iii)are drawn in the solution of (i) and (ii). The solutionregion in this case, is shown as shaded region ABCDin igure 5.34. (c). EXERCISE 5.11. Graph the solution set of each of the following linear inequality in xy-plane:(i) 2x + y 7 6 (ii) 3x + 7y 8 21 (iii) 3x - 2y 8 6(iv) 5x - 4y 7 20 (v) 2x + 1 8 0 (vi) 3y - 4 7 02. Indicate the solution set of the following systems of linear inequalitiesby shading:(i) 2x - 3y 7 6 (ii) x + y 8 5 (iii) 3x + 7y 8 21 2x + 3y 7 12 -y + x 7 1 x-y72(iv) 4x - 3y 7 12 (v) 3x + 7y 8 21x≥ - 3 y74 23. Indicate the solution region of the following systems of linear inequalitiesby shading:(i) 2x - 3y 7 6 (ii) x + y 7 5 (iii) x + y 8 5 2x + 3y 7 12 y - 2x 7 2 x-y81y80 x80 y80(iv) 3x + 7y 7 21 (v) 3x + 7y 7 21 (vi) 3x + 7y 7 21x-y72 x-y72 2x - y 8 -3x80 y80 x80 version: 1.1 11
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.Punjab4. Graph the solution region of the following system of linear inequalities andind the corner points in each case.(i) 2x - 3y 7 6 (ii) x + y 7 5 (iii) 3x + 7y 7 21 2x - y 7 -32x + 3y 7 12 -2x + y 7 2x80 y80 y80(iv) 3x + 2y 8 6 (v) 5x + 7y 7 35 (vi) 5x + 7y 7 35 x + 3y 7 6 -x + 3y 7 3 x - 2y 7 2y80 x80 x805. Graph the solution region of the following system of linear inequalitiesby shading. (ii) 3x - 4y 7 12 (iii) 2x + y 7 4(i) 3x - 4y 7 12 x + 2y 7 6 2x - 3y 8 12 3x + 2y 8 3 x + 2y 7 9 x+y81 x + 2y 7 6(iv) 2x + y 7 10 (v) 2x + 3y 7 18 (vi) 3x - 2y 8 3x+y77 2x + y 7 10 x + 4y 7 12-2x + y 7 4 -2x + y 7 2 3x + y 7 125.4 PROBLEM CONSTRAINTS In the beginning we described that linear inequalities prescribe limitations andrestrictions on allocation of available sources. While tackling a certain problem from everyday life each linear inequality concerning the problem is named as problem constraint.The system of linear inequalities involved in the problem concerned are called problemconstraints. The variables used in the system of linear inequalities relating to the problemsof every day life are non-negative and are called non-negative constraints. These non-negative constraints play an important role for taking decision. So these variables are calleddecision variables.5.5 Feasible solution set We see that solution region of the inequalities in example 2 of Art 5.3 is not within theirst quadrant. If the nonnegative constraints x 8 0 and y 8 0 are included with the system ofinequalities given in the example 2, then the solution region is restricted to the irst quadrant. version: 1.1 12
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab eLearn.Punjab It is the polygonal region ABCDE (including its sides)as shown in the igure 5.51. Such a region (which is restricted to the irstquadrant) is referred to as a feasible region for the setof given constraints. Each point of the feasible regionis called a feasible solution of the system of linearinequalities (or for the set of a given constraints). A setconsisting of all the feasible solutions of the system oflinear inequalities is called a feasible solution set.Example 1. Graph the feasible region and ind the corner points for the followingsystem of inequalities (or subject to the following constraints).x-y73x + 2y 7 6 , x 8 0, y 8 0Solution: The associated equations for the inequalities x - y 7 3 (i) and x + 2y 7 6 (ii) are x - y = 3 (1) and x + 2y = 6 (2) As the point (3, 0) and (0, -3) are on the line (1),so the graph of x - y = 3 is drawn by joining the points(3, 0) and (0, -3) by solid line. Similarly line (2) is graphed by joining the points(6, 0) and (0, 3) by solid line. For x = 0 and y = 0, wehave; 0 - 0 = 073 and 0 + 2(0) = 076, so both the ciosed half-planes are on the originsides of the lines (1) and (2). The intersection of theseclosed half-planes is partially displayed as shadedregion in igure 5.52(a). version: 1.1 13
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab For the graph of y 8 0, see igure 5.33(b) eLearn.Punjab of the example 3 of art 5.3. version: 1.1 The intersection of graphs shown in igures 5.52(a) and 5.33(b) is partially graphed as shaded region in igure 5.52(b). The graph of x 8 0 is drawn in igure 5.34(a). The intersection of the graphs shown in igures 5.52(a) and 5.34(a) is graphed in igure 5.52(c). Finally the graph of the given system of linear inequalities is displayed in igure 5.52(d) which is the feasible region for the given system of linear inequalities. The points (0, 0), (3, 0), (4, 1) and (0, 3) are corner points of the feasible region. 14
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab eLearn.PunjabExample 2. A manufacturer wants to make two types of concrete. Each bag of Agradeconcrete contains 8 kilograms of gravel (small pebbles with coarse sand) and 4 kilograms ofcement while each bag of B-grade concrete contains 12 kilograms of gravel and two kilogramsof cement. If there are 1920 kilograms of gravel and 480 kilograms of cement, then graphthe feasible region under the given restrictions and ind corner points of the feasible region.Solution: Let x be the number of bags of A-grade concrete produced and y denote thenumber of bags of B-grade concrete produced, then 8x kilograms of gravel will be usedfor A-grade concrete and 12y kilograms of gravel will be required for B-grade concretes so8x + 12y should not exceed 1920, that is, 8x + 12y 7 1920 Similarly, the linear constraint for cement will be 4x + 2y 7 480 Now we have to graph the feasible region for thelinear constraints 8x + 12y 7 1920 4x + 2y 7 480, x 8 0, y 8 0 Taking the one unit along x-axis and y-axisequal to 40 we draw the graph of the feasible regionrequired. The shaded region of igure 5.53(a) shows thegraph of 8x + 12y 7 1920 including the nonnegativeconstraints x 8 0 and y 8 0 In the igure 5.53(b), the graph of 4x + 2y 7 480including the non-negative constraints x 8 0 and y 8 0is displayed as shaded region. version: 1.115
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.Punjab The intersection of these two graphs is shown asshaded region in igure 5.53(c), which is the feasibleregion for the given linear constraints. The point (0, 0), (120, 0), (60, 120) and (0, 160) arethe corner points of the feasible region.Example 3. Graph the feasible regions subject to the following constraints.(a) 2x - 3 y 7 6 (b) 2x - 3y 7 62x + y 8 2 2x + y 8 2x 8 0, y 8 0 x + 2y < 8, x 8 0, y 8 0Solution: The graph of 2x - 3y 7 6 is theclosed half-plane on the origin side of2x - 3y = 6. The portion of the graph ofsystem 2x - 3y 7 6, x 8 0, y 8 0is shown as shaded region in igure 5.54(a). version: 1.1 16
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab The graph of 2x + y 8 2 is the closed half-plane eLearn.Punjabnot on the origin side of 2x + y = 2. The portion of version: 1.1the graph of the system 2x + y 8 2, x 8 0, y 8 0is displayed as shaded region in igure 5.54(b). The graph of the system 2x - 3y 7 6, 2x + y 7 2, x 8 0, y 8 0 is the intersection of the graphs shown inigures 5.54(a) and 5.54(b) and it is partially displayedin igure 5.54(c) as shaded region.(b) The graph of system x + 2y 7 8, x 8 0, y 8 0 isa triangular region indicated in igure 5.45(d).Thus the graph of the system2x - 3y 7 62x + y 8 2x + 2y 7 8 x 8 0, y 8 0 17
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.Punjabis the intersection of the graphs shown in igures5.54(c) and 5.54(d). It is the shaded region indicatedin the igure 5.54(e).Note: The corner points of feasible regionthe set of constraints in (a) are (1, 0), (3, 0) and(0, 2) while the corner points of the feasibleregion for the set of constraints in (b) are (1, 0),(3, 0), 36 , 10 , (0, 4) and (0, 2) 7 7 We see that the feasible solution regions in example 3(a) and 3(b) are of diferent types.The feasible region in example 3(a) is unbounded as it cannot be enclosed in any circle howlarge it may be while the feasible region in example 3(b) can easily be enclosed within acircle, so it is bounded. If the line segment obtained by joining any two points of a region liesentirely within the region, then the region is called convex.Both the feasible regions of example 3(a)and 3(b) are convex but the regions suchas shown in the adjoining igures are notconvex. EXERCISE 5.21. Graph the feasible region of the following system of linear inequalities and ind the corner points in each case. (i) 2x - 3y 7 6 (ii) x + y 7 5 (iii) x + y 7 5 -2x + y 8 2 2x + 3y 7 12 -2y + y 7 2 x 8 0, y 8 0 x 8 0, y 8 0 x80 (iv) 3x + 7y 7 21 (v) 3x + 2y > 6 (vi) 5x + 7y 7 35 x-y73 x+y74 x - 2y 7 4 x 8 0, y 8 0 x 8 0, y 8 0 x 8 0, y 8 0 version: 1.1 18
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab eLearn.Punjab2. Graph the feasible region of the following system of linear inequalities andind the corner points in each case.(i) 2x + y 7 10 (ii) 2x + 3y 7 18 (iii) 2x + 3y 7 18x + 4y 7 12 2x + y 7 10 x + 4y 7 12x + 2y 7 10 x + 4y 7 12 3x + y 7 12x 8 0, y 8 0 x80,y80 x 8 0, y 8 0(iv) x + 2y 7 14 (v) x + 3y 7 15 (vi) 2x + y 7 203x + 4y 7 36 2x + y 7 12 8x+15y 71202x + y 7 10 4x + 3y 7 24 x + y 7 11x 8 0, y 8 0 x 8 0, y 8 0 x 8 0, y 8 05.6 LINEAR PROGRAMMING A function which is to be maximized or minimized is called an objective function.Note that there are ininitely many feasible solutions in the feasible region. The feasiblesolution which maximizes or minimizes the objective function is called the optimal solution.The theorem of linear programming states that the maximum and minimum values of theobjective function occur at corner points of the feasible region.Procedure for determining optimal solution:(i) Graph the solution set of linear inequality constraints to determine feasible region.(ii) Find the corner points of the feasible region.(iii) Evaluate the objective function at each corner point to ind the optimal solution.Example 1. Find the maximum and minimum values ofthe function deined as:f(x, y) = 2x + 3y subject to the constraints;x-y72 x+y74 2x - y 7 6, x 8 0Solution. The graphs of x - y 7 2 is the closed half plane onthe origin side of x - y = 2 and the graph of x + y 7 4 is theclosed half-plane not on the origin side of x + y = 4. The graphof the system x - y 7 2, x + y 8 4 version: 1.1 19
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.Punjab including the non-negative constraints x 8 0 ispartially displayed as shaded region in the igure 5.61.The graph of 2x - y 7 6 consists of the graph of the line2x - y = 6 and the half plane on the origin side of the line2x - y=6. A portion of the solution region of the givensystem of inequalities is shaded in the igure 5.62. We see that feasible region is unbounded upwardsand its corner points are A(0, 4), B(3, 1) and C(4, 2).Note that the point at which the lines x + y = 4 and2x - y = 6 intersect is not a corner point of the feasibleregion. It is obvious that the expression 2x + 3y does notposses a maximum value in the feasible region becauseits value can be made larger than any number byincreasing x and y. We calculate the values of f at thecorner points to ind its minimum value: f (0, 4) = 2(0) + 3 x 4 = 12 f (3, 1) = 2 x 3 + 3 x 1 = 6 + 3 = 9 f (4, 2) = 2 x 4 + 3 x 2 = 8 + 6 = 14 Thus the minimum value of 2x + 3y is 9 at the corner point (3, 1).Note: lf f(x , y) = 2x + 2y, then f (0 , 4) = 2 x 0 + 2 x 4 = 8, f (3, 1) = 2 x 3 + 2 x 1 = 6 + 2 = 8and f(4, 2) = 2 x 4 + 2 x 2 = 8 + 4 =12. The minimum value of 2x + 2y is the same at two corner points(0, 4) and (3, 1). We observe that the minimum value of 2x + 2y at each point of the line segment AB is8 as: f(x, y) = 2x + 2(4 - x) (a x + y = 4 ⇒ y = 4 - x) =2x + 8 - 2x = 8Example 2. Find the minimum and maximum values of f and f deined as: f(x, y) = 4x + 5y, f (x, y) = 4x + 6yunder the constraints 2x - 3y 7 6 2x + y 8 2 2x + 3y 7 12 x 8 0, y 8 0 version: 1.1 20
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab eLearn.PunjabSolution. The graphs of 2x - 3y 7 6, 2x + y 8 2, are displayed in the example 3 ofArt. 5.5. Joining the points (6. 0) and (0, 4), we obtain the graph of the line 2x + 3y = 12. As2(0) + 3(0) = 0 < 12, so the graph of 2x + 3y < 12 is the half plane below the line 2x + 3y = 12.Thus the graph of 2x + 3y 7 12 consists of the graph of the line 2x + 3y = 12 and the half planebelow the line 2x + 3y = 12. The solution region of 2x - 3y 7 6, 2x + y 8 2 and 2x + 3y 7 12 is thetriangular region PQR shown in igure 5.63. The non-negative constraints x 8 0,y 80 indicated the irst quadrant. Thus the feasible region satisfying all the constrains isshaded in the igure 5.63 and its corner points are (1, 0) (0, 2), (0, 4), 9 , 1 and (3, 0). 2 We ind values of f at the corner points. Corner f(x, y) = 4x + 5y point (1, 0) f (1, 0) = 4 x 1 + 5.0 = 4 (0, 2) f (0, 2) = 4 x 0 + 5.2 = 10 (0, 4) f (0, 4) = 4 x 0 + 5.4 = 20 (9/2, 1) f (9/2, 1) = 4 x 9/2 + 5.1 = 23 (3, 0) f (3, 0) = 4 x 3 + 50 x 0 = 12 From the above table, it follows that the minimum value of f is 4 at the corner point(1, 0) and maximum value of f is 23 at the corner point 9 , 1 . The values of f at the cornerpoints are given below in tabular form. 2 Corner point f(x, y) = 4x + 5y (1, 0) f (1, 0) = 4.1 + 6.0 = 4 (0, 2) f (0, 2) = 4.0 + 6.2 = 12 (0, 4) f (0, 4) = 4.0 + 6.4 = 24 (9/2, 1) f (9/2, 1) = 4 . 9/2 + 6.1 = 24 f (3, 0) = 4 x 3 + 6.0 = 12 (3, 0) The minimum value of f is 4 at the point (1, 0) and maximum value of f is 24 at thecorner points (0, 4) and 9 , 1 . As observed in the above example, it follows that the 2function f has maximum value at all the points of the line segment between the points version: 1.1 21
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.Punjab(0, 4) and 9 , 1 . 2Note 1. Some times it may happen that each point of constraint line gives the optimalvalue of the objective function.Note 2. For diferent value of k, the equation 4x + 5y = k represents lines parallel to theline 4x + 5y = 0. For a certain admissible value of k, the intersection of 4x + 5y = k with thefeasible region gives feasible solutions for which the proit is k.5.7 LINEAR PROGRAMMING PROBLEMS Convert a linear programming problem to a mathematical form by using variables,then follow the procedure given in Art 5.6.Example 1: A farmer possesses 100 canals of land and wants to grow corn and wheat.Cultivation of corn requires 3 hours per canal while cultivation of wheat requires 2 hours percanal. Working hours cannot exceed 240. If he gets a proit of Rs. 20 per canal for corn andRs. 15/- per canal for wheat, how many canals of each he should cultivate to maximize hisproit?Solution: Suppose that he cultivates x canals of cornand y canals of wheat. Then constraints can be writtenas: x + y 7 100 3x + 2y 7 240Non-negative constraints are x 8 0, y 8 0. Let P(x, y)be the proit function, then P(x, y) = 20x + 15y version: 1.1 22
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab eLearn.PunjabNow the problem is to maximize the proit function P under the given constraints.Graphing the inequalities, we obtain the feasible region which is shaded in the igure 5.71.Solving the equations x + y = 100 and 3x + 2y = 240 gives x = 240 - 2(x + y) = 240 - 200 = 40and y = 100 - 40 = 60, that is; their point of intersection is (40, 60). The corner points of thefeasible region are (0, 0),(0, 100), (40, 60) and (80, 0).Now we ind the values of P at the corner points. Corner point P(x, y) = 20x + 15y (0, 0) P(0, 0) = 2 0 x 0 + 15 x 0 = 0 (0, 100) P(0, 100) = 20 x 0 + 15 x 100 = 1500 (40, 60) P(40, 60) = 20 x 40 + 15 x 60 = 1700 (80, 0) P(80, 0) = 20 x 80 + 15 x 0 = 1600From the above table, it follows that the maximum proit is Rs. 1700 at the corner point(40, 60). Thus the farmer will get the maximum proit if he cultivates 40 canals of corn and60 canals of wheat.Exam ple 2. A factory produces bicycles and motorcycles by using two machines A andB. Machine A has at most 120 hours available and machine B has a maximum of 144 hoursavailable. Manufacturing a bicycle requires 5 hours in machine A and 4 hours in machine Bwhile manufacturing of a motorcycle requires 4 hours in machine A and 8 hours in machineB. If he gets proit of Rs. 40 per bicycle and proit of Rs. 50 per motorcycle, how many bicyclesand motorcycles should be manufactured to get maximum proit?Solution: Let the number of bicycles to bemanufactured be x and the number of motor cycles tobe manufactured be y. Then the time required to use machine A for xbicycles and y motorcycles is 5x + 4y (hours) and the timerequired to use machine B for x bicycles and y motorcyclesin 4x + 8y (hours). Thus the problem constraints are5x + 4y 7 120 And 4x + 8y 7 144 ⇒ 2x + 4y 7 72 . version: 1.1 23
15.. LQinueaadrrIanteicquEaqliutaietsioannsd Linear Programming eLearn.Punjab eLearn.PunjabSince the numbers of articles to be produced cannot be negative, so x 8 0, y 8 0.Let P(x, y) be the proit function, then P(x, y) = 40x + 50y.Now the problem is to maximize P subject to the constraints: 5x + 4y 7 120 2x + 4y 7 72 ; x 8 0 , y 8 0 Solving 5x + 4y = 120 and 2x + 4y = 72, gives 3x = 48 ⇒ x = 16 and4y = 72 - 2x = 72 - 32 = 40 ⇒ y = 10.Thus their point of intersection is (16, 10). Graphing the linear inequality constraints,the feasible region obtained is depicted in the igure 5.72 by shading. The corner points ofthe feasible region are (0, 0), (0, 18), (16, 10) and (24, 0).Now we ind the values of P at the comer points. Corner point P(x, y) = 40x + 50y (0, 0) P(0, 0) = 40 x 0 + 50 x 0 = 0 (0, 18) P(0, 18) = 40 x 0 + 50 x 18 = 900 (16, 10) P(16, 10) = 40 x 16 + 50 x 10 = 1140 (24, 0) P(24, 0) = 40 x 24 + 50 x 0 = 960From the above table, it follows, that the maximum proit is Rs. 1140 at the cornerpoint (16, 10). Manufacturer gets the maximum proit if he manufactures 16 bicycles and 10motorcycles. EXERCISE 5.31. Maximize f(x, y) = 2x + 5ysubject to the constraints2y - x 7 8; x - y 7 4; x 0 8 0; y 8 02. Maximize f(x , y) = x + 3ysubject to the constraints2x + 5y 7 30; 5x + 4y 7 20; x 8 0; y803. Maximize z = 2x + 3y; subject to the constraints:3x + 4y 7 12; 2x + y 7 4: 4x - y 7 4; x 8 0; y 8 04. Minimize z = 2x + y: subject to the constraints:x + y 8 3; 7x + 5y 7 35; x 8 0; y80 version: 1.1 24
51.. LQinueaadrrIanteicquEaqliutiaetsioannsd Linear Programming eLearn.Punjab eLearn.Punjab5. Maximize the function deined as; f(x, y) = 2x + 3y subject to the constraints:2x + y 7 8; x + 2y 7 14; x 8 0; y806. Minimize z = 3x + y; subject to the constraints:3x + 5y 8 15; x + 6y 8 9; x 8 0; y807. Each unit of food X costs Rs. 25 and contains 2 units of protein and 4 units of ironwhile each unit of food Y costs Rs. 30 and contains 3 units of protein and 2 unit of iron.Each animal must receive at least 12 units of protein and 16 units of iron each day.How many units of each food should be fed to each animal at the smallestpossible cost?8. A dealer wishes to purchase a number of fans and sewing machines. He has onlyRs. 5760 to invest and has space atmost for 20 items. A fan costs him Rs. 360 anda sewing machine costs Rs. 240. His expectation is that the can sell a fan at a proitof Rs. 22 and a sewing machine at a proit of Rs. 18. Assuming that he can sell all theitems that he can buy, how should he invest his money in order to maximize his proit?9. A machine can produce product A by using 2 units of chemical and 1 unit of acompound or can produce product B by using 1 unit of chemical and 2 units of thecompound. Only 800 units of chemical and 1000 units of the compound are available.The proits per unit of A and B are Rs. 30 and Rs. 20 respectively, maximize theproit function. version: 1.1 25
CHAPTER version: 1.16 Conic Sections Animation 6.1: Conic Section Source and credit: eLearn.Punjab
16.. CQounaicdSraetcitcioEnqsuations eLearn.Punjab eLearn.Punjab6.1 INTRODUCTION Conic sections or simply conics, are the curves obtained by cutting a (double)right circular cone by a plane. Let RS be a line through the centre C of a given circle andperpendicular to its plane. Let A be a ixed point on RS. All lines through A and points on thecircle generate a right circular cone. The lines are called rulings or generators of the cone.The surface generated consists of two parts, called nappes, meeting at the ixed point A,called the vertex or apex of the cone. The line RS is called axis of the cone. If the cone is cut by a plane perpendicular to the axis of the cone, then the section is acircle. The size of the circle depends on how near the plane is to the vertex of the cone. If theplane passes through the vertex A, the intersection is just a single point or a point circle. Ifthe cutting plane is slightly tilted and cuts only one nappe of the cone, the resulting sectionis an ellipse. If the intersecting plane is parallel to a generator of the cone, but intersectsits one nappe only , the curve of intersection is a parabola. If the cutting plane is parallelto the axis of the cone and intersects both of its nappes, then the curve of intersection is ahyperbola. The Greek mathematicians Apollonius’ (260-200 B.C.) and Pappus (early fourthcentury) discovered many intersecting properties of the conic sections. They used themethods of Euclidean geometry to study conics. We shall not study conics from the pointof view stated above, but rather approach them with the more powerful tools of analyticgeometry. version: 1.1 2
Search
Read the Text Version
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
- 261
- 262
- 263
- 264
- 265
- 266
- 267
- 268
- 269
- 270
- 271
- 272
- 273
- 274
- 275
- 276
- 277
- 278
- 279
- 280
- 281
- 282
- 283
- 284
- 285
- 286
- 287
- 288
- 289
- 290
- 291
- 292
- 293
- 294
- 295
- 296
- 297
- 298
- 299
- 300
- 301
- 302
- 303
- 304
- 305
- 306
- 307
- 308
- 309
- 310
- 311
- 312
- 313
- 314
- 315
- 316
- 317
- 318
- 319
- 320
- 321
- 322
- 323
- 324
- 325
- 326
- 327
- 328
- 329
- 330
- 331
- 332
- 333
- 334
- 335
- 336
- 337
- 338
- 339
- 340
- 341
- 342
- 343
- 344
- 345
- 346
- 347
- 348
- 349
- 350
- 351
- 352
- 353
- 354
- 355
- 356
- 357
- 358
- 359
- 360
- 361
- 362
- 363
- 364
- 365
- 366
- 367
- 368
- 369
- 370
- 371
- 372
- 373
- 374
- 375
- 376
- 377
- 378
- 379
- 380
- 381
- 382
- 383
- 384
- 385
- 386
- 387
- 388
- 389
- 390
- 391
- 392
- 393
- 394
- 395
- 396
- 397
- 398
- 399
- 400
- 401
- 402
- 403
- 404
- 405
- 406
- 407
- 408
- 409
- 410
- 411
- 412
- 413
- 414
- 415
- 416
- 417
- 418
- 419
- 420
- 421