How do you use the first and second derivatives to sketch # y = x + (1-x)^(1/2)#?

2 Answers
Aug 9, 2017

The derivatives of a function can help with plotting them because they indicate inflection points and direction of the curve.

Explanation:

If the first derivative of the equation is positive at that point, then the function is increasing. If it is negative, the function is decreasing.
See Also:
http://mathworld.wolfram.com/FirstDerivativeTest.html

If f(x,y) is a two-dimensional function that has a local extremum at a point (x_0,y_0) and has continuous partial derivatives at this point, then f_x(x_0,y_0)=0 and f_y(x_0,y_0)=0. The second partial derivatives test classifies the point as a local maximum or local minimum.
Weisstein, Eric W. "Second Derivative Test." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/SecondDerivativeTest.html

Aug 10, 2017

The first step I would do when sketching a curve is to find intercepts. These will occur when x is #0# (y-intercepts) and when #y# is #0# (x-intercepts).

#y_("intercept") = 0 + (1 - 0)^(1/2) = +- 1#

The x-intercepts can be a little bit more complicated to find.

#0 = x + (1 - x)^(1/2)#

#-x = (1 - x)^(1/2)#

If we square both sides, we will be able to get rid of the #√#.

#(-x)^2 = ((1 - x)^(1/2))^2#

#x^2 = 1 - x#

#x^2 + x - 1 = 0#

By the quadratic formula:

#x = (-1 +- sqrt(1^2 - 4 * 1 * -1))/(2 * 1)#

#x= (-1 +- sqrt(5))/2#

However, #(-1 + sqrt(5))/2# will be extraneous because the function isn't defined for any #x# above #1#.

The next step in curve sketching is to find the first derivative. This will give us insight into the direction in which the graph is going and where maximums and minimums will occur. Obtained using the chain rule, we get:

#y' = 1 -1/(2sqrt(1 - x))#

Critical points occur whenever the derivative equals #0# or is undefined (obviously if a critical point occurs when the function is undefined, it is not a critical point).

The derivative is undefined at #x = 1# (but the function is defined there. We solve now for when the derivative equals #0#.

#0 = 1- 1/(2sqrt(1 - x))#

#1/(2sqrt(1 - x)) = 1#

#1 = 2sqrt(1 - x)#

#1 = 4(1 - x)#

#1 = 4 - 4x#

#-3 = -4x#

#3/4 = x#

This does indeed work in the original equation. Next, we must verify the intervals of increase, decrease, by selecting test points in the intervals #(-oo, 3/4), (3/4, 1) and (1, oo)#.

test point 1: #x = 0#

#y'(0) = 1 - 1/(2sqrt(1 - 0)) = 1 - 1/2 = 1/2#

Since this is positive, the function is increasing on #(-oo, 3/4)#, and #x = 3/4# is hence a maximum. It has to be determined whether it's an absolute or a local max.

test point 2: #x = 4/5#

#y'(4/5) = 1 - 1/(2sqrt(1 - 4/5))= "negative"#

I don't even bother computing here, because all that matters is the sign.

Hence, #x = 1# will be a minimum (we don't know if it will be a local max or an absolute max just yet).

Next, we examine end behaviour. We notice that the domain of this function is #{x| x ≤ 1, x in RR}#. If we select values of #x# that are becoming bigger and bigger in the negative direction, we notice that #y# is tending to #-oo#, therefore, #x = 1# is a local minimum and #x = 3/4# is an absolute maximum.

We finally must determine the second derivative in order to look at concavity and points of inflection. The second derivative is given by differentiating the first. An alternative writing of the first derivative is

#y' = 1 - 1/2(1 - x)^(-1/2)#

This can be differentiated using the chain rule.

#y'' = 0 - 1/2(-1/2)(-1)(1 - x)^(-3/2)#

#y'' = -1/(4(1 - x)^(-3/2)#

We see immediately if we set #y''# to #0#, there is no solution for #x# to the resulting equation. So there are no inflection points, that's to say the sign of the second derivative remains the same on the entire domain of the function.

If we select a few test points, we notice that all the outputs on #y''# are negative, which means the graph is concave down (convex), on #{x|x ≤ 1, x in RR}#. So, after all this work we can trace the graph quite precisely, as I have done on the following grid.

enter image source here

Hopefully this helps!