g(x)=X^2-2x Find g(x-1) Please explain to me how to plug in everything.
I want to know how you get the answer step by step.
Hey :) So we have g being a function of x. That means that you put some value in place of all the x's, and you get g as your output.\[\large\rm g(\color{orangered}{x})=(\color{orangered}{x})^2-2(\color{orangered}{x})\]
Here is a quick example. For x=3, our function would look like this:\[\large\rm g(\color{orangered}{3})=(\color{orangered}{3})^2-2(\color{orangered}{3})\]Simplifying, we would determine that\[\large\rm g(3)=3\] Because 9-6=3 k? :)
So instead of plugging in a numerical value for x, we're going to plug in x-1, it might seem a little strange at first.
\[\large\rm g(\color{orangered}{x-1})=(\color{orangered}{x-1})^2-2(\color{orangered}{x-1})\]
And then we need to expand out the right side, and combine like-terms and all that.
Making ... a little sense up to this point? Do you understand how to expand out this square?\[\large\rm (x-1)^2=?\]
yes it would be (x-1) (x-1)
which would be x^2-2x+1
\[\large\rm g(x-1)=x^2-2x+1-2(x-1)\]Good! Expand out the other term, and combine stuff.
so is the answer be x^2-4x+3?
if my answer is correct then I am good to go!
Yes! Good job!
Join our real-time social learning platform and learn together with your friends!