1. Home
  2. Explore
  3. Mathematics
  4. Introductory Calculus Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introductory Calculus Overview

Introductory Calculus: Course Overview and Differential Equations

Course Practical Information

  • 16 lectures in total, twice a week (Mondays and Wednesdays at 10am)

  • Lecture notes online, originally written by Cath Wilkins, used as the course reference

  • 8 problem sheets, with the first two available immediately; these are covered in 4 tutorials (one hour each) at the student's college

  • Recommended textbook: Mathematical Methods in Physical Sciences by Mary Boas — concise with physics/engineering examples, and described as a lightweight physical book


Syllabus Overview

The course is divided into three main parts:

  • Differential Equations (approximately 7–8 lectures): Both ordinary differential equations (ODEs) and partial differential equations (PDEs). Focus on relatively simple examples, learning techniques that combine science (educated guesses) and art.

  • Line and Double Integrals (approximately 3 lectures): Used to compute arc lengths of curves, areas of planar regions, and surfaces.

  • Calculus of Functions in Two Variables (remaining lectures): Introduction to multivariable calculus, including surfaces, gradient/normal vectors, Taylor's theorem in two variables, critical points, and Lagrange multipliers for optimization.

Interconnections with other courses: This course lays groundwork for multivariable calculus, dynamics, PDEs (next term: Fourier series), and Analysis II. Rigorous proofs are deferred to Analysis, but the techniques are applied immediately.


What is a Differential Equation?

A differential equation involves an independent variable (say xxx), a dependent variable y(x)y(x)y(x), and derivatives of yyy with respect to xxx (e.g., dydx\frac{dy}{dx}dxdy​, d2ydx2\frac{d^2y}{dx^2}dx2d2y​, etc.). The order of the equation is the highest derivative that appears.

  • Simplest ODE: dydx=f(x)\frac{dy}{dx} = f(x)dxdy​=f(x) — solved by direct integration: y=∫f(x) dx+Cy = \int f(x) \, dx + Cy=∫f(x)dx+C.

  • More interesting cases include equations where the derivative depends on both xxx and yyy, as will be studied.


Examples from Physical Sciences

Mechanics: Newton's Second Law

F=maF = maF=ma, where acceleration aaa is the derivative of velocity vvv with respect to time ttt. Since v=drdtv = \frac{dr}{dt}v=dtdr​ (displacement rrr), we get a=d2rdt2a = \frac{d^2r}{dt^2}a=dt2d2r​, a second-order ODE.

Electrical Circuits: RLC Circuit

A series circuit with a resistor (RRR), inductor (LLL), capacitor (CCC), and voltage source V(t)V(t)V(t). Kirchhoff's law states total voltage around the loop is zero:

V(t)=VR+VL+VCV(t) = V_R + V_L + V_CV(t)=VR​+VL​+VC​
  • Voltage across resistor (Ohm's law): VR=RI(t)V_R = R I(t)VR​=RI(t)

  • Voltage across capacitor: VC=1CQ(t)V_C = \frac{1}{C} Q(t)VC​=C1​Q(t) (where QQQ is charge)

  • Voltage across inductor (Faraday's law): VL=LdIdtV_L = L \frac{dI}{dt}VL​=LdtdI​

Since I=dQdtI = \frac{dQ}{dt}I=dtdQ​, substituting gives a second-order linear ODE with constant coefficients:

Ld2Qdt2+RdQdt+1CQ=V(t)L \frac{d^2Q}{dt^2} + R \frac{dQ}{dt} + \frac{1}{C} Q = V(t)Ldt2d2Q​+RdtdQ​+C1​Q=V(t)

This equation is inhomogeneous (right-hand side not zero) and second-order (highest derivative is second).

Exercise: Radioactive Decay

"The rate at which a radioactive substance decays is proportional to the remaining number of atoms."
Write a differential equation describing this situation. (Answer: dNdt=−kN\frac{dN}{dt} = -k NdtdN​=−kN, where NNN is the number of atoms and k>0k > 0k>0 is the decay constant.)


Integration Review

Since the simplest ODEs are solved by integration, a review of integration by parts is essential. This technique comes from the product rule for differentiation:

(fg)′=f′g+fg′⇒fg′=(fg)′−f′g(fg)' = f'g + fg' \quad \Rightarrow \quad fg' = (fg)' - f'g(fg)′=f′g+fg′⇒fg′=(fg)′−f′g

Integrating both sides gives the integration by parts formula (indefinite version):

∫f(x)g′(x) dx=f(x)g(x)−∫f′(x)g(x) dx\int f(x) g'(x) \, dx = f(x) g(x) - \int f'(x) g(x) \, dx∫f(x)g′(x)dx=f(x)g(x)−∫f′(x)g(x)dx

A definite integral version with limits aaa to bbb also holds:

∫abf(x)g′(x) dx=[f(x)g(x)]ab−∫abf′(x)g(x) dx\int_a^b f(x) g'(x) \, dx = \left[ f(x) g(x) \right]_a^b - \int_a^b f'(x) g(x) \, dx∫ab​f(x)g′(x)dx=[f(x)g(x)]ab​−∫ab​f′(x)g(x)dx

Example 1: ∫x2sin⁡x dx\int x^2 \sin x \, dx∫x2sinxdx

Choose f=x2f = x^2f=x2 (to reduce the power upon differentiation) and g′=sin⁡xg' = \sin xg′=sinx (so g=−cos⁡xg = -\cos xg=−cosx).

Step 1: I=−x2cos⁡x−∫2x(−cos⁡x) dx=−x2cos⁡x+2∫xcos⁡x dxI = -x^2 \cos x - \int 2x (-\cos x) \, dx = -x^2 \cos x + 2 \int x \cos x \, dxI=−x2cosx−∫2x(−cosx)dx=−x2cosx+2∫xcosxdx

Now ∫xcos⁡x dx\int x \cos x \, dx∫xcosxdx requires another integration by parts: f=xf = xf=x, g′=cos⁡xg' = \cos xg′=cosx → g=sin⁡xg = \sin xg=sinx.

Step 2: 2(xsin⁡x−∫sin⁡x dx)=2xsin⁡x+2cos⁡x+C2 \left( x \sin x - \int \sin x \, dx \right) = 2x \sin x + 2 \cos x + C2(xsinx−∫sinxdx)=2xsinx+2cosx+C

Thus:

∫x2sin⁡x dx=−x2cos⁡x+2xsin⁡x+2cos⁡x+C\int x^2 \sin x \, dx = -x^2 \cos x + 2x \sin x + 2 \cos x + C∫x2sinxdx=−x2cosx+2xsinx+2cosx+C

Example 2: ∫(2x−1)ln⁡(x2+1) dx\int (2x - 1) \ln(x^2 + 1) \, dx∫(2x−1)ln(x2+1)dx

Choose f=ln⁡(x2+1)f = \ln(x^2+1)f=ln(x2+1) (to eliminate the logarithm by differentiation) and g′=2x−1g' = 2x - 1g′=2x−1 → g=x2−xg = x^2 - xg=x2−x.

Step 1: I=(x2−x)ln⁡(x2+1)−∫(x2−x)⋅2xx2+1 dxI = (x^2 - x) \ln(x^2+1) - \int (x^2 - x) \cdot \frac{2x}{x^2+1} \, dxI=(x2−x)ln(x2+1)−∫(x2−x)⋅x2+12x​dx

Compute the remaining integral: J=∫2x3−2x2x2+1 dxJ = \int \frac{2x^3 - 2x^2}{x^2+1} \, dxJ=∫x2+12x3−2x2​dx. Use long division:

2x3−2x2x2+1=2x−2+−2x+2x2+1\frac{2x^3 - 2x^2}{x^2+1} = 2x - 2 + \frac{-2x + 2}{x^2+1}x2+12x3−2x2​=2x−2+x2+1−2x+2​

So:

J=∫(2x−2) dx+∫−2x+2x2+1 dx=x2−2x+∫−2xx2+1 dx+∫2x2+1 dxJ = \int (2x - 2) \, dx + \int \frac{-2x + 2}{x^2+1} \, dx = x^2 - 2x + \int \frac{-2x}{x^2+1} \, dx + \int \frac{2}{x^2+1} \, dxJ=∫(2x−2)dx+∫x2+1−2x+2​dx=x2−2x+∫x2+1−2x​dx+∫x2+12​dx
  • ∫−2xx2+1 dx=−ln⁡(x2+1)\int \frac{-2x}{x^2+1} \, dx = -\ln(x^2+1)∫x2+1−2x​dx=−ln(x2+1) (using substitution u=x2+1u = x^2+1u=x2+1)

  • ∫2x2+1 dx=2arctan⁡x\int \frac{2}{x^2+1} \, dx = 2 \arctan x∫x2+12​dx=2arctanx

Thus J=x2−2x−ln⁡(x2+1)+2arctan⁡x+C1J = x^2 - 2x - \ln(x^2+1) + 2 \arctan x + C_1J=x2−2x−ln(x2+1)+2arctanx+C1​.

Finally:

I=(x2−x)ln⁡(x2+1)−(x2−2x−ln⁡(x2+1)+2arctan⁡x)+CI = (x^2 - x) \ln(x^2+1) - (x^2 - 2x - \ln(x^2+1) + 2 \arctan x) + CI=(x2−x)ln(x2+1)−(x2−2x−ln(x2+1)+2arctanx)+C

Simplify:

I=(x2−x)ln⁡(x2+1)−x2+2x+ln⁡(x2+1)−2arctan⁡x+CI = (x^2 - x) \ln(x^2+1) - x^2 + 2x + \ln(x^2+1) - 2 \arctan x + CI=(x2−x)ln(x2+1)−x2+2x+ln(x2+1)−2arctanx+C

Example 3: ∫exsin⁡x dx\int e^x \sin x \, dx∫exsinxdx (Repeating Integration by Parts)

This integral returns to itself after two applications. Choose f=exf = e^xf=ex, g′=sin⁡xg' = \sin xg′=sinx (or the reverse; both work).

Step 1: I=−excos⁡x−∫ex(−cos⁡x) dx=−excos⁡x+∫excos⁡x dxI = -e^x \cos x - \int e^x (-\cos x) \, dx = -e^x \cos x + \int e^x \cos x \, dxI=−excosx−∫ex(−cosx)dx=−excosx+∫excosxdx

Now apply integration by parts to ∫excos⁡x dx\int e^x \cos x \, dx∫excosxdx, again taking f=exf = e^xf=ex, g′=cos⁡xg' = \cos xg′=cosx → g=sin⁡xg = \sin xg=sinx:

Step 2: ∫excos⁡x dx=exsin⁡x−∫exsin⁡x dx=exsin⁡x−I\int e^x \cos x \, dx = e^x \sin x - \int e^x \sin x \, dx = e^x \sin x - I∫excosxdx=exsinx−∫exsinxdx=exsinx−I

Substitute back:

I=−excos⁡x+exsin⁡x−I⇒2I=ex(sin⁡x−cos⁡x)I = -e^x \cos x + e^x \sin x - I \quad \Rightarrow \quad 2I = e^x (\sin x - \cos x)I=−excosx+exsinx−I⇒2I=ex(sinx−cosx)

Thus:

∫exsin⁡x dx=12ex(sin⁡x−cos⁡x)+C\int e^x \sin x \, dx = \frac{1}{2} e^x (\sin x - \cos x) + C∫exsinxdx=21​ex(sinx−cosx)+C

Example 4: ∫cos⁡nx dx\int \cos^n x \, dx∫cosnxdx (Recursive / Reduction Formula)

Let In=∫cos⁡nx dxI_n = \int \cos^n x \, dxIn​=∫cosnxdx. Write cos⁡nx=cos⁡n−1x⋅cos⁡x\cos^n x = \cos^{n-1} x \cdot \cos xcosnx=cosn−1x⋅cosx, then integrate by parts with f=cos⁡n−1xf = \cos^{n-1} xf=cosn−1x, g′=cos⁡xg' = \cos xg′=cosx → g=sin⁡xg = \sin xg=sinx.

Step 1: In=cos⁡n−1xsin⁡x−∫(n−1)cos⁡n−2x(−sin⁡x)sin⁡x dxI_n = \cos^{n-1} x \sin x - \int (n-1) \cos^{n-2} x (-\sin x) \sin x \, dxIn​=cosn−1xsinx−∫(n−1)cosn−2x(−sinx)sinxdx

Simplify:

In=cos⁡n−1xsin⁡x+(n−1)∫cos⁡n−2xsin⁡2x dxI_n = \cos^{n-1} x \sin x + (n-1) \int \cos^{n-2} x \sin^2 x \, dxIn​=cosn−1xsinx+(n−1)∫cosn−2xsin2xdx

Replace sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 xsin2x=1−cos2x:

In=cos⁡n−1xsin⁡x+(n−1)∫cos⁡n−2x dx−(n−1)∫cos⁡nx dxI_n = \cos^{n-1} x \sin x + (n-1) \int \cos^{n-2} x \, dx - (n-1) \int \cos^n x \, dxIn​=cosn−1xsinx+(n−1)∫cosn−2xdx−(n−1)∫cosnxdx

Notice ∫cos⁡n−2x dx=In−2\int \cos^{n-2} x \, dx = I_{n-2}∫cosn−2xdx=In−2​ and ∫cos⁡nx dx=In\int \cos^n x \, dx = I_n∫cosnxdx=In​. So:

In=cos⁡n−1xsin⁡x+(n−1)In−2−(n−1)InI_n = \cos^{n-1} x \sin x + (n-1) I_{n-2} - (n-1) I_nIn​=cosn−1xsinx+(n−1)In−2​−(n−1)In​

Bring −(n−1)In-(n-1)I_n−(n−1)In​ to the left:

In+(n−1)In=cos⁡n−1xsin⁡x+(n−1)In−2I_n + (n-1)I_n = \cos^{n-1} x \sin x + (n-1) I_{n-2}In​+(n−1)In​=cosn−1xsinx+(n−1)In−2​
nIn=cos⁡n−1xsin⁡x+(n−1)In−2n I_n = \cos^{n-1} x \sin x + (n-1) I_{n-2}nIn​=cosn−1xsinx+(n−1)In−2​

Thus the reduction formula for n≥2n \ge 2n≥2:

In=1ncos⁡n−1xsin⁡x+n−1nIn−2I_n = \frac{1}{n} \cos^{n-1} x \sin x + \frac{n-1}{n} I_{n-2}In​=n1​cosn−1xsinx+nn−1​In−2​

Base cases:
I0=∫1 dx=x+CI_0 = \int 1 \, dx = x + CI0​=∫1dx=x+C
I1=∫cos⁡x dx=sin⁡x+CI_1 = \int \cos x \, dx = \sin x + CI1​=∫cosxdx=sinx+C

Using this, any InI_nIn​ can be computed recursively. For example, I6I_6I6​:

  • I6=16cos⁡5xsin⁡x+56I4I_6 = \frac{1}{6} \cos^5 x \sin x + \frac{5}{6} I_4I6​=61​cos5xsinx+65​I4​

  • I4=14cos⁡3xsin⁡x+34I2I_4 = \frac{1}{4} \cos^3 x \sin x + \frac{3}{4} I_2I4​=41​cos3xsinx+43​I2​

  • I2=12cos⁡xsin⁡x+12I0=12cos⁡xsin⁡x+12xI_2 = \frac{1}{2} \cos x \sin x + \frac{1}{2} I_0 = \frac{1}{2} \cos x \sin x + \frac{1}{2} xI2​=21​cosxsinx+21​I0​=21​cosxsinx+21​x

Substitute upward:

I6=16cos⁡5xsin⁡x+524cos⁡3xsin⁡x+5⋅36⋅4⋅2cos⁡xsin⁡x+5⋅36⋅4⋅2x+CI_6 = \frac{1}{6} \cos^5 x \sin x + \frac{5}{24} \cos^3 x \sin x + \frac{5 \cdot 3}{6 \cdot 4 \cdot 2} \cos x \sin x + \frac{5 \cdot 3}{6 \cdot 4 \cdot 2} x + CI6​=61​cos5xsinx+245​cos3xsinx+6⋅4⋅25⋅3​cosxsinx+6⋅4⋅25⋅3​x+C

Simplified: coefficients 16\frac{1}{6}61​, 524\frac{5}{24}245​, 1548\frac{15}{48}4815​ (which is 516\frac{5}{16}165​), and 1548x=516x\frac{15}{48}x = \frac{5}{16}x4815​x=165​x.


Separable Differential Equations

The next simplest class after direct integration is separable equations, which can be written in the form:

dydx=a(x) b(y)\frac{dy}{dx} = a(x) \, b(y)dxdy​=a(x)b(y)

where a(x)a(x)a(x) depends only on xxx and b(y)b(y)b(y) only on yyy. If b(y)≠0b(y) \neq 0b(y)=0, divide both sides by b(y)b(y)b(y) and integrate:

1b(y)dydx=a(x)⇒∫dyb(y)=∫a(x) dx\frac{1}{b(y)} \frac{dy}{dx} = a(x) \quad \Rightarrow \quad \int \frac{dy}{b(y)} = \int a(x) \, dxb(y)1​dxdy​=a(x)⇒∫b(y)dy​=∫a(x)dx

This reduces the problem to two direct integrations.

Caution: When dividing by b(y)b(y)b(y), we assume b(y)≠0b(y) \neq 0b(y)=0. Solutions where b(y)=0b(y)=0b(y)=0 (constant solutions) may be lost; they must be checked separately and often included by allowing the integration constant to be zero.

Example: Separable ODE

Find the general solution (for xxx between 0 and 1) of:

x(y2−1)+y(x2−1)dydx=0x (y^2 - 1) + y (x^2 - 1) \frac{dy}{dx} = 0x(y2−1)+y(x2−1)dxdy​=0

Step 1: Isolate dydx\frac{dy}{dx}dxdy​:

y(x2−1)dydx=−x(y2−1)y (x^2 - 1) \frac{dy}{dx} = -x (y^2 - 1)y(x2−1)dxdy​=−x(y2−1)

Step 2: Separate variables (divide by y(y2−1)y(y^2-1)y(y2−1) and xxx appropriately):

yy2−1dydx=−xx2−1\frac{y}{y^2 - 1} \frac{dy}{dx} = -\frac{x}{x^2 - 1}y2−1y​dxdy​=−x2−1x​

Step 3: Integrate both sides with respect to xxx:

∫yy2−1 dy=−∫xx2−1 dx\int \frac{y}{y^2-1} \, dy = -\int \frac{x}{x^2-1} \, dx∫y2−1y​dy=−∫x2−1x​dx

Each integral is a logarithm: 12ln⁡∣y2−1∣=−12ln⁡∣x2−1∣+C\frac{1}{2} \ln|y^2-1| = -\frac{1}{2} \ln|x^2-1| + C21​ln∣y2−1∣=−21​ln∣x2−1∣+C (using substitution or known derivative). For x∈(0,1)x\in(0,1)x∈(0,1), x2−1<0x^2-1<0x2−1<0, so it's neater to write 1−x21-x^21−x2:

∫yy2−1 dy=12ln⁡∣y2−1∣,−∫xx2−1 dx=−12ln⁡(1−x2)+C\int \frac{y}{y^2-1} \, dy = \frac{1}{2} \ln|y^2-1|, \quad -\int \frac{x}{x^2-1} \, dx = -\frac{1}{2} \ln(1-x^2) + C∫y2−1y​dy=21​ln∣y2−1∣,−∫x2−1x​dx=−21​ln(1−x2)+C

Step 4: Combine logarithms:

12ln⁡∣y2−1∣+12ln⁡(1−x2)=C⇒ln⁡(∣y2−1∣(1−x2))=2C\frac{1}{2} \ln|y^2-1| + \frac{1}{2} \ln(1-x^2) = C \quad \Rightarrow \quad \ln\left( |y^2-1| (1-x^2) \right) = 2C21​ln∣y2−1∣+21​ln(1−x2)=C⇒ln(∣y2−1∣(1−x2))=2C

Exponentiate:

∣y2−1∣(1−x2)=e2C(a positive constant)|y^2-1| (1-x^2) = e^{2C} \quad (\text{a positive constant})∣y2−1∣(1−x2)=e2C(a positive constant)

Let K=e2C>0K = e^{2C} > 0K=e2C>0. Since 1−x2>01-x^2 > 01−x2>0, we can drop the absolute value on the product, but ∣y2−1∣|y^2-1|∣y2−1∣ remains. For simplicity and to include negative constant solutions, rewrite as:

$(y^2-1)(1-x^2) = C \quad \text{(allowingC$ any real constant, including zero)} $$

Check lost solutions: When y2−1=0y^2-1 = 0y2−1=0 (i.e., y=±1y = \pm 1y=±1), dividing by y2−1y^2-1y2−1 was invalid. These constant functions satisfy the original ODE because dydx=0\frac{dy}{dx}=0dxdy​=0 and the equation becomes x(1−1)+(±1)(x2−1)⋅0=0x(1-1) + (\pm 1)(x^2-1)\cdot 0 = 0x(1−1)+(±1)(x2−1)⋅0=0. They correspond to C=0C = 0C=0 in the final implicit equation. Therefore the general solution is:

(1−y2)(1−x2)=C,C∈R(1 - y^2)(1 - x^2) = C, \quad C \in \mathbb{R}(1−y2)(1−x2)=C,C∈R

(where the sign is absorbed into CCC) together with the constant solutions y=±1y = \pm 1y=±1 already included when C=0C = 0C=0.

Key takeaway: Always verify if division by a function of yyy discards any constant solutions; include them later by allowing the constant to be zero or by explicit consideration.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent