# Calculus problems

**URL:** <https://boards.straightdope.com/t/calculus-problems/166336>\
**Category:** Factual Questions\
**Created:** [April 4, 2003, 12:40am UTC](https://boards.straightdope.com/t/calculus-problems/166336 "2003-04-04T00:40:39Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 4, 2003, 12:40am UTC](https://boards.straightdope.com/t/calculus-problems/166336/1 "2003-04-04T00:40:39Z")

</div>

This is not homework. These questions are from a sample final (first year calc), and are fairly straightforward, but I’m having some difficulties.

Here are two questions:

[http://iupload.net/042003/calculus.jpg](http://iupload.net/042003/calculus.jpg)

Here’s what I did with the first problem:

[http://iupload.net/042003/question1.jpg](http://iupload.net/042003/question1.jpg)

What I’m not sure from the first question is how to “expand” the operator on the derivatives. My answer differs from the solution set on the last term expansion.

Also, I know the definition of a Jacobian, but what exactly is it? Why do we use it?

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [April 4, 2003, 1:59am UTC](https://boards.straightdope.com/t/calculus-problems/166336/2 "2003-04-04T01:59:49Z")

</div>

> [@](#):
>
> \*Originally posted by Ian Fan \*  
> \*\*Also, I know the definition of a Jacobian, but what exactly is it? Why do we use it? \*\*

The Jacobian is, in a certain sense, the derivative of a function from **R** [sup]m[/sup] to **R** [sup]n[/sup]. It’s good for changes of variables in multiple integrals, among other things.

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 4, 2003, 2:08am UTC](https://boards.straightdope.com/t/calculus-problems/166336/3 "2003-04-04T02:08:45Z")

</div>

> [@](#):
>
> \*Originally posted by ultrafilter \*  
> \*\*The Jacobian is, in a certain sense, the derivative of a function from **R** [sup]m[/sup] to **R** [sup]n[/sup]. It’s good for changes of variables in multiple integrals, among other things. \*\*

Yeah, that’s the definitation they gave us. And I know we use it for transformations for change of basis and to see how the size of a function in one space compares to its size in a different space.

What I don’t really understand is the math behind it, like why do we choose this number? Why do we take the determinant of it? Why do we take the absolute value of it for change of variable? Why does the transpose of the Jacobian matrix not affect the Jacobian determinant (I know why in the linear algebra sense, but not why in the calculus sense since I don’t know why we take the determinant)? I’m sure there are more questions if I can think of them.

---

<div class="post-metadata">

**Author:** ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)\
**Post date:** [April 4, 2003, 2:11am UTC](https://boards.straightdope.com/t/calculus-problems/166336/4 "2003-04-04T02:11:13Z")

</div>

One thing Jacobian matrices can be used for is in solving systems of simultaneous nonlinear equations.

In Newton’s method, you use the iteration:

x[sub]i+1[/sub] = x[sub]i[/sub] - f(x[sub]i[/sub]) / f’(x[sub]i[/sub])

When there’s a system of equations, you use:

x[sub]i+1[/sub] = x[sub]i[/sub] - f(x[sub]i[/sub]) J[sup]-1/sup

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 4, 2003, 2:16am UTC](https://boards.straightdope.com/t/calculus-problems/166336/5 "2003-04-04T02:16:07Z")

</div>

Wow, I didn’t know that. Our cruel teacher had us solve nonlinear equations by other methods :(. But anyways… Why can you use that equation?? 😃

---

<div class="post-metadata">

**Author:** ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)\
**Post date:** [April 4, 2003, 2:22am UTC](https://boards.straightdope.com/t/calculus-problems/166336/6 "2003-04-04T02:22:38Z")

</div>

Why can you use that equation? Because the Jacobian matrix is analogous to the first derivative.

Multiplying by J[sup]-1[/sup] is the same as dividing by f’.

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 4, 2003, 5:18am UTC](https://boards.straightdope.com/t/calculus-problems/166336/7 "2003-04-04T05:18:56Z")

</div>

Ok… now how about the other questions? 🙂

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [April 4, 2003, 9:09am UTC](https://boards.straightdope.com/t/calculus-problems/166336/8 "2003-04-04T09:09:31Z")

</div>

Sigh… why don’t you tell us what the solution set says?

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 4, 2003, 5:29pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/9 "2003-04-04T17:29:48Z")

</div>

I just got the answers from a classmate, presumably from the prof. No worked solutions.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [April 4, 2003, 7:40pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/10 "2003-04-04T19:40:13Z")

</div>

Okay, so you have it thirdhand. Then it’s all the more important that you tell us what it is. 😃 The thing is, your answer looks right to me. So I can’t tell you why you didn’t get the answer you wanted, if you don’t say what that answer is.

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 4, 2003, 8:41pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/11 "2003-04-04T20:41:10Z")

</div>

[http://iupload.net/042003/problem1-.jpg](http://iupload.net/042003/problem1-.jpg)

The answer is on the top with my work on the bottom, outlining which derivative he used the derivative operator on. What I don’t get is why he chose it to do it that way… would the answer _really_ be different if he chose to differentiate (partial y - partial v) wrt z instead of (partial x - partial y) wrt z?

And what about the second question? The answer is 2/5.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [April 4, 2003, 8:53pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/12 "2003-04-04T20:53:10Z")

</div>

Okay, I think I see what the deal is. Yes, that would be different; you can’t do it that way. It’s not a matter of choosing one or the other. The thing is, x is a function of z. y isn’t a function of z. Let’s look at that term, as an example:

d/dz(dx/dy dy/dv)

Now, y does not depend on z, and so dy/dv does not depend on z. So you can pull it out. It’s a constant. So you get this:

d/dz(dx/dy) × dy/dv

Does that make it any clearer? I’ll work on the second question while you consider that.

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 4, 2003, 9:10pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/13 "2003-04-04T21:10:37Z")

</div>

That’s just the type of explanation I was looking for on the first question. Thanks.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [April 4, 2003, 9:20pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/14 "2003-04-04T21:20:39Z")

</div>

There is probably more than one good way to do the second problem. My way of choice is implicit differentiation, but if you’ve studied another way, you should probably use that. Anyway, here’s how I did it. Do implicit differentiation on the three equations:

dx = vCos[w]du + uCos[W]dv - uvSin[w]dw  
dy = vSin[w]du + uSin[w]dv + uvCos[w]dw  
dz = udu - vdv

Since you’re holding x and z constant, you can set dx = 0 and dz = 0. This leaves you with three equations and four unknown differentials. Eliminate dv and dw. (Hint: multiply the first equation by Cos[w] and the second one by Sin[w], and add them together.) Anyway, here’s my result:

vSin[w]dy = (v[sup]2[/sup] + u[sup]2[/sup])du  
du/dy = vSin[w] / (v[sup]2[/sup] + u[sup]2[/sup])

Then just substitute the values, and you should get the correct answer.

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 4, 2003, 9:36pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/15 "2003-04-04T21:36:44Z")

</div>

Ok I gotcha. I wouldn’t really have thought to take the total differential of each variable {x,y,z}. I think we did it this way in class, but I also think that there’s a formula using Jacobians. Do you know of such a formula?

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [April 4, 2003, 9:50pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/16 "2003-04-04T21:50:20Z")

</div>

Yes. Take your Jacobian matrix, and invert it. The result will be a matrix that has the following values:

[du/dx du/dy du/dz]  
[dv/dx dv/dy dv/dz]  
[dw/dx dw/dy dw/dz]

The answer will simply be the 1,2 element.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [April 4, 2003, 9:58pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/17 "2003-04-04T21:58:31Z")

</div>

Oh, one more thing, in case you don’t have a symbolic algebra tool, and you want to avoid lots of work. For this problem, since you just want the numerical value, it’s okay to substitute (u, v, w) = (1, 2, pi/2) into the Jacobian _before_ you invert it. So you’ll get the Jacobian equal to this:

[0 &nbsp;0 -2]  
[2 &nbsp;1 &nbsp;0]  
[1 -2 &nbsp;0]

This should be much easier to invert, and will give you the same final answer.

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 4, 2003, 10:17pm UTC](https://boards.straightdope.com/t/calculus-problems/166336/18 "2003-04-04T22:17:44Z")

</div>

Ok thanks. It looks like I have some hope for my final exam :).
