Engineering Mathematics‹›⌂ 0:00 studied

Module 1 · 11 min read · Free chapter

Calculus: limits, derivatives, integrals and series

In short

Calculus measures change and accumulation. Derivatives give slopes and help find maxima and minima, where the first derivative is zero. Integrals add up areas and volumes. Taylor series write a smooth function as a polynomial near a point, which is how calculators and numerical methods approximate functions.

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: how fast, and how much

A car's speedometer answers "how fast am I going right now?". Its odometer answers "how far have I gone in total?". Calculus is the mathematics of exactly these two questions. The derivative gives the rate of change at an instant, and the integral adds up small pieces to give a total.

The two ideas are opposites of each other, just as speed and distance are. Knowing the speed at every moment gives the distance, and knowing the distance at every moment gives the speed. This link is the fundamental theorem of calculus.

Engineers use both ideas every day. The slope of a bending-moment diagram is the shear force, and the area under a stress-strain curve is the energy stored. Current is the rate of flow of charge, and the work done by a gas is the area under its p-V curve.

Why it matters. Every GATE branch paper lists calculus in Engineering Mathematics, and it supports nearly every technical subject that follows. This chapter covers limits and continuity, mean value theorems, series, maxima and minima, integrals and Fourier series.

Limits, continuity and indeterminate forms

A limit asks what value f(x)f(x) approaches as x gets closer and closer to a, even if f(a)f(a) itself is missing. A function is continuous at a when three things hold: f(a)f(a) exists, the limit exists, and the two are equal. On a graph, that means you can draw through the point without lifting the pen.

Differentiable means the graph has a single clear tangent at the point. Every differentiable function is continuous, but a sharp corner breaks the rule the other way. For example, ∣x∣\lvert x \rvert is continuous at 0, yet its slope jumps from −1-1 to +1+1, so it has no derivative there.

Some limits look like 00\dfrac{0}{0} or ∞∞\dfrac{\infty}{\infty} at first, and these are called indeterminate forms. L'Hospital's rule handles them: differentiate the top and the bottom separately, and take the limit again. For instance, as x→0x \to 0, sin⁡xx→cos⁡x1=1\dfrac{\sin x}{x} \to \dfrac{\cos x}{1} = 1.

The other forms (0⋅∞0 \cdot \infty, ∞−∞\infty - \infty, 1∞1^{\infty}, 000^0 and ∞0\infty^0) are first rewritten as a fraction. For powers, take the logarithm first. This is how one shows that (1+1x)x→e\left(1 + \dfrac{1}{x}\right)^x \to e as x→∞x \to \infty, and more generally that (1+ax)x→ea\left(1 + \dfrac{a}{x}\right)^x \to e^a.

Mean value theorems and Taylor series

Suppose you drive 120 km in 2 hours. Then at some moment your speedometer must have shown exactly 60 km/h, the average speed. Lagrange's mean value theorem says this in mathematics. If ff is continuous on [a,b][a, b] and differentiable inside it, then f′(c)=f(b)−f(a)b−af'(c) = \dfrac{f(b) - f(a)}{b - a} for some cc between aa and bb.

Rolle's theorem is the special case where f(a)=f(b)f(a) = f(b): a ball thrown up and caught at the same height must have zero vertical speed somewhere. Cauchy's mean value theorem compares two functions, f′(c)g′(c)=f(b)−f(a)g(b)−g(a)\dfrac{f'(c)}{g'(c)} = \dfrac{f(b) - f(a)}{g(b) - g(a)}, and it is the idea behind L'Hospital's rule. GATE often asks for the value of c, or which conditions fail for a given function.

Taylor series go one step further. They rebuild a smooth function near a point a from its value and its derivatives there:

f(x)=f(a)+(x−a)f′(a)+(x−a)22!f′′(a)+⋯f(x) = f(a) + (x - a)f'(a) + \frac{(x - a)^2}{2!}f''(a) + \cdots

With a=0a = 0 this is the Maclaurin series.

Expansions to know by heart.

  • ex=1+x+x22!+x33!+⋯e^x = 1 + x + \dfrac{x^2}{2!} + \dfrac{x^3}{3!} + \cdots, valid for all xx.
  • sin⁡x=x−x33!+x55!−⋯\sin x = x - \dfrac{x^3}{3!} + \dfrac{x^5}{5!} - \cdots, and cos⁡x=1−x22!+x44!−⋯\cos x = 1 - \dfrac{x^2}{2!} + \dfrac{x^4}{4!} - \cdots.
  • ln⁡(1+x)=x−x22+x33−⋯\ln(1 + x) = x - \dfrac{x^2}{2} + \dfrac{x^3}{3} - \cdots, valid for −1<x≤1-1 < x \le 1.
  • 11−x=1+x+x2+⋯\dfrac{1}{1 - x} = 1 + x + x^2 + \cdots, valid for ∣x∣\lvert x \rvert < 1.

Why it matters. Engineers keep only the first one or two Taylor terms to make a hard problem linear. That is how a pendulum is treated with sin⁡θ≈θ\sin\theta \approx \theta, and how a transistor or a non-linear system is modelled near its operating point. The size of the next term tells how big the error is.

Maxima, minima and partial derivatives

A beam is cheapest when it uses the least steel, and a pump is best when it runs at peak efficiency. Finding such best points is optimisation. For one variable, solve f′(x)=0f'(x) = 0 to get the stationary points. Then f′′>0f'' > 0 there means a minimum (the curve holds water), and f′′<0f'' < 0 means a maximum.

Worked example. A rectangle has perimeter 40 m, so its sides are xx and 20−x20 - x. Its area is A=x(20−x)A = x(20 - x), and A′=20−2x=0A' = 20 - 2x = 0 gives x=10x = 10. Since A′′=−2<0A'' = -2 < 0, this is a maximum: the square of side 10 m with area 100 m².

When f depends on two variables, a partial derivative changes one and holds the other fixed. We write fx=∂f∂xf_x = \dfrac{\partial f}{\partial x} and fy=∂f∂yf_y = \dfrac{\partial f}{\partial y}. Stationary points need both fx=0f_x = 0 and fy=0f_y = 0. Then let r=fxxr = f_{xx}, s=fxys = f_{xy} and t=fyyt = f_{yy} at that point.

  • If rt−s2>0rt - s^2 > 0 and r>0r > 0, the point is a minimum; if rt−s2>0rt - s^2 > 0 and r<0r < 0, it is a maximum.
  • If rt−s2<0rt - s^2 < 0, it is a saddle point, rising one way and falling the other, like a horse's saddle.
  • If rt−s2=0rt - s^2 = 0, the test fails and further study is needed.

Two more results appear in GATE. Euler's theorem says that if f(x,y)f(x, y) is homogeneous of degree nn, then xfx+yfy=nfxf_x + yf_y = nf; for example, f=x2+xyf = x^2 + xy gives 2f2f. The total derivative gives dzdt=fxdxdt+fydydt\dfrac{dz}{dt} = f_x\dfrac{dx}{dt} + f_y\dfrac{dy}{dt} when x and y both change with time.

Definite, improper and multiple integrals

A definite integral ∫abf(x) dx\int_a^b f(x)\,dx adds up thin strips of height f(x)f(x) from aa to bb, so it gives the net area under the curve. A few properties turn long working into one line.

  • ∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx. This "king's rule" makes integrals like ∫0π/2sin⁡nxsin⁡nx+cos⁡nx dx\int_0^{\pi/2} \dfrac{\sin^n x}{\sin^n x + \cos^n x}\,dx equal to π4\dfrac{\pi}{4} at once.
  • Over [−a,a][-a, a], an odd function integrates to 0, and an even function gives twice the integral over [0,a][0, a].
  • The integral of a periodic function over any full period is the same.

An improper integral has an infinite limit, or a point where the function blows up. It is worked out as a limit and is said to converge if that limit is finite. The p-test is the one to remember. ∫1∞dxxp\int_1^{\infty} \dfrac{dx}{x^p} converges only for p>1p > 1, while ∫01dxxp\int_0^1 \dfrac{dx}{x^p} converges only for p<1p < 1.

A double integral ∬f(x,y) dA\iint f(x, y)\,dA adds f over an area, and a triple integral adds over a volume. With f=1f = 1 they simply give area and volume, and with ff = density they give mass. Engineers use them for centroids, moments of inertia and the charge in a region.

Sometimes the integral is easier with the order of integration changed. Sketch the region, then rewrite the limits for the other order. For circles and sectors, switch to polar coordinates, remembering that dA=r dr dθdA = r\,dr\,d\theta; leaving out the rr is the commonest error.

Worked example. The area of a circle of radius RR is ∫02π∫0Rr dr dθ=2π×R22=πR2\int_0^{2\pi}\int_0^R r\,dr\,d\theta = 2\pi \times \dfrac{R^2}{2} = \pi R^2.

Fourier series: any repeating signal as a sum of waves

A guitar string, an AC voltage with harmonics, and the vibration of an engine all repeat themselves. Fourier showed that any such periodic function can be built from sines and cosines. For period 2L2L, the series is f(x)=a02+∑n=1∞[ancos⁡nπxL+bnsin⁡nπxL]f(x) = \dfrac{a_0}{2} + \sum_{n=1}^{\infty}\left[a_n\cos\dfrac{n\pi x}{L} + b_n\sin\dfrac{n\pi x}{L}\right].

Each coefficient measures how much of one wave the signal contains. They are found by integrating over one period: an=1L∫f(x)cos⁡nπxL dxa_n = \dfrac{1}{L}\int f(x)\cos\dfrac{n\pi x}{L}\,dx and bn=1L∫f(x)sin⁡nπxL dxb_n = \dfrac{1}{L}\int f(x)\sin\dfrac{n\pi x}{L}\,dx. The term a02\dfrac{a_0}{2} is simply the average value of the function.

Symmetry saves half the work.

  • An even function, such as ∣x∣\lvert x \rvert or cos⁡x\cos x, has only cosine terms, so every bn=0b_n = 0.
  • An odd function, such as x or a square wave centred on zero, has only sine terms, so a0=an=0a_0 = a_n = 0.
  • At a jump, the series converges to the average of the values on the two sides.

Worked example. A square wave that is +1+1 for 0<x<π0 < x < \pi and −1-1 for −π<x<0-\pi < x < 0 is odd. Its series is 4π(sin⁡x+sin⁡3x3+sin⁡5x5+⋯ )\dfrac{4}{\pi}\left(\sin x + \dfrac{\sin 3x}{3} + \dfrac{\sin 5x}{5} + \cdots\right), so it contains only odd harmonics.

Why it matters. Power engineers use Fourier series to measure harmonics from rectifiers, and communication engineers use the same idea for signal spectra. Mechanical engineers use it to find which forcing frequency could make a machine resonate.

Descriptive lens: how ESE and state papers ask this

In descriptive papers, calculus questions ask for full reasoning. Typical tasks are verifying a mean value theorem for a given function and interval, locating and classifying the stationary points of f(x,y)f(x, y), evaluating a double integral by changing the order, and finding the Fourier series of a given wave.

Our practice questions (not previous-year questions).

  1. Verify Lagrange's mean value theorem for f(x)=x3−3xf(x) = x^3 - 3x on [0,2][0, 2] and find cc.
  2. Find and classify the stationary points of f(x,y)=x3+y3−3xyf(x, y) = x^3 + y^3 - 3xy.
  3. Change the order of integration in ∫01∫x1ey2 dy dx\int_0^1 \int_x^1 e^{y^2}\,dy\,dx and evaluate it.
  4. Find the Fourier series of f(x)=x2f(x) = x^2 on [−π,π][-\pi, \pi], and deduce the sum of 1n2\dfrac{1}{n^2}.

Answer plan for question 2.

  • First, set fx=3x2−3y=0f_x = 3x^2 - 3y = 0 and fy=3y2−3x=0f_y = 3y^2 - 3x = 0, which give the points (0,0)(0, 0) and (1,1)(1, 1).
  • Next, find r=6xr = 6x, s=−3s = -3 and t=6yt = 6y at each point.
  • At (0,0)(0, 0), rt−s2=−9<0rt - s^2 = -9 < 0, so it is a saddle point.
  • At (1,1)(1, 1), rt−s2=27>0rt - s^2 = 27 > 0 with r=6>0r = 6 > 0, so it is a minimum with value −1-1.

Quick revision

  • A function is continuous when the limit equals the value; differentiable implies continuous, but not the reverse.
  • L'Hospital works only for 00\dfrac{0}{0} or ∞∞\dfrac{\infty}{\infty}, and other forms must be rewritten first.
  • Rolle needs f(a)=f(b)f(a) = f(b); Lagrange gives f′(c)=f(b)−f(a)b−af'(c) = \dfrac{f(b) - f(a)}{b - a}.
  • Taylor builds f from derivatives at a point; Maclaurin is the case a=0a = 0.
  • For one variable, f′′>0f'' > 0 means minimum; for two, rt−s2>0rt - s^2 > 0 with r>0r > 0 means minimum and rt−s2<0rt - s^2 < 0 means saddle.
  • Euler's theorem gives xfx+yfy=nfxf_x + yf_y = nf for a homogeneous f of degree n.
  • ∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx, and an odd function over [−a,a][-a, a] gives 0.
  • ∫1∞dxxp\int_1^{\infty} \dfrac{dx}{x^p} converges for p>1p > 1; ∫01dxxp\int_0^1 \dfrac{dx}{x^p} converges for p<1p < 1.
  • In polar coordinates, dA=r dr dθdA = r\,dr\,d\theta.
  • In Fourier series, even functions keep cosines and odd functions keep sines.

Check yourself

Exam-style questions on this chapter. Pick an answer to see the explanation. 0 of 13 answered

  1. The function f(x)=∣x∣f(x) = \lvert x \rvert at x=0x = 0 is:

  2. lim⁡x→01−cos⁡xx2\lim_{x \to 0} \dfrac{1 - \cos x}{x^2} is:

  3. lim⁡x→∞(1+3x)x\lim_{x \to \infty} \left(1 + \dfrac{3}{x}\right)^x is:

  4. For f(x)=x2f(x) = x^2 on [1,3][1, 3], the value of cc from Lagrange's mean value theorem is:

  5. The coefficient of x3x^3 in the Maclaurin series of sin⁡x\sin x is:

  6. For f(x,y)=x2−y2f(x, y) = x^2 - y^2, the point (0,0)(0, 0) is:

  7. A rectangle has a fixed perimeter of 40 m. Its greatest possible area is:

  8. For f(x,y)=x3+2xy2f(x, y) = x^3 + 2xy^2, the value of xfx+yfyxf_x + yf_y is:

  9. ∫−22x3cos⁡x dx\int_{-2}^{2} x^3\cos x\,dx equals:

  10. ∫1∞dxxp\int_1^{\infty} \dfrac{dx}{x^p} converges when:

  11. In polar coordinates the area element dAdA is:

  12. The Fourier series of an odd periodic function contains:

  13. At a jump from −1-1 to +1+1, the Fourier series of a square wave converges to:

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

Frequently asked questions

What is the condition for a maximum of f(x)?

f′(x) = 0 and f″(x) < 0 at that point.

What does Rolle's theorem state?

If f is continuous on [a, b], differentiable inside, and f(a) = f(b), then f′(c) = 0 for some c between a and b.

When is L'Hôpital's rule used?

For limits of the form 0/0 or ∞/∞.

What is the Maclaurin series of eˣ?

1 + x + x²/2! + x³/3! + …

More in this module: Algebra and calculus for engineers

Official sources

Facts in this chapter were checked against these official sources.

  1. GATE 2026 syllabus ME, Section 1 Engineering Mathematics
  2. GATE 2026 syllabus EE, Section 1 Engineering Mathematics
  3. NPTEL Engineering Mathematics - I (IIT Kharagpur, 111105121)