Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4

Author Topic: The New Math Help Thread  (Read 5365 times)

Another

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #15 on: September 27, 2012, 03:19:35 am »

Let f2(y)=integral(csc(x) from 1 to y).
f2(y)=-ln(csc(y)+cot(y))+ln(csc(1)+cot(1)).

integral(csc(x) from 1 to y) can only equal y at points y0 that solve equation f2(y0)=y0. Numerically y0=2.95069285315252.

f(x)=y0 independent of x satisfies f(x)=integral of csc(x) from 1 to f(x) for all x.

So f(pi)=2.95069285315252.
« Last Edit: September 27, 2012, 04:19:16 am by Another »
Logged

da_nang

  • Bay Watcher
  • Argonian Overlord
    • View Profile
Re: The New Math Help Thread
« Reply #16 on: September 27, 2012, 03:41:46 am »

So, let's define a monster function:

Let f(x) equal the integral of csc(x) from 1 to f(x). Find f(pi).

f(x) = 1f(x)csc(x)dx = ln(|tan(f(x)/2)|) - ln(tan(0.5)), let f(x) = y

y = ln(|tan(y/2)|) - ln(tan(0.5)) = ln(|tan(y/2)|/tan(0.5))
|tan(y/2)|/tan(0.5) = e^(y)
|tan(y/2)| = tan(0.5)*e^(y)

for π*n < y/2 < π/2 + π*n ⇔ 2π*n < y < π + 2π*n :
tan(y/2) = tan(0.5)*e^(y)

for π*n - π/2 < y/2 < π*n ⇔ 2π*n - π < y < 2π*n :
tan(y/2) = -tan(0.5)*e^(y)

Now solve for the roots, which I can only do numerically. However, since the tangent function is periodic, there will be an infinite number of roots. Notice though that the negative root pairs per period will be spaced closer to each other as the exponential function goes to zero, while the positive root pairs will be spaced further from each other as the exponential function goes to infinity. Thus we could approximate the negative roots to be a number close to 2π*n (but never equal) for negative integer n, and the positive roots to be a number close to π + 2π*n (but never equal) for positive integer n.

Because of that, I'll focus on the roots closer to 0.
1. Let z(y) = tan(y/2) - tan(0.5)*e^(y). z'(y) = (tan2(y/2) + 1)/2 - tan(0.5)*e^(y)

Newton's method: yn+1 = yn - z(yn)/z'(yn), 0 < yn < π
y0 = 2
y ≈ 2.95069

2. Let w(y) = tan(y/2) + tan(0.5)*e^(y). w'(y) = (tan2(y/2) + 1)/2 + tan(0.5)*e^(y)
yn+1 = yn - w(yn)/w'(yn), -π < yn < 0
y0 = -2
y ≈ -0.58878

Now you might think I'm finished, but there's one itty bitty problem. Cosecant is undefined for 2π*n for any integer n. y = 2.95069 is currently the only root that doesn't cross that singularity point. At the moment, I can for certain say that root is valid. Other roots need to be examined. However, approximating the original problem for y = f(x) = -0.58878:
1-0,58878csc(x)dx = --0,588781csc(x)dx ≈ --0,58878-0.00001csc(x)dx -0.000011csc(x)dx ≈ -0.58878
Thus it should hold approximately for f(x) = -0.58878, possibly for all roots, but that is left for the reader. :P

So, through this crazy analysis, I would say that f(x) is multivalued (although the value of x doesn't matter), but f(x) = 2.95069 can probably be seen as the principal value. Thus f(π) = 2.95069
« Last Edit: September 27, 2012, 03:45:42 am by da_nang »
Logged
"Deliver yesterday, code today, think tomorrow."
Ceterum censeo Unionem Europaeam esse delendam.
Future supplanter of humanity.

Darvi

  • Bay Watcher
  • <Cript> Darvi is my wifi.
    • View Profile
Re: The New Math Help Thread
« Reply #17 on: September 27, 2012, 03:42:24 am »

f(x) = 1xcsc(x)dx
/fixed

Wait no I misread the original statement. Nevermind.
Logged

ed boy

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #18 on: September 27, 2012, 04:39:26 am »

So, let's define a monster function:

Let f(x) equal the integral of csc(x) from 1 to f(x). Find f(pi).
I've we're interpreting what you said literally, then the answer is infinity (or, more accurately, complex infinity).
However, if you mean then the other answers become relevant.
Logged

Grek

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #19 on: September 27, 2012, 06:41:51 am »

What I mean is

f(x) = 1111111..^.. csc(x) dxcsc(x) dxcsc(x) dxcsc(x) dxcsc(x) dxcsc(x) dx csc(x) dx

for an infinitely tall tower of integrals on top and for x=π
Logged

ed boy

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #20 on: September 27, 2012, 07:26:42 am »

Well, that's not a mathematical definition of a function. You have to be very careful when defining a function that involves infinity, or doing something infinitely many times. Infinity is not a number, and you cannot normally treat it as one (there are some cases where you can, but these are few and you have to be very careful in these situations). What you have to do instead is define it for some arbitrary parameter, then see what happens as this parameter gets extremely large.

You can define a sequence of functions such that (you can't use as the variable being integrated over and the limit, that's why I'm using y), but the behaviour as n becomes arbitrarily large depends on what is, which is not defined.
Logged

Another

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #21 on: September 27, 2012, 07:46:06 am »

Infinitely tall towers can be sometimes greatly simplified by using recursion and an additional variable/function/operator. In your case infinitely tall tower minus its lowest floor is equal to the whole tower, so all the upper floors could be substituted for an expression that should be equal to the whole tower. (While it is understandable what you mean, but variables over which integration is performed sort of "die" in each corresponding integration, so it is better to name them different from each other and from the variables in the result; like x1, x2, ...,xn)

For x=pi  csc(x) is not defined or infinity, but the recursive functional definition of f(x) above is fine for all x. (It is possible to define a function in such a way that it would be undefined for all x).

If you want some kind of limit for your tower, then you have to define how that limit should be approached. (Limits may end at infinities but can not start at infinitely remote step and the value of the limit may change depending on the approach trajectory in some cases.)
Logged

Grek

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #22 on: September 27, 2012, 11:00:09 am »

so all the upper floors could be substituted for an expression that should be equal to the whole tower.

Precisely. The original statement of the problem was f(x) = 1f(x) csc(x)dx, which is equivilent to 11f(x) csc(x)dx csc(x)dx and so so on and so forth, allowing you to expand or contract the tower of integration as far up or down as you like.

The entire point of the exercise is to ask "What happens if we have the integral of a function be a limit in its own integration?"
Logged

ed boy

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #23 on: September 27, 2012, 11:54:37 am »

so all the upper floors could be substituted for an expression that should be equal to the whole tower.

Precisely. The original statement of the problem was f(x) = 1f(x) csc(x)dx, which is equivilent to 11f(x) csc(x)dx csc(x)dx and so so on and so forth, allowing you to expand or contract the tower of integration as far up or down as you like.
Or more accurately, the integral has that property if it exists. Whether or not it exists is something that needs to be determined.

The entire point of the exercise is to ask "What happens if we have the integral of a function be a limit in its own integration?"
In that case, you have to go into integration theory, and it becomes a lot more complicated, and it becomes dependent on what theory of integration one is using, so an answer can't really be given until you specify which theory of integration we are working with.
Logged

Another

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #24 on: September 28, 2012, 06:39:57 am »


The entire point of the exercise is to ask "What happens if we have the integral of a function be a limit in its own integration?"

It is easy to see that in total majority of cases either f(x)=const will be a solution or there will be no valid functions. In some cases there will be infinitely many constant solutions and in some degenerate cases any function could be a solution.

If you want something that will be non-trivial in the majority of cases - look at things like f(x)=integral(g(x,y)dy,a,f(x)). Of course it will just boil down to an algebraic equation f(x)=G(x, f(x))-G(x,a), where G(x,y) - antiderivative of g(x,y) with respect to y.

If you want cases where integration is essential - put the unknown function under the integral. Take a look here http://en.wikipedia.org/wiki/Integral_equation
Logged

Simmura McCrea

  • Bay Watcher
    • View Profile
    • My Steam profile
Re: The New Math Help Thread
« Reply #25 on: October 01, 2012, 10:55:34 am »

1. How do you differentiate 1/ln(x)? Wolfram alpha says you get -1/xln^2(x) but I've no idea how.
2. How do you simplify -x^2 - y^2 where x = rcosz and y = rsinz? Wolfram alpha says -r^2 but I get -2r^2.

EDIT: Ahah, got the first one. Chain rule. Derp.

EDIT2: Got the second one too. Need to think more before asking for help.
« Last Edit: October 01, 2012, 11:06:04 am by Simmura McCrea »
Logged

palsch

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #26 on: October 01, 2012, 11:07:19 am »

Ah, nevermind. Didn't show the edit in the preview.
Spoiler: redundant now (click to show/hide)
Logged

rutsber

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #27 on: October 01, 2012, 05:30:18 pm »

I had a question something like this on a quiz in Precalculus today:
What would be the height and radius of a cylinder that has a volume of 36 in^3, with the least surface area?

We were supposed to enter it in a graphing calculator and find the lowest point, but to do that you need to get rid of the variable height by solving for it. I got the correct answer by plugging in a few values, which gave me a height of 4 and a radius of 1.69 in.. Can anyone help me figure out what the equation to enter into the calculator would be? It doesn't particular matter now, but I would like to know how to do it for the future. My teacher wrote the equations for the volume and surface area of a cylinder on the board, so it has something to do with that.
Logged
Gave me an idea. I'm gonna add the milkable tag to the male minotaur. MMMMmmm minotaur cheese.
A loud angry voice and instinct. "FUCK OFF URIST THIS TABLE IS MINE!"

Another

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #28 on: October 01, 2012, 06:33:14 pm »

Your volume is fixed, so that is an equation. Every simple equation is a way to get rid of 1 variable. If you want to get rid of height - express it from V=pi*r^2*h and substitute resulting expression for h into formula for surface area (S=2pi*r^2+2pi*r*h). It seems like you know the rest.
Logged

rutsber

  • Bay Watcher
    • View Profile
Re: The New Math Help Thread
« Reply #29 on: October 01, 2012, 08:07:49 pm »

Oh I see. I was trying to get height from the equation for surface area, which was throwing me off. Thanks for the help.
Logged
Gave me an idea. I'm gonna add the milkable tag to the male minotaur. MMMMmmm minotaur cheese.
A loud angry voice and instinct. "FUCK OFF URIST THIS TABLE IS MINE!"
Pages: 1 [2] 3 4