User Tools

Site Tools


math121b:sample-m1

sample Midterm 1

1. Let V=R2V = \R^2, and let v=(3,2)v = (3,2) in the Cartesian basis of R2\R^2. Now, we choose another basis as follows e1=(2,1),e2=(0,1) e_1 = (2,1), \quad e_2 = (0,1) . Expand vv in terms of e1,e2e_1, e_2.

2. Let V={a+bt+ct2a,b,cR}V = \{a + bt + ct^2 \mid a, b, c \in \R\} be the space of polynomials of degree at most 2. Let f1(t),f2(t),f3(t)f_1(t), f_2(t), f_3(t) be three elements in VV, given as follows f1(2)=1,f1(3)=0,f1(5)=0 f_1(2) = 1, \quad f_1(3) = 0, \quad f_1(5) = 0 f2(2)=0,f2(3)=1,f2(5)=0 f_2(2) = 0, \quad f_2(3) = 1, \quad f_2(5) = 0 f3(2)=0,f3(3)=0,f3(5)=1 f_3(2) = 0, \quad f_3(3) = 0, \quad f_3(5) = 1 Then

  • Show that f1,f2,f3f_1, f_2, f_3 forms a basis of VV.
  • Expand f=3t2+1f = 3t^2 + 1 in terms of this basis.

3. Consider the new coordiante (u,v)(u,v) on R2\R^2, related to (x,y)(x,y) by x=cosh(u)cos(v),y=sinh(u)sin(v) x = \cosh(u) \cos(v), \quad y = \sinh(u) \sin(v)

  • Find the metric tensor gg in terms of u,vu,v (or equivalently, the line element ds2ds^2),
  • The volume element.
  • The expansion of u\d_u and v\d_v using x\d_x and y\d_y.
  • (bonus) If a function on R2\R^2 is given by f(u,v)=2u+3vf(u,v) = 2u + 3v, find its gradient expressed using basis vectors u,v\d_u, \d_v.
  • (bonus) Find the divergence of the vector field V=uV = \d_u.

You may use the formula grad(f)=gijifj grad(f) = g^{ij}\, \d_i f \,\d_j and div(Vii)=1gi(gVi) div(V^i \d_i) = \frac{1}{\sqrt{g}} \d_i(\sqrt{g} V^i) where we used Einstein summation convention, and i=ui\d_i = \frac{\d}{\d u_i}, u1=u,u2=vu_1 = u, u_2 = v.

Partial Solution

1. Draw the picture to see. You should draw a parallogram with vv along the diagonal, and two sides parallel to e1,e2e_1,e_2.

2. Since VV is 3 dim, suffice to show that fif_i are linearly independent. That is, if we have 0=c1f1(t)+c2f2(t)+c3f3(t) 0 = c_1 f_1(t) + c_2 f_2(t) + c_3 f_3(t) for all tt, then we need to show ci=0c_i=0. Plug in t=2,3,5t=2,3,5 to conclude this is indeed so.

Same thing for the next problem, suppose we try to find the expansion f(t)=c1f1(t)+c2f2(t)+c3f3(t) f(t) = c_1 f_1(t) + c_2 f_2(t) + c_3 f_3(t) then we can get cic_i by plug-in t=2,3,5t=2,3,5.

You may worry about: what about tt equal to other values? Well, since we have an equation about degree two polynomials, if it holds at 3 points, then it holds for all tt.

3. This is good place to introduce another trick, the relation about 2-dim orthogonal coordinate and holomorphic functions.

Suppose z=f(w)z = f(w) is a holomorphic function, if we write z=x+iyz = x+ i y, w=u+ivw = u + iv, we get Cauchy-Riemmann equation {xu=yvxv=yu \begin{cases} \frac{\d x}{\d u} = \frac{\d y}{\d v} \cr \frac{\d x}{\d v} = - \frac{\d y}{\d u} \end{cases} Hence, we have g(u,u)=(xu)2+(yu)2=(yv)2+(xv)2=g(v,v) g(\frac{\d }{\d u} ,\frac{\d }{\d u}) = \left( \frac{\d x}{\d u} \right)^2 + \left( \frac{\d y}{\d u} \right)^2 = \left( \frac{\d y}{\d v} \right)^2 + \left( - \frac{\d x}{\d v} \right)^2= g(\frac{\d }{\d v} ,\frac{\d }{\d v}) and g(u,v)=xuxv+yuyv=xuyu+yuxu=0 g(\frac{\d }{\d u} ,\frac{\d }{\d v}) = \frac{\d x}{\d u} \frac{\d x}{\d v} + \frac{\d y}{\d u} \frac{\d y}{\d v} = - \frac{\d x}{\d u} \frac{\d y}{\d u} + \frac{\d y}{\d u} \frac{\d x}{\d u} = 0 Hence, we have orthogonal coordinate, and furthermore, the length of the two basis vectors are the same guu=gvvg_{uu} = g_{vv}.

In this problem, we have x+iy=cosh(u+iv) x + i y = \cosh(u + iv) so the above method applies. Another examples is y=uv,x=(u2v2)/2 y = uv , x = (u^2 - v^2)/2 this is from x+iy=(u+iv)2/2. x + i y = (u + iv)^2/2.

Of course, one can do the problem without using the above trick. One then do dx=du+dv,dy=du+dvdx = … du + … dv, \quad dy = … du + … dv then plug into ds2=dx2+dy2 ds^2 = dx^2 + dy^2 to express ds2ds^2 using dudu and dvdv. You should get in the end ds2=(cosh2(u)cos2(v))(du2+dv2) ds^2 = (\cosh^2(u)- \cos^2(v)) (du^2 + dv^2) Or, the factor can be written in different ways, since cosh2(u)cos2(v)=sinh2(u)+sin2(v). \cosh^2(u)- \cos^2(v) = \sinh^2(u) + \sin^2(v) .

Let H2=sinh2(u)+sin2(v)H^2 = \sinh^2(u) + \sin^2(v), then we have g=[gij]=(H200H2) g = [g_{ij}] = \begin{pmatrix} H^2 & 0 \cr 0 & H^2 \end{pmatrix} So we have gij=δijH2,gij=H2δijg_{ij} = \delta_{ij} H^2, \quad g^{ij} = H^{-2} \delta_{ij}.

The volume element is \sqrt{g} du dv = (\sinh^2(u) + \sin^2(v)) du dv$

The expansion is u=u(x)x+u(y)y= \d_u = \d_u(x) \d_x + \d_u(y) \d_y = …

The gradient is grad(f)=H2u(f)u+H2v(f)v=H2(2u+3v) grad(f) = H^{-2} \d_u(f) \d_u + H^{-2} \d_v(f) \d_v = H^{-2} (2 \d_u + 3 \d_v)

The divergence of VV is div(V)=H2u(H2)=2cosh(u)sinh(u)sinh2(u)+sin2(v) div(V) = H^{-2} \d_u (H^2) = \frac{2 \cosh(u)\sinh(u)}{ \sinh^2(u) + \sin^2(v) } More details: V=1u+0vV = 1 \d_u + 0 \d_v so V1=1V^1 = 1, V2=0V^2=0, and g=H4=H2\sqrt{g} = \sqrt{H^4} = H^2. Plug in the divergence formula will yield the answer.

In Boas' notation, we have e1=u/u=u/He_1 = \d_u / \| \d_u \| = \d_u / H, so V=u=He1V = \d_u = H e_1 and VBoas1=HV^1_{Boas} = H, also h1=h2=Hh_1 = h_2 = H. Using that Boas formula, we have divV=1h1h2u(h2VBoas1)=H2u(H2)div V = \frac{1}{h_1h_2} \d_u( h_2 V^1_{Boas}) = H^{-2} \d_u (H^2) yield the same answer.

math121b/sample-m1.txt · Last modified: 2020/02/23 16:56 by pzhou