firmfunda
  maths > calculus-limits

Expected Value of a Function


    what you'll learn...

Expected Value of Functions

 »  A function evaluate to 0000 at x=ax=a
    →  Considering that functions model real world quantities, in setting x=ax=a there can be very small error.

    →  Considering functions in abstraction, the value at x=ax=a can be assumed to be that of x=a±δx=a±δ with δ close to 0

 »  If a function is evaluated to 00 at x=a
    →  expected value can be that of x=a-δ : left-hand-limit
    →  expected value can be that of x=a+δ : right-hand-limit

 »  f(x)=(x+2)(x-2)x-2
    →  x-2 can be canceled for all values of x except for x=2 (as 0 cannot be canceled).
    →  function at value f(x)x=2=00 :
    →  left hand limit limx2-f(x)=2-δ+2=4
    →  right hand limit limx2+f(x)=2+δ+2=4

indeterminate value

Some examples of functions evaluating to indeterminate values are

sinxx when x=0

ex-1x when x=0

f(x+δ)-f(x)δ when δ=0

what a function means?

It is noted that function provide a mathematical model to applications.

Examples:

Shapes - like circumference of circle

Motion - like speed of a ball thrown

System - like heat emitted in chemical reactions

application scenario of the function

In such applications we come across functions that have indeterminate values at certain values for the argument variable. The motivation in applied mathematics is to solve such functions having indeterminate values. In such systems, setting a parameter to an absolute value is not practically possible. This is examined further in following.

The motivation in abstract mathematics is to find what is the expected value of the function where it has indeterminate value. It is known that indeterminate value 00 possibly takes a value depending on the problem. Can that be determined?

Note: Apart from evaluating a function at an input value, there is another motivation to the theory in discussion. It is covered in the topic on 'continuity of functions'.

Given that function f(x) evaluates to indeterminate value at x=a. The approach to finding the expected value is
 •  If this represents an application with some parameter x=a, the quantity x cannot be exactly set to value a in practical situations. There will be a small error to value of x.

 •  circle of radius 3cm: there will be a tiny error; actual radius is 3.00034cm.

 •  Ball thrown with 2m/sec velocity : there will be a small error; actual velocity is 1.99948m/sec

 •  If it is abstract, is the function defined at input values very close to x=a? Then those values can be used to find expected value of f(a).

In statistics and probability another form of expected value is studied. It has a different domain and definition. Here, the phrase "expected value" is used to denote the meaning as per plain English. We expect the value to be something because, the nearby values are some value.

close to the position

If a function evaluates to indeterminate value at an input value, then examine the nearby input values close to the input value.

Given that function f(x) has indeterminate value at x=a. To evaluate the possible value of f(x)x=a, we examine values close to x=a.

f(x)=x2-1x-1 evaluates to indeterminate value at x=1. The values close to x=1 are

at x=0.999999

at x=1.000001

smaller and larger

f(x)=x2-1x-1 evaluates to indeterminate value at x=1. But
f(1.1)=2.1
f(0.9)=1.9
f(1.001)=2.001
f(0.99999)=1.99999
Note that as the value of x is closer to 1, the f(x) is closer to 2.


f(x)=x2-1x-1 evaluates to indeterminate value at x=1.

The values closer to x=1 can be either

 •  smaller : .9999,.9999999, etc.

 •  larger : 1.0001,1.0000001, etc.

This makes two classes of input values for which the function is evaluated.

The two classes are named as given below.

The values smaller than x=1 is referred as 'left-hand-side' and

The values larger than x=1 is referred as 'right-hand-side'

right and left

Given that function f(x) evaluates to indeterminate value at x=a. To evaluate the expected value of f(x)x=a, we examine values close to x=a;

 •  at right-hand-side x=a+δ

 •  at left-hand-side x=a-δ

f(x)=x2-1x-1 evaluates to indeterminate value at x=1. Evaluating right-hand-side at x=1+δ

f(1+δ)
    =(1+δ)2-11+δ-1
    =1+2δ+δ2-1δ
    =(2+δ)δδ
    =2+δ
    =2         as δ0

Note that in one of the steps δ is canceled. That is not same as canceling 0 as the δ0. At the same time, in the last step δ is substituted as 0, as delta is negligibly small compared to 2.


f(x)=x2-1x-1 evaluates to indeterminate value at x=1. Evaluating left-hand-side at x=1-δ

f(1-δ)
    =(1-δ)2-11-δ-1
    =1-2δ+δ2-1-δ
    =(2-δ)(-δ)-δ
    =2-δ
    =2         as δ0

limit tending

The terminology used to convey δ is close to 0, but not 0 is: limit delta tending to 0.

Mathematicians use the word 'limit' to convey the meaning. We can understand this as delta is limited to very close to 0, and it is limited such that it is not exactly 0.

left-hand and right-hand limits

Given that function f(x) evaluates to indeterminate value at x=a. To evaluate the possible value of f(x)x=a, The function is examined

 •  at right-hand-side x=a+δ given as limxa+f(x)

 •  at left-hand-side x=a-δ given as limxa-f(x)

Note: limxa+ is read as 'limit x tending to a plus'.

When a function evaluates to indeterminate value, expected values or limits at that input value is calculated for values very close to that input value.
Two limits are defined left-hand-limit and right-hand-limit.

summary

Right-hand-Limit and Left-hand-limit: Given function f(x) the expected values of the function at x=a are
Right-hand-limit limxa+f(x)=limδ0f(a+δ) and
Left-hand-limit limxa-f(x)=limδ0f(a-δ).

Outline

The outline of material to learn "limits (calculus)" is as follows.

Note : click here for detailed outline of Limits(Calculus).

    →   Indeterminate and Undefined

    →   Indeterminate value in Functions

    →   Expected Value

    →   Continuity

    →   Definition by Limits

    →   Geometrical Explanation for Limits

    →   Limit with Numerator and Denominator

    →   Limits of Ratios - Examples

    →   L'hospital Rule

    →   Examining a function

    →   Algebra of Limits

    →   Limit of a Polynomial

    →   Limit of Ratio of Zeros

    →   Limit of ratio of infinities

    →   limit of Binomial

    →   Limit of Non-algebraic Functions