Find an equation of the line tangent

  • Thread starter Thread starter gonzalo12345
  • Start date Start date
  • Tags Tags
    Line Tangent
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 3K views
gonzalo12345
Messages
26
Reaction score
0

Homework Statement



f(x) = |sinx| for - π ≤ x ≤ π
g(x) = x^2
h(x)= g(f(x))

1. Find domain and range of h(x)
2. Find an equation of the line tangent to the graph of h at the point where x= π/4


Homework Equations





The Attempt at a Solution



It think that h(x) is (|sin x|)^2

so, is domain - π ≤ x ≤ π

here is where I am confused:

if d/dx (sin x) = cos x

then

is d/dx (|sin x|)^2 = (|cos x|)^2 ?

thanks in advance for the help.
 
Physics news on Phys.org
gonzalo12345 said:
here is where I am confused:

if d/dx (sin x) = cos x

then

is d/dx (|sin x|)^2 = (|cos x|)^2 ?

thanks in advance for the help.


You can't do that. You should consider using the chain rule.
 
danago said:
You can't do that. You should consider using the chain rule.

is there any rule for the derivate for an absolute value?
 
Squaring makes it easy to answer. |f(x)|^2=f(x)^2. Otherwise you have to split it into subdomains where f(x)>=0 and f(x)<0.
 
|x|= x if [itex]x\ge 0[/itex], -x is x< 0. Its derivative is 1 if x> 0, -1 if x< 0, not defined for x=0.