WILL GIVE MEDAL!!!! Given the following functions f(x) and g(x), solve f[g(6)] and select the correct answer below: f(x) = 6x + 12 g(x) = x − 8 A: -96 B: 0 C: 24 D: 48
The notation might be getting you confused. If I want g(10) that means, look at the definition of g(x) and replace all the x's with 10. So we have g(10) = 10 - 8 = 2
Solve that?
Same thing with f. We can go nuts with this and do f( g(10) ). Don't freak out! This just means: First find out what g(10) is. We found it to be 2. Now we can just do f(2).
f(2)=10-8=2 ?
Exactly right
Wait no
I think you might be having trouble understanding functions. Do you know what it means to square a number?
Yes I do
Ok cool. Let's do an example with that.
Okayyy
To square a number, you just times it by itself. I can describe this mathematically as a function: square(x) = x * x This says I have a function called "square", it takes in a number - and for the purposes of referring to this number, we call it x. In order to calculate the output of our square function, we multiply x by itself. So now how do we use it? Let's say I want to calculate 5 squared. I can use my square function! Let's feed it 5. So we write square(5) Now to calculate it, I look at what's inside the brackets, and it is 5. So x is now 5. To calculate the output, it's x*x, or with my input, it's just 5*5. We end up with square(5) = 25
Your f and g functions are a bit more abstract than this. It's not quite apparent what they might be used for. But that's not a problem. We can treat them exactly like we did the square function.
Wait go back to the actual problem. the first would be 72 and the second is 2 @cardboardbox
If by first you mean f(10) and second you mean g(10) then yes
Yes that's what I meant
What do I do next?
Say we have another function "cube" which multiplies a number by itself and then again once more. You may (for reasons unknown) want to find the square of 3 cubed. We can write this as square( cube(3) ). So first we figure out what cube(3) is, and finally we can square that number to get our result.
Confused again
What do I have to cube
Cube(3) means 3*3*3 which is 27
In my example I am cubing 3, then squaring the result
So square( cube(3) ) means, first figure out cube(3), which turns out to be 27. Then square 27 to get 729.
Is c the answer?
How did you arrive at that
Or do you subtract everything from 729?
729 was just my example
Oh, but I need to do the original problem @cardboardbox
Join our real-time social learning platform and learn together with your friends!