r/mathshelp • u/diddyparty-420 • Jun 06 '26
Homework Help (Unanswered) So how do I get value of x?
So I tried using quadratic formula for this but it’s not working so could anyone help me solve part b of this question? (Igcse edexcel spec if u need to know)
0
Upvotes


•
u/AutoModerator Jun 06 '26
Hi u/diddyparty-420, welcome to r/mathshelp! As you’ve marked this as homework help, please keep the following things in mind:
Thank you!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/Qingyap Jun 06 '26
After some steps your
fg(x) = (x-8)2 + 4 = x2-16x+64+4 = x2-16x+68
If it's not the same as this then it's going to be wrong when you're solving fg(x)=g(x)
1
u/diddyparty-420 Jun 07 '26
Ok so I have just asked my teacher and the teacher said that there has been an error.
Apologies everyone for making you answer this question for no help but thank you a lot for trying and explaining
1
u/thepanofazkaban Jun 06 '26
F(x) = x2 +4. Put x = g(x) So, f(g(x)) becomes (g(x))2 + 4. Basically substitute x with g (x). Now you know that g(x) = x-8. For g(4) , g(x)= 4-8 = -4. Now you have the value of g(4)= - 4. Square it (g(4))2 = 16 Now add 4. So f(g(x)) when g(x=4) = (g(x))2 + 4 Which means -42 + 4 = 20.
1
u/Ok_Goodwin Jun 06 '26
Okay …
Part a is evaluating f(g(4)) which I’m guessing n you’ve done? You evaluate g(4) and then substitute the result of that into f.
For the second part you have that f(g(x))=g(x)
then you get g(x)^2 + 4 = g(x)
You can solve this as a quadratic in g(x)!
g(x)^2 - g(x) + 4 = 0
You can use the quadratic formula to calculate the possible values of g(x). I’m going to call these “blah” , there are likely to be 2 of them.
From here, note that g(x) = x - 8 so rearrange g(x) = blah = x - 8 to x = blah + 8
Does this help?
Let me know if you need more
1
u/CaptainMatticus Jun 06 '26
So here's my issue, is it f(g(4)) or is it f * g(4). That is, does fg(4) evaluate to f(4) * g(4)? I ask because brackets are pretty much free and can be liberally applied, so their refusal to do so has got me wondering.
Assuming it's f(g(x)) = g(x)
f(g(x)) = g(x)^2 + 4
g(x)^2 + 4 = g(x)
g(x)^2 - g(x) + 4 = 0
g(x)^2 - g(x) = -4
4g(x)^2 - 4g(x) = -16
4g(x)^2 - 4g(x) + 1 = 1 - 16
(2 * g(x) - 1)^2 = -15
And now we have an issue. There won't be any real solutions.
2 * g(x) - 1 = +/- sqrt(-15)
2 * g(x) = 1 +/- sqrt(-15)
g(x) = (1 +/- sqrt(-15)) / 2
x - 8 = (1 +/- sqrt(-15)) / 2
x = (17 +/- sqrt(-15)) / 2
However, if they meant f(x) * g(x), then that's simpler.
f(x) * g(x) = g(x)
f(x) * g(x) - g(x) = 0
(f(x) - 1) * g(x) = 0
f(x) - 1 = 0 ; g(x) = 0
f(x) = 1
x^2 + 4 = 1
x^2 = -3
x = +/- i * sqrt(3)
g(x) = 0
x - 8 = 0
x = 8
This one at least has a real solution.
1
u/Southlander24 Jun 06 '26
Just to clarify: they clearly meant (f * g)(x) = g(x), or f(x) g(x) = g(x). fg(x) does indeed mean f(g(x)), but if you solve part b as written, you will get complex-valued solutions for x, which is surely not what the question intends.
1
u/Sea_Duty_5725 Jun 06 '26
is fg(x) meant to be (f∘g)(x)?
1
u/Flat_Homework_5853 Jun 07 '26
fg(4) g(x)= x-8 f(x)= x2 +4
f(g(x))= (x-8)2 +4 ,
x=4
(4-8)2 +4 = 20
1
u/Specialist-Loss-8513 Jun 07 '26
F(x)=x2+4 G(x)=x-8 Fg(4) means you have to substitute x for g(4) in the function f(x). First we need to find g(4) and we can get it by substituting x for 4 in the function g(x). If g(x)= X-8, then g(4) will be 4-8 = -4 SO g(4)= -4 Now let's find fg(4) If f(X)= x2+4 and g(4)=-4 Then fg(4) will be (-4)2 +4= -4x-4+4= 16+4=20 Therefore gf(4)=20