Learn on your own. Parents beside you. Teachers guide.

Lemonmath
Tiếng Việt

Applied calculus

Lesson 2.5 · 50 min read · Updated

A farmer has 100100 m of fencing and wants to fence a rectangular field against a long wall, so only three sides need fencing. How wide should the field be to give the most grass for the sheep? You could try many widths and see which works best. Calculus finds the best width in two lines, and tells you why it is the best.

That is the spirit of calculus in IB Maths AI: it is a tool for change and for "best" answers. A derivative tells you how fast something is changing; setting it equal to zero finds the highest or lowest point. An integral adds up small pieces to find a total, like an area or a distance. You will use the GDC often, but understanding what each step means is what earns the marks.

The derivative as a rate of change

For f(x)=axnf(x)=ax^n, the derivative is f′(x)=anxn−1f'(x)=anx^{n-1}, and sums are differentiated term by term. The derivative f′(x)f'(x), also written dydx\dfrac{dy}{dx}, is the gradient of the curve and the rate of change of yy with respect to xx, in units of yy per unit of xx.

The tangent at x=ax=a has gradient f′(a)f'(a) and passes through (a,f(a))\big(a,f(a)\big). The normal is perpendicular to it, with gradient −1f′(a)-\dfrac{1}{f'(a)}.

Increasing, decreasing and stationary points

A function is increasing where f′(x)>0f'(x)>0 and decreasing where f′(x)<0f'(x)<0. At a stationary point f'(x)=0; it is a local maximum if f' changes from positive to negative, and a local minimum if it changes from negative to positive. The GDC can confirm both the point and its type from the graph.

Why should the derivative be zero at a highest point? Just before the top, the curve is still climbing, so its gradient is positive. Just after the top, it is falling, so its gradient is negative. To go from positive to negative, the gradient must pass through zero, and it does so exactly at the top. The same reasoning, turned upside down, explains a lowest point. That is why "set the derivative equal to zero" is the first step in almost every optimisation question.

5101520253035404550200400600800100012001400xyOmax
The area of the farmer's field, A(x)=100x-2x^2

Optimisation

To find the best value of a quantity:

  1. Write the quantity as a function of one variable, using the information given.
  2. Differentiate and solve f'(x)=0.
  3. Check it is a maximum or minimum, and that the value makes sense in context.
  4. Answer the question that was asked, with units.

Integration and area

Integration reverses differentiation: \int ax^n\,dx=\frac{a}{n+1}x^{n+1}+C\quad(n\ne-1). The definite integral \displaystyle\int_a^bf(x)\,dx gives the area between the curve and the x-axis from x=a to x=b, when the curve is above the axis. The GDC evaluates definite integrals directly; write the integral you are evaluating as your working.

When only data are known, the trapezoidal rule estimates the area with strips of width h: \int_a^by\,dx\approx\frac h2\Big(y_0+y_n+2\big(y_1+y_2+\dots+y_{n-1}\big)\Big).

Similar exercises

Exercise 1

For f(x)=4x^3-2x+7, find f'(x) and f'(2).

What you need and how to start

What you need: differentiate each term with ax^n\to anx^{n-1}.

Show solution

We use ax^n\to anx^{n-1} on each term: 4x^3 gives 12x^2 and -2x gives -2, so f'(x)=12x^2-2; the constant 7 has derivative 0.

Then f'(2)=12(4)-2=46.

So f'(x)=12x^2-2 and f'(2)=46.

Answer. f'(x)=12x^2-2; 46.

Exercise 2

Find the equation of the tangent to y=3x^2-x at x=1.

What you need and how to start

What you need: the point (1,y(1)) and the gradient y'(1).

Show solution

At x=1, y=3-1=2, so the point is (1,2). The derivative is y'=6x-1, so the gradient is 5.

The tangent is y-2=5(x-1), that is y=5x-3.

So the tangent is y=5x-3.

Answer. y=5x-3.

Exercise 3

Find the stationary points of f(x)=x^3-6x^2+9x+1 and their nature.

What you need and how to start

What you need: f'(x)=3x^2-12x+9=3(x-1)(x-3).

Show solution

Setting f'(x)=3(x-1)(x-3)=0 gives x=1 or x=3, with f(1)=5 and f(3)=1.

f' is positive for x<1, negative for 1<x<3 and positive for x>3. So (1,5) is a local maximum and (3,1) is a local minimum.

So the stationary points are a maximum at (1,5) and a minimum at (3,1).

Answer. Maximum (1,5); minimum (3,1).

Exercise 4

Find \displaystyle\int(6x^2-4x+1)\,dx.

What you need and how to start

What you need: \int ax^n\,dx=\dfrac{a}{n+1}x^{n+1}+C.

Show solution

Each term is integrated separately, raising the power by 1 and dividing by the new power: \int6x^2\,dx=2x^3, \int-4x\,dx=-2x^2 and \int1\,dx=x.

So \displaystyle\int(6x^2-4x+1)\,dx=2x^3-2x^2+x+C.

Answer. 2x^3-2x^2+x+C.

Exercise 5

Evaluate \displaystyle\int_1^3 2x\,dx and interpret it as an area.

What you need and how to start

What you need: an antiderivative of 2x is x^2.

Show solution

An antiderivative of 2x is x^2, so \displaystyle\int_1^32x\,dx=3^2-1^2=8.

Since y=2x is above the x-axis for 1\le x\le3, this is the area under the line between x=1 and x=3, a trapezium with parallel sides 2 and 6 and width 2.

So the integral equals 8, the area of that trapezium.

Answer. 8.

Applied exercises

Exercise 6

The cost, in dollars, of producing each item when x items are made per day is C(x)=0.02x^2-4x+500. Find the number of items that minimises the cost per item, and that minimum cost.

What you need and how to start

What you need: solve C'(x)=0.

Show solution

Differentiating, C'(x)=0.04x-4, which is zero when x=100. C' changes from negative to positive there, so it is a minimum.

The minimum cost is C(100)=0.02(10{,}000)-400+500=300 dollars.

So making 100 items a day gives the lowest cost per item, 300 dollars.

Answer. 100 items; 300 dollars.

Exercise 7

A car's speed is recorded every 10 seconds: 0,\ 8,\ 12,\ 14 m/s at t=0,\ 10,\ 20,\ 30 s. Use the trapezoidal rule to estimate the distance travelled in 30 s.

What you need and how to start

What you need: distance is the area under the speed–time graph; h=10.

Show solution

The distance is the area under the speed–time graph. With h=10, end values 0 and 14, and inner values 8 and 12: \frac{10}{2}\Big(0+14+2(8+12)\Big)=5\times54=270.

So the car travels about 270 m.

Answer. About 270 m.

Exercise 8

A population is modelled by P(t)=200+30t-t^2, where t is in years. When is the population decreasing?

What you need and how to start

What you need: solve P'(t)<0.

Show solution

The rate of change is P'(t)=30-2t.

The population decreases when P'(t)<0, that is 30-2t<0, so t>15.

So, according to the model, the population decreases after 15 years.

Answer. For t>15.

Exercise 9 Challenge

A closed cylindrical can must hold 500\text{ cm}^3. Find the radius that uses the least metal, and the minimum surface area.

What you need and how to start

What you need: \pi r^2h=500 gives h=\dfrac{500}{\pi r^2}, so S=2\pi r^2+\dfrac{1000}{r}.

Show solution

The surface area is S=2\pi r^2+2\pi rh. Using h=\dfrac{500}{\pi r^2}, it becomes S(r)=2\pi r^2+\dfrac{1000}{r}, a function of r only.

Then S'(r)=4\pi r-\dfrac{1000}{r^2}=0 gives r^3=\dfrac{1000}{4\pi}, so r\approx4.30 cm, and h=\dfrac{500}{\pi r^2}\approx8.60 cm.

So the minimum surface area is S\approx348.7\approx349\text{ cm}^2. Notice that h=2r: the best can is as tall as it is wide.

Answer. r\approx4.30 cm; S\approx349\text{ cm}^2.

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. The derivative of 5x^2 is
Question 2. At a stationary point of f,
Question 3. Which estimates an area from data values at equal intervals?
Question 4. \displaystyle\int3x^2\,dx equals

Part II. True or false

Question 1. Consider f(x)=x^2-4x. Decide whether each statement is true or false.
a) f'(x)=2x-4.
b) There is a stationary point at x=2.
c) The minimum value of f is -4.
d) f is increasing for x<2.

Part III. Short answer

Question 1. For f(x)=x^3, find f'(3).

Question 2. Evaluate \displaystyle\int_0^23x^2\,dx.

Show answers and explanations
  1. Part I, question 1: C. 5\times2x^{1}=10x.
  2. Part I, question 2: A. The gradient is zero.
  3. Part I, question 3: B. Trapezia approximate the area.
  4. Part I, question 4: D. \dfrac{3}{3}x^3=x^3.
  5. Part II, question 1: a) True; b) True; c) True; d) False. f'(x)<0 for x<2, so f is decreasing there.
  6. Part III, question 1: 27. 3(3)^2=27.
  7. Part III, question 2: 8. 2^3-0=8.
📈 My progress

Finding Lemonmath useful?

Send this page to a friend, a parent or a teacher who could use it. Studying on your own is easier with company, and Lemonmath is free for everyone.

Facebook ✉ Email