Calculating g(x) for Y=f(x) Passing Through Points

  • MHB
  • Thread starter AndreArgo
  • Start date
  • Tags
    Functions
In summary, we have a function Y=f(x) that passes through 5 points and a second function g(x)=2f(x-1). We are asked to calculate g(0), g(1), g(2), and g(3). Using the given points, we can determine that g(0)=6.
  • #1
AndreArgo
2
0
Y=f(x)
which passes through points:
(-1,3) and (0,2) and (1,0) and (2,1) and (3,5)
second function is defined: g(x)=2f(x-1)

Calculate g(0)
Calculate g(1)
Calculate g(2)
Calculate g(3)
 
Mathematics news on Phys.org
  • #2
AndreArgo said:
Y=f(x)
which passes through points:
(-1,3) and (0,2) and (1,0) and (2,1) and (3,5)
second function is defined: g(x)=2f(x-1)

Calculate g(0)
Calculate g(1)
Calculate g(2)
Calculate g(3)

Hello, and welcome to MHB! (Wave)

We are given:

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

We are also given 5 points in the form:

\(\displaystyle (x,f(x))\)

And so:

\(\displaystyle g(0)=2f(0-1)=2f(-1)=2\cdot3=6\)

Does that make sense? Can you continue?
 
  • #3
MarkFL said:
Hello, and welcome to MHB! (Wave)

We are given:

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

We are also given 5 points in the form:

\(\displaystyle (x,f(x))\)

And so:

\(\displaystyle g(0)=2f(0-1)=2f(-1)=2\cdot3=6\)

Does that make sense? Can you continue?
Just figured it out. Thank you Mark
 

FAQ: Calculating g(x) for Y=f(x) Passing Through Points

How do I calculate g(x) for a given function f(x) passing through two specific points?

To calculate g(x) for a given function f(x) passing through two points, you can use the slope formula: g(x) = (y2-y1)/(x2-x1), where (x1, y1) and (x2, y2) are the coordinates of the two points. You can then substitute the values for x and y from the two points into the formula to find the value of g(x).

Can I calculate g(x) for a function passing through more than two points?

Yes, you can calculate g(x) for a function passing through more than two points. You will need to first find the slope between each pair of points, and then take the average of these slopes to get the overall slope. You can then use this slope value to calculate g(x) for any given value of x.

What if the function f(x) is not a straight line passing through the points?

If the function f(x) is not a straight line passing through the points, you will not be able to use the slope formula to calculate g(x). Instead, you will need to use a curve fitting method, such as regression analysis, to find an equation that closely fits the given points. You can then use this equation to calculate g(x) for any value of x.

Is there a specific order in which I need to input the points when calculating g(x)?

No, there is no specific order in which you need to input the points when calculating g(x). As long as you correctly match the x and y values for each point, the result will be the same. However, it is always a good practice to input the points in a consistent and organized manner.

Can I use the same method to calculate g(x) for any type of function?

Yes, you can use the same method to calculate g(x) for any type of function, as long as the function passes through the given points. However, for non-linear functions, you will need to use a curve fitting method to find the equation of the curve passing through the points before calculating g(x).

Similar threads

Replies
9
Views
2K
Replies
5
Views
1K
Replies
2
Views
1K
Replies
7
Views
2K
Replies
2
Views
1K
Replies
3
Views
1K
Replies
2
Views
895
Back
Top