Age Difference Calculation for Mary and Diya
Let M represent Mary's present age and D represent Diya's present age.
Formulating Age Equations
Translate the given information into algebraic equations:
- "3 times Mary’s present age is 18 years more than 5 times Diya's present age":
$3M = 5D + 18 \quad (1)$
- "2 times Diya's present age is 3 years less than Mary's present age":
$2D = M - 3 \quad (2)$
Solving the System of Equations
We can solve this system using substitution:
- From Equation (2), express Mary's age (M) in terms of Diya's age (D):
$M = 2D + 3$
- Substitute this expression for M into Equation (1):
$3(2D + 3) = 5D + 18$
- Simplify and solve for D:
$6D + 9 = 5D + 18$
$6D - 5D = 18 - 9$
$D = 9$
So, Diya's present age is 9 years.
- Substitute the value of D back into the expression for M:
$M = 2(9) + 3$
$M = 18 + 3$
$M = 21$
So, Mary's present age is 21 years.
Calculating the Age Difference
Find the difference between Mary's age and Diya's age:
$ \text{Difference} = M - D $
$ \text{Difference} = 21 - 9 $
$ \text{Difference} = 12 $
The difference between Mary's and Diya's ages is 12 years.