Differentiation Formulas

The derivative of a constant is zero.

> f1:=x->c;

[Maple Math]

> expr1:=(f1(x+h)-f1(x))/h;

[Maple Math]

Enough said! --- since [Maple Math] .

Power Rule: if n is a positive integer, derivative of [Maple Math] is [Maple Math] .

> f2:=x->x^n;

[Maple Math]

> expr2:=(f2(x)-f2(a))/(x-a);

[Maple Math]

> limit(expr2,x=a);

[Maple Math]

> simplify(%);

[Maple Math]

Enough said. Just change the "a" to "x".

e.g.

> Diff(x^10,x)=diff(x^10,x);

[Maple Math]

Big Fact : The power rule applies to any n [Maple Math] R we will prove this later in the course.

e.g.

> Diff(sqrt(x),x)=diff(sqrt(x),x);

[Maple Math]

Constant Multiple Rule: the derivative of [Maple Math] is c f'( x ).

Proof: See the blackboard!

e.g.

> f2:=6*x^3;

[Maple Math]

> diff(f2,x);

[Maple Math]

> 6*diff(x^3,x);

[Maple Math]

Sum (difference) rule: the derivative of a sum (difference) is the sum (difference) of the derivatives. (f + g)' = f' + g' .

Proof: see blackboard.

e.g.

> f3:=6*x^3-x^10+7;

[Maple Math]

> diff(f3,x);diff(6*x^3,x)-diff(x^10,x)+diff(7,x);

[Maple Math]

[Maple Math]

Product Rule: (fg)' = f'g + fg'.

Proof: See blackboard.

> f4:=x^2*(x^3+5);

[Maple Math]

> diff(f4,x);

[Maple Math]

> simplify(%);

[Maple Math]

Quotient Rule: ( [Maple Math] )' = [Maple Math] .

> f5:=sqrt(x)/(x^2+1);

[Maple Math]

> diff(f5,x);

[Maple Math]

> simplify(%);

[Maple Math]

> ((Diff(sqrt(x),x)*(x^2+1))-Diff(x^2+1,x)*sqrt(x))/((x^2+1)^2);

[Maple Math]

> simplify(%);

[Maple Math]

> value(%);

[Maple Math]

See if you can do it!!

E.G.'s

1.

Find the points on the curve [Maple Math] where the tangent is horizontal.

> eq1:=x^3-x^2-x+1;

[Maple Math]

> eq2:=diff(eq1,x);

[Maple Math]

> solve(eq2=0);

[Maple Math]

> subs(x=-1/3,eq1);subs(x=1,eq1);

[Maple Math]

[Maple Math]

> plot({eq1,32/27,0},x=-2..2,y=-4..4,colour=black);

[Maple Plot]

2.

The normal line to y = f(x) at P is the line that passes through P and is perpendicular (normal) to the tangent line to y = f(x) at P. Find the normal line to [Maple Math] at (-8,-2). Sketch

> eq3:=surd(x,3);

[Maple Math]

> slope:=diff(eq3,x);

[Maple Math]

> subs(x=-8,slope);

[Maple Math]

> simplify(%);

[Maple Math]

==> The slope of the normal line is 1/(1/12) = 12

> normal_line:=y-(-2)=-12*(x-(-8));tangent_line:=y-(-2)=(1/12)*(x-(-8));

[Maple Math]

[Maple Math]

> line1:=solve(normal_line,y);line2:=solve(tangent_line,y);

[Maple Math]

[Maple Math]

> plot({eq3,line1,line2},x=-14..0,y=-4..0,colour=black,numpoints=5000);

[Maple Plot]

>

3.

Show that the curve y = [Maple Math] has no tangent line with slope 4.

> curve:=6*x^3+5*x-3;

[Maple Math]

> slope:=diff(curve,x);

[Maple Math]

> solve(slope=4);

[Maple Math]

> plot({curve,slope},x=-2..2,y=-12..12,colour=black);

[Maple Plot]