IB Mathematics: Analysis and Approaches · Topic 5 · Calculus
5.12 First principles and continuity
Use first principles to differentiate, explain continuity at a point, and identify the main types of discontinuity.
1/5The derivative comes from the limit of chord gradients
- The derivative comes from the limit of chord gradients
- Expanding and cancelling h gives the derivative
- A function is continuous where its graph has no break
- Discontinuities fall into three standard types
- A differentiable function must be continuous, but not the reverse
- Check your recall
- Practice: 9 questions
Part 1 of 5: The derivative comes from the limit of chord gradients
Take a point on a curve and a second point a small distance to its right. The straight line through them is a chord. Its gradient is .
As shrinks, slides towards . The chord settles onto the line that just touches the curve at . The limit of the chord gradient is the derivative.
A chord gradient is an average rate of change over a gap of width . Taking to zero turns that average into an instantaneous rate.
Writing this out is the method of first principles: .
Key terms · tap one for its definition
limit
A limit is the value a function approaches as its input approaches a specified value.
derivative
The derivative gives a function’s instantaneous rate of change with respect to its input.
first principles
First principles is the method of finding directly from the limit of the difference quotient as .
Part 2 of 5: Expanding and cancelling h gives the derivative
The method follows a fixed pattern. Write the difference quotient, expand, cancel , then let . The factor must cancel completely, or an algebra step has gone wrong.
Expanding is the hardest step. For a square, . For a cube, .
After cancelling, every remaining term with a factor of vanishes as . What is left is the derivative.
Worked example
Differentiating from first principles
- Expand: .
- Subtract: .
- Divide by : .
- Let : the limit is .
Answer:
Each step is algebra rather than calculus. The only calculus idea is the final limit.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: B · Worked explanation
Part 3 of 5: A function is continuous where its graph has no break
Think of drawing a graph without lifting your pencil. A function drawn this way near a point is continuous at a point. Continuity is judged one point at a time. Three things must hold at :
- is defined.
- exists.
- The limit equals .
The limit exists only when the left-hand and right-hand limits agree.
A hole, a jump or a vertical gap all break the graph. Each makes at least one condition fail.
For a piecewise function, check the point where the rule changes. Compare both one-sided limits with the function value.
Worked example
Finding a value that makes a function continuous
- Left-hand limit: as , .
- Function value: .
- Continuity needs , so .
- Check the right side: .
Answer:
Key term
continuous at a point
A function is continuous at when and both exist and are equal.
Part 4 of 5: Discontinuities fall into three standard types
When one of the three conditions fails, the function has a discontinuity. Look for one where a denominator is zero or where a piecewise rule changes. Each type behaves differently.
Three standard discontinuities
- Type
- Removable
- Example at the point
- at
- What happens
- The limit is 2, but is undefined
- Type
- Jump
- Example at the point
- at
- What happens
- Left limit is -1, right limit is 1
- Type
- Infinite
- Example at the point
- at
- What happens
- Values grow without bound; no limit
A removable discontinuity can be repaired by defining to equal the limit. A jump or infinite discontinuity cannot.
A jump has no limit because the two sides disagree. An infinite discontinuity has no limit because the values grow without bound.
Key term
discontinuity
A discontinuity is a point where a function fails to be continuous.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 5 of 5: A differentiable function must be continuous, but not the reverse
Continuity and the derivative both rest on limits. A function is differentiable at a point when its derivative exists there. Differentiable at implies continuous at .
So a break in the graph rules out a derivative at that point.
The converse is false. The graph of has a sharp corner at the origin. Chord gradients from the right equal 1, and from the left equal -1.
These limits disagree, so does not exist. The function is continuous at 0 but not differentiable there.
Key term
differentiable
A function is differentiable at a point when its derivative exists there, meaning the limit of the difference quotient exists.
Check your recall[14 marks]
6 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.State[2 marks]
State the first principles definition of .
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for writing the difference quotient
- 1 mark for taking the limit as
- 2.Determine[3 marks]
Determine the derivative of from first principles.
Show mark schemeHide mark scheme
Model answer
. As , this tends to .
- 1 mark for expanding and subtracting
- 1 mark for dividing by to obtain
- 1 mark for taking the limit to obtain
- 3.State[2 marks]
State the conditions for a function to be continuous at .
Show mark schemeHide mark scheme
Model answer
must be defined and must exist. The limit must equal .
- 1 mark for stating that is defined and the limit exists
- 1 mark for stating that the limit equals
- 4.Determine[3 marks]
Determine so that is continuous at , where for and for .
Show mark schemeHide mark scheme
Model answer
. The left-hand limit is . Continuity needs , so .
- 1 mark for finding
- 1 mark for finding the left-hand limit
- 1 mark for solving to obtain
- 5.Distinguish[2 marks]
Distinguish between a removable discontinuity and a jump discontinuity.
Show mark schemeHide mark scheme
Model answer
At a removable discontinuity the limit exists but differs from, or is missing from, the function value. At a jump the left and right limits are different.
- 1 mark for stating that a removable discontinuity has a limit that exists
- 1 mark for stating that a jump has different left-hand and right-hand limits
- 6.Explain[2 marks]
Explain why is continuous but not differentiable at .
Show mark schemeHide mark scheme
Model answer
The graph has no break at , so is continuous. The chord gradients tend to 1 from the right and -1 from the left, so the derivative does not exist.
- 1 mark for stating that the graph has no break, so it is continuous
- 1 mark for stating that the left and right gradient limits differ, so the derivative does not exist

Practice this topic
9 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 9 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumIdentify[1 mark]
Show answer and explanation
Answer: A · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardIdentify[2 marks]
Show answer and explanation
Answer: B · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: D · Worked explanation