Reversible Digits, Age Timelines & Piecewise Cost Models
Master the three foundational word-problem archetypes tested in CAT and IPMAT: decimal place-value digit reversals (10x+y and 100x+10y+z), multi-generational age matrices with invariant age gaps (Delta Age = const), and piecewise commercial pricing structures (fixed base charge + variable consumption rates).
1. The Story & Mental Model: The Lossless Algebraic Translation Engine
Real-world quantitative aptitude is fundamentally the art of lossless translation. Natural language is fluid, poetic, ambiguous, and layered; algebra is rigid, exact, and solvable.
When you read a word problem, you cannot treat it as an arithmetic guessing puzzle. Your brain must act as a software compiler that translates English prose into invariant mathematical constraints:
-
The Positional Place-Value Invariant: In natural language, we write "forty-seven" as . In algebra, is not ; it is a linear combination of base-10 powers: . When digits reverse, the place values swap, producing clean, unavoidable multiples of and .
-
The Temporal Invariance of Age Gaps: Time flows identically for every human being on the planet. If an elder sibling is years older than a younger sibling today, they were years older at the younger sibling's birth, and will remain years older when they are octogenarians. The difference in their ages is an absolute cosmic invariant:
Age problems that seem like linguistic labyrinths become elementary once anchored to an invariant timeline grid.
-
The Piecewise Affine Commercial Engine: Modern corporate billing systems—from ride-hailing cabs and freight transport to cloud computing and electric utilities—rarely operate on simple proportional pricing (). They operate on piecewise linear models: a flat platform flag-fall fee that covers up to a threshold, followed by a marginal variable rate for incremental usage.
2. The CAT Question Blueprint: How Examiners Camouflage Word Problems
Examiners love setting word problems because they test reading comprehension, logical structuring, and mathematical precision simultaneously:
The Three Core Word-Problem Templates:
-
The Reversible Digit Puzzle:
-
2-Digit Numbers: "A two-digit number exceeds its reverse by " or "The sum of a two-digit number and its reverse is ".
-
3-Digit Numbers: Palindromes and reverse differences (). The setter relies on students forgetting that the middle tens-digit completely cancels out upon subtraction ().
-
-
The Multi-Generational Age Timeline:
-
The classic mind-bender: "I was as old as you are now when you were one-fourth of my present age..."
-
Three-generation family systems linking Son, Father, and Grandfather via present differences and past/future multiplicative ratios.
-
-
The Piecewise Commercial Billing Model:
-
Taxi / Freight models: Flat fee covering the first kilometers, and ₹ per kilometer thereafter.
-
Tiered tariffs: Multi-tier utilities or cloud compute plans with distinct marginal rates across tiered usage thresholds.
-
3. Core Concepts, Formulae & Derivations
A. Place-Value Digit Expansions
-
Two-Digit Numbers:
Let the tens digit be and the units digit be , where and .
-
The Difference Theorem:
Key Property: The difference between any two-digit number and its reverse is always a multiple of 9. Dividing the difference by gives the exact difference between the two digits:
-
The Sum Theorem:
Key Property: The sum of any two-digit number and its reverse is always a multiple of 11. Dividing the sum by gives the exact sum of the two digits:
-
-
Three-Digit Numbers:
Let , where and .
-
The Middle-Digit Cancellation Theorem:
Key Property: The middle tens-digit vanishes completely! The difference between a 3-digit number and its reverse depends solely on the hundreds and units digits, and is always a multiple of 99:
-
B. The Invariant Age Matrix Protocol
Let Person A and Person B have present ages and , with .
The Fundamental Invariant:
Decoding the Linguistic Knot:
"When Person A was as old as Person B is now":
-
The reference time in the past occurred years ago.
-
At that past moment:
-
Person A's age was: (Matching B's present age).
-
Person B's age was: .
-
-
If A's age at that past time was times B's age at that past time:
This transforms what seems like an intractable riddle into an instantaneous ratio equation!
C. Piecewise Commercial Billing Models
A service cost function with base fee covering up to units, and marginal rate per unit beyond :
For two recorded usage figures with costs :
The marginal rate is simply the incremental slope:
Once is determined, back-substitute into to isolate the remaining parameters.
4. Common Pitfalls & Speed Shortcuts
Pitfall 1: Permitting Leading Zeros in Reversed Numbers
If a problem states: "A two-digit number is reversed to form another two-digit number..."
- The Constraint: The units digit of the original number CANNOT be . If , the reversed number , which is a single-digit number, violating the problem definition!
Pitfall 2: Verbal Misinterpretation in Age Timelines
Writing when the problem actually says "I was twice as old as you WERE".
- The Remedy: Build a 3-column table: [Past | Present | Future]. Fill the gap across all rows before writing any algebraic equations.
Pitfall 3: Applying Variable Rates to the Entire Journey in Piecewise Billing
In a cab problem where the first are covered by base fee , computing cost as instead of double-charges the base allowance. Always subtract the threshold !
Formulas
| 2-Digit Reverse Difference Invariant | |
|---|---|
| 2-Digit Reverse Sum Invariant | |
| 3-Digit Reverse Difference (Middle Digit Vanishes) | |
| Past Age Reflection Formula | |
| Piecewise Marginal Rate Slope |
Traps and tips
- Check for Non-Zero Units Digit: When reversing a 2-digit number, the units digit y cannot be 0 if the reversed number must also be 2 digits.
- Middle Digit Cancels Out: In 3-digit reverse differences, the middle digit has zero effect on N - N_rev = 99(x - z).
- Use the Age Gap Invariant: Age differences never change over time. Express all timeline shifts using Delta = Person_A - Person_B.
- Always Subtract the Base Allowance: In piecewise billing models, multiply the marginal rate by (x - x_0), never by the total usage x.
Solved examples
Example 5.1: 2-Digit Reversible Number with Sum and Difference Constraints
A two-digit positive integer has the property that the sum of the number and the number formed by reversing its digits is . Furthermore, the original number exceeds the reversed number by . Determine the original two-digit number.
Show solution
Step 1: Express the number and its reverse in place-value expansion.
Let the tens digit be and the units digit be , where .
Step 2: Apply the Sum Invariant.
Given that the sum is :
Step 3: Apply the Difference Invariant.
Given that the difference is :
Step 4: Solve the decoupled system for digits and .
Add equations (1) and (2):
Subtract equation (2) from equation (1):
Step 5: Form the original number and verify.
-
Sum check: (Holds)
-
Difference check: (Holds)
The original number is 94.
Takeaway: Decompose 2-digit reversible problems into sum (x + y = Sum/11) and difference (x - y = Diff/9) to isolate digits instantaneously.
Example 5.2: 3-Digit Number Reversal with Strictly Increasing Digits
A three-digit positive integer has digits that are in strictly increasing order from left to right (). When is subtracted from the number formed by reversing its digits, the difference is . If the sum of all three digits is , find all possible values of .
Show solution
Step 1: Set up place-value expansions for and .
Let , where .
Step 2: Apply the 3-Digit Difference Theorem.
Given that :
Notice that the tens digit canceled out completely!
Step 3: Substitute into the digit sum constraint.
Substitute :
Step 4: Test permissible integer digit values under the strict inequality .
Since and , we have . Since is a leading digit, .
-
Case 1:
Check ordering: (False, since ). Reject.
-
Case 2:
Check ordering: (True!).
Check: , , sum (Valid).
-
Case 3:
Check ordering: (True!).
Check: , , sum (Valid).
Conclusion:
The possible values of are 268 and 349.
Takeaway: In 3-digit reversals, the difference depends only on 99(z - x); use digit bounds and ordering inequalities to filter candidate solutions.
Example 5.3: Multi-Generational Age Timeline Matrix
A mother tells her daughter: "I was twice as old as you were when I was as old as you are today. Ten years from now, the sum of our ages will be 100 years." Determine the present ages of the mother and the daughter.
Show solution
Step 1: Define variables and the invariant age gap.
Let the mother's present age be and the daughter's present age be .
The age gap is (which remains constant across all years).
Step 2: Translate the past reflection statement into algebra.
The statement refers to the moment in the past when the mother was as old as the daughter is today:
Since the mother's age dropped from to , the elapsed time into the past is years.
At that same past moment, the daughter's age was:
According to the mother's statement, at that moment she was twice as old as the daughter was:
Step 3: Translate the future age condition.
Ten years from now:
-
Mother's age will be
-
Daughter's age will be
Step 4: Solve for and .
Substitute into equation (2):
Now compute the mother's age :
Step 5: Verification.
-
Present ages: Mother , Daughter . Age gap years.
-
years ago: Mother was (daughter's current age), and daughter was .
-
At that time, Mother () was exactly twice Daughter ()! (Holds)
-
In years: Mother , Daughter . Sum . (Holds)
The mother is 48 years old and the daughter is 32 years old.
Takeaway: When parsing 'when I was as old as you are now', the younger person's past age is 2B - A; set A past = k(2B - A) to decode the timeline instantly.
Example 5.4: Three-Person Family Age System
In a family spanning three generations (Son , Father , Grandfather ):
-
The sum of their present ages is .
-
The father is older than the son.
-
Five years ago, the grandfather was as old as the son was.
Find the present age of all three family members.
Show solution
Step 1: Formulate the simultaneous linear system.
Let be the present ages of the Son, Father, and Grandfather respectively.
Step 2: Express in terms of using equation (3).
Step 3: Substitute expressions for and into the total sum equation (1).
Step 4: Compute the Father's and Grandfather's ages.
-
Father's age:
-
Grandfather's age:
Step 5: Verification.
-
Sum check: (Holds)
-
Father-Son gap: (Holds)
-
Five years ago: Grandfather was , Son was . Ratio: (Holds)
The present ages are: Son , Father , and Grandfather .
Takeaway: Express all family members in terms of the single pivot variable (the son) to reduce multi-generational systems to a 1-variable linear equation.
Example 5.5: Piecewise Commercial Cost Model in Fleet Logistics
A commercial freight delivery service bills shipments using a piecewise tariff: a flat base fee of ₹ covering any distance up to , plus a constant rate of ₹ for each additional kilometer traveled beyond .
-
A short dispatch of falls within the base distance and is billed at ₹.
-
A shipment of costs ₹.
-
A shipment of costs ₹.
-
A shipment of costs ₹.
(a) Determine the base distance , base fee , and the per-kilometer rate .
(b) Calculate the total cost for a shipment traveling .
Show solution
Step 1: Identify the base fee .
Since the dispatch falls entirely within the base distance allowance ():
Step 2: Determine the marginal rate from trips exceeding .
For distances , the cost function is:
For two shipments and :
Step 3: Verify the marginal rate using the trip.
(Consistent).
Step 4: Solve for the base distance threshold .
Substitute and into the cost equation:
Step 5: Calculate the cost for a shipment.
Since :
Base fee , base distance , marginal rate , and a shipment costs ₹.
Takeaway: Find the marginal rate r by dividing Delta Cost by Delta Distance between two points beyond the threshold; then solve for the threshold k.
Example 5.6: Two-Tier Tiered Utility Billing in Cloud GPU Computing
An AI cloud infrastructure provider charges enterprise clients based on a two-tier tariff structure:
-
A mandatory fixed platform access fee of ₹ is billed to all active accounts.
-
The first are billed at a base rate of ₹ per hour.
-
Any compute time exceeding is billed at a discounted surplus rate of ₹ per hour.
Three enterprise clients record their monthly usage:
-
Client C uses and pays ₹.
-
Client A uses and pays ₹.
-
Client B uses and pays ₹.
Determine , and calculate the total bill for a client utilizing .
Show solution
Step 1: Formulate the piecewise billing equations.
For usage :
For usage :
Applying this to the three clients:
-
Client C ():
-
Client A ():
-
Client B ():
Step 2: Isolate and solve for the tier-2 surplus rate .
Subtract equation (2) from equation (3):
Step 3: Solve for and .
Substitute into equation (2):
Now subtract equation (1) () from equation (4):
Substitute into equation (1) to find :
Step 4: Compute the bill for .
For (which is ):
The platform fee is ₹, base rate is ₹, tier-2 rate is ₹, and cost ₹.
Takeaway: Subtracting two usage bills in the same upper tier eliminates the base fee and lower tiers, isolating the surplus rate in a single step.
Practice questions
Question 1 · CAT Level
A two-digit positive integer is equal to times the sum of its digits. When is added to the number, the digits are reversed. What is the original number?
Show answer and explanation
Answer: (B) 36
Let the number be .
From the first condition: .
From the second condition: .
Substitute : , which gives .
The number is .
Question 2 · CAT Level
In a three-digit number, the hundreds digit exceeds the units digit by . If the number exceeds the number formed by reversing its digits by , what is the value of ?
Show answer and explanation
Answer: (B) 198
Let the number be . The reversed number is .
The difference is .
We are given .
Therefore, the difference is .
Question 3 · CAT Level
Six years ago, a father was times as old as his son. Six years hence, the father will be twice as old as his son. What is the sum of their present ages?
Show answer and explanation
Answer: (B) 42 years
Let present ages be and .
.
.
Subtract the first from the second: .
.
Sum of their present ages is .
Question 4 · CAT Level
The sum of the present ages of a grandfather, father, and son is . The father is currently times as old as the son. When the son reaches the father's present age, the grandfather will be old. What is the father's present age?
Show answer and explanation
Answer: (B) 40 years
Let present ages be . We have and .
The son reaches father's age in years.
At that time, grandfather's age will be .
Subtracting from gives .
Therefore, the father's present age is .
Question 5 · CAT Level
A power utility company bills users with a fixed monthly service fee, ₹ per unit for the first units, ₹ per unit for the next units, and ₹ per unit for all units exceeding . If consumer A used units and was billed ₹, how much will consumer B be billed for consuming units?
Show answer and explanation
Answer: (B) ₹2,030
For units: .
For units: Consumption spans all three tiers:
First units at ₹.
Next units at ₹.
Remaining units at ₹.
Total Bill .
Try real CAT questions
Study this concept with interactive practice in PrepSoc.
Open the concept library