Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Learning Differentiation and Derivatives with Mathematica, Slides of Calculus

Instructions on how to use mathematica to find the derivatives and derivative functions of a single-variable function. It covers two methods: the first way involves using the 'd' symbol followed by the variable, and the second way involves defining the function and then finding its derivative. The document also explains how to find higher-order derivatives using the same methods, with an example of finding the third derivative of an exponential function.

Typology: Slides

2021/2022

Uploaded on 09/27/2022

rogerpapa
rogerpapa 🇮🇳

4.5

(11)

223 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Return to List of Lessons
Lesson 5. Differentiation & Derivatives
The outcome of differentiation on a function is called the “derivative”. At a particular number a from the
domain of a function f, the derivative )(' af is a quantity, which is called the instantaneous rate of
change at a. On an interval at which a function fis defined, )(' xf is a function. In this lesson we start to
learn how to use Mathematica to find the derivatives and derivative functions of a function.
(1) First Derivative of a Function
There are two commonly used approaches to find the derivative of a function by Mathematica.
Example 1: Find the derivative of xxxf sin)( 2+= .
The 1st way: 󰇟 󰇟󰇠, 󰇠 Shift + Enter
The result:  󰇟󰇠
[Note] The letterDstands for “Differentiating” . Inside [ ] the variable x must be input behind the
function and separated by a comma, which means the differentiation is taken with respect to x.
The 2nd way: 󰇟_󰇠: 󰇟󰇠 ^ Shift +Enter
󰇟󰇠 Shift +Enter
The result:  󰇟󰇠
[Note] The symbol “ : ” stands for “Defining”. Defining a function of a variable x, it is a Mathematica
standard way to type in “󰇟_󰇠” ; Be careful that “Shift + Enter” can NOT be skipped when defining the
function )(xf . Pressing “Shift+Enter” is to validate this definition, otherwise it won’t show that result
the result of )(' xf .
There will be no difference between the two ways when finding the derivatives of a single-variable
function. But keep in mind that “ D[ ]” is the only way of finding a partial derivative of a multivariate
function, and ][' xf is basically a way of finding a derivative for a single-variable function. Note that
within the text of calculus I and II, we are not going to deal with any partial derivative of a multivariate
function.
pf3

Partial preview of the text

Download Learning Differentiation and Derivatives with Mathematica and more Slides Calculus in PDF only on Docsity!

Return to List of Lessons

Lesson 5. Differentiation & Derivatives

The outcome of differentiation on a function is called the “derivative”. At a particular number a from the

domain of a function f , the derivative f ' ( a )is a quantity, which is called the instantaneous rate of

change at a. On an interval at which a function f is defined, f ' ( x )is a function. In this lesson we start to

learn how to use Mathematica to find the derivatives and derivative functions of a function.

(1) First Derivative of a Function

There are two commonly used approaches to find the derivative of a function by Mathematica.

Example 1 : Find the derivative of f ( x )= x^2 +sin x.

The 1 st^ way: ࢞ሾࡰ ૛^ ሿ ࢞,ሿ࢞ሾܖܑ܁ ൅ Shift + Enter

The result: ሿ࢞ሾܛܗ۱ ൅ ࢞૛

[Note] The letter D stands for “Differentiating”. Inside [ ] the variable x must be input behind the function and separated by a comma, which means the differentiation is taken with respect to x.

The 2 nd^ way: ૛^ ࢞൅ ሿ࢞ሾܖܑ܁ ൌ :ሿ_ܠሾࢌ Shift +Enter

ሿ࢞Ԣሾࢌ Shift +Enter

The result: ሿ࢞ሾܛܗ۱ ൅ ࢞૛

[Note] The symbol “ : ൌ ” stands for “Defining”. Defining a function of a variable x , it is a Mathematica standard way to type in “ሿ_ܠሾࢌ” ; Be careful that “ Shift + Enter ” can NOT be skipped when defining the

function f ( x ). Pressing “ Shift+Enter” is to validate this definition, otherwise it won’t show that result

the result of f ' ( x ).

There will be no difference between the two ways when finding the derivatives of a single-variable

function. But keep in mind that “ D [ ]” is the only way of finding a partial derivative of a multivariate

function, and f ' [ x ]is basically a way of finding a derivative for a single-variable function. Note that

within the text of calculus I and II, we are not going to deal with any partial derivative of a multivariate function.

(2) Higher-order Derivatives of a Function

The two approaches the same as what did in finding the 1st^ derivatives can be used in finding the higher- order derivative of a function. The outcomes will be the same.

Example 2 : Find the 3 rd^ derivative of the function g ( t )= t^3 − t + e −^2 t.

The 1 st^ way: ࢚ൌ :ሿ_ܜሾࢍ ૜^ ࢚√ െ ିࢋ൅ ࢚૛^ Shift + Enter

ࡰሾࢍሾ࢚ሿ, ሼ࢚, ૜ሽሿ Shift + Enter

The result: ૟ െ ૡࢋି ࢚૛^ െ (^) ࢚ૡ ૜૞ ૛⁄.

Here the value “ 3 ” inside the bracket of ࡰሾࢍሾ࢚ሿ, ሼ࢚, ૜ሽሿ specifies the number of times of differentiation of the function. The last term of the function is an exponential function with base e. Please be careful when typing the base e. The base e should be from the “Classroom Assistant” panel as indicated in the graph below, not from the keyboard.