(using cos(2π−h)=sinh, cos(2π+h)=−sinh and limh→0hsinh=1)
For continuity at x=2π,
LHL=RHL=f(2π)⇒2k=3⇒k=6
∴k=6.
Want the reason behind every step, the basics and the checks?
The one idea this problem is built on
At x=2π the top formula becomes 00, which is not a number, so we cannot just substitute. Instead we let x approach 2π by writing x=2π±h. The quotient turns into 2k⋅hsinh, and since hsinh→1, both one-sided limits equal 2k. Continuity demands that this equal the value f(2π)=3. So 2k=3, giving k=6.
Given, to find, and the plan
Given
f(x)=π−2xkcosx for x=2π, and f(2π)=3. Here k is an unknown constant.
To find
Every value of k for which f is continuous at x=2π.
Plan
(1) Check that 2π is in the domain and read off f(2π). (2) See why substitution fails. (3) Find the left-hand limit with x=2π−h. (4) Find the right-hand limit with x=2π+h. (5) Set both limits equal to f(2π) and solve for k.
Basics you need
1Continuity at a point
f is continuous at a point c of its domain when the left-hand limit, the right-hand limit and the value f(c) all exist and are equal (Definition 1, Section 5.2). Lesson: continuity at a point
2One-sided limits
limx→c−f(x) uses only x just below c;limx→c+f(x) uses only x just above c. Writing x=c−h or x=c+h with h>0,h→0, turns each into a limit in h.Basics: left-hand and right-hand limits
3Cosine near 2π
cos(2π−h)=sinh and cos(2π+h)=−sinh. Both follow from the formulas for cos(A+B) and cos(A−B) with cos2π=0 and sin2π=1.Basics: trigonometric identities
4The standard limit hsinh→1
limh→0hsinh=1 when h is measured in radians (Class XI, Limits and Derivatives). The same holds for h→0+, since the two-sided limit exists. Basics: what a limit is
5"00" is a warning, not an answer
If substitution gives 00, the expression has no value at that point, but its limit may well exist. We must rewrite the expression before letting h→0.
Solution
The point 2π is in the domain, and f(2π)=3
The top rule needs π−2x=0, that is x=2π, which is exactly where it is used. The bottom rule covers the single point x=2π. So f is defined at every real number, and in particular
f(2π)=3.
Continuity is only asked at points of the domain (Definition 1), so first we confirm 2π is one, and we record the value that the limits will have to match. Note that the value 3 is given; it does not depend on k.
A piecewise rule: decide which line applies to the input, then use only that line. At exactly x=2π the second line applies. Basics: piecewise functions
Why we cannot simply substitute x=2π in the top rule
At x=2π: the numerator is kcos2π=k⋅0=0 and the denominator is π−2⋅2π=0. The top rule would give 00, which is not a number.
So the limit has to be found by letting x get close to 2π without being equal to it, from each side separately.
A limit only looks at values of x near c, never at x=c itself. That is why the top rule (valid for x=2π) is the one that decides the limits, while the bottom rule only supplies f(2π).
"00" means "both parts shrink to 0"; their ratio can tend to any number, or to none. Rewriting is needed (Basic 5).
Left-hand limit: put x=2π−h
For x just below 2π, write x=2π−h with h>0 and h→0. Then
The substitution moves the problem to h→0, where we know a standard limit. After the substitution the troublesome cosx becomes sinh and the denominator becomes 2h, so the expression is a constant times hsinh. A constant factor 2k can be taken outside the limit.
By the formula for cos(A−B) (Basic 3),
cos(2π−h)=cos2πcosh+sin2πsinh=0⋅cosh+1⋅sinh=sinh,
and hsinh→1 (Basic 4). Basics: trigonometric identities
Right-hand limit: put x=2π+h
For x just above 2π, write x=2π+h with h>0 and h→0. Then
cosxπ−2x=cos(2π+h)=−sinh,=π−π−2h=−2h.
Both numerator and denominator are negative, and the two minus signs cancel:
The right-hand side has to be checked on its own: a function can approach different numbers from the two sides. Here the sign changes in numerator and denominator cancel, so the right-hand limit is also 2k. Hence the (two-sided) limit at 2π exists and equals 2k, whatever k is.
By Definition 1, f is continuous at 2π exactly when
x→2π−limf(x)=x→2π+limf(x)=f(2π),
that is, 2k=2k=3. The two limits already agree (Steps 3 and 4), so the only condition is
2k=3⟺k=6.
For any other k the limit 2k differs from 3 and f is discontinuous at 2π. So k=6 is the only value.
For k=6 (blue) the curve y=π−2x6cosx rises to height 3 as x→2π from either side and runs straight into the filled dot (2π,3). For k=4 (dashed) the curve heads to height 2 instead: there is a hole at (2π,2) and the value 3 sits above it, so that f would be discontinuous.
"Find the values of k" asks for all of them, so we also note that no other value works: the condition 2k=3 is a linear equation with exactly one solution. The picture shows what goes wrong otherwise: the limit is pulled to 2k while the point stays at 3.
cos(A±B) formulas, Class XI, Trigonometric Functions
limh→0hsinh=1 (radians)
Steps 3, 4
Standard limit, Class XI, Limits and Derivatives
A constant factor comes out of a limit
Steps 3, 4
Algebra of limits, Class XI, Limits and Derivatives
Found an error, or want more?
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →