Form the pair of linear equations in the following problem, and find their solutions graphically:
pencils and pens together cost , whereas pencils and pens together cost . Find the cost of one pencil and that of one pen.
Step 1: Assume variables and form equations
Let, the cost (in rupees) of one pencil
And, the cost (in rupees) of one pen
Then, according to the question,
Cost of pencils cost of pens
i.e., …(i)
And, Cost of pencils cost of pens
i.e., …(ii)
Step 2: Form ordered pairs
For equation (i), different values of can be obtained for the different values of .
And they can be stated in the table given below,
Again, for equation (ii), different values of can be obtained for the different values of .
And they can be stated in the table given below,
Ste 3: Plot the graph
For equation (i), we have the ordered pairs and .
And, for equation (ii), we have the ordered pairs and .
Plot these points on the same graph and joint each group of points with a straight line.
The point of intersection of the two lines so obtained is the required solution to the given problem.
From the graph, it is clear that the point of intersection of the two straight lines is .
Thus, and is the solution of equation (i) and equation (ii),
So, the number of girls
And, the number of boys
Hence, the cost of one pencil and that of one pen are and respectively.