Given : f ( x ) = x 4 A cos x + B x sin x − 5 ( x = 0 )
If f ( x ) is continuous at x = 0 , then find the value of f ( 0 ) .
Answer up to 3 decimal places.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
My solution is as mentioned by Akshat Sharma .
Let g ( x ) = A cos x + B sin x − 5 . For f ( x ) to be continuous at x = 0 . g ( x ) must be of the form g ( x ) = x 4 h ( x ) , so that f ( x ) = x 4 x 4 h ( x ) = h ( x ) , which is continuous at x = 0 .
g ( x ) = A cos x + B sin x − 5 By Maclaurin series = A ( 1 − 2 ! x 2 + 4 ! x 4 − 6 ! x 6 + . . . ) + B x ( x − 3 ! x 3 + 5 ! x 5 − 7 ! x 7 + . . . ) − 5 = A ( 1 − 2 ! x 2 ) + B x 2 − 5 + A x 4 ( 4 ! 1 − 6 ! x 2 + 8 ! x 4 − . . . ) − B x 4 ( 3 ! 1 − 5 ! x 2 + 7 ! x 4 − . . . )
To make g ( x ) = x 4 h ( x ) , we have:
A ( 1 − 2 ! x 2 ) + B x 2 − 5 = 0 Equating the coefficients
⇒ ⎩ ⎨ ⎧ A − 5 = 0 2 A − B = 0 A = 5 B = 2 5
Therefore, f ( 0 ) = h ( 0 ) = 4 ! A − 3 ! B = 2 4 5 − 1 2 5 ≈ − 0 . 2 0 8
cool solution!
@Chew-Seong Cheong you wrote expansion of sin(x) in place of cos(x) and vice verse
I think parth pointed it out. The question said Acos(x) while in explanation it's written Asin(x) .
Just use the expansion of sinx and cosx. The terms having power of x less than 4 should be cancelled to zero as the terms if not cancelled then they will result in 1/x, and since x tends to 0, 1/x will tend to infinity, and therefore value of limit will be coefficient of x^4 in the numerator as terms having power of x more than 4 would simply be equal to zero, as by dividing by x^4 would result in a term having x or x to the power something which would be equal to 0 as x is equal to 0.
Problem Loading...
Note Loading...
Set Loading...
In contrary to the name of the question, I will be proceeding with the problem based on L'Hopital's Rule
If f ( x ) is continuous at x = 0 , then
x → 0 lim f ( x ) = f ( 0 )
To evaluate x → 0 lim , we will use L'Hopital's Rule
⇒ x → 0 lim x 4 A cos x + B x sin x − 5 = f ( 0 )
To apply L'Hopital's Rule, the limit should exist in the indeterminate form of 0 0 .
So firstly, on applying the limit to the L.H.S, we get A = 5
x → 0 lim x 4 A cos x + B x sin x − 5 = x → 0 lim 4 x 3 − A sin x + B sin x + B x cos x . . . . . . . . . 0 0 form
⇒ x → 0 lim 1 2 x 2 − A cos x + B cos x + B cos x − B x sin x . . . . . . . not of 0 0 f o r m
So by applying x → 0 to the numerator we get, − A + 2 B = 0 ⇒ B = 2 5
Now,
⇒ x → 0 lim 1 2 x − 2 5 sin x = − 2 4 5 ≈ − 0 . 2 0 8 3 3
Hence f ( 0 ) = − 0 . 2 0 8 3 3