Given f find g such that g(x)=f(x-1)

  • Thread starter krozer
  • Start date
In summary, the conversation discusses finding two complex polynomials, f and g, such that f(0)=f(-1)=1, f(1)=3, and g(x)=f(x-1). The first polynomial, f, is found using Lagrange polynomial and is defined as f(x)=x2+x+1. The second polynomial, g, can be found by replacing each "x" in f(x) with x-1. The conversation also provides hints on how to find g and suggests defining h(x)=f(x)-1 to simplify the process.
  • #1
krozer
13
0

Homework Statement


Find two complex polynomials f and g such that f(0)=f(-1)=1, f(1)=3 and g(x)=f(x-1)

2. The attempt at a solution
Using Lagrange polynomial I got f such that f(0)=f(-1)=1, f(1)=3
Such f is defined by

f(x)=x2+x+1

Now that I've found f I need to find g such that g(x)=f(x-1), but I don't have any idea of how to do that. Any hint would be appreciated.
 
Last edited:
Physics news on Phys.org
  • #2
krozer said:

Homework Statement


Find two complex polynomials f and g such that f(0)=f(-1)=1, f(1)=3 and g(x)=f(x-1)

2. The attempt at a solution
Using Lagrange polynomial I got f such that f(0)=f(-1)=1, f(1)=3
Such f is defined by

f(x)=x2+x+1

Now that I've found f I need to find g such that g(x)=f(x-1), but I don't have any idea of how to do that. Any hint would be appreciated.
Given that f(x) = x2+x+1

Find f(x-1) .
 
  • #3
You clearly know how to do some fairly complicated Calculus so surely you know how to evaluate a function! Just replace each "x" in [itex]f(x)= x^2+ x+ 12[/itex] with x- 1.
 
  • #4
Notice that if you define:
[tex]
h(x) \equiv f(x) - 1
[/tex]
then x = 0, and x = -1 are zeros of h. The simplest polynomial that can be written is:
[tex]
h(x) = A x (x + 1)
[/tex]
Then, use the fact that [itex]h(1) = f(1) - 1 = 3 - 1 = 2[/itex] to determine A. You can go back to f trivially then.

Once you have chosen a particular choice for f, finding g, as explained in the above posts, is fairly trivial (just substitute [itex]x \rightarrow x - 1[/itex], expand and simplify).
 

FAQ: Given f find g such that g(x)=f(x-1)

How do you find g(x) given f(x-1)?

To find g(x), you need to substitute x-1 for x in the equation for f(x). This will give you the equation for g(x).

Can you give an example of finding g(x) from f(x-1)?

Sure, let's say f(x) = 2x+5. To find g(x), we substitute x-1 for x in this equation. This gives us g(x) = 2(x-1)+5, which simplifies to g(x) = 2x+3.

What is the purpose of finding g(x) from f(x-1)?

The purpose is to shift the graph of f(x) one unit to the right on the x-axis. This can be useful in many mathematical and scientific applications.

Is it possible to find g(x) from f(x-1) if f(x) is not a linear equation?

Yes, it is possible. The process is the same, but the resulting equation for g(x) may be more complex depending on the original equation for f(x).

Are there any limitations or restrictions when finding g(x) from f(x-1)?

One limitation is that the equation for f(x) must be defined for all real numbers. Additionally, finding g(x) from f(x-1) may not be possible if the equation for f(x) contains functions that are not one-to-one.

Similar threads

Back
Top