Browse papers
A

Section A: Long Answer Questions

Attempt all / any as specified.

4 questions
1long12 marks

(a) If u=f(x,y)u = f(x,y) where x=rcosθx = r\cos\theta and y=rsinθy = r\sin\theta, prove that

(ux)2+(uy)2=(ur)2+1r2(uθ)2.\left(\frac{\partial u}{\partial x}\right)^2 + \left(\frac{\partial u}{\partial y}\right)^2 = \left(\frac{\partial u}{\partial r}\right)^2 + \frac{1}{r^2}\left(\frac{\partial u}{\partial \theta}\right)^2.

(b) State Euler's theorem on homogeneous functions and use it to verify the theorem for u=tan1 ⁣(x3+y3xy)u = \tan^{-1}\!\left(\dfrac{x^3 + y^3}{x - y}\right), hence evaluate xux+yuyx\dfrac{\partial u}{\partial x} + y\dfrac{\partial u}{\partial y}.

(c) Examine the function f(x,y)=x3+y33axyf(x,y) = x^3 + y^3 - 3axy for maxima, minima and saddle points.

(a) Polar transformation of the gradient

With x=rcosθx = r\cos\theta, y=rsinθy = r\sin\theta we have r2=x2+y2r^2 = x^2+y^2 and θ=tan1(y/x)\theta = \tan^{-1}(y/x). Treating uu as a function of (r,θ)(r,\theta) via (x,y)(x,y):

ur=uxxr+uyyr=uxcosθ+uysinθ,\frac{\partial u}{\partial r} = u_x\frac{\partial x}{\partial r} + u_y\frac{\partial y}{\partial r} = u_x\cos\theta + u_y\sin\theta, uθ=uxxθ+uyyθ=uxrsinθ+uyrcosθ.\frac{\partial u}{\partial \theta} = u_x\frac{\partial x}{\partial \theta} + u_y\frac{\partial y}{\partial \theta} = -u_x\,r\sin\theta + u_y\,r\cos\theta.

Then

(ur)2=ux2cos2θ+2uxuysinθcosθ+uy2sin2θ,\left(\frac{\partial u}{\partial r}\right)^2 = u_x^2\cos^2\theta + 2u_xu_y\sin\theta\cos\theta + u_y^2\sin^2\theta, 1r2(uθ)2=ux2sin2θ2uxuysinθcosθ+uy2cos2θ.\frac{1}{r^2}\left(\frac{\partial u}{\partial \theta}\right)^2 = u_x^2\sin^2\theta - 2u_xu_y\sin\theta\cos\theta + u_y^2\cos^2\theta.

Adding, the cross terms cancel and cos2θ+sin2θ=1\cos^2\theta+\sin^2\theta=1 gives

(ur)2+1r2(uθ)2=ux2+uy2=(ux)2+(uy)2.\left(\frac{\partial u}{\partial r}\right)^2 + \frac{1}{r^2}\left(\frac{\partial u}{\partial \theta}\right)^2 = u_x^2 + u_y^2 = \left(\frac{\partial u}{\partial x}\right)^2 + \left(\frac{\partial u}{\partial y}\right)^2. \qquad\blacksquare

(b) Euler's theorem

Statement. If z=f(x,y)z=f(x,y) is homogeneous of degree nn (i.e. f(tx,ty)=tnf(x,y)f(tx,ty)=t^n f(x,y)), then

xzx+yzy=nz.x\frac{\partial z}{\partial x} + y\frac{\partial z}{\partial y} = n\,z.

Here u=tan1 ⁣(x3+y3xy)u=\tan^{-1}\!\big(\tfrac{x^3+y^3}{x-y}\big) is not homogeneous, but v=tanu=x3+y3xyv=\tan u = \dfrac{x^3+y^3}{x-y} is homogeneous of degree 31=23-1 = 2. Applying Euler's theorem to vv:

xvx+yvy=2v.x v_x + y v_y = 2v.

Since v=tanuv=\tan u, vx=sec2uuxv_x = \sec^2u\,u_x, vy=sec2uuyv_y=\sec^2u\,u_y, so

sec2u(xux+yuy)=2tanu    xux+yuy=2tanusec2u=2sinucosu=sin2u.\sec^2u\,(x u_x + y u_y) = 2\tan u \;\Rightarrow\; x\frac{\partial u}{\partial x} + y\frac{\partial u}{\partial y} = 2\frac{\tan u}{\sec^2u} = 2\sin u\cos u = \sin 2u. xux+yuy=sin2u\boxed{\,x\frac{\partial u}{\partial x} + y\frac{\partial u}{\partial y} = \sin 2u\,}

(c) Extrema of f(x,y)=x3+y33axyf(x,y)=x^3+y^3-3axy

Stationary points: fx=3x23ay=0f_x = 3x^2 - 3ay = 0, fy=3y23ax=0f_y = 3y^2 - 3ax = 0, i.e. x2=ayx^2 = ay, y2=axy^2 = ax. Solving gives (0,0)(0,0) and (a,a)(a,a).

Second derivatives: fxx=6xf_{xx}=6x, fyy=6yf_{yy}=6y, fxy=3af_{xy}=-3a. Discriminant D=fxxfyyfxy2=36xy9a2D = f_{xx}f_{yy} - f_{xy}^2 = 36xy - 9a^2.

  • At (0,0)(0,0): D=9a2<0D = -9a^2 < 0saddle point.
  • At (a,a)(a,a): D=36a29a2=27a2>0D = 36a^2 - 9a^2 = 27a^2 > 0. With fxx=6af_{xx}=6a: if a>0a>0, fxx>0f_{xx}>0minimum; if a<0a<0, fxx<0f_{xx}<0maximum.

For a>0a>0 the minimum value is f(a,a)=a3+a33a3=a3f(a,a) = a^3+a^3-3a^3 = -a^3.

partial-derivativesmultivariable-calculus
2long12 marks

(a) Evaluate the double integral R(x2+y2)dxdy\displaystyle \iint_R (x^2 + y^2)\,dx\,dy over the region RR bounded by the lines y=xy = x, y=0y = 0 and x=ax = a by first sketching the region of integration.

(b) Change the order of integration in 01x22xxydydx\displaystyle \int_{0}^{1}\int_{x^2}^{2-x} xy\,dy\,dx and hence evaluate it.

(c) Using a triple integral, find the volume of the region in the first octant bounded by the plane xa+yb+zc=1\dfrac{x}{a} + \dfrac{y}{b} + \dfrac{z}{c} = 1.

(a) R(x2+y2)dxdy\iint_R (x^2+y^2)\,dx\,dy over y=x,y=0,x=ay=x,\,y=0,\,x=a

The region is the triangle with vertices (0,0),(a,0),(a,a)(0,0),(a,0),(a,a): for 0xa0\le x\le a, yy runs from 00 to xx.

0a0x(x2+y2)dydx=0a[x2y+y33]0xdx=0a(x3+x33)dx=0a43x3dx=43a44=a43.\int_0^a\int_0^x (x^2+y^2)\,dy\,dx = \int_0^a\Big[x^2 y + \tfrac{y^3}{3}\Big]_0^x dx = \int_0^a\Big(x^3 + \tfrac{x^3}{3}\Big)dx = \int_0^a \tfrac{4}{3}x^3\,dx = \frac{4}{3}\cdot\frac{a^4}{4} = \frac{a^4}{3}.

(b) Change of order in 01x22xxydydx\int_0^1\int_{x^2}^{2-x} xy\,dy\,dx

The region is bounded by y=x2y=x^2 (below) and y=2xy=2-x (above), with 0x10\le x\le1. These curves meet at x=1x=1 (y=1y=1). Splitting by yy:

  • For 0y10\le y\le 1: xx from 00 to y\sqrt{y}.
  • For 1y21\le y\le 2: xx from 00 to 2y2-y.
I=010yxydxdy+1202yxydxdy.I = \int_0^1\int_0^{\sqrt y} xy\,dx\,dy + \int_1^2\int_0^{2-y} xy\,dx\,dy.

First: 01yy2dy=1201y2dy=16.\int_0^1 y\cdot\tfrac{y}{2}\,dy = \tfrac12\int_0^1 y^2\,dy = \tfrac16. Second: 12y(2y)22dy=1212(4y4y2+y3)dy=12[2y24y33+y44]12.\int_1^2 y\cdot\tfrac{(2-y)^2}{2}\,dy = \tfrac12\int_1^2 (4y - 4y^2 + y^3)\,dy = \tfrac12\big[2y^2 - \tfrac{4y^3}{3} + \tfrac{y^4}{4}\big]_1^2. At 22: 8323+4=36323=438 - \tfrac{32}{3} + 4 = \tfrac{36-32}{3}=\tfrac{4}{3}. At 11: 243+14=2416+312=11122 - \tfrac43 + \tfrac14 = \tfrac{24-16+3}{12}=\tfrac{11}{12}. Difference =16121112=512=\tfrac{16}{12}-\tfrac{11}{12}=\tfrac{5}{12}, times 12=524\tfrac12 = \tfrac{5}{24}.

I=16+524=424+524=924=38.I = \frac16 + \frac{5}{24} = \frac{4}{24}+\frac{5}{24} = \frac{9}{24} = \frac{3}{8}.

(c) Volume of the tetrahedron xa+yb+zc=1\frac{x}{a}+\frac{y}{b}+\frac{z}{c}=1 in the first octant

V=0a0b(1x/a)0c(1x/ay/b)dzdydx.V = \int_0^a\int_0^{b(1-x/a)}\int_0^{c(1-x/a-y/b)} dz\,dy\,dx.

This evaluates (standard result) to

V=abc6.V = \frac{abc}{6}.
multiple-integralschange-of-order
3long12 marks

(a) State Green's theorem in the plane. Using it, evaluate C(3x28y2)dx+(4y6xy)dy\displaystyle \oint_C (3x^2 - 8y^2)\,dx + (4y - 6xy)\,dy, where CC is the boundary of the region enclosed by y=xy = \sqrt{x} and y=x2y = x^2.

(b) Verify Stokes' theorem for the vector field F=(2xy)i^yz2j^y2zk^\vec{F} = (2x - y)\hat{i} - yz^2\hat{j} - y^2 z\,\hat{k} over the upper half of the surface of the sphere x2+y2+z2=1x^2 + y^2 + z^2 = 1 bounded by its projection on the xyxy-plane.

(a) Green's theorem

Statement. If P,QP,Q have continuous partial derivatives on a region RR bounded by a simple closed positively-oriented curve CC, then

CPdx+Qdy=R(QxPy)dxdy.\oint_C P\,dx + Q\,dy = \iint_R\Big(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\Big)\,dx\,dy.

Here P=3x28y2P = 3x^2 - 8y^2, Q=4y6xyQ = 4y - 6xy, so

Qx=6y,Py=16y,QxPy=10y.\frac{\partial Q}{\partial x} = -6y, \qquad \frac{\partial P}{\partial y} = -16y, \qquad \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 10y.

The curves y=xy=\sqrt x and y=x2y=x^2 meet at (0,0)(0,0) and (1,1)(1,1); for 0x10\le x\le1, x2yxx^2\le y\le\sqrt x.

R10ydydx=0110[y22]x2xdx=015(xx4)dx=5(1215)=5310=32.\iint_R 10y\,dy\,dx = \int_0^1 10\Big[\tfrac{y^2}{2}\Big]_{x^2}^{\sqrt x}dx = \int_0^1 5\,(x - x^4)\,dx = 5\Big(\tfrac12 - \tfrac15\Big) = 5\cdot\tfrac{3}{10} = \frac{3}{2}. CPdx+Qdy=32\boxed{\oint_C P\,dx+Q\,dy = \tfrac32}

(b) Verify Stokes' theorem for F=(2xy)i^yz2j^y2zk^\vec F = (2x-y)\hat i - yz^2\hat j - y^2z\,\hat k

Stokes: S(×F)n^dS=CFdr\displaystyle\iint_S (\nabla\times\vec F)\cdot\hat n\,dS = \oint_C \vec F\cdot d\vec r, with SS the upper hemisphere and CC the unit circle x2+y2=1x^2+y^2=1, z=0z=0.

Curl.

×F=i^j^k^xyz2xyyz2y2z=(2yz+2yz)i^(00)j^+(0+1)k^=k^.\nabla\times\vec F = \begin{vmatrix}\hat i & \hat j & \hat k\\ \partial_x & \partial_y & \partial_z\\ 2x-y & -yz^2 & -y^2z\end{vmatrix} = (-2yz + 2yz)\hat i - (0-0)\hat j + (0+1)\hat k = \hat k.

Surface integral. ×F=k^\nabla\times\vec F=\hat k, so Sk^n^dS\iint_S \hat k\cdot\hat n\,dS equals the area of the projection of SS on the xyxy-plane, i.e. the unit disk, =π=\pi.

Line integral. On CC: x=cost,y=sint,z=0x=\cos t,\,y=\sin t,\,z=0, so F=(2costsint)i^\vec F=(2\cos t-\sin t)\hat i, dr=(sint,cost,0)dtd\vec r=(-\sin t,\cos t,0)\,dt.

CFdr=02π(2costsint)(sint)dt=02π(2sintcost+sin2t)dt=0+π=π.\oint_C\vec F\cdot d\vec r = \int_0^{2\pi}(2\cos t-\sin t)(-\sin t)\,dt = \int_0^{2\pi}(-2\sin t\cos t + \sin^2 t)\,dt = 0 + \pi = \pi.

Both sides equal π\pi, so Stokes' theorem is verified.

line-and-surface-integralsgreens-theoremvector-calculus
4long14 marks

(a) Define the Laplace transform of a function f(t)f(t) and find L{te2tsin3t}\mathcal{L}\{t\,e^{-2t}\sin 3t\} from first principles using the standard shifting and multiplication-by-tt properties.

(b) Using Laplace transforms, solve the initial value problem

d2ydt2+4dydt+3y=et,y(0)=0,  y(0)=1.\frac{d^2 y}{dt^2} + 4\frac{dy}{dt} + 3y = e^{-t}, \qquad y(0) = 0,\; y'(0) = 1.

(c) State the convolution theorem and use it to find the inverse Laplace transform of 1(s2+a2)2\dfrac{1}{(s^2 + a^2)^2}.

(a) Laplace transform and L{te2tsin3t}\mathcal L\{t e^{-2t}\sin 3t\}

Definition. L{f(t)}=F(s)=0estf(t)dt\displaystyle \mathcal L\{f(t)\} = F(s) = \int_0^\infty e^{-st} f(t)\,dt, for ss large enough for convergence.

Start from L{sin3t}=3s2+9\mathcal L\{\sin 3t\} = \dfrac{3}{s^2+9}. By the first shifting theorem L{e2tsin3t}=3(s+2)2+9\mathcal L\{e^{-2t}\sin 3t\} = \dfrac{3}{(s+2)^2+9}. By the multiplication-by-tt property L{tg(t)}=G(s)\mathcal L\{t g(t)\} = -G'(s):

L{te2tsin3t}=dds3(s+2)2+9=32(s+2)[(s+2)2+9]2=6(s+2)[(s+2)2+9]2.\mathcal L\{t e^{-2t}\sin 3t\} = -\frac{d}{ds}\frac{3}{(s+2)^2+9} = \frac{3\cdot 2(s+2)}{\big[(s+2)^2+9\big]^2} = \frac{6(s+2)}{\big[(s+2)^2+9\big]^2}.

(b) IVP y+4y+3y=ety'' + 4y' + 3y = e^{-t}, y(0)=0y(0)=0, y(0)=1y'(0)=1

Let Y=L{y}Y=\mathcal L\{y\}. Taking transforms:

(s2Ys01)+4(sY0)+3Y=1s+1.(s^2Y - s\cdot0 - 1) + 4(sY - 0) + 3Y = \frac{1}{s+1}. (s2+4s+3)Y=1+1s+1=s+2s+1,s2+4s+3=(s+1)(s+3).(s^2+4s+3)Y = 1 + \frac{1}{s+1} = \frac{s+2}{s+1}, \qquad s^2+4s+3=(s+1)(s+3). Y=s+2(s+1)2(s+3).Y = \frac{s+2}{(s+1)^2(s+3)}.

Partial fractions: Y=As+1+B(s+1)2+Cs+3Y = \dfrac{A}{s+1} + \dfrac{B}{(s+1)^2} + \dfrac{C}{s+3}. Solving: B=12B=\tfrac12 (mult. (s+1)2(s+1)^2, s=1s=-1: 12\tfrac{1}{2}), C=3+2(2)2=14C = \dfrac{-3+2}{(-2)^2} = -\tfrac14 (s=3s=-3), and A=14A=\tfrac14. Thus

y(t)=14et+12tet14e3t.y(t) = \tfrac14 e^{-t} + \tfrac12 t e^{-t} - \tfrac14 e^{-3t}.

(c) Convolution theorem and L1{1/(s2+a2)2}\mathcal L^{-1}\{1/(s^2+a^2)^2\}

Convolution theorem. L1{F(s)G(s)}=(fg)(t)=0tf(τ)g(tτ)dτ\mathcal L^{-1}\{F(s)G(s)\} = (f*g)(t) = \int_0^t f(\tau)g(t-\tau)\,d\tau.

Write 1(s2+a2)2=1a2as2+a2as2+a2\dfrac{1}{(s^2+a^2)^2} = \dfrac{1}{a^2}\cdot\dfrac{a}{s^2+a^2}\cdot\dfrac{a}{s^2+a^2}, with L1{a/(s2+a2)}=sinat\mathcal L^{-1}\{a/(s^2+a^2)\}=\sin at.

L1{1(s2+a2)2}=1a20tsinaτsina(tτ)dτ.\mathcal L^{-1}\Big\{\tfrac{1}{(s^2+a^2)^2}\Big\} = \frac{1}{a^2}\int_0^t \sin a\tau\,\sin a(t-\tau)\,d\tau.

Using sinAsinB=12[cos(AB)cos(A+B)]\sin A\sin B = \tfrac12[\cos(A-B)-\cos(A+B)]:

=12a20t[cosa(2τt)cosat]dτ=12a2(sinatatcosat).= \frac{1}{2a^2}\int_0^t\big[\cos a(2\tau-t) - \cos at\big]d\tau = \frac{1}{2a^2}\Big(\frac{\sin at}{a} - t\cos at\Big). L1{1(s2+a2)2}=12a3(sinatatcosat)\boxed{\mathcal L^{-1}\Big\{\tfrac{1}{(s^2+a^2)^2}\Big\} = \frac{1}{2a^3}\big(\sin at - at\cos at\big)}
laplace-transformsdifferential-equations
B

Section B: Short Answer Questions

Attempt all / any as specified.

8 questions
5short7 marks

If u=x+y+zu = x + y + z, uv=y+zuv = y + z and uvw=zuvw = z, find the Jacobian (x,y,z)(u,v,w)\dfrac{\partial(x,y,z)}{\partial(u,v,w)} and state whether the transformation is invertible at the point (u,v,w)=(1,1,1)(u,v,w) = (1, 1, 1).

Solve for x,y,zx,y,z in terms of u,v,wu,v,w:

z=uvw,y=uvz=uvuvw=uv(1w),x=u(y+z)=uuv=u(1v).z = uvw, \quad y = uv - z = uv - uvw = uv(1-w), \quad x = u - (y+z) = u - uv = u(1-v).

Jacobian:

(x,y,z)(u,v,w)=xuxvxwyuyvywzuzvzw=1vu0v(1w)u(1w)uvvwuwuv.\frac{\partial(x,y,z)}{\partial(u,v,w)} = \begin{vmatrix} x_u & x_v & x_w\\ y_u & y_v & y_w\\ z_u & z_v & z_w\end{vmatrix} = \begin{vmatrix} 1-v & -u & 0\\ v(1-w) & u(1-w) & -uv\\ vw & uw & uv\end{vmatrix}.

Expanding (a standard reduction gives a clean form):

J=u2v.J = u^2 v.

At (u,v,w)=(1,1,1)(u,v,w)=(1,1,1): J=(1)2(1)=10J = (1)^2(1) = 1 \ne 0, so the transformation is invertible (locally) at that point by the inverse function theorem.

partial-derivativesjacobians
6short7 marks

For the scalar field ϕ=x2yz+4xz2\phi = x^2 yz + 4xz^2, find ϕ\nabla\phi at the point (1,2,1)(1,-2,-1). Also, for F=xz3i^2x2yzj^+2yz4k^\vec{F} = xz^3\hat{i} - 2x^2 yz\,\hat{j} + 2yz^4\hat{k}, compute F\nabla\cdot\vec{F} and ×F\nabla\times\vec{F} at the same point.

Gradient of ϕ=x2yz+4xz2\phi = x^2yz + 4xz^2

ϕ=(2xyz+4z2)i^+x2zj^+(x2y+8xz)k^.\nabla\phi = (2xyz + 4z^2)\hat i + x^2 z\,\hat j + (x^2 y + 8xz)\hat k.

At (1,2,1)(1,-2,-1): 2(1)(2)(1)+4(1)=8; (1)(1)=1; (1)(2)+8(1)(1)=10.\,2(1)(-2)(-1)+4(1)=8;\ (1)(-1)=-1;\ (1)(-2)+8(1)(-1)=-10.

ϕ=8i^j^10k^.\nabla\phi = 8\hat i - \hat j - 10\hat k.

Divergence and curl of F=xz3i^2x2yzj^+2yz4k^\vec F = xz^3\hat i - 2x^2yz\,\hat j + 2yz^4\hat k

F=x(xz3)+y(2x2yz)+z(2yz4)=z32x2z+8yz3.\nabla\cdot\vec F = \frac{\partial}{\partial x}(xz^3) + \frac{\partial}{\partial y}(-2x^2yz) + \frac{\partial}{\partial z}(2yz^4) = z^3 - 2x^2 z + 8yz^3.

At (1,2,1)(1,-2,-1): (1)32(1)(1)+8(2)(1)3=1+2+16=17.(-1)^3 - 2(1)(-1) + 8(-2)(-1)^3 = -1 + 2 + 16 = 17.

F=17.\nabla\cdot\vec F = 17. ×F=i^j^k^xyzxz32x2yz2yz4=(2z4+2x2y)i^(03xz2)j^+(4xyz0)k^.\nabla\times\vec F = \begin{vmatrix}\hat i & \hat j & \hat k\\ \partial_x & \partial_y & \partial_z\\ xz^3 & -2x^2yz & 2yz^4\end{vmatrix} = (2z^4 + 2x^2 y)\hat i - (0 - 3xz^2)\hat j + (-4xyz - 0)\hat k.

At (1,2,1)(1,-2,-1): i^:2(1)+2(1)(2)=24=2; j^:3(1)(1)=3; k^:4(1)(2)(1)=8.\,\hat i: 2(1)+2(1)(-2)=2-4=-2;\ \hat j: 3(1)(1)=3;\ \hat k: -4(1)(-2)(-1)=-8.

×F=2i^+3j^8k^.\nabla\times\vec F = -2\hat i + 3\hat j - 8\hat k.
vector-calculusgradient-divergence-curl
7short7 marks

Solve the differential equation (x2+y2+x)dx+xydy=0(x^2 + y^2 + x)\,dx + xy\,dy = 0 by identifying a suitable integrating factor, and obtain its general solution.

Given (x2+y2+x)dx+xydy=0(x^2+y^2+x)\,dx + xy\,dy = 0, with M=x2+y2+xM = x^2+y^2+x, N=xyN = xy.

My=2y,Nx=y    MyNxN=2yyxy=1x,M_y = 2y,\quad N_x = y \;\Rightarrow\; \frac{M_y - N_x}{N} = \frac{2y-y}{xy} = \frac{1}{x},

which is a function of xx alone, so the integrating factor is

μ=e1xdx=elnx=x.\mu = e^{\int \frac{1}{x}\,dx} = e^{\ln x} = x.

Multiply through by xx:

(x3+xy2+x2)dx+x2ydy=0.(x^3 + xy^2 + x^2)\,dx + x^2 y\,dy = 0.

Now My=2xy=NxM_y = 2xy = N_x, so it is exact. Find FF with Fx=x3+xy2+x2F_x = x^3 + xy^2 + x^2:

F=x44+x2y22+x33+g(y).F = \frac{x^4}{4} + \frac{x^2 y^2}{2} + \frac{x^3}{3} + g(y).

Fy=x2y+g(y)=x2yg(y)=0F_y = x^2 y + g'(y) = x^2 y \Rightarrow g'(y)=0. Hence the general solution is

x44+x2y22+x33=C.\boxed{\frac{x^4}{4} + \frac{x^2 y^2}{2} + \frac{x^3}{3} = C.}
differential-equationsfirst-order-ode
8short7 marks

Find the general solution of the second-order linear differential equation

d2ydx24dydx+4y=e2x+sin2x\frac{d^2 y}{dx^2} - 4\frac{dy}{dx} + 4y = e^{2x} + \sin 2x

by determining both the complementary function and a particular integral.

Equation: y4y+4y=e2x+sin2xy'' - 4y' + 4y = e^{2x} + \sin 2x. Auxiliary equation m24m+4=(m2)2=0m=2,2.m^2 - 4m + 4 = (m-2)^2 = 0 \Rightarrow m = 2,2.

Complementary function: yc=(C1+C2x)e2x.y_c = (C_1 + C_2 x)e^{2x}.

Particular integral. Operator D24D+4=(D2)2D^2 - 4D + 4 = (D-2)^2.

For e2xe^{2x}: since 22 is a repeated root, multiply by x2x^2:

yp1=1(D2)2e2x=x22e2x.y_{p1} = \frac{1}{(D-2)^2}e^{2x} = \frac{x^2}{2}e^{2x}.

For sin2x\sin 2x: replace D24D^2\to -4 in D24D+4D^2-4D+4: 44D+4=4D-4 - 4D + 4 = -4D.

yp2=14Dsin2x=14sin2xdx=14(cos2x2)=cos2x8.y_{p2} = \frac{1}{-4D}\sin 2x = -\frac{1}{4}\int\sin 2x\,dx = -\frac{1}{4}\Big(-\frac{\cos 2x}{2}\Big) = \frac{\cos 2x}{8}.

General solution:

y=(C1+C2x)e2x+x22e2x+cos2x8.\boxed{y = (C_1 + C_2 x)e^{2x} + \frac{x^2}{2}e^{2x} + \frac{\cos 2x}{8}.}
differential-equationslinear-ode
9short7 marks

Using the method of partial fractions, find the inverse Laplace transform

L1{s+5s26s+13}.\mathcal{L}^{-1}\left\{\frac{s+5}{s^2 - 6s + 13}\right\}.
L1{s+5s26s+13}.\mathcal L^{-1}\Big\{\frac{s+5}{s^2 - 6s + 13}\Big\}.

Complete the square: s26s+13=(s3)2+4=(s3)2+22.s^2 - 6s + 13 = (s-3)^2 + 4 = (s-3)^2 + 2^2. Write the numerator in terms of (s3)(s-3): s+5=(s3)+8.s + 5 = (s-3) + 8.

s+5(s3)2+4=s3(s3)2+22+81(s3)2+22=s3(s3)2+22+42(s3)2+22.\frac{s+5}{(s-3)^2+4} = \frac{s-3}{(s-3)^2+2^2} + 8\cdot\frac{1}{(s-3)^2+2^2} = \frac{s-3}{(s-3)^2+2^2} + 4\cdot\frac{2}{(s-3)^2+2^2}.

Using L1{sa(sa)2+b2}=eatcosbt\mathcal L^{-1}\{\tfrac{s-a}{(s-a)^2+b^2}\}=e^{at}\cos bt and L1{b(sa)2+b2}=eatsinbt\mathcal L^{-1}\{\tfrac{b}{(s-a)^2+b^2}\}=e^{at}\sin bt with a=3,b=2a=3,\,b=2:

L1{s+5s26s+13}=e3t(cos2t+4sin2t).\boxed{\mathcal L^{-1}\Big\{\frac{s+5}{s^2-6s+13}\Big\} = e^{3t}\big(\cos 2t + 4\sin 2t\big).}
laplace-transformsinverse-transform
10short7 marks

Obtain the Fourier series expansion of the function f(x)=x2f(x) = x^2 in the interval π<x<π-\pi < x < \pi, and hence deduce that

n=11n2=π26.\sum_{n=1}^{\infty}\frac{1}{n^2} = \frac{\pi^2}{6}.

Fourier series of f(x)=x2f(x)=x^2 on (π,π)(-\pi,\pi)

ff is even, so all bn=0b_n=0.

a0=1πππx2dx=2π0πx2dx=2ππ33=2π23.a_0 = \frac{1}{\pi}\int_{-\pi}^{\pi} x^2\,dx = \frac{2}{\pi}\int_0^\pi x^2\,dx = \frac{2}{\pi}\cdot\frac{\pi^3}{3} = \frac{2\pi^2}{3}. an=2π0πx2cosnxdx.a_n = \frac{2}{\pi}\int_0^\pi x^2\cos nx\,dx.

Integrating by parts twice: 0πx2cosnxdx=2πn2cosnπ=2π(1)nn2.\int_0^\pi x^2\cos nx\,dx = \dfrac{2\pi}{n^2}\cos n\pi = \dfrac{2\pi(-1)^n}{n^2}. Hence

an=2π2π(1)nn2=4(1)nn2.a_n = \frac{2}{\pi}\cdot\frac{2\pi(-1)^n}{n^2} = \frac{4(-1)^n}{n^2}.

With a0/2=π2/3a_0/2 = \pi^2/3:

x2=π23+4n=1(1)nn2cosnx.x^2 = \frac{\pi^2}{3} + 4\sum_{n=1}^{\infty}\frac{(-1)^n}{n^2}\cos nx.

Deduction

Put x=πx=\pi (where the series converges to π2\pi^2): cosnπ=(1)n\cos n\pi=(-1)^n, so

π2=π23+4n=1(1)n(1)nn2=π23+4n=11n2.\pi^2 = \frac{\pi^2}{3} + 4\sum_{n=1}^\infty\frac{(-1)^n(-1)^n}{n^2} = \frac{\pi^2}{3} + 4\sum_{n=1}^\infty\frac{1}{n^2}. 4n=11n2=π2π23=2π23    n=11n2=π26.\Rightarrow 4\sum_{n=1}^\infty\frac{1}{n^2} = \pi^2 - \frac{\pi^2}{3} = \frac{2\pi^2}{3} \;\Rightarrow\; \sum_{n=1}^\infty\frac{1}{n^2} = \frac{\pi^2}{6}. \qquad\blacksquare
fourier-seriesperiodic-functions
11short7 marks

Find the half-range sine series for the function f(x)=πxf(x) = \pi - x in the interval 0<x<π0 < x < \pi.

Half-range sine series: f(x)=n=1bnsinnxf(x)=\sum_{n=1}^\infty b_n\sin nx, with

bn=2π0π(πx)sinnxdx.b_n = \frac{2}{\pi}\int_0^\pi (\pi - x)\sin nx\,dx.

Compute: 0ππsinnxdx=π1cosnπn=π[1(1)n]n.\int_0^\pi \pi\sin nx\,dx = \pi\cdot\dfrac{1-\cos n\pi}{n} = \dfrac{\pi[1-(-1)^n]}{n}.

0πxsinnxdx=[xcosnxn]0π+1n0πcosnxdx=π(1)nn+0=π(1)nn.\int_0^\pi x\sin nx\,dx = \Big[-\dfrac{x\cos nx}{n}\Big]_0^\pi + \dfrac1n\int_0^\pi\cos nx\,dx = -\dfrac{\pi(-1)^n}{n} + 0 = -\dfrac{\pi(-1)^n}{n}.

So

bn=2π(π[1(1)n]n+π(1)nn)=2ππn=2n.b_n = \frac{2}{\pi}\left(\frac{\pi[1-(-1)^n]}{n} + \frac{\pi(-1)^n}{n}\right) = \frac{2}{\pi}\cdot\frac{\pi}{n} = \frac{2}{n}.

Therefore

  πx=n=12nsinnx=2(sinx+sin2x2+sin3x3+),0<x<π.  \boxed{\;\pi - x = \sum_{n=1}^\infty \frac{2}{n}\sin nx = 2\left(\sin x + \frac{\sin 2x}{2} + \frac{\sin 3x}{3} + \cdots\right),\quad 0<x<\pi.\;}
fourier-serieshalf-range-series
12short7 marks

Obtain the series solution about the ordinary point x=0x = 0 of the differential equation

d2ydx2+xy=0,\frac{d^2 y}{dx^2} + xy = 0,

finding the recurrence relation and the first few non-zero terms of the two linearly independent solutions.

Series solution of y+xy=0y'' + xy = 0 about x=0x=0

Assume y=n=0anxny = \sum_{n=0}^\infty a_n x^n. Then y=n=2n(n1)anxn2=n=0(n+2)(n+1)an+2xny'' = \sum_{n=2}^\infty n(n-1)a_n x^{n-2} = \sum_{n=0}^\infty (n+2)(n+1)a_{n+2}x^n, and xy=n=0anxn+1=n=1an1xnxy = \sum_{n=0}^\infty a_n x^{n+1} = \sum_{n=1}^\infty a_{n-1}x^n.

Substituting and collecting xnx^n:

  • n=0n=0: 21a2=0a2=0.2\cdot1\,a_2 = 0 \Rightarrow a_2 = 0.
  • n1n\ge1: (n+2)(n+1)an+2+an1=0.(n+2)(n+1)a_{n+2} + a_{n-1} = 0.

Recurrence relation:

an+2=an1(n+2)(n+1),n1;a2=0.\boxed{\,a_{n+2} = -\frac{a_{n-1}}{(n+2)(n+1)},\quad n\ge1;\quad a_2=0.\,}

The indices split mod 3. With a0,a1a_0,a_1 arbitrary and a2=0a_2=0 (so a2,a5,a8,=0a_2,a_5,a_8,\dots=0):

From a0a_0: a3=a032=a06a_3 = -\dfrac{a_0}{3\cdot2}=-\dfrac{a_0}{6}, a6=a365=a0180a_6 = -\dfrac{a_3}{6\cdot5}=\dfrac{a_0}{180}, ...

From a1a_1: a4=a143=a112a_4 = -\dfrac{a_1}{4\cdot3}=-\dfrac{a_1}{12}, a7=a476=a1504a_7 = -\dfrac{a_4}{7\cdot6}=\dfrac{a_1}{504}, ...

Two linearly independent solutions:

y1(x)=1x36+x6180,y_1(x) = 1 - \frac{x^3}{6} + \frac{x^6}{180} - \cdots, y2(x)=xx412+x7504.y_2(x) = x - \frac{x^4}{12} + \frac{x^7}{504} - \cdots.

General solution y=a0y1(x)+a1y2(x).y = a_0\,y_1(x) + a_1\,y_2(x).

series-solutionsfrobenius-method

Frequently asked questions

Where can I find the BE Computer Engineering (Pokhara University) Calculus II (PU, MTH 210) question paper 2078?
The full BE Computer Engineering (Pokhara University) Calculus II (PU, MTH 210) 2078 (regular) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
Does the Calculus II (PU, MTH 210) 2078 paper come with solutions?
Yes. Every question on this Calculus II (PU, MTH 210) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
How many marks is the BE Computer Engineering (Pokhara University) Calculus II (PU, MTH 210) 2078 paper?
The BE Computer Engineering (Pokhara University) Calculus II (PU, MTH 210) 2078 paper carries 100 full marks and is meant to be completed in 180 minutes, across 12 questions.
Is practising this Calculus II (PU, MTH 210) past paper free?
Yes — reading and attempting this Calculus II (PU, MTH 210) past paper on Kekkei is completely free.