Log in

View Full Version : Math Quiz 5


Ether
28-10-2014, 13:04
This one requires multiple skills and tools, including calculus.

Given:

1) y = b - a*x2 (b>0, a>0, y>=0)

2) the total length of the curve is 10

Problem:

Find the value of b which maximizes the closed area between the curve and the x axis.

Bryce Paputa
29-10-2014, 00:17
Well (I think) I've got (2 sqrt(4(ab)^2 + ab) + arcsinh(2 sqrt(ab))) / (2a) = 10 from the arc length restriction, but I have no idea how to get that in terms of either a or b. I'm pretty tired, so I'll take another look tomorrow sometime not after midnight. Once you have a nice relationship with a as a function of b or vice versa it should be easy to optimize. Maybe a nice function doesn't exist though, not sure.

Also, it's pretty easy to get a as a function of ab, I'll have to think about if that's actually helpful though. Might be able to get the inverse of it.

Bryce Paputa
29-10-2014, 17:49
Ok, next I defined a variable c=ab, and got a as a function of c using the arc length. I also got area as a function of c. Then, because the derivative of the area is some insanely long expression, I put it into my CAS and got the answer ab = 1.515, a=.817 and b=1.853.

EDIT: somewhere I lost a factor of two, the actual answer is:
a=.626, b=4.06

Ether
29-10-2014, 18:39
a=.817 and b=1.853

Plug those numbers into your arc length expression and see if you get "10".



EDIT: somewhere I lost a factor of two, the actual answer is:
a=.626, b=4.06

Plug those numbers into your area expression and tell me what you get.

Bryce Paputa
29-10-2014, 18:57
12.927. Also noticed that, approximately, a*sqrt(a) = 1/b * sqrt(b). Not sure if that's a coincidence or if figuring that out gives an easier way to solve the problem.

Ether
29-10-2014, 19:07
12.927

Double-check your area formula.

If you're sure it's correct, please post it.

Bryce Paputa
29-10-2014, 19:25
Nope, it was wrong. Correct area, a and b are
a=.285, b=3.34, area = 15.2

Ether
29-10-2014, 19:50
Nope, it was wrong. Correct area, a and b are
a=.285, b=3.34, area = 15.2

Nice job.

Want some reps? Please post your work and explain each step.

Bryce Paputa
29-10-2014, 20:14
Here's how I did it: https://docs.google.com/document/d/1bdR0C8U9UqU1sqlJego0XTq0KU2-q4AaXTiEgMtOk-w/edit?usp=sharing

Ether
29-10-2014, 22:20
Here's how I did it: https://docs.google.com/document/d/1bdR0C8U9UqU1sqlJego0XTq0KU2-q4AaXTiEgMtOk-w/edit?usp=sharing

Very interesting approach.

On page2 of the Google doc you say "Assume dR/dc=0, Solve for c"... But I don't see dR/dc anywhere, and I don't see you setting dR/dc=0 and solving analytically for c.

It looks like you gave a(c), b(c), and R(c) to desmos, and let it figure out dR/dc (numerically?) and find the zero crossing to get the desired value of c. Yes? I'm not familiar with the desmos calculator so I'm guessing.

If you would add just a bit more explanation to the Google doc for the benefit of future readers that would be most helpful.

Bryce Paputa
29-10-2014, 22:28
Very interesting approach.

On page2 of the Google doc you say "Assume dR/dc=0, Solve for c"... But I don't see dR/dc anywhere, and I don't see you setting dR/dc=0 and solving analytically for c.

It looks like you gave a(c), b(c), and R(c) to desmos, and let it figure out dR/dc (numerically?) and find the zero crossing to get the desired value of c. Yes? I'm not familiar with the desmos calculator so I'm guessing.

If you would add just a bit more explanation to the Google doc for the benefit of future readers that would be most helpful.


That's correct, I did it numerically with the calculator. The Google doc now clarifies this. I'll look into an analytic solution.

Ether
29-10-2014, 22:39
I'll look into an analytic solution.

It may not exist. My CAS choked on it.

Ether
29-10-2014, 23:01
It may not exist. My CAS choked on it.

Using your R(c) method, a numerical root finder (http://www.chiefdelphi.com/forums/attachment.php?attachmentid=17422&stc=1&d=1414637920) quickly converges to a precise value for c.

But you can get the same result without differentiating R(c), by simply plotting R(c) and locating the extremum (http://www.chiefdelphi.com/forums/attachment.php?attachmentid=17423&stc=1&d=1414637920).

Bryce Paputa
29-10-2014, 23:09
I get 3 arcsinh(2 sqrt(c)) * sqrt(4c^2+c) = 2c+8c^2. I doubt there is a nice closed form of this.

Ether
29-10-2014, 23:22
For completeness, here's how to solve the problem using constrained nonlinear optimization.

It's a bit easier to set up. All you need is the length and area as a function of a and b.

The area is the objective (to be maximized), and the length is a constraint on the values of a and b.

Ether
30-10-2014, 10:13
Extra credit:

What is wrong with this (http://www.chiefdelphi.com/forums/attachment.php?attachmentid=17431&stc=1&d=1414678421) method?

Ether
03-11-2014, 18:39
Extra credit:

What is wrong with this (http://www.chiefdelphi.com/forums/attachment.php?attachmentid=17431&stc=1&d=1414678421) method?

It gives the correct answer (http://www.chiefdelphi.com/forums/attachment.php?attachmentid=17444&stc=1&d=1415057936)... but what are the pros and cons compared to this (http://www.chiefdelphi.com/forums/showpost.php?p=1406383&postcount=15) method?

Ether
06-11-2014, 14:16
It gives the correct answer (http://www.chiefdelphi.com/forums/attachment.php?attachmentid=17444&stc=1&d=1415057936)... but what are the pros and cons compared to this (http://www.chiefdelphi.com/forums/showpost.php?p=1406383&postcount=15) method?

Any college students out there taking a course in numerical methods?

Ether
08-11-2014, 09:51
Any college students out there taking a course in numerical methods?

... or multivariate calculus?