Calculus
Calculus contributes a small but dependable share of the 13-mark Engineering Mathematics block. The syllabus for the CS paper is narrow — limits, continuity and differentiability, mean value theorems, maxima and minima, and integration — and it is examined at a level well below a mathematics degree.
What makes GATE calculus questions non-trivial is not the computation but the hypotheses. Rolle's theorem, the mean value theorem and the extreme value theorem are all short to state and easy to apply. Every one of them fails on a function that violates one condition, and the questions are built on exactly those failures.
So the working method is: state the theorem, then check each hypothesis against the specific interval given. Continuity on a closed interval, differentiability on the open interval, and the endpoint condition are three separate checks, and a question that supplies on is testing the second one specifically.
The second principle is that a limit is about approach, not about the value at the point. A function can have a perfectly good limit at a point where it is undefined, or where its value is something else entirely. Confusing the limit with the value is the single commonest error in the topic.
1. Limits
The limit of at exists when the left-hand and right-hand limits both exist and are equal, and it says nothing whatever about .
Three indeterminate forms cover almost every GATE question: , and . The others, such as and , appear occasionally and are handled by taking logarithms.
L'Hopital's rule applies to and only:
The rule must not be applied to a form that is not indeterminate, which is the standard misuse. If the limit evaluates to , applying L'Hopital gives a wrong answer, because the form is infinite rather than indeterminate.
A small set of standard limits removes most computation.
| Limit | Value |
|---|---|
| 1 | |
| 1/2 | |
| 1 | |
| 1 | |
Series expansion is often faster than repeated L'Hopital. Substituting and turns a three-step differentiation into one cancellation.
The expansions worth carrying are few, and all are Maclaurin series about the origin.
| Function | Expansion |
|---|---|
Keep terms only to the order the denominator requires. For a denominator of , expanding the numerator to suffices, and carrying further terms wastes time without changing the answer.
For limits at infinity of rational functions, compare degrees: the limit is 0 if the denominator has higher degree, infinite if the numerator does, and the ratio of leading coefficients if the degrees are equal.
2. Continuity and Differentiability
A function is continuous at if the limit at exists, exists, and they are equal. All three conditions are separate and each can fail alone.
Differentiability implies continuity, but continuity does not imply differentiability. The absolute value function at 0 is the canonical counterexample: continuous everywhere, not differentiable at 0 because the left derivative is and the right derivative is .
Three failure modes are worth recognising on sight.
| Failure | Example at 0 |
|---|---|
| Corner: unequal one-sided derivatives | |
| Vertical tangent: derivative infinite | |
| Oscillation: derivative limit does not exist | extended by 0 |
For a piecewise function, continuity at the join requires equal one-sided limits, and differentiability additionally requires equal one-sided derivatives. GATE questions supply a piecewise function with unknown constants and ask for the values making it differentiable, which means solving both conditions and never just the first.
3. The Mean Value Theorems
Rolle's theorem states that if is continuous on , differentiable on , and , then there is some in with .
The Lagrange mean value theorem drops the endpoint equality:
Every hypothesis is load-bearing, and questions are built by removing exactly one.
Take on . It is continuous on the closed interval and satisfies , so the endpoint condition holds. But it is not differentiable at 0, which lies inside the open interval, so Rolle's theorem does not apply — and indeed is never zero.
Take on . It fails continuity at 0, so no conclusion follows even though the arithmetic of the theorem could be written down.
The theorems assert existence, not uniqueness. There may be several values of , and a question asking "how many values of satisfy the mean value theorem" is asking you to solve and count roots in the open interval.
Cauchy's mean value theorem generalises to two functions and gives , which is the result L'Hopital's rule is proved from.
4. Maxima and Minima
Critical points are where or where fails to exist. The second condition is routinely forgotten, and it is exactly where a question about or places its answer.
The second-derivative test classifies a critical point where : negative gives a local maximum, positive gives a local minimum, and zero is inconclusive.
When the second derivative test is inconclusive, use the sign change of , which always works. For at 0, , but changes from negative to positive, so it is a minimum. For at 0, does not change sign, so it is neither.
For a global extremum on a closed interval, the extreme value theorem guarantees existence provided is continuous. The candidates are the critical points and the two endpoints, and evaluating at all of them and comparing is the complete method.
Omitting the endpoints is the standard error, and it is the difference between a local and a global answer.
The intermediate value theorem is the other existence result worth holding exactly. If is continuous on and and have opposite signs, then has at least one root in .
It requires only continuity, not differentiability, and it guarantees at least one root rather than exactly one. Questions asking how many roots a polynomial has in an interval combine it with monotonicity: the theorem gives existence and a constant sign of gives uniqueness.
The sign of gives monotonicity and the sign of gives concavity. A function is increasing where and concave up where , and a point where changes sign is an inflection point.
An inflection point is not an extremum, and a critical point where vanishes without changing sign is neither, as at the origin shows.
5. Integration
Two substitution patterns and integration by parts cover most of what is asked.
Substitute whenever the integrand contains a function together with a multiple of its own derivative. The clearest signal is a numerator that is exactly the derivative of the denominator, in which case the answer is the logarithm of the denominator.
Integration by parts follows from the product rule:
Choose by ILATE: inverse trigonometric, logarithmic, algebraic, trigonometric, exponential, in that priority order.
A small table of standard integrals removes most lookups.
| Integrand | Antiderivative |
|---|---|
| , | |
Definite integrals carry properties that shorten work dramatically.
Over a symmetric interval , an odd integrand integrates to zero and an even one integrates to twice the half-interval value. Checking parity before integrating is worth a few seconds on every symmetric-interval question.
The king's property states that , which converts many trigonometric integrals into a form where the original and the transformed integral add to something trivial.
The fundamental theorem of calculus links the two halves of the subject and supplies a differentiation rule that is asked directly.
If with continuous, then . When the upper limit is itself a function, the chain rule applies, so differentiating gives .
For area, the definite integral gives signed area, so a region partly below the axis requires splitting at the zeros and taking absolute values. Integrating straight through a sign change and calling the result an area is a standard error.
6. Improper Integrals and Convergence
An improper integral has an infinite limit or an unbounded integrand, and the question is whether it converges.
The -test settles most cases. The integral of from 1 to infinity converges exactly when , and from 0 to 1 it converges exactly when . The two conditions are opposite, which is what makes the test worth stating carefully rather than half-remembering.
For a comparison, if and the integral of converges, so does that of ; if the integral of diverges, so does that of .
7. Functions of Two Variables
Partial derivatives differentiate with respect to one variable holding the others fixed.
For a smooth function the mixed partials are equal, so , which is Clairaut's theorem and is assumed throughout.
Critical points of satisfy , and they are classified by the discriminant
evaluated at the critical point.
If and it is a local minimum; if and a local maximum; if it is a saddle point; and if the test is inconclusive.
The saddle case has no one-variable analogue and is what most two-variable questions are actually testing.
8. Worked Examples
Example 1. Evaluate .
Substituting gives , so the form is indeterminate and L'Hopital applies.
Differentiating once gives , still .
Differentiating again gives , still .
Differentiating a third time gives , which at 0 is .
The series route is faster. Since , the numerator is , so the ratio is and the limit is in one step.
Both agree, and the series method is the one worth defaulting to when three L'Hopital applications would be needed.
Example 2. For what values of and is the function for and for differentiable at ?
Two conditions must hold, and solving only the first is the standard error.
Continuity at 1 requires the one-sided limits to agree: the left gives and the right gives . So .
Differentiability requires the one-sided derivatives to agree: the left derivative is at , which is 2, and the right derivative is . So .
Substituting into the first condition gives .
So and .
Note that with and the function would still be continuous, since , but the derivative would jump from 2 to 1 and the function would have a corner. Continuity alone never determines both constants.
Example 3. Does Rolle's theorem apply to on ?
Check each hypothesis in turn.
Continuity on the closed interval: is continuous everywhere, including at 0, so this holds.
Endpoint equality: and , so this holds.
Differentiability on the open interval: , which is undefined at , a point inside . This hypothesis fails.
So Rolle's theorem does not apply.
Confirm the conclusion genuinely fails: is never zero, since has no root. The function does have a maximum at , but it is a cusp rather than a stationary point, which is precisely why the differentiability hypothesis was needed.
Example 4. Find the absolute maximum and minimum of on .
The function is a polynomial, so it is continuous on the closed interval and the extreme value theorem guarantees both extrema exist.
Find the critical points: gives , both inside the interval. There are no points where fails to exist.
Evaluate at the critical points and both endpoints, which is the complete candidate list.
. . . .
The absolute maximum is 3, attained at both and . The absolute minimum is , attained at both and .
The instructive part is that the endpoint ties the interior maximum. Omitting endpoints would have found the same maximum value here by luck, but would have missed that it is attained twice.
Example 5. Evaluate .
Check parity before integrating anything.
, so the integrand is odd.
The interval is symmetric about the origin, so the integral of an odd function over it is zero.
The answer is 0, with no antiderivative computed at all.
Verify: the antiderivative is , which is even, so evaluating it at 2 and at gives the same value and the difference is zero. The parity check reaches the same place in one line.
Example 6. Classify the critical points of .
Set both partials to zero. gives , and gives .
Substituting: , so , giving or .
The critical points are and .
Compute the second partials: , , .
At : , so it is a saddle point.
At : and , so it is a local minimum.
The saddle at the origin is the point of the question. Along the line the function is , which has a local maximum at the origin, while along it behaves differently — the two directions disagree, which is exactly what a saddle is.
Summary
The theorems are cheap to state; the marks are in checking their hypotheses against the specific interval given.
A limit describes approach and says nothing about the value at the point. L'Hopital applies only to genuinely indeterminate forms, and series expansion often beats repeated differentiation.
Differentiability implies continuity, never the reverse. Corners, vertical tangents and oscillation are the three failure modes.
For a piecewise function, continuity matches the one-sided limits and differentiability additionally matches the one-sided derivatives; solving only the first never determines both constants.
Rolle's theorem needs continuity on the closed interval, differentiability on the open one, and equal endpoint values; removing any one is how questions are built. The mean value theorems assert existence, not uniqueness.
Critical points include those where the derivative fails to exist. When the second-derivative test is inconclusive, the sign change of always decides.
For a global extremum on a closed interval, the candidates are the critical points and both endpoints.
Substitute when the integrand contains a function and its derivative; choose by ILATE for parts. Check parity before integrating over a symmetric interval.
The -test converges for at infinity and for at the origin — opposite conditions.
For two variables, classify critical points by , with giving a saddle, which has no one-variable analogue.
