# Differentiate the following: `y = cos^(2) (1 - sqrt(x))/(1 + sqrt(x))` Answer should be:  `1/ (sqrt(x)(1 + sqrt(x))^(2)) sin (2(1 - sqrt x)/(1+ sqrt(x)))`

The expression `y = cos^2((1-sqrtx)/(1+sqrtx))` has to be differentiated.

y = `cos^2((1 - sqrtx)/(1+sqrtx))`

= `(1+cos(2*(1 - sqrtx)/(1+sqrtx)))/2`

y' = `(1/2)*-sin(2*(1 - sqrtx)/(1+sqrtx))*2*((1 - sqrtx)/(1+sqrtx))'`

= `-sin(2*(1 - sqrtx)/(1+sqrtx))*((1 - sqrtx)/(1+sqrtx))'`

= `-sin(2*(1 - sqrtx)/(1+sqrtx))*((1 - sqrtx)'(1+sqrt x) - (1-sqrt x)*(1+sqrt x)')/(1+sqrtx)^2`

= `-sin(2*(1 - sqrtx)/(1+sqrtx))*((-1/2)*(1/sqrt x)(1+sqrt x) - (1-sqrt...

Start your 48-hour free trial to unlock this answer and thousands more. Enjoy eNotes ad-free and cancel anytime.

The expression `y = cos^2((1-sqrtx)/(1+sqrtx))` has to be differentiated.

y = `cos^2((1 - sqrtx)/(1+sqrtx))`

= `(1+cos(2*(1 - sqrtx)/(1+sqrtx)))/2`

y' = `(1/2)*-sin(2*(1 - sqrtx)/(1+sqrtx))*2*((1 - sqrtx)/(1+sqrtx))'`

= `-sin(2*(1 - sqrtx)/(1+sqrtx))*((1 - sqrtx)/(1+sqrtx))'`

= `-sin(2*(1 - sqrtx)/(1+sqrtx))*((1 - sqrtx)'(1+sqrt x) - (1-sqrt x)*(1+sqrt x)')/(1+sqrtx)^2`

= `-sin(2*(1 - sqrtx)/(1+sqrtx))*((-1/2)*(1/sqrt x)(1+sqrt x) - (1-sqrt x)*(1/2)*(1/sqrtx))/(1+sqrt x)^2`

= `-sin(2*(1 - sqrtx)/(1+sqrt x))*(-1/2)*(1/sqrtx)((1+sqrtx + 1-sqrt x))/(1+sqrt x)^2`

= `sin(2*(1 - sqrtx)/(1+sqrt x))*(1/2)*(1/sqrtx)(2/(1+sqrt x)^2)`

= `sin(2*(1 - sqrtx)/(1+sqrt x))*(1/sqrtx)(1/(1+sqrt x)^2)`

= `sin(2*(1 - sqrtx)/(1+sqrt x))*1/(sqrtx*(1+sqrt x)^2)`

The derivative of `y = cos^2((1-sqrtx)/(1+sqrt x))` is `y' = sin(2*(1 - sqrtx)/(1+sqrt x))*1/(sqrtx*(1+sqrt x)^2)`

Approved by eNotes Editorial Team