Calculating g(f(5)) for Composite Functions

  • Thread starter Thread starter ghostbuster25
  • Start date Start date
  • Tags Tags
    Composite Functions
AI Thread Summary
To calculate g(f(5)), first evaluate f(5) using the function f(x) = x^2 - 3x, which results in 10. Then, apply this value to g(x) = 8 + 2x - x^2, yielding g(10) = -72. The confusion arises from the domain restriction, which states that x must be greater than or equal to 1, not the output of g. Therefore, while g(10) is valid mathematically, it does not meet the domain requirement for x in g. Understanding this distinction clarifies the calculation process.
ghostbuster25
Messages
99
Reaction score
0
Im looking for g(f(5))

where f(x) = X^2 - 3x

and g(x) = 8 + 2x - x^2 xER and x is greater than or equal to 1

I have first found f(5)
(5)^2-3(5)
which equals 10

However when i do g(10)
8+2(10)-(10)^2

that gives me a negative number of -72! Which can't be right because g has to greater than or equal to 1

Where am i going wrong?
 
Physics news on Phys.org
No. What you said was that x has to be \geq 1, not g. There is a difference - can you tell me what the difference is?
 
cyby said:
No. What you said was that x has to be \geq 1, not g. There is a difference - can you tell me what the difference is?


is it because g is a gunction of x, not x itself!? am i doing it correctly then? :)
 
The difference is that you're limiting the *domain* of g to be positive. This said nothing about the function must evaluate to.

What this is essentially saying is that g(1) is ok, but g(0.5) isn't, because 0.5 is < 1.

Everything else looks good.
 
ahhh yer that makes sense :) thanks
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top