Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Math Question 2

Author
Message
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 24th Oct 2007 12:53 Edited at: 24th Oct 2007 16:20
This is for an assignment I am doing:
I am looking for two functions F and G such that
FoG = GoF
where 'o' denotes 'composite'
where F is not the inverse function of G and vice versa

e.g. If F = x^y , G cannot be the inverse of F
I require the function values to be in the base 10 and not in Naperian logarithm form.

Please help. Chris K. Peter H. Anybody?
And I can do without the jokes about FoGGY math.
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 24th Oct 2007 14:51 Edited at: 24th Oct 2007 15:29
G(x) = x
F(x) = x

that's probably cheating isn't it... sorry too early for me right now

[edit] ... maybe i've gone crackers but this
"I am looking for two functions F and G such that
FoG = GoF"
looks alot like the definition of inverse functions to me

[edit2] the answer might be that this is impossible... but i hate choosing that because it makes me look stupid if it is possible

One man, one lawnmower, plenty of angry groundhogs.
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 24th Oct 2007 15:39
it does seem impossible but, I don't know it probably is.

and no the definition of inverse would be FoG=1 wouldn't it?

Oh wait, isn't that reciprocal.

Are they the same thing?

Your method works though lol. If they're the same then it would work...

oh **** that smells like my lunch burning

I'll ponder more upon this later

*runs off to the kitchen*

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 24th Oct 2007 15:54 Edited at: 24th Oct 2007 15:57
@Peter H
My mistake. I forgot to mention that the F and G are distinct. i.e. F <> G
I'm up the creek because I need F and G such that neither is the inverse of the other.

@DB
Yup. You're right. If G is the inverse function of F then the problem is trivial.
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 24th Oct 2007 15:57
you have no boundaries on what the functions can be?

you don't have like a limit on indices or anything?

this seems pretty impossible...

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 24th Oct 2007 15:59
Oh. And one more thing. F,G need not be a functions of a single variable. Multivariable functions are allowed.
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 24th Oct 2007 16:01 Edited at: 24th Oct 2007 16:20
@DB

How shall I put it. The problem has been driving me nuts for the past few weeks and I need it in all urgency.
I posted on some Math forums also but no one came up with a feasible solution.
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 24th Oct 2007 16:28
so F could be like 17x^y+bc^32-SQRT(a*(b/c)) or something like that? In that case, I'm not going to have a clue to be honest. And I wanted to do maths at uni, this is kind of disheartening

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 24th Oct 2007 16:37
@DB
Geeze man, go easy on yourself DB. There are some problems that are always perplexing in math. Doesn't mean you don't have to get a strong foundation in one of the most essential subjects, especially if you want to do a CS major. I would say take Math. It will take your analytical skills to the next level.
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 24th Oct 2007 17:33
Quote: "especially if you want to do a CS major"

haha mamaji worse than that I want to do a maths major, so...

but yeah sorry man I can't figure out this one. Is it just specific numbers that will work or are you searching for a general rule?

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 24th Oct 2007 19:35
I need two single or multi variable functions which satisfy the above condition of equality.
I'm personally beginning to think that maybe it is an imposssiblility, because the equality FoG = GoF is how you state the inverse theorem.
If G is the inverse function of F then
FoG = GoF - equn.(1)

So if that is a fundamental theorem, I am essentially trying to disprove it, by providing an exception to the rule.
I wonder if I would have to theoretically prove that G need NOT be an inverse of F, and yet equn.(1) would hold true.
It would be easier than groping in the dark with a trial and error approach trying to find F and G when it is theoretically an impossiblity. It might just save me a lot of effort.
But then providing a theroetical proof has two caveats
1) I would actually have to arrive at a contradiction to disprove the above theorem
2) Even after disproving it, I wouldn't be sure that my proof is accurate unless I had confirmation from others.
So until then I might arrive at a solution by random trial and error.
I'm stuck
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 24th Oct 2007 19:40
F = x+2
G = x+1

I'm probably misunderstanding the question though! If you could put it in psuedo code or something I might understand

mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 24th Oct 2007 23:14 Edited at: 24th Oct 2007 23:21
@Diggsey

Yes. This is because addition is associative for real numbers.
i.e. (a + x) + b = a + (x + b)
Similar to exponentiation being commutative
i.e. x^mn = x^nm
which leads us to
F = x^m
G = x^n
as another possible solution also satisfying the equality FoG = GoF

The fault is mine for not explaining the reason I need the above equality.
I need to find G such that FoGoF = G
This is only possible if I can find the function G that satisfies
FoG = GoF and G must not be the inverse of F
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 00:57
Ok. Thanks all for your input. I think I'm pretty close to the solution, though not too close. But I think I have a handle on the answer. Ooh my head hurts.
Sopo the tocho
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 25th Oct 2007 01:00 Edited at: 25th Oct 2007 01:00
beware, threads can get locked for ask questions...


Intel Pentium core 2 duo T6600 2,6 mhz 4mb, 4 gb ram 600 mhz ddr2
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 01:06
huh
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 01:14
sopo just had a thread locked. I don't think this one will be though, because sopo's could have been asked to much better effect elsewhere and was to be honest a bit rubbish.

http://jamesmason01.googlepages.com/index.htm
Sopo the tocho
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 25th Oct 2007 01:48 Edited at: 25th Oct 2007 04:17
erased 33

erased
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 25th Oct 2007 02:39
Sopo, the mods aren't associated with the company, they keep the place tidy. The mods decide a clean up is necessary to get things back into shape and threads are getting locked that they feel don't need to be here as there a places where certain threads are much more relevant.

Also, please don't be vulgar or rude - heck don't direct those comments at people, for one thing there are minors on the forum and somebody can easily be offended.

And please don't take the lock personally, it's not a personal thing.



Chances are you're going to be told off, slapped on the wrists or something.

I love Nancy DrewG, but not insert brain here
Jimpo
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location:
Posted: 25th Oct 2007 03:00
Quote: "FoGoF = G"

Why wouldn't something simple like Diggsey said work?
F=x
G=x+1

mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 14:08 Edited at: 25th Oct 2007 15:28
Quote: "Yes. This is because addition is associative for real numbers.
i.e. (a + x) + b = a + (x + b)"


Yes, it would. As I mentioned earlier.
For F = x
G = x + 1
a = 0 and b = 1 in the above equation on associativity
Also, F = x is an identity function over the composite operation(and Peter did suggest it in an earlier post)
i.e. GoF = G which is not suitable for the problem at hand.

I am looking for a an exponential function to the base 10 (although not a strict exponentiation) as I mentioned in the first post and although I suggested a solution
F = x^m
G = x^n
they are not identical, for the purpose of the problem I have. They are similar functions of the type x^y
And though these don't work for FoGoF = G - equn. 2
I have an exponential function which does work for equn. 2 but then fails to satisfy the condition that G cannot be a similar exponentiation function as F
In effect I would literally have to post all my working proofs and the requirements and specifications thereof which seems a bit cumbersome. I do seem to have found a function G that is not similar to F(i.e. not an exponentiation) and yet satisfies the requirement of equn. 2
Anyways, thanks for all the inputs and the help.
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 16:01
how's it an exponential function with a base? isn't that a logarithmic function?

x^m has no base 10 in

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 16:09 Edited at: 25th Oct 2007 16:10
Quote: "I am looking for a an exponential function to the base 10 (although not a strict exponentiation)"


Yup. It is not strictly exponential, and has another part which is to be taken to the base 10. Can't afford to have the Naperian e creeping in anywhere in the original function.
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 25th Oct 2007 16:20
What was wrong with f( x ) = x + 1 and g( x ) = x + 2?

fg( x ) = gf( x ) = x + 3...

-= Out here in the fields, I fight for my meals =-
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 16:51 Edited at: 25th Oct 2007 16:52
He added that FoGoF = G

x+4 =/= x+2


EDIT: and is it just your natural aversion to ln and e^x or is it not supposed to be those?

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 17:05
Geeze DB, get off my back.
And no I don't have an aversion to e. I love it.
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 17:06
hahaha sorry man just trying to help. I'll be quiet now.

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 17:19
Hey James, just saw your photo on tgcapollo and you need a haircut.
Of course I should be the last one to mention that because I'm always in need of one myself.
And it's irritating when you can't post for a week. Gotta wait for a week...
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 17:31
SHHH everyone tells me that. One of the main reasons I don't do it.

It's my 18th on sunday though and one of my mates is convinced that to celebrate he's going to shave my head. Someone's going to get really hurt if he tries. Probably me, 'cos he plays rugby, and we'll both be VERY drunk by that point so we won't be holding back if we start scrapping.

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 17:35
lol. I'm lucky I don't have any violent mates.
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 25th Oct 2007 17:58
Quote: "FoGoF = G"


Ok then you can have f( x ) = abs( x ) and g( x ) = x^2

-= Out here in the fields, I fight for my meals =-
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 18:08 Edited at: 25th Oct 2007 18:08
and both equations need indices, I think.

http://jamesmason01.googlepages.com/index.htm
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 25th Oct 2007 18:11
?!?[/b][/i][b][i][/b][/i][b][i]

-= Out here in the fields, I fight for my meals =-
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 18:13
Quote: "I am looking for a an exponential function to the base 10 (although not a strict exponentiation) as I mentioned in the first post and although I suggested a solution
F = x^m
G = x^n
they are not identical, for the purpose of the problem I have. They are similar functions of the type x^y"



Just out of interest, what is the actual question?

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 18:27
James
I thought you agreed to get off my back. You liar.

Chris
I hate repeating myself but I don't need an identity function over the composite operation.
abs(x) is the same as x , except that x can take positive or negative values.

I hope I can rest in peace now, cause I already have the solution I was looking for.
AAAARRRGHHHH! I can see Chris, Peter and James chasing me with a weapon that seriously resembles a math question. (*I wake up in a cold sweat. Its only a nightmare. Falls asleep again*) Peace shall finally be mine
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 18:29
Hahaha I didn't know you actually had the answer.

Care to share it?

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 18:38
Well, ummmm, aahhhh.....

Dang, I knew it was you James. I was wondering who the guy with the masked face was. I quickly grab the math question from James hand and turn it around. He runs , but cannot escape...
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 19:31
AGHHHH

impaled by mine own sword

http://jamesmason01.googlepages.com/index.htm
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 25th Oct 2007 20:14 Edited at: 25th Oct 2007 20:18
What's your solution then? 1/x and x^m?

-= Out here in the fields, I fight for my meals =-
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 23:43
Quote: "What's your solution then? 1/x and x^m?"


Nope. I already mentioned I didn't want the functions x^m and x^n.
Your first function can be obtained from x^n where n = -1
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 23:47
you DIDN'T want them? I thought that was what you were asking for :s

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 23:53
James, get off my back. Isn't it enough that you appear in my nightmares
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 23:54
I'm NEVER GOING TO STOP! seriously... NEVER!

http://jamesmason01.googlepages.com/index.htm
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 25th Oct 2007 23:55
So what is your solution? You seem to be changing the question quite a lot... what is your answer? You said you already had one...

-= Out here in the fields, I fight for my meals =-
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 25th Oct 2007 23:56
See - me and chris k are both going to bug the hell out of you until you tell us

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Oct 2007 23:58
That's all you're gonna get outta me. Until you cut your hair.
And I cut mine. Note that the second condition is not under your control James.
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 26th Oct 2007 00:04
Harsh. Considering all that time I wasted acting like I could possibly be helpful...

http://jamesmason01.googlepages.com/index.htm
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 26th Oct 2007 00:07
Geeze, I'm not trying to be harsh. It's just that this is like a very secretive thing I'm working on and...
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 26th Oct 2007 02:06
"and..." if you don't tell us i will haunt your dreams forever.

One man, one lawnmower, plenty of angry groundhogs.
mamaji4
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 26th Oct 2007 09:32
*shudder.. shudder*
Oh Lord Peter, have mercy on thy slave, I beseech thee...
I shalt stand on yon pulpit and ne'er again henceforth, heretofore and fore'ermore spake in the forked tongue that ist mathematicaah...

Login to post a reply

Server time is: 2024-11-19 13:38:41
Your offset time is: 2024-11-19 13:38:41