Lemonmath
Tiếng Việt

Derivatives in real-world problems

Lesson 1.5 · 22 min read · Updated

A workshop has to make sheet-metal tanks with no lid, with a square base, holding exactly 3232 dm³ (that is, 3232 litres). The less metal a tank uses, the cheaper it is. If the base is 22 dm wide, the tank must be 88 dm tall; if the base is 66 dm wide, it needs to be less than 11 dm tall. What base side should we choose to use the least metal?

Optimisation problems

Explore: try a few sizes

Let the base side be xx (dm). The height is h=32x2h=\dfrac{32}{x^2}, and the area of metal (the base and four sides) is S(x)=x2+4xh=x2+128x.S(x)=x^2+4xh=x^2+\frac{128}{x}.

xx (dm) 22 33 44 55 66
S(x)S(x) (dm²) 6868 ≈51.67\approx51.67 4848 50.650.6 ≈57.33\approx57.33

A small base means tall sides, so a lot of metal goes on the sides; a large base uses a lot of metal on the bottom. The best value seems to be near x=4x=4, but the table does not prove it. The derivative will give the exact answer.

1234567891020406080100120xyO(4, 48)
Area of metal S(x)=x2+128xS(x)=x^2+\dfrac{128}{x}

Business problems have the same shape, but the domain is often a closed interval, so both endpoints must be compared too.

Velocity, acceleration and rates of change

The derivative f′(t0)f'(t_0) is the instantaneous rate of change of the quantity ff at time t0t_0. For an object moving along a straight line with distance s(t)s(t):

  • the velocity is v(t)=s′(t)v(t)=s'(t);
  • the acceleration is a(t)=v′(t)=s′′(t)a(t)=v'(t)=s''(t) (see the second derivative in grade 11).

Rates of change are not only for motion. The next example is about temperature.

Shortest paths and least cost

This problem has a lot of data, so we solve it in four steps.

3 kmx8 − xHMAF
A pipeline from the pumping station AA to the factory FF

Key terms

Summary

  • Four steps: choose the variable and its constraint → set up the function → find the maximum or minimum on the domain → conclude with units.
  • The domain is an open interval: use a table of variations. A closed interval: compare the values at the critical points and at both endpoints.
  • Motion: v(t)=s′(t)v(t)=s'(t), a(t)=v′(t)=s′′(t)a(t)=v'(t)=s''(t); the greatest velocity is usually reached when a(t)=0a(t)=0.
  • f′(t0)f'(t_0) is the instantaneous rate of change of ff at t0t_0; a minus sign means the quantity is decreasing.
  • Always check the result: does it satisfy the constraint, and does it make sense in real life?

Practice

Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.

Exercise 1

An object moves along a straight line and has travelled s(t)=t3−6t2+9ts(t)=t^3-6t^2+9t (metres) after tt seconds. Find the times when the velocity is 00, and the acceleration at those times.

What you need and how to start

What you need: v(t)=s′(t)v(t)=s'(t), a(t)=s′′(t)a(t)=s''(t).

Steps:

  1. Compute v(t)v(t) and solve v(t)=0v(t)=0.
  2. Compute a(t)=6t−12a(t)=6t-12 at each root.
Show solution

v(t)=3t2−12t+9=3(t−1)(t−3)=0  ⟺  t=1v(t)=3t^2-12t+9=3(t-1)(t-3)=0\iff t=1 or t=3t=3. a(t)=6t−12a(t)=6t-12: a(1)=−6a(1)=-6, a(3)=6a(3)=6.

Answer. t=1t=1 s (acceleration −6-6 m/s²) and t=3t=3 s (acceleration 66 m/s²).

Exercise 2

Mr Hùng fences a rectangular garden of area 200200 m², with one side against an existing wall (which needs no fence). Find the dimensions that make the total length of fence as small as possible.

What you need and how to start

What you need: the steps for an optimisation problem; find the minimum on (0,+∞)(0, +\infty) with a variation table.

Steps:

  1. Let xx be the side perpendicular to the wall; the side parallel to the wall is 200x\dfrac{200}{x}.
  2. The fence has length L(x)=2x+200xL(x)=2x+\dfrac{200}{x}; find its minimum.
Show solution

L′(x)=2−200x2=0  ⟺  x=10L'(x)=2-\dfrac{200}{x^2}=0\iff x=10. L′<0L'<0 for 0<x<100<x<10 and L′>0L'>0 for x>10x>10, so LL is smallest at x=10x=10: L(10)=20+20=40L(10)=20+20=40. The side parallel to the wall is 20010=20\dfrac{200}{10}=20 m.

Answer. The garden is 1010 m ×\times 2020 m (the 2020 m side against the wall); the shortest fence is 4040 m.

Exercise 3

From a square sheet of card with side 6060 cm, four equal squares of side xx cm are cut from the corners and the sides are folded up to make an open box. Find xx to make the volume of the box as large as possible.

What you need and how to start

What you need: the box has a square base of side 60−2x60-2x and height xx, with 0<x<300<x<30.

Steps:

  1. Set up V(x)=x(60−2x)2V(x)=x(60-2x)^2.
  2. Compute V′(x)V'(x), factorise it, and keep only the roots in (0,30)(0, 30).
Show solution

V′(x)=(60−2x)2−4x(60−2x)=(60−2x)(60−6x)=12(x−30)(x−10)V'(x)=(60-2x)^2-4x(60-2x)=(60-2x)(60-6x)=12(x-30)(x-10). The only root in (0,30)(0, 30) is x=10x=10; V′>0V'>0 for 0<x<100<x<10 and V′<0V'<0 for 10<x<3010<x<30. V(10)=10⋅402=16 000V(10)=10\cdot40^2=16\,000.

Answer. x=10x=10 cm; the largest volume is 16 00016\,000 cm³ (1616 litres).

Exercise 4

The population of a town tt years after 2025 is estimated as N(t)=26t+10t+5N(t)=\dfrac{26t+10}{t+5} (thousand people). Find the rate of population growth at t=5t=5. In the long run, what does the population approach?

What you need and how to start

What you need: the instantaneous rate of change is N′(t)N'(t); the long-run value is lim⁡t→+∞N(t)\lim\limits_{t\to+\infty}N(t) (the horizontal asymptote).

Steps:

  1. Compute N′(t)N'(t) with the quotient rule.
  2. Substitute t=5t=5 and compute the limit.
Show solution

N′(t)=26(t+5)−(26t+10)(t+5)2=120(t+5)2N'(t)=\dfrac{26(t+5)-(26t+10)}{(t+5)^2}=\dfrac{120}{(t+5)^2}, so N′(5)=120100=1.2N'(5)=\dfrac{120}{100}=1.2 thousand people per year. lim⁡t→+∞N(t)=26\lim\limits_{t\to+\infty}N(t)=26.

Answer. It grows by 1.21.2 thousand people a year (that is, 12001200 people a year); in the long run the population approaches 2626 thousand people.

Exercise 5

A hotel has 5050 rooms. At 400400 thousand đồng a night it is full; each increase of 2020 thousand đồng in the price leaves one more room empty. Let xx be the number of price increases (0≤x≤500\le x\le 50) and R(x)R(x) the revenue per night (thousand đồng). Is each claim true or false?

a) R(x)=(400+20x)(50−x)R(x)=(400+20x)(50-x).

b) RR is increasing on the interval (0,15)(0, 15).

c) The revenue is largest when the room price is 700700 thousand đồng.

d) The largest revenue per night is 24 000 00024\,000\,000 đồng.

What you need and how to start

What you need: revenue = price of one room ×\times number of rooms let.

Steps:

  1. Write the price and the number of rooms in terms of xx.
  2. Compute R′(x)R'(x) and find where R′(x)=0R'(x)=0.
  3. Compute the room price and the revenue at that point.
Show solution

a) True: the price is 400+20x400+20x and the number of rooms let is 50−x50-x.

b) True: R(x)=−20x2+600x+20 000R(x)=-20x^2+600x+20\,000, and R′(x)=600−40x>0R'(x)=600-40x>0 when x<15x<15.

c) True: R′R' changes sign from ++ to −- at x=15x=15, so RR is largest at x=15x=15; the price is 400+300=700400+300=700 thousand đồng.

d) False: R(15)=700⋅35=24 500R(15)=700\cdot35=24\,500 thousand đồng, that is 24 500 00024\,500\,000 đồng.

Answer. a) True; b) True; c) True; d) False.

Exercise 6

A cylindrical can with a lid has volume 10001000 cm³. Find the base radius rr (cm) that uses the least material (round to two decimal places).

What you need and how to start

What you need: the volume V=πr2hV=\pi r^2h; the total surface area S=2πr2+2πrhS=2\pi r^2+2\pi rh.

Steps:

  1. From πr2h=1000\pi r^2h=1000, write hh in terms of rr and set up S(r)=2πr2+2000rS(r)=2\pi r^2+\dfrac{2000}{r}.
  2. Solve S′(r)=0S'(r)=0 and check the sign.
Show solution

S′(r)=4πr−2000r2=0  ⟺  r3=500π  ⟺  r=500π3≈5.419S'(r)=4\pi r-\dfrac{2000}{r^2}=0\iff r^3=\dfrac{500}{\pi}\iff r=\sqrt[3]{\dfrac{500}{\pi}}\approx5.419. S′<0S'<0 for rr below this value and S′>0S'>0 above it, so this is the minimum.

Answer. r≈5.42r\approx5.42.

Exercise 7

During a flu outbreak, the number of people who have caught the illness by day tt is estimated as f(t)=30t2−t3f(t)=30t^2-t^3 (0≤t≤200\le t\le 20). The rate of spread is f′(t)f'(t) (people per day). On which day is the rate of spread greatest, and what is it?

What you need and how to start

What you need: find the maximum of g(t)=f′(t)g(t)=f'(t) on [0,20][0, 20].

Steps:

  1. Compute g(t)=f′(t)=60t−3t2g(t)=f'(t)=60t-3t^2.
  2. Solve g′(t)=0g'(t)=0 and compare with both endpoints.
Show solution

g′(t)=60−6t=0  ⟺  t=10g'(t)=60-6t=0\iff t=10. g(0)=0g(0)=0, g(10)=600−300=300g(10)=600-300=300, g(20)=1200−1200=0g(20)=1200-1200=0.

Answer. Day 1010; the greatest rate of spread is 300300 people per day.

Exercise 8

A lorry travels 300300 km at a constant speed vv (km/h), 40≤v≤9040\le v\le 90. Each hour of driving costs 500500 thousand đồng (wages, wear) plus v25\dfrac{v^2}{5} thousand đồng of fuel. Choose vv to make the total cost of the trip as small as possible.

What you need and how to start

What you need: the driving time is 300v\dfrac{300}{v} hours; the total cost is the cost per hour times the time.

Steps:

  1. Set up C(v)=300v(500+v25)=150 000v+60vC(v)=\dfrac{300}{v}\left(500+\dfrac{v^2}{5}\right)=\dfrac{150\,000}{v}+60v.
  2. Find its minimum on [40,90][40, 90].
Show solution

C′(v)=−150 000v2+60=0  ⟺  v2=2500  ⟺  v=50C'(v)=-\dfrac{150\,000}{v^2}+60=0\iff v^2=2500\iff v=50. C(40)=3750+2400=6150C(40)=3750+2400=6150, C(50)=3000+3000=6000C(50)=3000+3000=6000, C(90)=50003+5400≈7066.67C(90)=\dfrac{5000}{3}+5400\approx7066.67.

Answer. v=50v=50 km/h; the least cost is 60006000 thousand đồng (66 million đồng).

Exercise 9 Review

A metal sheet 3030 cm wide is folded into a gutter: the bottom is 1010 cm wide and each of the two sides is 1010 cm wide, each side tilted outwards at an angle θ\theta to the vertical (0≤θ<π20\le\theta<\dfrac{\pi}{2}). Find θ\theta that makes the cross-section area of the gutter as large as possible.

What you need and how to start

What you need: the cross-section is a trapezium with height 10cos⁡θ10\cos\theta, shorter base 1010 and longer base 10+20sin⁡θ10+20\sin\theta; the derivatives of sin⁡\sin and cos⁡\cos and the formula cos⁡2θ=1−2sin⁡2θ\cos2\theta=1-2\sin^2\theta (grade 11).

Steps:

  1. Set up A(θ)=100cos⁡θ(1+sin⁡θ)A(\theta)=100\cos\theta(1+\sin\theta).
  2. Compute A′(θ)A'(\theta) and turn it into an equation in sin⁡θ\sin\theta.
  3. Compare with the value at θ=0\theta=0.
Show solution

A=10+10+20sin⁡θ2⋅10cos⁡θ=100cos⁡θ(1+sin⁡θ)A=\dfrac{10+10+20\sin\theta}{2}\cdot10\cos\theta=100\cos\theta(1+\sin\theta). A′(θ)=100(cos⁡2θ−sin⁡θ−sin⁡2θ)=100(1−sin⁡θ−2sin⁡2θ)=−100(2sin⁡θ−1)(sin⁡θ+1)A'(\theta)=100(\cos^2\theta-\sin\theta-\sin^2\theta)=100(1-\sin\theta-2\sin^2\theta)=-100(2\sin\theta-1)(\sin\theta+1). So A′=0  ⟺  sin⁡θ=12  ⟺  θ=π6A'=0\iff\sin\theta=\dfrac12\iff\theta=\dfrac{\pi}{6}; A′>0A'>0 before this point and A′<0A'<0 after it. A(π6)=100⋅32⋅32=753≈129.9A\left(\dfrac{\pi}{6}\right)=100\cdot\dfrac{\sqrt3}{2}\cdot\dfrac32=75\sqrt3\approx129.9, which is larger than A(0)=100A(0)=100.

Answer. θ=π6\theta=\dfrac{\pi}{6} (30∘30^\circ); the largest cross-section area is 753≈129.975\sqrt3\approx129.9 cm².

Exercise 10 Challenge

A rectangular window is set inside a semicircular frame of radius 1010 dm, with one side of the window on the diameter. Find the dimensions of the window with the largest area.

What you need and how to start

What you need: if half the width of the window is xx, its top corners lie on the semicircle, so its height is 100−x2\sqrt{100-x^2} (Pythagoras' theorem).

Steps:

  1. Set up S(x)=2x100−x2S(x)=2x\sqrt{100-x^2} for 0<x<100<x<10.
  2. Compute S′(x)S'(x) and solve S′(x)=0S'(x)=0.
Show solution

S′(x)=2100−x2−2x2100−x2=2(100−2x2)100−x2=0  ⟺  x=52S'(x)=2\sqrt{100-x^2}-\dfrac{2x^2}{\sqrt{100-x^2}}=\dfrac{2(100-2x^2)}{\sqrt{100-x^2}}=0\iff x=5\sqrt2. S′>0S'>0 for x<52x<5\sqrt2 and S′<0S'<0 for x>52x>5\sqrt2. The width is 2x=1022x=10\sqrt2, the height is 100−50=52\sqrt{100-50}=5\sqrt2, and the area is 102⋅52=10010\sqrt2\cdot5\sqrt2=100.

Answer. The window is 102≈14.1410\sqrt2\approx14.14 dm wide and 52≈7.075\sqrt2\approx7.07 dm tall; the largest area is 100100 dm².

Mini test

Mini test

Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.

Part I. Multiple choice

Question 1. An object moves along a straight line and has travelled s(t)=2t3−3t2+ts(t)=2t^3-3t^2+t (metres) after tt seconds. Its velocity at t=2t=2 seconds is
Question 2. A particle moves along a straight line with distance s(t)=−t3+6t2s(t)=-t^3+6t^2 (metres), 0≤t≤50\le t\le 5 (seconds). Its velocity is greatest at
Question 3. The cost of making xx products is C(x)=0.01x2+20x+500C(x)=0.01x^2+20x+500 (thousand đồng). The instantaneous rate of change of the cost with respect to the number of products at x=100x=100 is
Question 4. 4040 m of fencing goes all the way round a rectangular garden of width xx (m). The area of the garden in terms of xx is

Part II. True or false

Question 1. A ball is thrown straight up; its height after tt seconds is h(t)=2+20t−5t2h(t)=2+20t-5t^2 (metres).
a) The velocity of the ball is v(t)=20−10tv(t)=20-10t (m/s).
b) The ball reaches its greatest height at t=2t=2 seconds.
c) The greatest height of the ball is 2020 m.
d) The speed of the ball when it hits the ground is more than 2020 m/s.

Part III. Short answer

Question 1. A piece of wire 22 m long is cut into two parts: the first is bent into a square and the second into an equilateral triangle. To make the total area of the two shapes as small as possible, how long (in metres) should the part for the square be? Give your answer to 2 decimal places.

Question 2. A beam with a rectangular cross-section of width bb and height hh (cm) is cut from a cylindrical log of diameter 4040 cm, with the rectangle inscribed in the circle. The strength of the beam is proportional to bh2bh^2. For the strongest beam, what is the width bb in centimetres? Give your answer to 1 decimal place.

Show answers and explanations
  1. Part I, question 1: B. v(t)=s′(t)=6t2−6t+1v(t)=s'(t)=6t^2-6t+1, so v(2)=24−12+1=13v(2)=24-12+1=13. Option A is the distance s(2)s(2), option C is the acceleration a(2)=s′′(2)a(2)=s''(2), and option D gets the sign of the term −6t-6t wrong.
  2. Part I, question 2: D. v(t)=−3t2+12tv(t)=-3t^2+12t has v′(t)=a(t)=−6t+12=0  ⟺  t=2v'(t)=a(t)=-6t+12=0\iff t=2; compare v(0)=0v(0)=0, v(2)=12v(2)=12, v(5)=−15v(5)=-15. Option B is when v(t)=0v(t)=0, that is, when the particle stops.
  3. Part I, question 3: C. C′(x)=0.02x+20C'(x)=0.02x+20, so C′(100)=22C'(100)=22. Option B is C(100)C(100), option A forgets the factor 22 when differentiating x2x^2, and option D is the average cost C(100)100\dfrac{C(100)}{100}.
  4. Part I, question 4: A. The perimeter is 2x+2y=402x+2y=40, so the length is y=20−xy=20-x and S=x(20−x)S=x(20-x) with 0<x<200<x<20. Option C is the case with fencing on only three sides, and option D is the perimeter, not the area.
  5. Part II, question 1: a) True; b) True; c) False; d) True. a) True: v=h′(t)v=h'(t). b) True: v(t)=0  ⟺  t=2v(t)=0\iff t=2, and vv changes sign from ++ to −-. c) False: h(2)=2+40−20=22h(2)=2+40-20=22 m. d) True: h(t)=0h(t)=0 when t=2+1105t=2+\dfrac{\sqrt{110}}{5}, and then v=−2110≈−20.98v=-2\sqrt{110}\approx-20.98, a speed of about 20.9820.98 m/s.
  6. Part III, question 1: 0.87. If the square part has length xx: S(x)=x216+336(2−x)2S(x)=\dfrac{x^2}{16}+\dfrac{\sqrt3}{36}(2-x)^2, 0≤x≤20\le x\le2. S′(x)=0  ⟺  x=8343+9≈0.87S'(x)=0\iff x=\dfrac{8\sqrt3}{4\sqrt3+9}\approx0.87; the value there (≈0.109\approx0.109) is less than S(0)≈0.192S(0)\approx0.192 and S(2)=0.25S(2)=0.25.
  7. Part III, question 2: 23.1. The diagonal of the cross-section is a diameter, so h2=1600−b2h^2=1600-b^2 and we maximise f(b)=b(1600−b2)f(b)=b(1600-b^2) on (0,40)(0, 40). f′(b)=1600−3b2=0  ⟺  b=403≈23.09f'(b)=1600-3b^2=0\iff b=\dfrac{40}{\sqrt3}\approx23.09, and f′f' changes sign from ++ to −- there.