HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /A farmer has 60 m of fencing to make three sides of a rectangular pen…
HardMathematicsHigh School (9–10)Functions and Calculus › Limits and DerivativesNumericalword problemA-LevelIGCSEIB

A farmer has 60 m of fencing to make three sides of a rectangular pen…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A farmer has 606060 m of fencing to make three sides of a rectangular pen. The fourth side is a wall. The sides at right angles to the wall are each xxx metres long.

The area of the pen is AAA square metres, where A=x(60−2x)=60x−2x2A = x(60 - 2x) = 60x - 2x^2A=x(60−2x)=60x−2x2.

Find the value of xxx that gives the greatest area, the greatest area, and the value of d2Adx2\dfrac{d^2A}{dx^2}dx2d2A​.

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

If y=axny = ax^ny=axn then dydx=anxn−1\dfrac{dy}{dx} = anx^{n - 1}dxdy​=anxn−1, and a constant has derivative 000. A stationary point has dydx=0\dfrac{dy}{dx} = 0dxdy​=0. At a stationary point, d2ydx2>0\dfrac{d^2y}{dx^2} > 0dx2d2y​>0 means a minimum and d2ydx2<0\dfrac{d^2y}{dx^2} < 0dx2d2y​<0 means a maximum.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. The gradient. dAdx=60−4x\dfrac{dA}{dx} = 60 - 4xdxdA​=60−4x.

Step 2. Set it to zero. 60−4x=060 - 4x = 060−4x=0 gives x=15x = 15x=15.

Step 3. The second derivative. d2Adx2=−4\dfrac{d^2A}{dx^2} = -4dx2d2A​=−4, which is negative, so x=15x = 15x=15 gives a maximum.

Step 4. The area. A=15×(60−30)=15×30=450A = 15 \times (60 - 30) = 15 \times 30 = 450A=15×(60−30)=15×30=450 square metres.

Check. The side along the wall is 60−2×15=3060 - 2 \times 15 = 3060−2×15=30 m, and the area is 15×30=45015 \times 30 = 45015×30=450 m2^22.

Answer: x=15x = 15x=15 m, the greatest area is 450450450 m2^22, and d2Adx2=−4\dfrac{d^2A}{dx^2} = -4dx2d2A​=−4.

Log in to save this for later
← All Problems
← The turning points of a cubic curve are needed, with their nature decided by the second derivative…A circle has the equation x² + y² - 10x + 6y + 9 = 0… →
More onFunctions and Calculus › Limits and Derivatives

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. A first look at differentiationLogarithms, Exponentials and a First Look at Differentiation

More on this topic

  1. The turning points of a cubic curve are needed, with their nature decided by the second derivative…Medium
  2. The steepness of a path modelled by a cubic is needed at two places…Easy
  3. A growth model contains the factor xˣ for small positive x…Hard
A numerical analyst studies the error of a three-term approximation of the exponential…Hard
  • A chemist compares two rates built from exponentials…Hard
  • All problems on this topic →