Understand differentiation from first principles the easy way, with plain English intuition, a clear visual, worked examples and an auto marked practice test. VCE Maths Methods Units 3 and 4.
Learn
Picture zooming in on a curvy line with your phone camera. Keep zooming into one
single point and something surprising happens. The curve stops looking curvy and
starts to look perfectly straight. Differentiation from first principles is just
the careful way of measuring how steep that tiny straight piece is. Get this one idea
and the rest of calculus falls into place, because every other rule is built on top
of it.
The dashed line through P and Q is the secant. As Q slides toward P, the secant
swings around until it matches the red tangent at P. That tangent's steepness is the
derivative.
What you are really measuring
A straight line is easy because it has the same steepness everywhere. A curve is
sneaky, because its steepness keeps changing, so the question “how steep is it” has no
answer until you say where. So here is the move. Pick your point. Drop a second
point a tiny distance away. Measure the steepness of the straight line joining the
two. Then slide that second point closer and closer until the gap almost vanishes.
The straight line joining the two points has steepness
hf(x+h)−f(x)
where h is the tiny gap between them.
The one line of maths that says it all
Here is the whole idea written as a single line. It looks fancy, but read it slowly
and it just says “shrink the gap to zero”.
f′(x)=h→0limhf(x+h)−f(x)
The limh→0 part is shorthand for “let the gap h get so small it basically
disappears”. Everything else is just the steepness of the line between your two points.
How to actually do it
The idea is the hard part. The method is a short recipe you repeat every time.
Write f(x+h) by putting x+h everywhere you see x.
Work out f(x+h)−f(x) and tidy the top.
Divide every term by h. The top always has an h waiting to cancel.
Let h→0 by setting the leftover h terms to zero.
The trap that catches most students is step 3. Before h reaches zero it is still a
real number, so the h values cancel cleanly. Cancel first, then take the limit.
Do it the other way around and you are dividing by zero.
See this recipe in action in the Worked Examples tab, then test yourself in
Try It.
Lock it in with active recall
Cover the answer and say each one out loud before you flip. Rate yourself honestly — the cards you find hard come back sooner, the ones you know are spaced further out.
Active recall
Answer from memory first, then flip. Rate yourself and each card returns on a spaced schedule (1 → 3 → 7 → 16 days).
Write the first principles definition of the derivative.
f′(x)=h→0limhf(x+h)−f(x).
What does the fraction hf(x+h)−f(x) represent, before the limit?
The gradient of the secant line through the two points (x,f(x)) and (x+h,f(x+h)).
Why must you cancel the hbefore letting h→0?
While h is still a real number you may divide by it, so it cancels cleanly. Setting h=0 first would make you divide by zero, which is undefined.
Differentiate f(x)=x1 from first principles.
x+h1−x1=x(x+h)−h, divide by h to get x(x+h)−1, and h→0 gives f′(x)=−x21.
When is a VCE student required to use first principles rather than a shortcut rule?
Whenever the question explicitly says “from first principles” or “by the limit definition”. A shortcut rule then earns no method marks even if the final answer is right.
Recall · The Chain Rule
To differentiate a composite like (3x+1)5, what does the chain rule tell you to do?
Differentiate the outside, then multiply by the derivative of the inside: dxdy=dudy×dxdu, giving 15(3x+1)4.
Recall · Functions and Graphs
What is the gradient of a straight linef(x)=mx+c, and how does first principles confirm it?
The gradient is the constant m. From first principles hm(x+h)+c−(mx+c)=hmh=m, the same everywhere.
Worked examples
Worked Example 1Matching a polynomial to a curve, from a real exam
Let g:[0,25π]→R,g(x)=ax3+bx2+cx+d be a polynomial, where a,b,c,d∈R. Suppose g(0)=f(0) and g′(0)=f′(0), where f(x)=sin(x)+1. Show that c=1 and d=1.
1
Match the values at x=0. Here g(0)=d and f(0)=sin0+1=1.
d=1
2
Match the derivatives at x=0. Differentiating gives g′(x)=3ax2+2bx+c, so g′(0)=c, while f′(x)=cosx gives f′(0)=cos0=1.
g′(x)=3ax2+2bx+c,g′(0)=c=1
3
As this is a "show that", the substitution x=0 must be shown clearly at each step.
c=1,d=1
Answer
c=1,d=1
VCAA 2025 Mathematical Methods Exam 2, Section B Q4gi
Worked Example 2A basic quadratic
Differentiate f(x)=x2 from first principles.
1
Write f(x+h) by putting x+h everywhere you see x.
(x+h)2=x2+2xh+h2
2
Subtract f(x) and tidy the top.
f(x+h)−f(x)=2xh+h2
3
Divide every term by h so it cancels.
hf(x+h)−f(x)=2x+h
4
Let the gap h shrink to zero.
f′(x)=h→0lim(2x+h)=2x
Answer
f′(x)=2x
Worked Example 3With a linear term
Differentiate f(x)=x2−3x from first principles.
1
Expand f(x+h).
f(x+h)=(x+h)2−3(x+h)=x2+2xh+h2−3x−3h
2
Subtract f(x)=x2−3x.
f(x+h)−f(x)=2xh+h2−3h
3
Divide by h, then let h→0.
h2xh+h2−3h=2x+h−3
Answer
f′(x)=2x−3
Worked Example 4A fraction, a little trickier
Differentiate f(x)=x1 from first principles.
1
Combine f(x+h)−f(x) over a common denominator.
x+h1−x1=x(x+h)x−(x+h)=x(x+h)−h
2
Divide by h.
h1⋅x(x+h)−h=x(x+h)−1
3
Let h→0.
f′(x)=−x21
Answer
f′(x)=−x21
Practice questions
Practice test
Try it yourself
4 questions, 6 marks
Choose your answers, then submit to see your score and the full worked solutions.
Multiple choice is marked for you, just like Exam 2 Section A.
Q1.Using first principles, the derivative of f(x)=x2 is:
1mark
Need a hint?
Expand (x+h)2, subtract x2, divide every term by h, then let h→0 so any leftover h vanishes.
Show worked solution
Since h(x+h)2−x2=2x+h, letting h→0 gives 2x. Option C, 2x+h, is the gradient before the limit is taken, which is the most common slip.
Q2.From first principles, the gradient function of the straight line f(x)=5x is:
1mark
Need a hint?
A straight line has the same steepness everywhere. Work through the limit and think about what gradient a line of the form y=mx should have.
Show worked solution
h5(x+h)−5x=h5h=5. A straight line has the same steepness everywhere, so its derivative is the constant 5.
Q3.Using first principles, the derivative of f(x)=x2+2x is:
1mark
Need a hint?
Differentiate term by term in your head as a check, but show the full limit. Remember to cancel the h before letting h→0.
Show worked solution
h[(x+h)2+2(x+h)]−[x2+2x]=h2xh+h2+2h=2x+h+2, and h→0 gives 2x+2.
Q4.Find, from first principles, the derivative of f(x)=x2−4x. Show every step.
3marks
Work this on paper. The worked solution appears once you submit.
Show worked solution
f(x+h)=(x+h)2−4(x+h)=x2+2xh+h2−4x−4h.
Then f(x+h)−f(x)=2xh+h2−4h, so
hf(x+h)−f(x)=2x+h−4.
Letting h→0:
f′(x)=2x−4
Frequently asked questions
What does differentiation from first principles actually mean?
It means finding the derivative directly from the limit definition, rather than using a shortcut rule like the power rule. You measure the gradient of a line through two points and then shrink the gap between those points to zero.
Why does the h cancel before you take the limit?
While the gap is still a real number you are allowed to divide top and bottom by it, so the h cancels cleanly. You must cancel first, because once you set h to zero you would otherwise be dividing by zero, which is undefined.
When am I expected to use first principles instead of just differentiating?
Use it whenever a VCE question explicitly says from first principles or by the limit definition. In that case you must show the full limit working, since a shortcut rule earns no method marks even if the final answer is correct.