Calculus 2 - Mock Exam 3
Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.
In questa pagina 5
Mock exam built on the model of the Analisi Matematica 2 papers for Information Engineering (UniPD), the equivalent course taught in Italian: it is a simulation written for this site, not a real paper, and its exercises are new. The real papers have four exercises worth between 6 and 10 points each (for example 8 + 9 + 8 + 8) and last three hours; here the four exercises are worth 9, 8, 8 and 8 points, total 33, and the time allowed is 3 hours. Every statement must be justified. Allowed material: none (no books, notes, phones or calculators). All topics come from the notes of this course. How to use it: take it timed, write every step in full, and only afterwards compare first the result, then the solution, then the grid at the end.
Exercise 1 (points 9)
Let be the function
- Prove that is continuous at . (2 points)
- Using the definition, compute the partial derivatives of at and, for every unit vector , the directional derivative . (3 points)
- Is differentiable at ? Justify the answer. (2 points)
- Prove that is differentiable at and write the equation of the tangent plane to the graph of at the point . (2 points)
Show the result
- : is continuous at .
- , ; for every unit vector, .
- No: is not differentiable at .
- is differentiable at with and ; the tangent plane is .
Show the full solution
Setting. The point to study is the one where the two pieces of the definition meet, so there we cannot use the differentiation rules: we use the definitions and polar coordinates , . Since the numerator has degree and the denominator degree ,
So is homogeneous of degree 1: for every real (also negative). This identity is used in every part.
1. Continuity (Limits and Continuity in Several VariablesThe limit of a function of several variables exists if the value approaches L independently of the path; it is shown to exist with estimates in polar coordinates and shown not to exist by restricting to different curves. Continuity requires the limit to equal the value of the function at the point.Limits and Continuity in Several Variables →). We must show . In polar coordinates , so
The bound does not depend on , and this is what makes the polar argument valid (the limit is uniform in the direction). By the squeeze theorem the limit is : is continuous at . Typical error: checking only a few lines through the origin, which can disprove a limit but never prove it.
2. Partial and directional derivatives (Partial and Directional DerivativesThe partial derivative with respect to x_i at x0 is the derivative of the one-variable function obtained by freezing all the other variables, so in practice one differentiates in x_i treating the others as constants. The gradient collects the partial derivatives; the directional derivative along a unit vector v is the limit of [f(x0 + hv) - f(x0)]/h. In several variables having all partial (even directional) derivatives does not guarantee continuity.Partial and Directional Derivatives →). At the rules cannot be applied (the formula of the first piece is of the type ): we use the definition, i.e. the limit of the difference quotient along the direction.
For a unit vector , by homogeneity,
which does not depend on , so the limit exists for every direction:
The partial derivatives are the special cases () and ():
Direct check on the axes: and . So .
3. Differentiability (Differentiability and the Gradientf is differentiable at x0 if f(x) = f(x0) + grad f(x0)·(x - x0) + o(‖x - x0‖), i.e. near x0 the graph is indistinguishable from the tangent plane z = f(x0) + grad f(x0)·(x - x0). Differentiable implies continuous, with partial derivatives and D_v f = grad f · v; continuous partial derivatives imply differentiable. The gradient gives the direction of steepest increase (slope ‖grad f‖) and is orthogonal to level curves.Differentiability and the Gradient →). If were differentiable at , then for every direction the gradient formula would hold. But
and for it equals . The formula fails along the diagonal, so is not differentiable at .
Equivalent check with the definition: differentiability means . On the line we have , so the numerator is and the quotient is .
Remarks. The function is continuous and has all directional derivatives, yet it is not differentiable: the map is not linear in (it is a combination of cubes). The formula holds only when , i.e. along the axes and along the direction . Typical errors: concluding "differentiable" because the partial derivatives exist, or computing as without having proved differentiability (it would give , wrong). Consistently, the partial derivatives are not continuous at the origin: for they are homogeneous of degree , and e.g. while , so the sufficient condition ( implies differentiable) cannot be used.
4. Differentiability at and tangent plane. On the function is a quotient of polynomials with non-vanishing denominator, hence of class ; by the total differential theorem it is differentiable at . By the quotient rule, for :
At the denominator is : , , . The tangent plane (Differentiability and the Gradientf is differentiable at x0 if f(x) = f(x0) + grad f(x0)·(x - x0) + o(‖x - x0‖), i.e. near x0 the graph is indistinguishable from the tangent plane z = f(x0) + grad f(x0)·(x - x0). Differentiable implies continuous, with partial derivatives and D_v f = grad f · v; continuous partial derivatives imply differentiable. The gradient gives the direction of steepest increase (slope ‖grad f‖) and is orthogonal to level curves.Differentiability and the Gradient →, section on gradient and tangent plane) is
Check: since is homogeneous of degree , Euler's identity holds and gives at ; this is also why the plane passes through the origin: its constant term is . Typical error: writing the plane with the partial derivatives of the origin, , instead of those at the point of tangency.
Exercise 2 (points 8)
Let : the solid cylinder of radius and axis , cut below by the plane and above by the tilted plane (on the unit disc ). Its boundary is the union of the base , the lateral surface and the top . Let , and orient with the outward normal.
- Compute the area of and the surface integral . (2 points)
- Compute the outward flux of through using the divergence theorem. (3 points)
- Compute directly the flux of through and through , and deduce from part 2 the flux through . Check the result with a direct computation on . (3 points)
Show the result
- and .
- (with ).
- Flux through : . Flux through : . Flux through : (also by direct computation).
Show the full solution
1. The top as a graph (Surfaces and Flux - Divergence and Stokes TheoremsA parametric surface r(u,v) has normal N = r_u x r_v and area element |N| du dv; this gives areas, surface integrals, surfaces of revolution (Guldin) and the flux of a field through an oriented surface, and leads to the divergence theorem (closed surface flux equals the integral of the divergence) and Stokes' theorem (flux of the curl equals circulation on the boundary).Surfaces and Flux - Divergence and Stokes Theorems →, section on area and surface integral). is the graph of over the unit disc . With : , , and
The area element is the constant (the plane has constant inclination). Hence
because ( is symmetric with respect to the axis and is odd). Typical error: forgetting the factor and writing the area as .
2. The divergence theorem. The field is on and is bounded by a closed piecewise regular surface, so
We integrate with Triple Integrals - Cylindrical and Spherical CoordinatesA triple integral is computed by columns (inner integral in z between two surfaces, then a double integral over the shadow) or by slices (double integral over a section, then in z); volume is the integral of 1; cylindrical coordinates give dV = r dr dtheta dz and spherical ones give dV = rho^2 sin(phi) drho dphi dtheta.Triple Integrals - Cylindrical and Spherical Coordinates →: , , , and . Integrating first in (the cheapest variable, since the bounds depend on only):
Now in over : , , . So
Typical errors: applying the theorem with the inward normal, or applying it to only part of the boundary (the surface must be closed: , and are all included).
3. The three pieces.
Top . The outward normal on the top points upward, i.e. it is (third component positive). On , , so
Base . It lies in the plane with outward normal (pointing down, out of the solid): on , so . Here the integrand vanishes, but in general the sign of the normal on the base must be watched.
Lateral surface by difference. The three fluxes add up to the total:
Direct check on . Parametrize with , . Then , , , which points outward, so the sign is . On we have , so and
The two ways agree. As in the notes, when one of the pieces is hard the flux through it is obtained as the total minus the others; here all are easy, so it is a genuine check.
Exercise 3 (points 8)
Let be the region of the plane
- Draw and find its four vertices. Show that the change of variables , maps one-to-one onto the rectangle , and compute its Jacobian determinant. (3 points)
- Compute the area of . (2 points)
- Compute . (3 points)
Show the result
- is bounded by the hyperbolas , and the lines , , with vertices , , , . The map is a bijection of onto with , so .
- .
- .
Show the full solution
1. The region and the change of variables (Change of Variables and Polar CoordinatesIf Phi(u,v) = (x,y) is C1, one-to-one up to zero-area sets and has nonzero Jacobian determinant, then the double integral of f over the image equals the integral of f composed with Phi times the absolute value of the Jacobian determinant over the original domain; in polar coordinates dx dy = r dr dtheta, which suits discs, annuli and sectors.Change of Variables and Polar Coordinates →, section on the change of variables theorem). The conditions and force , and together with they give and : lies in the first quadrant, between the two lines through the origin of slopes and , and between the hyperbola branches (below) and (above). The vertices are the intersections of each hyperbola with each line:
- : ; : ;
- : , ; : , .
Grafico interattivo: Region D between the hyperbolas xy = 1 and xy = 4 and the lines y = x and y = 3x, with its four vertices
The shape suggests the natural coordinates: the region is described by two constant-level conditions, between and and between and . So set
is a bijection. On the open quadrant it is , and it can be inverted: and , so , with (the positive roots because ). Thus is a one-to-one map of the quadrant onto . Since and , the image of is exactly .
Jacobian.
The change of variables theorem uses the Jacobian of the map from the new variables to the old ones, which is the reciprocal: , so (check on the inverse: , , , give ). Typical error: multiplying by instead of dividing by it.
2. Area.
The integrand does not depend on , so the double integral splits as a product (Double Integrals and Fubini's TheoremThe double integral of a bounded function over a rectangle is defined through lower and upper Darboux sums (for f nonnegative it is the volume under the graph) and is extended to a bounded domain by setting f to zero outside it; for continuous f on a y-simple or x-simple domain Fubini's theorem reduces it to iterated one-variable integrals, and swapping the order can make an integral computable.Double Integrals and Fubini's Theorem →).
3. The integral. In the new variables and (from the inverse map), so
Therefore
(The second factor is .) A plausibility check: , so the mean value of on is about , between the minimum (at ) and the maximum (at the farthest vertex).
Exercise 4 (points 8)
Consider the complex function
- Find the isolated singularities of and classify them. (1 point)
- Write the Laurent series of in the annulus as the product of two known series, and use it to compute as the sum of a numerical series. Compute . (3 points)
- Compute and , both curves traversed once counterclockwise. (1 point)
- Using the residue theorem, compute the real integral (3 points)
Show the result
- is an essential singularity, is a simple pole.
- , .
- , .
- .
Show the full solution
1. Classification (Laurent Series and Isolated SingularitiesA function holomorphic in an annulus has a unique Laurent expansion with positive and negative powers, which differs from annulus to annulus; isolated singularities are classified as removable, poles of order m or essential according to the principal part, and zeros and poles are linked through the order of vanishing.Laurent Series and Isolated Singularities →). The only points where fails to be holomorphic are (where is not defined) and (where the denominator vanishes): both are isolated.
- At . The numerator is holomorphic near and does not vanish there (it is ), while the denominator has a simple zero: has a simple pole.
- At . has infinitely many negative powers. The factor is holomorphic at with value ; if had a removable singularity or a pole at , then would too, which is false. So is an essential singularity.
2. Laurent series in (The Residue TheoremThe residue of f at an isolated singularity is the coefficient of 1/(z - z0) in its Laurent series, computed by limit formulas at poles, and the residue theorem says that the integral over a closed curve is 2 pi i times the sum of the residues inside; it also evaluates real improper integrals of rational functions, trigonometric integrals and integrals with exponentials via Jordan's lemma, and underlies the argument principle.The Residue Theorem →, section on residues at essential singularities: there is no limit formula, one multiplies the series). In this annulus the two factors expand as
so . In the product the term arises from the pairs with , i.e. (for each exactly one ). Therefore
The last sum is the exponential series at without its first two terms: . Hence
At the simple pole : . Typical errors: using the limit formula at (it does not exist, since is essentially singular there); forgetting that expands in positive powers of only in (in the expansion is different).
3. The two integrals. By the residue theorem, over the singularities inside the curve.
- : only is inside (): .
- : both and are inside: .
Independent check of the second one: for , , whose coefficient of is , so the integral over any large circle is . The two computations agree.
4. The real integral (The Residue TheoremThe residue of f at an isolated singularity is the coefficient of 1/(z - z0) in its Laurent series, computed by limit formulas at poles, and the residue theorem says that the integral over a closed curve is 2 pi i times the sum of the residues inside; it also evaluates real improper integrals of rational functions, trigonometric integrals and integrals with exponentials via Jordan's lemma, and underlies the argument principle.The Residue Theorem →, section on integrals with exponentials and Jordan's lemma). Write and consider
whose real part is . The function is the product of (with ) and a rational function with no real poles which tends to at infinity (the denominator has degree ), so Jordan's lemma lets us discard the upper semicircle and
The poles are and , all simple; those in the upper half-plane are and . Residues, writing the denominator as :
Then
which is real. Its real part is , and its imaginary part is because the integrand is odd, consistently with the result being real:
Typical errors: including the poles of the lower half-plane; forgetting the factor that cancels in (if an remains, there is a mistake); and, for , using instead of , which would give and in place of and .
Self-assessment grid
| Exercise | Points | What must be there for full marks | Typical errors |
|---|---|---|---|
| 1 | 9 | Continuity by the polar bound (2). Partials and computed with the definition (3). Non-differentiability proved, either with the gradient formula along or with the limit of the quotient equal to (2). outside the origin, and the plane (2). | Checking continuity only along lines; deducing differentiability from the partial derivatives; using at the origin without proof; using the gradient at in the plane at . |
| 2 | 8 | Area and with the factor (2). and total flux in cylindrical coordinates (3). Fluxes on , on , on by difference and directly (3). | Forgetting ; inward normal; leaving out one face of the boundary; wrong bound (); sign of the normal on . |
| 3 | 8 | Vertices and sketch; bijection onto and Jacobian (3). Area with (2). Integral after writing (3). | Multiplying by instead of dividing; wrong limits of , ; not expressing in ; arithmetic slips in . |
| 4 | 8 | Essential singularity at and simple pole at with the argument (1). Cauchy product, and (3). and , choosing the singularities inside the curve (1). Real integral with Jordan's lemma, poles and only, value (3). | Limit formula for the residue at the essential singularity; summing residues outside the curve; poles of the lower half-plane; wrong exponent in ; leaving an in the result. |
Total: 33 points. For extra practice on the same topics see the notes linked in each solution.