Class 12 Maths, Worked in Full Past papersGet updates
Chapter 5 · Continuity and Differentiability

Exercise 5.1 · Q29: Find kk⁠: kx+1kx+1 for x≤5x\le5⁠, 3x−53x-5 for x>5x>5

Exercise 5.1Continuity at a point · Section 5.2
The question

Find the values of kk so that the function ff is continuous at the indicated point in Exercises 26 to 29.

29. f(x)={kx+1,if x≤53x−5,if x>5at x=5.f(x) = \begin{cases} kx + 1, & \text{if } x \le 5 \\ 3x - 5, & \text{if } x > 5 \end{cases} \qquad \text{at } x = 5.

Exam answer f(5)=5k+1LHL=lim⁡h→0f(5−h)=lim⁡h→0[k(5−h)+1]=5k+1RHL=lim⁡h→0f(5+h)=lim⁡h→0[3(5+h)−5]=lim⁡h→0(10+3h)=10\begin{aligned} f(5) &= 5k + 1 \\ \text{LHL} &= \lim_{h\to0}f(5 - h) \\ &= \lim_{h\to0}[k(5 - h) + 1] \\ &= 5k + 1 \\ \text{RHL} &= \lim_{h\to0}f(5 + h) \\ &= \lim_{h\to0}[3(5 + h) - 5] \\ &= \lim_{h\to0}(10 + 3h) = 10 \end{aligned}

For continuity at x=5x = 5⁠,

LHL=RHL=f(5)\text{LHL} = \text{RHL} = f(5) ⇒ 5k+1=10 ⇒ k=95\Rightarrow\ 5k + 1 = 10\ \Rightarrow\ k = \frac95

∴ k=95\therefore\ k = \dfrac95⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Two straight lines must meet at x=5x = 5⁠. The left line y=kx+1y = kx + 1 reaches height 5k+15k + 1 there (and that is also f(5)f(5)⁠); the right line y=3x−5y = 3x - 5 starts from height 3⋅5−5=103 \cdot 5 - 5 = 10⁠. They meet exactly when 5k+1=105k + 1 = 10⁠, that is k=95k = \frac{9}{5}⁠.

Given, to find, and the plan
Given
f(x)=kx+1f(x) = kx + 1 for x≤5x \le 5 and f(x)=3x−5f(x) = 3x - 5 for x>5x > 5⁠, with kk an unknown constant.
To find
Every value of kk for which ff is continuous at x=5x = 5⁠.
Plan
(1) Find f(5)f(5) from the piece containing 5. (2) Left-hand limit from kx+1kx + 1⁠. (3) Right-hand limit from 3x−53x - 5⁠. (4) Set all three equal and solve. (5) Confirm.

Basics you need

1Continuity at a point

ff is continuous at a point cc of its domain when the left-hand limit, the right-hand limit and f(c)f(c) all exist and are equal (Definition 1, Section 5.2). Lesson: continuity at a point

2Which piece owns x=5x = 5

"x≤5x \le 5" includes 5, so f(5)f(5) comes from kx+1kx + 1⁠; "x>5x > 5" never applies at 5. Basics: piecewise functions

3One-sided limits

The left-hand limit at 5 uses only x<5x < 5⁠; the right-hand limit only x>5x > 5⁠. Basics: left-hand and right-hand limits

4Limits of polynomials

Both pieces are polynomials of degree at most 1, which are continuous (Example 14): the limit at a point is the value there. Basics: what a limit is

Solution

  1. The value at the point: f(5)=5k+1f(5) = 5k + 1

    Every real xx satisfies exactly one of x≤5x \le 5⁠, x>5x > 5⁠, so ff is defined everywhere and 5 is in the domain. Since 5≤55 \le 5⁠, the first line applies:

    f(5)=k⋅5+1=5k+1.f(5) = k\cdot 5 + 1 = 5k + 1.
    The limits will be compared with this number, so it must come from the correct line.
    "≤\le" includes equality (Basic 2).
  2. Left-hand limit: follow kx+1kx + 1

    For x<5x < 5⁠, f(x)=kx+1f(x) = kx + 1⁠. With x=5−hx = 5 - h⁠, h>0h > 0⁠, h→0h \to 0⁠:

    lim⁡x→5−f(x)=lim⁡h→0+(k(5−h)+1)=lim⁡h→0+(5k+1−kh)=5k+1.\begin{aligned} \lim_{x\to5^-} f(x) &= \lim_{h\to0^+} \big(k(5 - h) + 1\big)\\ &= \lim_{h\to0^+} (5k + 1 - kh)\\ &= 5k + 1. \end{aligned}
    The term −kh-kh is a fixed number times something that shrinks to 0, so it disappears. This is just the continuity of the polynomial kx+1kx + 1 at 5.
    Polynomial: substitute to get the limit. Basics: what a limit is
  3. Right-hand limit: follow 3x−53x - 5

    For x>5x > 5⁠, f(x)=3x−5f(x) = 3x - 5⁠. With x=5+hx = 5 + h⁠, h>0h > 0⁠, h→0h \to 0⁠:

    lim⁡x→5+f(x)=lim⁡h→0+(3(5+h)−5)=lim⁡h→0+(10+3h)=10.\begin{aligned} \lim_{x\to5^+} f(x) &= \lim_{h\to0^+} \big(3(5 + h) - 5\big)\\ &= \lim_{h\to0^+} (10 + 3h)\\ &= 10. \end{aligned}
    The right-hand limit does not involve kk at all: it is fixed by the second line. So the value of kk must be chosen to bring the left line up (or down) to height 10.
    3(5+h)−5=15+3h−5=10+3h3(5+h) - 5 = 15 + 3h - 5 = 10 + 3h⁠. Basics: left-hand and right-hand limits
  4. Set them equal: 5k+1=105k + 1 = 10

    Continuity at 5 needs

    lim⁡x→5−f(x)=lim⁡x→5+f(x)=f(5),\lim_{x\to5^-} f(x) = \lim_{x\to5^+} f(x) = f(5),

    that is, 5k+1=10=5k+15k + 1 = 10 = 5k + 1⁠. The only condition is

    5k+1=10  ⟺  5k=9  ⟺  k=95.5k + 1 = 10 \;\Longleftrightarrow\; 5k = 9 \;\Longleftrightarrow\; k = \frac{9}{5}.

    For any other kk the left line arrives at 5k+1≠105k + 1 \ne 10 and the graph jumps. So k=95k = \frac{9}{5} is the only value.

    The value f(5)f(5) and the left-hand limit are the same expression because 5 belongs to the left piece; the equation makes the right-hand limit agree with them.
    Definition 1: left-hand limit = right-hand limit = value. Lesson: continuity at a point
  5. Confirm with k=95k = \frac{9}{5}

    Now the first piece is 95x+1\frac{9}{5}x + 1⁠, and at x=5x = 5 it gives 9+1=109 + 1 = 10⁠:

    lim⁡x→5−f(x)=95⋅5+1=10,lim⁡x→5+f(x)=3⋅5−5=10,f(5)=10.\begin{aligned} \lim_{x\to5^-} f(x) &= \tfrac{9}{5}\cdot 5 + 1 = 10,\\ \lim_{x\to5^+} f(x) &= 3\cdot 5 - 5 = 10,\\ f(5) &= 10. \end{aligned}

    All three agree, so ff is continuous at x=5x = 5⁠. ✓

    x y 1 2 3 4 5 6 7 5 10 15 (5, 10) y = (9/5)x + 1, for x ≤ 5 y = 3x − 5, for x > 5
    With k=95k = \frac{9}{5} the line y=95x+1y = \frac{9}{5}x + 1 (blue) reaches the filled dot (5,10)(5, 10)⁠, where the steeper line y=3x−5y = 3x - 5 (gold) takes over. The lines meet with a bend, but there is no gap, so ff is continuous at 5.
    Continuity only needs the heights to match. The slopes 95\frac{9}{5} and 3 are different, which makes a corner at x=5x = 5⁠; a corner is allowed for continuity. (Corners matter for differentiability, Section 5.3.)
Result

ff is continuous at x=5x = 5 if and only if k=95k = \frac{9}{5}; then both one-sided limits and f(5)f(5) equal 10. (Textbook answer: k=95k = \frac{9}{5}⁠.)

Check it with numbers

With k=95=1.8k = \frac{9}{5} = 1.8⁠: f(4.99)=1.8×4.99+1=9.982f(4.99) = 1.8 \times 4.99 + 1 = 9.982 and f(4.999)=9.9982f(4.999) = 9.9982⁠; on the other side f(5.01)=3×5.01−5=10.03f(5.01) = 3 \times 5.01 - 5 = 10.03 and f(5.001)=10.003f(5.001) = 10.003⁠. Both sides close in on 10=f(5)10 = f(5)⁠. ✓

Common mistakes
  1. Using f(5)=3⋅5−5f(5) = 3\cdot5 - 5⁠. That line is for x>5x > 5 only. (The number happens to be the right-hand limit, which is a different thing.)
  2. Arithmetic slip: 5k+1=10⇒k=1155k + 1 = 10 \Rightarrow k = \frac{11}{5}⁠. Subtract 1, do not add: 5k=95k = 9⁠.
  3. Thinking the slopes must match. Continuity asks only that the heights agree at the joint.
What to take away
  1. Continuity of a two-line function at the joint: the two lines must pass through the same point there.
  2. The right-hand piece fixes the target height (10); kk is chosen to hit it.
  3. Matching heights is continuity; matching slopes is a further, separate condition.

Every fact used, and where it comes from

FactUsed inSource
Continuity at cc⁠: left-hand limit, right-hand limit and f(c)f(c) equalSteps 4, 5Definition 1, Section 5.2 (Lesson: continuity at a point)
Polynomials are continuousSteps 2, 3Example 14, Section 5.2
A corner does not break continuityStep 5 remarkDefinition 1 (only the heights are compared); compare ∣x∣|x| in Example 3
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 →