McGill MATH 206 tutoring
Applied Calculus and Linear Algebra: one-to-one online tutoring and exam preparation.
Course overview
McGill MATH 206 combines linear algebra with multivariable calculus for data-science applications.
MATH 206 topics to review
Common difficulties
- Distinguishing eigenvalue decomposition from singular value decomposition
- Connecting matrix properties to the classification of an extremum
What does the Hessian say about the objective?
Let be independent dimensionless real inputs and a dimensionless quadratic objective. Find its stationary point, form its Hessian matrix and decide whether the point is a minimum, maximum or saddle. Can you prove a global conclusion for this particular function?
Hint: connect the matrix to a displacement
The Hessian contains the second partial derivatives. A symmetric matrix is positive definite when for every nonzero displacement vector . Here denotes transpose.
Find the point and justify the classification
The gradient equations are and , giving and . The symmetric Hessian is
Its eigenvalues are and , both positive, so it is positive definite. Equivalently, for , unless both components vanish. Positive curvature in every direction gives a strict local minimum.
For the global claim, write , . Direct expansion gives
This is positive for every nonzero displacement, so is the unique global minimum value. A Hessian test at one point alone would not prove a global result for an arbitrary nonquadratic function.
Retry: change one quadratic coefficient
Replace by , so . Find and classify its stationary point. Confirm the classification by moving separately along the two coordinate directions.
Check the changed objective
The equations , give , with . Its Hessian is , whose determinant is , so it is indefinite and the point is a saddle. Directly, while . Arbitrarily near the stationary point there are both larger and smaller values.
A zero gradient identifies a candidate; it does not classify it. If the matrix language is the obstacle, use the eigenvector geometry refresher as prerequisite practice, then return to the Hessian argument.
Why is an orthogonal projection the closest vector?
Work in real Euclidean space with the usual dot product and norm. All coordinates here are dimensionless. Let and , where means transpose. Find the vector on the entire line that is closest to . The line passes through the origin; this is not a projection onto a segment.
First sketch the line, the vector , and the gap from a candidate on the line to . What should be perpendicular when that gap is shortest?
Hint: name the residual
For a candidate , the residual is . Try making it orthogonal to . Remember that , not . The denominator is positive because .
Find the projection and prove the minimum
The orthogonality equation is . Since and , it gives . Thus
Check the result: and . The scalar , the projection vector , and the residual vector are different objects.
Orthogonality also proves optimality. For any real number ,
The cross term vanishes because . The added square is nonnegative and is zero only for . Hence is the unique closest vector, and the minimum distance is . We minimized squared distance; it has the same minimizer as distance because square root is increasing on nonnegative numbers. A nonzero residual means is not on the line, not that the projection failed.
If the dot product or denominator is unclear, use the existing dot-product and projection practice, then return to the minimum-distance proof above. That prerequisite section is written for Concordia MATH 204; this link does not assert course equivalence.
Three checks, from geometry to least squares
These original questions practise selected skills. Use your current MATH 206 outline to decide which extensions to study; this is not an official exam or a complete assessment.
1. Can a nonzero vector have zero projection?
Keep , but take . Predict the projection before calculating. Find the residual and minimum distance.
Hint for question 1
Compute the dot product first. Zero projection does not require the input vector to be zero.
Check question 1
Now , so , , and . The minimum distance is . Every nonzero move along adds a positive squared-distance term.
2. Change the generator, not the line
Return to , but describe the line using . Find the new coefficient. Must the projection or minimum distance change?
Hint for question 2
Both numerator and denominator change. Compare the product of coefficient and generator, not the coefficient alone.
Check question 2
The new coefficient is . Multiplying gives , the same projection. The residual and minimum distance are unchanged because the set of candidate vectors is unchanged. The coefficient depends on the chosen generator; the closest vector does not.
3. One coefficient, three target values
As a least-squares extension, let , , and choose a constant to minimize . Find the fitted vector and residual. Explain why the residual components sum to zero even though they are not all zero.
Hint for question 3
This is the same line-projection problem in . A zero residual would require all three target values to be the same.
Check question 3, then retry
The coefficient is , the fitted vector is , and the residual is . Its dot product with is zero. The squared error is , and for any the objective equals . This proves the minimum rather than merely locating a stationary point.
Independent retry: replace the targets by . Find the fit and squared error before opening the next answer.
Check the changed targets
The minimizing constant is still , but the residual is now and its squared norm is . The same fitted vector can accompany different errors. This calculation uses ordinary unweighted Euclidean least squares; no probabilistic model has been assumed.
For a formula error, return to the orthogonal-residual argument. For a Hessian or eigenvalue question, use the separate quadratic-objective example. A projection test does not replace a Hessian classification.
How tutoring can help
Bring the gradient equations and your Hessian. Your tutor can check the stationary point, connect the matrix to directional curvature and ask what extra argument would make a local conclusion global. Then change one coefficient and explain the new geometry before calculating. For projection work, also bring your candidate vector and residual; mark which dot-product or minimum-distance step you cannot justify.
Exam preparation for MATH 206
Alternate matrix calculations with optimization problems from your current outline. For projections, identify the target subspace and check both membership of the projection and orthogonality of the residual to the target subspace; explain why these give the closest vector. For the quadratic example, distinguish the local Hessian test from the separate global argument. Try the changed-data questions without the solutions. The least-squares extension samples one application and is not a complete MATH 206 assessment.
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 206?
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 206 tutoringNablio is an independent service and is not affiliated with this institution.