|
-
Jun 12th, 2004, 03:30 PM
#1
Thread Starter
Fanatic Member
Solve for x in log(x)*sin(x) ???
Really don't know how to get this one. Its been a while since I have been in maths stuff. Your help would be appreciated
-
Jun 12th, 2004, 03:46 PM
#2
Not sure if I got this one...
doesn't it have to be equal to something to be possible to find X?
log(x)*sin(x) = ?
-
Jun 12th, 2004, 04:45 PM
#3
Thread Starter
Fanatic Member
f(x) = log(x)*sin(x)
so if y = f(x), then what would the value of x be given a particular value of y...
This is a sine wave that grows in a logarithmic fashion....
-
Jun 12th, 2004, 10:03 PM
#4
Fanatic Member
You can't "solve" a function. You can only graph it. You said it yourself, it's a sine wave that grows logarythmacilly (ok, the spelling went off at the end there(
Don't pay attention to this signature, it's contradictory.
-
Jun 13th, 2004, 07:10 AM
#5
Thread Starter
Fanatic Member
With all respect due, a function or any product or sum thereof can be represented on a 2D set of axes. Just like in the graph of
y = m*x + c (straight line)
a particular value of y exists for a particular value of x. You can also reverse the situation and say that a particular value of x exists for a particular value of y.
Hence it is possible to create an expression of y = log(x)*sin(x) in terms of x. f(y) = ???
I am saying that, if y = 5, then what is the value of x at that point?
If you break things up a bit and think about what this waveform would look like for a single cycle, it would be a single sine that has an increasing amplitude that increases in a logarithmic fashion. It must surely be possible to find an expression in terms of x that represents y...
-
Jun 13th, 2004, 11:00 AM
#6
Lively Member
No such expression exists.
You'd run into the same problem if you tried to solve
y = f(x) = x - sin(x)
for x...
-
Jun 16th, 2004, 12:08 PM
#7
Fanatic Member
your best bet is try some numerical technique... assuming this is used in a computer setting
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Jun 16th, 2004, 04:33 PM
#8
Fanatic Member
This is the sortof thing you need to solve with a loop (since there are infinite answers at any one point) with a lower limit that increases as you go. Basicly, your equation is probably going to cover a page...
Don't pay attention to this signature, it's contradictory.
-
Jun 16th, 2004, 05:07 PM
#9
Fanatic Member
You can't "solve" a function. You can only graph it. You said it yourself, it's a sine wave that grows logarythmacilly (ok, the spelling went off at the end there(
You could solve and equation for x. For example, if we had the equation:
y = m*x+b
we could solve this for x, giving us:
(y - b) / m = x
I tried running the equation through my calculator, and I could not get a solution.
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Jun 16th, 2004, 05:20 PM
#10
Fanatic Member
I said in my second post that it would be a "weird" formula.
For example, when I put Solve(Y = sin(x), x) into my calculator (isolate x), it doesn't return arcsin(Y), it gives me back something like:
x = (-180*(pi*arcsin(y)/180-(2*@n28+1)*pi))/Pi and y <= 1 and y >= -1 or (same basic thing)
The key here is the (2*@n28+1) where (I think) @n represents all whole numbers.
Don't pay attention to this signature, it's contradictory.
-
Jun 16th, 2004, 05:30 PM
#11
Fanatic Member
Ok... I thought that you meant that we could not solve any equation for x.
I did not say that my calculator gave me a weird formula for log(x)*sin(x). I said that my calculator gave me nothing back (as in it cannot solve for x.)
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Jun 16th, 2004, 05:39 PM
#12
Fanatic Member
Mine can't either
All it gives back is:
ln(x)*sin(x) = ln(10)*y
Wow, it converted log to ln, then moved the division to the other side.
Don't pay attention to this signature, it's contradictory.
-
Jun 18th, 2004, 01:54 PM
#13
If you knew the number of decimal places you need (and the range of values, though modulus would take care of that), you could use a finite number of terms in the Taylor series for sine and attempt to solve that way. The calculator might be able to help more then.
The time you enjoy wasting is not wasted time.
Bertrand Russell
<- Remember to rate posts you find helpful.
-
Jun 20th, 2004, 05:50 PM
#14
Thread Starter
Fanatic Member
Thanks for your responses. It seems like numerical methods are the way then which is OK if a machine is going to do the calculations. It seems that our "normal" mathematics has a few inabilites when trying to derive solutions such as these
-
Jun 28th, 2004, 04:13 AM
#15
As some folks have pointed out it's not possible to reverse this equation by analytic methods, therefore numerical methods are the only way (so what?)
So you must find the zero(s) of
log(x)*sin(x) - y = 0
for a particular value of y.
Numerical methods usually rely on choosing an approppriate initial value for x and repeatedly applying a recursive algorithm whereby new values are found for x that may or may not converge. One thing to bear in mind is, because sin(x) has infinite zeors, so will your equation, so that depending on the particular choice of the initial values you'll get different solutions.
For this equation I would try a scheme like this:
1) Split your equation into 2, for instance:
f(x) = log(x) - y
g(x) = sin(x)
2) Select an initial value for x, (call it x0)
3) Substitute x0 into g(x), i.e., find g(x0) = sin(x0)
4) Use this value as f(x) and calculate x2 such that
f(x1) = log(x2) - y
5) Calculate g(x2)
6) If abs(x2 - x1) < epsilon you're done (epsilon is the accuracy you want to achieve). Otherwise go to step 4 and so on.
Last edited by krtxmrtz; Jun 28th, 2004 at 04:36 AM.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|