Math Econ


Courses

MIT Introduction to Differential Equations and the MATLAB® ODE Suite

Differential Equations in Action

Engineering: CS101-SP Computer Science 101

differential equations

Engineering: Solar Solar Cells, Fuel Cells and Batteries

CONVEX OPTIMIZATION

Mathematics 306 Differential Equations

MAS212 Scientific Computing and Simulation

MATH3076/3976 Mathematical Computing

sympy for math

Mathematic Economics

Test 07

one question

2015 Test 04

One questoin, prove KKT by using Farka’s lemma.

Old notes

Practice

Dot Product and Angle

Dot Products, Norms, and Angles Between Vectors.

Recall that the Law of Cosines, a generalization on the Pythagorean Theorem, gives us the relationship between the side lengths of an arbitrary triangle. Specifically, if a triangle has side lengths aa, bb, and cc, then

where θ is the angle between the sides of length aa and bb.

Consider the triangle that can be formed from the vectors xx, yy, and x−yx−y.

Applying the Law of Cosines to this triangle, we have

But this implies, using our observations about the dot product made above, that

Subtracting the common (x⋅x)(x⋅x) and (y⋅y)(y⋅y) from both sides, we find −2||x||||y||cosθ=−2(x⋅y)

Which, solving for cosθcos⁡θ tells us