- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Form the pair of linear equations in the following problems, and find their solution graphically:5 pencils and 7 pens together cost Rs. 50, whereas 7 pencils and 5 pens together cost Rs. 46. Find the cost of one pencil and a pen.
Given:
5 pencils and 7 pens together cost Rs. 50, whereas 7 pencils and 5 pens together cost Rs. 46. To do:
We have to form the pair of linear equations and solve them graphically. Also, we have to find the cost of one pencil and a pen.
Solution:
Let the cost of one pencil and one pen be $x$ and $y$ respectively.
According to the question,
$5x + 7y = 50$.....(i)
$7x + 5y = 46$.....(ii)
To represent the above equations graphically we need at least two solutions for each of the equations.
For equation $5x+7y=50$,
$7y=50-5x$
$y=\frac{50-5x}{7}$
If $x=3$ then $y=\frac{50-5(3)}{7}=\frac{50-15}{7}=\frac{35}{7}=5$
If $x=10$ then $y=\frac{50-5(10)}{7}=\frac{50-50}{7}=\frac{0}{7}=0$
$x$ | $3$ | $10$ |
$y$ | $5$ | $0$ |
For equation $7x+5y=46$,
$5y=46-7x$
$y=\frac{46-7x}{5}$
If $x=3$ then $y=\frac{46-7(3)}{5}=\frac{46-21}{5}=\frac{25}{5}=5$
If $x=8$ then $y=\frac{46-7(8)}{5}=\frac{46-56}{5}=\frac{-10}{5}=-2$
$x$ | $3$ | $8$ |
$y$ | $7$ | $-2$ |
The above situation can be plotted graphically as below:
The lines AB and CD represent the equations $5x+7y=50$ and $7x+5y=46$ respectively.
The solution of the above equations is the point of intersection.
Therefore,
Cost of one pencil $x=3$
Cost of one pen $y=5$
The cost of one pencil and a pen are $3$ and $5$ respectively.