MathDB
Minimizing the difference between variables in a linear equation

Source:

August 11, 2019
linear equationalgebra

Problem Statement

A pen costs Rs.13\mathrm{Rs.}\, 13 and a note book costs Rs.17\mathrm{Rs.}\, 17. A school spends exactly Rs.10000\mathrm{Rs.}\, 10000 in the year 2017182017-18 to buy xx pens and yy note books such that xx and yy are as close as possible (i.e., xy|x-y| is minimum). Next year, in 2018192018-19, the school spends a little more than Rs.10000\mathrm{Rs.}\, 10000 and buys yy pens and xx note books. How much more did the school pay?