Friday, August 3

Calculus: Rules of Integration


Calculus Integration Rules
Following are the Rules of Integration where a, b, c, n are some constants and u=f(x);v=g(x) and w=h(x)
General Integration Rules
1.Integral [a dx]= ax +c
2. Integral [a f(x) dx]= a Integral [f(x) dx]
3.Integral [x^n dx]= x^(n+1)/(n+1) +c
4.Integral [f(x)+g(x)+h(x)]dx = Integral[f(x)dx]+ Integral[g(x)dx]+ Integral[h(x)dx]
5. Integral[f(x)-g(x)-h(x)]dx = Integral[f(x)dx] – Integral[g(x)dx] – Integral[h(x)dx]
6. Integration by parts: Integral [u dv] = uv – Integral [v du]
7.Integral[F(u)dx] = Integral [F(u)/u’] du
8. Integral[1/x dx] =ln|x| +c
9. Integral [1/(x^2+a^2)]dx =1/a tan^-1[x/a] +c
10.Integral [1/(x^2-a^2)]dx = [1/2a ]ln |x-a/x+a| +c

Integral Rules of Exponential Functions
1.Integral [e^x dx]= e^x +c
2. Integral [a^x dx]= a^x/ln a +c
3.Integral [ln x dx]= x(ln x -1) +c
4.Integral[log base a of x]dx= (x/ln a)(ln x -1) +c
5. Integral[x e^(ax)]dx= [e^(ax)/a^2](ax-1) +c
6. Integral[e^(ax)/x] dx = ln|x| + summation(i=1 to infinity) [(ax)^i/i.i!] +c
7.Integral[x^2 e^(ax)]dx= e^(ax)[(x^2/a – 2x/a^2 + 2/a^3)] +c
8. Integral[x^n e^(ax)]dx = (1/a)x^n e^(ax) – (n/a)Integral [x^(n-1) e^(ax)]dx
9.Integral[e^(ax)/x^n] dx = [1/(n-1)][- e^(ax)/x^(n-1) + a Integral e^(ax)/x^(n-1)]dx
10.Integral[x^n ln x] dx= [x^(n+1)]/(n+1)^2 [(n+1)lnx – 1] + c

Integration Rules of Trigonometric Functions
1.Integral [sin x dx]=  - cos x +c
2. Integral [cos x dx]= sin x +c
3. Integral [tan x dx]= ln |sec x|+ c
4. Integral [cot x dx]= ln|sin x| + c
5. Integral [sec^2(x) dx]= tan x +c
6. Integral [csc^2(x) dx]= - cot x +c
7. Integral [tan^2(x) dx]= tan x – x +c
8. Integral [cot^2(x) dx]= cot x – x +c
9.Integral [sec x tan x dx]= sec x +c
10. Integral [csc x cot x dx] = - csc x +c
11. Integral [sec x dx]= ln |sec x +tan x| +c
12.Integral [cos^2(x) dx] = x/2 + ¼(sin 2x) +c
13. Integral[sin ^n(x) dx]= (-1/n)sin^(n-1) x cos x + (n-1)/n .Integral [sin^(n-2) x dx]
14. Integral [cos^n(x)dx]= (1/n)cos^(n-1) x sin x + (n-1)/n. Integral[cos^(n-2) dx]

Integration Rules of Hyperbolic Functions
1.Integral[sinh x dx] = cosh x +c
2.Integral[cosh x dx]= sinh x +c
3. Integral[tanh x dx]= ln cosh x +c
4. Integral[coth x dx]= ln |sinh x| + c
5. Integral[sech x dx] = sin^-1[tanh x] +c
6. Integral[csch x dx] = ln tanh (x/2) +c
7. Integral[sinh^2(x)dx] = (sinh 2x)/4 – (x/2) + c
8. Integral[cosh^2(x)dx]= (sinh 2x)/4 + (x/2) +c
9. Integral[sech^2 (x) dx]= tanh x +c
10. Integral[csh^2(x)dx]= -coth x +c
11. Integral[tanh^2(x) dx]= x – tanh x +c
12. Integral[coth^2(x)dx]= x – coth x +c
13.Integral[sechx tanh x] dx =  - sech x +c
14. Integral[csch x coth x]dx = -csch x +c

Friday, July 27

Derivatives of Exponential functions of e


Derivative is the rate of change at a point which gives the slope of the curve at that point. When the given equation is y=f(x), the derivative is written as dy/dx or d[f(x)]/dx.  To find the derivatives of exponential functions, let us take a quick look at them. Exponential functions are the functions written in the form y = b^x, where b is a positive number that does not equal 1 and x is any real number.  They have a constant base and the exponent is a variable. The most important exponential function is e as the base, which is an irrational number. The function is written as, e(x) and is called the natural exponential function.  Now that we learnt about the natural exponential function e^x, let us learn more about the Derivatives of E.

The natural exponential function is remarkable and so are its derivatives. Let us first find the derivative of E, where E is f(x)=e^x :
As per the definition of derivatives, we get,
d[f(x)]/dx = lim(delta(x)?0) e^[x+delta(x)-e^x]/delta(x)
=lim(delta(x)?0) [e^xe^delta(x)- e^x]/delta(x)
=lim(delta(x)?0) e^x[e^delta(x)-1]/delta(x)
=lim(delta(x)?0) e^x[1+delta(x)-1]/delta(x)
= lim(delta(x)?0)e^xdelta(x)/delta(x)
=e^x
If f(x) = e^x then f’(x) = e^x. This means that slope is the same as the given function value or value of y for all the points on the graph. The other Derivatives of E or derivatives of e^x are as given below:
If u is a function of x, the derivative of an expression in the form e^u can be obtained and is given by d(e^u)/dx = e^u. du/dx

If an exponential function with base b is given, then the derivative of that expression is given by
d(b^u)/dx = b^u.ln b.du/dx

Let us take an example, derivative of E 2 which is derivative of e^x where x=2.  At this point x=2, the value of y=e^x  is approximately 7.39. We know that the derivative of e^x is e^x. So, the slope of the tangent, that is the derivative of e^2 at x=2 is also 7.39 approximately.

Derivative of E 2x will be the derivative of e^2x. To find the derivative of this exponential function, let us take y= E 2 or y= e^2x where u=2x. Using the chain rule, we get  dy/du = de^u/du , where du/dx equals 2.  So, d/dx of [e^2x] is (e^u). du/dx = 2. e^u , substituting u=2x, the derivative of e^2x is 2e^2x

Derivative of E 3x will be the derivative of e^3x. Using d(e^u)/dx = e^u. du/dx where u=3x, we get, e^3x. du/dx which will be 3e^3x as du/dx = 3

Wednesday, July 18

Law of Cosines Explained

Trigonometry Law of cosines:
Trigonometry is a field of study relating the angles and sides of a triangle. However, the fundamental ratios are derived easily from a right-angled triangle and are as identified Pythagorean ratios, yet the definite correspondence between the sides and angles can be established using the law of cosines. It is the relation between the sides and cosine of angle.


Convention:
All the angles are depicts upper case letters and sides are depicted by lower case letters. The side opposite to a vertex is represented by the corresponding lower case letter. In a triangle ABC, the side AB= c, BC = a, and AC = b.


Trigonometry law of cosines:
a^2= b^2+c^2 - 2bc cos (A)
b^2 = a^2 +c^2 – 2ac cos (B)
c^2 = a^2 + b^2 – 2ab cos (C)


Law of cosines Example Problems: 
For example, let us consider a triangle ABC, in which a= 3, b= 4 and c= 5.
To evaluate the angle C,
Substitute the values of a, b and c in
c^2 = a^2 + b^2 – 2ab cos (C)
5^2 = 3^2 + 4^2 – 2(3) (4) cos (C)
25= 9+16 – 24 cos(C)
25 = 25 – 24 cos(C)
Solving for cos (C), we get cos(C) =0. Hence, C = 90?.


Prove Law of Cosines:
We always rely on the principles of geometrical principles to prove the laws in trigonometry. To prove the law of cosines we use Pythagorean principle.

 In the above figure, CP is perpendicular to AC extended to P. Hence, BP = a sin(C) and CP = a cos(C).
Applying Pythagoras theorem in the right-angled triangle APB we get,
(AP)^2 + (BP)^2 = (AB)^2
(b – a sin(c))^2 + (a sin(C))^2 = c^2
Expanding        b^2 -2ab cos(C) + b^2 cos2(C) + b^2sin2(C) = c^2
b^2 +a^2 – 2ab cos(C) = c^2


Law of Cosines Problems
Law of cosines, in Physical sciences and technology, has very wide applications. The law of cosine gives us the magnitude of the difference of two vectors acting at an angle. For example, to evaluate the magnitude of the difference of two vectors of magnitude 100 units each acting at an angle of 120?, we get
c^2= 1002+1002 – 2(100) (100) cos (120)
c^2= 1002+1002 -1002
Solving for c, we get c= 100 units.

Derive Law of Cosines
Though there are so many methods by which one can prove the law of cosines, we stick to the use of Pythagorean principles.

In the above figure we have, when CP is perpendicular to AB,
c= a cos (B) + b cos (A)
c^2= ac cos (B) +bc cos (A)
Similarly
b^2=bc cos (A) + ba cos(C)
a^2= ab cos(C) + ac cos (B)
Adding the above two equations we have
b^2 + a^2 = ac cos (B) + bc cos (A) + 2 ab cos(C)
Comparing the above equation with (1), we get
b^2 + a^2 = c^2 + 2ab cos(C)
b^2 + a^2 -  2ab cos(C) = c^2