TUTORIAL 4 - Sample Solutions

MATH120
(2014-1)
TUTORIAL 4 - Sample Solutions
Question 1.
Find the derivatives of the functions given by
4
(a) y = 3x ;
Solution. Use that (Cf (x))0 = Cf 0 (x) for any constant C:
y 0 = (3x4 )0 = 3(x4 )0 .
Then use the rule (xn )0 = nxn−1 :
y 0 = 3(x4 )0 = 3 × 4x3 = 12x3 .
(b) y = e101x + 0.1;
Solution. The derivative of a sum of two functions is equal to sum of the
derivatives of these functions:
y 0 = (e101x + 0.1)0 = (e101x )0 + (0.1)0 .
Now we use the formula (eax )0 = aeax and get (e101x )0 = 101e101x . The derivative
of a constant is equal to zero: (0.1)0 = 0. We get
y 0 = (e101x )0 + (0.1)0 = 101e101x + 0 = 101e101x .
(c) y = x cos x;
Solution. We use the product rule:
y 0 = (x cos x)0 = x0 cos x + x(cos x)0 .
Use that x0 = 1 and (cos x)0 = − sin x, then
y 0 = 1 × cos x + x × (− sin x) = cos x − x sin x.
sin x
, x 6= 0;
x
Solution. Use the quotient rule:
0
sin x
(sin x)0 × x − sin x × (x)0
0
y = 5
=5
.
x
x2
(d) y = 5
As x0 = 1 and (sin x)0 = cos x,
y0 = 5
x cos x − sin x
x2 .
2
(e) y = ln(2 − x), x > 2;
Solution. Use the chain rule:
y 0 = (ln(2 − x))0 =
as (ln x)0 =
1
× (2 − x)0 ,
2−x
1
. Now, (2 − x)0 = 20 − (x)0 = 0 − 1 = −1, and
x
y0 =
1
−1
=
.
2−x
x−2
(f ) y = cos(x4 );
Solution. Use the chain rule:
0
y 0 = cos(x4 ) = − sin(x4 ) × (x4 )0 .
As (x4 )0 = 4x3 ,
y 0 = −4x3 sin(x4 ).
(e) y = (cos x)4 .
Solution. Use the chain rule:
y 0 = (cos x)4
0
= 4(cos x)3 × (cos x)0 .
As (cos x)0 = − sin x,
y 0 = 4(cos x)3 × (− sin x) = −4 sin x(cos x)3 .
Question 2.
Find the third derivative of the function f given by
f (x) = 2x6 − 4x3 + 3x − 10x−2 .
Solution. At each step we use the formula (xn )0 = nxn−1 .
f 0 (x) = 2 × 6x6−1 − 4 × 3x3−1 + 3 − 10 × (−2)x−2−1 = 12x5 − 12x2 + 3 + 20x−3 ,
0
f 00 (x) = (f 0 (x)) = 60x4 − 24x + 0 + 20 × (−3)x−3−1 = 60x4 − 24x − 60x−4 ,
0
f 000 (x) = (f 00 (x)) = 240x3 − 24 + 240x−5 .
3
Question 3.
Find an equation of the tangent to the curve given by
y = x2 + 4x + 4
at the point where x = 1.
Solution. The slope of the tangent line is equal to the value of the derivative
y 0 at the point x = 1. First find the derivative: y 0 = 2x + 4. Substituting x = 1 we
find the slope: y 0 (1) = 2 × 1 + 4 = 6.
The tangent passes the point with the x-coordinate x = 1. We find its ycoordinate from the equation y = x2 + 4x + 4: y(1) = 12 + 4 × 1 + 4 = 9.
The equation of the tangent is a linear equation y = 6x + b and passes through
the point (1, 9). Substituting the coordinates of this point in the linear equation,
we find b: 9 = 6 × 1 + b, then b = 9 − 6 = 3.
The equation of the tangent to the given curve at the point where x = 1 is
y = 6x + 3.
Question 4.
We want to build a closed rectangular box with square base. We
can pay for 6 square meters of material. What dimensions will result in a box with
the largest possible volume?
Solution. If the size of the square base is x × x, and the height of the box is
h, then its volume is
V = x2 h,
and the surface area is
A = 2x2 + 4xh.
For A = 6 we get 2x2 + 4xh = 6. Solve this equation for h:
4
6 − 2x2
3 − x2
4xh = 6 − 2x2 , i.e. h =
=
.
4x
2x
Substitute this h in the equation for the volume and get
V = x2 ×
1
3 − x2
= (3x − x3 ).
2x
2
Now we find for which x the function has its maximum.
First find the stationary points, i.e. the points where the derivative V 0 (x) is
zero.
0
1
1
3
3
0
3
V (x) =
(3x − x ) = (3 − 3x2 ) = (1 − x2 ) = (1 − x)(1 + x) = 0
2
2
2
2
at x = 1 and x = −1. As a length, x can not be negative. Use the second derivative
test to find out if the volume has maximum or minimum at x = 1.
0
3
3
00
2
V (x) =
(1 − x ) = (−2x) = −3x.
2
2
V 00 (1) = −3 × 1 = −3 < 0,
i.e. the function V (x) takes its maximum value at x = 1. The height of the box
3 − x2
3 − 12
h=
at x = 1 is h =
= 1.
2x
2×1
The dimensions of the box with the largest possible volume are 1m × 1m × 1m.
Question 5.
Find and classify the stationary points of the functions f given by
(a) f (x) = x4 + 2x3 + 4;
Solution. Find the stationary points, i.e. the points where the derivative f 0 (x)
is zero.
f 0 (x) = 4x3 + 6x2 = 2x2 (2x + 3) = 0
at x = 0 and x = − 23 . We use the first-derivative test to classify the stationary
points. See the picture below.
On the interval (−∞, − 32 ), the first derivative f 0 (x) is negative, i.e. f (x) is
decreasing on this interval. We find that f 0 (x) > 0 on the interval (− 23 , 0) , i.e.
f (x) is increasing on that interval. It means that f (x) has a minimum at x = − 32 .
For positive x we get f 0 (x) > 0, i.e. f 0 (x) stays increasing and f (x) has an
inflexion point at x = 0.
5
(b) f (x) = xex ;
Solution.
f 0 (x) = (xex )0 = x0 ex + x(ex )0 = ex + xex = ex (1 + x) = 0
only at x = −1, as ex is positive for all real x.
We use the first derivative test. The first derivative is negative for x < −1
and positive for x > −1, i.e. the function f decreases on the interval x < −1 and
increases on the interval x > −1. Hence, f (x) has its minimum at x = −1.
1
(c) f (x) = (cos x)2 .
5
Solution.
f 0 (x) =
1
2
× 2 cos x(cos x)0 = − cos x sin x = 0
5
5
if cos x = 0 or sin x = 0.
π
cos x = 0 at, x = + πk, k ∈ Z
2
sin x = 0 at x = πk, k ∈ Z.
π
π
The union of these two sets is the set x = + k, k ∈ Z. See the picture
2
2
below.
For the classification of these stationary points we use the first-derivative test:
π
2
On the interval 0,
cos x > 0 and sin x > 0, hence f 0 (x) = − cos x sin x < 0,
5
π 2 0
On the interval
, π cos x < 0 and sin x > 0, hence f (x) > 0,
2
3π
On the interval π,
cos x < 0 and sin x < 0, hence f 0 (x) < 0,
2
3π
On the interval
, 2π cos x > 0 and sin x > 0, hence f 0 (x) > 0.
2
This pattern repeats as sin x and cos x are periodic functions with the period
2π.
1
π
We conclude that the function f (x) = (cos x)2 has its maxima at x = +
5
2
πk, k ∈ Z and minima at x = πk, k ∈ Z.
Question 6.
Find the absolute maximum and the minimum of the function
f (x) = −(2x − 1)2 + 100
on the interval 0 ≤ x ≤ 5.
To find the absolute minimum and maximum on the interval, we
1. find the stationary points on the given interval,
6
2. evaluate the values of the function f (x) at these stationary points and at
the end points of the interval,
3. the smallest of these values is the absolute minimum, the largest of these
values is the absolute maximum.
1. We use chain rule to differentiate the first term:
f 0 (x) = −2(2x − 1)2−1 × (2x − 1)0 + 0 = −4(2x − 1).
1
. The second
2
derivative f 00 (x) = −8 < 0. It follows that the stationary point is a local maximum
and f ( 12 ) = −(2 × 21 − 1)2 + 100 = 100.
The stationary point occurs if f 0 (x) = −4(2x − 1) = 0 at x =
2. The values of the function at the end points of the interval 0 ≤ x ≤ 5 are:
f (0) = −(2 × 0 − 1)2 + 100 = 99, and f (5) = −(2 × 5 − 1)2 + 100 = 19.
3. The maximum of the function f (x) on the given interval is 100 and occurs
1
at x = , and the minimum is 19 and occurs at x = 5.
2
7
Question 6.
Find the absolute maximum and the minimum of the function
f (x) = −(2x − 1)2 + 100
on the interval 0 ≤ x ≤ 5.
To find the absolute minimum and maximum on the interval, we
1. find the stationary points on the given interval,
2. evaluate the values of the function f (x) at these stationary points and at
the end points of the interval,
3. the smallest of these values is the absolute minimum, the largest of these
values is the absolute maximum.
1. We use the chain rule to differentiate the first term:
f 0 (x) = −2(2x − 1)2−1 × (2x − 1)0 + 0 = −4(2x − 1).
1
. The second
2
00
derivative f (x) = −8 < 0. It follows that the stationary point is a local maximum
and f ( 12 ) = −(2 × 21 − 1)2 + 100 = 100.
The stationary point occurs if f 0 (x) = −4(2x − 1) = 0 at x =
2. The values of the function at the end points of the interval 0 ≤ x ≤ 5 are:
f (0) = −(2 × 0 − 1)2 + 100 = 99, and f (5) = −(2 × 5 − 1)2 + 100 = 19.
3. The maximum of the function f (x) on the given interval is 100 and occurs
1
at x = , and the minimum is 19 and occurs at x = 5.
2