McGill University · MATH 264

McGill MATH 264 tutoring

Advanced Calculus for Engineers: one-to-one online tutoring and exam preparation.

Listed course

Course overview

MATH 264 develops calculus of vector fields and an introduction to partial differential equations. The vector-calculus example below checks geometry and orientation before using Stokes; the heat-equation example checks a proposed solution against the PDE, boundary values and initial profile. Send your chapter or a question, even if you haven’t started it, so we can confirm support before booking.

Open only to students in the Faculty of Engineering.

MATH 264 topics to review

Multiple-integral reviewVector-field derivatives and integralsGauss, Green and Stokes theoremsPartial differential equations and separation of variablesSturm–Liouville problems and Fourier series

Common difficulties

  • Matching the theorem to the geometric object
  • Keeping boundary and surface orientations compatible
  • Checking regularity and boundary conditions

Match the boundary direction to the surface normal

All quantities are dimensionless. Let SS be the disk x2+y2≤4x^2+y^2\le4 in the plane z=1z=1, with upward unit normal n=(0,0,1)\mathbf n=(0,0,1). Its boundary is the circle CC. For F=(−y,x,0)\mathbf F=(-y,x,0), use Stokes’ theorem to find ∮CF⋅dr\oint_C\mathbf F\cdot d\mathbf r. Which direction around CC is compatible with the given normal?

Disk boundary seen from aboveViewed from positive z, the circle is counterclockwise. The arrow at the rightmost point points up the page. The upward normal points toward the viewer.+zCview from +z
Viewed from above, the upward normal corresponds to counterclockwise circulation.
Hint: use the right-hand rule before the curl

Point the right thumb upward. The curled fingers give the positive boundary direction, counterclockwise as viewed from positive zz. Stokes requires an oriented smooth or piecewise-smooth surface, its compatible boundary direction and a continuously differentiable field on an open neighbourhood of the surface.

Check the geometry, then integrate

The disk is smooth with a smooth circular boundary; the polynomial field is continuously differentiable everywhere. Its curl is ∇×F=(0,0,2)\nabla\times\mathbf F=(0,0,2). Therefore

∮CF⋅dr=∬S(∇×F)⋅n dS=2π(2)2=8π.\oint_C\mathbf F\cdot d\mathbf r=\iint_S(\nabla\times\mathbf F)\cdot\mathbf n\,dS=2\pi(2)^2=8\pi.

A direct boundary check uses r(t)=(2cos⁡t,2sin⁡t,1)\mathbf r(t)=(2\cos t,2\sin t,1), 0≤t≤2π0\le t\le2\pi. Then r′=(−2sin⁡t,2cos⁡t,0)\mathbf r'=(-2\sin t,2\cos t,0) and F(r(t))⋅r′(t)=4\mathbf F(\mathbf r(t))\cdot\mathbf r'(t)=4, again giving 8π8\pi.

The disk is not a closed surface, so applying the divergence theorem to it would not calculate this circulation. Stokes relates circulation to curl flux, not to flux of F\mathbf F itself.

Retry: the boundary runs clockwise

Keep the disk and field, but reverse CC to run clockwise when viewed from above. Predict the new circulation. Which surface normal must accompany this boundary if you use Stokes?

Check the reversed orientation

The compatible normal is now (0,0,−1)(0,0,-1), and the circulation is −8π-8\pi. A direct check with rrev(t)=(2cos⁡t,−2sin⁡t,1)\mathbf r_{\rm rev}(t)=(2\cos t,-2\sin t,1) gives dot product −4-4. Reversing only the boundary while retaining the upward normal would pair incompatible orientations.

For parameterization and sign repair, use the existing line-integral setup lesson. The PDE and Fourier-series parts of MATH 264 remain separate topics in your outline.

A PDE solution must satisfy its conditions too

This original example uses a dimensionless one-dimensional heat equation. Let xx be position, tt time and u(x,t)u(x,t) a scalar field. All three are dimensionless here. Subscripts denote partial derivatives: ut=∂u/∂tu_t=\partial u/\partial t and uxx=∂2u/∂x2u_{xx}=\partial^2u/\partial x^2. Test

u(x,t)=e−tsin⁡xu(x,t)=e^{-t}\sin x

against the complete problem:

ut=uxx(0<x<π, t>0),u(0,t)=u(π,t)=0(t≥0),u(x,0)=sin⁡x(0≤x≤π).\begin{gathered}u_t=u_{xx}\\(0<x<\pi,\ t>0),\\u(0,t)=u(\pi,t)=0\\(t\ge0),\\u(x,0)=\sin x\\(0\le x\le\pi).\end{gathered}

Check three requirements separately: the differential equation in the interior, both boundary values, and the entire initial profile. Checking one point cannot establish any of these identities. The proposed function is smooth and extends continuously to the stated boundaries and initial time.

Hint: keep the other variable fixed

When differentiating in tt, treat sin⁡x\sin x as constant. For uxxu_{xx}, differentiate twice in xx. Then substitute the boundary positions and the initial time independently.

Check the equation, boundaries and initial data

The derivatives are

ut=−e−tsin⁡x,ux=e−tcos⁡x,uxx=−e−tsin⁡x.\begin{aligned}u_t&=-e^{-t}\sin x,\\u_x&=e^{-t}\cos x,\\u_{xx}&=-e^{-t}\sin x.\end{aligned}

Thus ut=uxxu_t=u_{xx} at every interior point. Since sin⁡0=sin⁡π=0\sin0=\sin\pi=0, both boundary values are zero for all t≥0t\ge0. Finally, e0=1e^0=1, so u(x,0)=sin⁡xu(x,0)=\sin x across the whole interval. The initial profile also agrees with the zero endpoint data at x=0,πx=0,\pi.

Graph of e to the power minus t times sin x between x=0 and x=pi. Three curves at t=0, ln 2 and ln 4 have peak heights 1, one half and one quarter at x=pi/2. Every curve is zero at both endpoints. The horizontal axis is position and the vertical axis is the scalar field.
The t=0t=0 curve gives the initial profile. Both endpoints remain zero, while the amplitude decreases. This picture illustrates the boundary and initial-data checks; the derivative calculation establishes the PDE.

Now test v(x,t)=2e−tsin⁡xv(x,t)=2e^{-t}\sin x. It satisfies the same PDE and both boundary conditions, but v(x,0)=2sin⁡xv(x,0)=2\sin x fails the specified initial profile; for example, it gives 22 rather than 11 at x=π/2x=\pi/2. A solution of the differential equation alone is not necessarily a solution of the full initial-boundary-value problem.

The sine profile keeps its zeros and its shape while its amplitude decays. This is a verification of a proposed solution, not yet a derivation of how to find it.

Three checks with changed data

These original questions cover one heat-equation model. They do not cover all MATH 264 PDEs or establish your section’s exam scope. Follow your current outline and assignment conditions.

1. Change the spatial frequency

Keep 0<x<π0<x<\pi, the PDE ut=uxxu_t=u_{xx}, and zero boundary values. Replace the initial profile by sin⁡(2x)\sin(2x). Which candidate solves the full problem: e−tsin⁡(2x)e^{-t}\sin(2x) or e−4tsin⁡(2x)e^{-4t}\sin(2x)? Show all three checks.

Hint for question 1

Each differentiation of the sine or cosine in xx contributes a chain-rule factor of 22.

Check question 1

For u=e−4tsin⁡(2x)u=e^{-4t}\sin(2x), both utu_t and uxxu_{xx} equal −4e−4tsin⁡(2x)-4e^{-4t}\sin(2x). The endpoint sines vanish, and the time factor is 11 at t=0t=0. The first candidate matches the boundaries and initial data, but its PDE residual is ut−uxx=3e−tsin⁡(2x)u_t-u_{xx}=3e^{-t}\sin(2x), which is not identically zero. It does not pass merely because that residual vanishes at some positions.

2. Change the interval

Now use 0<x<2π0<x<2\pi, zero values at x=0,2πx=0,2\pi, and initial profile sin⁡(x/2)\sin(x/2), still with ut=uxxu_t=u_{xx}. Find a real constant λ\lambda so that u=e−λtsin⁡(x/2)u=e^{-\lambda t}\sin(x/2) solves the full problem.

Hint for question 2

The boundary at the right end moved. Check it with the new sine, then compare the two derivatives.

Check question 2

Two spatial derivatives give uxx=−14e−λtsin⁡(x/2)u_{xx}=-\tfrac14e^{-\lambda t}\sin(x/2); the time derivative gives ut=−λe−λtsin⁡(x/2)u_t=-\lambda e^{-\lambda t}\sin(x/2). Their equality requires λ=1/4\lambda=1/4. The endpoint values are zero because sin⁡0=sin⁡π=0\sin0=\sin\pi=0, and at t=0t=0 the required profile remains. Changing the interval can change the admissible spatial frequency and decay rate. Reusing e−te^{-t} automatically would fail the PDE.

3. Combine two modes

Return to 0<x<π0<x<\pi, zero boundary values and ut=uxxu_t=u_{xx}. The initial profile is now sin⁡x−2sin⁡(3x)\sin x-2\sin(3x). Test the candidate u=e−tsin⁡x−2e−9tsin⁡(3x)\begin{aligned}u&=e^{-t}\sin x\\&\quad-2e^{-9t}\sin(3x)\end{aligned}. Would using a common factor e−te^{-t} on the entire initial profile work?

Hint for question 3

The PDE and zero boundary conditions are linear. Check each sine mode with its own time factor, then add the results. Linearity does not make their decay rates equal.

Check question 3, then retry

Both utu_t and uxxu_{xx} equal −e−tsin⁡x+18e−9tsin⁡(3x)\begin{aligned}&-e^{-t}\sin x\\&\quad+18e^{-9t}\sin(3x)\end{aligned}. Both sine terms vanish at x=0,πx=0,\pi; setting t=0t=0 gives the stated initial profile. The shared-factor candidate w=e−t[sin⁡x−2sin⁡(3x)]\begin{aligned}w&=e^{-t}[\sin x\\&\qquad-2\sin(3x)]\end{aligned} has wt−wxx=−16e−tsin⁡(3x)\begin{aligned}w_t-w_{xx}&=-16e^{-t}\sin(3x)\end{aligned}, so it fails the PDE.

Independent retry: for initial profile 3sin⁡(2x)+sin⁡(4x)3\sin(2x)+\sin(4x) on the same interval, write and check a two-mode solution before opening the next answer.

Check the independent two-mode retry

Use u=3e−4tsin⁡(2x)+e−16tsin⁡(4x)\begin{aligned}u&=3e^{-4t}\sin(2x)\\&\quad+e^{-16t}\sin(4x)\end{aligned}. Both derivatives equal −12e−4tsin⁡(2x)−16e−16tsin⁡(4x)\begin{aligned}&-12e^{-4t}\sin(2x)\\&\quad-16e^{-16t}\sin(4x)\end{aligned}. The endpoint values vanish and at t=0t=0 the desired initial profile is recovered. These are finite sums of smooth functions, so no interchange of an infinite sum and a derivative is needed.

If a check fails, return to the three separate requirements and identify the first failed identity. For vector-calculus questions, keep using the Stokes orientation example; its geometric conditions are different from a heat equation’s initial and boundary data.

How tutoring can help

Bring a vector-calculus question, even if you haven’t started it. Your tutor can help identify the surface, its boundary and the direction arrows. Your tutor can check the right-hand rule, the field’s domain and the theorem’s conditions before any integration. Verify the result directly on a simple boundary, then reverse the orientation and explain the sign change. For a PDE question, share the problem statement so we can confirm support for that chapter. Your tutor can help you identify the domain and conditions and begin the derivative checks.

Exam preparation for MATH 264

For vector-calculus questions on your exam list, choose the theorem only after checking geometry, orientation and its hypotheses. Redo the reversed-boundary question and explain the sign. For assigned partial differential equation problems, verify a proposed solution in the differential equation and the stated initial or boundary conditions. Use the heat-equation retries above to check the PDE, boundary conditions and initial conditions separately. They cover a selected model, not all of the course or an official exam.

Use your section’s outline to choose the chapters to review. We work through permitted practice and comparable problems, without completing graded assignments or exams on your behalf.

Need help with MATH 264?

Send your topic and preferred times. We’ll confirm whether we can help and, if so, agree on a time by text or email before payment.

Request MATH 264 tutoring

Nablio is an independent service and is not affiliated with this institution.

MATH 264 · official course referenceMATH 264 · official offering information