Can step functions have inverse relationships?

In summary, the conversation discusses the existence and properties of inverse functions. It is mentioned that not all functions have inverses that are themselves functions, and a specific example is given for a function with no inverse. The possibility of a function having an inverse involving step functions is also brought up. The conversation concludes with a suggestion to visualize the function using a graph.
  • #1
AJKing
104
2
If a function s(t) exists, does a function t(s) always exist?

Are there functions with no inverse relationships?

Suppose

[itex]s = \int^t_a e^{u^2} du[/itex]

Can there be a t(s)?
 
Physics news on Phys.org
  • #2
Look at the trig functions for sin and cos over 0 to 2pi. They are clearly functions if inverted will map to two angles for a given sin or cos value. So the inverse is not a function.

For the sin if you restrict it 0 to pi/2 then its invertible and similarly for cos if you restrict it to 0 to pi.

http://en.wikipedia.org/wiki/Inverse_function

Try drawing a graph of e^u^2 and estimate the area under the curve and see if its invertible.
 
Last edited:
  • #3
AJKing said:
If a function s(t) exists, does a function t(s) always exist?
Let's revise your notation a bit to make things more understandable.
Suppose y = s(t) is a function. "s" is just the name of the function that maps values of t to values of y. Many functions do not have inverses that are themselves functions. A very simple example is y = f(x) = x2. Because f is not one-to-one, f does not have an inverse.
AJKing said:
Are there functions with no inverse relationships?

Suppose

[itex]s = \int^t_a e^{u^2} du[/itex]

Can there be a t(s)?
 
  • #4
Mark44 said:
A very simple example is y = f(x) = x2. Because f is not one-to-one, f does not have an inverse.

Hmm, what about a solution involving step functions?

x = u0 y1/2-(1-u0)y1/2

Wolfram visual.
 
Last edited:

1. What is the purpose of a general function?

A general function is a reusable block of code that performs a specific task. Its purpose is to make programming more efficient by allowing the same code to be used multiple times without having to write it out each time.

2. How do you declare a general function?

To declare a general function, you must use the keyword "function" followed by the function name, parentheses, and curly braces. Inside the curly braces, you can write the code that the function will execute when called.

3. What is the difference between a parameter and an argument in a general function?

A parameter is a variable that is used to define a function, while an argument is the actual value that is passed into the function when it is called. Parameters act as placeholders for the arguments that will be used in the function.

4. Can a general function return a value?

Yes, a general function can return a value using the "return" keyword. This allows the function to pass a result back to the code that called it. If no return value is specified, the function will return "undefined".

5. Can a general function call other functions?

Yes, a general function can call other functions within its code. This is known as function composition and it allows for more complex tasks to be broken down into smaller, reusable functions.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
246
  • Calculus and Beyond Homework Help
Replies
5
Views
224
  • Calculus and Beyond Homework Help
Replies
3
Views
571
  • Calculus and Beyond Homework Help
Replies
21
Views
1K
  • Calculus and Beyond Homework Help
Replies
0
Views
167
  • Calculus and Beyond Homework Help
Replies
1
Views
705
  • Calculus and Beyond Homework Help
Replies
31
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
812
  • Calculus and Beyond Homework Help
Replies
2
Views
744
Back
Top