Calculus 2 - Mock Exam 1
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 written papers of the equivalent Italian-language course (Analisi Matematica 2, Information Engineering, UniPD); it is not an official paper. The real papers have three or four exercises of 6 to 10 points each, three hours of time, no books, notes, phones or calculators, and every statement must be justified. Here: four exercises, 8 + 8 + 7 + 7 = 30 points, 3 hours. How to use it: work under exam conditions, writing every step and naming every theorem you use; only afterwards open the result and, if something does not match, the full solution.
Exercise 1 (points 8)
Let and let be the triangle with vertices , and , boundary included, that is
a) Find the critical points of in and determine their nature using the Hessian matrix. (3 points)
b) Does have an absolute maximum or minimum in ? Justify. (1 point)
c) Find the absolute maximum and minimum of on and the points where they are attained. (4 points)
Show the result
a) Critical points: , , , . The point is a local minimum (), is a local maximum (), and are saddle points ().
b) No absolute maximum and no absolute minimum in : .
c) Absolute maximum on : , attained only at . Absolute minimum on : , attained at the three points , , .
Show the full solution
a) Critical points and Hessian. The function is a polynomial, hence of class on , and every extremum is at a point where the gradient vanishes (see Free Extrema in Several VariablesIf f is differentiable and has a relative extremum at an interior point x0, then grad f(x0) = 0 (Fermat): interior extrema are found among the critical points. If f is C^2, at a critical point: Hessian positive definite gives a minimum, negative definite a maximum, indefinite a saddle, semidefinite means the test is inconclusive and one studies the sign of f(x) - f(x0). In two variables: det H > 0 and f_xx > 0 minimum, det H > 0 and f_xx < 0 maximum, det H < 0 saddle.Free Extrema in Several Variables →): The two equations are independent (the first contains only , the second only ), so every combination of signs is a solution: four critical points . A common mistake is to stop at and .
The Hessian matrix (Hessian Matrix and Taylor FormulaThe second derivatives form the Hessian matrix H_f, symmetric by Schwarz's theorem (continuous mixed derivatives). Second-order Taylor: f(x0 + h) = f(x0) + grad f(x0)·h + (1/2) h^T H_f(x0) h + o(‖h‖^2). A symmetric matrix is positive or negative definite, semidefinite or indefinite according to the sign of the quadratic form h^T A h, recognized via eigenvalues or leading principal minors (in 2x2: determinant and first entry).Hessian Matrix and Taylor Formula →) is (the mixed derivatives ). We evaluate it at each point and apply the second-order conditions: if the point is an extremum, a minimum when and a maximum when ; if it is a saddle.
| point | nature | ||||
|---|---|---|---|---|---|
| local minimum | |||||
| local maximum | |||||
| saddle | |||||
| saddle |
b) Global behaviour. Along the -axis , which tends to for and to for . So is unbounded above and below: it has neither an absolute maximum nor an absolute minimum on . In particular the local maximum is not a global one (for instance ), and the local minimum is not global either (). Local does not mean global.
c) Absolute extrema on . The set is closed (it is defined by three non-strict inequalities between continuous functions) and bounded ( and , because and ). It is therefore compact and is continuous, so by Weierstrass' theorem the absolute maximum and minimum exist; to find them we follow the method of Absolute Extrema on Compact SetsWeierstrass theorem: a continuous function on a compact (closed and bounded) subset of R^n has an absolute maximum and minimum. They are found by comparing the values at the interior critical points, at the critical points of the restrictions to the (parametrized) pieces of the boundary, and at the vertices. On an unbounded closed set, if f tends to +infinity at infinity the minimum exists and the maximum does not.Absolute Extrema on Compact Sets →: interior critical points, then the restriction of to each side, then the vertices, then compare all values.
Grafico interattivo: The triangle T with vertices (-2,-2), (2,-2), (-2,2) and the critical points of f: (-1,-1) is inside (f = 4, maximum), (1,-1) and (-1,1) lie on the hypotenuse x + y = 0, (1,1) is outside T
Interior. The interior of is . Of the four critical points, is not in (since ); and satisfy , so they are on the hypotenuse, not in the interior; has , , : it is interior. Value .
Side , . Here . Call it : for . Candidates: , , , . So the points , , , with values .
Side , . By the symmetry of : , candidates , , , with values .
Hypotenuse , . : the function is identically zero on this side. Every point has value (the saddles , among them), and no further candidate is needed.
Vertices. , , (already included above).
Comparison. The values found are (interior), and , on the boundary. Hence:
- absolute maximum at only;
- absolute minimum at , and .
Typical mistakes: forgetting a side (here the hypotenuse is the one that gives only the value ) or the points where on the sides; including the critical point , which is outside ; reporting only one minimum point; confusing the local maximum in with a maximum on (here they happen to coincide, but it must be proved with the boundary study).
Exercise 2 (points 8)
Let be the set of the points of the plane lying between the circles of centre the origin and radii and (circles included), in the angular sector between the positive -axis and the bisector of the first quadrant:
a) Sketch , describe it in polar coordinates and compute its area. (2 points)
b) Compute . (3 points)
c) Compute the centroid of (constant density), and check that it belongs to . (3 points)
Show the result
a) In polar coordinates ; area .
b) .
c) ; the centroid lies on the bisector of the sector and at distance about from the origin, so it is in .
Show the full solution
a) Description and area. The conditions mean (the annulus). The conditions mean: (upper half-plane) and (below the bisector ); together they give the angular sector (note that forces because ). So is a piece of annulus, bounded by two arcs ( and ) and by two straight segments, on the -axis () and on the bisector ().
Grafico interattivo: The annulus sector D: 1 <= rho <= 3, 0 <= theta <= pi/4, bounded by the x-axis, the bisector y = x and the circles of radius 1 and 3; the centroid G lies on the line at angle pi/8
By the 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 → formula (, , ) the integral over becomes an integral over the rectangle in the plane , so it splits into 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 →): Check with the elementary formula: a sector of angle has area , so . Forgetting the factor of the Jacobian would give .
b) The integral. In we have and with , so (the arctangent returns the angle exactly because lies in its range). Then In polar coordinates the integrand depends only on and the integral becomes a product of two trivial integrals. Do not forget from : without it the second factor would be .
c) Centroid. With constant density, and . In polar coordinates the integrand times the Jacobian gives : Dividing by the area : Checks: (i) the ratio , so lies on the symmetry axis of the sector (the half-line at angle ), as it must; (ii) , so . A typical mistake is to compute only the integrals and forget to divide by the area, or to take the centroid of the full annulus.
Exercise 3 (points 7)
Consider the differential equation
a) Find the general solution of the associated homogeneous equation. (2 points)
b) Find a particular solution of the complete equation and write its general solution. (3 points)
c) Solve the Cauchy problem with , , and compute . (2 points)
Show the result
a) , .
b) A particular solution is ; general solution .
c) , and .
Show the full solution
The equation is linear of the second order with constant coefficients and continuous right-hand side, so the Cauchy problem has a unique solution defined on the whole of (Existence and Uniqueness for the Cauchy ProblemFor y' = f(t, y), y(t0) = y0, Peano's theorem gives local existence when f is continuous (not uniqueness: y' = sqrt|y|), Cauchy-Lipschitz gives local existence and uniqueness when f is also Lipschitz in y (it suffices that f and df/dy are continuous), solutions may blow up in finite time (y' = y^2), global existence holds when f is Lipschitz on the whole strip, and an equation of order n reduces to a first-order system.Existence and Uniqueness for the Cauchy Problem →, Linear Differential Equations and SystemsFor linear systems Y' = A(t)Y + B(t) with continuous coefficients the Cauchy problem has a unique solution on the whole interval, the homogeneous solutions form an n-dimensional space spanned by the columns of a fundamental matrix, constant coefficients are handled with eigenvalues and eigenvectors, the matrix exponential or elimination, and variation of constants gives particular solutions for any continuous forcing term.Linear Differential Equations and Systems →).
a) Homogeneous equation. The characteristic equation has discriminant , hence . With , two independent real solutions are and , and
b) Particular solution. The forcing term is exactly of the form of the homogeneous solutions (resonance): an ansatz would be annihilated by the left-hand side and could never give . The method that always works is variation of constants. The Wronskian of is Writing , the formulas , give Primitives (any one will do): , . Therefore using . The term solves the homogeneous equation and can be absorbed in : so is a particular solution. (Shortcut: since the right-hand side resonates, the correct ansatz is ; substituting gives , that is , , the same result.) The general solution is
c) Cauchy problem. Impose the data on the complete solution, not on alone. First . For the derivative, so , giving . Hence Limit: for , because the exponential decay beats the linear growth of (). So : the resonance makes the amplitude grow like inside the envelope , which first increases the oscillation but does not prevent the decay. A typical mistake: writing the ansatz without the factor and finding ; or imposing only on the homogeneous part.
Exercise 4 (points 7)
Let
a) Show that is harmonic in . (2 points)
b) Find the harmonic conjugate of with and write the holomorphic function as a function of . (2 points)
c) With as in b), compute where is the circle and is the circle , both run once counterclockwise. (3 points)
Show the result
a) in .
b) and .
c) , and .
Show the full solution
a) Harmonicity. A function of class is harmonic if (Complex Functions and the Cauchy-Riemann EquationsA complex function f = u + iv is complex-differentiable at z0 if the difference quotient has the same limit along every direction; this forces the Cauchy-Riemann equations u_x = v_y, u_y = -v_x (sufficient when the partial derivatives are continuous), holomorphic functions have harmonic real and imaginary parts, and the Jacobian is a rotation-dilation by f'(z0).Complex Functions and the Cauchy-Riemann Equations →). Compute: Summing, everywhere.
b) Harmonic conjugate. A function makes holomorphic if and only if the Cauchy-Riemann equations hold: and . Since is simply connected the conjugate exists. Integrate the first equation in : because (by parts), so cancels against . Now impose the second equation: must equal , hence and is a constant. The condition gives : To write in terms of , restrict to the real axis: , so (a holomorphic function is determined by its values on the real axis). Direct check: has real part and imaginary part .
c) The integrals. Here , with two simple poles at . Use Complex Integration - Cauchy's Theorem and Integral FormulaThe integral of a complex function along a curve z(t) is the integral of f(z(t)) z'(t) dt and depends in general on the path; for holomorphic functions on simply connected domains integrals over closed curves vanish (Cauchy's theorem), paths can be deformed across no singularity, the integral of 1/(z - z0) around z0 is 2 pi i, and Cauchy's integral formula gives f(z0) and all derivatives from boundary values.Complex Integration - Cauchy's Theorem and Integral Formula →: if is holomorphic on and inside a simple closed curve run counterclockwise and is inside, .
Circle : . It encloses (its centre) and not (the distance from to is ). Write the integrand as with , holomorphic in the disc (its only singularity is , outside). Then
Circle : . Both and are inside, so the formula cannot be applied directly. Decompose in partial fractions: (check: ). Then applying the Cauchy integral formula to (entire) at the two points inside . Alternatively, deform the path (deformation of paths, same note) into two small circles around and , and the integral over the small circle around is exactly the value found for . Typical mistakes: using with evaluated without the factor (i.e. alone, which gives ); counting also the pole for ; forgetting the factor .
Self-assessment grid
| exercise | points | what must be there for full marks | typical mistakes |
|---|---|---|---|
| 1 a) | 3 | gradient system solved with all four points; Hessian evaluated at each point; nature with and | stopping at two points; not evaluating at each point; mixing up saddle and extremum |
| 1 b) | 1 | for : no absolute extrema; local global | declaring and global |
| 1 c) | 4 | compactness of and Weierstrass; interior critical point only; both sides with at ; hypotenuse ; comparison; max at one point, min at three points | including ; forgetting a side or a stationary point on a side; missing two of the minimum points |
| 2 a) | 2 | , ; area with the factor | missing (area ); wrong angle |
| 2 b) | 3 | on and why; product of integrals; | missing ; without checking the range |
| 2 c) | 3 | and integrals, division by the area, coordinates, check | not dividing by ; forgetting that |
| 3 a) | 2 | roots and real form | leaving complex exponentials without the real form |
| 3 b) | 3 | resonance recognised; variation of constants or ansatz with ; ; general solution | ansatz without ; absorbing incorrectly |
| 3 c) | 2 | conditions imposed on the complete solution; , ; limit with justification | without the derivative of the particular part; limit stated without reason |
| 4 a) | 2 | and computed with the product rule; sum zero | missing the term in |
| 4 b) | 2 | integrated, from , ; | wrong sign in ; not fixing the constant |
| 4 c) | 3 | : only inside, with the factor , ; : partial fractions and both poles, | counting for ; applying the formula once for |