## Second Midterm-Practice test

You know the drill: work these problems and let me know if you have any trouble. I will try to answer *some* questions until Monday evening (Oct 10). This is a good opportunity to compare notes and work with other students. Enjoy!

- Find three positive numbers whose sum is 12 and the sum of whose squares is as small as possible.
- The base of an aquarium with volume 9,000cm
^{3}is made of slate and the sides are made of glass. If slate costs five times as much as glass (per square centimeter), find the dimensions of the aquarium that minimizes the cost of the materials. - If where and show that
- If where and show that
- Suppose that over a certain region of space the electrical potential is given by
- Find the rate of change of the potential at the point in the direction of the vector
- In which direction does change most rapidly at
- What is the maximum rate of change at

- Find the directional derivative of at in the direction of
- Find the local maximum and minimum values and saddle point of the function
- Find the local maximum and minimum values and saddle point of the function in the square
- Find the absolute maximum and minimum values of in the set
- Find and sketch the domain of the following functions
- Find the following limits if they exist, or show that they do not exist:
- Find all the second partial derivatives of
- Verify that the function is a solution of the three-dimensional Laplace equation
- Find an equation of the tangent plane to the surface at the point
- Use differentials to estimate the amount of tin in a closed tin can with diameter 8cm and height 12cm if the tin is 0.04cm thick.
- if and changes from to compare the values of and
- Four positive numbers, each less than 50, are rounded to the first decimal place and then multiplied together. Use differentials to estimate the maximum possible error in the computed product that might result from the rounding.

Advertisements

### Leave a Reply Cancel reply

### We have moved!

On November 2014, I migrated this blog to blancosilva.github.io. Please update your bookmarks and RSS feeds accordingly.

### In the news:

### Recent Posts

- Migration
- Computational Geometry in Python
- Searching (again!?) for the SS Central America
- Jotto (5-letter Mastermind) in the NAO robot
- Robot stories
- Advanced Problem #18
- Book presentation at the USC Python Users Group
- Areas of Mathematics
- More on Lindenmayer Systems
- Some results related to the Feuerbach Point
- An Automatic Geometric Proof
- Sympy should suffice
- A nice application of Fatou’s Lemma
- Have a child, plant a tree, write a book
- Project Euler with Julia
- Seked
- Nezumi San
- Ruthless Thieves Stealing a Roll of Cloth
- Which one is the fake?
- Stones, balances, matrices
- Buy my book!
- Trigonometry
- Naïve Bayes
- Math still not the answer
- Sometimes Math is not the answer
- What if?
- Edge detection: The Convolution Approach
- OpArt
- So you want to be an Applied Mathematician
- Smallest Groups with Two Eyes
- The ultimate metapuzzle
- Where are the powers of two?
- Geolocation
- Boundary operators
- The Cantor Pairing Function
- El País’ weekly challenge
- Math Genealogy Project
- Basic Statistics in sage
- A Homework on the Web System
- Apollonian gaskets and circle inversion fractals
- Toying with basic fractals
- Unusual dice
- Wavelets in sage
- Edge detection: The Scale Space Theory
- Bertrand Paradox
- Voronoi mosaics
- Image Processing with numpy, scipy and matplotlibs in sage
- Super-Resolution Micrograph Reconstruction by Nonlocal-Means Applied to HAADF-STEM
- The Nonlocal-means Algorithm
- The hunt for a Bellman Function.
- Presentation: Hilbert Transform Pairs of Wavelets
- Presentation: The Dual-Tree Complex Wavelet Transform
- Presentation: Curvelets and Approximation Theory
- Poster: Curvelets vs. Wavelets (Mathematical Models of Natural Images)
- Wavelet Coefficients
- Modeling the Impact of Ebola and Bushmeat Hunting on Western Lowland Gorillas
- Triangulations
- Mechanical Geometry Theorem Proving

### Pages

- About me
- Books
- Curriculum Vitae
- Research
- Teaching
- Mathematical Imaging
- Introduction to the Theory of Distributions
- An Introduction to Algebraic Topology
- The Basic Practice of Statistics
- MA598R: Measure Theory
- MA122—Fall 2014
- MA141—Fall 2014
- MA142—Summer II 2012
- MA241—Spring 2014
- MA242—Fall 2013
- Past Sections
- MA122—Spring 2012
- MA122—Spring 2013
- Lesson Plan—section 007
- Lesson Plan—section 008
- Review for First part (section 007)
- Review for First part (section 008)
- Review for Second part (section 007)
- Review for Third part (section 007)
- Review for the Second part (section 008)
- Review for the Fourth part (section 007)
- Review for Third and Fourth parts (section 008)

- MA122—Fall 2013
- MA141—Spring 2010
- MA141—Fall 2012
- MA141—Spring 2013
- MA141—Fall 2013
- MA141—Spring 2014
- MA141—Summer 2014
- MA142—Fall 2011
- MA142—Spring 2012
- MA241—Fall 2011
- MA241—Fall 2012
- MA241—Spring 2013
- MA242—Fall 2012
- MA242—Spring 2012
- First Midterm Practice Test
- Second Midterm-Practice Test
- Third Midterm—Practice Test
- Review for the fourth part of the course
- Blake Rollins’ code in Java
- Ronen Rappaport’s project: messing with strings
- Sam Somani’s project: Understanding Black-Scholes
- Christina Papadimitriou’s project: Diffusion and Reaction in Catalysts

- Problem Solving
- Borsuk-Ulam and Fixed Point Theorems
- The Cantor Set
- The Jordan Curve Theorem
- My oldest plays the piano!
- How many hands did Ernie shake?
- A geometric fallacy
- What is the next number?
- Remainders
- Probability and Divisibility by 11
- Convex triangle-square polygons
- Thieves!
- Metapuzzles
- What day of the week?
- Exact Expression
- Chess puzzles
- Points on a plane
- Sequence of right triangles
- Sums of terms from Fibonacci
- Alleys
- Arithmetic Expressions
- Three circles
- Pick a point
- Bertrand Paradox
- Unusual dice
- El País’ weekly challenge
- Project Euler with Julia

- LaTeX

### Categories

aldebaran
algebra
algorithm
analysis
applied mathematics
approximation theory
books
calculus
catalyst
chemical engineering
circumcenter
coding
combinatorics
computational geometry
curvelets
data mining
Delaunay
denoising
differential geometry
edge detection
engineering
Euclidean geometry
fractal
functional analysis
geometry
harmonic analysis
history of math
image
image processing
imdb
Japan
L-system
LaTeX
latitude
Lindenmayer system
linear algebra
longitude
mathematical imaging
mathematics
matplotlibs
Measure Theory
metacritic
movie critics
movies
nonlocal means
numerical analysis
numpy
oxide
pattern recognition
physics
probability
programming
puzzles
python
sage
scanning transmission electron microscopy
scientific computing
scipy
segmentation
signal processing
statistics
stats
STEM
super-resolution
tex
tikz
tomography
topology
triangle
triangulation
trigonometry
Voronoi
voronoi diagram
wavelets
weights

### Archives

- November 2014
- September 2014
- August 2014
- July 2014
- June 2014
- March 2014
- December 2013
- October 2013
- September 2013
- July 2013
- June 2013
- April 2013
- January 2013
- December 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- November 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- February 2011
- January 2011
- December 2010
- May 2010
- April 2010
- September 2008
- September 2007
- August 2007

### @eseprimo

- How I find my lost phone: —"Ok @Google !" — Beep! How I find my wife's lost phone: —"Ok Google!" — Beep! —"Cal… twitter.com/i/web/status/9… 31 minutes ago
- RT @simongerman600: Ratio of #Kale to #Bacon mentions on Twitter across the #USA. This hilarious #map is a bit older but I am sure the gene… 4 hours ago
- RT @UofSCAdvising: Have you scheduled your Summer and Fall advisement yet? Check your email for messages from your advisor! Or see https:/… 5 hours ago
- RT @PhysicsVideo_: A Hawk always attempts to take the shortest path between itself and prey https://t.co/xjwX7JjeVM 15 hours ago
- RT @SumDumThum: Julia Set rotations #mathart #Processing https://t.co/BvKuztQert 1 day ago
- RT @eSeeCode: Today I learned that sierpinski is a particular case of the tree fractal! I saw it in Wikipedia and had to code it using esee… 1 day ago
- RT @ApuntesCiencia: Esta #anémona huye de una estrella de mar haciendo algo que ni siquiera sabíamos que pudiera hacer: nadar • https://t.c… 3 days ago
- RT @generativist: Tell your students. GSoC is really cool! And, check out @SymPy's project ideas: github.com/sympy/sympy/wi… https://t.co/a… 4 days ago
- @bwalkerq @iteachmathAll @BeckyNftP @carloliwitter @samjshah @JDaomath @DonSteward Dig around any of Martin Gardner… twitter.com/i/web/status/9… 4 days ago
- RT @gordonjbuchanan: Please sign to tell Carex to take action on destructive palm oil and help protect orangutans. @GreenpeaceUK https://t… 4 days ago
- RT @AllenDowney: A few years ago I wrote a short a book that explains basic use of Git: allendowney.github.io/amgit/ It contains exercises you… 4 days ago
- RT @ApuntesCiencia: Desarrollo del #embrión de una #mosca #Drosophila melanogaster (24 horas, 3 horas tras la puesta) • https://t.co/THiVDO… 4 days ago
- RT @sandrasankarate: GOLD Medal 🥇!!! GRACIAS... es muy bonito estar, vivirlo pero sobre todo es muy bonito el apoyo y el cariño de tod@s 🤗😍… 5 days ago
- RT @mathematicsprof: Taking differential equations (ordinary or partial)? Here are some great animations of mechanical, sound and light sys… 5 days ago
- @panlepan @Rainmaker1973 en.m.wikipedia.org/wiki/Buffalo_b… 6 days ago
- @panlepan @Rainmaker1973 The ones with Buffalo buffalo buffalo Buffalo buffalo? 6 days ago
- RT @HenkReuling: I made a new 'matching-game', called 'mini-loco' in Dutch. Calculate the radius of the colored circle. For use in the clas… 6 days ago
- RT @ArtsSciencesUSC: Girls Go of I.T. has two great camps planned for #Summer2018: Games from Scratch & App Inventor! Don't miss this fun c… 6 days ago
- RT @maartenzam: Oh my: all the shots in the NBA made and missed, in WebVR bball.surge.sh/golden-state-w… Made by @datavized, shown by @debraeander… 1 week ago
- Initially reluctant to give @AtomEditor a chance (@VimLinks @emacs and @SublimeTxtTips #ftw, am I right?), but the… twitter.com/i/web/status/9… 1 week ago

### Math updates on arXiv.org

- Computing Periods of Hypersurfaces. (arXiv:1803.08068v1 [math.AG])
- The isomorphism relation of theories with S-DOP. (arXiv:1803.08070v1 [math.LO])
- A Brief Survey of Higgs Bundles. (arXiv:1803.08072v1 [math.AG])
- Asynchronous Distributed Optimization with Heterogeneous Regularizations and Normalizations. (arXiv:1803.08076v1 [math.OC])
- Spectrahedral Lifts of Convex Sets. (arXiv:1803.08079v1 [math.OC])
- Renewal Population Dynamics and their Eternal Family Trees. (arXiv:1803.08081v1 [math.PR])
- The Derivation of the Energy-critical NLS from Quantum Many-body Dynamics. (arXiv:1803.08082v1 [math.AP])
- The homotopy groups of the simplicial mapping space between algebras. (arXiv:1803.08087v1 [math.AT])
- On the number of subsemigroups of direct products involving the free monogenic semigroup. (arXiv:1803.08091v1 [math.GR])
- A New Solution Concept and Family of Relaxations for Hybrid Dynamical Systems. (arXiv:1803.08092v1 [math.DS])

### sagemath

- An error has occurred; the feed is probably down. Try again later.

Advertisements

I need help with number 3 and number 4. How do you get the second partials with the s and t variables?

Look at example 7 in page 905

Hey, Nate. For number 4 this is what did:

The partial derivative of z with respect to s= the partial derivative of z with respect to x times the partial derivative of x with repsect to s plus the partial derviative of z with respect to y times the partial derivative of y with respect to s. The partial derivative of x with respect to s = 1, and the partial derivative of y with respect to s =1. Therefore, the partial derivative of z with repsect to s = the partial dervative of z with respect to x + the partial derivative of z with respect to y. Next, the partial derivative of z with respect to t =the partial derivative of z with repsect to x time the partial derivative of x with repsect to t plus the partial derivative of z with respect to y times the partial derivative of y with respect to t. The partial derivative of x with repsect to t equals 1 and the partial derivative of y with repsect to t= -1. Thus, the partial derivative of z with respect to t = the partial derivative of z with respect to x – the partial derivitive of z with repsect to y. Therefore the partial derivative of z with respect to s times the partial derivative of t with respect to t= (the partial derivative of z with respect to x + the partial derivative of z with repsect to y) times (the partial derivative of z with respect to x – the partial derivative of z with repsect to y). When you foil it, you get (the partial derivative of z with respect to x)^2 – (the partial derivative of z with respect to y)^2. Hence, you have shown what the question wants you to show.

p.s. sorry i had to write everything out in words, but i have no clue how to type it to make it look nice.

Lauretta, thanks a lot for the help. Something that might make solutions easier to read is using for example Maple’s notation instead of words. Something like “diff(f,x,x)” is easier to interpret, for example.

Y’all are doing a good job, keep it up!

Hello. For number one I got x=4, y=4, and z=4, which I think is correct. Is that correct? Also, I used the Lagrange method. How would you go about solving the problem if it said that the sum of the squares was a large as possible?

Did you take into account all the different constraints?

With only the first constraint you may apply the method of Lagrange multipliers. Note how it gave you only one solution for this particular problem. This is very significative, right? It means that, with only one of the constraints of this problem, there is only one critical point that satisfies the solution. This point might be either a max or a min—did you check that it is a min? (it is)

It also means that (with only one constraint) there is no max: you can find three numbers that add up to 12 and the sum of whose squares is as big as you want.

We need to use the other constraints of the problem: if all of the variables are to be non-negative, then the maximum is attained at or

We did in class a problem where the method of Lagrange multipliers gave us four critical points: two were min and two were max. If the method gives you only one, then you only have one kind.

Good question!

Also, in number two we are assuming the aquarium is in the shape of a rectangular prism, correct?

Yes

For #2, if x and y represent the dimension of the base of the aquarium and z represents the height of the aquarium, I got that x= (3600)^(1/3), y=(3600)^(1/3), and z= (5/2)(3600)^(1/3). Are those the correct dimensions?

For #2 I’m having problems with solving the system of equations. My constraint function is g(x,y,z) = xyz – 9000 and my function to minimize is f(x,y,z) = 2xz + 2yz + 5xy

Are these correct functions to start with? The reason I ask is that I get some crazy system of equations that is really difficult to solve. For example, my first equation is yz / (2z + 5y) = lamda. The other three look the same. I’m having trouble solving for x, y, and z with these equations.

It looks good, except that it should be, for example the first equation, (it looks like you placed the lambda in the wrong side of the equation). If you consider now the first two equations and equal the lambdas, you should get (after simplifying) something like Go from there.

Aaah, you are right. I switched my two gradient vectors. Thanks!

I got the exact same answer…

For #5, I got

1) 32/(3^(1/3))

2)

3) 1624^(1/2)

Are those answers correct?

For this one I actually got

1) 50 / 3^(1/2)

2)

3) 2164^(1/2)

Hah, I think putting vectors in angle brackets is making the blog think that we’re using html tags… Anyway, for part 2 my vector is

(38, 24, 12)

I got

1) 32/(3^(1/2))

2) <38,6,12

3) 1624^(1/2)

Also, is there an answer key anywhere so I don’t have to keep asking you if my answers are right?

Nope. I want y’all to obtain the correct answers through “networking.” It is part of the learning process. I will only offer hints in the right direction.

Is the answer to #6 2/5 ?

That’s what I got.

When you are finding local maxima and minima and saddle points, what do you do if the second partial derivative of the function with respect to x twice of a critical point = 0?

That’s a good question. If then most probably your Hessian is negative (substitute in the formula to realize this fact). This means that you have a saddle point.

The other possibility is that the Hessian is zero, and you have no means to decide the kind of critical point with this method. We use then other methods.

For number 8 I found 11 critical points. Am I on the right track?

There are many critical points, yes. Which ones did you find?

Yeah, I actually found 13 critical points. I got

(pi/2, pi/2) (pi/2, -pi/2)

(-pi/2, pi/2) (-pi/2, -pi/2)

(pi, pi) (pi, -pi) (pi, 0)

(-pi, pi) (-pi, -pi) (-pi, 0)

(0, pi) (0, -pi) (0, 0)

for number 5, what exactly is it asking in part 2? im kind of confused

Guys…i have a bunch of problems…i cannot figure this out…the second partials on numbers 3 and 4…i also dont understand d^2x/dxdy or d^2y/dydx…i need some major help

On number 9, how do we find the boundary given by x^2+ y^2 ≤ 3? I got two of the boundaries since we can say that the max y value will happen when x is 0 and the max x value will happen when y is 0, so our two boundaries are (0,0) to (root(3), 0) and (0,0) to (0, root(3)), however since the last boundary occurs on a curve and not a straight line, how do we account for this?

Also, when we find critical points where all points of the form (0, a) are critical points and the Hessian comes out to 0 such as in number 7, how do we conclude this? If you look at the function for number 7 you can see that the points (0, a) are minima, but they all occur in a straight line, so are they still local minima or are they not critical points at all?

Good questions too!

About the first one: That part of the boundary is a piece of a circle, so you can parametrize it as You just have to find what values of give you that piece of the circle. Go from there.

About the second part: good job at realizing that the points of the form are indeed critical points. Since the second derivative test doesn’t give you information, we need to do something different. This one is specially tricky. Some of the points are going to be maxima, and some others are going to be minima! Graph the function (with WolframAlpha, or Maple or whatever) to realize it, and see how you can prove it algebraically.

For #7 I keep getting that y(x^2) = 0. Wouldn’t this yield an infinite number of critical points when either x, y, or both are 0?

Remember to combine the “zeros” with both equations. The first equation will give you three possibilities (something like or . The second equation will give you some other possibilities… but then you have to combine them all: (1) the first possibility from the first equation, with the first possibility of the second equation; (2) the first from the first, with the second of the second; (3) first from first, third from second; etc.

Note that at most, you will have to make eight different combinations, since the “degrees” of your expressions are 4 and 4.

Are both of the limits in #11 DNE?

I got zero for the first limit and DNE for the second limit.

Would the last problem be equal to 50^4 – 49.95^4 ?

In number 17, I’m not sure how to set up the problem. Since there are constraints, it seems like it should be a LaGrange Multipliers problem but I don’t see anyway to relate all of the variables in a single equation. Also, for the equation that we need to maximize, I set it up as

F(w,x,y,z) = (w+0.05)(x+0.05)(y+0.05)(z+0.05) – wxyz

I did this because 0.05 is the maximum error per number that could be caused by rounding to the first decimal place but I’m not sure if this is correct.

You’re going about number 17 the wrong way. You use differentials to solve this one.

Your equation is f(w,x,y,z) = wxyz So the first thing to do is calculate the differential. The differential is

df = xyz(dw) + wyz(dx) + wxz(dy) + wxy(dz)

When you’re using differentials to estimate df you simply use dx = delta(x), etc…

The tricky part to this problem is what to do with the actually parameters he gave you. You’re definitely right about the maximum error. It would be 0.05. But what about the “less than 50” part? Well… the question just asks what the maximum error could be…

Think about it this way… Four numbers multiplied together… would your error be very big if, say, all the numbers were really small (like less than 1)? No, you’d have a really small error. The difference between multiplying 0.90^4 and 0.95^4 is not that big… So… what about if the four numbers were really big? The difference between 49.90^4 and 49.95^4 is pretty significant. So if we want to find the MAXIMUM POSSIBLE ERROR, then we should consider a number as close to 50 as we can get.

So then you just take your differential equation (above) and substitute in w = x = y = z = 50 and dw = dx = dy = dz = 0.05 .

The answer I got was 25000 as the maximum possible error.

Thanks, that makes a lot more sense! I got the same answer once I worked it out.

Also, for number 11 you said that you got 0 for the first limit and DNE for the second limit.

I got DNE for both of them. I plugged in the polar coordinates and got 0/[4*sin^2(theta)]. So in most cases the limit is 0, however in the direction of theta = 0, pi, -pi and so forth wouldn’t you get 0/0? Maybe I interpreted this wrong but I just wanted to see what your thoughts were on it.

Yeah, you’re exactly right. I totally forgot to take into account when sin^2theta was zero. Good catch.

Can anyone help me with number 13?

Hey Nate, I figured this one out earlier after I left the tutoring center. The best way to work this one out is to make sure you always keep the (x^2 + y^2 + z^2)^(-1/2) and anything similar to it as just a negative exponent and not try to move it around.

For starters, just look at the partial of u for x. You should get something like this:

(-1/2) * (x^2 + y^2 + z^2)^(-3/2) * (2x)

Now take the second partial of u for x of this using the product rule. Leave the (x^2 + y^2 + z^2) stuff alone for the moment but simplify the rest of it and you should get something like this:

3x^2 * (x^2 + y^2 + z^2)^(-5/2) – (x^2 + y^2 + z^2)^(-3/2)

Notice at this point that all of the second partials will look exactly like this. The only difference is that the second differential for y will have 3y^2 at the beginning instead of 3x^2 and the z will have 3z^2. Put all three of these second partials together and you will notice that each of the parts of this whole equation has (x^2 + y^2 + z^2) to some sort of fractional exponent. Since the base is the same for all of them, you can go ahead and pull out (x^2 + y^2 + z^2)^(-5/2). What this means for the ones that are raised to the (-3/2) is that they are now raised to the 1st power since if you were to multiply them out and add exponents then (-5/2) + 1 = (-3/2). So now you have two sets of equations multiplied by each other and only one of them needs to equal 0, so you can ignore (x^2 + y^2 + z^2)^(-5/2). Now if you combine everything together in the other equation and simplify as much as possible you should be able to cancel out the rest of the equation.