Limits Continuity and Differentiability · TOPIC LESSON
Differentiation
Local change with structure: first principles, rules, implicit curves and higher derivatives
JEE Main · JEE Advanced85 min study guide11 indexed sections
BY THE END, YOU CAN
Interpret the derivative as a finite difference-quotient limit and local linear coefficient.
Choose and combine product, quotient and chain rules with their domain conditions.
Differentiate powers, trigonometric functions, exponentials, logarithms and inverse functions.
Use implicit, parametric and logarithmic differentiation without treating dependent variables as constants.
BEFORE YOU START
Function domains, composition and elementary limits.
Algebra, radians and standard trigonometric identities.
Original educational lesson. Work through the examples before revealing the practice answers. Check the current official syllabus separately; historical question frequency does not establish eligibility or predict future questions.
CONNECT THE CONCEPT TO THE EXAM
Selected exam questions & worked solutions
These selected examples are separate from the original practice below. Each identifies its exam, year and wording. They do not represent every paper or every selected year.
No source-verified exam questions have been published for this lesson yet. The worked examples and practice below are original teaching material, not past-exam questions.
01 / UNDERSTAND & APPLY
1. The derivative is a limit, not a small finite quotient
At an interior point a of the domain, f′(a)=lim_{h→0}[f(a+h)−f(a)]/h when this two-sided limit exists as a finite real number. The increments h are nonzero during the quotient calculation. Setting h=0 before simplifying creates 0/0 rather than a derivative.
The quotient is an average rate of change over an interval. Its limit is the instantaneous rate at a. If f has units of distance and the input has units of time, f′ has units of distance per time. A finite derivative also gives the tangent-line slope when the graph is represented as y=f(x).
Differentiability means f(a+h)=f(a)+f′(a)h+r(h), where r(h)/h→0. Thus the derivative is the coefficient of the best first-order local change. This statement explains why a tangent-line approximation improves as the input moves closer to the point, while also showing that the approximation is not usually exact.
A derivative at one point is a number; the derivative function f′ assigns such numbers at the points where they exist. Its domain may be smaller than the original domain. For f(x)=√x, the formula f′(x)=1/(2√x) holds for x>0. The endpoint x=0 has no finite right derivative, even though f itself is defined there.
Full-size scientific diagram. Swipe or scroll horizontally; keyboard users can focus the diagram and use arrow keys.
Exact parabola and secants; the derivative is the limiting slope as the second point approaches P.
ORIGINAL WORKED EXAMPLE
First principles with a rational function
Find f′(a) for f(x)=1/(x+2), where a≠−2.
For sufficiently small nonzero h, both a+2 and a+h+2 are nonzero. The difference quotient is [1/(a+h+2)−1/(a+2)]/h.
Combine the fractions in the numerator: it is −h/[(a+h+2)(a+2)]. Dividing by h gives −1/[(a+h+2)(a+2)].
Now let h→0. The denominator approaches (a+2)², a nonzero number.
Therefore f′(a)=−1/(a+2)². The calculation never differentiates at the excluded input −2.
Answer f′(x)=−1/(x+2)² for x≠−2.
02 / UNDERSTAND & APPLY
2. Linearity and powers provide the basic pieces
The derivative of a constant is zero. For differentiable f,g and constants α,β, the derivative of αf+βg is αf′+βg′. This follows by distributing the difference quotient and using the laws for finite limits. Constants multiplying functions stay outside the derivative; additive constants disappear.
For a positive integer n, the derivative of xⁿ is nxⁿ⁻¹. Expand (x+h)ⁿ by the binomial theorem, subtract xⁿ and divide by h. The first surviving term is nxⁿ⁻¹, while all other terms contain positive powers of h and vanish in the limit.
The same formula extends to real powers on x>0. For integer or suitable rational powers it may also hold on negative inputs where the real-valued function is defined and differentiable. Always state the domain rather than applying a real-power rule across a branch or an excluded zero.
Simplifying a formula before differentiating can reduce work, but it cannot fill a hole in the original domain. The function (x²−1)/(x−1) equals x+1 only for x≠1; its derivative is 1 on that domain. A separately defined continuous extension has a derivative at 1, but the original function does not.
(αf+βg)′=αf′+βg′; (xʳ)′=r xʳ⁻¹
The functions must be differentiable at the point; for arbitrary real r use x>0 unless a larger valid domain is separately justified.
03 / UNDERSTAND & APPLY
3. Products and quotients have interaction terms
For differentiable u,v, the product rule is (uv)′=u′v+uv′. In a small change, both factors vary. The first-order effects come from changing one factor at a time; the product of the two small changes is of higher order and does not survive after division by the input increment and passage to the limit.
A limit derivation inserts and subtracts u(x+h)v(x) in the product difference. After dividing by h, one term contains the difference quotient of u times v(x), and the other contains u(x+h) times the difference quotient of v. Differentiability implies continuity, so u(x+h)→u(x), giving the stated rule.
For v≠0, write u/v=u·v⁻¹ or differentiate v·(u/v)=u. Solving for the derivative gives (u/v)′=(u′v−uv′)/v². The subtraction order is numerator derivative times denominator minus numerator times denominator derivative. Reversing it changes the sign.
The derivative of a product is generally not the product of the derivatives, and the derivative of a quotient is generally not their quotient. For instance, (x·x)′=2x, whereas x′·x′=1. Choose the rule based on the outermost operation in the original expression.
ORIGINAL WORKED EXAMPLE
A product and a quotient give two checks
Differentiate y=x²/(x+1), for x≠−1.
Using the quotient rule gives y′=[2x(x+1)−x²]/(x+1)².
Simplify the numerator to x²+2x, so y′=x(x+2)/(x+1)².
Alternatively divide algebraically: y=x−1+1/(x+1), still on x≠−1.
Differentiation gives 1−1/(x+1)²=[(x+1)²−1]/(x+1)²=x(x+2)/(x+1)². The two independent routes agree.
Answer y′=x(x+2)/(x+1)², x≠−1.
04 / UNDERSTAND & APPLY
4. Composition multiplies local rates
If g is differentiable at x and f is differentiable at g(x), the chain rule gives (f∘g)′(x)=f′(g(x))g′(x). The outer function is differentiated at the inner value, then multiplied by the derivative of the inner function. Simply differentiating the outer shape omits a rate conversion.
For a three-stage composition, repeat the process through every layer. For y=sin((x²+1)³), the layers are sine, cube and x²+1. The result is cos((x²+1)³)·3(x²+1)²·2x. Writing temporary variables can make the nesting visible and prevent missed factors.
The notation dy/dx=(dy/du)(du/dx) is a useful mnemonic when y=f(u),u=g(x), but the chain rule is a theorem about limits, not unrestricted fraction cancellation. Its validity does not require g′(x) to be nonzero. By contrast, solving for dx/dy through a reciprocal does require a nonzero derivative and an appropriate local inverse.
When several operations appear, start with the outermost one and recurse. In a product containing a composite function, use the product rule first, then the chain rule inside the affected term. A clean factored answer is often easier to inspect than a large expansion.
ORIGINAL WORKED EXAMPLE
Combine product and chain rules without losing a layer
Differentiate y=(x²+1)³ sin(2x).
The outer operation is multiplication. Let u=(x²+1)³ and v=sin(2x).
The chain rule gives u′=3(x²+1)²·2x=6x(x²+1)² and v′=2cos(2x).
Apply u′v+uv′ to obtain 6x(x²+1)²sin(2x)+2(x²+1)³cos(2x).
Factor if desired: 2(x²+1)²[3x sin(2x)+(x²+1)cos(2x)]. Both terms are needed because both factors vary.
Answer y′=2(x²+1)²[3x sin(2x)+(x²+1)cos(2x)].
05 / UNDERSTAND & APPLY
5. Standard derivatives carry hidden conventions
With angles measured in radians, (sin x)′=cos x and (cos x)′=−sin x. The quotient rule then gives (tan x)′=sec²x where cos x≠0 and (cot x)′=−csc²x where sin x≠0. Similarly (sec x)′=sec x tan x and (csc x)′=−csc x cot x on their domains.
Radians are essential to these simple coefficients. If a numerical angle x is measured in degrees, sin of that angle is sin(πx/180) in radian notation, whose derivative with respect to x is (π/180)cos(πx/180). A missing unit conversion is a chain-rule error.
For a>0, (aˣ)′=aˣ ln a. The special base e gives (eˣ)′=eˣ; base 1 gives the constant function with derivative zero. For x>0, (ln x)′=1/x and (logₐx)′=1/(x ln a) when a>0,a≠1.
For a differentiable nonzero u(x), d/dx ln|u(x)|=u′(x)/u(x) on intervals where u remains nonzero. The absolute value permits negative u without attempting a real logarithm of a negative number. It does not make u=0 admissible.
(eᵘ)′=eᵘu′; (ln|u|)′=u′/u
The logarithmic formula requires u≠0; all inner functions must be differentiable.
(sin u)′=cos(u)u′; (cos u)′=−sin(u)u′
Arguments are in radians.
06 / UNDERSTAND & APPLY
6. Differentiate an inverse through its defining identity
If y=f⁻¹(x) on an appropriate local inverse branch, then f(y)=x. Differentiating gives f′(y)y′=1, hence (f⁻¹)′(x)=1/f′(f⁻¹(x)), provided the denominator is nonzero and the inverse is differentiable under the usual local hypotheses. A continuous derivative nonzero near the point is a standard sufficient setting.
For y=arcsin x in [−π/2,π/2], sin y=x. On −1<x<1, cos y=√(1−x²)>0, giving y′=1/√(1−x²). For arccos x in [0,π], differentiation gives −1/√(1−x²) on the same open interval.
For y=arctan x in (−π/2,π/2), tan y=x and sec²y=1+x², so y′=1/(1+x²) for all real x. Under the common arccot branch (0,π), its derivative is −1/(1+x²). State the branch convention when using inverse trigonometric notation.
An inverse can exist at a point while failing to have a finite derivative there. The inverse of x³ is the real cube root, whose slope is unbounded at zero because the original derivative is zero. Likewise arcsin is defined at ±1 but has no finite ordinary derivative there.
ORIGINAL WORKED EXAMPLE
Cancellation inside an inverse-trigonometric derivative
Differentiate y=arctan x+arctan(1/x) on x≠0, and explain the zero derivative.
The first derivative is 1/(1+x²). For the second, the chain rule gives [1/(1+1/x²)]·(−1/x²)=−1/(1+x²).
The derivatives cancel, so y′=0 for x≠0.
The domain has two connected intervals. For x>0, the sum is π/2; for x<0, the sum is −π/2 under principal arctangent values.
A zero derivative gives constancy on each interval, not necessarily one common constant across a disconnected domain.
Answer y′=0 on x≠0; the constants are π/2 on (0,∞) and −π/2 on (−∞,0).
07 / UNDERSTAND & APPLY
7. Dependent variables also change
An equation F(x,y)=0 may describe y locally as a function of x even without an explicit solved formula. Differentiate every occurrence of y using the chain rule. Thus d(y²)/dx=2yy′ and d(xy)/dx=y+xy′. Solving the resulting equation for y′ is valid where its coefficient is nonzero.
For a continuously differentiable F, the condition F_y≠0 at a point on the curve guarantees a local differentiable y(x), with y′=−F_x/F_y. If F_y=0, that formula cannot be used to declare a finite slope; the point may have a vertical tangent, another local description or a singularity requiring further analysis.
For a parametrized curve x=x(t),y=y(t) with x′(t)≠0 and appropriate smoothness, dy/dx=y′(t)/x′(t). A second derivative is d²y/dx²=[d/dt(dy/dx)]/x′(t). It is not generally y″(t)/x″(t). If x′ vanishes, return to the curve or examine a limiting ratio rather than divide by zero.
Implicit and parametric differentiation describe local branches. A curve can revisit a point with different parameter values and different tangents. Check the specified point and parameter before substituting into a derivative formula.
ORIGINAL WORKED EXAMPLE
Implicit slope and curvature at a specified point
For x²+xy+y²=7, find y′ and y″ at (1,2).
The point lies on the curve because 1+2+4=7. Differentiate: 2x+y+xy′+2yy′=0, so y′=−(2x+y)/(x+2y).
At (1,2), the denominator is 5≠0 and y′=−4/5.
Differentiate the unsolved first-derivative equation again: 2+2y′+2(y′)²+(x+2y)y″=0.
Substitute y′=−4/5: the first three terms sum to 2−8/5+32/25=42/25. Hence 5y″=−42/25 and y″=−42/125.
Answer At (1,2), y′=−4/5 and y″=−42/125.
ORIGINAL WORKED EXAMPLE
A second parametric derivative needs another rate conversion
For x=t²+1 and y=t³−t, find dy/dx and d²y/dx² at t=1.
dx/dt=2t and dy/dt=3t²−1. For t≠0, dy/dx=(3t²−1)/(2t)=3t/2−1/(2t).
Differentiate this slope with respect to t: 3/2+1/(2t²).
Divide by dx/dt=2t to get d²y/dx²=(3t²+1)/(4t³).
At t=1 the point is (2,0), the slope is 1 and the second derivative is 1. The formulas are locally valid because dx/dt=2≠0 there.
Answer At t=1, dy/dx=1 and d²y/dx²=1.
08 / UNDERSTAND & APPLY
8. Variable powers are not ordinary power-rule problems
For y=u(x)^{v(x)} with u(x)>0, take natural logarithms: ln y=v ln u. Differentiate to obtain y′/y=v′ln u+v u′/u. Multiplying back by y gives the full derivative. Both the base and exponent may contribute.
The ordinary power rule rxʳ⁻¹ treats r as constant, while the exponential rule aˣ ln a treats a as constant. Neither alone applies to xˣ. The positive-base restriction gives a single smooth real-valued meaning to arbitrary variable real exponents.
Logarithmic differentiation also simplifies products and quotients with many factors. On an interval where a differentiable y is nonzero, ln|y| has derivative y′/y. Use absolute values for signed factors where appropriate, and inspect zeros separately because dividing by y can hide valid derivative values there.
ORIGINAL WORKED EXAMPLE
Both the base and exponent contribute
Differentiate y=(x²+1)^{sin x}.
The base x²+1 is positive for every real x, so y is positive and logarithms are valid.
Multiply by y to recover y′=(x²+1)^{sin x}[cos x ln(x²+1)+2x sin x/(x²+1)].
The result is defined for all real x. Dropping the exponent derivative would omit the cosine-logarithm term.
Answer y′=(x²+1)^{sin x}[cos x ln(x²+1)+2x sin x/(x²+1)].
09 / UNDERSTAND & APPLY
9. Differentiate the result, not the notation
The second derivative f″ is the derivative of f′ wherever it exists. It measures how the first-order rate changes. In motion, position has velocity as its first time derivative and acceleration as its second; their units differ by another factor of inverse time.
Higher derivatives do not require the original function to be a polynomial, and differentiability once does not guarantee differentiability twice. For example, f(x)=x|x| has f′(0)=0, but its derivative is 2|x|, which has no derivative at zero.
For a product of sufficiently differentiable functions, repeated product differentiation gives (uv)″=u″v+2u′v′+uv″. More generally the nth derivative sums C(n,k)u^(k)v^(n−k) over k=0,…,n. The binomial coefficients count how many sequences of differentiations place k derivatives on the first factor.
Check a derivative by a second algebraic route, dimensional consistency or a numerical difference quotient at a safe interior point. A numerical check can catch an omitted factor but is not a proof of a formula on the whole domain. Avoid points where roundoff or a singularity overwhelms the small difference being divided.
10 / UNDERSTAND & APPLY
10. Original practice with complete reasoning
All trigonometric arguments are in radians. Give derivative domains and explain any point where a formula cannot simply be substituted.
ORIGINAL PRACTICE · 1
Differentiate 4x³−2x+7.
Reveal answer & reasoning
12x²−2, for all real x.
Apply linearity and the power rule; the constant term has derivative zero.
ORIGINAL PRACTICE · 2
Differentiate √(3x+1).
Reveal answer & reasoning
3/[2√(3x+1)] for x>−1/3.
The square-root derivative and chain rule give the factor 3. The function exists at the endpoint, but has no finite right derivative there.
ORIGINAL PRACTICE · 3
Differentiate e^(x²)cos x.
Reveal answer & reasoning
e^(x²)[2x cos x−sin x].
Use the product rule, with derivative 2xe^(x²) for the exponential factor and −sin x for cosine.
ORIGINAL PRACTICE · 4
Differentiate ln|x²−4|.
Reveal answer & reasoning
2x/(x²−4), for x≠±2.
The logarithm of an absolute value has derivative u′/u whenever u≠0.
ORIGINAL PRACTICE · 5
Differentiate tan(3x).
Reveal answer & reasoning
3sec²(3x), where cos(3x)≠0.
The inner derivative is 3; the domain excludes tangent poles.
ORIGINAL PRACTICE · 6
Differentiate xˣ for x>0.
Reveal answer & reasoning
xˣ(ln x+1).
Taking logs gives ln y=x ln x. Differentiate to get y′/y=ln x+1, then multiply by y.
ORIGINAL PRACTICE · 7
For x²+y²=25, find y′ at (3,4).
Reveal answer & reasoning
−3/4.
Implicit differentiation gives 2x+2yy′=0. At y=4≠0, y′=−x/y=−3/4.
ORIGINAL PRACTICE · 8
For x=t³, y=t², find dy/dx at t=2.
Reveal answer & reasoning
1/3.
The ratio is (2t)/(3t²)=2/(3t) for t≠0, giving 1/3 at 2.
ORIGINAL PRACTICE · 9
Find d/dx arcsin(2x).
Reveal answer & reasoning
2/√(1−4x²), for |x|<1/2.
Apply the inverse-sine derivative and chain rule. The original function is defined at the boundary too, but its ordinary derivative is not finite there.
ORIGINAL PRACTICE · 10
Find the second derivative of x²eˣ.
Reveal answer & reasoning
eˣ(x²+4x+2).
The first derivative is eˣ(x²+2x). Differentiate again using the product rule and combine terms.
ORIGINAL PRACTICE · 11
Does f(x)=|x| have a derivative at zero?
Reveal answer & reasoning
No.
Its difference quotient at zero is |h|/h, equal to 1 from the right and −1 from the left. The two finite limits differ.
ORIGINAL PRACTICE · 12
Differentiate (x³−8)/(x−2) as originally defined.
Reveal answer & reasoning
2x+2 for x≠2.
Factor and simplify to x²+2x+4 on the original domain. The hole at 2 remains, so the original function has no derivative there.
11 / UNDERSTAND & APPLY
11. A structured derivative is easier to trust
Begin with the function domain and the outermost operation. Decide whether the expression is a sum, product, quotient or composition, then apply the corresponding rule layer by layer. Keep factored expressions when they expose missing factors more clearly than expansion would.
In implicit work, every y depends on x. In parametric work, the conversion from t-rate to x-rate is needed each time, including for the second derivative. In logarithmic work, positivity or nonzero conditions justify the logarithm and division steps.
The major warning signs are a product differentiated as a product of derivatives, a missing inner derivative, a sign reversal in the quotient rule, degrees treated as radians, a negative standard inverse-square-root branch, or a canceled factor whose excluded input has silently returned.
Finally distinguish a formula from existence at a particular point. A derivative can fail because of a corner, an unbounded slope, oscillation or an undefined original value. The difference quotient and the local domain remain the final tests when a memorized rule does not apply.
KEEP THE BIG IDEAS
Quick revision
A derivative is a finite local limit and a first-order rate.
Product, quotient and chain rules express different outer operations.
Derivative formulas are valid only where the original function and required local conditions hold.
Implicit and parametric variables must be differentiated through their dependence.
Variable powers generally need logarithmic differentiation with a positive base.
The teaching notes, worked explanations and original practice are written for this lesson. Separately labeled selected exam questions identify their exam, year, source and whether wording is paraphrased or an exact excerpt. Educational references do not certify current exam coverage.