Need to create a function in Precalc

  • Thread starter Thread starter suej173
  • Start date Start date
  • Tags Tags
    Function Precalc
AI Thread Summary
The discussion revolves around creating a function in precalculus that satisfies f(a)=b and f(b)=a, where a and b correspond to the first letters of a person's name and surname. The simplest solution suggested is a linear function that connects the two points (19, 10) and (10, 19) on a coordinate plane. Participants emphasize that the function must be its own inverse, meaning f(f(x))=x. There is a focus on ensuring the function is expressed in the form y=f(x). The conversation highlights the challenge of formulating a function with limited information while seeking clarity on the requirements.
suej173
Messages
1
Reaction score
0
Need to create a function in Precalc...

Homework Statement


Let a be the # corresponding to the first letter of your name in the alphabet. Let b be the # corresponding to the first letter of your last name. Come up with a function f such that f(a)=b and f(b)=a (you need to write the answer as y=f(x)).

Homework Equations


My #'s would be f(19)=10 and f(10)=19

The Attempt at a Solution


I would just like some help starting off...I feel a bit lost. Thanks for your time!
 
Physics news on Phys.org


Hi suej173!

There is obviously the trivial function, but assuming you want more than that, then:

If a and b are given, then as you only have 2 points to work with, the simplest solution would be the function describing a straight line through these 2 points. Does this help? :smile:

If you want y to be a function of a and b also (which I'm guessing is what you're after), then f(x,a,b) is a bit more complicated. Hmmm, I'll think about that one.
 
Last edited:


I agree with oay, a linear equation would be the quickest and simplest way to do this. The two necessary parts to your function are that f(19) = 10 and f(10) = 19. If your equation is in the form f(x) = y, then you can think of f(19) = 10 as (19, 10) on a coordinate plane, where 19 is the x-coordinate and 10 is the y-coordinate. What about the other requirement, f(10) = 19? What would be its corresponding point on the coordinate plane?

If you've got two points whose x and y coordinates you know, can you make a function out of that? Hope that helps.
 


suej173 said:

Homework Statement


Let a be the # corresponding to the first letter of your name in the alphabet. Let b be the # corresponding to the first letter of your last name. Come up with a function f such that f(a)=b and f(b)=a (you need to write the answer as y=f(x)).

Homework Equations


My #'s would be f(19)=10 and f(10)=19

The Attempt at a Solution


I would just like some help starting off...I feel a bit lost. Thanks for your time!

If you need y = f(x) and x = f(y), then you would have x = f(f(x)) so that f is a function which is it's own inverse .
 


oay said:
If you want y to be a function of a and b also (which I'm guessing is what you're after), then f(x,a,b) is a bit more complicated. Hmmm, I'll think about that one.
D'oh! :redface: I can't believe I wrote this! I can only put it down to the fact that it was very late at the time (UK time). Sorry!
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Replies
3
Views
2K
Replies
3
Views
2K
Replies
7
Views
2K
Replies
4
Views
2K
Replies
3
Views
26K
Replies
1
Views
2K
Back
Top