tax and discount problem

27 Views Asked by At

Problem : In the total purchase amount $z, x\%$ is tax and $y\%$ is discount. Even if the tax is applied first and then discount or if discount is applied and then tax, the final amount is always same. How to prove this mathematically ?

2

There are 2 best solutions below

2
On BEST ANSWER

Adding (or subtracting) tax or discount is in fact a multipication. To add $x\,\%$, you multiply with $1+\frac x{100}$; to subtract $y\,\%$, you multiply with $1-\frac{y}{100}$. So waht you observe is just that the order of multiplication does not matter ("commutativity of multiplication"). (Well, yes, associativity is also used).

Strictly speaking, due to rounding effects of intermediate results, minor differences in cents may occur.

0
On

The final amount in the first case $$z\left(1+\frac x{100}\right)\left(1-\frac y{100}\right)$$

The final amount in the second case $$z\left(1-\frac y{100}\right)\left(1+\frac x{100}\right)$$