Table Functions Explained: Help for Understanding

In summary, the rule for finding $g(x)$ is: g(x)=f(-x)+1, where f(x) is the function that takes a negative input and returns a positive output.
  • #1
OMGMathPLS
64
0
I do not get what is going on here. Can someone please explain? This is sohard for me to understand. thank you
View attachment 3546
 

Attachments

  • help1.PNG
    help1.PNG
    3.5 KB · Views: 60
Mathematics news on Phys.org
  • #2
Let's look at the first place where an answer is expected, that is to find $g(-2)$.

We are given the rule:

\(\displaystyle g(x)=f(-x)+1\)

Therefore, we may state:

\(\displaystyle g(-2)=f(-(-2))+1=f(2)+1=-1+1=0\)

Can you try the others in the same way?
 
  • #3
MarkFL said:
Let's look at the first place where an answer is expected, that is to find $g(-2)$.

We are given the rule:

\(\displaystyle g(x)=f(-x)+1\)

Therefore, we may state:

\(\displaystyle g(-2)=f(-(-2))+1=f(2)+1=-1+1=0\)

Can you try the others in the same way?

Ok so we're including the - we are plugging it in with the negative.
That makes more sense.
 
  • #4
OMGMathPLS said:
Ok so we're including the - we are plugging it in with the negative.
That makes more sense.

Yes, the rule:

\(\displaystyle g(x)=f(-x)+1\)

tells us to take the input to $g$, change its sign or negate it, and input it to $f$, and then add 1 to that output, and this is the output of $g$. :D
 
  • #5
so he next values I got were: 0,1,0, -1
 
  • #6
Let's look at the next one...what did you do to get 0?
 
  • #7
MarkFL said:
Let's look at the next one...what did you do to get 0?

I'm not sure why we are putting it into the (x) first and then = f(x) if we're trying to find g(x).

Because all we are using from the table is the x so why are we do we even need the f(x)?
 
  • #8
OMGMathPLS said:
I'm not sure why we are putting it into the (x) first and then = f(x) if we're trying to find g(x).

In order to find $g(x)$, we need to use the given rule:

\(\displaystyle g(x)=f(-x)+1\)

So, we do the following:

1.) Negate the input to $g$.

2.) Pass this negated input to $f$.

3.) Add 1 to the value obtained from $f$.

4.) This is the value of $g$.

So, for the second one, we find:

1.) \(\displaystyle -(-1)=1\)

2.) \(\displaystyle f(1)=2\)

3.) \(\displaystyle 2+1=3\)

4.) \(\displaystyle g(-1)=3\)

Or, as I did the first one:

\(\displaystyle g(-1)=f(-(-1))+1=f(1)+1=2+1=3\) :D
 
  • #9
MarkFL said:
In order to find $g(x)$, we need to use the given rule:

\(\displaystyle g(x)=f(-x)+1\)

So, we do the following:

1.) Negate the input to $g$.

2.) Pass this negated input to $f$.

3.) Add 1 to the value obtained from $f$.

4.) This is the value of $g$.

So, for the second one, we find:

1.) \(\displaystyle -(-1)=1\)

2.) \(\displaystyle f(1)=2\)

3.) \(\displaystyle 2+1=3\)

4.) \(\displaystyle g(-1)=3\)

Or, as I did the first one:

\(\displaystyle g(-1)=f(-(-1))+1=f(1)+1=2+1=3\) :D

Thank you
 

FAQ: Table Functions Explained: Help for Understanding

What are table functions and why are they important?

Table functions are built-in functions in programming languages that are used to manipulate data stored in tables or arrays. They are important because they allow for more efficient and organized ways of working with large amounts of data.

How do table functions work?

Table functions work by taking in input data in the form of a table or array, performing a specific operation on the data, and then returning the result in the same format. This allows for easy integration into existing data structures.

What are some common types of table functions?

Some common types of table functions include filtering functions, which allow for the selection of specific data based on certain criteria, and aggregation functions, which combine multiple data points into a single value. Other types include sorting functions, pivot functions, and join functions.

How can I use table functions in my code?

To use table functions in your code, you will need to understand the specific syntax and parameters for the function you want to use. Most programming languages have documentation or tutorials available for their built-in table functions, which can help you understand how to use them in your code.

Are there any potential drawbacks to using table functions?

While table functions can be very useful, they can also be more complex and require a deeper understanding of programming concepts. Additionally, some table functions may have limitations in terms of the types of data they can handle or the size of data they can process. It is important to thoroughly test and understand a table function before implementing it in your code.

Similar threads

Back
Top