g(x)=-x+4 f(x)=-2(abs(x-2))+4 Find g(f(x)) g(x)=-x+4 f(x)=-2(abs(x-2))+4 Find g(f(x)) @Mathematics
g(f(x)) = -2|x-2|+4+4 = -2|x-2|+8
Oh cool that is the answer I got. Thanks hero
Well, actually
What?
Oh ya i see that
There's a negative in front of x
-(-2|x-2|+4)+4 Write it like that instead
But lets say I have to find the derivative it would be easier to open the brackets
Well, the absolute value kind of complicates things
Lets say the derivative of v'(1)
Well, if that's the case, then it is probably zero
alright I will use the site you gave me yesterday but I don't know how I will show absolute value
once you replace x with a number, and evaluate it, then the derivative of any number is just zero
Oh so maybe I should defferentiate it first and then replace the x value with 1
hold the phone. it is true that the derivative of a constant is zero. but that means the derivative of a constant function is 0
so for example the derivative of 4 is 0, but the derivative of \[f(x)=x^2\] at x = 4 is \[f'(4)=2\times 4=8\] not 0!
ya true
so if you want \[v'(1) \] the first thing you need is \[v'(x)\]
and for that the first thing you need is \[v(x)\] without absolute values signs
so you have \[v(x)=4|x-2|+8\] i believe. and what this is depends on whether x is greater than or less than 2
Where'd you get the 4 from?
Oh ya? that is cool!!!!
if x is greater than 2 you get \[v(x)=2(x-2)+8=2x\] whereas if x is less than 2 you get \[v(x)=2(2-x)+8=12-2x\]
damn two typos
@hero the 4 is a straight up mistake. it is 2, not 4
and also \[2(x-2)+8=2x+4\]
Yeah, but like you said, it's not the only one
in any case since 1 is less than 2, use the second formula, and see that the derivative is -2
oh great! Thanks for your help
There's still another mistake lurking
If I'm not mistaken, distribution comes before addition
yes it does!!!
v(x) = -(-2|x-2|+4)+4
I'm wondering if that simplifies to v(x) = 2|x-2|
I don't know
I guess satelliate gave up
I guess so ;D
If we continue with his logic, it splits into two: v(x) = 2(x-2) v(x) = 2(2-x)
v(x) = 2x-4 v(x) = 4 - 2x v'(x) = 2 v'(x) = -2
I don't know which one we use though
I will play aound with it and see what I get
It is -2 I just calculated it on my graphing calc
Good
But i am confused as to how you got the equation of the derivative
Did you use the chain rule
Yes, why?
You don't know chain rule yet?
Ya i do
Hey look the derivative we got was totally wrong! That is interesting
Oh well. At least you found the right one
Actually, it's still 2
Take a closer look
sqrt and squared cancel in denominator (x-2) cancels top and bottom
:D
Oh I will check that out
i am sure you are long gone, but just for the record that is not 2. it is 2 if x is greater than 2, -2 if x is less than 2. just thought i would mention it.
what?
Oh I will check that out
hero wrote out the correct answer above he wrote v(x) = 2x-4 v(x) = 4 - 2x v'(x) = 2 v'(x) = -2
the only thing missing is for which values of x you use the different formulas. it is v(x) = 2x-4 if x > 2 v(x) = 4 - 2x if x < 2 v'(x) = 2 if x > 2 v'(x) = -2 if x < 2
and therefore \[v'(1)=-2\] whereas \[v'(5)=2\]
I graphed the derivative and it only shows a straight line starting at x=2 until positive infinity at y=2
Ya you are correct
the graph of the derivative is two horizontal lines|dw:1320435070118:dw|
oh great thanks
Join our real-time social learning platform and learn together with your friends!