Vertex Learn

Uniform and triangular: 7 exam questions solved step by step

← Previous10 of 10

What this lesson covers

  • Continuous uniform and triangular probabilities are areas of rectangles and triangles.
  • A model is judged by comparing its probabilities with the data's relative frequencies.
Key idea

Uniform and triangular distributions

  1. Sketch the pdf and shade the area.
  2. Height: 1 ÷ (b − a) uniform, 2 ÷ (b − a) triangle peak.
  3. Find the area of the rectangle or triangle.
  4. Judge the model by how well it fits the data.
Your turn

Question 1 · Achieved

  • Pizza delivery times are uniform
  • Between 20 and 45 minutes.
  • Find P(a delivery takes under 30 min).
Question 1 · Achieved
Worked example

Q1: a rectangle

  • Flat pdf: height 1 ÷ (b − a).
  • Width × height.
  1. X ~ U(20, 45)minutes
  2. height = 1 ÷ (45 − 20) = 1/25
  3. 25 × 1/25 = 1total area 1
  4. P(X < 30) = width × height
  5. = (30 − 20) × 1/25
  6. = 10/25 = 0.4
  7. 30 × 1/25 = 1.2over 1: impossible
  8. a 40% chanceunder 30 min
Key idea

Try it: a rectangle

Your turn

Question 2 · Achieved

  • Cross-country times are triangular:
  • a = 12, c = 15, b = 24 minutes.
  • Find the peak height and
  • P(a runner takes over 20 min).
Question 2 · Achieved
Worked example

Q2: the peak, then a triangle

  • Total area 1 fixes the peak.
  • ½ × base × height.
  1. a = 12, c = 15, b = 24
  2. peak = 2 ÷ (24 − 12) = 1/6
  3. ½ × 12 × 1/6 = 1total area 1
  4. f(20) = (4/9) × (1/6)similar triangles
  5. = 4/54 = 2/27
  6. P(X > 20) = ½ × base × height
  7. = ½ × 4 × 2/27
  8. = 4/27 = 0.14814 d.p.
Key idea

Try it: a triangle

Your turn

Question 3 · Merit

  • The same run: a = 12, c = 15, b = 24.
  • Find P(14 < X < 20).
  • Careful: the middle is not a triangle.
Question 3 · Merit
Worked example

Q3: 1 minus both tails

  • The tails are triangles.
  • Take them off 1.
  1. P(14 < X < 20)
  2. = 1 − P(X < 14) − P(X > 20)not a triangle
  3. f(14) = (2/3) × (1/6) = 1/9similar triangles
  4. P(X < 14) = ½ × 2 × 1/9 = 1/9
  5. P(X > 20) = 4/27from question 2
  6. 1 − 1/9 − 4/27
  7. = 27/27 − 3/27 − 4/27
  8. = 20/27 = 0.74074 d.p.
Your turn

Question 4 · Merit, in context

  • A garden centre says a delivery takes
  • At least 2 days, at most 9,
  • And most often 3. Use a triangular
  • Model to find P(over 6 days).
Question 4 · Merit, in context
Worked example

Q4: choose a, c, b

  • Least, most likely, most.
  • Then the right tail.
  1. a = 2, c = 3, b = 9least, likeliest, most
  2. peak = 2 ÷ (9 − 2) = 2/7
  3. f(6) = (3/6) × (2/7) = 1/7similar triangles
  4. P(X > 6) = ½ × 3 × 1/7
  5. = 3/14 = 0.21434 d.p.
  6. about 21% take over 6 days
Your turn

Question 5 · Merit, in context

  • A learner shearer's times are uniform,
  • From 2 to 6 minutes a sheep.
  • Of 200 sheep, how many over 5 min?
  • A sheep has taken 3 min: P(over 5)?
Question 5 · Merit, in context
Worked example

Q5: count, then given

  • n × probability.
  • "Given" shrinks the total.
  1. X ~ U(2, 6), height 1/4
  2. P(X > 5) = (6 − 5) × 1/4 = 1/4
  3. 200 × 1/4 = 50 sheep
  4. P(X > 5 | X > 3)
  5. = P(X > 5) ÷ P(X > 3)over 5 is over 3
  6. P(X > 3) = (6 − 3) × 1/4 = 3/4
  7. (1/4) ÷ (3/4) = 1/3
  8. = 0.33334 d.p.
  9. about 1 in 3 of those sheep
Your turn

Question 6 · Excellence

  • The garden centre: model a = 2, c = 3, b = 9.
  • Their records for 60 deliveries are below.
  • Compare model and data at both tails.
Under 3 daysOver 6 daysTotal
Deliveries11960
Worked example

Q6: model against data

  • Model: an area.
  • Data: a relative frequency.
  1. P(X < 3) = ½ × 1 × 2/7 = 1/7
  2. = 0.1429model
  3. data: 11/60 = 0.1833
  4. P(X > 6) = 3/14 = 0.2143from question 4
  5. data: 9/60 = 0.15
  6. 0.1429 < 0.1833model too low
  7. 0.2143 > 0.15model too high
  8. too many long waits: b too big
Your turn

Question 7 · Excellence

  • Change the model to b = 8.
  • Recalculate both tails and
  • Judge: is b = 8 a better model?
Question 7 · Excellence
Worked example

Q7: try b = 8

  • Smaller b: taller peak.
  • Compare both tails again.
  1. a = 2, c = 3, b = 8
  2. peak = 2 ÷ (8 − 2) = 1/3
  3. P(X < 3) = ½ × 1 × 1/3 = 1/6
  4. = 0.1667data 0.1833
  5. f(6) = (2/5) × (1/3) = 2/15similar triangles
  6. P(X > 6) = ½ × 2 × 2/15 = 2/15
  7. = 0.1333data 0.15
  8. both gaps now about 0.017were 0.04 and 0.06
  9. b = 8 is the better model
Key idea

Try it: cut off the area

Common mistakes

  • The area of a triangular model's middle is a triangle.
    Find the two tails, then subtract from 1.
  • The peak height of a triangle is 1.
    The total area is 1, so the peak is 2 ÷ (b − a).
  • Mixing up c and b.
    c is the most likely value. a and b are the ends.
Summary

The method that solved all seven

  • Sketch, find the height, find the area, then judge the model against the data.
StepHow
Uniformheight 1 ÷ (b − a)
Triangularpeak 2 ÷ (b − a)
Heightssimilar triangles
Middle1 minus both tails
Choosea least, c most likely, b most
Judgemodel against data, each tail

Challenge

1

A ferry crossing time X minutes is modelled as uniform between a and b. Records show P(X < 50) = 0.25 and P(X > 62) = 0.15. Find a and b. Then find P(52 < X < 60), and the probability that a crossing that has already taken 52 minutes finishes within 60 minutes.

Hint

Both tails are rectangles with the same height, 1 ÷ (b − a). Add the two tail widths and compare them with the whole width.

Answer

a = 45, b = 65; P(52 < X < 60) = 0.4; P(X < 60 | X > 52) = 813 ≈ 0.6154

Step by step
  1. Every rectangle under a uniform pdf has the same height, so a probability is just a width as a share of the whole width b − a.
  2. The two tails together have probability 0.25 + 0.15 = 0.4, and their widths add to (50 − a) + (b − 62) = (b − a) − 12.
  3. So (b − a) − 12 = 0.4(b − a), which gives 0.6(b − a) = 12 and b − a = 20.
  4. Then 50 − a = 0.25 × 20 = 5, so a = 45, and b − 62 = 0.15 × 20 = 3, so b = 65.
  5. P(52 < X < 60) = 8 ÷ 20 = 0.4.
  6. Given X > 52, the possible region shrinks to 52 to 65, width 13. Of that, 52 to 60 has width 8, so the answer is 8 ÷ 13.
Full working
  1. (50 − a) + (b − 62) = 0.4(b − a)the two tails together
  2. (b − a) − 12 = 0.4(b − a), so b − a = 20
  3. 50 − a = 0.25 × 20 = 5, b − 62 = 0.15 × 20 = 3each tail
  4. a = 45, b = 65, height 120
  5. P(52 < X < 60) = 8 × 120 = 0.4rectangle
  6. P(52 < X < 60) ÷ P(X > 52) = 0.4 ÷ (13 × 120) = 0.4 ÷ 0.65given shrinks the total
  7. a = 45, b = 65; 0.4; 813 ≈ 0.6154
2

The time X minutes to pack a bin of kiwifruit is triangular with a = 10, c = 16 and b = 40. The packhouse wants the middle 80% of packing times: the times below which the fastest 10% fall and above which the slowest 10% fall. Find both times exactly, then to 2 decimal places.

Hint

Each cut-off leaves a triangle of area 0.1 in a tail. Write that tail area in terms of the cut-off using similar triangles, but first check which side of the peak each cut-off lies.

Answer

Fastest 10%: under 10 + 3√2 ≈ 14.24 min; slowest 10%: over 40 − 6√2 ≈ 31.51 min

Step by step
  1. The peak height is 2 ÷ (40 − 10) = 115.
  2. Check sides first: P(X < 16) = ½ × 6 × 115 = 0.2. That is more than 0.1, so the lower cut-off is left of the peak; the upper one is right of it.
  3. Lower cut-off t: the left tail is a triangle with base t − 10 and height (t − 10) ÷ 6 × 115, so its area is (t − 10)² ÷ 180. Set this to 0.1: (t − 10)² = 18, so t = 10 + √18 = 10 + 3√2.
  4. Upper cut-off s: the right tail has base 40 − s and height (40 − s) ÷ 24 × 115, so its area is (40 − s)² ÷ 720. Set this to 0.1: (40 − s)² = 72, so s = 40 − √72 = 40 − 6√2.
  5. Take the root that lands inside the range: 10 − 3√2 and 40 + 6√2 are outside 10 to 40.
  6. So the middle 80% of bins take between about 14.24 and 31.51 minutes.
Full working
  1. peak = 2 ÷ (40 − 10) = 115
  2. P(X < 16) = ½ × 6 × 115 = 0.2 > 0.1lower cut-off is left of c
  3. ½ × (t − 10) × t − 106 × 115 = (t − 10)²180 = 0.1similar triangles
  4. (t − 10)² = 18, t = 10 + 3√2 ≈ 14.24
  5. ½ × (40 − s) × 40 − s24 × 115 = (40 − s)²720 = 0.1right tail
  6. (40 − s)² = 72, s = 40 − 6√2 ≈ 31.51
  7. middle 80%: 10 + 3√2 ≈ 14.24 min to 40 − 6√2 ≈ 31.51 min
3

Waits X minutes at a city bus stop are modelled as triangular with a = 1, c = 4 and an unknown maximum b. In 200 recorded waits, 40 were over 10 minutes and 17 were under 3 minutes. Find the value of b that makes the model match the over-10-minute data exactly. Then compare the model with the data for waits under 3 minutes, and comment on the fit.

Hint

Write P(X > 10) in terms of b: the peak is 2 ÷ (b − 1), and the height at 10 comes from similar triangles. Setting it equal to the data gives a quadratic; one root does not make sense.

Answer

b = 16; model P(X < 3) = 445 ≈ 0.0889 against data 17200 = 0.085, so the model fits both tails well

Step by step
  1. The data's upper tail is 40 ÷ 200 = 0.2, so the model needs P(X > 10) = 0.2.
  2. Peak height 2 ÷ (b − 1). The right tail triangle has base b − 10 and height (b − 10) ÷ (b − 4) × 2 ÷ (b − 1).
  3. So P(X > 10) = (b − 10)² ÷ ((b − 1)(b − 4)). Setting this to 0.2 and clearing fractions gives 4b² − 95b + 496 = 0.
  4. The roots are b = 16 and b = 7.75. A wait over 10 minutes must be possible, so b must be more than 10: b = 16.
  5. With b = 16 the peak is 215. The left tail to 3 has base 2 and height (2 ÷ 3) × 215 = 445, so P(X < 3) = ½ × 2 × 445 = 445 ≈ 0.0889.
  6. The data give 17 ÷ 200 = 0.085. The gap is under 0.004, so the model with b = 16 fits both tails closely.
Full working
  1. data: 40 ÷ 200 = 0.2 over 10 min, 17 ÷ 200 = 0.085 under 3 min
  2. P(X > 10) = ½ × (b − 10) × b − 10b − 4 × 2b − 1 = (b − 10)²(b − 1)(b − 4)similar triangles
  3. 5(b − 10)² = (b − 1)(b − 4)set equal to 0.2
  4. 5b² − 100b + 500 = b² − 5b + 4, so 4b² − 95b + 496 = 0
  5. b = (95 ± 33) ÷ 8 = 16 or 7.75b must exceed 10
  6. peak 215; P(X < 3) = ½ × 2 × (23 × 215) = 445 ≈ 0.0889lower tail
  7. b = 16; 0.0889 against 0.085, a close fit at both tails

More challenge problems

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Revision video: exam questions workedWatch and practise
Report a mistake

More in AS 91586

Is your child on track?

Take the free placement test