CODEBHAVYA โข QUANTITATIVE APTITUDE
๐ Averages
Understand arithmetic mean, weighted and combined averages, missing values and the fast methods used in aptitude tests, data analysis and programming.
๐ฏ 1. Learning Objectives
After completing this topic, you should be able to:
- Calculate an arithmetic mean from a list of values.
- Recover the total or a missing value from a known average.
- Calculate weighted and combined averages correctly.
- Handle addition, removal and replacement of observations.
- Use shortcuts for consecutive and equally spaced numbers.
- Distinguish ordinary average speed from equal-distance average speed.
๐ 2. Arithmetic Mean
Basic Meaning
An average represents an equal share of a total across all observations.
Average = Sum of observations / Number of observations
Total from Average
Rearranging the basic formula gives the total.
Total = Average ร Number of observations
Example: Average of 10, 20 and 30 = (10+20+30)/3 = 20.
๐ง 3. Useful Properties and Shortcuts
โ๏ธ 4. Weighted Average
Use a weighted average when observations do not contribute equally.
Weighted average = ฮฃ(value ร weight) / ฮฃweights
Example: score 80 with weight 2 and score 90 with weight 3 gives (80ร2 + 90ร3)/(2+3) = 86.
๐ฅ 5. Combined Average
To combine groups, first convert each group average into its total.
Combined average = (nโaโ + nโaโ) / (nโ + nโ)
Example: 20 students average 60 and 30 students average 70. Combined average = (20ร60 + 30ร70)/50 = 66.
โ 6. Missing-Value Problems
- Find the required total: average ร number of values.
- Add all known values.
- Subtract the known total from the required total.
Missing value = Required total โ Sum of known values
๐ 7. Addition, Removal and Replacement
Adding a Value
Added value = New total โ Old total
Removing a Value
Removed value = Old total โ New total
Replacing a Value
New average = Old average + (NewโOld)/n
Wrong Entry Correction
Correct total = Recorded total โ Wrong + Correct
๐ 8. Average Speed
General Rule
Average speed = Total distance / Total time
Equal Distances at x and y
Average speed = 2xy / (x+y)
Do not use (x+y)/2 unless the travel times are equal.
INTERACTIVE EXPLORER
๐งช 9. Average Explorer
Select a calculation, enter values and click Calculate Average. Input changes hide the previous result.
Select a calculation or example, then click Calculate Average.
๐งพ 10. Solved Examples
Example 1: Missing Number
Problem: Four numbers average 15. Three are 12, 18 and 14.
Solution: Required total=60; known total=44; missing=16.
Example 2: Added Observation
Problem: Five numbers average 24. Adding one makes the average 26.
Solution: Added value=6ร26โ5ร24=36.
Example 3: Combined Group
Problem: 18 boys average 60. Twelve girls average 50.
Solution: Combined=(18ร60+12ร50)/30=56.
Example 4: Equal Distance Speed
Problem: Equal distances at 60 km/h and 40 km/h.
Solution: Average=2ร60ร40/(60+40)=48 km/h.
๐ป 11. Averages in Programming
Running Average
Programs update a mean as new sensor readings or records arrive.
Performance Measurement
Average response time, CPU usage and memory consumption summarize system behaviour.
Data Cleaning
Means help identify unusual values and can support missing-data estimates.
Machine Learning
Weighted averages combine losses, predictions and model outputs.
โ ๏ธ 12. Common Mistakes
โ๏ธ 13. Practice Problems
Solve each problem first, then use Show Solution to verify your method.
1. Find the average of 14, 18, 22 and 26.
Sum=80. Average=80/4=20.
2. The average of five values is 12. Find their total.
Total=12ร5=60.
3. Four numbers average 25. Three are 20, 24 and 30. Find the fourth.
Required total=100; known total=74; missing=26.
4. Ten employees average 35 years. One aged 40 is replaced by one aged 30.
Average changes by (30โ40)/10=โ1. New average=34 years.
5. Find the average speed for equal distances at 30 km/h and 60 km/h.
Average=2ร30ร60/(30+60)=40 km/h.
๐ 14. Quick Revision
- Average = total รท number of observations.
- Total = average ร number of observations.
- Weighted mean uses ฮฃ(valueรweight)/ฮฃweights.
- Combined mean converts each group average into a group total.
- Missing value = required total โ known total.
- A change ฮ in one of n observations changes the average by ฮ/n.
- The mean of consecutive or equally spaced values is (first+last)/2.
- Average speed always equals total distance รท total time.
INTERACTIVE PRACTICE
๐ Averages Practice
Complete 20 questions from easy to hard. Your score, every option, correct answers and explanations appear only after final submission.
Start 20-Question Test โ