Suppose f and g be two real functions continuous at a real number c. Then:
f+g is continuous at x=c.
f−g is continuous at x=c.
f⋅g is continuous at x=c.
(gf) is continuous at x=c, provided g(c)=0.
Theorem 2 (Continuity of Composite Functions)
Suppose f and g are real valued functions such that (f∘g) is defined at c. If g is continuous at c and f is continuous at g(c), then (f∘g) is continuous at c.
Theorem 3 (Differentiability implies Continuity)
If a function f is differentiable at a point c, then it is also continuous at that point. The converse is not always true.
Theorem 4 (Chain Rule)
Let f=v∘u. If t=u(x) and both dxdt and dtdv exist, then:
dxdf=dtdv⋅dxdt
Theorem 5 (Logarithmic Differentiation)
For a function of the form y=u(x)v(x), where u(x)>0, we take logarithm on both sides:
lny=v(x)lnu(x)
and then differentiate implicitly with respect to x.
Example 1: Checking Continuity at a Point
Check the continuity of the function f given by f(x)=2x+3 at x=1.
Solution:
Step 1: Find the value of the function at x=1.
f(1)=2(1)+3=5.
Step 2: Find the limit of the function as x→1.
Since 2x+3 is a polynomial, its limit at any point is obtained by direct substitution:
x→1lim(2x+3)=2(1)+3=5.
Step 3: Compare the two values.
x→1limf(x)=5=f(1).
Hence, the function is continuous at x=1.
Answer: The function is continuous at x=1.
Example 2: Continuity of Modulus Function
Discuss the continuity of the function f(x)=∣x∣ at x=0.
Solution:
Step 1: Write ∣x∣ in piecewise form:
f(x)={−x,x,x<0x≥0
Step 2: Find the left-hand limit at x=0.
x→0−lim∣x∣=x→0−lim(−x)=0.
Step 3: Find the right-hand limit at x=0.
x→0+lim∣x∣=x→0+limx=0.
Step 4: Find the function value.
f(0)=∣0∣=0.
Step 5: Since
x→0−limf(x)=x→0+limf(x)=f(0)=0,f(x) is continuous at x=0.
Answer: The function is continuous at x=0.
Example 3: Finding an Unknown Constant for Continuity
Find the value of k so that the function f(x)={kx+1,cosx,if x≤πif x>π is continuous at x=π.
Solution:
Step 1: For continuity at x=π, we must have
x→π−limf(x)=x→π+limf(x)=f(π).
Step 2: Left-hand limit:
x→π−lim(kx+1)=kπ+1.
Since the first branch is also defined at x=π,
f(π)=kπ+1.
Step 3: Right-hand limit:
x→π+limcosx=cosπ=−1.
Step 4: For continuity,
kπ+1=−1.
So,
kπ=−2⟹k=−π2.
Answer:k=−π2
Example 4: Continuity Involving Trigonometry and Limits
Determine the value of k for which the function f(x)={8x21−cos4x,k,if x=0if x=0 is continuous at x=0.
Solution:
Step 1: Continuity at x=0 requires
x→0lim8x21−cos4x=k.
Step 2: Use the identity 1−cos2θ=2sin2θ with 2θ=4x.
Then,
1−cos4x=2sin22x.
So,
x→0lim8x21−cos4x=x→0lim8x22sin22x=x→0lim4x2sin22x.
Step 3: Rewrite the expression as
(2xsin2x)2.
Now use the standard limit
u→0limusinu=1.
Hence,
x→0lim(2xsin2x)2=1.
Step 4: Therefore, for continuity,
k=1.
Answer:k=1
Example 5: Checking Differentiability
Prove that the function given by f(x)=∣x−1∣,x∈R is not differentiable at x=1.
Solution:
Step 1: Find the left-hand derivative at x=1.
LHD=h→0−limhf(1+h)−f(1).
Now,
f(1)=∣1−1∣=0.
For h<0, we have ∣1+h−1∣=∣h∣=−h.
Thus,
LHD=h→0−limh−h−0=−1.
Step 2: Find the right-hand derivative at x=1.
RHD=h→0+limhf(1+h)−f(1).
For h>0, ∣h∣=h, so
RHD=h→0+limhh−0=1.
Step 3: Since
LHD=RHD,f is not differentiable at x=1.
Answer: Proved analytically.
Example 6: Differentiability of Greatest Integer Function
Show that the greatest integer function defined by f(x)=[x], 0<x<3 is not differentiable at x=1.
Solution:
Step 1: Find the left-hand derivative.
LHD=h→0−limhf(1+h)−f(1).
For h<0, 1+h is slightly less than 1, so
[1+h]=0,
and
f(1)=[1]=1.
Therefore,
LHD=h→0−limh0−1=h→0−limh−1=+∞.
So the left-hand derivative does not exist as a finite number.
Step 2: Find the right-hand derivative.
For h>0, 1+h is slightly more than 1, so
[1+h]=1.
Thus,
RHD=h→0+limh1−1=0.
Step 3: Since the left-hand derivative is not finite and is not equal to the right-hand derivative, the function is not differentiable at x=1.
Answer: Proved.
Example 7: Basic Chain Rule
Differentiate sin(x2+5) with respect to x.
Solution:
Step 1: Let
u=x2+5.
Then the function becomes
y=sinu.
Step 2: Differentiate using chain rule:
dxdy=dudy⋅dxdu=cosu⋅2x.
Step 3: Substitute back u=x2+5.
dxdy=2xcos(x2+5).
Answer:2xcos(x2+5)
Example 8: Chain Rule with Double Trigonometry
Differentiate cos(sinx) with respect to x.
Solution:
Step 1: Let
u=sinx.
Then,
y=cosu.
Step 2: Differentiate using chain rule:
dxdy=−sinu⋅dxdu.
Since
dxdu=cosx,
we get
dxdy=−sin(sinx)cosx.
Answer:−cosxsin(sinx)
Example 9: Combining Quotient and Chain Rules
Differentiate y=cos(cx+d)sin(ax+b).
Solution:
Step 1: Let
u=sin(ax+b),v=cos(cx+d).
Then
y=vu.
Step 2: Use the quotient rule:
dxdy=v2u′v−uv′.
Step 3: Differentiate u and v by chain rule:
u′=acos(ax+b),v′=−csin(cx+d).
Step 4: Substitute into the quotient rule:
dxdy=cos2(cx+d)acos(ax+b)cos(cx+d)−sin(ax+b)(−csin(cx+d)).
Solution:
Step 1: Differentiate both sides with respect to x:
dxd(2x)+dxd(3y)=dxd(sinx).
Step 2: This gives
2+3dxdy=cosx.
Step 3: Solve for dxdy:
3dxdy=cosx−2,
so
dxdy=3cosx−2.
Answer:3cosx−2
Example 11: Advanced Implicit Differentiation with Product Rule
Find dxdy if sin2y+cos(xy)=π.
Solution:
Step 1: Differentiate both sides with respect to x:
dxd(sin2y)+dxd(cos(xy))=0.
Step 2: Differentiate each term carefully.
For sin2y:
dxd(sin2y)=2sinycosydxdy=sin2ydxdy.
For cos(xy):
dxd(cos(xy))=−sin(xy)⋅dxd(xy).
Using the product rule,
dxd(xy)=xdxdy+y.
So,
dxd(cos(xy))=−sin(xy)(xdxdy+y).
Step 3: Substitute into the differentiated equation:
sin2ydxdy−xsin(xy)dxdy−ysin(xy)=0.
Solution:
Step 1: Use the half-angle identity
1+cosxsinx=tan2x
whenever the expression is defined.
Thus,
y=tan−1(tan2x).
Step 2: Instead of directly replacing y by x/2 globally, differentiate using the chain rule with
u=tan2x.
Then
dxdy=1+u21⋅dxdu.
Step 3: Compute u′:
dxdu=sec22x⋅21.
Since
1+u2=1+tan22x=sec22x,
we get
dxdy=sec2(x/2)1⋅21sec22x=21.
Answer:21
Example 13: Trigonometric Substitution (Sine)
Find dxdy if y=sin−1(1+x22x).
Solution:
Step 1: The expression
1+x22x
suggests the substitution
x=tanθ.
Then
θ=tan−1x.
Step 2: Substitute into the expression:
y=sin−1(1+tan2θ2tanθ).
Using
sin2θ=1+tan2θ2tanθ,
we get
y=sin−1(sin2θ).
Step 3: For the principal-value branch used in such standard problems,
y=2θ=2tan−1x.
Step 4: Differentiate:
dxdy=2⋅1+x21=1+x22.
Answer:1+x22
Example 14: Trigonometric Substitution (Secant)
Find dxdy if y=sec−1(2x2−11), 0<x<21.
Solution:
Step 1: Notice that 2x2−1 resembles the identity
cos2θ=2cos2θ−1.
Let
x=cosθ.
Then
θ=cos−1x.
Since 0<x<21, we have θ∈(4π,2π), so 2θ∈(2π,π), which lies in the principal range of sec−1.
Step 4: Replace y by xsinx:
dxdy=xsinx(xsinx+cosxlnx).
Answer:xsinx[xsinx+cosxlnx]
Example 17: Logarithmic Differentiation with Sums
Find dxdy of y=xx−2sinx.
Solution:
Step 1: Since the expression is a difference, do not take logarithm of the whole function. Instead write
y=u−v,
where
u=xx,v=2sinx.
Then,
dxdy=dxdu−dxdv.
Step 2: Differentiate u=xx using logarithmic differentiation.
Take logs:
lnu=xlnx.
Differentiate:
u1dxdu=1+lnx.
So,
dxdu=u(1+lnx)=xx(1+lnx).
Step 3: Differentiate v=2sinx.
Using
dxd(af(x))=af(x)lna⋅f′(x),
we get
dxdv=2sinxln2⋅cosx.
Step 4: Subtract:
dxdy=xx(1+lnx)−2sinxcosxln2.
Answer:xx(1+lnx)−2sinxcosxln2
Example 18: Implicit Equation with Variables in Exponents
Find dxdy if yx=xy.
Solution:
Step 1: Take logarithm on both sides:
ln(yx)=ln(xy).
So,
xlny=ylnx.
Step 2: Differentiate both sides with respect to x:
dxd(xlny)=dxd(ylnx).
Using the product rule,
lny+x⋅y1dxdy=xy+lnxdxdy.
Step 3: Collect the dxdy terms:
yxdxdy−lnxdxdy=xy−lny.
Step 4: Factor out dxdy:
dxdy(yx−lnx)=xy−lny.
Step 5: Solve for dxdy:
dxdy=yx−lnxxy−lny.
Multiplying numerator and denominator suitably,
dxdy=x(x−ylnx)y(y−xlny).
Answer:x(x−ylnx)y(y−xlny)
Example 19: Infinite Series Logarithmic Differentiation
If y=sinx+sinx+sinx+...∞, prove that dxdy=2y−1cosx.
Solution:
Step 1: Since the radical repeats infinitely, the entire repeated part is equal to y itself. Hence,
y=sinx+y.
Step 3: Simplify using half-angle identities:
sinθ=2sin2θcos2θ,1−cosθ=2sin22θ.
Hence,
dxdy=2sin2(θ/2)2sin(θ/2)cos(θ/2)=cot2θ.
Answer:cot(θ/2)
Example 22: Parametric Functions Identity Trick
If x=asin−1t and y=acos−1t, show that dxdy=−xy.
Solution:
Step 1: Square both equations:
x2=asin−1t,y2=acos−1t.
Step 2: Multiply them:
x2y2=asin−1t+cos−1t.
Using the identity
sin−1t+cos−1t=2π,
we get
x2y2=aπ/2,
which is a constant.
Step 3: Differentiate implicitly with respect to x:
dxd(x2y2)=0.
Using the product rule,
2xy2+x2⋅2ydxdy=0.
Step 4: Solve for dxdy:
2x2ydxdy=−2xy2,
so
dxdy=−xy.
Answer: Proved.
Example 23: Second Order Derivative of a Polynomial
Find dx2d2y for y=x3+tanx.
Solution:
Step 1: First derivative:
dxdy=3x2+sec2x.
Step 2: Differentiate again:
dx2d2y=6x+dxd(sec2x).
Now,
dxd(sec2x)=2secx(secxtanx)=2sec2xtanx.
So,
dx2d2y=6x+2sec2xtanx.
Answer:6x+2sec2xtanx
Example 24: Second Order Derivative of Parametric Functions
Find dx2d2y if x=acosθ and y=bsinθ.
Solution:
Step 1: First derivatives with respect to θ are
dθdx=−asinθ,dθdy=bcosθ.
Hence,
dxdy=−asinθbcosθ=−abcotθ.
Step 2: Differentiate dxdy with respect to θ:
dθd(−abcotθ)=abcsc2θ.
Step 3: Divide by dx/dθ:
dx2d2y=−asinθabcsc2θ=−a2bcsc3θ.
Answer:−a2bcsc3θ
Example 25: Proving a Differential Equation (Trigonometric)
If y=3cos(logx)+4sin(logx), show that x2y2+xy1+y=0.
Solution:
Step 1: First derivative:
y1=−3sin(logx)⋅x1+4cos(logx)⋅x1=x−3sin(logx)+4cos(logx).
Step 2: Multiply both sides by x:
xy1=−3sin(logx)+4cos(logx).
Step 3: Differentiate again:
dxd(xy1)=dxd[−3sin(logx)+4cos(logx)].
The left side gives
xy2+y1.
The right side becomes
−3cos(logx)⋅x1−4sin(logx)⋅x1=−x1[3cos(logx)+4sin(logx)].
But the bracket is exactly y. So,
xy2+y1=−xy.
Step 4: Multiply by x:
x2y2+xy1+y=0.
Answer: Proved.
Example 26: Proving a Differential Equation (Exponential)
If y=Aemx+Benx, show that dx2d2y−(m+n)dxdy+mny=0.
Solution:
Step 1: First derivative:
y′=Amemx+Bnenx.
Step 2: Second derivative:
y′′=Am2emx+Bn2enx.
Step 3: Substitute into the required expression:
y′′−(m+n)y′+mny.
This becomes
Am2emx+Bn2enx−(m+n)(Amemx+Bnenx)+mn(Aemx+Benx).
Step 4: Group coefficients of emx and enx:
For emx, coefficient is
Am2−Am(m+n)+Amn=Am2−Am2−Amn+Amn=0.
For enx, coefficient is
Bn2−Bn(m+n)+Bmn=Bn2−Bmn−Bn2+Bmn=0.
Hence the whole expression is 0.
Answer: Proved.
JEE Main Standard
Example 27: Differentiability of Piecewise Functions
Let f(x)=[x2]sin(πx), where [⋅] is the greatest integer function. Discuss the differentiability of f(x) at x=1.
Solution:
Step 1: Study the function near x=1.
If x→1−, then x2<1 and very close to 1, so
[x2]=0.
Hence,
f(x)=0⋅sin(πx)=0.
If x→1+ and x is close to 1, then 1<x2<2, so
[x2]=1.
Hence,
f(x)=sin(πx).
Also,
f(1)=[1]sinπ=1⋅0=0.
Step 2: Left-hand derivative:
For h<0, f(1+h)=0. Therefore,
LHD=h→0−limh0−0=0.
Step 3: Right-hand derivative:
For h>0, f(1+h)=sin(π(1+h)).
So,
RHD=h→0+limhsin(π+πh)−0=h→0+limh−sin(πh).
Multiply and divide by π:
RHD=−πh→0+limπhsin(πh)=−π.
Step 4: Since
LHD=RHD,f(x) is not differentiable at x=1.
Answer:f(x) is not differentiable at x=1.
Example 28: Differentiating a Function with Respect to Another Function
Differentiate u(x)=tan−1(x1+x2−1) with respect to v(x)=tan−1x.
Solution:
Step 1: Let
x=tanθ,
so that
θ=tan−1x=v.
Also,
1+x2=1+tan2θ=secθ.
Thus,
u=tan−1(tanθsecθ−1).
Step 2: Simplify the inside expression:
tanθsecθ−1=cosθsinθcosθ1−1=sinθ1−cosθ.
Using half-angle identities,
sinθ1−cosθ=tan2θ.
Hence,
u=tan−1(tan2θ)=2θ
for the principal-value branch.
Step 3: Since v=θ, we have
u=2v.
Therefore,
dvdu=21.
Answer:21
Example 29: Infinite Exponential Series
If x=ey+ey+…∞, find dxdy.
Solution:
Step 1: The repeated infinite exponent after the first y+ is again equal to x. So,
x=ey+x.
Step 2: Take logarithm on both sides:
lnx=y+x.
Step 3: Differentiate with respect to x:
x1=dxdy+1.
Step 4: Solve for dxdy:
dxdy=x1−1=x1−x.
Answer:x1−x
Example 30: Finding Value of Second Derivative Implicitly
Let y(x) be defined implicitly by the equation ey+xy=e. Find the value of y′′(0).
Solution:
Step 1: Find y(0) by substituting x=0:
ey(0)+0=e⟹ey(0)=e⟹y(0)=1.
Step 2: Differentiate the given equation:
dxd(ey)+dxd(xy)=0.
This gives
eyy′+y+xy′=0.
Step 3: Put x=0, y=1:
ey′(0)+1=0⟹y′(0)=−e1.
Step 4: Differentiate the first-derivative equation again:
dxd(eyy′+y+xy′)=0.
Now,
dxd(eyy′)=ey(y′)2+eyy′′
by the product rule.
Also,
dxd(y)=y′,dxd(xy′)=y′+xy′′.
So,
ey(y′)2+eyy′′+2y′+xy′′=0.
Step 5: Substitute x=0, y=1, y′=−1/e:
e(e21)+ey′′(0)+2(−e1)+0=0.
So,
e1+ey′′(0)−e2=0ey′′(0)−e1=0ey′′(0)=e1y′′(0)=e21.
Answer:e21
Example 31: Evaluating Continuity Limit
If the function f(x)=cotx−12cosx−1, x=4π is continuous at x=4π, then find the value of f(4π).
Solution:
Step 1: Since the function is continuous at x=4π,
f(4π)=x→π/4limcotx−12cosx−1.
Substituting directly gives the indeterminate form 0/0.
Step 2: Rewrite cotx as sinxcosx:
sinxcosx−12cosx−1=cosx−sinx(2cosx−1)sinx.
Step 3: Multiply numerator and denominator by 2cosx+1:
(cosx−sinx)(2cosx+1)(2cosx−1)(2cosx+1)sinx.
The numerator becomes
2cos2x−1=cos2x.
So we have
(cosx−sinx)(2cosx+1)cos2xsinx.
Step 4: Use
cos2x=(cosx−sinx)(cosx+sinx).
Then cancel cosx−sinx:
x→π/4lim2cosx+1(cosx+sinx)sinx.
Example 32: Simplifying Expressions Before Differentiation
If dxd(1+x+x21+x2+x4)=ax+b, find the values of a and b.
Solution:
Step 1: Factor the numerator instead of using the quotient rule directly.
Observe:
1+x2+x4=x4+x2+1=(x2+x+1)(x2−x+1).
This can be checked by expansion.