Wednesday, August 22

Antiderivatives: An Introduction to Indefinite Integrals


The rate of change of a function at a particular value x is known as the Derivative of that function. Anti-derivatives as the name suggests is the opposite of derivatives. An Anti derivative is commonly referred to as an Indefinite Integral. We can define an indefinite integral of F as follows: Any given function G is an indefinite integral of F or an indefinite integral of a function g if the derivative of that function G’ equals g. The notation of an indefinite integral of F or the indefinite integral of a function is, G(x) = Integral g(x) dx. From this notation, we can conclude that G(x) equals integral[g(x)]dx  if and only if G’(x) = g(x)

From the above we can understand that an Antiderivative is basically an Integral of a given function, which is set into a formula which helps us to take the indefinite integral of F. So, when we say the Integral it means indefinite integral of F. Here, we have to remember to add a constant “c” as every integral has an unknown constant which is added to the equation. Let us consider an example for a better understanding, given function y = x^2 + 3x + 5. The derivative y’ would be 2x +3. Let us now find the antiderivative of y’, that gives us integral[2x +3] dx = 2. X^(1+1)/(1+1) + 3. x^(0+1)/(0+1) + c = 2x^/2 + 3x/1 + c = x^2+3x +c, this function is same as the original function except that the constant 5 is missing, this is the reason why we need to add the constant “c” to the Integral of a function.  From this we can conclude that Anti Derivative is the reverse derivative or the indefinite integral.

When we solve an Integral, we eliminate the integral sign and dx to arrive to a function G(x), this function is the antiderivative.  For instance, indefinite integral of F of the function x^3 is given by x raised to the power (3+1) whole divided by (3+1), that is, integral(x^3)dx = x^(3+1)/(3+1)= x^4/4. In general we can write the indefinite integral of F of x^n  as x^(n+1)/(n+1)
Antiderivative of Sec X
indefinite integral of F is the Integral of Sec X
Multiplying sec(x) with 1 which is [sec(x)+tan(x)]/[tan(x)+sec(x)]
Integral[sec(x)] dx = Integral[Sec x][sec(x) +tan(x)]/[tan(x)+sec(x)]      

Let u= sec(x) + tan(x)
Differentiating on both sides,
du = [sec(x)tan(x) + sec^2(x)]dx
Substituting u= [sec(x) + tan(x)]du = [sec(x)tan(x) + sec^2(x)]dx ,
Integral[sec(x)][sec(x)+tan(x)]/[tan(x)+sec(x)] dx
 = Integral[sec^2(x)+sec(x)tan(x)]dx/[sec(x)+tan(x)]
= Integral[du/u]
Solving the integral we get,
 = ln|u|+ c
Again substituting u= sec(x) + tan(x)
= ln|sec(x)+tan(x)| + c
So, the Antiderivative of Sec X is the Integral[sec x]dx = ln|sec(x)+tan(x)| + c

Monday, August 20

A short note on derivative of Cot function


Cot is the short for the trigonometric function cotangent. It is the complementary function of the tan also called the tangent function. Cot is defined as the ratio of the adjacent side to the opposite side of the acute angle in a right triangle. It is also the reciprocal of the tan function.

Therefore symbolically it can be written like this:
Cot(x) = adjacent side/opposite = 1/tan(x)
We can graph the cot function using a table of values as follows:
X -pi -3pi/4 -pi/2 -pi/4 0 Pi/4 Pi/2 3pi/4 pi
Cot(x) Inf 1 0 -1 Inf 1 0 -1 inf

The graph would look as follows:

 From the graph we note that the cot function is not defined at the points –pi, 0 and pi. That is because at these points, the tan function has the values of 0,0 and 0 respectively. Since the cot function is the reciprocal of tan function, the cot is not defined at these points.

Derivative Cot X  function:

The above graph is of the function y = Cot(x). Now the derivative of Cot X would be the slope of tangent to the above curve at any point x. Therefore for example if we were to find the derivative of Cotx at the point x = pi/4, then the graph of the tangent line to the curve at that point would like this:


The blue line in the above picture is the tangent to the cot function at the point x= pi/4. The slope of this tangent is the derivative of cot x. In other words we can also say that the derivative of the cot function is the rate of change of cot function at a given point. This is also called the instantaneous rate of change of cot function at a point x=a. (In this case it is x = pi/4). Another way of stating the same thing is like this: the gradient of the curve of the function y = cot x at a point x=a, is called the derivative of the function at that point.

Understanding Trigonometry Problems is always challenging for me but thanks to all math help websites to help me out.

The derivative of the function y = cot x at the point x = 0 can be found by making a tangent to the curve at the point x=0. Again from the above graph we see that, at x=0, the tangent would be vertical. So slope of tangent = not defined. Therefore derivative at this point is not defined.

Thursday, August 16

Homogeneous and non homogeneous differential equation


Non Homogeneous Differential Equation: A differential equation is a linear differential equation if it is expressible in the form P0 d^n y/dx^n + P1 d^n-1 y/dx^n-1 + P2 d^n-2 y/dx^n-2 + … + Pn-1 dy/dx + Pn y = Q, Where P0, P1, P2, …., Pn-1, Pn and Q are either constants or functions of independent variable x.Thus, if a differential equation when expressed in the form of a polynomial involves the derivatives and dependent variable in the first power and there are no product of these, and also the coefficient  of the various terms are either constants or functions of the independent variable, then it is said to be linear differential equation. Otherwise, it is a non-differential equation.

Homogeneous differential equation: A function f(x, y) is called a homogeneous function of degree n if f(lambda x, lambda y) = lambda^n f(x, y).

For example, f(x, y) = x^2 – y^2 + 3xy is a homogeneous function degree 2, because f(lambda x, lambda y) = lambda^2 x^2 – lambda^2 y^2 + 3. Lambda x. lambda y = lambda^2 f(x, y).Let us understand Homogeneous Differential Equation Examples. Suppose we have to Solve x^2 y dx – (x^3 + y^3) dy = 0 . The given differential equation is x^2 y dx – (x^3 + y^3) dy = 0, dy/dx = (x^2 y)/(x^3 + y^3)……(i), Since each of the functions x^2 y and x^3 + y^3 is a homogeneous function of degree 3, so the given differential equation is homogeneous. Putting y = vx and dy/dx = v + x dv/dx in (i), we get  v + x dv/dx = vx^3 /(x^3 + v^3 x^3), v + x dv/dx = v/1 + v^3, x dv/dx = [v/(1 + v^3)] – v, x dv/dx = (v – v – v^4)/(1 + v^3), x dv/dx = -v^4/(1 + v^3), x (1 + v^3) dv = -v^4 dx, (1 + v^3)/v^4 dv = -dx/x, (1/v^4 + 1/v) dv = -dx/x, Integrating both sides we get v^-3/-3 + log v = -log x + C=> -1/3v^3 + log v + log x = C=>-1/3 x^3/y^3 + log(y/x . x) = C=-1/3 . x^3/y^3 + log y = C, which is the required Homogeneous Solution Differential Equation.

Linear Homogeneous Differential Equation:  A differential equation is linear if the dependent variable (y) and its derivative appear only in first degree. The general form of a linear differential equation of first order is  dy/dx + Py = Q, where P and Q are functions of x (or constants).For example, dy/dx + xy = x^3, x dy/dx + 2y = x^3, dy/dx + 2y = sin x etc. are linear differential equations. Let us Find the General Solution of the Homogeneous Differential Equation  (1 + y^2) dx + (1 + x^2) dy = 0. Now   (1 + y^2) dx + (1 + x^2) dy = 0 => dx/(1 + x^2) + dy/(1 + y^2) = 0.On integration, we get  tan^-1 x + tan^-1 y = tan^-1 C, (x + y)/(1 – xy) = C, X + y = C (1 – xy).

Thursday, July 26

P values


P values
P values are obtained from either the tables or programmable calculators. We can use standard excel sheet as well to calculate the P values. Rather it is tedious to evaluate manually and requires a great mathematical skills.


From Z score
Step 1: Under Normal Distribution, we try to identify the z score for the respective mean and standard deviation value of the null hypothesis using the formula
z= (Test value – mean)/ standard deviation
Step 2: Refer to the Z table and find the P value directly.
To read the P values from the normal distribution table take the first two digits of the z score and locate it on the left most column, move along that row to locate the intersection of third digit of the z score along the column.


Table of P values:
We have two z tables to find the p values. As the normal distribution is symmetric about its mean, and assumes a bell shaped curve, the area right of the mean is equal to the area left of the mean. We have table for the z values varying between 0 and positive infinity, and for the values varying between negative infinity to positive infinity.

P Values Table






P values Significance
The importance of P values in statistical analysis is to test the authenticity of the hypothesis. We need to identify the hypothesis related to the study. In case of null hypothesis, the P value signifies whether the null hypothesis is true or not subject the allowed deviation.
It is imperative to note that the P values calculated should not be less than the allowed significance level to accept the null hypothesis else the alternate hypothesis is accepted.


Finding P values
We adopt the following algorithm to evaluate the P value
Step 1: Propose a null hypothesis
Step 2: Indentify the means and standard deviation
Step 3: Find the Z score
Step 4: Find the P value from the table.

P values in Statistics:
We need a parameter to take an impartial decision. In statistical significance testing, P value gives us the probability of obtaining maximum value of the test statistic as the one that is actually either desired or observed with an assumption that the null hypothesis made is true. We reject the hypothesis if the p- value obtained is less than the significance level, which is usually, 0.05 or 0.01.When the null hypothesis is rejected, and the result proposed is statistically significant.

Thursday, July 12

What is absolute value?

What is absolute value?
Absolute value of number is defined asthe difference between it and zero and is denoted by symbol of |x| or sometime we can use abs(x). Absolute valueismost commonly used by mathematicians and scientists as a tool which is used to separate magnitude and direction when only magnitude matters. Absolute value is positive. The absolute value of a real number is the difference between that real number and zero

If x is the real number then the absolute value for real number |x| = x, when it is positive. |x| = -X, when x is not positive. The absolute value is the distance of x from 0.
The equation for absolute value is,
K = |x-b| ------------- (1)
If x-b is positive
Then k = x - b
X = b + k   ------------- (2)
If x-b is negative
-k = x - b
X = b – k ---------------- (3)
Finding the absolute values.
Example: | x-5 | = 7
From equations 2 and 3 the absolute values are
| x-5 | = 7 | x-5| = -7
X = 7 + 5 x = -7 + 5
X = 12 x = -2
So the absolute values are {12, -2}

Definition for absolute value


The absolute value of a number measures its distance to the origin/zero on the real number line. From above the figure x is 5 units away from the zero. The absolute value is always positive, so it can change the sign of the negative number in to positive number. But the absolute value of zero has no sign, since it is equal to its absolute value.

Absolute value equations:
Isolate the absolute value expression to solve absolute value equations. The expression is called as k. Then write both the equations in which the expression provided within the absolute value symbol is one of the two expressions.  Write the first equation k should be equal to the expression inside the absolute value symbol, and then write the other equation should be equal to –k. Then we get the set of solution obtaining the solution for the equations.

Example: | 2x+12 | = 4x
| x – b | = k
From above equation 2 and 3
| x – b | = k | x – b | = - k
2x + 12 = 4x 2x + 12 = -4x
X = 6 x = -2
So the solution of equation is {-2, 6}

Absolute value in algebra
Absolute value is defined as; it is functions which measure the size of the element as a field or integral domine (D).
|x| = 0
|x| = 0 if and only if x =0
|xy| = |x||y|
|x+y| = |x| + |y|

Example: |1|  = 1
  |-1| = 1

Wednesday, June 27

Statistical Mean


In Mathematics in the branch of Statistics, the expression for the mathematical mean of a statistical distribution is the mathematical average of all the terms in the data. To calculate this, we add up the values of the terms given and divide the sum by the number of terms in the data. This expression is also called the
Arithmetic Mean.


While solving word problems, we come across problems like, Scott drove from Bloomington to Chicago driving at 6 different speeds on the same freeway; 63mph, 72mph,42mph, 53mph, 67mph, 59mph. how do we calculate the Mean driving speed? It is very simple, we know that Arithmetic Mean is the regular average, so we just add up the different speeds and divide the sum by the number of different speeds given. Let us see the steps involved,
 The Mean driving speed = total sum of driving speeds /total number of speeds
Total sum of driving speeds = 63+72+56+68+59+48 =366
Total number of different speeds = 6
So, Mean driving speed = 366/6 = 61mph


Definition of Mean Or Definition Mean
To define mean, let us first learn about average in mathematics. Given a data of values, the average would be the total sum of the values divided by the total number of values given in the data. This in statistics is called the Mean or Arithmetic Mean. So, Definition of Mean is the average of the values given in a data.
Mean Formula
The Arithmetic Mean is the regular average of the values given in a data.
So, Mean Formula = Total sum of the values/Total number of values

Example: A student took 8 tests in a subject in one marking period. What is the mean test score?
                88, 75, 82, 90, 86, 78, 94, 87
Solution:  Number of tests = 8
  Sum of the marks =88+75+82+90+86+78+94+87= 680
   Mean = sum of the marks/number of tests
= 680/8 = 85

Sample Mean Formula
The sample mean in statistics, branch of Mathematics is the sum of all observed outcomes from the sample divided by the total number of events (Arithmetic Average). It is denoted by the symbol x with a (bar) above it. The Sample Mean formula is as follows:
X (bar) = (1/n) (x1+x2+x3………xn)

Example: At a car rental shop data was collected on the number of rentals on each of 10 consecutive Saturdays.  50, 44, 96, 38, 39, 40,50,46,47,42. Find the Sample Mean of the rentals.
Solution:   n = 10
Sigma(rentals) = 50+44+96+38+39+40+50+46+47+42=492
X(bar) =sigma(rentals)/n
            = 492/10
            = 49.2 is the Sample mean

Monday, June 25

Decimal Numbers


Decimals:
The Number system that we follow is called base 10 number system. In this system, we have numbers between 0 and 9, which defines every other number.  Fractional part of a number can be expressed as decimals.
What is a decimal?
Decimal is way of representing a fraction without numerator and denominator. The period or decimal point signifies that the number following it is fractional part. Decimal number can be either greater than or lesser than one. In case of decimal numbers, which are less than one, the leading number is zero.
Example:
39/10 = 3.9 [Decimal number greater than one]
79/100 = 0.79 [Decimal number less than one]
Decimal Place value:
In numbers, position of a number decides its value.
For example in counting number 345, the 3 represents three hundreds, 4 represents four tens and 5 represents 5 units. Similarly, in decimal numbers also, we have place value
Naming decimals:
One tenths = 1/10
One hundredths = 1/100
In 0.7, there are seven tenths.
In 0.79, there are seventy nine hundredths
In 0.798, there are seven hundred and ninety eight thousandths.
Decimal to fraction:
Let us learn how to convert a decimal into fraction.
Step 1: Find the number digits after the decimal point
Step 2: Write the number without the decimal point in the numerator
Step 3: in denominator write 1, followed by as many zeros as the number of digits after the decimal point in the given number
Example: Convert 0.347 into a fraction
Step 1: Number of digits after the decimal point is 3
Step 2: Numerator = 347
Step 3: Denominator = 1000
Hence, the fraction is 347/1000
Decimal to percent:
Let us learn how to convert a decimal number into a percentage.
To convert decimal to percent, multiply the decimal number by 100 and add % sign.
In other words, shift the decimal point to the right and add % sign.
Example: Convert 0.95 into percentage.
0.95 x 100 = 95%
Convert 0.895 into percentage.
0.895 x 100 = 89.5%
Rounding decimals:
Reducing the number of digits without any appreciable change in its value is called Rounding off.  You need to know how many digits you would like to have after the decimal point to round off.
It involves two steps.
Step 1: Decide the number of digits that want to keep in a decimal number.
Step 2: Increase by 1 if the next digit is greater than or equal to 5.
Step 3: Leave it, as it is if the next digit is less than 5.
Example:
Round off 0.789 to nearest hundredths.
0.789 is rounded off to 0.79, as the next digit 9 is greater than 5.
Round off 0.5674 to nearest thousandths.
0.5674 is rounded off to 0.567, as the next digit 4 is less than 5.