

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A review for exam ii of math 112, focusing on optimization. It covers derivative rules, functions of one variable, and functions of two variables. Topics include finding local and global optima, using the second derivative test, and computing partial derivatives. Additionally, it discusses maximizing tr(q) and optimizing the slope of a diagonal line, as well as finding the best-fitting line for a set of data.
Typology: Study notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


I. Derivative Rules
II. Functions of One Variable
III. Functions of Two Variables
Step 1: Given n points (xi, yi), compute
∑ xi,
∑ yi,
∑ x^2 i ,
∑ y^2 i ,
∑ xiyi. Step 2: Use the sums from Step 1 to find the formula for the mean squared error function E(b, m). Step 3: Compute ∂E∂b and ∂E∂m. Step 4: Solve the system of equations ∂E∂b = 0 and ∂E∂m = 0 for m and b. These are the slope and y-intercept of the best-fitting line y = mx + b.
Step 1: Find the objective function. Step 2: Find the constraints. Step 3: Graph the feasible region and find its vertices. Step 4: Plug all vertices into the objective function. (The max and min of the objective function must occur at one of the vertices.)