Application Center - Maplesoft

App Preview:

Calculus I: Lesson 16: Analysing the Graphs of Functions 2 - Extrema and Asymptotes

You can switch back to the summary page by clicking here.

Learn about Maple
Download Application


 

L16-graphing2.mws

Calculus I

Lesson 16: Analysing the Graphs of Functions 2 -
Extrema and Asymptotes

For each function, we find:

- intervals of increase or decrease

- extrema

- intervals of concavity

- points of inflection

- asymptotes

Example 1
f(x) = sin(2x) - 2 sin(x), x in [ -
Pi , Pi ]

> restart: with(plots):

Warning, the name changecoords has been redefined

> f1:= x -> sin(2 * x) - 2 * sin(x);

f1 := proc (x) options operator, arrow; sin(2*x)-2*...

> plot(f1(x), x=-Pi- .5..Pi + .5, color = red);

[Maple Plot]

> D(f1);

proc (x) options operator, arrow; 2*cos(2*x)-2*cos(...

We have: f1' (x) = 2*cos(2*x)-2*cos(x)

= 2*(2*cos(x)^2-1)-2*cos(x)

= 2*(2*cos(x)+1)(cos(x)-1)

Hence we have critical values when cos (x) = -1/2 OR cos (x) = 1.

Recall plot of cos (x).

> plot(cos(x), x= -Pi..Pi, color = red);

[Maple Plot]

> solve(cos(x) = -1/2, x);

2/3*Pi

We see that our critical values are: x = 0, 2/3 Pi , and -2/3 Pi . Let's look at the plot of f1' (x).

Thus f1 is increasing on ( - infinity , -2/3 Pi ) and ( 2/3 Pi , infinity ).

Hence f1 has a local max when x = -2/3 Pi and a local min when x = 2/3 Pi

We now turn to concavity.

> D(D(f1));

proc (x) options operator, arrow; -4*sin(2*x)+2*sin...

Thus, f1'' (x) = -4 sin(2x) + 2sin(x)

= -4(2sin(x) cos(x))+ 2sin(x)

= 2sin(x) (-4cos(x) + 1)

Hence, f1'' (x) = 0 when sin(x) = 0 OR cos(x) = 1/4 .

Since 1/4 does not come from our standard triangles, we can only get a numerical estimate

for the solution to cos(x) = 1/4 . Lets plot f '' (x).

> fsolve(cos(x) = 1/4, x = -Pi..Pi);

1.318116072

Conclusion, f 1 is concave up on ( 1.318116072 ,0) and ( 1.318116072 , Pi )

and f1 is concave down on ( - Pi , 1.318116072 ) and (0, 1.318116072 ).

There are points of inflection when x = - Pi , - 1.318116072 , 0, 1.318116072 , Pi .

There are no asymptotes.

Example 2
f(x) = x^(5/3)-5*x^(2/3)

> f2:= x -> surd(x,3)^5 - 5 * surd(x,3)^2;

f2 := proc (x) options operator, arrow; surd(x,3)^5...

> plot(f2(x), x = -10..10, color = red);

[Maple Plot]

> D(f2);

proc (x) options operator, arrow; 5/3*surd(x,3)^5/x...

Too complcated!! We can do better ourselves!

f2 '(x) = 5/3*x^(2/3)-10/3*x^(-1/3)

= (5*x-10)/(3*x^(1/3)) .

Thus, f2 '(x) = 0 when x = 2 and f2 '(x) is not defined for x = 0.

Hence we have two critical points: x = 0, 2. Let's plot f2 '(x). Since f2 '(x) is not defined

at 0, we plot first with negative values of x and then with positive values of x.

Conclusion: f2 is increasing on (- infinity ,0) and (2, infinity ).

f2 is decreasing on (0,2).

Hence, f2 has a local max when x = 0 and a local min when x = 2.

The function is NOT differentiable at x = 0.

Now we turn to concavity.

> D(D(f2));

proc (x) options operator, arrow; 10/9*surd(x,3)^5/...

Again, too complicated! We can do better ourselves!

f2 ''(x) = 10/9*x^(-1/3)+10/9*x^(-4/3)

= 10/9*x^(-4/3)*(x+1) .

We see that f2 ''(x) = 0 when x = -1 and is NOT defined when x = 0.

Let's plot f2 ''(x). Again we do two plots to avoid x = 0.

Conclusions: f2 is concave up on (-1,0) and (0, infinity )

and f2 is concave down on (- infinity ,-1).

There is a point of inflcetion when x = -1.

There are no asymptotes.

Example 3
f(x) = x^2/(2*x+5)

> f3:= x -> x^2 / (2 * x + 5);

f3 := proc (x) options operator, arrow; x^2/(2*x+5)...

> plot(f3(x), x = -5..5,y = -25..25, color = red);

[Maple Plot]

Using long division we have that

f3 = 1/2*x-5/4+(-25/4)/(2*x+5) and hence

y = 1/2*x-5/4 is a slant asymptote.

> D(f3);

proc (x) options operator, arrow; 2*x/(2*x+5)-2*x^2...

> simplify( 2*x/(2 * x + 5) - 2 * x^2 / (2*x + 5)^2);

2*x*(x+5)/((2*x+5)^2)

Hence there are critical points when x = 0, -5.

Note that x = -5/2 is not a critical value as the function is not defined there.

To determine where f3 '(x) is positive and negative it suffices to consider x*(x+5) ,

since (2*x+5)^5 is positive or 0.

> plot(x*(x+5), x = -10..10, color = red);

[Maple Plot]

Hence, f3 is increasing on ( - infinity ,-5) and (0, infinity ).

The function f3 is decreasing on ( -5, -5/2 ) and ( -5/2 ,0). Remember the

function is NOT defined for x = -5/2 .

Thus, f3 has a local max when x = -5 and a local min when x = 0.

Let's turn to concavity.

> D(D(f3));

proc (x) options operator, arrow; 2*1/(2*x+5)-8*x/(...

> simplify( 2*1/(2*x+5)-8*x/((2*x+5)^2)+8*x^2/((2*x+5)^3) );

50*1/((2*x+5)^3)

Thus, f3 ''(x) = 50/((2*x+5)^10) .

Conclusions: f3 is concave up on ( -5/2 , infinity ) and is concave down on (- infinity , -5/2 ).

Concavity chages as x passes through -5/2 , but as -5/2 is NOT in the domain

of the function we have no points of inflection.

> a3:= plot(f3(x), x = -10..10, y = -25..25,color = red):

> b3:= plot(1/2 * x - 5/4, x = -10..10, color = magenta):

> display({a3,b3});

[Maple Plot]