Maths WorkshopMaths problems with full solutions
Exercise 86Calculus › Single-variable calculus › Differentiation › Optimisation and curve sketchingHigh schoolAdded 4 Nov 2026

How many trees in the orchard?

#optimisation#modelling#quadratic function

Statement

An orchard has 5050 apple trees, each giving 800800 apples per year. Each additional tree planted reduces the yield of every tree by 1010 apples (they compete for light and water). How many trees should be added to maximise the total harvest?

Hint

With xx extra trees there are 50+x50+x trees, each giving 800−10x800-10x apples.

Show solutionHide solution

Solution

Total harvest. H(x)=(50+x)(800−10x)=40 000+300x−10x2H(x)=(50+x)(800-10x)=40\,000+300x-10x^2 for 0≤x≤800\le x\le80 (beyond 8080 the yield per tree would be negative).

Maximum. H′(x)=300−20x=0  ⟺  x=15H'(x)=300-20x=0\iff x=15. HH is a concave parabola, so this is the global maximum. Since 1515 is an integer, it is admissible as a number of trees.

Answer. Plant 1515 more trees: 6565 trees, each giving 650650 apples, for a total of 42 25042\,250 apples (compared with 40 00040\,000 at the start).

Remark. Whenever "more of something reduces the yield of each", the optimum balances the gain from the extra unit against the loss on all the others.