Skip to main content

Algebraic and transcendental equations and Bisection or Bolzano method.

 Algebraic and transcendental equations;

An equation of the form f(x)=0 is called algebraic or transcendental equations depending upon whether f(x) is purely a polynomial of x or contains exponential, trigonometric or logarithmic functions. For example: 2x³+3x²+17=0 is an algebraic equation while 5x³+4logx+2sinx=0 is transcendental equation.Examples of transcendental functions include the exponential function, the logarithm, and the trigonometric functions. The process of finding the roots of an equation (or zeroes of an equation) is called the solution of f(x)=0.

Bisection or Bolzano method;

Let f(x)=0 be an algebraic or a transcendental equation and let f(a) and f(b) are of opposite sign i.e f(a)f(b)<0 then root of equation f(x)=0 lie between a and b. Then the first approximation to the root is x₁ = (a+b)/2.
Now if f(x₁) = 0, then x₁ is the root of f(x)=0, otherwise the root lie between a and x₁ or x₁ and b according as f(x) is positive or negative. Then we bisect the interval as before i.e second approximation to the root is x₂ = (a+x₁)/2 or  x₂ =  (x₁+b)/2 and continue the process until the root is found to desired accuracy.
Bisection method
Bisection method.

From the figure root lie between a and b i.e first approximation to the root x₁ = (a+b)/2.
Then the second approximation to the root lie between a and x₁  i.e x₂ = (a+x₁)/2.
Similarly, the third approximation to the root lie between  x₁ and x₂ i.e x₃ =  (x₁+x₂)/2 and so on.
Example: Find a root of the equation x³-x-4=0 between 1 and 2, to three places of decimal by bisection method.
Solution. Let f(x)= x³-x-4=0
Initialisation
At x=1,
f(1)= (1)³-1-4 = -4
and at x=2,
f(2)= (2)³ -2- 4 = 2
Clearly, f(1)f(2) = -8 <0.
Therefore, the root of f(x)=0 lies between 1 and 2.
First iteration
x₁ = (a+b)/2 = (1+2)/2 = 1.5,
Since f(1) = -4, f(2) = 2, f(x₁) = (1.5)³-1.5-4 = -2.125.
Since f(1.5) is negative and f(2) is positive i.e f(1.5)f(2)<0
Therefore, the root lies in interval (1.5,2).
Second iteration
x₂ = (1.5+2)/2 = 1.75
Now f(1.75) = (1.75)³ -1.75 - 4 = -0.39062
Clearly f (1.75) is negative and f(2) is positive.
Therefore, the root lies in interval (1.75,2).
Third iteration
x₃ = (1.75 +2)/2 =1.875
Now f(1.875) = (1.875)³ - 1.875 -4 = 0.71679
Since f (1.75) is negative and f (1.875) is positive.
Therefore, the root lies in interval (1.75,1.875).
Fourth iteration
x₄ = (1.75+1.875)/2 = 1.8125
Now f(1.8125) = (1.8125)³- 1.8125-4 = 0.14184
Since f (1.75) is negative and f(1.8125) is positive.
Therefore, the root lies in interval (1.75,1.8125).
Fifth iteration
x₅ = (1.75+1.8125)/2 = 1.78125.
Now f(1.78125) = (1.78125)³ - 1.78125 - 4 = -0.12960
Since f (1.78125) is negative and f (1.8125) is positive.
Therefore, the root lies in interval (1.78125, 1.8125).
Sixth iteration
x₆ = (1.78125+1.8125)/2 = 1.79687,
Now f(1.79687) = (1.79687)³- 1.79687 - 4 = 0.00477
Since f(1.78125) is negative and f (1.79687) is positive.
Therefore, the root lies in interval (1.78125,1.79687).
Seventh iteration
x₇ = (1.78125+1.79687)/2 = 1.78906
Now f (1.78906) = (1.78906)³ - 1.78906 -4 = -0.0672.
Since f (1.78906) is negative and f (1.79687) is positive.
Therefore, the root lies in interval (1.78906,1.79687).
Eighth iteration
x₈ = (1.78906 + 1.79687)/2 = 1.79296
Now f (1.79296) =(1.79296)³- 1.79296 -4 = -0.02913.
Since f (1.79296) is negative and f (1.79687) is positive.
Therefore, the root lies in interval (1.79296,1.79687).
Nineth iteration
x₉ = (1.79296 + 1.79687)/2 = 1.79491
f(1.79491) = (1.79491)³ - 1.79491 -4 = -0.02513.
Since f(1.79491) is negative and f (1.79687) is positive.
Therefore, the root lies in interval (1.79491,1.79687).
Tenth iteration
x₁₀ = (1.79491 + 1.79687)/2 = 1.79589
Now f(1.79589) = (1.79589)³ -1.79589 -4 = -0.00375.
Since f (1.79589) is negative and f (1.79687) is positive.
Therefore the root lies in interval (1.79589,1.79687).
Eleventh iteration
x₁₁ = (1.79589+1.79687)/2 = 1.79638
Now f (1.79638) = (1.79638)³ - 1.79638 -4 = 0.000504.
Since f (1.79638) is positive and f (1.79589) is negative.
Therefore, the root lies in interval (1.79589,1.79638).
Twelfth iteration
x₁₂= (1.79589+1.79638)/2 = 1.79613
f(1.79613) = (1.79613)³-1.79613 - 4 = -0.00167.
Since f(1.79613) is negative and f (1.79638) is positive.
Therefore, the root lies in interval (1.79613,1.79638).
Here we see that the digits in the first three places of decimal are the same in the interval (1.79613,1.79638). Therefore, the value of the root to three places of decimal is 1.796 Ans.

Comments

Popular posts from this blog

Gauss's central difference formula for equal intervals.

 Gauss's central difference formula for equal intervals: We shall develop central difference formulae which are best suitable for interpolation near the middle of the tabulated set (table). x:             x₋₂  x₋₁  x₀  x₁  x₂ y=f(x):    y₋₂  y₋₁  y₀  y₁  y₂ Difference table. Gauss's forward interpolation formula for equal intervals: f(x) = y₀+[u/1!]∆y₀+{[u(u-1)]/2!}∆²y₋₁+{[(u+1)(u)(u-1)]/3!}∆³y₋₁+{[(u+1)u(u-1)(u-2)]/4!}∆⁴y₋₂ +......., Where u= (x-x₀)/h Remark: This formula is applicable when u lies between 0 and 1 i.e (0<u<1). Example: Using Gauss's forward formula to evaluate y₃₀ given that y₂₁=18.4708, y₂₅=17.8144, y₂₉=17.1070, y₃₃=16.3432 and y₃₇=15.5154. Solution. The difference table is Forward difference table. To find y=f(x) at x=30, i.e f(30): Taking x₀ = 29, h=4, x=30, then u= (x-x₀)/h = (30-29)/4 = 0.25 Using Gauss's forward difference formula f(x) = y₀+[u/1!]∆y₀+{[u(u-1)]/2!}∆²y₋₁+...

Different operators

 Different operators We will study the following operators: 1) The Shifting Operator (E): Ef(x) = f(x+h) i.e Ey₀= y₁ E²f(x) = f(x+2h) i.e E²y₀ = y₂ Eⁿf(x) = f(x+nh) i.e Eⁿy₀ = yₙ Here n takes integral or fractional, positive or negative values. For example: E⁻¹f(x) = f(x-h) i.e E⁻¹ y₂ = y₁ E¹/²f(x) = f[x+(1/2)h] i.e E¹/² y₁ = y₃ₗ₂ Properties of Operator E 1) Operator E is distributive. 2) Operator E is commutative with respect to constant. 3) Operator E obeys laws of indices. 2) Forward difference operator (∆): If x₀, x₁,x₂,......., xₙ are equally spaced with interval of differencing h and if y = f(x), then  ∆f(x) = f(x+h) - f(x) i.e ∆yᵢ = yᵢ₊₁ - yᵢ for i = 0,1,2,3,..... n-1, The symbol ∆ is called forward difference operator and  ∆yᵢ is called first forward difference. Similarly, the second forward differences are ∆²yᵢ =∆yᵢ₊₁ - ∆yᵢ For example: ∆²y₀ =∆y₁ - ∆y₀ = (y₂ - y₁)-(y₁-y₀)                           ...

Questions (Forward difference operator, Backward difference operator and Shifting operator)

Questions Example: Given that y₅=4, y₆=3, y₇=4, y₈=10, y₉=24, find the value of ∆⁴y₅: (i) By using the difference table and (ii) Without using the difference table. Solution: (i) Forward difference table. From the difference table ∆⁴y₅=0. Ans. (ii) We have ∆⁴y₅= (E-1)⁴y₅ [∵ ∆=E-1]                               = (E⁴-4E³+6E²-4E+1)y₅                               = E⁴y₅-4E³y₅+6E²y₅-4Ey₅+1y₅                               = y₉ -4y₈+6y₇-4y₆+y₅ [Eⁿyₓ=yₓ₊ₙ]                               = 24-4×10+6×4-4×3+4                               = 24-40-24-12+4 =0Ans. Example: Given x:  1     2     3...