Q.Find the derivative of f from the first principle, where f is given by
Concept understanding — Difference Quotient
The Difference Quotient: What It Is and Why It Matters
Imagine you're tracking the distance a car has travelled over time. At 2:00 PM, the odometer reads 40 km. At 2:30 PM, it reads 70 km. How fast was the car going on average during that half-hour?
You'd calculate: 0.5 hours70−40=60 km/h.
That fraction — change in distance divided by change in time — is the average rate of change. The difference quotient is just a formal, algebraic way of writing that same idea for any function.
The Intuition: Slope of a Secant Line
Take any function f(x). Pick two points on its graph: (x,f(x)) and (x+h,f(x+h)), where h is some horizontal step (positive or negative). The line that cuts through both points is called a secant line.
The slope of that secant line is:
slope=runrise=(x+h)−xf(x+h)−f(x)=hf(x+h)−f(x)
That expression — hf(x+h)−f(x) — is the difference quotient.
The name comes from "difference" (you subtract two function values) and "quotient" (you divide by h). It's literally a quotient of differences.
The Precise Statement
hf(x+h)−f(x),h=0
This gives the average rate of change of f over the interval from x to x+h. Geometrically, it's the slope of the secant line through (x,f(x)) and (x+h,f(x+h)).
Key restrictions:
- h cannot be zero (you can't divide by zero).
- x and x+h must both be in the domain of f.
A Concrete Example
Let f(x)=x2. Compute the difference quotient at x=3 with h=0.1:
0.1f(3+0.1)−f(3)=0.1(3.1)2−9=0.19.61−9=0.10.61=6.1
This tells us: over the interval [3,3.1], the function x2 increases at an average rate of 6.1 units per unit change in x.
If you shrink h to 0.01, you'd get 6.01. As h gets smaller, the average rate approaches 6 — which is exactly the instantaneous rate of change (the derivative) of x2 at x=3.
The difference quotient is the bridge between average rates (which you can compute with simple algebra) and instantaneous rates (which require limits). When you take the limit as h→0, you get the derivative.
Why You'll See It Everywhere
The difference quotient isn't just a classroom exercise. It's the foundation of calculus:
- Derivatives: f′(x)=h→0limhf(x+h)−f(x)
- Physics: average velocity → instantaneous velocity
- Economics: average cost change → marginal cost
- Any field that studies how things change
Every time you see a derivative, you're looking at the limit of a difference quotient. Master this one expression, and you've unlocked the core idea of differential calculus.
A common mistake: forgetting that h is the change in the input, not the output. The numerator f(x+h)−f(x) is the change in the output. Keep them straight: ΔinputΔoutput.
The difference quotient is the direct precursor to the formal definition of a derivative in the NCERT Class 11 Mathematics chapter on Limits and Derivatives, and "difference quotient formula and examples" is a commonly searched topic for CBSE board and JEE Main preparation. Understanding it as the slope of a secant line is essential groundwork for the "limits and derivatives important questions" that build up to differentiation in Class 12.
Concept: Derivative from first principles uses the limit definition f′(x)=limh→0hf(x+h)−f(x).
(i) f(x)=x−22x+3
Form the difference quotient:
f(x+h)=(x+h)−22(x+h)+3=x+h−22x+2h+3
hf(x+h)−f(x)=h1[x+h−22x+2h+3−x−22x+3]
Combine fractions with common denominator (x+h−2)(x−2):
=h1⋅(x+h−2)(x−2)(2x+2h+3)(x−2)−(2x+3)(x+h−2)
Expand numerators: (2x+2h+3)(x−2)=2x2−4x+2hx−4h+3x−6 and (2x+3)(x+h−2)=2x2+2hx−4x+3x+3h−6.
The difference simplifies to −4h−3h=−7h, so:
hf(x+h)−f(x)=h(x+h−2)(x−2)−7h=(x+h−2)(x−2)−7
Taking h→0: f′(x)=(x−2)2−7
(ii) f(x)=x+x1
f(x+h)=(x+h)+x+h1
hf(x+h)−f(x)=h1[h+x+h1−x1]=1+h1[x(x+h)x−(x+h)]=1−x(x+h)1
Taking h→0: f′(x)=1−x21
The derivatives are (i) f′(x)=(x−2)2−7 and (ii) f′(x)=1−x21.
Use the definition f′(x)=limh→0hf(x+h)−f(x) to find derivatives from first principles. For (i) f(x)=x−22x+3, the derivative is −(x−2)27; for (ii) f(x)=x+x1, the derivative is 1−x21.
The derivative from first principles captures the instantaneous rate of change by examining what happens to the difference quotient as the interval shrinks to zero. Instead of applying ready-made rules, we return to the fundamental definition: the derivative at x is the limit of the average rate of change over an interval [x,x+h] as h approaches zero.
This means we compute f(x+h), subtract f(x), divide by h, and then take the limit. The algebra often looks messy at first, but simplification always reveals the derivative.
(i) f(x)=x−22x+3
- Write the definition
f′(x)=limh→0hf(x+h)−f(x)
- Compute f(x+h) Replace x with x+h:
f(x+h)=(x+h)−22(x+h)+3=x+h−22x+2h+3
- Form the difference f(x+h)−f(x)
f(x+h)−f(x)=x+h−22x+2h+3−x−22x+3
To subtract these fractions, find a common denominator (x+h−2)(x−2):
=(x+h−2)(x−2)(2x+2h+3)(x−2)−(2x+3)(x+h−2)
- Expand the numerators First term:
(2x+2h+3)(x−2)=2x2−4x+2hx−4h+3x−6=2x2−x+2hx−4h−6
Second term:
(2x+3)(x+h−2)=2x2+2xh−4x+3x+3h−6=2x2−x+2xh+3h−6
Subtract:
2x2−x+2hx−4h−6−(2x2−x+2xh+3h−6)=2hx−4h−2xh−3h=−7h
- Divide by h
hf(x+h)−f(x)=h(x+h−2)(x−2)−7h=(x+h−2)(x−2)−7
- Take the limit as h→0
f′(x)=limh→0(x+h−2)(x−2)−7=(x−2)(x−2)−7=−(x−2)27
When subtracting rational functions in first-principles problems, the h in the numerator always cancels with the h in the denominator after simplification — that's what makes the limit exist.
(ii) f(x)=x+x1
- Write the definition
f′(x)=limh→0hf(x+h)−f(x)
- Compute f(x+h)
f(x+h)=(x+h)+x+h1
- Form the difference f(x+h)−f(x)
f(x+h)−f(x)=(x+h+x+h1)−(x+x1)=h+x+h1−x1
- Simplify the fraction difference
x+h1−x1=x(x+h)x−(x+h)=x(x+h)−h
So:
f(x+h)−f(x)=h−x(x+h)h=h(1−x(x+h)1)
- Divide by h
hf(x+h)−f(x)=1−x(x+h)1
- Take the limit as h→0
f′(x)=limh→0(1−x(x+h)1)=1−x⋅x1=1−x21
A common mistake is forgetting to combine terms properly before dividing by h. Always factor out h from the entire numerator to ensure clean cancellation.
For (i) f(x)=x−22x+3, the derivative is f′(x)=−(x−2)27. For (ii) f(x)=x+x1, the derivative is f′(x)=1−x21.
- AP EAPCET 2026Set eng-2026-05-13-AN1 markMCQQ.If y=f(x) is a function such that f′(2)=6,f′(1)=4, then h→0limf(h−h2+1)−f(1)f(2h+2+h2)−f(2)= (A) 23 (B) 2 (C) 25 (D) 3
›Reveal solutionSolution
Both numerator and denominator are difference-quotient forms of f at 2 and 1 respectively; the limit works out to 3.
Concept and Intuition
Whenever an expression looks like f(a+δ(h))−f(a) with δ(h)→0 as h→0, we can write it as δf(a+δ)−f(a)⋅δ→f′(a)⋅δ(h) for small h. Applying this to both numerator and denominator turns the whole limit into a ratio of derivatives times a ratio of the two δ's.
Step-by-Step Solution
- Numerator argument: 2h+2+h2→2 as h→0, with δ1=2h+h2.
f(2+δ1)−f(2)∼f′(2)δ1=6(2h+h2)
- Denominator argument: h−h2+1→1 as h→0, with δ2=h−h2.
f(1+δ2)−f(1)∼f′(1)δ2=4(h−h2)
- Ratio: 4(h−h2)6(2h+h2)=4h(1−h)6h(2+h)=4(1−h)6(2+h).
- Take h→0: 4(1)6(2)=412=3.
Common Mistakes
- Using f′(1) for the numerator or f′(2) for the denominator (swapping them).
- Forgetting to factor out the common h before taking the limit, leading to a 0/0 dead end.
✓Final answerThe correct option is (D) — 3.
ANSWER: D
- AP EAPCET 2024Set eng-2024-05-18-FN1 markMCQQ.If f(x)=⎩⎨⎧e1/2x+4e−1/2x2xe1/2x−3xe−1/2x0if x=0if x=0 is a real valued function then (A) f′(0+)=4−3 (B) f′(0−)=2 (C) f is not differentiable at x=0 (D) f is differentiable at x=0
›Reveal solutionSolution
The two one-sided derivatives at 0 come out different (2 and −3/4), so f fails to be differentiable there.
Concept and Intuition
When a piecewise function's formula involves e1/x-type terms, the behaviour as x→0+ and x→0− can be drastically different because e1/x→∞ from one side and →0 from the other. Checking differentiability then means computing limxf(x)−f(0) separately from each side.
Step-by-Step Solution
- f(0)=0, so f′(0±)=x→0±limxf(x)=x→0±lime1/(2x)+4e−1/(2x)2e1/(2x)−3e−1/(2x).
- As x→0+: 1/(2x)→+∞, so e1/(2x)→∞, e−1/(2x)→0. Divide numerator and denominator by e1/(2x): 1+4e−1/x2−3e−1/x→1+02−0=2. So f′(0+)=2.
- As x→0−: 1/(2x)→−∞, so e1/(2x)→0, e−1/(2x)→∞. Divide by e−1/(2x): e1/x+42e1/x−3→0+40−3=−43. So f′(0−)=−43.
- Since f′(0+)=2=−43=f′(0−), the derivative at 0 does not exist — f is not differentiable at x=0.
Common Mistakes
- Dividing by the wrong exponential term on each side (e.g. always dividing by e1/(2x) regardless of the sign of x), which gives indeterminate ∞/∞ or wrong values.
- Assuming continuity of f implies differentiability.
✓Final answerThe correct option is (C) — f is not differentiable at x=0.
ANSWER: C
- AP EAPCET 2023Set eng-2023-05-16-FN1 markMCQQ.If f(x)=⎩⎨⎧x(1+21sin(logx2)),0,x=0x=0, then limx→0xf(x)−f(0) (A) is equal to f(0) (B) does not exist (C) is equal to 21 (D) is equal to f(1)
›Reveal solutionSolution
The difference quotient simplifies to 1+21sin(logx2), and since logx2→−∞ as x→0, sin(logx2) oscillates forever rather than converging — so the limit does not exist.
Concept and Intuition
Whenever a limit expression contains sin(something→±∞), the sine keeps oscillating between −1 and 1 indefinitely and never settles on one value, so such a limit fails to exist (unless it's multiplied by something that forces it to zero, e.g. xsin(1/x)→0, which is not the case here since there's no vanishing factor).
Step-by-Step Solution
- For x=0: f(x)=x(1+21sin(logx2)), and f(0)=0.
- xf(x)−f(0)=xf(x)=1+21sin(logx2).
- As x→0, x2→0+, so logx2→−∞.
- sin(logx2) therefore oscillates between −1 and 1 infinitely often as x→0 (it never approaches a single value) — there is no factor forcing this oscillation to damp to 0.
- Hence 1+21sin(logx2) also oscillates (between 1/2 and 3/2) and the limit does not exist.
Common Mistakes
- Assuming the bounded factor 21sin(⋅) automatically vanishes in the limit — that only happens if it's multiplied by something tending to 0 (like the "xsin(1/x)" trick), which isn't the structure here.
- Trying to assign the limit a specific value like f(0) or 1/2 without checking that the oscillation genuinely never settles.
✓Final answerThe correct option is (B) — does not exist.
ANSWER: B
- AP EAPCET 2023Set eng-2023-05-17-FN1 markMCQQ.f(x) is differentiable on R and f′(m)=0, m∈R. If x→mlimx−mxf(m)−mf(x)+f′(m)=f(m), then m= (A) 0 (B) −1 (C) 1 (D) 2
›Reveal solutionSolution
Splitting the limit's numerator into a piece that's an exact derivative plus a constant multiple of f(m) turns the whole condition into f′(m)(1−m)=0, and f′(m)=0 forces m=1.
Concept and Intuition
The trick is to rewrite xf(m)−mf(x) so that a genuine difference quotient x−mf(x)−f(m)→f′(m) appears — add and subtract mf(m).
Step-by-Step Solution
- xf(m)−mf(x)=xf(m)−mf(m)+mf(m)−mf(x)=f(m)(x−m)−m(f(x)−f(m)).
- So x−mxf(m)−mf(x)=f(m)−m⋅x−mf(x)−f(m).
- Taking x→m: the limit is f(m)−mf′(m).
- The given equation becomes: [f(m)−mf′(m)]+f′(m)=f(m).
- Simplify: −mf′(m)+f′(m)=0⇒f′(m)(1−m)=0.
- Since f′(m)=0 is given, we must have 1−m=0, so m=1.
Common Mistakes
- Trying to apply L'Hôpital blindly to xf(m)−mf(x) over x−m without recognizing it's not automatically a 0/0 form in the usual sense (it needs the algebraic split shown above, since it's not literally L'Hôpital's setup with a fixed function of x alone in both places).
- Sign errors when distributing the minus sign through −m(f(x)−f(m)).
✓Final answerThe correct option is (C) — 1.
ANSWER: C
- AP EAPCET 2022Set eng-2022-07-04-AN1 markMCQQ.dxd(y→2limy−21(x1−x+y−21))= (A) x21 (B) x32 (C) −x32 (D) x31
›Reveal solutionSolution
The inner limit evaluates to 1/x2 (it's the definition-of-derivative form for −1/x in disguise), and differentiating that gives −2/x3.
Concept and Intuition
The bracketed limit has the shape h→0limhg(x)−g(x+h) which is −g′(x) for g(t)=1/t evaluated appropriately — but it's simplest to just combine the fraction directly and cancel the (y−2) factor before taking the limit.
Step-by-Step Solution
- Let u=y−2, so u→0 as y→2.
- u1(x1−x+u1)=u1⋅x(x+u)(x+u)−x=u1⋅x(x+u)u=x(x+u)1.
- Taking u→0: x⋅x1=x21.
- Now differentiate with respect to x: dxd(x−2)=−2x−3=−x32.
Common Mistakes
- Trying to take the limit before combining the fractions, which leads to a 0/0 indeterminate form handled clumsily.
- Sign error when differentiating x−2.
✓Final answerThe correct option is (C) — −x32.
ANSWER: C
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.If f′′(x) is continuous at x=0 and f′′(0)=4, then find the following value.
[!FORMULA] limx→0x22f(x)−3f(2x)+f(4x)=
(A) 4 (B) 8 (C) 12 (D) 16›Reveal solutionSolution
Taylor-expand each term to second order and pick off the x2 coefficient. Answer: 12.
Concept and Intuition
Since f′′ is continuous at 0, f has a second-order Taylor expansion there: f(x)≈f(0)+f′(0)x+2f′′(0)x2. Plugging x,2x,4x into this and combining lets the constant and linear terms cancel by design (a hallmark of these limit problems), leaving a pure multiple of f′′(0).
Step-by-Step Solution
- f(x)≈f(0)+f′(0)x+2f′′(0)x2
- f(2x)≈f(0)+2f′(0)x+2f′′(0)x2
- f(4x)≈f(0)+4f′(0)x+8f′′(0)x2
- 2f(x)−3f(2x)+f(4x): constant terms 2f(0)−3f(0)+f(0)=0; linear terms [2−6+4]f′(0)x=0; quadratic terms [2⋅21−3⋅2+8]f′′(0)x2=3f′′(0)x2.
- So the limit =3f′′(0)=3(4)=12.
Common Mistakes
- Stopping the Taylor expansion at first order and missing the needed x2 term entirely.
- Arithmetic slip in the coefficient 2(21)−3(2)+8=1−6+8=3.
✓Final answerThe correct option is (C) — 12.
ANSWER: C
- AP EAPCET 2021Set eng-2021-10-05-FN1 markMCQQ.If f(2)=14 and f′(x)=14, then x→2limx−2xf(2)−2f(x)= _____ (A) 14 (B) −12 (C) −14 (D) 13
›Reveal solutionSolution
Since f′(x) is a constant, f is linear — reconstruct it explicitly, then the "limit" collapses to an exact algebraic simplification (the (x−2) factor cancels, so no limiting process is even needed). The answer is (C).
Concept and Intuition
A constant derivative means f must be a straight line f(x)=mx+c; here m=14. Knowing one point, f(2)=14, pins down c completely.
Step-by-Step Solution
- f′(x)=14 (constant) ⇒f(x)=14x+c.
- f(2)=14⇒28+c=14⇒c=−14. So f(x)=14x−14.
- xf(2)−2f(x)=14x−2(14x−14)=14x−28x+28=−14x+28=−14(x−2).
- x−2xf(2)−2f(x)=x−2−14(x−2)=−14 for all x=2, so the limit as x→2 is simply −14.
Common Mistakes
- Trying to apply L'Hôpital's rule unnecessarily instead of noticing the exact algebraic cancellation.
- Sign error while distributing −2f(x).
✓Final answerThe correct option is (C) — −14.
ANSWER: C
- AP EAPCET 2021Set eng-2021-10-05-FN1 markMCQQ.If f(a)=a2; ϕ(a)=b2 and f′(a)=3ϕ′(a), then x→alimϕ(x)−bf(x)−a= (A) a2b2 (B) ab (C) a2b (D) a3b
›Reveal solutionSolution
Recognize the 0/0 form, apply L'Hôpital using the chain rule on the square-root functions, and substitute the given ratio f′(a)=3ϕ′(a). The answer is (D).
Concept and Intuition
As x→a, both f(x)→f(a)=a and ϕ(x)→ϕ(a)=b, so numerator and denominator both vanish — an indeterminate 0/0 form suited to L'Hôpital's rule, differentiating each under the square root via the chain rule.
Step-by-Step Solution
- Numerator derivative: dxdf(x)=2f(x)f′(x), evaluated at x=a: 2af′(a) (using f(a)=a).
- Denominator derivative: dxdϕ(x)=2ϕ(x)ϕ′(x), at x=a: 2bϕ′(a).
- By L'Hôpital: limx→aϕ(x)−bf(x)−a=ϕ′(a)/(2b)f′(a)/(2a)=aϕ′(a)f′(a)b.
- Substitute f′(a)=3ϕ′(a): =aϕ′(a)3ϕ′(a)⋅b=a3b.
Common Mistakes
- Forgetting the factor of 2 from differentiating the square root (chain rule).
- Not substituting the given relation f′(a)=3ϕ′(a) to eliminate the derivatives from the final answer.
✓Final answerThe correct option is (D) — a3b.
ANSWER: D
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.