wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Show that the function defined by f(x)=|cosx| is continuous.

Open in App
Solution

Let's assume that h(x)=cos(x) and g(x)=|x|
So f(x)=(goh)=|cos(x)|

=> Let's prove that h(x)=cos(x) is continuous in it's domain.

Let c be a real number, put x=c+h
So if x=c then it means that h0
h(c)=cos(c)

limxc h(x) = limxc cos(x)
Put x=h+c
And as mentioned above, when xc then it means that h0
Which gives us limh0 cos(c+h)

Expanding cos(c+h) = cos(c)cos(h)sin(c)sin(h)
Which gives us limh0 cos(h)cos(c)sin(h)sin(c)
=cos(c)cos(0)sin(c)sin(0)
=cos(c)
This gives us
limxc h(x) = limxc cos(x) = cos(c)=h(c)

And this proves that cos(x) is continuous all across its domain

=> Here g(x) is given by |x|

And |x|=x for x<0 and x for x>0

For c<0
limxcg(x)=c=g(c)
and
For c>0
limxcg(x)=c=g(c)
which shows that |x| is continuous in its domain

=> So by theorem: If function h and function g are continuous then goh is also continuous.

|cos(x)| is continuous across its domain.

flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Continuity of a Function
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon