#y=tan^2(x)# Find #dy/dx#The answer is #2tan(x)sec^2(x)#. It was solved by substituting #u=tan(x)#. Now why did we not substitute #u=tan(x) for the second part? See below for more details
This is how we solved it :
#dy/dx=d/dx(u^2)d/dxcolor(red)((tan(x)))#
#=2usec^2(x)# Now substituting back #u=tan(x)# ,
#2tan(x)sec^2(x)# .
My question is why didn't we substitute #tan(x)# for #u# ? (The red part)
If we did it will look like this
#dy/dx=d/dx(u^2)d/dx(u)#
#=(2u)(1)#
#=2u#
#=2tan(x)# , but that is definitely not the answer. So how do I know when to substitute and when not to?
This is how we solved it :
My question is why didn't we substitute
If we did it will look like this
2 Answers
Explanation:
#"note that "d/dx(u)-=(du)/dx#
#"since u is a function of x it must be differentiated with "#
#"respect to x"#
#•color(white)(x)rArrdy/dx=dy/(du)xx(du)/dxlarrcolor(blue)" chain rule"#
#"let "u=tanxrArr(du)/dx=sec^2x#
#rArry=u^2rArrdy/(du)=2u#
#rArrdy/dx=2usec^2x=2tanxsec^2x#
If you already said that
Your issue is that you said that
In terms of your problem, it's more helpful to write
If you write