Before proceeding with the solved examples, here is a quick recap of the fundamental theorems and working rules used in applications of derivatives.
Theorem 1: Increasing and Decreasing Functions
Let f be continuous on [a,b] and differentiable on the open interval (a,b). Then:
f is strictly increasing on [a,b] if f′(x)>0 for every x∈(a,b).
f is strictly decreasing on [a,b] if f′(x)<0 for every x∈(a,b).
f is a constant function on [a,b] if f′(x)=0 for every x∈(a,b).
Theorem 2: First Derivative Test
Let f be continuous at a critical point c in an open interval I.
If f′(x) changes sign from positive to negative as x increases through c, then c is a point of local maximum.
If f′(x) changes sign from negative to positive as x increases through c, then c is a point of local minimum.
If f′(x) does not change sign as x passes through c, then c is neither a point of local maximum nor a point of local minimum. In many standard textbook cases, such a point is a point of inflection.
Theorem 3: Second Derivative Test
Let f be twice differentiable at c.
x=c is a point of local maximum if f′(c)=0 and f′′(c)<0.
x=c is a point of local minimum if f′(c)=0 and f′′(c)>0.
The test fails if f′(c)=0 and f′′(c)=0. In that case, use the First Derivative Test.
Working Rule for Absolute Maxima and Minima
To find the absolute maximum and minimum of a continuous function on a closed interval [a,b]:
Find all critical points in (a,b).
Evaluate f(x) at these critical points and at the endpoints a and b.
The greatest of these values is the absolute maximum value, and the smallest is the absolute minimum value.
Example 1: Rate of Change (Area of a Circle)
Find the rate of change of the area of a circle with respect to its radius r when r=6 cm.
Solution:
Step 1: The area of a circle is
A=πr2.
Step 2: Differentiate with respect to r.
drdA=drd(πr2)=2πr.
Step 3: Evaluate at r=6.
drdAr=6=2π(6)=12π.
Answer:12π cm2/cm.
Example 2: Rate of Change (Volume of a Cube)
An edge of a variable cube is increasing at the rate of 3 cm/s. How fast is the volume of the cube increasing when the edge is 10 cm long?
Solution:
Step 1: Let x be the edge of the cube and V its volume.
Given:
dtdx=3 cm/s,V=x3.
Step 2: Differentiate V=x3 with respect to time t.
dtdV=3x2dtdx.
Step 3: Substitute x=10 and dtdx=3.
dtdV=3(10)2(3)=3(100)(3)=900.
Answer:900 cm3/s.
Example 3: Rate of Change (The Sliding Ladder)
A ladder 5 m long is leaning against a wall. The bottom of the ladder is pulled along the ground, away from the wall, at the rate of 2 cm/s. How fast is its height on the wall decreasing when the foot of the ladder is 4 m away from the wall?
Solution:
Step 1: Let x be the distance of the foot from the wall and y the height of the top on the wall.
The ladder length is constant:
x2+y2=25.
Given:
dtdx=2 cm/s=0.02 m/s.
We need dtdy when x=4 m.
Step 2: Find y when x=4.
42+y2=25⟹16+y2=25⟹y2=9⟹y=3 m.
Step 3: Differentiate the relation x2+y2=25 with respect to t.
2xdtdx+2ydtdy=0.
Dividing by 2,
xdtdx+ydtdy=0.
Step 4: Substitute the known values.
4(0.02)+3dtdy=0.0.08+3dtdy=0.dtdy=−30.08=−752 m/s.
Step 5: Convert to cm/s.
−752 m/s=−75200 cm/s=−38 cm/s.
The negative sign shows the height is decreasing.
Answer: The height is decreasing at the rate of 38 cm/s.
Example 4: Rate of Change (Conical Sand Pile)
Sand is pouring from a pipe at the rate of 12 cm3/s. The falling sand forms a cone on the ground in such a way that the height of the cone is always one-sixth of the radius of the base. How fast is the height of the sand cone increasing when the height is 4 cm?
Solution:
Step 1: Let V, r, and h be the volume, radius, and height of the cone.
Given:
dtdV=12 cm3/s,h=6r⟹r=6h.
Step 2: Write the volume in terms of h alone.
V=31πr2h=31π(6h)2h=31π(36h2)h=12πh3.
Step 3: Differentiate with respect to time.
dtdV=36πh2dtdh.
Step 4: Substitute dtdV=12 and h=4.
12=36π(4)2dtdh=36π(16)dtdh=576πdtdh.
Hence,
dtdh=576π12=48π1.
Answer:48π1 cm/s.
Example 5: Rate of Change (Marginal Revenue)
The total revenue in Rupees received from the sale of x units of a product is given by R(x)=13x2+26x+15. Find the marginal revenue when x=7.
Solution:
Step 1: Marginal revenue is the derivative of total revenue with respect to x.
MR=dxdR=R′(x).
Find the intervals in which the function f(x)=x2−4x+6 is strictly increasing or strictly decreasing.
Solution:
Step 1: Find the derivative.
f′(x)=2x−4.
Step 2: Find the critical point.
2x−4=0⟹x=2.
Step 3: This divides the real line into two intervals:
(−∞,2)and(2,∞).
Step 4: Test the sign of f′(x).
For x<2, choose x=0:
f′(0)=−4<0,
so f(x) is strictly decreasing on (−∞,2).
For x>2, choose x=3:
f′(3)=2>0,
so f(x) is strictly increasing on (2,∞).
Answer: Strictly increasing on (2,∞); strictly decreasing on (−∞,2).
Example 7: Intervals of Monotonicity (Cubic)
Find the intervals in which f(x)=2x3−3x2−36x+7 is strictly increasing or strictly decreasing.
Solution:
Step 1: Find the derivative.
f′(x)=6x2−6x−36=6(x2−x−6)=6(x−3)(x+2).
Step 2: Find the critical points.
f′(x)=0⟹x=3,−2.
So the intervals are:
(−∞,−2),(−2,3),(3,∞).
Step 3: Test the sign of f′(x).
In (−∞,−2), take x=−3:
f′(−3)=6(−6)(−1)>0,
so f is strictly increasing.
In (−2,3), take x=0:
f′(0)=6(−3)(2)<0,
so f is strictly decreasing.
In (3,∞), take x=4:
f′(4)=6(1)(6)>0,
so f is strictly increasing.
Answer: Strictly increasing on (−∞,−2)∪(3,∞); strictly decreasing on (−2,3).
Example 8: Monotonicity of a Trigonometric Function
Find the intervals in which f(x)=sinx+cosx, 0≤x≤2π is strictly increasing or strictly decreasing.
Solution:
Step 1: Differentiate.
f′(x)=cosx−sinx.
Step 2: Find critical points by solving f′(x)=0.
cosx−sinx=0⟹tanx=1.
In [0,2π], the solutions are
x=4π,45π.
Step 3: The intervals are
(0,4π),(4π,45π),(45π,2π).
Step 4: Test the sign of f′(x).
In (0,π/4), choose x=0:
f′(0)=1>0,
so f is strictly increasing.
In (π/4,5π/4), choose x=π/2:
f′(π/2)=0−1=−1<0,
so f is strictly decreasing.
In (5π/4,2π), choose x=3π/2:
f′(3π/2)=0−(−1)=1>0,
so f is strictly increasing.
Answer: Strictly increasing on (0,π/4)∪(5π/4,2π); strictly decreasing on (π/4,5π/4).
Example 9: Proving Monotonicity Everywhere
Show that the function f(x)=x−sinx is strictly increasing for all x∈R.
Solution:
Step 1: Differentiate.
f′(x)=1−cosx.
Step 2: Use the fact that for all real x,
−1≤cosx≤1.
Therefore,
1−cosx≥0.
So f′(x)≥0 for all real x.
Step 3: The equality f′(x)=0 occurs only when cosx=1, that is, at isolated points x=2nπ, n∈Z.
Since the derivative is never negative and is zero only at isolated points, the function never decreases.
Also, for any x1<x2,
f(x2)−f(x1)=∫x1x2(1−cosx)dx>0,
because 1−cosx≥0 and is not identically zero on any interval.
Hence f is strictly increasing on R.
Answer: Proved analytically.
Example 10: Monotonicity of a Logarithmic Function
Prove that y=log(1+x)−2+x2x,x>−1, is an increasing function throughout its domain.
Solution:
Step 1: Differentiate with respect to x.
y′=1+x1−(2+x)2(2+x)(2)−2x(1).
Step 2: Simplify the derivative.
y′=1+x1−(2+x)24+2x−2x=1+x1−(2+x)24.
Taking the LCM,
y′=(1+x)(2+x)2(2+x)2−4(1+x).
Expand the numerator:
(2+x)2−4(1+x)=(x2+4x+4)−(4+4x)=x2.
Hence,
y′=(1+x)(2+x)2x2.
Step 3: Analyze the sign.
For x>−1,
x2≥0,
1+x>0,
(2+x)2>0.
So,
y′≥0for all x>−1.
Thus the function is increasing throughout its domain.
Answer: Proved analytically.
Example 11: Local Maxima and Minima (First Derivative Test)
Find all points of local maxima and local minima of f(x)=x3−6x2+9x+15.
f′(x) is undefined when
x=0.
So the critical points are x=0 and x=81.
Step 3: Evaluate at x=−1,0,81,1.
f(−1)=12(1)−6(−1)=18,f(0)=0,f(81)=12(161)−6(21)=43−3=−49,f(1)=12−6=6.
Step 4: Compare the values.
The greatest value is 18, and the least value is −49.
Answer: Absolute maximum is 18 at x=−1; absolute minimum is −49 at x=81.
Optimization
Example 16: The Open Box Proble
A square piece of tin of side 18 cm is to be made into a box without top, by cutting a square from each corner and folding up the flaps. What should be the side of the square to be cut off so that the volume of the box is the maximum possible?
Solution:
Step 1: Let the side of each cut square be x cm.
Then the dimensions of the box are:
length =18−2x
breadth =18−2x
height =x
So,
V(x)=x(18−2x)2.
The domain is
0≤x≤9.
Step 4: Check the values of V(x) at the endpoints and critical point.
V(0)=0,V(3)=3(12)2=432,V(9)=0.
Thus the maximum volume occurs at x=3.
(You may also verify by second derivative: V′′(3)<0.)
Answer: The side of the square to be cut off should be 3 cm.
Example 17: Cutting a Wire
A wire of length 28 m is to be cut into two pieces. One piece is made into a square and the other into a circle. What should be the lengths of the two pieces so that the combined area of the square and the circle is minimum?
Solution:
Step 1: Let the length used for the square be x m. Then the length used for the circle is (28−x) m.
Step 2: Express both areas in terms of x.
For the square:
perimeter =x
side =x/4
area
A1=(4x)2=16x2.
For the circle:
circumference =28−x
radius
r=2π28−x
area
A2=πr2=π(2π28−x)2=4π(28−x)2.
So the total area is
A(x)=16x2+4π(28−x)2.
Step 3: Differentiate.
A′(x)=8x−2π28−x.
Step 4: Set A′(x)=0.
8x=2π28−x.
Cross-multiplying,
2πx=8(28−x)2πx=224−8xx(2π+8)=224x=2(π+4)224=π+4112.
So the circle gets length
28−x=28−π+4112=π+428π.
Step 5: Verify minimum.
A′′(x)=81+2π1>0,
so the total area is indeed minimum.
Answer: Length for square =π+4112 m, and length for circle =π+428π m.
Example 18: Cylinder inscribed in a Sphere
Show that the height of the cylinder of maximum volume that can be inscribed in a sphere of radius R is 32R.
Solution:
Step 1: Let the cylinder have radius r and height h.
From the right triangle formed in the central cross-section of the sphere,
r2+(2h)2=R2.
Thus,
r2=R2−4h2.
Step 2: Write the volume as a function of h.
V=πr2h=π(R2−4h2)h=πR2h−4πh3.
Step 3: Differentiate with respect to h.
dhdV=πR2−43πh2.
Set this equal to zero:
πR2=43πh2.
Cancelling π,
R2=43h2⟹h2=34R2.
So,
h=32R.
(We take the positive value since height is positive.)
Step 4: Check for maximum.
dh2d2V=−23πh<0
for h>0, so the volume is maximum.
Answer: The height of the cylinder of maximum volume is 32R.
Example 19: Cone inscribed in a Sphere
Show that the altitude of the right circular cone of maximum volume that can be inscribed in a sphere of radius r is 34r.
Solution:
Step 1: Let the cone have base radius R and height h. In the axial section of the sphere, by geometry,
R2+(h−r)2=r2.
Expanding,
R2+h2−2hr+r2=r2R2=2hr−h2.
Step 2: Write the volume of the cone in terms of h.
V=31πR2h=31π(2hr−h2)h=3π(2rh2−h3).
Step 3: Differentiate with respect to h.
dhdV=3π(4rh−3h2).
Set this equal to zero:
h(4r−3h)=0.
Ignoring h=0, we get
h=34r.
Step 4: Verify it is a maximum.
V′′(h)=3π(4r−6h).
At h=34r,
V′′(34r)=3π(4r−8r)<0.
So the volume is maximum.
Answer: The altitude of the cone of maximum volume is 34r.
Example 20: Semi-vertical angle of a Cone
Show that the semi-vertical angle of the cone of maximum volume and given slant height is tan−12.
Solution:
Step 1: Let θ be the semi-vertical angle, l the fixed slant height, r the base radius, and h the height.
Then,
r=lsinθ,h=lcosθ.
Step 2: Write the volume of the cone in terms of θ.
V=31πr2h=31π(lsinθ)2(lcosθ)=3πl3sin2θcosθ.
Step 3: Differentiate with respect to θ.
dθdV=3πl3[2sinθcosθ⋅cosθ+sin2θ(−sinθ)].
Factor out sinθ:
dθdV=3πl3sinθ(2cos2θ−sin2θ).
Step 4: Set derivative equal to zero.
Ignoring sinθ=0 (which gives degenerate cone), we get
2cos2θ−sin2θ=0.
Thus,
sin2θ=2cos2θ⟹tan2θ=2.
Since θ is acute,
tanθ=2.
Hence,
θ=tan−1(2).
Answer: The semi-vertical angle is tan−1(2).
Example 21: Window Shape
A window is in the form of a rectangle surmounted by a semicircular opening. The total perimeter of the window is 10 m. Find the dimensions of the window to admit maximum light through the whole opening.
Solution:
Step 1: Let the rectangle have width 2x and height y. Then the semicircle has radius x.
Step 2: Use the perimeter condition.
Perimeter consists of the base 2x, the two vertical sides 2y, and the semicircular arc πx.
So,
2x+2y+πx=10.
Hence,
2y=10−2x−πxy=5−x−2πx.
Step 3: Write the total area.
Area of rectangle:
A1=2xy.
Area of semicircle:
A2=21πx2.
So,
A=2xy+21πx2.
Substitute y:
A=2x(5−x−2πx)+21πx2.
Simplify:
A=10x−2x2−πx2+21πx2=10x−2x2−2πx2.
Step 4: Differentiate.
A′(x)=10−4x−πx.
Set equal to zero:
10−(4+π)x=0⟹x=4+π10.
Step 5: Verify maximum.
A′′(x)=−4−π<0,
so the area is maximum.
Step 6: Find the dimensions.
Width of rectangle:
2x=4+π20 m.
Height of rectangle:
y=5−4+π10−4+π5π=4+π10 m.
Thus the semicircle radius is also
x=4+π10 m.
Answer: Width of the rectangular part =4+π20 m, height of the rectangular part =4+π10 m.
Example 22: Right Circular Cylinder
Show that the right circular cylinder of given surface area and maximum volume is such that its height is equal to the diameter of the base.
Solution:
Step 1: Let r be the radius and h the height of the cylinder. Let the fixed total surface area be S.
Then,
S=2πr2+2πrh.
So,
h=2πrS−2πr2.
Step 2: Write the volume in terms of r.
V=πr2h=πr2(2πrS−2πr2)=21r(S−2πr2)=2Sr−πr3.
Step 3: Differentiate with respect to r.
drdV=2S−3πr2.
Set this equal to zero:
2S=3πr2⟹S=6πr2.
Step 4: Substitute this into the surface-area relation for h.
h=2πr6πr2−2πr2=2πr4πr2=2r.
Thus the height equals the diameter of the base.
Step 5: Verify maximum.
dr2d2V=−6πr<0
for r>0, so the volume is maximum.
Answer: Proved analytically: for maximum volume, h=2r.
JEE Main Standard
Example 23: Monotonicity with Parameters
Find the value of K such that the function f(x)=Kx3−9x2+9x+3 is monotonically increasing on R.
Solution:
Step 1: For f(x) to be monotonically increasing on R, we need
f′(x)≥0for all x∈R.
Differentiate:
f′(x)=3Kx2−18x+9.
Step 2: This is a quadratic in x. A quadratic ax2+bx+c is non-negative for all real x if
a>0, and
its discriminant D≤0.
Here,
a=3K.
So first we need
3K>0⟹K>0.
Step 3: Compute the discriminant.
D=(−18)2−4(3K)(9)=324−108K.
For non-negativity everywhere,
324−108K≤0108K≥324K≥3.
Step 4: Combine the conditions.
The condition K≥3 already ensures K>0.
Answer:K∈[3,∞).
Example 24: Maxima and Minima of Logarithmic Polynomial
Find the points of local maxima and local minima of the function f(x)=x2lnx for x>0.
Solution:
Step 1: Differentiate using the product rule.
f′(x)=2xlnx+x2⋅x1=2xlnx+x=x(2lnx+1).
Step 2: Find critical points.
Since x>0, x=0, so
2lnx+1=0lnx=−21x=e−1/2=e1.
Step 3: Find the second derivative.
f′′(x)=dxd(2xlnx+x)=2lnx+2+1=2lnx+3.
Step 4: Evaluate at the critical point.
f′′(e−1/2)=2(−21)+3=−1+3=2>0.
Therefore, x=e−1/2 is a point of local minimum.
Step 5: Find the minimum value.
f(e−1/2)=(e−1/2)2ln(e−1/2)=e−1(−21)=−2e1.
There is no local maximum in the domain x>0.
Answer: Local minimum at x=e1 with value −2e1. No local maximum.
Example 25: Shortest Distance Optimization
Find the shortest distance from the point (0,c) to the parabola y=x2, where 0≤c≤5.
Solution:
Step 1: Let P(x,x2) be any point on the parabola. The square of the distance from (0,c) to P is
D=(x−0)2+(x2−c)2.
So,
D=x2+x4−2cx2+c2=x4+(1−2c)x2+c2.
We minimize D instead of the distance itself.
Step 2: Differentiate with respect to x.
D′=4x3+2(1−2c)x=2x(2x2+1−2c).
Set D′=0:
2x(2x2+1−2c)=0.
Hence,
x=0or2x2+1−2c=0.
So,
x2=c−21.
Step 3: Analyze cases.
Case 1:0≤c<21.
Then c−21<0, so x2=c−21 has no real solution. The only critical point is x=0.
Then
D=c2,
so the shortest distance is
c.
Case 2:c≥21.
Then we have critical points
x=0,x=±c−21.
Now,
D′′=12x2+2(1−2c).
At x=0,
D′′(0)=2(1−2c)≤0,
so x=0 does not give the minimum when c≥21.
At x2=c−21,
D′′=12(c−21)+2(1−2c)=8c−4≥0,
so these points give the minimum.
Step 4: Find the minimum value.
Substitute x2=c−21 into
D=x4+(1−2c)x2+c2.
Using x2=c−21 and x4=(c−21)2,
D=(c−21)2+(1−2c)(c−21)+c2=c−41.
Hence the shortest distance is
c−41.
Answer:
If 0≤c<21, the shortest distance is c.
If c≥21, the shortest distance is c−41.
Example 26: Piecewise Function Absolute Extrema
Find the absolute maximum and minimum values of f(x)=x2−5∣x∣+6 on the interval [−4,4].
Solution:
Step 1: Write the function piecewise.
For x<0, ∣x∣=−x, so
f(x)=x2+5x+6.
For x≥0, ∣x∣=x, so
f(x)=x2−5x+6.
Also, f(x) is an even function, so the graph is symmetric about the y-axis.
Step 2: Find critical points.
For x>0,
f′(x)=2x−5=0⟹x=25.
By symmetry, there is also a corresponding critical point at
x=−25.
At x=0, the derivative is not defined because of ∣x∣, so x=0 is also a critical point.
Step 3: Evaluate the function at all critical points and endpoints.
f(0)=6,f(25)=(25)2−5(25)+6=425−225+6=−41,f(−25)=−41,f(4)=16−20+6=2,f(−4)=2.
Step 4: Compare the values.
The greatest value is 6 and the least value is −41.
Answer: Absolute maximum is 6 at x=0; absolute minimum is −41 at x=±25.
Example 27: Number of Local Maxima/Minima involving Integrals
Find the number of local maxima and local minima for the function f(x)=∫0x(t2−5t+6)dt.
Solution:
Step 1: By the Fundamental Theorem of Calculus,
f′(x)=x2−5x+6.
Step 2: Find critical points.
x2−5x+6=0⟹(x−2)(x−3)=0.
So the critical points are
x=2,3.
Step 3: Use the First Derivative Test.
For x<2, choose x=0:
f′(0)=6>0.
For 2<x<3, choose x=2.5:
f′(2.5)=(0.5)(−0.5)<0.
So the sign changes from positive to negative at x=2, giving a local maximum.
For 2<x<3, f′(x)<0.
For x>3, choose x=4:
f′(4)=2>0.
So the sign changes from negative to positive at x=3, giving a local minimum.
Answer: The function has 1 local maximum and 1 local minimum.
Example 28: Minimum Distance between a Curve and a Line
Find the shortest distance between the curve y=ex and the line y=x.
Solution:
Step 1: A general point on the curve is P(x,ex).
The line y=x can be written as
x−y=0.
The perpendicular distance from P(x,ex) to this line is
d=12+(−1)2∣x−ex∣=2∣x−ex∣.
Since ex>x for all real x, this becomes
d=2ex−x.
So it is enough to minimize
ϕ(x)=ex−x.
Step 2: Differentiate.
ϕ′(x)=ex−1.
Set equal to zero:
ex−1=0⟹ex=1⟹x=0.
Step 3: Verify minimum.
ϕ′′(x)=ex>0
for all x, so x=0 gives the minimum.
Step 4: Find the corresponding distance.
At x=0, the point on the curve is (0,1), and
d=2e0−0=21.